Commit Graph

6447 Commits

Author SHA1 Message Date
Matthias Clasen
cc1dc5ce20 Improve docs
svn path=/trunk/; revision=7805
2009-01-13 02:24:46 +00:00
Tor Lillqvist
ed2e6c0814 Guard against a mis-written GOptionArgFunc that has returned FALSE but not
2009-01-12  Tor Lillqvist  <tml@novell.com>

	* glib/goption.c (parse_arg): Guard against a mis-written
	GOptionArgFunc that has returned FALSE but not set the GError.


svn path=/trunk/; revision=7804
2009-01-12 11:45:52 +00:00
Matthias Clasen
c5e6e11d8e Improve docs
svn path=/trunk/; revision=7802
2009-01-11 04:58:25 +00:00
Matthias Clasen
38202496e7 Docs improvement
svn path=/trunk/; revision=7801
2009-01-11 04:53:34 +00:00
Tor Lillqvist
f5b5154a88 Cosmetics.
svn path=/trunk/; revision=7795
2009-01-09 10:39:00 +00:00
Tor Lillqvist
eeb4d5939d Bug 567138 - get_package_directory_from_module() does not free its lock
2009-01-09  Tor Lillqvist  <tml@iki.fi>

	Bug 567138 - get_package_directory_from_module() does not free its
	lock when failing

	* glib/gwin32.c (get_package_directory_from_module): Obvious fix.


svn path=/trunk/; revision=7794
2009-01-09 10:37:31 +00:00
Matthias Clasen
f8cfff0686 Don't assume filenames are UTF-8.
* xdgmime/xdgmimecache.c:
        * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.

svn path=/trunk/; revision=7784
2009-01-09 05:19:17 +00:00
Matthias Clasen
a6b965efa1 Make tests work with current shared-mime-info
svn path=/trunk/; revision=7783
2009-01-09 04:53:14 +00:00
Matthias Clasen
2479abee27 Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code. Requested by Olivier
* gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
        Requested by Olivier Sessink.

        * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.

        * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
        G_IO_ERROR_TOO_MANY_OPEN_FILES.


svn path=/trunk/; revision=7782
2009-01-08 01:32:15 +00:00
Daniel Nylander
5cacbdae8d sv.po: Updated Swedish translation
svn path=/trunk/; revision=7781
2009-01-08 00:00:01 +00:00
Luca Ferretti
3e3f1a427c Updated Italian translation.
2009-01-06  Luca Ferretti  <elle.uca@libero.it>

	* it.po: Updated Italian translation.

svn path=/trunk/; revision=7780
2009-01-06 12:01:43 +00:00
Matthias Clasen
84cca3b58d Bump version
svn path=/trunk/; revision=7779
2009-01-05 18:08:25 +00:00
Matthias Clasen
85fa6de695 2.19.4
svn path=/trunk/; revision=7777
2009-01-05 18:06:05 +00:00
Matthias Clasen
90408a37fa Updates
svn path=/trunk/; revision=7776
2009-01-05 16:58:09 +00:00
Dan Winship
7943f976d4 cast a "char **" to "const char **" to avoid a warning.
* gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
	"const char **" to avoid a warning.

	* gemblem.c (g_emblem_from_tokens):
	* gemblemedicon.c (g_emblemed_icon_from_tokens):
	* xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
	variables

svn path=/trunk/; revision=7775
2009-01-05 16:57:55 +00:00
Matthias Clasen
a836486e24 Try using O_NOATIME when sniffing for mime types. Based on a patch by A.
* glocalfileinfo.c (get_content_type): Try using O_NOATIME when
        sniffing for mime types. Based on a patch by A. Walton


svn path=/trunk/; revision=7773
2009-01-05 16:20:40 +00:00
Dan Winship
b9cf1ed275 update
* glib/tests/.gitignore: update

	* tests/.gitignore: update, sort

	* tests/gobject/.gitignore: add

svn path=/trunk/; revision=7772
2009-01-05 14:56:55 +00:00
Kjartan Maraas
e665fb822e Updated Norwegian bokmål translation.
2009-01-05  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=7771
2009-01-05 14:33:35 +00:00
Tor Lillqvist
48e6a374bc Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32
2009-01-05  Tor Lillqvist  <tml@iki.fi>

	Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32

	* glib/gfileutils.c: Move the binary compatibility versions of
	g_file_test(), g_file_get_contents(), g_mkstemp() and
	g_file_open_tmp() last in the file. Remove the restriction that
	the XXXXXX is last in the template in the binary compatibility
	version of g_mkstemp(). Thanks to Morten Welinder and Jody
	Goldberg.


svn path=/trunk/; revision=7770
2009-01-05 10:08:00 +00:00
Ryan Lortie
481559a031 improve add new simple-async-result test new file to test
2009-01-05  Ryan Lortie  <desrt@desrt.ca>

        * tests/.gitignore: improve
        * tests/Makefile.am: add new simple-async-result test
        * tests/simple-async-result.c: new file to test GSimpleAsyncResult


svn path=/trunk/; revision=7767
2009-01-05 06:58:22 +00:00
Ryan Lortie
876f03f807 Add g_simple_async_result_is_valid(). Implementation by Dan Winship.
2009-01-05  Ryan Lortie  <desrt@desrt.ca>

        * gio.symbols:
        * ../docs/reference/gio/gio-sections.txt:
        * gsimpleasyncresult.h:
        * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
        Implementation by Dan Winship.  Closes #566170.


svn path=/trunk/; revision=7766
2009-01-05 06:57:16 +00:00
Leonardo Ferreira Fontenelle
0b1f4e5080 Updated Brazilian Portuguese translation.
2009-01-04  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

	* pt_BR.po: Updated Brazilian Portuguese translation.

svn path=/trunk/; revision=7765
2009-01-05 00:42:48 +00:00
Lu Gan
211256cd1f Update zh_CN.po
svn path=/trunk/; revision=7764
2009-01-04 15:27:20 +00:00
Matthias Clasen
e9b6963f67 Updates
svn path=/trunk/; revision=7763
2009-01-03 07:30:26 +00:00
Matthias Clasen
889152e4c6 Add docs
svn path=/trunk/; revision=7762
2009-01-03 05:10:33 +00:00
Matthias Clasen
34928d8d05 Move docs inline
svn path=/trunk/; revision=7761
2009-01-03 04:15:17 +00:00
Matthias Clasen
6e5efcdb1d Use visibility attribute for new enough sun cc. Patch by Chris Wang
* configure.in: Use visibility attribute for new enough sun cc.
        Patch by Chris Wang


svn path=/trunk/; revision=7760
2009-01-03 01:00:38 +00:00
Behdad Esfahbod
bf201e0fb7 Bug 565136 – Gobject's "notify" signal parameters are wrong in gtk-doc
2009-01-02  Behdad Esfahbod  <behdad@gnome.org>

        Bug 565136 – Gobject's "notify" signal parameters are wrong in gtk-doc
        Patch from  Andrzej Zaborowski

        * gobject.c (g_object_do_class_init): Fix param order in docs.


svn path=/trunk/; revision=7759
2009-01-02 06:09:26 +00:00
Matthias Clasen
736bea99fe Fix a wrong reference in the docs, reported by Takeshi Aihana.
* glib/goption.c: Fix a wrong reference in the docs, reported by
        Takeshi Aihana.


svn path=/trunk/; revision=7758
2009-01-02 02:49:06 +00:00
Matthias Clasen
1643b117b9 Fix an example.
svn path=/trunk/; revision=7757
2009-01-02 02:26:39 +00:00
Matthias Clasen
782fe440ef Add notes about being UNIX-specific
svn path=/trunk/; revision=7756
2008-12-31 07:47:19 +00:00
Matthias Clasen
0f6b25ca96 Fix some compiler warnings
svn path=/trunk/; revision=7755
2008-12-31 05:51:47 +00:00
Ryan Lortie
caa5ed0d22 move some changelog entries that i put in the wrong spot
svn path=/trunk/; revision=7754
2008-12-20 19:41:07 +00:00
Tor Lillqvist
0380f15a65 Add g_thread_get_initialized here, too. Surround g_test_config_vars with
2008-12-19  Tor Lillqvist  <tml@novell.com>

	* glib/glib.symbols: Add g_thread_get_initialized here,
	too. Surround g_test_config_vars with ifdef INCLUDE_VARIABLES.


svn path=/trunk/; revision=7753
2008-12-20 07:22:56 +00:00
Mike Kestner
8bed68813e Bug 560676 - function access for g_threads_supported
2008-12-18  Mike Kestner <mkestner@novell.com>

	Bug 560676 - function access for g_threads_supported

	* glib/gthreads.c (g_thread_get_initialized): new accessor for
	g_threads_supported macro.
	* glib/gthreads.h: add g_thread_get_initialized

svn path=/trunk/; revision=7752
2008-12-18 19:20:42 +00:00
Amanpreet Singh Alam
fc0ba86c69 updating for Punjabi Language: Alam
svn path=/trunk/; revision=7751
2008-12-17 01:43:22 +00:00
Kjartan Maraas
2c9d087692 Updated Norwegian bokmål translation.
2008-12-15  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=7750
2008-12-15 22:16:05 +00:00
Jorge Gonzalez Gonzalez
b496eae1eb Updated Spanish translation
svn path=/trunk/; revision=7749
2008-12-15 20:20:03 +00:00
Matthias Clasen
184d6b2c4a Bump version
svn path=/trunk/; revision=7748
2008-12-15 20:03:12 +00:00
Matthias Clasen
649c25f216 2.19.3
svn path=/trunk/; revision=7746
2008-12-15 20:01:49 +00:00
Matthias Clasen
a9ac1b49ab Updates
svn path=/trunk/; revision=7745
2008-12-14 00:07:59 +00:00
Matthias Clasen
be914f6841 Make these work on x86_64
svn path=/trunk/; revision=7744
2008-12-13 23:56:05 +00:00
Ryan Lortie
b941139254 free the tokens when done with them
2008-12-12  Ryan Lortie  <desrt@desrt.ca>

        * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
        with them


svn path=/trunk/; revision=7743
2008-12-12 20:59:54 +00:00
Ryan Lortie
a28d87bfc9 fix leak that occurs when multiple mount entries match the requested path
2008-12-12  Ryan Lortie  <desrt@desrt.ca>

        * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
        multiple mount entries match the requested path


svn path=/trunk/; revision=7742
2008-12-12 20:03:36 +00:00
Behdad Esfahbod
2152bd091e Improve g_unichar_iswide_cjk() docs.
2008-12-12  Behdad Esfahbod  <behdad@gnome.org>

        * glib/guniprop.c: Improve g_unichar_iswide_cjk() docs.


svn path=/trunk/; revision=7741
2008-12-12 08:26:00 +00:00
Alexander Larsson
3b4ad625b9 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
2008-12-10  Alexander Larsson  <alexl@redhat.com>

	Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
	g_simple_async_result_run_in_thread
	
        * gsimpleasyncresult.c:
	Make g_simple_async_result_run_in_thread check cancellation before
	calling out to the user in the callback. This means we guarantee
	reporting cancels of async operations from the main threads, which
	is probably more in line with what users expect.
	
	Note that there are still no such guarantees for cancelling sync
	operations or cancelling async operation from outside the main
	thread. Furthermore, the exact behaviour of async implementations
	not using run_in_thread may differ.



svn path=/trunk/; revision=7740
2008-12-10 13:25:59 +00:00
Yair Hershkovitz
b7c11505f9 updated hebrew translation
svn path=/trunk/; revision=7739
2008-12-09 23:33:59 +00:00
Alexander Larsson
39b3b41484 Bug 515777 - incorrect date&time on copy
2008-12-09  Alexander Larsson  <alexl@redhat.com>

	Bug 515777 - incorrect date&time on copy
	
        * glocalfile.c:
        (g_local_file_class_init):
	Copy mtime by default
	
        * gfile.c:
	Change docs about G_FILE_COPY_ALL_METADATA to not mention
	mtime as an example.



svn path=/trunk/; revision=7738
2008-12-09 11:15:36 +00:00
Luca Ferretti
1f76b492d0 Updated Italian translation.
2008-12-09  Luca Ferretti  <elle.uca@libero.it>

	* it.po: Updated Italian translation.

svn path=/trunk/; revision=7737
2008-12-09 09:45:07 +00:00
Matthias Clasen
c7d37fca34 Hide ecryptfs mounts, so that the desktop does not show both the mount and
* gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
        so that the desktop does not show both the mount and the target
        directory. Patch by Martin Pitt


svn path=/trunk/; revision=7736
2008-12-08 05:47:26 +00:00