Commit graph

511 commits

Author SHA1 Message Date
Christian Dywan fdb12aa537 Move transfers, console and addons out of the browser 2008-11-20 03:49:57 +01:00
Christian Dywan ab747a427f Let MidoriApp be a normal instance
There is hardly a practical need for the application
to be a singleton, it's cleaner and it prevents
extensions from reaching out for it before activation.
2008-11-20 01:49:04 +01:00
Christian Dywan 03ffd05e0a Do not load icons other than in tabs 2008-11-20 01:41:58 +01:00
Christian Dywan 72f39b0f82 Change extension API to split initialization and activation
We want to be able to keep extensions in a state where
they don't actually do anything but merely provide
context information. Therefore don't pass the MidoriApp.

As soon as we want to use extensions, we activate them.

Extensions are now saved in an array in MidoriApp.
2008-11-20 01:22:25 +01:00
Brian Vuyk dc59d66eb9 Print file saving errors to the standard output 2008-11-18 23:18:53 +01:00
Christian Dywan 58cb93d900 Use katze_object_get_foo instead of sokoke_object_get_foo 2008-11-18 23:10:21 +01:00
Christian Dywan 1e6c22d94a Add more katze_object_get_foo functions 2008-11-18 23:06:02 +01:00
Christian Dywan 79cbcd0886 Make libxml technically optional, while it remains mandatory 2008-11-18 22:26:06 +01:00
Christian Dywan 166a7e48e0 Malloc in bytes, not characters, and don't copy freed memory
This was teamwork of Brian, Enrico and me.
2008-11-18 22:00:38 +01:00
Christian Dywan 56d26b02e5 Allow "g cache:127.0.0.1" to search from the location 2008-11-18 06:37:11 +01:00
Dale Whittaker e505942314 Highlight completion matches while preserving the case 2008-11-18 03:01:33 +01:00
Christian Dywan c72977974d Always initialize threads, libSoup requires that 2008-11-18 02:46:59 +01:00
Christian Dywan 9158e33567 Add two example extensions 2008-11-18 02:08:50 +01:00
Christian Dywan 3cd50f419b Introduce a C extension interface 2008-11-18 02:07:53 +01:00
Christian Dywan 33804965a1 Expose browser notebook and panel as properties 2008-11-18 02:02:59 +01:00
Christian Dywan 5a1b766a43 Fix MidoriApp so that add-browser is actually usable 2008-11-18 02:01:30 +01:00
Christian Dywan d60166aa02 Add katze_get_object 2008-11-18 01:57:33 +01:00
Christian Dywan 4e8236c95c Use gint64 instead of goffset, the latter is too new 2008-11-18 01:55:49 +01:00
Christian Dywan 24ca48cc1e Move variable declarations to the beginnings of blocks 2008-11-16 02:00:17 +01:00
Enrico Tröger c49ed67ab0 Correct usage of datatypes in a number of places 2008-11-16 01:04:12 +01:00
Christian Dywan b9a183c316 Allow ":" as in "foo:bar" to search from the location 2008-11-16 00:36:32 +01:00
Enrico Tröger 744f9ce56f Save files with permissions of 0700 instead of 0755 2008-11-16 00:21:22 +01:00
Brian Vuyk e019c677bb Arrange file saving for error handling to fix warnings 2008-11-16 00:10:39 +01:00
Christian Dywan 59ff9878c9 Actually commit the 'tests' folder 2008-11-16 00:03:34 +01:00
Andhika Padmawan a1f2385eb4 Update Indonesian translation 2008-11-14 02:52:49 +01:00
Christian Dywan 7863d0f7fd Introduce unit tests for automated testing
The first one is a test for sokoke_magic_uri and
it already helped improving the function.
2008-11-14 02:46:23 +01:00
Brian Vuyk 0b16997f1a Fix some compiler warnings 2008-11-12 02:15:52 +01:00
Enrico Tröger bd65ef323b Make mouse click handling more consistent 2008-11-12 00:47:09 +01:00
Enrico Tröger 30086f10ed Use custom key modifier mask 2008-11-12 00:16:03 +01:00
Enrico Tröger c634ff7395 Use event->state instead of manually retrieving the state 2008-11-11 23:42:22 +01:00
Alexander Hesse 819dfd8d77 Open links in new tabs using Control and Left mouse button 2008-11-11 22:12:26 +01:00
Mirat Can Bayrak f77e79be78 Add Turkish translation 2008-11-11 21:58:08 +01:00
Andhika Padmawan cbea784402 Add Indonesian translation 2008-11-11 21:55:39 +01:00
Christian Dywan 9e997e4c90 Update location icon even if it's not in the history 2008-11-11 00:51:28 +01:00
Christian Dywan d11900932e Add a note about LINGUAS to TRANSLATE 2008-11-10 22:48:54 +01:00
Vincent Tunru fa0d09f030 Add Dutch translation 2008-11-10 22:23:42 +01:00
Christian Dywan 22a9bf1bc1 Print warnings after configuring if packages are missing 2008-11-10 22:18:35 +01:00
Christian Dywan 91e2cb4129 Unset the tab icon if it is destroyed 2008-11-10 22:02:43 +01:00
Christian Dywan 709504d400 Add translation template to the repository 2008-11-10 22:01:53 +01:00
Christian Dywan aafd8df413 Expressly say Print background *images* 2008-11-10 03:04:35 +01:00
Christian Dywan 1b148cca67 Repair completion popup to actually open the selection 2008-11-10 03:03:36 +01:00
Christian Dywan 0bfb12f0b1 Faciliate translation workflow, look at TRANSLATE for details
Also three strings are marked untranslatable since they never
appear in the user interface and 'Unhandled settings value'
is reworded to 'Invalid configuration value'.
2008-11-10 01:08:38 +01:00
Christian Dywan 38c6ad5dad Implement Save As for arbitrary links 2008-11-09 22:07:42 +01:00
Christian Dywan 7c63a0b480 Make Open selected URL in New Tab work again 2008-11-09 19:51:12 +01:00
Christian Dywan 9e79f6ba14 Move around history loading in MidoriBrowser 2008-11-09 19:26:48 +01:00
Christian Dywan 87092babef Move completion logic from LocationEntry to LocationAction
This resolves various indirections, and since we are always
using the action anyway, we finally move all logic to one
place. There should be room for optimizations now.
Incidentally this also keeps the completion intact if
the entry needs to be recreated.
2008-11-09 19:09:35 +01:00
Elias Julkunen 57ec9a7bb8 Update Finnish translation 2008-11-08 13:17:53 +01:00
Christian Dywan 9abb753cc4 Remove sqlite header check, it turns out to be wrong 2008-11-08 13:12:54 +01:00
Christian Dywan 0c093cb335 Do not load icons automatically everywhere
KatzeNet won't attempt to load icons that are not
cached unless the caller provides an icon callback.
For the moment, this means much less loading
for items that are not actually visible, but for
visiting pages or looking at bookmark menus.
2008-11-08 03:24:02 +01:00
Christian Dywan 3c450ebc97 Introduce descriptive comments meant to help translators
intltool automatically embeds comments in the po template
if they are directly before a translatable string. From
now on we will try to avoid leaving accidental comments
and instead put descriptive comments for translators
before strings, starting with 'i18n'.
2008-11-08 03:05:30 +01:00