History log of /external/bluetooth/glib/glib/gfileutils.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6cff88ba18b3bc0d118308f109840cb163dcea03 16-Mar-2009 Alexander Larsson <alexl@redhat.com> Bug 575555 – Use fsync() when replacing files to avoid data loss on

2009-03-16 Alexander Larsson <alexl@redhat.com>

Bug 575555 – Use fsync() when replacing files to avoid data loss on crash

* configure.in:
Look for fsync().

* glib/gfileutils.c:
(write_to_temp_file):
fsync temp file if destination file exists

2009-03-16 Alexander Larsson <alexl@redhat.com>

Bug 575555 – Use fsync() when replacing files to avoid data loss on crash

* glocalfileoutputstream.c:
(g_local_file_output_stream_close):
(_g_local_file_output_stream_replace):
fsync temp file before closing if replacing target file



svn path=/trunk/; revision=7991
/external/bluetooth/glib/glib/gfileutils.c
8ad668c7f019473b714c6ae55deaedcd9de9d383 23-Feb-2009 Matthias Clasen <matthiasc@src.gnome.org> Improve docs

svn path=/trunk/; revision=7896
/external/bluetooth/glib/glib/gfileutils.c
48e6a374bce99a96628d34b15a87fdf60e21a8d6 05-Jan-2009 Tor Lillqvist <tml@iki.fi> 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
/external/bluetooth/glib/glib/gfileutils.c
0f6b25ca96e70cd3b2c105dce7ef166ee2e0c220 31-Dec-2008 Matthias Clasen <matthiasc@src.gnome.org> Fix some compiler warnings

svn path=/trunk/; revision=7755
/external/bluetooth/glib/glib/gfileutils.c
6a19b99a9d4ef154988ed56e1f2f74a6d6ed8253 06-Oct-2008 Christophe Fergeau <teuf@src.gnome.org> Bug 555224 – Improve g_format_size_for_display doc
* glib/gfileutils.c: change g_format_size_for_display API doc to
explicitly say that the returned string has to be freed. Change
spelling of "newly allocated" to "newly-allocated" in g_file_read_link
API doc to be more consistent with what is done in that file.

svn path=/trunk/; revision=7572
/external/bluetooth/glib/glib/gfileutils.c
80ecc30841e4741dae3a5dac7e8ff2889b7b096e 27-Jul-2008 Tor Lillqvist <tml@novell.com> glib/glib.symbols glib/gconvert.c glib/gdir.c glib/gfileutils.c

2008-07-27 Tor Lillqvist <tml@novell.com>

* glib/glib.symbols
* glib/gconvert.c
* glib/gdir.c
* glib/gfileutils.c
* glib/giowin32.c
* glib/gspawn-win32.c
* glib/gutils.c
* glib/gwin32.c: Bypass the Windows "ABI compatibility" symbols on
_WIN64. As there hasn't been any widely deployed 64-bit Windows
builds of the really old GLib (pre-2.8.1) versions those refer to,
there is no need to have the "ABI compatibility" versions in the
DLL.

* glib/makegalias.pl: Handle #ifndef _WIN64: Just output it, too.


svn path=/trunk/; revision=7257
/external/bluetooth/glib/glib/gfileutils.c
6c2c99aa0ed3927f33ea02271d72deaef4c62ebd 16-Jul-2008 Matthias Clasen <matthiasc@src.gnome.org> Detect overflow and error out. Reported by Morten Welinder.

* glib/gfileutils.c (get_contents_stdio): Detect overflow and
error out. Reported by Morten Welinder.


svn path=/trunk/; revision=7194
/external/bluetooth/glib/glib/gfileutils.c
9c17697b56501d11b4c653432cc9e290347aa03e 16-Jun-2008 Christian Persch <chpe@src.gnome.org> Use g_set_error_literal where appropriate. Patch from bug #535947.

svn path=/trunk/; revision=7051
/external/bluetooth/glib/glib/gfileutils.c
e0916c3f54502864142b66f9d801881ced52f44f 12-Jun-2008 Behdad Esfahbod <behdad@gnome.org> Bug 503071 – Application direction changes to right to left even if

2008-06-11 Behdad Esfahbod <behdad@gnome.org>

Bug 503071 – Application direction changes to right to left even if
theres no translation

* glib/gi18n-lib.h:
* glib/glib.symbols:
* glib/gstrfuncs.h:
* glib/gstrfuncs.c:
Add new functions g_dgettext() and g_dngettext().

* glib/gutils.c (glib_gettext):
* glib/gfileutils.c (g_format_size_for_display):
* glib/goption.c (dgettext_swapped):
Use the new functions.


svn path=/trunk/; revision=7020
/external/bluetooth/glib/glib/gfileutils.c
a41fa14e4b9860b68975fa6f6cac1270a1f454b5 24-May-2008 Matthias Clasen <matthiasc@src.gnome.org> small doc improvement

svn path=/trunk/; revision=6924
/external/bluetooth/glib/glib/gfileutils.c
d4b9875df1381d4a232e18924528438775a8259e 18-Jan-2008 Murray Cumming <murrayc@murrayc.com> 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
/external/bluetooth/glib/glib/gfileutils.c
de9c37dd91ea2ce66f58ea7686b8e73ab9795cb8 19-Dec-2007 Alexander Larsson <alexl@redhat.com> Rename g_format_file_size_for_display to g_format_size_for_display.

2007-12-19 Alexander Larsson <alexl@redhat.com>

* glib/gfileutils.[ch]:
* glib/glib.symbols:
Rename g_format_file_size_for_display to g_format_size_for_display.



svn path=/trunk/; revision=6158
/external/bluetooth/glib/glib/gfileutils.c
b877c83cdcde2f7d26f9395d0b21230941cf190e 09-Dec-2007 Hans Breuer <hans@breuer.org> removed -GD to compile with msvc9 (vs2008) with less complains

2007-12-09 Hans Breuer <hans@breuer.org>

* **/makefile.msc glib/makefile.msc.in : removed -GD to compile
with msvc9 (vs2008) with less complains

* glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
msv8 (vs2005) and above

* glib/gfileutils.c : s/stricmp/_stricmp/
* msvc_recommended_pragmas.h : work around Microsoft's premature
attempt to deprecate the C-Library

* tests/makefile.msc.in : added checksum-test


svn path=/trunk/; revision=6076
/external/bluetooth/glib/glib/gfileutils.c
68c74ba68ffd89be6e285b3c9a5c3c141fab1226 27-Nov-2007 Alexander Larsson <alexl@redhat.com> Move g_format_file_size_for_display from gio to glib

2007-11-27 Alexander Larsson <alexl@redhat.com>

* gio/gfileinfo.[ch]:
* glib/gfileutils.[ch]:
Move g_format_file_size_for_display from gio to glib


svn path=/trunk/; revision=5954
/external/bluetooth/glib/glib/gfileutils.c
d2f111fca7949aee688d31dce49d2afe92b6b6b0 25-Nov-2007 Matthias Clasen <mclasen@redhat.com> Require gtk-doc 1.8.

2007-11-25 Matthias Clasen <mclasen@redhat.com>

* configure.in: Require gtk-doc 1.8.

* glib/gasyncqueue.c:
* glib/gdate.c:
* glib/gfileutils.c:
* glib/gmain.c:
* glib/gmarkup.c:
* glib/gregex.c:
* glib/gtestutils.c:
* glib/gutils.c: Use gtk-doc abbreviations for
examples in doc comments.


svn path=/trunk/; revision=5933
/external/bluetooth/glib/glib/gfileutils.c
702549ddc1e561ad3307506616ce16ec19de5cd2 09-Jul-2007 Ryan Lortie <desrt@desrt.ca> save errno to prevent it being clobbered by call to

2007-07-09 Ryan Lortie <desrt@desrt.ca>

* glib/gfileutils.c (write_to_temp_file): save errno to prevent it
being clobbered by call to g_filename_display_name(). Bug #453796.


svn path=/trunk/; revision=5608
/external/bluetooth/glib/glib/gfileutils.c
98d552e0cd0479ec373055eefc11716d2927936e 28-Dec-2006 Matthias Clasen <mclasen@redhat.com> Consistently use gsize rather than size_t. (#333310, Morten Welinder)

2006-12-27 Matthias Clasen <mclasen@redhat.com>

* glib/gconvert.[hc]:
* glib/gfileutils.c:
* glib/giochannel.c:
* glib/goption.c:
* glib/gspawn.c:
* glib/gunicollate.c:
* glib/gutils.c:
* tests/timeloop-basic.c:
Consistently use gsize rather than size_t. (#333310,
Morten Welinder)
/external/bluetooth/glib/glib/gfileutils.c
da422c0060dc4a8b51c4d6a5a43c4f7ff76056b6 30-Aug-2006 Tor Lillqvist <tml@novell.com> Remove support for Windows 9x/ME, as will be done also in Pango and GTK+.

2006-08-29 Tor Lillqvist <tml@novell.com>

Remove support for Windows 9x/ME, as will be done also in Pango
and GTK+. GTK+ hasn't worked on Win9x since 2.6 or 2.8 anyway, so
it's pretty pointless to keep the Win9x code in here either. If
somebody is interested, the code can always be found in older GLib
versions, and in CVS.

* glib/gdir.c
* glib/gfileutils.c
* glib/gspawn-win32-helper.c
* glib/gspawn-win32.c
* glib/gstdio.c
* glib/gutils.c
* glib/gwin32.c
* glib/gwin32.h: Remove the G_WIN32_IS_NT_BASED() and
G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
branches, and any variables or static functions used only by the
Win9x branches.

* glib/gwin32.c (g_win32_windows_version_init): Call g_error() if
run on Win9x.
/external/bluetooth/glib/glib/gfileutils.c
6cc8a27894be8937ee7d52730a337f48c1d5b594 16-Jun-2006 Matthias Clasen <mclasen@redhat.com> Add tests.

2006-06-16 Matthias Clasen <mclasen@redhat.com>

* tests/file-test.c (test_mkstemp): Add tests.

* glib/gfileutils.c (g_mkstemp): Allow the XXXXXX to occur
inside the template, not just at the end.
/external/bluetooth/glib/glib/gfileutils.c
b58fb2bdb58bfa64d615e8d7f6cd1c607c109315 04-Apr-2006 Matthias Clasen <mclasen@redhat.com> Move short_month_names and long_month_names to bss.

2006-04-04 Matthias Clasen <mclasen@redhat.com>

* glib/gdate.c: Move short_month_names and long_month_names
to bss.

* glib/gspawn-win32.c (g_spawn_error_quark):
* glib/gspawn.c (g_spawn_error_quark):
* glib/gshell.c (g_shell_error_quark):
* glib/gmarkup.c (g_markup_error_quark):
* glib/goption.c (g_option_error_quark):
* glib/gkeyfile.c (g_key_file_error_quark):
* glib/giochannel.c (g_io_channel_error_quark):
* glib/gfileutils.c (g_file_error_quark):
* glib/gconvert.c (g_convert_error_quark):
* glib/gbookmarkfile.c (g_bookmark_file_error_quark):
* glib/gthread.c (g_thread_error_quark): No point in making
the error path fast by caching quarks.

* glib/gbookmarkfile.c: Make the parser struct const.
/external/bluetooth/glib/glib/gfileutils.c
1fe373b27952a487f9480fa3fc058a7a82bd50d4 03-Dec-2005 Matthias Clasen <mclasen@redhat.com> Don't fork a new process just to fix the permissions of the created temp

2005-12-03 Matthias Clasen <mclasen@redhat.com>

* glib/gfileutils.c: Don't fork a new process just to
fix the permissions of the created temp file. (#321318,
Alexis S. L. Carvalho)
/external/bluetooth/glib/glib/gfileutils.c
833abd554a1e203d65a81b9ad043e8a146d38071 10-Aug-2005 Matthias Clasen <mclasen@redhat.com> Take a va_list*, not a va_list, to avoid compiler warnings about

2005-08-10 Matthias Clasen <mclasen@redhat.com>

* glib/gfileutils.c (g_build_path_va, g_build_pathname_va):
Take a va_list*, not a va_list, to avoid compiler warnings
about uninitialized variables.
/external/bluetooth/glib/glib/gfileutils.c
b36f775177312005c2dbce8eb4eb8cbe75abf877 13-Jul-2005 Matthias Clasen <mclasen@redhat.com> Fix a typo. (#310243, Richard Laager)

2005-07-13 Matthias Clasen <mclasen@redhat.com>

* glib/gfileutils.c (g_mkdir_with_parents): Fix a
typo. (#310243, Richard Laager)
/external/bluetooth/glib/glib/gfileutils.c
80d0d5690f7d3e773f9c0095b7d3ac8d56b6cce1 24-Jun-2005 Tor Lillqvist <tml@novell.com> glib/Makefile.am gmodule/Makefile.am Current GNU tools do understand the

2005-06-24 Tor Lillqvist <tml@novell.com>

* glib/Makefile.am
* gmodule/Makefile.am
* gobject/Makefile.am: Current GNU tools do understand the
PRIVATE keyword.

* glib/gfileutils.c (g_mkdir_with_parents): Return error with
EINVAL also for empty pathnames.
(g_build_pathname_va): Fix typo.
/external/bluetooth/glib/glib/gfileutils.c
20c16cd277538919b5f2eff096b9f912a27594f9 24-Jun-2005 Manish Singh <yosh@gimp.org> g_build_filename_va is only use in the G_OS_WIN32 case, so compile it

Thu Jun 23 15:52:08 2005 Manish Singh <yosh@gimp.org>

* glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32
case, so compile it conditionally.
/external/bluetooth/glib/glib/gfileutils.c
a6312099c7b2e88dd16605b5db1f5c11526867d8 23-Jun-2005 Matthias Clasen <matthiasc@src.gnome.org> Add some language-binding friendly variants
/external/bluetooth/glib/glib/gfileutils.c
b8c119f901c3320a790187304e3bebdcf3a80219 22-Jun-2005 Tor Lillqvist <tml@novell.com> glib/gfileutils.c glib/gfileutils.h glib/glib.symbols Rename g_makepath()

2005-06-22 Tor Lillqvist <tml@novell.com>

* glib/gfileutils.c
* glib/gfileutils.h
* glib/glib.symbols
* tests/testglib.c: Rename g_makepath() to g_mkdir_with_parents().
/external/bluetooth/glib/glib/gfileutils.c
1833a93dddaaa77b11761a92d8961bba67217d94 22-Jun-2005 Tor Lillqvist <tml@novell.com> New function. Creates a directory including intermediate parent

2005-06-22 Tor Lillqvist <tml@novell.com>

* glib/gfileutils.c (g_makepath): New function. Creates a
directory including intermediate parent directories as
needed. (#60509)

* glib/gfileutils.h: Declare it.

* glib/glib.symbols: Add it.

* tests/testglib.c: Test it.
/external/bluetooth/glib/glib/gfileutils.c
2ae1a46b4c8d9849f43eb9f059a98eadb4f2a6c9 05-May-2005 Owen Taylor <otaylor@redhat.com> Add g_object_add/remove_toggle_ref() functions to get notification when a

2005-05-05 Owen Taylor <otaylor@redhat.com>

* gobject.[ch] gobject.symbols: Add
g_object_add/remove_toggle_ref() functions to get notification
when a reference count is the last remaining reference; this
enables better memory management for language bindings.
(http://mail.gnome.org/archives/gtk-devel-list/2005-April/msg00095.html)

2005-05-05 Owen Taylor <otaylor@redhat.com>

* glib/gdataset.[ch] glib/gdatasetprivate.h: Add
g_datalist_set/unset_flags(), g_datalist_get_flags() functions
to squeeze some bits into a GDataSet... this is needed for
efficient implementation of toggle references in GObject.

* tests/gobject/references.c tests/gobject/Makefile.am:
Add a test case for weak and toggle references.

* glib/gfileutils.[ch]: Rename g_file_replace() back
to g_file_set_contents().

* glib/glib.symbols: Update.

2005-05-05 Owen Taylor <otaylor@redhat.com>

* glib/Makefile.am glib/glib-sections.txt gobject/gobject-sections.txt:
Update

* gobject/tmpl/objects.sgml: Document toggle-references.
/external/bluetooth/glib/glib/gfileutils.c
2def3c144fa4996636a7a3382dd4ff8f6e0dd76f 19-Apr-2005 Tor Lillqvist <tml@novell.com> Minor comment improvement.

2005-04-19 Tor Lillqvist <tml@novell.com>

* glib/gutils.h: Minor comment improvement.

2005-04-18 Tor Lillqvist <tml@novell.com>

* glib/gfileutils.c: No <sys/wait.h> on Win32. Definition of
save_errno was missing in one place.
/external/bluetooth/glib/glib/gfileutils.c
da536e7e42eadff302b4da013d256bc89e2dfebe 17-Apr-2005 Soeren Sandmann <sandmann@redhat.com> Save the errno in various places

Sat Apr 16 20:15:44 2005 Soeren Sandmann <sandmann@redhat.com>

* glib/gfileutils.c (g_file_replace): Save the errno in various
places

* glib/gfileutils.c (set_umask_permissions): Fork a child and do
chmod() to the umask() permissions there.
/external/bluetooth/glib/glib/gfileutils.c
4fe1315d5e46f3d5feb950f81dd49dc1b16fa7cd 05-Apr-2005 Matthias Clasen <mclasen@redhat.com> Avoid memory leaks in borderline cases. (#172612, Morten Welinder)

2005-04-05 Matthias Clasen <mclasen@redhat.com>

* glib/gfileutils.c (get_contents_stdio): Avoid memory
leaks in borderline cases. (#172612, Morten Welinder)
/external/bluetooth/glib/glib/gfileutils.c
ec2d35edc391c92db909d95c84c0ab2499fee448 30-Mar-2005 Sven Neumann <sven@gimp.org> handle the unlikely case that no bytes are read from the file and allocate

2005-03-30 Sven Neumann <sven@gimp.org>

* glib/gfileutils.c (get_contents_stdio): handle the unlikely case
that no bytes are read from the file and allocate an empty string.
/external/bluetooth/glib/glib/gfileutils.c
608a31b98e1420f487190871ee7312db2643d93d 14-Mar-2005 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in

2005-03-13 Matthias Clasen <mclasen@redhat.com>

Make PLT-reduction work with gcc4, and don't include
everything in galias.h:

* glib/glib.symbols: Group symbols by header and source file.
* glib/makegalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegalias.pl -def
* glib/Makefile.am (galiasdef.c): Add a rule to generate this
file.
* glib/*.c: Include galias.h after the other GLib headers,
include galiasdef.c at the bottom.
/external/bluetooth/glib/glib/gfileutils.c
858107437bdeea5dd72e509addf93a5bf5277116 12-Mar-2005 Soeren Sandmann <sandmann@redhat.com> Don't try and generate a dotfile from the name -- it doesn't work with


Fri Mar 11 23:51:12 2005 Soeren Sandmann <sandmann@redhat.com>

* glib/gfileutils.c (write_to_temp_file): Don't try and generate
a dotfile from the name -- it doesn't work with absolute
paths. Also make documentation indicate that symlinks will be
overwritten. Both pointed out by Alexis S. L. Carvalho.
/external/bluetooth/glib/glib/gfileutils.c
aec8923fa6a0f9272b4eddcac508f5852f5c8483 10-Mar-2005 Sven Neumann <sven@gimp.org> delay memory allocation until after the first read. Saves a bunch of

2005-03-10 Sven Neumann <sven@gimp.org>

* glib/gfileutils.c (get_contents_stdio): delay memory allocation
until after the first read. Saves a bunch of reallocs. Also
increased the buffer size to 4096 bytes. (bug #165954)

* tests/file-test.c (test_get_contents): added a (very basic) test
for g_file_get_contents().
/external/bluetooth/glib/glib/gfileutils.c
cd8a0ac41f293221d931cab6f1ea39332f7448d8 09-Mar-2005 Sven Neumann <sven@gimp.org> avoid unnecessary filename conversions.

2005-03-09 Sven Neumann <sven@gimp.org>

* glib/gfileutils.c (g_file_replace): avoid unnecessary filename
conversions.
/external/bluetooth/glib/glib/gfileutils.c
331548d91ce48f4d1b41fb147179c7680394cb5e 08-Mar-2005 Søren Sandmann <sandmann@redhat.com> New API. A function to atomically create a file.

Tue Mar 8 15:46:54 2005 Søren Sandmann <sandmann@redhat.com>

* glib/gfileutils.c (g_file_replace): New API. A function to
atomically create a file.
/external/bluetooth/glib/glib/gfileutils.c
ec66d4530edae44e53b7d2ed513cd8bc420a8178 25-Feb-2005 Tor Lillqvist <tml@novell.com> Use g_fopen(). (#168341, Daniel Atallah)

2005-02-24 Tor Lillqvist <tml@novell.com>

* glib/gfileutils.c (get_contents_win32): Use g_fopen(). (#168341,
Daniel Atallah)
/external/bluetooth/glib/glib/gfileutils.c
fc67e936f8741ac27ada5947cac66cf8da7b553d 05-Feb-2005 Tor Lillqvist <tml@novell.com> In the Win32 ABI stability version, call g_file_get_contents_utf8(), not

2005-02-05 Tor Lillqvist <tml@novell.com>

* glib/gfileutils.c (g_file_get_contents): In the Win32 ABI
stability version, call g_file_get_contents_utf8(), not
itself. (#166386)
/external/bluetooth/glib/glib/gfileutils.c
031ebdd1937bc774a040185572aca9c56191b18e 03-Feb-2005 Tor Lillqvist <tml@novell.com> Don't use potentially incorrect errno in several places. (#165951)

2005-02-02 Tor Lillqvist <tml@novell.com>

* glib/gfileutils.c: Don't use potentially incorrect errno in
several places. (#165951)
(g_mkstemp): Set errno appropriately.
/external/bluetooth/glib/glib/gfileutils.c
c21df964daee66d084f832e10be0679f0eb64a48 09-Jan-2005 Hans Breuer <hans@breuer.org> make it compile with mvc6 default sdk, (#define INVALID_FILE_ATTRIBUTES,

2005-01-09 Hans Breuer <hans@breuer.org>

* glib/gfileutils.c : make it compile with mvc6 default sdk,
(#define INVALID_FILE_ATTRIBUTES, FILE_ATTRIBUTE_DEVICE)
/external/bluetooth/glib/glib/gfileutils.c
f45d2ee72496345c1c92be0d5aad1d7e3b9cd740 09-Jan-2005 Tor Lillqvist <tlillqvist@novell.com> Include <io.h> on Windows for prototypes. (#163390, Kazuki Iwamoto)

2005-01-09 Tor Lillqvist <tlillqvist@novell.com>

* glib/gfileutils.c: Include <io.h> on Windows for
prototypes. (#163390, Kazuki Iwamoto)
/external/bluetooth/glib/glib/gfileutils.c
30425906b51cb6438eea321879e53afcb722af3b 03-Jan-2005 Matthias Clasen <mclasen@redhat.com> Clarify the documentation. (#162251, Mariano Suárez-Alvarez)

2005-01-03 Matthias Clasen <mclasen@redhat.com>

* glib/gfileutils.c (g_file_get_contents): Clarify the
documentation. (#162251, Mariano Suárez-Alvarez)
/external/bluetooth/glib/glib/gfileutils.c
714887d0fad7c55d623142e3efcedbf77e3e0b94 01-Jan-2005 Tor Lillqvist <tml@iki.fi> glib/glib.symbols glib/gutils.h Make also g_getenv(), g_setenv(),

2005-01-01 Tor Lillqvist <tml@iki.fi>

* glib/glib.symbols
* glib/gutils.h
* glib/gutils.c: Make also g_getenv(), g_setenv(), g_unsetenv()
and g_find_program_in_path() take and return UTF-8 strings on
Win32. Implement DLL ABI backward compatility for them, too. Move
all the DLL ABI stability wrappers to the end of the file. Use
wide character API when available in inner_find_program_in_path().

* glib/gfileutils.c: With the UTF-8ness of g_getenv() above, just
use g_getenv() to get PATHEXT. (Yeah, it's probably overdoing it
to consider somebody actually having anything else than ASCII
in PATHEXT, but...)
/external/bluetooth/glib/glib/gfileutils.c
7e6be89c62d92cd8663e21e4fe7449bbaef4e44f 31-Dec-2004 Tor Lillqvist <tml@iki.fi> Rewrite the Win32 version to use GetFileAttributes() instead of stat().

2004-12-31 Tor Lillqvist <tml@iki.fi>

* glib/gfileutils.c (g_file_test): Rewrite the Win32 version to
use GetFileAttributes() instead of stat(). stat() is unreliable
for corner cases like '\\server\share' or '.\'. Part of fixing
#161797. When testing for executability, in addition to the fixed
set of executable file name extensions also check the PATHEXT
environment variable.
/external/bluetooth/glib/glib/gfileutils.c
647aba60aa8ddc309e9035b538ce7982193fbf03 30-Dec-2004 Matthias Clasen <matthiasc@src.gnome.org> Typo fix.
/external/bluetooth/glib/glib/gfileutils.c
912ba0d43cf76ab76f338fb5beab98102da4d868 04-Nov-2004 Tor Lillqvist <tml@iki.fi> Document that the result is guaranteed to be non-NULL.

2004-11-04 Tor Lillqvist <tml@iki.fi>

* glib/gconvert.c (g_filename_display_name): Document that the
result is guaranteed to be non-NULL.

* glib/gfileutils.c (get_contents_stdio, get_contents_regfile,
get_contents_posix, get_contents_win32, g_file_open_tmp,
g_file_read_link): Use g_filename_display_name() for error
messages.
(g_mkstemp): Document that the template should be in the GLib file
name encoding.
(g_file_open_tmp): Ditto. Also document that the actual name
returned is also in the GLib file name encoding.
/external/bluetooth/glib/glib/gfileutils.c
8a7eecd7c62f26dfb9b6d6a8ec8e57920a0c5ac4 27-Oct-2004 Matthias Clasen <mclasen@redhat.com> Introduce the idea of a filename encoding, which is *literally* the

2004-10-27 Matthias Clasen <mclasen@redhat.com>

Introduce the idea of a filename encoding, which is
*literally* the filename encoding on Unix. On windows,
use the Unicode name converted to UTF-8. (#156325,
Tor Lillqvist, Owen Taylor)

* glib/gdir.[hc]:
* glib/gconvert.[hc]:
* glib/gfileutils.[hc]:
* glib/gutils.[hc]:
* glib/giowin32.c: On Windows, keep old ABI versions
of GLib pathname api for DLL ABI stability. Use different
names for the new-style UTF-8 versions. Hide this through
a #define.

* glib/gstdio.[hc]: New files containing wrappers for
POSIX pathname api.

* glib/glib.symbols: Add new symbols.

* glib/makegalias.pl: Drop Win32 specific .def syntax,
include gstdio.h
/external/bluetooth/glib/glib/gfileutils.c
5c38cfa58d8de900b97206f53502912ff145754a 26-Oct-2004 Manish Singh <yosh@gimp.org> rm autom4te.cache, since it might interfere with differing autoconf

Mon Oct 25 15:05:18 2004 Manish Singh <yosh@gimp.org>

* autogen.sh: rm autom4te.cache, since it might interfere with
differing autoconf versions.

* tests/child-test.c: use GINT_TO_POINTER for g_child_watch_add
user data.

* glib/gfileutils.c: G_IS_DIR_SEPARATOR is defined in gutils.h now,
don't redefine it here.
/external/bluetooth/glib/glib/gfileutils.c
01f4ccc859ed00efb1a397886cf14d2f0777b27a 06-Oct-2004 Matthias Clasen <mclasen@redhat.com> Fix some C99isms. (#154676, Kjartan Maraas)

2004-10-06 Matthias Clasen <mclasen@redhat.com>

* glib/gfileutils.c: Fix some C99isms. (#154676, Kjartan Maraas)
/external/bluetooth/glib/glib/gfileutils.c
ea58e960f9fc654a7b57c6dece6ad46a5300163d 30-Sep-2004 Matthias Clasen <mclasen@redhat.com> Convert filenames to UTF-8 before putting them in GErrors. (#154078,

2004-09-30 Matthias Clasen <mclasen@redhat.com>

* glib/gfileutils.c: Convert filenames to UTF-8 before
putting them in GErrors. (#154078, Morten Welinder)
/external/bluetooth/glib/glib/gfileutils.c
dafdffd7516324a67db519372e9dcfddfd4fdeb0 16-Sep-2004 Matthias Clasen <maclas@gmx.de> Implement the same PLT reduction technique used in GTK+:

Thu Sep 16 02:03:15 2004 Matthias Clasen <maclas@gmx.de>

Implement the same PLT reduction technique used in GTK+:
/external/bluetooth/glib/glib/gfileutils.c
981fe434ee9c9a8a3336cbc0ebf13740d86291d4 27-Aug-2004 Matthias Clasen <mclasen@redhat.com> Fix #151193, Stepan Kasal:

2004-08-27 Matthias Clasen <mclasen@redhat.com>

Fix #151193, Stepan Kasal:

* glib/gfileutils.c (g_file_error_from_errno):
* glib/gfileutils.h (enum GFileError): Add G_FILE_ERROR_NOSYS.
/external/bluetooth/glib/glib/gfileutils.c
aaa2ab083eb69743a3f9b95c06aff58bca4987fa 14-Dec-2003 Hans Breuer <hans@breuer.org> make g_file_test(,G_FILE_TEST_IS_EXECUTABLE) return something useful on

2003-12-14 Hans Breuer <hans@breuer.org>

* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
return something useful on win32, too.
/external/bluetooth/glib/glib/gfileutils.c
55d624d80cbc962c0dfbdecfba7e128b3b332e31 16-Aug-2003 Tor Lillqvist <tml@iki.fi> Fix #117925 (Dov Grobgeld):

2003-08-16 Tor Lillqvist <tml@iki.fi>

Fix #117925 (Dov Grobgeld):

* glib/gutils.c (g_find_program_in_path, g_basename,
g_path_get_basename, g_path_is_absolute, g_path_skip_root,
g_path_get_dirname, g_get_any_init): On Win32, look also for
slashes ('/') as pathname separators.

* glib/gfileutils.c (g_file_open_tmp): Ditto. If the template
contains a pathname separator, include the actual one in the error
message, instead of always the canonical one.

(g_build_filename): Separate implementation on Win32 that looks
for either slash or backslash. Document Unix/Windows differences.

* tests/testglib.c
* tests/strfunc-test.c: Test above functionality on Win32.
/external/bluetooth/glib/glib/gfileutils.c
15edef6ff25c05dfd145a85a8495f555f07aa5f6 30-Jul-2003 Matthias Clasen <matthiasc@src.gnome.org> Rename g_read_link() to g_file_read_link() to better match the remaining

* glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link() to better match the remaining file
utilities in the g_file_ namespace and to better separate it from readlink(). This is hopefully no problem
as the function is just 2 days old.
/external/bluetooth/glib/glib/gfileutils.c
cf9779628e9b301efdf6dbafaf64774c28877ab4 29-Jul-2003 Matthias Clasen <maclas@gmx.de> Use gchar, gint, gsize instead of char, int, size_t in the interface for

2003-07-29 Matthias Clasen <maclas@gmx.de>

* glib/gqsort.[hc] (g_qsort_with_data):
* glib/gconvert.[hc] (g_filename_to_uri, g_filename_from_uri):
* glib/gfileutils.[hc] (g_mkstemp, g_file_open_tmp): Use gchar, gint, gsize instead of char, int, size_t
in the interface for consistency. (#118567)
/external/bluetooth/glib/glib/gfileutils.c
355eb381900a42f6dcabeb21579db9aa686906a3 28-Jul-2003 Matthias Clasen <matthiasc@src.gnome.org> New function g_read_link(). (#72545)

* glib/gfileutils.h:
* glib/gfileutils.c: New function g_read_link(). (#72545)
/external/bluetooth/glib/glib/gfileutils.c
a412fb16541620ed72da86daac0774afe4703d9d 25-Jul-2003 Matthias Clasen <matthiasc@src.gnome.org> Remove some explicit Docbook markup which is no longer necessary
since gtk-doc does the right thing.
/external/bluetooth/glib/glib/gfileutils.c
12bc3d826c37d5eb675e1875a1726aa776bcafa0 12-Dec-2002 Tor Lillqvist <tml@iki.fi> Fix off-by-one error. (#100853)

2002-12-11 Tor Lillqvist <tml@iki.fi>

* glib/gtimer.c (g_timer_elapsed): Fix off-by-one error. (#100853)

* glib/gfileutils.c (g_file_test): Bypass extra test for root on
Win32.

* glib/glib.def: Add g_{get,set}_application_name.
/external/bluetooth/glib/glib/gfileutils.c
87f9f15180b1dbc9dbdc447c48764fd26fd7c9b0 09-Dec-2002 Owen Taylor <otaylor@redhat.com> Guard against the POSIX allowed behavior where access (file, X_OK)

Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>

* glib/gfileutils.c (g_file_test): Guard against
the POSIX allowed behavior where access (file, X_OK)
succeeds for uid==0 when no executable bits are set.

* glib/gfileutils.c (g_file_test): Add doc notes
about the possibility of race conditions, and the
fact that EXISTS and IS_EXECUTABLE give results
for the real uid not the effective user ID.
(#81854, Morten Welinder.)
/external/bluetooth/glib/glib/gfileutils.c
4009574b70564ae9f04e8407b76e7a970de18066 25-Nov-2002 Matthias Clasen <matthiasc@src.gnome.org> Document that the varargs must be NULL-terminated. (#99510)

* glib/gfileutils.c (g_build_path):
(g_build_filename): Document that the varargs must be
NULL-terminated. (#99510)
/external/bluetooth/glib/glib/gfileutils.c
8dd32f57032effcadb1933bf810384cfdec23600 26-Jul-2002 Owen Taylor <otaylor@src.gnome.org> hu Jul 25 14:23:15 2002 Owen Taylor <otaylor@redhat.com>

* glib/gfileutils.c: Clarify the behavior of g_build_path()
for empty elements and for leading and trailing copies
of the separator in the docs.

* glib/gfileutils.c: Fix problems with leading elements
consisting only of "/" characters. (#85928, Guillaume Chazarain)

* tests/strfunc-test.c (main): Add more test cases
for g_build_filename().
/external/bluetooth/glib/glib/gfileutils.c
81ad1bb215d718b16e7e68ac0d95e078e766234e 20-May-2002 Owen Taylor <otaylor@redhat.com> Fix double close of file descriptor on error. (#82139, Wayne Schuller)

Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>

* glib/gfileutils.c (get_contents_regfile): Fix double
close of file descriptor on error. (#82139, Wayne Schuller)

* glib/gspawn.c (close_and_invalidate): Don't close
fd's that have already been closed. (Fix from Michael
Meeks, #81959)

* glib/giochannel.c (g_io_channel_close): If not flushing,
dump the contents of the write buffers, so we won't try
to write them to an invalid fd later. (Patch from Ron Steinke,
fixing #78290, Andreas Persenius.)
/external/bluetooth/glib/glib/gfileutils.c
eccf6b573bcc21851695583c3dfd9b1217427fb6 20-Mar-2002 Owen Taylor <otaylor@redhat.com> Close the file descriptor. (#75507, Matthias Clasen)

Wed Mar 20 11:17:32 2002 Owen Taylor <otaylor@redhat.com>

* glib/gfileutils.c (get_contents_regfile): Close the
file descriptor. (#75507, Matthias Clasen)
/external/bluetooth/glib/glib/gfileutils.c
cef5d28c897af6b057d04420ebd040e70e5a693e 08-Mar-2002 Owen Taylor <otaylor@redhat.com> Final updates for 2.0.0

Fri Mar 8 10:20:46 2002 Owen Taylor <otaylor@redhat.com>

* NEWS: Final updates for 2.0.0

* glib/gstrfuncs.c: Convert the results of strerror()
and strsignal() to UTF-8.

* glib/gconvert.c glib/gdir.c glib/giochannel.c glib/giounix.c
glib/giowin32.c: Use g_strerror(), not strerror().
/external/bluetooth/glib/glib/gfileutils.c
96dece61ef1af527519aa7fc141a30ee3a367351 10-Feb-2002 Hans Breuer <hans@breuer.org> no sym links on win32, no lstat in msvcrt

2002-02-10 Hans Breuer <hans@breuer.org>

* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt

* tests/makefile.msc.in : added uri-test
/external/bluetooth/glib/glib/gfileutils.c
8db64a1a968fec1363e99a908cffeea0095f60d0 08-Feb-2002 Sebastian Wilhelmi <wilhelmi@ira.uka.de> Extended documentation.


2002-02-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* glib/gfileutils.c (g_file_test): Extended documentation.
/external/bluetooth/glib/glib/gfileutils.c
eb188551274db1afed026c0cd3871095ff0a5702 07-Feb-2002 Sebastian Wilhelmi <wilhelmi@ira.uka.de> Do not follow symbolic links for G_FILE_TEST_SYMLINK. Also fixed the


2002-02-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* glib/gfileutils.c (g_file_test): Do not follow symbolic links
for G_FILE_TEST_SYMLINK. Also fixed the correct "OR"-behaviour for
G_FILE_TEST_IS_EXECUTABLE and G_FILE_TEST_EXISTS. (#60048)
/external/bluetooth/glib/glib/gfileutils.c
9504ea2f6f125954badb7278fcbddeace79be32d 21-Dec-2001 Matthias Clasen <matthiasc@src.gnome.org> Remove FIXME. (#67063)

* glib/gfileutils.c (g_file_get_contents): Remove FIXME. (#67063)

* glib/glib-sections.txt: Move g_get_charset() to the
Charset conversion section. (#65630)
/external/bluetooth/glib/glib/gfileutils.c
b0a42f20581f7131ee10756571e20ee2a52d827f 18-Dec-2001 Havoc Pennington <hp@pobox.com> use g_try_malloc and return error on not-enough-memory

2001-12-16 Havoc Pennington <hp@pobox.com>

* glib/gfileutils.c (get_contents_regfile): use g_try_malloc and
return error on not-enough-memory
(get_contents_stdio): ditto
/external/bluetooth/glib/glib/gfileutils.c
a52e2986cd4a2147cfc8d41ae23d98907caaf3a0 16-Dec-2001 Matthias Clasen <matthiasc@src.gnome.org> Minor markup fixes.


* glib/gshell.c, glib/gspawn.c, glib/gspawn-win32.c, glib/gerror.c,
glib/gfileutils.c, glib/ghash.c, glib/gmain.c, glib/gasyncqueue.c,
glib/gtree.c: Minor markup fixes.

* glib/tmpl/caches.sgml: GCs are cached by GTK, not by GDK.
/external/bluetooth/glib/glib/gfileutils.c
71075ee0db9c46f6081c5683e15cdcd84cd6d23d 18-Sep-2001 Tim Janik <timj@gtk.org> add simple test for g_path_get_basename().

Tue Sep 18 18:19:33 2001 Tim Janik <timj@gtk.org>

* tests/testglib.c: add simple test for g_path_get_basename().

* glib/gfileutils.c (g_file_open_tmp):
* glib/gstrfuncs.c (g_strerror): scratch erroneous usages
of "illegal".
/external/bluetooth/glib/glib/gfileutils.c
16fc3b22c0ae7ca268f34d554da4f4850748d335 10-Sep-2001 Owen Taylor <otaylor@redhat.com> Doc fixes.

Mon Sep 10 11:42:58 2001 Owen Taylor <otaylor@redhat.com>

* glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
Doc fixes.
/external/bluetooth/glib/glib/gfileutils.c
9393fc899e8126243dbeebedab68eb63022a7b30 10-Sep-2001 Owen Taylor <otaylor@redhat.com> Add g_build_path(), g_build_filename(), to create separated paths,

Sat Sep 8 17:14:51 2001 Owen Taylor <otaylor@redhat.com>

* glib/gfileutils.[ch]: Add g_build_path(),
g_build_filename(), to create separated paths,
suppressing duplicate separators, from varargs
lists.

* tests/strfunc-test.c: Add tests for g_build_path(),
g_build_filename().
/external/bluetooth/glib/glib/gfileutils.c
83c4b0988e15615609d771125968423ab1764139 19-Jul-2001 Owen Taylor <otaylor@redhat.com> Fix memory leak and dubious list manipulation. (Found by Ron Koerner,

Thu Jul 19 16:05:21 2001 Owen Taylor <otaylor@redhat.com>

* glib/gcompletion.c (g_completion_complete): Fix memory
leak and dubious list manipulation. (Found by
Ron Koerner, #53408)

* glib/gfileutils.c (get_contents_stdio): Call fclose()
on FILE * on error. (#57057)
/external/bluetooth/glib/glib/gfileutils.c
f5c28ce4ab8e8015a1432060b6cfe547183b2f9e 23-Jun-2001 Owen Taylor <otaylor@redhat.com> Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane.

Wed Jun 20 12:00:54 2001 Owen Taylor <otaylor@redhat.com>

Changes for 64-bit cleanliness, loosely based on patch
from Mark Murnane.

* gconvert.c (g_convert/g_convert_with_fallback): Remove
workarounds for since-fixed GNU libc bugs. Minor
doc fix.

* gconvert.[ch]: Change gint to gsize/gssize as
appropriate.

* gconvert.c (g_locale/filename_to/from_utf8): Fix incorrect
computation of bytes_read / bytes_written.

* gfileutils.[ch] (g_file_get_contents): Make length
out parameter 'gsize *len'.

* ghook.c (g_hook_compare_ids): Don't compare a
and b as 'a - b'.

* gmacros.h (GSIZE_TO_POINTER): Add GPOINTER_TO_SIZE,
GSIZE_TO_POINTER.

* gmain.c (g_timeout_prepare): Rewrite to avoid
overflows. (Fixes bug when system clock skews
backwards more than 24 days.)

* gmarkup.[ch]: Make lengths passed to callbacks
gsize, length for g_markup_parse-context_parse(),
g_markup_escape_text() gssize.

* gmessages.[ch] (g_printf_string_upper_bound): Change
return value to gsize.

* gmessages.c (printf_string_upper_bound): Remove
a ridiculous use of 'inline' on a 300 line function.

* gstring.[ch]: Represent size of string as a gsize,
not gint. Make parameters to functions take gsize,
or gssize where -1 is allowed.

* gstring.c (g_string_erase): Make
g_string_erase (string, pos, -1) a synonym for
g_string_truncate for consistency with other G*
APIs.

* gstrfuncs.[ch]: Make all functions taking a string
length, take a gsize, or gssize if -1 is allowed.
(g_strstr_len, g_strrstr_len). Also fix some boundary
conditions in g_str[r]str[_len].

* gutf8.c tests/unicode-encoding.c: Make parameters that
are byte lengths gsize, gssize as appropriate. Make
character offsets, other counts, glong.

* gasyncqueue.c gcompletion.c
timeloop.c timeloop-basic.c gutils.c gspawn.c.
Small 64 bit cleanliness fixups.

* glist.c (g_list_sort2, g_list_sort_real): Fix functions
that should have been static.

* gdate.c (g_date_fill_parse_tokens): Fix extra
declaration that was shadowing another.

* tests/module-test.c: Include string.h

Mon Jun 18 15:43:29 2001 Owen Taylor <otaylor@redhat.com>

* gutf8.c (g_get_charset): Make argument
G_CONST_RETURN char **.
/external/bluetooth/glib/glib/gfileutils.c
4eab875811c415d894626b51818a447adfa1af71 16-Apr-2001 Havoc Pennington <hp@redhat.com> docs

2001-04-16 Havoc Pennington <hp@redhat.com>

* gqsort.c: docs

* gfileutils.c: docs

* gwin32.c: docs fixes

* gconvert.c: docs

* guniprop.c: docs

* gutf8.c: docs
/external/bluetooth/glib/glib/gfileutils.c
5c00c3497209ae2d5c59f32032ce02f2f0943d10 09-Mar-2001 Tor Lillqvist <tml@iki.fi> Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>.

2001-02-21 Tor Lillqvist <tml@iki.fi>

Cygwin support contributed by Stefan Ondrejicka
<ondrej@idata.sk>. Hopefully I got it all in while simultaneously
adding support for auto*/libtool for mingw.

* Makefile.am: Changes for auto* support on Cygwin and Win32. Do
still distribute the hand-written makefiles and *.win32.in files,
though. Use GIO, GSPAWN and PLATFORMDEP macros set by configure.
Use -no-undefined. Pass -export-symbols glib.def to libtool.

* configure.in: Define G_PLATFORM_WIN32 on both pure Win32 (mingw)
and Cygwin. Add AC_CYGWIN, AC_EXEEXT and AC_LIBTOOL_WIN32_DLL
calls for Cygwin and mingw support. Check for %I64u guint64
format (in MS C library). Set G_MODULE_IMPL on mingw and
Cygwin. Use ac_object and ac_exeext. Set GIO, GSPAWN, PLATFORMDEP
and G_LIBS_EXTRA. Compile timeloop only on Unix. Define OS_WIN32
automake conditional on Win32.

* glib.h: Include gwin32.h also on Cygwin.

* gfileutils.c (get_contents_posix): Use O_BINARY (defined as 0 on
Unix) for Cygwin's sake.

* gtimer.c (GETTIME): Reduce #ifdefs, use a macro GETTIME().

* gconvert.c
* gthread.c
* gutf8.c
* gutils.c: For code needed both on Cygwin and native Win32,
test for G_PLATFORM_WIN32.

* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
in case compiling a static library on Win32 or Cygwin.

* gwin32.c: No <direct.h> on Cygwin. No need for ftruncate() or
dirent emulation on Cygwin.
(get_package_directory_from_module) Convert return value from
GetModuleFileName() to POSIX path on Cygwin.

* tests/Makefile.am (progs_LDADD): Link with libglib, libgthread
and libgmodule as appropriate. Use -no-undefined.

* gbacktrace.c: Move #ifdefs around a bit on Win32.

* gshell.c (unquote_string_inplace): Make static.
/external/bluetooth/glib/glib/gfileutils.c
1c391cc69846713b0406545146ea232efc5f34e2 18-Feb-2001 Havoc Pennington <hp@pobox.com> include string.h

2001-02-17 Havoc Pennington <hp@pobox.com>

* gthread.c: include string.h

Applied patch from Soeren Sandmann:

* testglib.c: const fixes

* gwin32.h: format cleanups

* gutils.c (g_atexit): constify a variable
(g_find_program_in_path): constification
(g_basename): G_CONST_RETURN
(g_path_skip_root): G_CONST_RETURN
(g_getenv): G_CONST_RETURN
(g_get_user_name): G_CONST_RETURN
(g_get_real_name): G_CONST_RETURN
(g_get_home_dir): G_CONST_RETURN
(g_get_tmp_dir): G_CONST_RETURN
(g_get_prgname): G_CONST_RETURN
(_glib_gettext): G_CONST_RETURN

* gunicode.h: formatting cleanups

* gstrfuncs.c (g_strerror): G_CONST_RETURN
(g_strsignal): G_CONST_RETURN

* gspawn.c (g_execute): const on variables

* gmessages.c (printf_string_upper_bound): fix const on a variable

* gmem.c (g_mem_chunk_new): make the "name" arg const
(struct _GRealMemChunk): make the "name" field const

* gfileutils.c (g_file_open_tmp): store const return in a const
gchar* variable

* gdataset.c (g_quark_to_string): G_CONST_RETURN

2001-02-17 Havoc Pennington <hp@pobox.com>

Applied patch from Soeren Sandmann:

* gvaluetypes.c (g_value_get_string): G_CONST_RETURN

* gtype.c (g_type_name): G_CONST_RETURN

* gsignal.c (g_signal_name): G_CONST_RETURN

* gobject-query.c (main): const fix

2001-02-17 Havoc Pennington <hp@pobox.com>

Applied patch from Soeren Sandmann:

* gmodule.c (g_module_error): G_CONST_RETURN
(g_module_name): G_CONST_RETURN
/external/bluetooth/glib/glib/gfileutils.c
59ce63340afe1b2ab62dd31683410e36b45bd1a3 19-Jan-2001 Kjartan Maraas <kmaraas@gnome.org> Fix typo. Same here.

2001-01-19 Kjartan Maraas <kmaraas@gnome.org>

* gconvert.c: Fix typo.
* gfileutils.c: Same here.
/external/bluetooth/glib/glib/gfileutils.c
b8796462fbed70f55219da6c3c8f6611de8f2a8c 16-Jan-2001 Owen Taylor <otaylor@redhat.com> Add gettext support.

Mon Jan 15 21:12:49 2001 Owen Taylor <otaylor@redhat.com>

* configure.in acconfig.h glibintl.h gutils.c
po/{Makefile.in.in,POTFILES.in,po2tbl.in}: Add gettext
support.

* glib-gettext.m4 acinclude.m4: Clean up the GTK+ gettext macros
some more and put them in this file, though they also need
to be included in acinclude.m4 due to the brokeness of
aclocal.

* gspawn.c gspawn-win32.c gutf8.c gconvert.c gfileutils.c
gshell.c: Remove dummy _() #defines, include glibintl.m4.
/external/bluetooth/glib/glib/gfileutils.c
ebf8fe6a929775945d17d820377e5eb974f3f3d0 05-Jan-2001 Tor Lillqvist <tml@iki.fi> Look also for (illegal) forward slashes in the template.

2001-01-05 Tor Lillqvist <tml@iki.fi>

* gfileutils.c (g_file_open_tmp): (Win32:) Look also for (illegal)
forward slashes in the template.

* gutils.c (g_path_skip_root): On Win32, skip the \\server\share
part of UNC paths. On all platforms, skip several initial
slashes. Add a few comments.
(g_get_any_init): On Win32, in case HOME is Unix-style with
(forward) slashes (some other applications apparently set it up
this way, convert to backslashed form.

* configure.in (glib_os): Remove stray 'v'. Add case for mingw,
although using configure for mingw surely doesn't work yet.

* glib.def: Update.
/external/bluetooth/glib/glib/gfileutils.c
e2fd4e2bd0589b159f87b491095565d16fac2789 05-Dec-2000 Owen Taylor <otaylor@redhat.com> Major change in API for creating sources to handle multiple main loops

Tue Dec 5 12:23:04 2000 Owen Taylor <otaylor@redhat.com>

* gmain.[hc]: Major change in API for creating sources
to handle multiple main loops (GMainContext *).

GSources are now exposed as GSource * and implemented
with structure derivation.

* giochannel.[ch]: Changed vtable for GIOChannel to correspond
to the new mainloop API, add g_io_channel_create_watch().

* gtypes.h: Move GTimeVal here.

* gthread.h: Remove gmain.h include to avoid circularity.

* giounix.c: Update for new GMain API.

* giowin32.c: Update for new GMain API. (No check for
proper compilation or working.)

* timeloop.c timeloop-basic.c: A benchmarking program for
the main loop comparing the main loop against a
hand-written (timeloop-basic.c) variant.

* tests/mainloop-test.c: New torture test of mainloop.

* docs/Changes-2.0.txt: Started. Added text about
changes to GMain.

* gmain.c (g_main_add_poll_unlocked): Initial fd->revents
to zero. (#8482, Benjamin Kahn)
/external/bluetooth/glib/glib/gfileutils.c
a3036a5bd2119e53bd90e9daa6182e9d26538879 21-Nov-2000 Sebastian Wilhelmi <wilhelmi@ira.uka.de> Add a surrogate for thread priorities using PID niceness for systems with


2000-11-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* configure.in: Add a surrogate for thread priorities using PID
niceness for systems with no thread priorities and different PIDs
for threads of the same process (most notably: Linux). Define
G_THREAD_USE_PID_SURROGATE in that case, as used by
gthread-posix.c. Also make the system thread bigger by
sizeof (long) to contain the thread's PID.

* gfileutils.c: Include stdlib.h for mkstemp prototype.

* gthread.c: Add priority range checks to the affected functions.

* gthreadpool.c: Remove unused variable.

* gthread-impl.c, gthread-posix.c, gthread-solaris.c: Removed
g_thread_map_priority function in favour of the
g_thread_priority_map array. Initialize the array with
PRIORITY_{...}_VALUE, if available and interpolate beetween the
bounds if .._NORMAL_.. and .._HIGH_.. are not available.

* gthread-posix.c: If we should use the PID niceness as a
surrogate for thread priorities (G_THREAD_USE_PID_SURROGATE is
defined), then disable normal priority handling and use PIDs and
setpriority() instead. Depends on the thread to write its PID into
the place after the thread id right after thread creation.
/external/bluetooth/glib/glib/gfileutils.c
b1376c12d9074db95003f2673f53036b571b52e9 13-Nov-2000 Owen Taylor <otaylor@redhat.com> Up version to 1.3.2

Mon Nov 13 14:00:20 2000 Owen Taylor <otaylor@redhat.com>

* configure.in: Up version to 1.3.2

* gconvert.h (enum GConvertError): Remove trailing ,

* gfileutils.c (g_file_open_tmp): Fix comment to
properly describe return value.
/external/bluetooth/glib/glib/gfileutils.c
91d5e23f5fa8b9eda5cf07c3aedec46256183550 12-Nov-2000 Owen Taylor <otaylor@redhat.com> template is a reserved word in C++ s/template/tmpl/.

Sun Nov 12 15:29:53 2000 Owen Taylor <otaylor@redhat.com>

* gfileutils.[ch]: template is a reserved word in
C++ s/template/tmpl/.
/external/bluetooth/glib/glib/gfileutils.c
4f76917c6a239dfcecfd87682799953e27681be9 11-Nov-2000 Tor Lillqvist <tml@iki.fi> Improve chance to generate unique names with less effort a bit.

2000-11-11 Tor Lillqvist <tml@iki.fi>

* gfileutils.c (g_mkstemp): Improve chance to generate unique
names with less effort a bit.

* gfileutils.h: Add g_file_open_tmp() declaration.

* testglib.c: Include <io.h> on Win32.

* makefile.mingw.in: Correct the way to invoke sub-makes.

2000-11-11 Tor Lillqvist <tml@iki.fi>

* gtypemodule.c: Include stdlib.h for exit().

* makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypemodule.

* gobject.def: Add new functions.
/external/bluetooth/glib/glib/gfileutils.c
daa8fe28cd7aca4c9af5f36e354ee47ceb2c6ba1 11-Nov-2000 Tor Lillqvist <tml@src.gnome.org> Add comment about template parameter to g_file_open_tmp() not being
modified. And correspondingly, remove unnecessary char buffer.
/external/bluetooth/glib/glib/gfileutils.c
997215e7477075bfa05a9f21a639f3d8f74d2144 11-Nov-2000 Tor Lillqvist <tml@iki.fi> New function, suggested by Havoc earlier this month. (g_mkstemp): Use only

2000-11-11 Tor Lillqvist <tml@iki.fi>

* gfileutils.c (g_file_open_tmp): New function, suggested by Havoc
earlier this month.
(g_mkstemp): Use only one case for letters in temp file name, as
this will be used on systems with case-insensitive file systems.

* testglib.c (main): Test g_mkstemp() and g_file_open_tmp().
/external/bluetooth/glib/glib/gfileutils.c
110c6cbac8d9cbddc27dcdf3f6c22889262fcc54 05-Nov-2000 Havoc Pennington <hp@pobox.com> Added

2000-11-05 Havoc Pennington <hp@pobox.com>

* glib/tmpl/spawn.sgml, glib/tmpl/markup.sgml,
glib/tmpl/fileutils.sgml: Added

* glib/Makefile.am: Add new files

* glib/glib-sections.txt: Add stuff from -unused

2000-11-05 Havoc Pennington <hp@pobox.com>

* gutils.c (g_find_program_in_path): cleanup docs, sync param
names to those in the header

* gfileutils.c (g_mkstemp): clean up docs

* gshell.h: sync param names with param names in .c file

* gfileutils.h (enum GFileTest): remove trailing comma from last
member, confuses gtk-doc

* gmarkup.h: s/GMarkupErrorType/GMarkupError/g; to follow
convention
/external/bluetooth/glib/glib/gfileutils.c
03f908d84bb8fa48ce4893bc350f4dfd84be7213 31-Oct-2000 Tor Lillqvist <tml@src.gnome.org> Also move the #define for O_BINARY from gutils.c to gfileutils.c.
/external/bluetooth/glib/glib/gfileutils.c
dd3f4d6bb37b2f8eb4722bcbd2560a45ac1fa2d9 30-Oct-2000 Tor Lillqvist <tml@iki.fi> gutils.c gutils.h gfileutils.c Actually, g_mkstemp() is better suited in

2000-10-31 Tor Lillqvist <tml@iki.fi>

* gutils.c
* gutils.h
* gfileutils.c
* gfileutils.h: Actually, g_mkstemp() is better suited in gfileutils.
/external/bluetooth/glib/glib/gfileutils.c
4905022b8ecaf794faa9ce4ad9977cb7725e0b49 19-Oct-2000 Tor Lillqvist <tml@iki.fi> Pass -DGSPAWN_HELPER when building it. Link with user32.lib.

2000-10-19 Tor Lillqvist <tml@iki.fi>

* makefile.msc.in: Pass -DGSPAWN_HELPER when building it. Link
with user32.lib.

* gspawn-win32.c
* gfileutils.c: Make them compile with picky MSVC.

* gwin32.h: New file. Move Win32-only stuff that isn't related to
GIOChannels here from giochannel.h.

* Makefile.am: Add it here.

* giochannel.h: Move stuff to gwin32.h.

* glib.h: On Win32, include gwin32.h.
/external/bluetooth/glib/glib/gfileutils.c
fb4de1c50d96cd500f53f7701629fd01ec99d7ad 16-Oct-2000 Tor Lillqvist <tml@iki.fi> Some more debugging output. (g_io_channel_win32_poll): Remove unused vars.

2000-10-16 Tor Lillqvist <tml@iki.fi>

* giowin32.c (reader_thread): Some more debugging output.
(g_io_channel_win32_poll): Remove unused vars.

* gfileutils.c: Changes for Win32, with no unistd.h and no
S_ISLNK().

* gspawn-win32.c: Implementation of the g_spwan_* functions for
Win32. Due to the general non-Unixness of Win32, much of the
functionality that is relatively clean to implement on Unix, is
hard to do on Win32. We must use a separate helper program to
change directory, close extra file descriptors, redirect the std
ones, as needed, and only then start the child process. No child
process pid can be returned, unfortunately. Or if we used
CreateProcess directly, it probably could. (Now we use the spawnv*
functions from msvcrt.)

* glib.def: Add new entry points.

* glib.def
* giowin32.c: Remove g_io_channel_win32_wait_for_condition(),
g_io_channel_win32_poll() subsumes it.

* gbacktrace.h: G_BREAKPOINT for MSVC (on the ix86).

* gwin32.c (g_win32_getlocale): Use "sp" for
LANG_CROATIAN+SUBLANG_SERBIAN_LATIN.

* makefile.{mingw,msc}.in (glib_OBJECTS): Add new files.
Add gspawn-win32-helper.exe rule.

* tests/makefile.{mingw,msc}.in (TESTS): Add shell-test and
spawn-test.

* tests/spawn-test.c: (run_tests): On Win32, don't try to run
/bin/sh, but ipconfig (no special significance in choosing that,
just a program that outputs something to stdout).
/external/bluetooth/glib/glib/gfileutils.c
8e3a3eef63c3c298c93fa8f8e827b10dd1b6327c 09-Oct-2000 Havoc Pennington <hp@redhat.com> Add new files.

2000-10-09 Havoc Pennington <hp@redhat.com>

* Makefile.am, tests/Makefile.am: Add new files.

* tests/spawn-test.c, tests/shell-test.c: new tests for
the shell/spawn stuff

* gutils.c (g_find_program_in_path): convert a relative
program name into an absolute pathname to an existing
executable

* gspawn.h, gspawn.c: New fork/exec API

* gshell.h, gshell.c: Shell-related utilities, at the moment
simply routines to parse argv and quote/unquote strings

* guniprop.c (g_unichar_isspace): Return TRUE for the
ASCII space characters isspace() returns TRUE for.

* gfileutils.c (g_file_get_contents): Convenience function
to slurp entire file into a string and return it. Partially
written by Joel Becker.
(g_file_test): file test function
/external/bluetooth/glib/glib/gfileutils.c