Paweł Forysiuk
00bd3f0818
sokoke_js_script_eval should not crash when js_message is NULL
2012-09-18 00:33:07 +02:00
Christian Dywan
bae360e3f8
Fix build of unit tests: speed dial, hsts, bookmarks
2012-09-11 00:44:09 +02:00
Christian Dywan
fefc3b2cbe
Merge build_thumbnail_path into Midori.SpeedDial
2012-09-09 22:34:33 +02:00
Christian Dywan
1ad675e24e
Dissolve keyfile "default" wrappers into Midori.Extension
2012-09-09 22:34:33 +02:00
Christian Dywan
e3a71596bc
Rework downloading into Midori.Download interface
...
Midori.URI
get_folder
Midori.Download
is_finished
get/set_type
get_progress
get_tooltip
Consistent estimation of remaining time and speed.
get_content_type
Icons in dialog and panel.
has_wrong_checksum
Verification in both panel and toolbar.
action_clear, action_stock_id, open
Consistent behavior in both panel and toolbar.
fallback_extension
clean_filename
Merged two separate functions.
get_suggested_filename
get_filename_suggestion_for_uri
Now handles MIME types.
get_extension_for_uri
get_unique_filename
Renamed from prepare_filename.
prepare_destination_uri
has_enough_space
2012-09-09 14:07:30 +02:00
Christian Dywan
db0ae6ab60
Introduce Midori.SpeedDial and unit test
...
Fixes: https://bugs.launchpad.net/midori/+bug/1038634
2012-08-31 23:47:03 +02:00
Christian Dywan
0668aba7cc
Move config/ data/ res_filename/ lib_path to Midori.Paths
2012-08-30 00:43:20 +02:00
Christian Dywan
7f37162fe0
Introduce Midori.Paths and Midori.RuntimeMode
...
Also introduce initial "portable" mode on Win32.
2012-08-27 21:52:24 +02:00
Christian Dywan
f6595ea15e
Handle and cache Accept-Language in WebSettings
2012-08-23 21:25:44 +02:00
Christian Dywan
b925dbca33
Consolidate search entries in sokoke_search_entry_new
2012-08-06 00:32:01 +02:00
Christian Dywan
2cf8d9323e
Require GTK+ 2.16 or later
2012-07-20 01:22:38 +02:00
Christian Dywan
a0b2020550
Don't quote commands containing tokens
2012-07-08 21:02:06 +02:00
Christian Dywan
0c201ca2b8
Handle more tokens in sokoke_spawn_program
2012-07-08 20:12:38 +02:00
Christian Dywan
aa1ffbf1d0
Rework sokoke_spawn_command internals
...
Caller decides if the command and the argument are quoted,
otherwise quoting only affects %s. The actual quoting is
split to allow use in test cases.
The Hildon version was dropped.
The GAppInfo version was dropped.
A test case with a cuple examples was added.
2012-07-01 21:26:06 +02:00
Christian Dywan
25d8b8ddfc
Find extensions in runtime lib path
...
Setting MIDORI_EXTENSION_PATH is no longer needed.
2012-06-01 00:57:49 +02:00
Christian Dywan
4a4887b511
Find res in executable or build folder
...
We can drop the versioned filename.
2012-06-01 00:57:49 +02:00
Martin Natano
e0c021de3d
Replace illegal characters in filenames
...
Fixes: https://bugs.launchpad.net/midori/+bug/972931
2012-04-10 21:29:56 +02:00
Paweł Forysiuk
3a833296b0
Use ShellExecuteEx in sokoke_show_uri on Win32
...
An 'Open With' dialog opens if needed.
2012-04-06 20:20:01 +02:00
Christian Dywan
537d002a6f
Unify file handling in midori_prepare_uri and magic_uri
2012-03-08 01:10:54 +01:00
Christian Dywan
4f180216a1
Fix declaration and deprecation warnings
2012-03-06 01:12:20 +01:00
Christian Dywan
7361a80e24
Tweak is_ip_address and add IPv6 test cases
...
Stop wrongly mistaking foo::bar for IPv6.
2012-02-29 23:17:02 +01:00
Christian Dywan
ffb86ce7ff
Use GDateTime instead of GDate if available
...
GDate depends on broken msvcrt code.
2012-02-21 21:47:07 +01:00
Christian Dywan
bbbfa0d677
Consider focus when toggling clear button
...
Fixes: https://bugs.launchpad.net/midori/+bug/934083
2012-02-19 21:53:58 +01:00
Peter Hatina
c0e0bee467
Implement sokoke_entry_set_clear_button_visible
...
Fixes: https://bugs.launchpad.net/midori/+bug/699954
2012-01-14 00:34:11 +01:00
Christian Dywan
c8b19b2eeb
Avoid copying of strings and making tiny allocations
2011-12-11 02:57:04 +01:00
Christian Dywan
47445f8c94
Use gdk_display_get_app_launch_context if available
2011-11-28 20:42:08 +01:00
Christian Dywan
4c2fd067ff
Midori.URI.parse_hostname clearer semantics and tests
2011-11-18 01:44:48 +01:00
Christian Dywan
7cf7dea9ee
Drop unused sokoke_combo_box_add_strings
2011-11-16 02:08:30 +01:00
Christian Dywan
a121d24d35
sokoke_entry_set_default_text becomes gtk_entry_set_placeholder_text
...
GTK+ 3.2 and Hildon 2.2 have the exact same feature built-in.
2011-11-09 22:06:10 +01:00
Christian Dywan
8fff7d8fd3
sokoke, gtk3-compat, gtkiconentry, stock join midori-platform.h
...
Also introduce #define MIDORI_MODULE_PREFIX.
Fixes: https://bugs.launchpad.net/midori/+bug/884395
2011-10-31 22:18:06 +01:00
Christian Dywan
a25c34e280
Support res directly in sokoke_find_data_filename
...
One allocation less each time, less fragmentation.
2011-10-29 01:16:08 +02:00
Christian Dywan
d39b62c73e
Use Midori.URI API in sokoke_prefetch_uri
2011-10-29 00:43:03 +02:00
Christian Dywan
8f540b3d86
sokoke_widget_set_pango_font_style can be static
2011-10-28 22:49:10 +02:00
Christian Dywan
2976f6ebb2
Avoid the rarely used sokoke_container_show_children
2011-10-28 22:49:10 +02:00
Christian Dywan
6bceb5a10a
Merge thread setup, stock items, argv, i18n into MidoriApp
2011-10-28 22:49:10 +02:00
Christian Dywan
3b2d95c0e4
sokoke_widget_copy_clipboard must be NULL-safe
2011-10-26 20:07:11 +02:00
Christian Dywan
9159e72b58
Use bookmark-new for Add Bookmark
...
Fixes: https://bugs.launchpad.net/midori/+bug/880179
2011-10-25 02:13:18 +02:00
Christian Dywan
77428fe44c
Introduce Midori.URI to unitfy all URI logic
...
sokoke_hostname_from_uri, sokoke_search_uri,
sokoke_hostname_to_ascii and sokoke_unescape_uri_string
are merged into Midori.URI.
midori-core.h is the official API header for Vala now.
2011-10-21 01:00:13 +02:00
Christian Dywan
52de747198
Merge GLib and GTK+ compatibility in gtk3-compat.h
2011-10-20 22:46:43 +02:00
Christian Dywan
3fa294d100
Require GLib 2.22 it's already an implicit dependency
2011-10-17 02:47:56 +02:00
Christian Dywan
756830f6e4
Require libSoup 2.27.90 and drop libidn
2011-10-17 02:47:55 +02:00
Christian Dywan
2f40eee0a5
Only show close in speed dial if it can be saved
...
And un-negate return value of sokoke_is_app_or_private().
2011-10-11 02:48:47 +02:00
Christian Dywan
3071da6711
Use g_format_size with GLib 2.30.0
2011-10-10 21:53:00 +02:00
Lucas Baudin
b5aad2d176
Allow building with GTK+3
...
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +02:00
Paweł Forysiuk
18a0d1da03
Check for folders other than LIBDIR in sokoke_find_lib_path
2011-09-14 01:47:21 +02:00
Christian Dywan
b8512f2532
Quote config folder when spawning private browsing
...
On Windows the folder typically contains spaces.
2011-08-18 22:10:57 +02:00
Christian Dywan
a3ab258819
Don't show startup preference in private browsing
...
Introduce sokoke_is_app_or_private helper function.
2011-08-04 23:59:16 +02:00
Christian Dywan
e6ecd20be4
Disable spell check option if there are no enchant modules
2011-08-04 23:29:56 +02:00
Paweł Forysiuk
46de9f7767
Remove further support for WebKitGTK+ < 1.1.14
2011-06-09 00:45:34 +02:00
Paweł Forysiuk
1b8bf1cd2b
Check for data folder relative to install on Windows
2011-06-02 00:57:40 +02:00