glib/glib
Ryan Lortie afd1e36970 Change GLib size units policy
This commit changes GLib size units policy.  We now prefer SI units and
allow for use of proper IEC units where desired.

g_format_size_for_display() which incorrectly mixed IEC units with SI
suffixes is left unmodified, but has been deprecated.

g_format_size() has been introduced which uses SI units and suffixes.

g_format_size_full() has also been added which takes a flags argument to
allow for use of IEC units (with correct suffixes).  It also allows for
a "long format" output which includes the total number of bytes.  For
example: "238.5 MB (238,472,938 bytes)".
2011-07-20 20:06:35 +02:00
..
glib-mirroring-tab removed all .cvsignore files. SVN doesn't need them. 2007-01-03 11:22:36 +00:00
gnulib Replace -I with $(glib_INCLUDES) and friends 2010-08-06 13:10:34 -04:00
libcharset Quiet down the build a bit 2011-05-28 14:29:08 -04:00
pcre Forgotten files 2011-01-22 00:01:54 -05:00
tests Change GLib size units policy 2011-07-20 20:06:35 +02:00
update-pcre Replace -I with $(glib_INCLUDES) and friends 2010-08-06 13:10:34 -04:00
.gitignore update .gitignores 2011-06-12 16:17:30 -04:00
abicheck.sh Simply symbols files 2011-05-23 00:21:06 -04:00
galloca.h docs: Inline docs from tmpl/memory.smgl 2010-09-01 09:48:16 +02:00
garray.c Fix doc typos 2011-06-04 14:43:52 -04:00
garray.h Bug 580450 – Reference counting and boxed types for arrays 2009-04-29 11:17:23 -04:00
gasyncqueue.c Volatile not necessary after all 2011-05-28 22:33:37 -04:00
gasyncqueue.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gatomic.c Fix gatomic.c compilation on Windows (MSVC) 2011-06-07 08:20:15 +08:00
gatomic.h Consistently use G_GNUC_EXTENSION instead of __extension__ 2011-05-31 10:35:38 -04:00
gbacktrace.c Drop the warnings.sgml template 2011-07-19 20:40:28 -04:00
gbacktrace.h Drop the warnings.sgml template 2011-07-19 20:40:28 -04:00
gbase64.c gbase64: fix introspection annotations 2011-05-11 20:10:25 +02:00
gbase64.h Whitespace cleanup 2010-09-03 19:34:28 -04:00
gbitlock.c bitlock: don't use asm goto on older gcc 2011-06-08 22:39:35 -04:00
gbitlock.h Implement pointer sized bitlocks 2011-06-03 20:50:18 -04:00
gbookmarkfile.c Don't assert too much 2010-08-03 10:25:54 -04:00
gbookmarkfile.h Fix a typo 2010-07-10 23:56:45 -04:00
gbsearcharray.h [gbsearcharray] Use malloc() instead of realloc(NULL,...) 2009-07-20 16:03:25 -04:00
gbuffer.c GBuffer: Suffix header with private.h 2011-06-06 09:58:21 -04:00
gbufferprivate.h GBuffer: Suffix header with private.h 2011-06-06 09:58:21 -04:00
gcache.c Correct gtk-doc SECTION: syntax 2011-02-01 16:18:02 -02:00
gcache.h Whitespace cleanup 2010-09-03 19:38:56 -04:00
gchecksum.c Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gchecksum.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gcompletion.c Update annotations from gobject-introspection/gir/glib-2.0.c 2011-06-07 17:07:46 -04:00
gcompletion.h Deprecate some rarely-used APIS 2010-06-23 22:32:35 -04:00
gconvert.c Add some argument checks to filename conversion functions 2011-06-14 21:06:16 -04:00
gconvert.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gdataset.c Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gdataset.h Make g_datalist_get_data not look up the quark 2011-06-03 21:11:26 -04:00
gdatasetprivate.h Don't include glib.h in other headers 2010-09-03 21:24:40 -04:00
gdate.c Fix compiler warnings 2011-05-02 11:50:23 -04:00
gdate.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gdatetime.c Fix doc typos 2011-06-04 14:43:52 -04:00
gdatetime.h Bug 630077 - GDateTime week number support 2010-10-01 11:20:55 -04:00
gdebug.h Move the compiler-dependency in the G_GNUC_INTERNAL definition from 2007-05-17 16:36:53 +00:00
gdir.c Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gdir.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gen-iswide-table.py Bug 648966 - Update g_unichar_iswide and g_unichar_iswide_cjk 2011-04-29 18:03:24 -04:00
gen-script-table.pl Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gen-unicode-tables.pl Remove comp_step_table table 2011-07-14 16:55:35 -04:00
gerror.c Move GError docs inline and ditch template 2011-07-18 23:58:32 -04:00
gerror.h Move GError docs inline and ditch template 2011-07-18 23:58:32 -04:00
gfileutils.c Change GLib size units policy 2011-07-20 20:06:35 +02:00
gfileutils.h Change GLib size units policy 2011-07-20 20:06:35 +02:00
ghash.c Add iter_replace API to GHashTableIter 2011-06-20 23:05:59 -04:00
ghash.h Add iter_replace API to GHashTableIter 2011-06-20 23:05:59 -04:00
ghook.c More include cleanups 2010-09-03 23:03:14 -04:00
ghook.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
ghostutils.c ghostutils: Convert non-ASCII dots to '.' when converting hostnames 2010-12-15 03:56:35 -05:00
ghostutils.h Add hostname-related utilities in glib/ghostutils.h 2009-04-22 08:36:02 -04:00
gi18n-lib.h Bug 548321 – <string.h> is not included in gi18n-lib.h 2008-09-11 16:48:44 +00:00
gi18n.h Bug 548321 – <string.h> is not included in gi18n-lib.h 2008-09-11 16:48:44 +00:00
giochannel.c Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
giochannel.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
giounix.c glib: Fix enumeration warnings from gcc 4.5 2010-12-02 20:11:28 +01:00
giowin32.c Annotate all custom GIO GSource using g_source_set_name 2010-07-10 20:09:34 -04:00
gkeyfile.c Update annotations from gobject-introspection/gir/glib-2.0.c 2011-06-07 17:07:46 -04:00
gkeyfile.h g_key_file_has_key_full: New function to fix g_key_file_has_key()'s GError semantics 2011-05-18 11:53:21 -04:00
glib_probes.d Initial support for dtrace and systemtap 2010-05-27 14:51:41 -04:00
glib_trace.h Initial support for dtrace and systemtap 2010-05-27 14:51:41 -04:00
glib-object.h Clean up includes 2011-05-28 23:27:24 -04:00
glib-unix.c No need to have two variants of errno-to-GError 2011-06-05 22:20:18 -04:00
glib-unix.h Documentation tweaks 2011-05-28 21:12:52 -04:00
glib.h Clean-up/tweaking of GDateTime and GTimeZone 2010-09-17 11:40:10 -04:00
glib.py glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
glib.rc.in Update the year in the *.rc.in files 2011-06-07 08:55:31 +08:00
glib.stp.in Initial support for dtrace and systemtap 2010-05-27 14:51:41 -04:00
glib.symbols Change GLib size units policy 2011-07-20 20:06:35 +02:00
glibconfig.h.win32.in move glibconfig.h to glib/ 2010-07-12 15:33:05 -04:00
glibintl.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
glist.c Optimize g_[s]list_free_full a bit 2011-07-10 20:42:58 -04:00
glist.h Bug 158725 - free linked list with data 2010-10-28 11:20:57 -04:00
gmacros.h Formally deprecate G_CONST_RETURN 2011-06-13 09:27:41 -04:00
gmain-internal.h glib-unix: New API to watch some Unix signals 2011-04-27 16:01:39 -04:00
gmain.c gmain: Fall back to pipes if kernel doesn't support EFD_CLOEXEC for eventfd() 2011-06-28 10:03:15 -04:00
gmain.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gmappedfile.c GBuffer: Suffix header with private.h 2011-06-06 09:58:21 -04:00
gmappedfile.h GMappedFile: add refcounting, switch to GSlice 2009-06-18 15:01:18 -04:00
gmarkup.c Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gmarkup.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gmem.c Correct gtk-doc SECTION: syntax 2011-02-01 16:18:02 -02:00
gmem.h Consistently use G_GNUC_EXTENSION instead of __extension__ 2011-05-31 10:35:38 -04:00
gmessages.c Drop the warnings.sgml template 2011-07-19 20:40:28 -04:00
gmessages.h Drop the warnings.sgml template 2011-07-19 20:40:28 -04:00
gmirroringtable.h Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gnode.c Correct gtk-doc SECTION: syntax 2011-02-01 16:18:02 -02:00
gnode.h Improve some GNode docs 2010-07-08 19:26:25 -04:00
goption.c Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
goption.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gpattern.c Correct gtk-doc SECTION: syntax 2011-02-01 16:18:02 -02:00
gpattern.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gpoll.c Include giochannel.c for G_IO_IN, etc. 2010-09-13 16:52:51 +02:00
gpoll.h Move main loop docs inline 2010-07-10 23:56:45 -04:00
gprimes.c Move gutils docs inline 2011-06-08 23:44:39 -04:00
gprimes.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gprintf.c Fix usage of _GNU_SOURCE 2011-05-03 07:07:41 -04:00
gprintf.h make it possible to disable single-file includes by defining 2008-03-14 19:30:38 +00:00
gprintfint.h Fix #147651, reported by Oliver Guntermann: 2004-07-21 17:51:28 +00:00
gqsort.c Fix usage of _GNU_SOURCE 2011-05-03 07:07:41 -04:00
gqsort.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gquark.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gqueue.c Move GQueue docs inline 2011-07-17 23:38:58 -04:00
gqueue.h Move GQueue docs inline 2011-07-17 23:38:58 -04:00
grand.c GRand: avoid overflow 2011-06-03 23:37:23 -04:00
grand.h grand: Fix URLs for info on the Mersenne Twister 2010-12-17 16:12:16 +00:00
gregex.c add g_regex_escape_nul 2011-07-11 00:02:22 -04:00
gregex.h add g_regex_escape_nul 2011-07-11 00:02:22 -04:00
grel.c Correct gtk-doc SECTION: syntax 2011-02-01 16:18:02 -02:00
grel.h Deprecate some rarely-used APIS 2010-06-23 22:32:35 -04:00
gscanner.c Added and Moved checks for includes 2010-11-09 09:53:12 +08:00
gscanner.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gscripttable.h Update to Unicode 6.0 2011-01-21 16:30:19 -05:00
gsequence.c Fix doc typos 2011-06-04 14:43:52 -04:00
gsequence.h New API: g_sequence_lookup() and g_sequence_lookup_iter() 2010-12-20 17:30:58 +01:00
gshell.c g_shell_parse_argv: Annotate 2011-05-31 13:10:28 -04:00
gshell.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gslice.c Fix usage of _GNU_SOURCE 2011-05-03 07:07:41 -04:00
gslice.h Remove redudant check for direct #include gslice.h 2010-02-22 00:35:45 -05:00
gslist.c Optimize g_[s]list_free_full a bit 2011-07-10 20:42:58 -04:00
gslist.h Bug 158725 - free linked list with data 2010-10-28 11:20:57 -04:00
gspawn-win32-helper.c glib/giowin32.c glib/gmain.c glib/gspawn-win32.c Change gssize casts 2008-08-04 18:46:59 +00:00
gspawn-win32.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gspawn.c Move documentation to inline comments: spawn 2011-07-06 22:13:05 +01:00
gspawn.h Move documentation to inline comments: spawn 2011-07-06 22:13:05 +01:00
gstdio.c Fix build on Windows and possibly other non-Linux platforms 2010-09-06 15:57:32 +03:00
gstdio.h Fix build breakage on Unix 2010-03-30 20:46:46 +03:00
gstrfuncs.c Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gstrfuncs.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
gstring.c Correct gtk-doc SECTION: syntax 2011-02-01 16:18:02 -02:00
gstring.h Move documentation to inline comments: spawn 2011-07-06 22:13:05 +01:00
gtester-report gtester-report: Add an optional 'revision' node 2010-12-28 16:35:12 +00:00
gtester.c gtester: Count inability to run a test in a binary as a failure 2011-07-18 14:10:35 +02:00
gtestutils.c Documentation additions 2011-05-06 07:14:48 -04:00
gtestutils.h API: testutils: Add g_test_fail() 2011-04-18 14:52:29 +02:00
gthread.c gthread: avoid locking in _get_mutex_impl 2011-06-03 21:42:51 -04:00
gthread.h G_STATIC_REC_MUTEX_INIT: Fix missing initialization. 2011-07-04 08:58:00 +02:00
gthreadpool.c glib: Rewrite gatomic.[ch] 2011-05-28 16:10:44 -04:00
gthreadpool.h Remove redundant comments 2011-05-28 22:49:59 -04:00
gthreadprivate.h Bug 548967 - 1 bit mutex lock 2010-01-28 12:40:46 -05:00
gtimer.c Correct gtk-doc SECTION: syntax 2011-02-01 16:18:02 -02:00
gtimer.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gtimezone.c GBuffer: Suffix header with private.h 2011-06-06 09:58:21 -04:00
gtimezone.h Fix a few parameter mismatches in the docs 2011-04-11 13:20:55 -04:00
gtree.c Fix doc typos 2011-06-04 14:43:52 -04:00
gtree.h GTree: switch to GSlice, add refcounts (#587773) 2009-07-05 12:30:54 +01:00
gtypes.h Move gutils docs inline 2011-06-08 23:44:39 -04:00
gunibreak.c Remove redundant header inclusions 2010-09-03 20:38:30 -04:00
gunibreak.h Update to Unicode 6.0 2011-01-21 16:30:19 -05:00
gunichartables.h Update to Unicode 6.0 2011-01-21 16:30:19 -05:00
gunicode.h Fix doc formatting errors 2011-07-19 00:02:57 -04:00
gunicodeprivate.h Don't include glib.h in other headers 2010-09-03 21:12:03 -04:00
gunicollate.c Add some more individual own header includes where required 2010-09-12 14:05:49 +03:00
gunicomp.h Update to Unicode 6.0 2011-01-21 16:30:19 -05:00
gunidecomp.c Move Unicode docs inline, ditch template 2011-07-18 23:23:17 -04:00
gunidecomp.h Remove comp_step_table table 2011-07-14 16:55:35 -04:00
guniprop.c Stop using deprecated g_unicode_canonical_decomposition() 2011-07-20 19:42:06 +02:00
gurifuncs.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gurifuncs.h don't #include <glib.h> from other public headers 2010-01-30 00:01:26 -05:00
gutf8.c Unicode: add a g_utf8_substring convenience api 2011-06-23 21:31:40 -04:00
gutils.c Move version docs inline 2011-07-17 23:50:31 -04:00
gutils.h Move version docs inline 2011-07-17 23:50:31 -04:00
gvariant-core.c GVariant: add g_variant_take_ref() 2011-07-12 19:44:21 +02:00
gvariant-core.h GBuffer: Suffix header with private.h 2011-06-06 09:58:21 -04:00
gvariant-internal.h GVariant variable arguments, tests, cleanups 2010-03-08 10:31:19 -05:00
gvariant-parser.c Drop dead code in GVariant parser 2011-06-14 22:45:06 -04:00
gvariant-serialiser.c Docs: Change DBus to D-Bus 2011-04-04 09:22:06 +02:00
gvariant-serialiser.h GVariant variable arguments, tests, cleanups 2010-03-08 10:31:19 -05:00
gvariant.c GVariant: document avoiding g_variant_iter_loop 2011-07-20 16:34:55 +02:00
gvariant.h GVariant: better support for object path arrays 2011-07-20 16:27:30 +02:00
gvarianttype.c GVariant: fix introspection annotations 2011-05-27 15:56:50 -04:00
gvarianttype.h GVariant: better support for object path arrays 2011-07-20 16:27:30 +02:00
gvarianttypeinfo.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gvarianttypeinfo.h GVariant variable arguments, tests, cleanups 2010-03-08 10:31:19 -05:00
gwin32.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gwin32.h glib/gutils.h Deprecate G_WIN32_DLLMAIN_FOR_DLL_NAME(), 2008-09-13 20:23:17 +00:00
libglib-gdb.py.in Avoid shadowing dir builtin 2010-12-03 14:41:06 -05:00
Makefile.am Don't needlessly use "echo -e" 2011-07-10 20:47:02 -04:00
makefile.msc.in glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
win_iconv.c dos2unix glib/win_iconv.c 2010-09-11 12:08:32 +03:00