Commit graph

1853 commits

Author SHA1 Message Date
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
Dale Whittaker
0246eeb124 Implement sorting location items by the number of visits
For the moment, a define in the code decides whether items
are sorted based on when they were added or how often
a page was visited. The 'visits' property and respective
database column is unused (we keep it for compatibility).
It turns out it's enough to store that information in
the tree model.

The visit based sorting is not enabled because it is
simply delaying startup incredibly. It will have to be
decided whether to introduce a preference, or always use
a visited based sorting once the startup delay is fixed.

History items are also deleted from the tree model now
if they are too old, according to the preference.
2008-11-08 02:39:45 +01:00
Christian Dywan
7ac9c7787b Conditionally silence JavaScriptCore deprecation warning 2008-11-06 01:51:46 +01:00
Christian Dywan
4670a9ca2e Bolden completion matches and gray URIs instead of small font 2008-11-06 01:40:06 +01:00
Christian Dywan
dad59bf505 Remove unused gdk_pixbuf_new_from_stream and sokoke_web_icon 2008-11-06 01:36:57 +01:00
Christian Dywan
9e9365a221 Small adjustments to the History panel
Based on suggestions by Dale
2008-11-06 01:32:42 +01:00
Christian Dywan
6159e49018 Show title in location combo and the URI below in small font 2008-11-04 02:50:25 +01:00
Dale Whittaker
50e078e728 Implement history based auto completion in the location 2008-11-04 02:10:51 +01:00
Christian Dywan
81f7124475 Update Spanish translation 2008-11-03 00:47:15 +01:00