Commit graph

198 commits

Author SHA1 Message Date
Alexander Butenko
6f415c4e6e Import bookmarks from bookmarks.xbel on the first start.
The bookmark handling in main is not needed any more.
2010-06-16 23:17:51 +02:00
Alexander Butenko
9bff58199a Order bookmarks descending. Folders should always be on top 2010-06-16 20:57:52 +02:00
Alexander Butenko
3b46d80161 Fixup the bookmark panel initialization 2010-06-16 20:57:08 +02:00
Alexander Butenko
87ac3ae563 Initial sqlite read support
We go back to GtkTreeStore rather than a custom class.
2010-06-16 20:55:37 +02:00
Christian Dywan
2f5a65947f Add 'Copy All' to console panel 2010-05-19 00:42:15 +02:00
Christian Dywan
dfddd7ce0a Leave panel icon styles to the system settings 2010-05-13 16:53:19 +02:00
Christian Dywan
2611a24803 Remove unused extension panel popup logic 2010-05-06 23:41:07 +02:00
Arno Renevier
7c0e58a835 Refactor userscripts and userstyles as an extension 2010-05-02 11:53:05 +02:00
Christian Dywan
3f886f7153 Include previous searches in History panel items 2010-03-01 00:24:46 +01:00
Christian Dywan
6d722f6294 Only read history into History panel if an array is given 2010-02-10 19:52:11 +01:00
Christian Dywan
ee51a8c87f Implement a filter entry in History panel, similar to Cookie Manager 2010-02-10 19:52:11 +01:00
Christian Dywan
cee10ca6d8 Remove unused KatzeNet instance from Bookmarks panel 2010-02-10 19:52:11 +01:00
Christian Dywan
eb5b244647 Remove unused KatzeNet instance from History panel 2010-02-10 19:52:11 +01:00
Christian Dywan
24b0916d62 Remove invisible dummy row when expanding, and add it when collapsing 2010-02-10 19:52:11 +01:00
Christian Dywan
94aebbf1fe Render dummy history items as separators
Until we find a better way this should reduce confusion about
'empty' folders appearing.
2010-02-04 00:17:51 +01:00
Alexander Butenko
a90dc507ff Make the Delete key delete history entries again 2010-02-03 22:15:49 +01:00
Alexander Butenko
1a236a3800 Clear the history folders on collapse, repopulate on expand 2010-02-03 22:13:00 +01:00
Christian Dywan
ae1ea1214b Only query the current time once when populating the history 2010-02-03 18:42:58 +01:00
Christian Dywan
bee4615d10 Render history dates directly without age column or render callback
Resurrect sokoke_days_between for calculating age in days.
2010-02-03 01:39:13 +01:00
Alexander Butenko
3848becaa6 Re-implement history panel based on sqlite queries 2010-02-02 21:10:03 +01:00
Alexander Butenko
11ff993ecd Strip trailing whitespace from console messages 2010-01-13 06:56:12 +01:00
Christian Dywan
a8d3d0955f Remove empty button from the Extensions panel 2010-01-08 01:44:48 +01:00
Christian Dywan
cbebda0db4 Remove Plugins panel, instead add Netscape plugins to Extensions
Netscape Plugins cannot actually be activated or deactivated
at the moment.
2010-01-08 00:16:56 +01:00
Christian Dywan
7f0141d657 Do not run scripts or styles on blank or special pages 2010-01-08 00:16:55 +01:00
Christian Dywan
578f74a308 Merge compat.h into sokoke and remove gtk_show_uri implementation 2010-01-01 23:24:03 +01:00
Alexander Butenko
eddb3ef557 Only monitor actually existing user script/ style folders 2009-12-21 23:40:29 +01:00
Christian Dywan
1c45254f23 Always prepend history items to the top of the history panel 2009-12-05 20:22:51 +01:00
Christian Dywan
718d832537 Add 'Import bookmarks' button into the bookmark panel 2009-12-02 23:11:59 +01:00
Christian Dywan
ffee6e3850 Open bookmarks from the panel as apps or internal consistently 2009-11-26 23:16:07 +01:00
Christian Dywan
9eefb25bb6 Refactor loading cached page icon into katze_load_cached_icon
The function is optimized for loading icons and independant from
a KatzeNet instance.
2009-11-17 23:22:08 +01:00
Christian Dywan
fd7d778e0c Remove sokoke_widget_popup and replace all call sites 2009-11-15 18:21:59 +01:00
Christian Dywan
247848c6a9 Simplify javascript used in the Netscape plugins panel a little 2009-11-13 18:40:17 +01:00
Christian Dywan
ca2e2be632 Show the actual paths when clicking the "Add" button in the userscript panel 2009-11-04 19:29:29 +01:00
Christian Dywan
ec9ea0233e Hide Extensions panel if no extensions are available at all. 2009-10-30 21:43:42 +01:00
Christian Dywan
461511c216 Don't assert on future dates, but accept it and show a warning.
On a mobile phone it's not that uncommon to accidentally reset the
system clock by removing the battery. So instead of crashing
a warning is displayed.
2009-10-30 21:10:20 +01:00
Christian Dywan
2ff14cf64d Fix a leaked URI string when injecting user scripts 2009-10-04 00:02:23 +02:00
Christian Dywan
ba1084d236 Merge userstyles into the userscript panel 2009-09-22 23:50:31 +02:00
Adrian Bunk
e5812d0478 Don't connect to a monitor that wasn't created in the first place 2009-09-15 21:04:29 +02:00
Christian Dywan
39e47ac3b7 Disable extensions that are unavailable on the system
Extensions can be unavailable on a particular platform or a system
lacking a build-time requirement. Let's handle this more cleanly
and reflect it in the Extensions panel.
2009-09-10 02:07:27 +02:00
Christian Dywan
0da785e94c Disconnect bookmark folder signals, for bookmarkbar and panel
This would lead to crashes when opening and closing windows and
attempting to add bookmarks afterwards.
2009-08-19 23:51:59 +02:00
Christian Dywan
a5a473eaad Label the buttons to clear transfers correctly "Clear All" 2009-08-11 17:23:30 +02:00
Enrico Tröger
e6ecea4194 Sort the list of extensions in the side panel 2009-07-18 15:25:15 +02:00
Christian Dywan
3f88bdb528 Compute the available Netscape plugins via JavaScript
Using JavaScript avoids dealing with formatting issues and is
better if plugins are not installed in the default folder.
2009-07-10 17:58:49 +01:00
Christian Dywan
7ca6944fc3 Resolve MidoriBookmarkStore warnings 2009-06-18 23:54:30 +02:00
Christian Dywan
881140c9c9 Include midori-bookmark-store.h in MidoriBookmarks 2009-06-10 22:04:22 +02:00
Christian Dywan
3179a538a9 Add the boilerplate for MidoriBookmarkStore 2009-06-09 02:59:29 +02:00
Christian Dywan
1873dfe631 Popup Extensions menu on button release, not press
Although menus should open on button press, we have to use
release if we want the treeview selection to be correct.
2009-06-09 01:11:42 +02:00
Christian Dywan
9f89df5358 Implement Open, Open folder and Copy destination in transfer panel 2009-06-09 01:10:08 +02:00
Christian Dywan
dfee0e5d14 Implement tick marks in Addons (User styles and -scripts) as well 2009-06-07 17:31:24 +02:00
Christian Dywan
e2795eff54 Implement togglable ticks in the extensions panel
Whether an extension is active or not is now reflected by a tick
mark that can be toggled with a mouse. Double clicking and
pressing space do the same. The buttons are thusly removed.
While we are at it, we also listen for status changes that might be
coming from a different window.
Sensitivity does no longer relate to activation status.
2009-06-07 16:59:51 +02:00
Przemek Sitek
ee6d2a1f6d Emphasize extension names by rendering them bold 2009-06-05 23:58:26 +02:00
Przemek Sitek
5a748a36ad Implement a context menu for extensions in the extension panel 2009-06-05 23:55:00 +02:00
Enrico Tröger
dced22f179 Use midori_app_add_browser in panels to create new windows
This fixes a crash due to change of the signal signature.
2009-05-31 03:34:13 +02:00
Christian Dywan
f95254cd04 Improve reference counting in the history panel
This does not fully solve it but should avoid warnings caused
by invalid objects.
2009-05-26 08:20:52 +02:00
Christian Dywan
9e5d50a7a5 Don't use gettext inside of ngettext 2009-05-25 18:10:47 +02:00
Christian Dywan
38a7e023f9 Transfer panel Clear should only remove cancelled and finished items 2009-05-24 01:01:38 +02:00
Christian Dywan
63bce11e1a Redraw extensions treeview when activating/ deactivating 2009-05-24 00:07:17 +02:00
Christian Dywan
8deacc7a9d Basic support for @-moz-document in user styles
This is not completely correct but a good start. Basically
@-moz-document is recognized, "url-prefix" is respected, not
"domain" however. Namespaces are ignored. Document blocks
are not fully honored, instead all style rules apply to all
prefixes specified in any block in the file.
2009-05-20 01:20:34 +02:00
Christian Dywan
396c477f2d Disconnect history panel when finalizing
There's a small hack now which prevents the disconnect function
from releasing the references. Our reference handling is flawed
and needs to be investigated before we can fix that for good.
2009-05-15 20:08:06 +02:00
Christian Dywan
2715ec2438 Use ngettext to render %d days ago 2009-05-10 15:42:12 +02:00
Enrico Tröger
606c629fa5 Use midori_browser_get_for_widget in the bookmark panel
This fixes opening bookmarks in the current tab.
2009-05-03 21:11:20 +02:00
Christian Dywan
b81e815427 Skip files that are not shared libraries in the Plugins panel 2009-04-25 23:10:43 +02:00
Christian Dywan
080bbd7eb5 Make transfer panel properly detachable 2009-04-25 16:19:11 +02:00
Christian Dywan
90d9e85167 Refer to 'Netscape plugins' instead of 'plugins'
A remarkable amount of people have problems telling 'plugins'
and 'extensions' apart, due to their different meaning in
different applications. So make it clearer.
2009-04-25 16:13:23 +02:00
Christian Dywan
d45b72941e Make history panel properly detachable 2009-04-23 04:14:32 +02:00
Christian Dywan
04dfda755d Make console panel properly detachable 2009-04-23 04:14:08 +02:00
Christian Dywan
9e97fabd30 Make bookmark panel properly detachable 2009-04-23 04:13:19 +02:00
Christian Dywan
daf6ca74e7 Remove leftover code from MidoriWebSettings 2009-04-22 23:57:10 +02:00
Christian Dywan
e3ce454b78 Render disabled extensions as insensitive in the panel 2009-04-22 20:00:04 +02:00
Christian Dywan
ca8d181329 Unify opening URIs externally with good fallbacks 2009-04-20 19:10:13 +02:00
Enrico Tröger
6b7876cdf7 Add missing NULL check and fix a memory leak in the Addons panel 2009-04-17 03:27:15 +02:00
Christian Dywan
0e0e362a8e Don't make sensitivity of Clear history depend on the selection 2009-04-10 22:29:10 +02:00
Christian Dywan
eed273b35e Fix memory leaks in a number of places 2009-04-05 23:46:15 +02:00
Enrico Tröger
ad8558ab4c Implement stock items for Tab Panel and plugin panel 2009-04-05 00:13:09 +02:00
Christian Dywan
09af4e6754 Optimize array iterations in the History panel 2009-03-31 22:20:24 +02:00
Christian Dywan
664a40646a Add a Copy button the the console 2009-03-22 19:09:40 +01:00
Christian Dywan
1650d09070 Implement Transfers sidepanel 2009-03-22 15:25:57 +01:00
Christian Dywan
ae6530c620 Use Glib 2.16 unconditionally in the addons panel 2009-03-16 23:53:51 +01:00
Christian Dywan
74cccb0aae Add tooltips to Enable and Disable buttons 2009-03-10 19:35:11 +01:00
Christian Dywan
1af23afbe8 Implement Last Visited Pages menu and toolbar item
We use the name of history folders now to store dates instead
of the token. This makes it possible to show history in an action.
2009-03-07 14:00:14 +01:00
Matthias Kruk
7ff1a016f4 Implement activating and deactivating extensions in the panel 2009-02-28 01:59:06 +01:00
Christian Dywan
0ddf1bd1b2 Implement 'Open all in Tabs' for bookmark folders and history 2009-02-27 21:52:51 +01:00
Christian Dywan
cbe3e75e80 Add a "New folder" button to the bookmark panel 2009-02-22 03:11:40 +01:00
Christian Dywan
3b9c63937c Refactor History panel into a separate class
This brings back the problem of address and title of items
showing up in the history unfortunately.

Now the history items are appended rather than prepended,
we probably want to fix that in the future.
2009-02-21 23:59:02 +01:00
Christian Dywan
04a65f0f90 Fix label of the userstyle panel 2009-02-21 01:10:21 +01:00
Christian Dywan
3f75dc69e6 Revise bookmark panel, along with a unit test 2009-02-20 22:43:08 +01:00
Dale Whittaker
ca4d5cb520 Include string.h in MidoriBookmarks 2009-02-06 03:01:35 +01:00
Christian Dywan
5ad8c7eb0b Refactor bookmarks panel into a separate panel widget 2009-01-31 04:09:35 +01:00
Christian Dywan
7d3ac8fa37 Move {sokoke,katze}_tree_view_get_selected_iter proper 2009-01-28 01:08:51 +01:00
Dale Whittaker
08f2c028ca Include string.h in MidoriPlugins 2009-01-23 22:47:07 +01:00
Christian Dywan
0fbc478a8a Implement Plugins panel, not quite finished but already useful 2009-01-18 20:34:50 +01:00
Nick Schermer
b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan
4e1deaee05 Optimizations in main and MidoriApp 2008-12-30 03:00:08 +01:00
Christian Dywan
c59e040055 Switch MidoriAddons to sokoke_js_script_eval 2008-12-25 00:43:57 +01:00
Christian Dywan
7f0563f5f4 Scratch the '.user' part in '.user.css' and '.user.js'.
For all practical purposes it caused confusion among users
and the regular file extension should be just as fine.
2008-12-06 04:47:51 +01:00
Christian Dywan
d5e5821064 Move MidoriAddons to panels folder 2008-12-04 01:53:52 +01:00
Christian Dywan
c8e73b80a3 Move MidoriConsole to panels folder 2008-12-04 01:50:26 +01:00
Christian Dywan
e4f401c7e7 Implement new Extensions panel, in the new folder extensions 2008-12-04 01:44:33 +01:00