dana/cg-glib.git
14 years agoAdd versioned/persistent GTree interface. originalwork
Dana Jansens [Thu, 12 Nov 2009 23:23:09 +0000 (18:23 -0500)]
Add versioned/persistent GTree interface.

Change g_tree_lookup_related() to not take a version, but search on the current/latest version of the GTree.
Add a func_v() version for each of the g_tree_lookup/foreach/search/height functions, which takes an extra version argument, which is the version of the GTree for which to query.

14 years agoRemove the macros for accessing versions of a GTreeNode, use the variables explicitly.
Dana Jansens [Thu, 12 Nov 2009 21:35:37 +0000 (16:35 -0500)]
Remove the macros for accessing versions of a GTreeNode, use the variables explicitly.

14 years agoTurn the next/previous_version() functions into macros, and shorten their names to...
Dana Jansens [Thu, 12 Nov 2009 21:11:27 +0000 (16:11 -0500)]
Turn the next/previous_version() functions into macros, and shorten their names to next_v() and prev_v(). Add a first_v() that gives the index of the first version in the array.

14 years agoRemove macros for accessing the GTree's roots, and shorten the variable names (to...
Dana Jansens [Thu, 12 Nov 2009 14:47:44 +0000 (09:47 -0500)]
Remove macros for accessing the GTree's roots, and shorten the variable names (to match the GTreeNode's similar variables)

14 years agoMake a g_tree_node_free() function to avoid code duplication. Use g_atomic_ function...
Dana Jansens [Thu, 12 Nov 2009 14:40:31 +0000 (09:40 -0500)]
Make a g_tree_node_free() function to avoid code duplication.  Use g_atomic_ functions to increment/decrement reference counters in a GTreeNode.

14 years agoRemove variable assignments that are never read.
Dana Jansens [Wed, 11 Nov 2009 20:57:31 +0000 (15:57 -0500)]
Remove variable assignments that are never read.

14 years agodocument g_tree_delete_versions()
Dana Jansens [Wed, 11 Nov 2009 20:54:12 +0000 (15:54 -0500)]
document g_tree_delete_versions()

14 years agoRemove unneeded variables, including tree->lowest_version
Dana Jansens [Wed, 11 Nov 2009 20:34:42 +0000 (15:34 -0500)]
Remove unneeded variables, including tree->lowest_version

14 years agofix another memory leak
Dana Jansens [Wed, 11 Nov 2009 20:19:35 +0000 (15:19 -0500)]
fix another memory leak

14 years agofixed some memory leaks
Dana Jansens [Wed, 11 Nov 2009 20:11:02 +0000 (15:11 -0500)]
fixed some memory leaks

14 years agoworking deleting of versions, just a few memory leaks left.
Dana Jansens [Wed, 11 Nov 2009 02:21:05 +0000 (21:21 -0500)]
working deleting of versions, just a few memory leaks left.

14 years agoalmost lets you delete 1 version from the tree, but there is weird issues at the...
Dana Jansens [Thu, 5 Nov 2009 19:02:30 +0000 (14:02 -0500)]
almost lets you delete 1 version from the tree, but there is weird issues at the roots, cuz you can search the deleted versions

14 years agotrying to make you delete versions. instead it'd be nice to insert/delete in any...
Dana Jansens [Tue, 3 Nov 2009 23:19:38 +0000 (18:19 -0500)]
trying to make you delete versions.  instead it'd be nice to insert/delete in any version you want

14 years agoUse a constant for the size of the GTreeNode's pointer version table, based on the...
Dana Jansens [Mon, 2 Nov 2009 21:47:44 +0000 (16:47 -0500)]
Use a constant for the size of the GTreeNode's pointer version table, based on the maximum in-degree for a node.

14 years agoFix comment for gtree_nnodes(): it returns the number of nodes for the current versio...
Dana Jansens [Mon, 2 Nov 2009 21:24:06 +0000 (16:24 -0500)]
Fix comment for gtree_nnodes(): it returns the number of nodes for the current version of the tree.

14 years agoThe maximum in-degree of a node is now 3: its parent, and each of its children.
Dana Jansens [Mon, 2 Nov 2009 21:13:52 +0000 (16:13 -0500)]
The maximum in-degree of a node is now 3: its parent, and each of its children.

14 years agoAdd unit tests to test old versions of the GTree when using persistence.
Dana Jansens [Mon, 2 Nov 2009 21:12:07 +0000 (16:12 -0500)]
Add unit tests to test old versions of the GTree when using persistence.

14 years agoFix up g_tree_next_node() to create a new version of the node if needed, and then...
Dana Jansens [Mon, 2 Nov 2009 15:43:33 +0000 (10:43 -0500)]
Fix up g_tree_next_node() to create a new version of the node if needed, and then fix any incoming pointers to point to the new version (recursively applied to those nodes)

14 years agoRemove left_child and right_child from GTreeNode in favor of parent.
Dana Jansens [Mon, 2 Nov 2009 14:51:29 +0000 (09:51 -0500)]
Remove left_child and right_child from GTreeNode in favor of parent.

For persistence to work, a node needs to know where its incoming pointers are.  If node->right/left can point to the next/previous node in the tree, then we might have an incoming pointer from our previous node, but don't have a pointer to it.  Finding the next/previous node takes up to log(n) time, which isn't cool to do every time we change a node.  So, if we want next/previous pointers, we need to always have the pointer, so that it can be recipricated, and thus would require two extra pointer spots beyond left/right to store that.

Because a node points to its children, they also need to be able to find their incoming pointer in their parent.  We add a pointer for this, which allows us to still navigate the tree, and thus we don't need to add next/previous pointers also.

Also remove test code that tests the right/left pointers as next/prev.

14 years agoFree a node's data and return TRUE for g_tree_remove() only if it's the last version...
Dana Jansens [Sat, 31 Oct 2009 01:03:21 +0000 (21:03 -0400)]
Free a node's data and return TRUE for g_tree_remove() only if it's the last version of the node in the persistent tree.

14 years agoAdd comments.
Dana Jansens [Fri, 30 Oct 2009 23:01:14 +0000 (19:01 -0400)]
Add comments.

14 years agoMake the new git_tree_lookup_related() function take an argument "version", which...
Dana Jansens [Fri, 30 Oct 2009 22:54:08 +0000 (18:54 -0400)]
Make the new git_tree_lookup_related() function take an argument "version", which allows you to search in any version of a GTree.

14 years agoMake g_tree_node_search() and g_tree_node_find() search for a key within a given...
Dana Jansens [Fri, 30 Oct 2009 22:49:59 +0000 (18:49 -0400)]
Make g_tree_node_search() and g_tree_node_find() search for a key within a given version of the GTree, rather than always in the latest version.

14 years agoUpdate the debug testing code to check all versions of a persistent tree.
Dana Jansens [Fri, 30 Oct 2009 22:42:56 +0000 (18:42 -0400)]
Update the debug testing code to check all versions of a persistent tree.

14 years agoMake g_tree_remove() and g_tree_steal() return FALSE if the node is found but cannot...
Dana Jansens [Fri, 30 Oct 2009 22:24:32 +0000 (18:24 -0400)]
Make g_tree_remove() and g_tree_steal() return FALSE if the node is found but cannot be removed because it is in an older version of the tree.

This should help people from freeing things accidentally based on the return result.  Also, change comments for these functions to reflect their behaviour in a tree with multiple versions.

14 years agoWhen looking for the second largest root version, the l variable will be off the...
Dana Jansens [Fri, 30 Oct 2009 22:18:09 +0000 (18:18 -0400)]
When looking for the second largest root version, the l variable will be off the end of the list, which is okay.

14 years agoFixes to maintain consistency in the tree while versioning.
Dana Jansens [Fri, 30 Oct 2009 22:16:48 +0000 (18:16 -0400)]
Fixes to maintain consistency in the tree while versioning.

14 years agoCreating a new node, make sure it points to the right parent, if the parent has to...
Dana Jansens [Fri, 30 Oct 2009 22:00:24 +0000 (18:00 -0400)]
Creating a new node, make sure it points to the right parent, if the parent has to change for the new version.

14 years agoMove gtree_node_find_version, and g_tree_root_find_version up, so that the navigation...
Dana Jansens [Fri, 30 Oct 2009 21:57:42 +0000 (17:57 -0400)]
Move gtree_node_find_version, and g_tree_root_find_version up, so that the navigation functions can use them soon.

14 years agoAdd functions g_tree_root_find_version() and g_tree_node_find_version(), which take...
Dana Jansens [Fri, 30 Oct 2009 14:51:47 +0000 (10:51 -0400)]
Add functions g_tree_root_find_version() and g_tree_node_find_version(), which take a version number, and find the versioned-pointers which match for that version (the largest ones <= the version).

14 years agoMove the g_tree_(node|root)_next_version functions down where they belong.
Dana Jansens [Fri, 30 Oct 2009 14:14:41 +0000 (10:14 -0400)]
Move the g_tree_(node|root)_next_version functions down where they belong.

14 years agoFix incoming pointers to a node when its versioned-pointer table fills up and the...
Dana Jansens [Fri, 30 Oct 2009 14:13:17 +0000 (10:13 -0400)]
Fix incoming pointers to a node when its versioned-pointer table fills up and the node needs to be replaced by a new one.

14 years agoDon't prepend new versions into the versioned-pointer arrays, so that new ones can...
Dana Jansens [Fri, 30 Oct 2009 13:33:07 +0000 (09:33 -0400)]
Don't prepend new versions into the versioned-pointer arrays, so that new ones can be added in O(1) time.  Keep the newest at the front of the array though.

14 years agoVersion the tree's root node, and when changing any pointer in the tree, make sure...
Dana Jansens [Thu, 29 Oct 2009 20:32:40 +0000 (16:32 -0400)]
Version the tree's root node, and when changing any pointer in the tree, make sure it is changing the current version of that pointer

14 years agoIntroduce g_tree_node_modify and g_tree_root_modify, which are used to change the...
Dana Jansens [Thu, 29 Oct 2009 15:34:24 +0000 (11:34 -0400)]
Introduce g_tree_node_modify and g_tree_root_modify, which are used to change the tree in a version-friendly way

14 years agoAdd g_tree_current_version() and g_tree_next_version() functions. Change the GTreeNo...
Dana Jansens [Thu, 29 Oct 2009 15:07:29 +0000 (11:07 -0400)]
Add g_tree_current_version() and g_tree_next_version() functions.  Change the GTreeNode structure so that it can keep multiple versions of its navigation pointers.

14 years agoAdd functions, g_lookup_related and g_search_related, which allow you to search in...
Dana Jansens [Wed, 28 Oct 2009 20:05:44 +0000 (16:05 -0400)]
Add functions, g_lookup_related and g_search_related, which allow you to search in a GTree for a key, and return the next larger/smaller if the search key is not found

14 years agoImplement GTree with a treap instead of an AVL tree
Dana Jansens [Wed, 28 Oct 2009 18:49:25 +0000 (14:49 -0400)]
Implement GTree with a treap instead of an AVL tree

14 years agoBug 587300 - g_cancellable_disconnect deadlock
Ryan Lortie [Thu, 12 Nov 2009 04:48:06 +0000 (23:48 -0500)]
Bug 587300 - g_cancellable_disconnect deadlock

add documentation to clarify that a deadlock is the expected case for
calling this function from a signal handler

14 years agoBug 591216 - Warning building resolver.o
Ryan Lortie [Thu, 12 Nov 2009 04:21:48 +0000 (23:21 -0500)]
Bug 591216 - Warning building resolver.o

check result of write system call to quiet compiler warning

14 years agoGSocket.receive_message: fix bogus allocation math
Ryan Lortie [Thu, 12 Nov 2009 03:20:11 +0000 (22:20 -0500)]
GSocket.receive_message: fix bogus allocation math

14 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Wed, 11 Nov 2009 19:09:53 +0000 (20:09 +0100)]
Updated Norwegian bokmål translation.

14 years agoInclude all of share/gtk-doc/html to get also the gio docs
Tor Lillqvist [Tue, 10 Nov 2009 12:19:59 +0000 (14:19 +0200)]
Include all of share/gtk-doc/html to get also the gio docs

Also add -D switches to not pointlessly include entries for directories
in the zip files.

14 years agoAvoid gcc warning about redeclaration of atexit() on MinGW
Tor Lillqvist [Mon, 9 Nov 2009 23:37:13 +0000 (01:37 +0200)]
Avoid gcc warning about redeclaration of atexit() on MinGW

14 years agoUpdated Swedish translation
Daniel Nylander [Sun, 8 Nov 2009 21:04:51 +0000 (22:04 +0100)]
Updated Swedish translation

14 years agoUpdated Galician Translation
Fran Diéguez [Sat, 7 Nov 2009 13:40:58 +0000 (14:40 +0100)]
Updated Galician Translation

14 years agoUpdated Spanish translation
Jorge González [Fri, 6 Nov 2009 20:51:28 +0000 (21:51 +0100)]
Updated Spanish translation

14 years agoUpdating Estonian translation
Ivar Smolin [Fri, 6 Nov 2009 16:15:29 +0000 (18:15 +0200)]
Updating Estonian translation

14 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 6 Nov 2009 13:58:44 +0000 (14:58 +0100)]
Updated Slovenian translation

14 years agoBug 324930 - Nicer message for EPERM on symlink
Stéphane Démurget [Sun, 25 Oct 2009 10:14:36 +0000 (11:14 +0100)]
Bug 324930 - Nicer message for EPERM on symlink

Introduced a more precise error message for EPERM when symlinking to
a local filesystem.

EPERM on symlink means symlinking is not supported by the underlying
fs so it is not the general meaning of EPERM which roughly translates
to 'Operation not permitted'.

14 years agoDon't call WSAEventSelect() on -1
Tor Lillqvist [Wed, 4 Nov 2009 21:59:18 +0000 (23:59 +0200)]
Don't call WSAEventSelect() on -1

If g_io_win32_sock_close() has been called on a socket channel, don't
later in g_io_win32_free() call WSAEventSelect() on its fd which has
been set to -1.

14 years agoDon't run system("touch conf.glibtest)" in the AM_PATH_GLIB_2_0 macro
Paolo Bonzini [Tue, 3 Nov 2009 16:38:58 +0000 (18:38 +0200)]
Don't run system("touch conf.glibtest)" in the AM_PATH_GLIB_2_0 macro

Just use the C library instead to create the file. Helps building
using Wine. Not that I think we want to endorse that, but accepting
this minimal patch doesn't hurt. From bug #590016.

Signed-off-by: Tor Lillqvist <tml@iki.fi>
14 years agoImprove descriptive comment text
Tor Lillqvist [Tue, 3 Nov 2009 16:21:19 +0000 (18:21 +0200)]
Improve descriptive comment text

14 years agoFix check for C++ compiler when cross-compiling
Hib Eris [Tue, 3 Nov 2009 13:06:29 +0000 (15:06 +0200)]
Fix check for C++ compiler when cross-compiling

Use AC_CHECK_TOOLS instead of AC_CHECK_PROGS. Patch from bug #577711.

14 years agoMake g_file_test() behave on Windows more like as on POSIX
Carlo Bramini [Tue, 3 Nov 2009 12:26:25 +0000 (14:26 +0200)]
Make g_file_test() behave on Windows more like as on POSIX

Patch from bug #572252.

14 years agoShavian translation
Thomas Thurman [Sat, 31 Oct 2009 06:49:31 +0000 (02:49 -0400)]
Shavian translation

14 years agoProperly nul-terminate return values from g_convert()
Benjamin Otte [Wed, 28 Oct 2009 18:18:20 +0000 (19:18 +0100)]
Properly nul-terminate return values from g_convert()

The patch ensures that multibyte character sets are properly
nul-terminated. This is an issue because the documentation claims to
return a "nul-terminated" string and users of the API assume that means
a proper nul-termination in the resulting character set.

I looked at Pidgin and GStreamer code and found at least 3 cases where
this was happening.

This patch also reverts the documentation change from
5a633f82dbbce067c56fba0ee372fd341b76368d as that is now no longer
necessary.

14 years agoClarify documentation about g_convert() nul-terminated returns
Benjamin Otte [Tue, 27 Oct 2009 20:07:13 +0000 (21:07 +0100)]
Clarify documentation about g_convert() nul-terminated returns

THere is effectively no nul-termination for multibyte characters.

14 years agoAvoid a warning
Matthias Clasen [Sun, 25 Oct 2009 06:56:13 +0000 (02:56 -0400)]
Avoid a warning

14 years agoDon't give up too early when collecting mime types
Matthias Clasen [Sun, 25 Oct 2009 06:55:46 +0000 (02:55 -0400)]
Don't give up too early when collecting mime types

Since returning exactly one match has special significance, don't
give up matching before we've found at least 2 types. Also, make
sure that we don't return the same mime type more than once.
Bug 541236.

14 years agomake sure g_set_prgname() gets called only once
Sven Herzberg [Fri, 23 Oct 2009 12:49:38 +0000 (14:49 +0200)]
make sure g_set_prgname() gets called only once

* glib/gutils.c: copy the call-once statement from g_set_application_name();
  Fixes Bug #563627: g_get_prgname() threadsafety

14 years agoFix GWin32DirectoryMonitor
Tor Lillqvist [Thu, 22 Oct 2009 21:46:50 +0000 (00:46 +0300)]
Fix GWin32DirectoryMonitor

GWin32DirectoryMonitor was quite broken, but nobody had apparently
noticed, or at least not filed any bug. Only now with a bleeding edge
GTK+ file chooser does the code get exercised in common programs like
gtk-demo or GIMP, apparently. Bug #598899.

14 years agoGTypeModule derived class unref does not unload plugin
Cody Russell [Thu, 15 Oct 2009 02:24:30 +0000 (21:24 -0500)]
GTypeModule derived class unref does not unload plugin

Correctly unref the pclass. Patch by Chris Wilson and Tim Janik.

https://bugzilla.gnome.org/show_bug.cgi?id=350200

14 years agoDocumentation fixes
Tomas Bzatek [Tue, 13 Oct 2009 14:21:42 +0000 (16:21 +0200)]
Documentation fixes

14 years agoConstruct the gio module directory pathname at run-time on Windows
Tor Lillqvist [Sun, 11 Oct 2009 21:18:48 +0000 (00:18 +0300)]
Construct the gio module directory pathname at run-time on Windows

14 years agoxdgmime: sort glob hits with larger weight first
Alexander Larsson [Thu, 8 Oct 2009 09:59:23 +0000 (11:59 +0200)]
xdgmime: sort glob hits with larger weight first

Higher weight is more important, so return these first meaning
they will be used as the default.

14 years agoUpdating Estonian translation
Ivar Smolin [Thu, 8 Oct 2009 06:56:25 +0000 (09:56 +0300)]
Updating Estonian translation

14 years agoBump version
Matthias Clasen [Wed, 7 Oct 2009 14:31:19 +0000 (10:31 -0400)]
Bump version

14 years ago2.22.2
Matthias Clasen [Wed, 7 Oct 2009 14:29:32 +0000 (10:29 -0400)]
2.22.2

14 years agoUpdates
Matthias Clasen [Wed, 7 Oct 2009 13:28:19 +0000 (09:28 -0400)]
Updates

14 years agog_object_unref racy condition can lead to crash
Cody Russell [Tue, 6 Oct 2009 16:27:12 +0000 (12:27 -0400)]
g_object_unref racy condition can lead to crash

Store whether the object has a toggleref before decrementing the
refcount to prevent race condition when two threads simultaneously
try to unref an object with a refcount of 2.
Patch by Antoine Tremblay.

https://bugzilla.gnome.org/show_bug.cgi?id=551706

14 years agoUpdated Russian translation by <vicanis@gmail.com>
Leonid Kanter [Tue, 6 Oct 2009 08:52:48 +0000 (11:52 +0300)]
Updated Russian translation by <vicanis@gmail.com>

14 years agogobject/gtype.h: Fix _G_TYPE_CVH macro. Fixes #597194
Edward Hervey [Sat, 3 Oct 2009 10:37:36 +0000 (12:37 +0200)]
gobject/gtype.h: Fix _G_TYPE_CVH macro. Fixes #597194

If __val doesn't exist, we shouldn't do any other checks.

14 years agoAdd fast path for construction with no params
Alexander Larsson [Wed, 19 Aug 2009 15:24:16 +0000 (17:24 +0200)]
Add fast path for construction with no params

This avoids a bunch of code and makes construction of simple objects
faster.

Object construction performance improvement:
         Non-Threaded   Threaded
Simple:           14%         5%
Complex:        -1.1%      -2.2%

Other tests stable.

https://bugzilla.gnome.org/show_bug.cgi?id=557100

14 years agoDon't freeze/thaw notification during construction if no properties
Alexander Larsson [Wed, 19 Aug 2009 15:22:32 +0000 (17:22 +0200)]
Don't freeze/thaw notification during construction if no properties

If the class has no properties there could be no notification anyway.
This is an important optimization for construction of simple objects.

Object construction performance improvement:
         Non-Threaded   Threaded
Simple:           84%        91%
Complex:        -1.4%      -0.6%

Other tests stable.

https://bugzilla.gnome.org/show_bug.cgi?id=557100

14 years agoAdd a check that no properties are added after a class is derived
Alexander Larsson [Fri, 2 Oct 2009 17:27:48 +0000 (19:27 +0200)]
Add a check that no properties are added after a class is derived

We can't support that, because that would cause the CLASS_HAS_PROPS_FLAG
class flag to not be correct.

14 years agoAdd GObjectClass flag CLASS_HAS_PROPS_FLAG
Alexander Larsson [Wed, 19 Aug 2009 15:21:18 +0000 (17:21 +0200)]
Add GObjectClass flag CLASS_HAS_PROPS_FLAG

This is set if a class or any of its parents have installed any
properties.

https://bugzilla.gnome.org/show_bug.cgi?id=557100

14 years agoAdd flags member for GObjectClass
Alexander Larsson [Wed, 19 Aug 2009 15:17:41 +0000 (17:17 +0200)]
Add flags member for GObjectClass

https://bugzilla.gnome.org/show_bug.cgi?id=557100

14 years agoAllocate GObjectNotifyQueue with g_slice instead of abusing g_list
Alexander Larsson [Wed, 19 Aug 2009 13:48:19 +0000 (15:48 +0200)]
Allocate GObjectNotifyQueue with g_slice instead of abusing g_list

This is both cleaner and faster (it avoids function calls and
zeroing the memory twice).

Object construction performance improvement:
         Non-Threaded   Threaded
Simple:           11%       1.3%
Complex:           8%         6%

Other tests stable.

https://bugzilla.gnome.org/show_bug.cgi?id=557100

14 years agoAdd gobject performance tests for threaded code
Alexander Larsson [Wed, 9 Sep 2009 15:08:57 +0000 (17:08 +0200)]
Add gobject performance tests for threaded code

This measures how much things like lock contention affects the gobject
code.

14 years agoAdd performance tests for GObject primitives
Alexander Larsson [Thu, 20 Aug 2009 12:34:51 +0000 (14:34 +0200)]
Add performance tests for GObject primitives

These are basic performance test for a couple of basic gobject
primitives:

* construction of simple objects. Simple is a bare gobject derived
  class with no properties, signals or interfaces.

* construction of complex objects. Complex is a gobject subclass
  with construct properties, normal properties, signals, and
  implements an interface.

* run-time type check of complex objects

* signal emissions

Lots of care is taken to try to make the results reproducible. Each
test is run for multible "rounds", where we try to make each round be
"not too short" in order to be significant wrt timer accuracy, but
also "not to long" to make the probability of some other random event
happening on the system (interrupts, other process scheduled, etc)
during the round less likely.
The current target round time is 4 msecs, which was picked without
rigour, but seems small wrt e.g. scheduler time.

For each test we then run the calculated round size for 60 seconds,
and then report the performance based on the minimal time of one
round. The model here is that any random stuff that happens during a
round can only slow it down, there is nothing that can make it go
faster, so the minimal time is the best estimate of how fast one round
goes.

The result is not ideal, even on a "idle" system the results vary
from round to round, but the variation seems to be less than 1%.
So, any performance difference reported by this test over 1% is
probably statistically significant.

Additionally the tests can be run with or without threads being
initialized. The script tests/gobject/run-performance.sh makes
it easy to produce a performance report for the current checkout.

https://bugzilla.gnome.org/show_bug.cgi?id=557100

14 years agoremove xdgmime test
Alexander Larsson [Fri, 2 Oct 2009 10:54:18 +0000 (12:54 +0200)]
remove xdgmime test

This is getting diverged from the xdgmime copy and we don't need it here.

14 years agoxdgmime - Correct the range checks for magic matching
Alexander Larsson [Fri, 2 Oct 2009 10:06:25 +0000 (12:06 +0200)]
xdgmime - Correct the range checks for magic matching

14 years agoRemove unnecessary includes
Alexander Larsson [Fri, 2 Oct 2009 10:06:15 +0000 (12:06 +0200)]
Remove unnecessary includes

14 years agoxdgmime - support the new case sensitive flag
Alexander Larsson [Fri, 2 Oct 2009 07:49:51 +0000 (09:49 +0200)]
xdgmime - support the new case sensitive flag

14 years agoxdgmime - support cache files with minor version 2
Alexander Larsson [Fri, 2 Oct 2009 07:48:35 +0000 (09:48 +0200)]
xdgmime - support cache files with minor version 2

14 years agoRead the new glob2 format with case sensitive flags
Alexander Larsson [Fri, 2 Oct 2009 07:46:33 +0000 (09:46 +0200)]
Read the new glob2 format with case sensitive flags

14 years agoDrop the VS8 project files from tarballs as they are unmaintained
Tor Lillqvist [Fri, 2 Oct 2009 09:43:21 +0000 (12:43 +0300)]
Drop the VS8 project files from tarballs as they are unmaintained

14 years agoUpdate VS9 project files to fix build
Pierre A. Joye [Fri, 2 Oct 2009 09:34:44 +0000 (12:34 +0300)]
Update VS9 project files to fix build

From bug #596784

14 years agoFix --runtime-libdir option
Matthias Clasen [Wed, 30 Sep 2009 03:06:45 +0000 (23:06 -0400)]
Fix --runtime-libdir option

For stable releases, it needs to take LT_REVISION into account, not
hardcode 0.

14 years agoBump version
Matthias Clasen [Wed, 30 Sep 2009 02:07:04 +0000 (22:07 -0400)]
Bump version

14 years ago2.22.1
Matthias Clasen [Wed, 30 Sep 2009 02:05:27 +0000 (22:05 -0400)]
2.22.1

14 years agoUpdates
Matthias Clasen [Wed, 30 Sep 2009 01:16:53 +0000 (21:16 -0400)]
Updates

14 years agoUpdated Serbian translation
Miloš Popović [Wed, 30 Sep 2009 03:05:31 +0000 (03:05 +0000)]
Updated Serbian translation

14 years agoUpdated Serbian translation
Miloš Popović [Wed, 30 Sep 2009 03:04:05 +0000 (03:04 +0000)]
Updated Serbian translation

14 years agoUpdated Serbian translation
Miloš Popović [Wed, 30 Sep 2009 03:02:15 +0000 (03:02 +0000)]
Updated Serbian translation

14 years agoDon't mark test files for translation
Matthias Clasen [Wed, 30 Sep 2009 00:57:45 +0000 (20:57 -0400)]
Don't mark test files for translation

As pointed out in bug 596064

14 years agoFix mime_info_cache_dir_add_desktop_entries
Matthias Clasen [Wed, 30 Sep 2009 00:52:26 +0000 (20:52 -0400)]
Fix mime_info_cache_dir_add_desktop_entries

This function tried to avoid adding duplicate entries, but failed
due to using the wrong search function. See bug 595972.

14 years agoAvoid a C99ism
Matthias Clasen [Wed, 30 Sep 2009 00:45:26 +0000 (20:45 -0400)]
Avoid a C99ism

Move a variable declaration to the beginning of the block; see
bug 596561. Also remove a pointless register declaration.

14 years agoImprove docs for g_utf16_to_utf8
Matthias Clasen [Wed, 30 Sep 2009 00:39:39 +0000 (20:39 -0400)]
Improve docs for g_utf16_to_utf8

Document that g_utf16_to_utf8 does not validate the resulting
UTF-8 string. See bug 596314.