Commit Graph

5183 Commits

Author SHA1 Message Date
Duarte Loreto
60556de1b7 Updated Portuguese translation.
2008-01-23  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=6357
2008-01-23 01:48:03 +00:00
Alexander Larsson
61014f7e13 Don't leak basename.
2008-01-22  Alexander Larsson  <alexl@redhat.com>

        * gdesktopappinfo.c:
	(g_desktop_app_info_new):
	Don't leak basename.


svn path=/trunk/; revision=6356
2008-01-22 16:16:32 +00:00
Alexander Larsson
aa88b00475 Don't leak GKeyFile
2008-01-22  Alexander Larsson  <alexl@redhat.com>

        * gdesktopappinfo.c:
        (g_desktop_app_info_new_from_filename):
	Don't leak GKeyFile



svn path=/trunk/; revision=6355
2008-01-22 14:15:51 +00:00
Alexander Larsson
10cd55875a Fix leak of uri
2008-01-22  Alexander Larsson  <alexl@redhat.com>

	* glocalfileinfo.c (get_thumbnail_attributes):
	Fix leak of uri


svn path=/trunk/; revision=6354
2008-01-22 13:24:48 +00:00
Alexander Larsson
2544ae3cd6 Canonicalize paths that start with more than two slashes.
2008-01-22  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        (canonicalize_filename):
	Canonicalize paths that start with more than
	two slashes.
	
        * tests/g-file.c:
        (compare_two_files):
        (test_g_file_new_for_path):
	Test the above



svn path=/trunk/; revision=6353
2008-01-22 09:38:37 +00:00
Alexander Larsson
db5224fa85 Fix c++ comment
svn path=/trunk/; revision=6352
2008-01-22 09:19:58 +00:00
Alexander Larsson
b784923e9c Allow UTF-8 in file:// parse names.
2008-01-22  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
	Allow UTF-8 in file:// parse names.
	
        * tests/Makefile.am:
        * tests/data-input-stream.c:
        * tests/data-output-stream.c:
        * tests/g-file-info.c:
        * tests/g-file.c:
	Added a bunch of tests from Tomas Bzatek


svn path=/trunk/; revision=6351
2008-01-22 09:13:28 +00:00
Stéphane Raimbault
211c72e12b Updated French translation by Claude Paroz.
2008-01-21  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* fr.po: Updated French translation by Claude Paroz.

svn path=/trunk/; revision=6350
2008-01-21 21:48:58 +00:00
Matthias Clasen
8e191a31d6 Bump version
svn path=/trunk/; revision=6349
2008-01-21 18:09:53 +00:00
Matthias Clasen
1b8bad5973 2.15.3
svn path=/trunk/; revision=6347
2008-01-21 18:07:13 +00:00
Tor Lillqvist
3d89d5890e Add the gio DLL to the runtime zipfile.
2008-01-21  Tor Lillqvist  <tml@novell.com>

	* glib-zip.in: Add the gio DLL to the runtime zipfile.


svn path=/trunk/; revision=6346
2008-01-21 17:29:43 +00:00
Tor Lillqvist
3f19aacfcd Fix syntax error.
2008-01-21  Tor Lillqvist  <tml@novell.com>

	* el.po: Fix syntax error.


svn path=/trunk/; revision=6345
2008-01-21 17:26:08 +00:00
Matthias Clasen
2a0a4e8780 Updates
svn path=/trunk/; revision=6344
2008-01-21 15:50:34 +00:00
Kostas Papadimas
1fb2801476 Updated Greek translation
svn path=/trunk/; revision=6343
2008-01-21 15:47:16 +00:00
Alexander Larsson
eb4a1640a2 Remove duplicated GSeekable functions. (#509990) Just use the
2008-01-21  Alexander Larsson  <alexl@redhat.com>

        * gfileinputstream.[ch]:
        * gfileoutputstream.[ch]:
        * gio.symbols:
	Remove duplicated GSeekable functions. (#509990)
	Just use the g_seekable_xxx() calls instead.



svn path=/trunk/; revision=6342
2008-01-21 15:11:56 +00:00
Matthias Clasen
54300dde6d Whitespace cleanups.
2008-01-21  Matthias Clasen  <mclasen@redhat.com>

        * glocal*.c:
        * gvolumemanager.c: Whitespace cleanups.

        * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
        Use the right mode when creating the file.



svn path=/trunk/; revision=6341
2008-01-21 14:02:19 +00:00
Murray Cumming
5fbfef4cb7 Accept -1 for the data length if the data is a null-terminated string. Bug
2008-01-20  Murray Cumming  <murrayc@murrayc.com>

        * glib/gchecksum.c: (g_checksum_update): Accept -1 for the data 
        length if the data is a null-terminated string. Bug #510855.

svn path=/trunk/; revision=6340
2008-01-21 13:11:13 +00:00
Murray Cumming
6aaab07e0f Documentation: Fixed minor typos and added more mentions of specific
2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>

* gfileenumerator.c:
* gfileinputstream.c:
* ginputstream.c:
* goutputstream.c: Documentation: Fixed minor typos 
and added more mentions of specific _finish() functions.

svn path=/trunk/; revision=6339
2008-01-21 13:08:23 +00:00
Alexander Larsson
d8473705b0 Removed. Removed. Removed the included copies of the inotify headers. We
2008-01-21  Alexander Larsson  <alexl@redhat.com>

        * inotify/Makefile.am:
        * inotify/inotify-helper.c:
        * inotify/inotify-kernel.c:
        * inotify/inotify-path.c:
        * inotify/local_inotify.h: Removed.
        * inotify/local_inotify_syscalls.h: Removed.
	Removed the included copies of the inotify
	headers. We now only use the <sys/inotify.h>
	header which exists on modern systems.
	This fixes problems on ARM and SH5 (#510448)
	but is also generally much cleaner and future
	safe. For instance, if other OSes add support
	for inotify it should "just work".



svn path=/trunk/; revision=6338
2008-01-21 10:35:44 +00:00
Matthias Clasen
a043325ec1 Coding style fixes
svn path=/trunk/; revision=6337
2008-01-21 05:12:16 +00:00
Matthias Clasen
d16037e0e7 Documentation updates
svn path=/trunk/; revision=6336
2008-01-21 03:49:20 +00:00
Murray Cumming
88266aae90 documentation: Fixed more minor typos.
2008-01-20  Murray Cumming  <murrayc@murrayc.com>

* gfile.c: documentation: Fixed more minor 
typos.

svn path=/trunk/; revision=6335
2008-01-20 17:42:35 +00:00
Murray Cumming
225501c71a documentation: Mention g_mount_remount_finish() instead of
2008-01-18  Murray Cumming  <murrayc@murrayc.com>

* gmount.c: (g_mount_remount): documentation: 
Mention g_mount_remount_finish() instead of 
g_mount_unmount_finish().

svn path=/trunk/; revision=6334
2008-01-18 18:16:28 +00:00
16:51:23 Tim Janik
d83d3a382c don't define __GNUC_PREREQ which is not in the glib namespace. for gcc,
2008-01-18 16:51:23  Tim Janik  <timj@imendio.com>

        * glib/gutils.h: don't define __GNUC_PREREQ which is not in the glib
        namespace. for gcc, define G_INLINE_FUNC to "static inline" as with
        all other C compilers, because newer GCC versions incompatibly
        changed "extern inline" semantics.



svn path=/trunk/; revision=6333
2008-01-18 15:51:49 +00:00
Murray Cumming
d4b9875df1 Fixed some minor typos in the documentation.
2008-01-18  Murray Cumming  <murrayc@murrayc.com>

* glib/gfileutils.c:
* glib/gsequence.c:
* glib/gstring.c: Fixed some minor typos in the documentation.

svn path=/trunk/; revision=6332
2008-01-18 09:41:46 +00:00
Murray Cumming
0108d39d02 Fixed some minor typos in the documentation.
2008-01-18  Murray Cumming  <murrayc@murrayc.com>

* gappinfo.c:
* gcancellable.c:
* gfile.c: Fixed some minor typos in the 
documentation. 

svn path=/trunk/; revision=6331
2008-01-18 09:41:09 +00:00
Murray Cumming
acf029139d Documentation: Clarify the ownership of the regurn GLists.
2008-01-18  Murray Cumming  <murrayc@murrayc.com>

* gio/gvolumemonitor.c: 
(g_volume_monitor_get_connected_drives): 
(g_volume_monitor_get_volumes): 
(g_volume_monitor_get_mounts): Documentation: 
Clarify the ownership of the regurn GLists.

svn path=/trunk/; revision=6330
2008-01-17 23:43:31 +00:00
Maxim Dziumanenko
ee7ff848c7 Updated Ukrainian translation.
2008-01-17  Maxim Dziumanenko <dziumanenko@gmail.com>

        * uk.po: Updated Ukrainian translation.



svn path=/trunk/; revision=6329
2008-01-17 16:28:52 +00:00
Yang Zhang
b17fad962e Updated zh_CN translation
svn path=/trunk/; revision=6328
2008-01-17 15:17:03 +00:00
Yang Zhang
09d29a2367 Updated zh_CN translation from manphiz
svn path=/trunk/; revision=6327
2008-01-17 14:58:19 +00:00
Alexander Larsson
359339fe25 Add the async find_enclosing_mount version to the header file too.
2008-01-17  Alexander Larsson  <alexl@redhat.com>

        * gfile.h:
	Add the async find_enclosing_mount version
	to the header file too.



svn path=/trunk/; revision=6326
2008-01-17 14:30:07 +00:00
Alexander Larsson
35cf559e3d Add async version of find_enclosing_mount with default implementation.
2008-01-17  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
	Add async version of find_enclosing_mount
	with default implementation.



svn path=/trunk/; revision=6325
2008-01-17 14:22:13 +00:00
Alexander Larsson
0026537f37 Allow calls to implementation of copy and write even if the type of the
2008-01-17  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        (g_file_copy):
        (g_file_move):
	Allow calls to implementation of copy and write
	even if the type of the file implementations is
	different. This can be used to implement native
	upload and download calls in a vfs.
	
        * glocalfile.c:
        (g_local_file_move):
	Protect against the case where move is called
	with one file not being local.
	
	Make sure we call the progress callback once
	in the native move operation so that the caller
	knows how many bytes were copied.


svn path=/trunk/; revision=6324
2008-01-17 10:57:48 +00:00
Dan Winship
f1332511ee Fix another bug (which doesn't affect the results, but may cause it to
* glib/gchecksum.c (md5_sum_update): Fix another bug (which
	doesn't affect the results, but may cause it to read bad memory).

svn path=/trunk/; revision=6323
2008-01-16 21:28:04 +00:00
Murray Cumming
f0749cc896 Corrected some typos in the documentation: occured -> occurred. its ->
2008-01-16  Murray Cumming  <murrayc@murrayc.com>

* gappinfo.c:
* gdatainputstream.c:
* gfile.c:
* gfileoutputstream.c:
* ginputstream.c:
* gmount.c:
* goutputstream.c:
* gseekable.c:
* gunixmounts.c: Corrected some typos in the documentation:
occured -> occurred.
its -> it's (where appropriate).

svn path=/trunk/; revision=6322
2008-01-16 20:00:23 +00:00
Inaki Larranaga Murgoitio
f970f886cb Updated Basque translation.
2008-01-16  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.


svn path=/trunk/; revision=6321
2008-01-16 17:58:17 +00:00
Rahul Bhalerao
fbc357da1b Updated Marathi translations
svn path=/trunk/; revision=6320
2008-01-16 14:44:14 +00:00
Alexander Larsson
87cd883e8d Add g_file_query_exists (#508771)
2008-01-16  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        * gio.symbols:
        Add g_file_query_exists (#508771)


svn path=/trunk/; revision=6319
2008-01-16 10:11:26 +00:00
Murray Cumming
218827445d For async functions that have no non-async version, document that the
2008-01-15  Murray Cumming  <murrayc@murrayc.com>

* gdrive.c:
* gfile.c:
* gmount.c:
* gvolume.c: For async functions that have no non-async 
version, document that the GAsyncReadyCallback may be NULL.
Bug #509626.

svn path=/trunk/; revision=6318
2008-01-15 14:08:41 +00:00
Alexander Larsson
9d0f6b8f94 Clarify docs for g_uri_unescape_string() (#508773)
2008-01-15  Alexander Larsson  <alexl@redhat.com>

        * glib/gurifuncs.c:
	Clarify docs for g_uri_unescape_string() (#508773)



svn path=/trunk/; revision=6317
2008-01-15 13:09:07 +00:00
Alexander Larsson
a1996e6518 Don't do pointer arithmetic on void * (#508602) Patch from Kazuki IWAMOTO
2008-01-15  Alexander Larsson  <alexl@redhat.com>

        * gmemoryinputstream.c:
        * gmemoryoutputstream.c:
	Don't do pointer arithmetic on void * (#508602)
	Patch from Kazuki IWAMOTO


svn path=/trunk/; revision=6316
2008-01-15 11:47:04 +00:00
Dan Winship
5fa9ff14a9 Support gio in AM_PATH_GLIB_2_0 (#509465)
2008-01-14  Dan Winship  <danw@gnome.org>

	* m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465)



svn path=/trunk/; revision=6315
2008-01-15 10:12:58 +00:00
Dan Winship
cc1404cfc8 fix this; the previous code gave the wrong md5sum when called in certain
* glib/gchecksum.c (md5_sum_update): fix this; the previous code
	gave the wrong md5sum when called in certain ways with buffers
	larger than 64 bytes.
	(g_checksum_update): remove the unnecessary "length > 1"
	restriction

	* tests/checksum-test.c: Rewrite this to be much more exhaustive
	(and in particular to test the md5_sum_update bugfix).

svn path=/trunk/; revision=6314
2008-01-15 06:21:58 +00:00
Daniel Nylander
e943c3af74 sv.po: Swedish translation updated
svn path=/trunk/; revision=6313
2008-01-15 00:58:57 +00:00
Matthias Clasen
fcf94e391d Bump version
svn path=/trunk/; revision=6312
2008-01-14 17:13:07 +00:00
Matthias Clasen
da7494c1e9 2.15.2
svn path=/trunk/; revision=6310
2008-01-14 16:43:59 +00:00
Jorge Gonzalez Gonzalez
57ade7144c Updated Spanish translation
svn path=/trunk/; revision=6309
2008-01-14 16:16:27 +00:00
Matthias Clasen
1473596b34 Updates
svn path=/trunk/; revision=6308
2008-01-14 15:12:21 +00:00
Alexander Larsson
fd6e388736 Don't set error here, since we fallback to polling monitor.
2008-01-14  Alexander Larsson  <alexl@redhat.com>

	* gfile.c (g_file_monitor_file):
	Don't set error here, since we fallback to polling monitor.


svn path=/trunk/; revision=6307
2008-01-14 15:04:25 +00:00
Alexander Larsson
3690cb75a6 Add GError to file monitor calls
2008-01-14  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        (g_file_monitor_directory):
        (g_file_monitor_file):
	Add GError to file monitor calls
	
        * glocaldirectorymonitor.c:
        * glocaldirectorymonitor.h:
        * glocalfile.c:
        * glocalfilemonitor.c:
        * glocalfilemonitor.h:
        * gunixmounts.c:
	Update for above change


svn path=/trunk/; revision=6306
2008-01-14 15:00:31 +00:00