Alexander Butenko
045cc81b45
Use g_access instead of g_file_test consistently
2009-12-19 11:28:46 +01:00
Christian Dywan
50b37c3f28
Parse meta info for array from xmlNodePtr
2009-12-11 23:43:56 +01:00
Christian Dywan
ca6174ba6c
Support RDF bookmarks, and add Epiphany to Import bookmarks
2009-12-05 23:43:12 +01:00
Christian Dywan
da0304964e
Refactor XBEL writing to use GString and filter out control characters
...
The writing becomes faster because we avoid some redundant allocations
and we improve XML compatibility by filtering out control characters
which are not supported in Midori.
2009-12-03 23:13:15 +01:00
Christian Dywan
ded1573054
Handle long lines when importing Opera bookmarks
2009-12-02 23:46:34 +01:00
Christian Dywan
aa5b5850c0
Optimize string assignments and comparisons in XBEL loading
...
We can do fast string comparisons in places where we know that
strings are not NULL.
We can directly assign values to items we create ourselves.
2009-12-01 03:17:50 +01:00
Christian Dywan
56b0a55a2d
Improve XBEL format compatibility and support bookmark sharing
...
Loading of XBEL needs to handle title and desc children of the root
element. This is equal to using the according properties.
MicroB uses metadata without an owner and uses children rather than
properties. This is against the spec but we want to handle that.
A key value leak was plugged.
If the bookmark file is absolute, we assume it is a foreign file
and we shouldn't overwrite it.
2009-11-30 19:36:15 +01:00
Christian Dywan
3b573328cc
Only show bookmarks in the toolbar which are marked as such
2009-11-23 20:46:00 +01:00
Christian Dywan
308b9dd07d
Support importing bookmarks from Opera 6 bookmark files
2009-11-16 17:45:09 +01:00
Christian Dywan
1ead8e8886
Save back and forward history in the session (disabled)
2009-09-26 22:19:34 +02:00
Christian Dywan
e3b27cb70d
Only set error in midori_array_from_file if it is not NULL
2009-08-29 01:23:10 +02:00
Christian Dywan
f492a28764
Don't save empty metadata keys to XBEL
2009-07-18 16:37:01 +02:00
Christian Dywan
afc414e7e3
Skip "owner" elements, these are not metadata keys
2009-07-18 16:24:56 +02:00
Christian Dywan
967ad910ed
Read metadata from XBEL elements other than the root folder
2009-07-18 16:16:39 +02:00
Christian Dywan
dc440e85db
Save metadata of items other than the root folder
2009-07-18 15:49:25 +02:00
Christian Dywan
8ad4e3585f
Cast xmlChar* to gchar* when setting the meta string
2009-07-09 18:43:57 +01:00
Christian Dywan
491fadc119
Read metadata keys from XBEL
2009-07-06 18:32:44 +01:00
Christian Dywan
ab6ecc1625
Store meta data in XBEL when saving KatzeArray objects
2009-07-05 00:14:39 +01:00
Christian Dywan
eed273b35e
Fix memory leaks in a number of places
2009-04-05 23:46:15 +02:00
Christian Dywan
dbc4c3f743
Move array loading and saving to midori_array_{from,to}_file
...
This not only takes the code out of main but in the future
will allow extensions to use and enhance it.
2009-03-31 18:09:04 +02:00