Christian Dywan
f3831c5157
Turn view->memory into a static variable
2010-11-13 15:20:46 +01:00
Christian Dywan
61e51ea1d2
Cancel Find Links when pressing Escape key
2010-11-02 22:46:01 +01:00
Christian Dywan
32d80dcfad
Follow up to correct custom docdir location
2010-11-01 21:21:58 +01:00
Christian Dywan
10222bffd2
Be sure to show bookmarkbar if enabled
2010-11-01 16:54:11 +01:00
Christian Dywan
a9244ad817
Use function to access web view and adjustments
2010-11-01 16:48:07 +01:00
Christian Dywan
ed6d44df5f
Use function to access browser settings an panel
2010-11-01 16:47:32 +01:00
Christian Dywan
f2ca461638
Don't regard file URIs as external
2010-10-31 22:42:15 +01:00
Christian Dywan
b28c828f02
Reword cookie description to say 'saved games, '
...
This is purely an improvement to the English, no change in meaning.
2010-10-31 21:33:16 +01:00
Christian Dywan
d20f0c3b89
Only show Trash and UndoTabClose if there is a trash
2010-10-31 21:27:47 +01:00
Christian Dywan
f9559b7d27
Only show bookmarkbar if we have bookmarks at all
2010-10-31 21:27:22 +01:00
Christian Dywan
985912a9cd
Go back to conservative page next from 0.2.6
...
This reverts to behaviour as of commit c2be3d67cf
.
2010-10-30 21:53:44 +02:00
Christian Dywan
a0c0207133
Use mnemonic for "History" in Clear Private Data
...
This doesn't introduce a new string.
2010-10-30 21:44:19 +02:00
Christian Dywan
064ac4418b
Only re-attach KatzeHttpCookies if it existed before
2010-10-29 22:27:42 +02:00
Christian Dywan
949f38fb58
Always clear private data in inactivity reset
2010-10-29 22:19:04 +02:00
Christian Dywan
5f0a9676b8
Omit Find while Typing and Open panels in Windows
...
Those preferences are presumably addressing corner cases
and not useful in most cases.
2010-10-27 21:09:19 +02:00
Christian Dywan
80bd531d58
Always create a new style element for link find
...
Otherwise adding rules for link find on pages with
no stylesheets doesn't work.
2010-10-26 23:50:59 +02:00
Christian Dywan
95f2278542
Find links opens tabs with Control and Shift respectively
2010-10-26 23:04:22 +02:00
Christian Dywan
ad6905db4d
Make link number style more robust
...
Use bold, small font, white background, 1 line high and displayed.
Mark attributes with !important to ensure the style is not
changed due to styling on the page.
2010-10-26 23:04:21 +02:00
Christian Dywan
8b7640731d
Don't display link numbers at all instead of hiding
2010-10-26 23:04:21 +02:00
Christian Dywan
39253b94c5
Implement Find Links with '.', type number and Return
...
Inline Find is now ',' because '.' is common in some browsers
which have a Find Links feature.
2010-10-26 00:26:54 +02:00
Christian Dywan
691f6c7bbd
Right-click on statusbar border should show context menu
2010-10-26 00:26:54 +02:00
Christian Dywan
7a993b9f19
Clearing icons should remove icon database as well
2010-10-26 00:26:54 +02:00
Christian Dywan
ba161aeeae
Don't show 'Add to Speed Dial' with no configuration
...
As it won't be saved, it's not helpful to offer it.
2010-10-24 23:48:58 +02:00
Christian Dywan
cbb9189e7c
Label 'Custom' and file chooser 'Import from a file'
2010-10-24 23:48:03 +02:00
Christian Dywan
21a82db268
Correct description of TabMinimize
...
While internally still called 'minimize', the description
needs to say that only the icon of the tab is shown.
2010-10-24 21:06:28 +02:00
Christian Dywan
b915e45332
Fallback for opening new windows in app mode
...
This is not quite enough, inheriting config won't
work, but better than nothing at all.
2010-10-24 21:06:27 +02:00
Christian Dywan
6cdc0261e9
Don't load cookie jar in app mode with config
...
Originally meant for app mode, this is wrong as default
behaviour since private mode would load all cookies.
2010-10-24 21:06:27 +02:00
Christian Dywan
6b77d140ea
Toggle bookmark actions depending on if we have any
...
So app mode without bookmarks won't show menu items
for adding or managing bookmarks.
2010-10-24 21:06:27 +02:00
Christian Dywan
bcde0df374
Remove 'locked' browser hack and rely on actions
2010-10-24 21:06:27 +02:00
Christian Dywan
1e12cb208b
Ensure action menu items don't show all
2010-10-24 21:06:26 +02:00
Christian Dywan
23db2145ad
Avoid build_config_filename in main() and simplify it
2010-10-23 00:31:11 +02:00
Christian Dywan
ed0440cd9f
Click Go icon in blank or speed dial to Paste and Proceed
2010-10-22 23:52:08 +02:00
Christian Dywan
f6ad3b1c21
Set location tooltip according to security status
2010-10-22 23:44:36 +02:00
Christian Dywan
03f69c0b51
Make sure 'config' is the effective folder in main()
2010-10-22 21:36:25 +02:00
Christian Dywan
68c12e950e
Slice allocations in addons, net, scrolled, transferbar
2010-10-21 21:09:01 +02:00
Paweł Forysiuk
45ebf4dcdb
Don't regard about: URIs as external
2010-10-21 21:09:01 +02:00
Christian Dywan
9f30695ca3
sokoke_external_uri should return FALSE for non-URIs
...
In particular search key words.
2010-10-21 21:09:01 +02:00
Christian Dywan
936758afdc
Add translation comments to 'History' and 'Form History'
2010-10-21 21:09:00 +02:00
Christian Dywan
b25f27cd66
Add static keywords, fix #ifdefs and spurious lines
2010-10-20 23:48:36 +02:00
Christian Dywan
fc23eac478
Ask GIO for supported URI schemes
...
sokoke_external_uri supersedes hardcoded support for tel:
and callto: and notably doesn't count http(s).
2010-10-20 20:56:05 +02:00
Christian Dywan
26081c67f6
Expose midori_view_add_info_bar properly
...
All infobars are automatically removed if the location changes
or reloads now. The button arguments are dynamic. The infobar
look-alike is also closer to a real GtkInfoBar.
2010-10-20 01:24:43 +02:00
Christian Dywan
27d6980746
Refactor accel and search engine loading for app mode
...
So app mode with a config folder uses the same code paths
as normal browsing.
This means accelerators and search engines are available
in Private Browsing now.
2010-10-20 01:24:43 +02:00
Christian Dywan
42299f7fe3
Use accessor for widget style
2010-10-19 00:53:01 +02:00
Christian Dywan
fc166214b0
Use accessors for statusbar message area
2010-10-19 00:53:01 +02:00
Christian Dywan
32988e55af
Use accessors for window and allocation of a widget
2010-10-19 00:53:01 +02:00
Christian Dywan
f079d9c48a
Use accessor for dialogue content area
2010-10-19 00:53:01 +02:00
Christian Dywan
5082f60093
Make non-progressive build work again
2010-10-19 00:53:01 +02:00
Christian Dywan
2bc7fbac24
Make 'Clear' the default button for Clear Private Data
2010-10-17 23:13:54 +02:00
Christian Dywan
6480329bbf
Add item to clear HTML5 databases
2010-10-17 22:52:11 +02:00
Christian Dywan
d73b471ec4
Implement sokoke_register_privacy_item facility
...
The new function allows registering callbacks which clear data,
with a name and label so they show up in the Clear Private Data
dialogue and the chosen items are saved.
The old enumeration still keeps history, trash and the flag
whether to clear when Midori quits.
2010-10-17 22:48:32 +02:00
Christian Dywan
d3b278231f
Implement internal Open With fallback dialogue
2010-10-14 22:36:32 +02:00
Christian Dywan
fb3fb594a9
Eliminate 'send' flag from midori_app_send_notification
...
The declaration is misplaced and the logic actually makes
no sense.
2010-10-14 21:14:28 +02:00
Christian Dywan
ca2582c5e3
Don't declare command in callback as UniqueCommand
...
Since we're using a custom command it is in fact not part of
the enumeration and thus some compilers complain.
2010-10-14 21:11:01 +02:00
Christian Dywan
5d7bbe6eb1
Plug leak of icon path when loading icons
2010-10-14 21:07:55 +02:00
Christian Dywan
54d037f689
Free script code in thumb_view_load_status_cb with g_free
...
Allocating and releasing must match.
2010-10-14 21:07:55 +02:00
Christian Dywan
8302cfe004
Don't leak URI in midori_browser_get_uri_extension
2010-10-14 21:07:55 +02:00
Christian Dywan
72be5942f7
Don't leak strings when adding speed dial shortcut
2010-10-14 21:07:55 +02:00
Christian Dywan
b5430eeead
Always enable HTML5 databases with WebKitGTK+ >= 1.1.14
...
The infobar will be shown when databases are saved, and it will
be added to the private data dialogue.
2010-10-14 01:42:36 +02:00
Christian Dywan
89c0975e66
Present an infobar when an HTML5 database is saved
...
The infobar code is refactored into midori_view_add_info_bar
2010-10-14 01:37:10 +02:00
Christian Dywan
2dbce1e327
Implement --help-execute to list available commands
2010-10-14 01:36:42 +02:00
Christian Dywan
bcc622c456
Let private mode inherit preferences
...
Private mode should retain most preferences, while menus for
Bookmarks, Tools and Panel are hidden.
App mode now hides the navigationbar by default.
2010-10-13 23:41:11 +02:00
Christian Dywan
80ff8ac0f0
Add midori_browser_set_action_visible method
2010-10-13 23:22:54 +02:00
Christian Dywan
324d3c3d6a
Use truncated journal mode for history database
...
This instructs sqlite to preserve the journal file, which
can improve performance and allows it to be a symbolic link.
2010-10-12 23:09:12 +02:00
Christian Dywan
6331573a2c
Allow passing NULL path to sokoke_hostname_from_uri
2010-10-13 03:23:09 +02:00
Christian Dywan
717bc948b0
Remove MidoriView::net property completely
2010-10-13 03:23:09 +02:00
Christian Dywan
eb0848e42b
Present an infobar when a website asks for location
...
Based on a patch by Arno Renevier <arno@renevier.net>
2010-10-12 00:25:49 +02:00
Christian Dywan
9d8c819521
Always prefill language entries with default values
2010-10-10 22:41:15 +02:00
Christian Dywan
31dabca224
Shell quote URI passed to sokoke_spawn_program
2010-10-10 13:39:38 +02:00
Christian Dywan
e74f89f8c2
Remove 'filename' argument from sokoke_spawn_program
2010-10-10 13:27:06 +02:00
Christian Dywan
120c5bf40f
Move app spawning to sokoke_spawn_app and use in MidoriView
2010-10-10 13:02:50 +02:00
Christian Dywan
8f4827a382
Use a power friendly second timeout for session saving
2010-10-06 18:32:03 +02:00
Christian Dywan
392fa7fc85
Revise cookie saving based on a timeout
...
The variable MIDORI_COOKIES_DEBUG can be used to print
the number of updated cookies when they're written.
The temporary cookie file is written in the same location
now as moving across filesystems may not work.
Saving when Midori is quit is enforced.
2010-10-06 18:32:03 +02:00
Christian Dywan
579108e4e6
Don't leak the inspector_view in showing and detaching
2010-10-05 21:43:34 +02:00
Christian Dywan
a9406ab0ec
Add base stock icons statically to save some memory
2010-10-05 21:43:34 +02:00
Christian Dywan
dec42c00a8
Remove the 'Open external pages in' from Preferences
2010-10-05 21:43:34 +02:00
Christian Dywan
343badcc58
Remove Console panel in favour of the Inspector
2010-10-05 21:43:33 +02:00
Christian Dywan
0b3cf4810f
Add InspectPage action to dummies to make hotkey work
2010-10-05 21:43:33 +02:00
Christian Dywan
5a0fc37d2f
Don't use the deprecated GTK_IN_DESTRUCTION flag
...
As a workaround, the browser now sets its own flag.
2010-10-05 00:04:28 +02:00
Christian Dywan
80e1c4149c
Don't use GtkNotebookPage* in callback signature
2010-10-05 00:04:28 +02:00
Christian Dywan
cd783acee0
Don't use GTK_WIDGET_SET_FLAGS in browser and panel
2010-10-05 00:04:28 +02:00
Christian Dywan
b6247e3314
Shell quote argv[0] before spawning a process
...
The path to the executable may contain spaces.
2010-10-03 07:15:44 +02:00
Christian Dywan
9a0e2bffef
Remove Remember last downloaded files preference
...
The preference was never actually implemented.
2010-10-03 07:15:44 +02:00
Christian Dywan
bfa8709900
Add a small label to summarise what cookies store
2010-10-03 07:15:44 +02:00
Christian Dywan
a37c1df18d
Simplify cookie privacy preferences
...
Instead of choosing what cookies to accept, there is a tick box
if cookies should be deleted when quitting, or in other words
pretending all cookies are session cookies.
The choice of maximum age was replaced with a combo box.
2010-10-03 07:15:44 +02:00
Christian Dywan
bba6cb76ad
Verify that the download location is writable
2010-10-01 01:12:12 +02:00
Christian Dywan
08691b7745
Cope with unset history in midori_location_action_toggle_arrow_cb
...
If history is unset, we don't have any items to populate the
combobox dropdown with. So we should always hide the button. Also
suppress the popup if we have no history.
2010-09-29 01:35:41 +02:00
Christian Dywan
4c90286e09
Make sure there are search engines before populating the menu
2010-09-24 23:35:01 +02:00
Christian Dywan
e1ae60627e
Don't treat « or » as sub page indicators
2010-09-22 23:56:30 +02:00
Christian Dywan
5bdf376487
Ensure link URI is updated before it is used
...
Apparently the URI obtained from hovering-over-link can be
mangled, so a # would be interpreted as a fragment identifier.
2010-09-21 00:08:10 +02:00
Christian Dywan
648befe7ca
Implement and use midori_view_new_with_uri
...
The function provides an optimised and quick way to creating
visible views with uri, title and settings. This is how virtually
all views are created.
2010-09-17 22:42:52 +02:00
Christian Dywan
5806cdb884
Return FALSE in _action_bookmarks_populate_folder if db is NULL
2010-09-17 22:42:52 +02:00
Christian Dywan
b66902ef7a
Make KatzeArrayAction::activate-item-alt fully autonomous
...
Implementing the signal and returning TRUE makes it unneeded
to implement activate-item as well now.
2010-09-17 22:42:52 +02:00
Christian Dywan
d39148f230
Re-implement 'Bookmarks' menubar and toolbar button
2010-09-15 04:10:55 +02:00
Christian Dywan
34ddb8c2f0
Implement KatzeArrayAction::populate-folder
...
To go along with that, expose katze_array_action_generate_menu
as a public function to implement the signal.
In essence, this enables populating folders from other sources
than the original array, such as a database, while still
making use of the existing menu generation.
2010-09-15 04:10:55 +02:00
Christian Dywan
b7e88574c5
Remove the viewable scheme registration mechanism
2010-09-12 21:03:14 +02:00
Christian Dywan
d34da1c500
Remove pointless FIXME and TODO comments from Midori classes
2010-09-12 20:23:39 +02:00
Christian Dywan
db6e5954e8
Show statusbar on new transfars if transferbar is visible
2010-09-12 20:14:48 +02:00
Christian Dywan
b07fe09de8
Initialize extension to NULL in midori_load_extensions
2010-09-12 00:59:24 +02:00
Christian Dywan
40dc38fd21
Implement and use KATZE_ARRAY_FOREACH_ITEM
...
Iterating an array by a GList is considerably faster than
continuously retrieving items, however it is also a lot
more complicated. So the new macro takes care of that and
uses a new semi-private function to avoid copying the list.
Note that the macro can't be nested, which basically isn't
useful in practise anyway.
2010-09-12 00:59:24 +02:00
Christian Dywan
1b80f16bf4
Remove browser-count, midori_panel_set_compact, console toolbar
2010-09-07 22:24:11 +02:00
Christian Dywan
be1a66349f
The background colour is not used in completion text rendering
2010-09-06 03:03:07 +02:00
Christian Dywan
65931c3f91
Use Ctrl+Shift modifiers for Bookmarks, History and Transfers
...
For one, previously modifiers were missing on History and Transfers.
Further more, Ctrl+B conflicts with Bold in rich text fields, and
for consistency, panels should have the same modfiers.
2010-09-04 23:42:53 +02:00
Christian Dywan
28bdabd928
Hide statusbar in app mode by default
2010-09-03 00:32:48 +02:00
Christian Dywan
91328aef2e
Use Alt+Shift+Left/ Right for Previous and Next actions
...
Control+Left/ Right conflicts with text cursor movement.
2010-09-03 00:21:03 +02:00
Christian Dywan
7d3fa2a478
Move WebKitGTK+ 1.1.6 guards to disable delayed pages
2010-08-28 01:43:44 +02:00
Christian Dywan
7d049555a5
Explicitly reset 'delay' status when reloading or changing location
2010-08-23 20:08:43 +02:00
Christian Dywan
5a86115a9a
Rename 'Minimize Tabs' to 'Show Tab Icon Only'
2010-08-23 19:38:11 +02:00
Christian Dywan
10fab99090
Delete history from completion with Delete key
2010-08-22 03:53:47 +02:00
Christian Dywan
f8e5e8f7e0
Don't hide homepage smartly, don't show it in bookmarkbar
2010-08-22 03:39:11 +02:00
Christian Dywan
0de4e9fa08
Skip NULL key, which is the case when using the combo arrow
2010-08-22 03:25:03 +02:00
Christian Dywan
b563479014
Simplify update_interface and avoid extra updates
2010-08-16 21:01:02 +02:00
Peter de Ridder
9a78cc6f6e
Support space and percent as wild cards in location completion
...
Internally the typed key is treated as if spaces are wildcards,
so 'hello world' would be 'hello%world'.
The text renderer splits the typed text by ' ' and '%', so
multiple words are highlighted.
2010-08-16 00:05:35 +02:00
Christian Dywan
bae41b45a8
Make 'Inspect Element' always show the inspector
...
Without scripts enabled, this doesn't happen implicitly.
2010-08-14 21:12:02 +02:00
Christian Dywan
9c84a2c407
Use midori_browser_open_bookmark for the bookmarkbar
2010-08-14 20:58:38 +02:00
Christian Dywan
a7452bd0b5
Use KatzeArray* to remove and monitor deleted bookmarks
...
The panel and the bookmarkbar need to monitor the removal of
bookmarks, and there can be multiple windows, so the database
should only be used to remove in one central place.
2010-08-10 23:46:49 +02:00
Christian Dywan
8015f39fe6
Don't bother with unused config filenames in main
2010-08-10 22:41:19 +02:00
Christian Dywan
0870196942
Show tooltip text on tab icon, not only the label
2010-08-07 15:30:56 +02:00
Christian Dywan
13ffa17f2b
Correctly load settings and cookies with --config in app mode
2010-08-07 15:14:58 +02:00
Christian Dywan
2d1d19de23
Remove freeze, thaw and set_uri from MidoriLocationAction
2010-07-31 13:59:48 +02:00
Christian Dywan
34d7a8033b
Use KatzeArray* to signal new items to MidoriHistory
2010-07-31 01:42:14 +02:00
Christian Dywan
60eca91b74
Do NULL-safe address comparison when loading the session
2010-07-31 01:29:57 +02:00
Christian Dywan
1550c9d9f2
Don't' declare 'unescaped' twice in sokoke_format_uri_for_display
2010-07-30 22:09:03 +02:00
Christian Dywan
6b54f9e8b5
Remove the obsolete MidoriPanel::menu property
2010-07-30 22:09:02 +02:00
Christian Dywan
a724d883b1
Synchronize browser and panel toolbar style
2010-07-30 22:09:02 +02:00
Christian Dywan
2350fc0834
Disconnect settings and bookmarkbar when disposing
2010-07-30 22:09:02 +02:00
Alexander Butenko
e2ac49a76d
Dont store about:* pages in history, Reset history step counter
2010-07-24 13:53:57 +02:00
Alexander Butenko
fd48f850a3
Emmit uri signals after after item uri is set
2010-07-24 13:53:12 +02:00
Alexander Butenko
9e3e3fc491
Update bookmark for export from sqlite database
2010-07-23 22:04:43 +02:00
Alexander Butenko
5e250cc70d
Store 'description' property of a bookmark
2010-07-23 22:04:20 +02:00
Alexander Butenko
1339dc671b
Dont add items with empty uris into history
2010-07-23 21:57:40 +02:00
Alexander Butenko
f8bf87ecf9
Dont unescape URIs which are not escaped
...
sokoke_uri_unescape_string handles that and handles '+'
the way we want.
2010-07-23 21:38:07 +02:00
Alexander Butenko
a770a1b488
Uri property is mandatory for history operations
2010-07-23 21:19:56 +02:00
Alexander Butenko
7086111024
Avoid double unescaping on locationbar updates
2010-07-23 21:19:42 +02:00
Alexander Butenko
f7cd519b7f
Unescape spaces as well
2010-07-23 21:19:22 +02:00
Alexander Butenko
46c80ad2d1
Create MidoriView proxy item during initialization
2010-07-23 21:16:46 +02:00
Alexander Butenko
74278e6449
Properly create proxy item and cleanup history agregation
2010-07-22 00:21:03 +02:00
Alexander Butenko
3aa48c34b5
Stop listening to notify::uri signal. load-status is enough
2010-07-22 00:09:54 +02:00
Alexander Butenko
44a2351b72
Decode URIs before updating the locationbar
2010-07-21 23:39:34 +02:00
Alexander Butenko
ca9010acd5
Show decoded urls in the locationbar
2010-07-21 23:19:29 +02:00
Alexander Butenko
cac6571371
Escape space in search pattern to match the history URL format
2010-07-21 23:16:51 +02:00
Alexander Butenko
64fb6e8ee8
Fix typos and simplify SQL query for locationbar
2010-07-21 23:08:09 +02:00
Alexander Butenko
5859bbe2ab
Fix edit bookmark behavior
2010-07-21 23:01:13 +02:00
Alexander Butenko
9763a1225f
Verify that we have "folder" meta value in bookmark edit dialog
2010-07-19 21:42:15 +02:00
Christian Dywan
f764f25747
Implement activate-item(-alt) for bookmarkbar mouse buttons
2010-07-19 21:39:57 +02:00
Alexander Butenko
9a098e2656
Attach bookmark table and union bookmarks in location completion
2010-07-19 21:07:26 +02:00
Alexander Butenko
687de063f9
Clear the bookmarkbar before populating and populate after editing
2010-07-19 20:55:59 +02:00
Christian Dywan
b944ce0c83
Require bookmarks and folders to have a title
2010-07-19 20:47:33 +02:00
Christian Dywan
7dffde361c
Append new bookmarks to the end of the store, with G_MAXINT
2010-07-19 20:42:56 +02:00
Christian Dywan
94fbf158f6
Remove conditional guards for sqlite
2010-07-17 21:31:29 +02:00
Christian Dywan
57683d45b1
Use no border (shadow) on views by default
2010-07-16 21:23:11 +02:00