Commit graph

3080 commits

Author SHA1 Message Date
Christian Dywan
edc6d6587c Update Firefox identification to Firefox 3.8 2010-01-21 18:59:34 +01:00
Christian Dywan
3a3fa03bf4 Implement 'Inspect page' menuitem with WebKitGTK+ >= 1.1.17 2010-01-21 18:59:34 +01:00
Leandro Regueiro
8cca06123a l10n: Updated Galician (gl) translation to 100%
New status: 570 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-01-21 12:05:55 +01:00
Christian Dywan
0442113b94 Popdown completion when location text is changed explicitly
Programmatic changes are done when adding, closing or switching
the current tab, and that should popdown completion.
2010-01-20 23:20:28 +01:00
Christian Dywan
8aba77a0e9 Allow button handling for selection and context menu in location entry 2010-01-20 23:16:29 +01:00
Christian Dywan
897af36ed5 Revise completion to react on paste/ cursor/ backspace
We need to avoid updating the real text afterall, but update it
in the event of a cursor movement.

We also need to trigger completion on backspace or paste.

We need to remove the timer when we popdown completion.

We need to make sure to not show completion for empty text.
2010-01-20 23:11:25 +01:00
Christian Dywan
33d90b247c Truly update text in location entry to make Home, End and friends work 2010-01-20 21:55:54 +01:00
Christian Dywan
e0a50c47d3 Clicking inside the location entry closes the completion window 2010-01-20 21:34:17 +01:00
Christian Dywan
4110b64ae8 Let hovering completion suggestions select rows 2010-01-20 21:28:44 +01:00
Christian Dywan
0145cb3171 Make clicking completion suggestion actually open the address 2010-01-20 21:25:39 +01:00
Christian Dywan
cabc3f0764 Fill in address if clicked on completion suggestion 2010-01-20 07:48:34 +01:00
Enrico Tröger
8f37e3802e Always expand rows when trying to restore the selection 2010-01-20 07:19:11 +01:00
Christian Dywan
0795c4f13c Add #define for gtk_widget_has_focus for GTK+ < 2.18 2010-01-20 07:11:20 +01:00
Christian Dywan
04f953dc0d Don't trigger completion on control characters 2010-01-19 07:11:51 +01:00
Enrico Tröger
3af420622c Restore selection in cookie manager after deleting items 2010-01-19 06:53:48 +01:00
Alexander Butenko
4b35435c2c Order completion matches by most recent visit, ascending 2010-01-19 06:42:21 +01:00
Alexander Butenko
5bf92be622 Don't show completion if the entry already lost focus 2010-01-19 06:34:53 +01:00
Alexander Butenko
b5a23cec3a Show completion popup only after resizing the columns 2010-01-19 06:28:07 +01:00
Can Erkin Acar
b7fd68c173 Don't leak temporary icon filename and don't free icon URI too early 2010-01-19 06:09:05 +01:00
Alexander Butenko
97a5eb0df2 Read cache asynchronously, use GOutputStream, plug a leak
1. We are now reading from the cache asyncronously. Fixing UI freezes.

2. Cache writing switched to GOutputStream. One open/ close per file

3. Plugged a leak of cache headers in web_cache_message_rewrite ()

4. We don't need the URI in web_cache_mesage_got_headers_cb ()
2010-01-17 22:56:41 +01:00
Christian Dywan
1f3313424f Use a tree model filter visible function to limit recent items 2010-01-17 22:36:44 +01:00
Alexander Butenko
57865955dc Simpler element hiding and some adblock optimizations
1. Less hungry and simpler blocked element hider

2. We are now also adding a context menuitem for uris in
preparation for creating rules from the web inspector

3. Removed old hack for blocked element hider

4. Element hider javascript fixes

5. Unit test for small sized rules

6. Removed unneeded WebKitWebView casts
2010-01-17 20:04:17 +01:00
Christian Dywan
c99921022f Implement completion with live sqlite queries
If sqlite is available, we can directly query results from the
database and populate our model on the fly.
2010-01-17 18:14:49 +01:00
Christian Dywan
07261e284c Re-implement location action with our own completion popup
Completion is triggered on key press only, with a delay of 150ms.

Completion can be triggered by input method usage.

The popup size adjusts to the entry size and closes if focus is lost.
2010-01-17 18:14:49 +01:00
Christian Dywan
27634e4f1e Use prepared statement to read history array instead of exec 2010-01-17 18:14:49 +01:00
Christian Dywan
7f26cc7384 Remove 'Search engines in completion' functionality
The feature doesn't work well with more than two engines.
2010-01-17 18:14:49 +01:00
Christian Dywan
c335bb19c7 Generate LINGUAS at buildtime and recognize LINGUAS variable 2010-01-17 18:14:49 +01:00
Christian Dywan
2d8c8bebf5 Add G_GNUC_CONST to all Midori type functions 2010-01-17 18:14:48 +01:00
Christian Dywan
07d4964e90 Add G_GNUC_CONST to all Katze type functions 2010-01-17 18:14:48 +01:00
Masato Hashimoto
e1bfefb0ee l10n: Updated Japanese (ja) translation to 100%
New status: 571 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-01-17 08:40:39 +01:00
Christian Dywan
86d060f250 Change db_ helpers in main.c into direct sqlite3_ calls
This means 1 function call instead of 2 or 3 calls for each
query and should reduce some overhead.
2010-01-15 07:07:00 +01:00
Kim Boram
de141078b2 Update Korean translation 2010-01-15 07:07:00 +01:00
Enrico Tröger
e6163a761f Only define adblock_prepare_urihider_js() if it is used 2010-01-15 07:07:00 +01:00
Michal Várady
d85d2806be l10n: Updated Czech (cs) translation to 100%
New status: 571 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-01-14 18:04:37 +01:00
Xu Meihong
cb1616bdf2 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 571 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-01-14 15:31:07 +01:00
Xu Meihong
953b2e66bb l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 571 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-01-14 15:25:52 +01:00
Sergio Marques
bf714397e9 l10n: Updated Portuguese (pt) translation to 100%
New status: 571 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-01-14 11:10:27 +01:00
Harald Servat
0ea5e6c60f l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 571 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-01-14 10:03:18 +01:00
Per Kongstad
a68bba4846 l10n: Updated Danish (da) translation to 100%
New status: 571 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-01-14 09:30:48 +01:00
Christian Dywan
8dbc86361d Implement 'Close other tabs' menu item in tab context menu 2010-01-14 02:49:19 +01:00
Alexander Butenko
9b01e48975 Tell the soup message it was finished to allow it to release memory 2010-01-14 02:23:00 +01:00
Alexander Butenko
bb4c381b43 Use a script to hide images and frames that are blocked 2010-01-14 02:19:38 +01:00
Enrico Tröger
27567de620 Guard image with #define to prevent unused variable warnings 2010-01-14 02:01:30 +01:00
Alexander Butenko
4dae65d802 Speedup adblock by removing greedy regex if we have 1 or 2 signatures 2010-01-14 01:52:43 +01:00
Alexander Butenko
11ff993ecd Strip trailing whitespace from console messages 2010-01-13 06:56:12 +01:00
Dale Whittaker
96178e60b7 Check page icons of search engines first, afterwards icon names 2010-01-13 06:55:49 +01:00
Christian Dywan
d536d90d33 Do not call xmlCleanupParser after parsing news feeds
This function is an aggressive means of releasing memory that may
leave libxml in an unusable state.
2010-01-13 06:52:42 +01:00
Christian Dywan
789485a086 Do no extra type checking when querying the history database 2010-01-13 00:10:32 +01:00
André Stösel
4e561eeef3 Fixup the key value to allow Ctrl + Shift + Tab 2010-01-12 23:34:10 +01:00
Christian Dywan
dab3505e0c Store argument vector and display it in about:version 2010-01-12 23:34:10 +01:00