glib/glib
Chun-wei Fan db4df9908e gconstructor: Work around constructors being optimized away on MSVC
Whole program optimization is enabled by default in visual studio
release builds, and this causes constructors (for e.g. resources) to be
optimized away as they are not referenced from elsewhere.

This works around this by some pragma magic.

https://bugzilla.gnome.org/show_bug.cgi?id=752837
2015-11-12 15:01:54 +08:00
..
deprecated Fix g_cond_timed_wait() timeout with !CLOCK_MONOTONIC 2014-10-10 06:41:55 -04:00
glib-mirroring-tab Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gnulib gnulib: forgot some changes from HAVE_LONG_LONG_INT to HAVE_LONG_LONG 2015-10-15 17:42:02 +02:00
libcharset Updated FSF's address 2014-01-31 14:31:55 +01:00
pcre all: remove use of 'register' keyword 2014-06-28 13:07:52 -04:00
tests Update .gitignore for overflow tests 2015-11-05 09:42:36 -05:00
update-pcre Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
.gitignore update .gitignores 2011-06-12 16:17:30 -04:00
docs.c GLib: add bounds-checked unsigned int arithmetic 2015-10-30 11:58:49 +01:00
galloca.h docs: Fix formatting of g_alloca documentation. 2014-06-28 13:43:23 -04:00
garray.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
garray.h GArray: Documentation cleanups 2014-02-01 20:46:29 -05:00
gasyncqueue.c Documentation fixups 2015-09-21 06:44:58 -04:00
gasyncqueue.h GAsyncQueue: Add some useful api 2015-06-29 08:20:26 -07:00
gasyncqueueprivate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gatomic.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gatomic.h Revert "gatomic: statically assert that our assumptions hold" 2014-07-23 09:28:23 -04:00
gbacktrace.c Docs: replace <literal> by ` 2014-02-06 08:07:16 -05:00
gbacktrace.h gbacktrace: fix G_BREAKPOINT on Darwin (OSX, iOS) 2015-07-09 10:39:42 -04:00
gbase64.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gbase64.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gbitlock.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gbitlock.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gbookmarkfile.c gbookmarkfile: Cleaner error handling code to pacify static analysis 2014-06-12 13:25:06 -04:00
gbookmarkfile.h docs: Replace <structname> tags with back ticks 2014-05-31 19:22:15 +01:00
gbsearcharray.h Require C90 compliance 2013-11-20 09:16:16 -05:00
gbytes.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gbytes.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gcharset.c GI annotation for g_get_charset() 2015-02-08 16:06:17 +01:00
gcharset.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gcharsetprivate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gchecksum.c all: remove use of 'register' keyword 2014-06-28 13:07:52 -04:00
gchecksum.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gconstructor.h gconstructor: Work around constructors being optimized away on MSVC 2015-11-12 15:01:54 +08:00
gconvert.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gconvert.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
gdataset.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gdataset.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gdatasetprivate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gdate.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gdate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gdatetime.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gdatetime.h docs: Replace <structname> tags with back ticks 2014-05-31 19:22:15 +01:00
gdir.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gdir.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
gen-unicode-tables.pl unicode: Switch compose_second_single to gunichar 2014-06-28 12:49:07 -04:00
genviron.c glib/genviron.c, GSubprocessLauncher: ain't no "filename encoding" 2015-06-05 14:53:34 -04:00
genviron.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
gerror.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gerror.h docs: Replace <structname> tags with back ticks 2014-05-31 19:22:15 +01:00
gfileutils.c gfileutils: Mark the return value from g_path_skip_root() as nullable 2015-03-03 17:59:50 +00:00
gfileutils.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
ggettext.c ggettext: Include an example of setlocale() and friends in the i18n docs 2015-01-15 14:22:25 +00:00
ggettext.h Updated FSF's address 2014-01-31 14:31:55 +01:00
ghash.c Return value of g_hash_table_get_{keys,values} is (transfer container) 2015-11-07 18:55:17 +02:00
ghash.h Updated FSF's address 2014-01-31 14:31:55 +01:00
ghmac.c hmac: Add support for SHA-512 in GHmac 2014-04-16 16:20:46 +01:00
ghmac.h Updated FSF's address 2014-01-31 14:31:55 +01:00
ghook.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
ghook.h Updated FSF's address 2014-01-31 14:31:55 +01:00
ghostutils.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
ghostutils.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gi18n-lib.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gi18n.h Updated FSF's address 2014-01-31 14:31:55 +01:00
giochannel.c Convert remaining uses of 'Rename to:' 2015-03-12 16:55:22 -04:00
giochannel.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
giounix.c Updated FSF's address 2014-01-31 14:31:55 +01:00
giowin32.c win32: make sure bytes_read/written is set to 0 on error 2015-10-23 10:34:50 +02:00
gkeyfile.c gkeyfile: Handle whitespace after boolean values 2015-10-21 15:26:53 +13:00
gkeyfile.h Updated FSF's address 2014-01-31 14:31:55 +01:00
glib_probes.d Add some mainloop instrumentation 2013-11-23 00:22:09 -05:00
glib_trace.h Updated FSF's address 2014-01-31 14:31:55 +01:00
glib-autocleanups.h Move GStrv typedef to glib.h instead of gobject.h 2015-09-22 11:18:30 -04:00
glib-init.c Export glib_init via GLIB_PRIVATE_CALL 2015-10-07 23:39:29 -04:00
glib-init.h Export glib_init via GLIB_PRIVATE_CALL 2015-10-07 23:39:29 -04:00
glib-object.h gobject: add support for g_auto() and g_autoptr() 2015-01-30 16:52:36 +01:00
glib-private.c Maintain the struct order when initializing 2015-10-08 12:32:58 +01:00
glib-private.h Export glib_init via GLIB_PRIVATE_CALL 2015-10-07 23:39:29 -04:00
glib-unix.c Convert remaining uses of 'Rename to:' 2015-03-12 16:55:22 -04:00
glib-unix.h docs: Remove a few trailing <literal>s 2014-02-14 21:49:42 -05:00
glib.h glib: add support for g_auto() and g_autoptr() 2015-01-30 16:52:36 +01:00
glib.py Make gdb pretty-printers compatible with Python3 2013-12-18 07:22:16 +11:00
glib.rc.in Update the year in the *.rc.in files 2011-06-07 08:55:31 +08:00
glib.stp.in Add some mainloop instrumentation 2013-11-23 00:22:09 -05:00
glibconfig.h.win32.in Move G_POLLFD_FORMAT to glibconfig.h 2015-11-02 20:03:38 +02:00
glibintl.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
glist.c glist: Clarify that g_list_nth() is expensive 2015-03-03 18:40:33 +00:00
glist.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gmacros.h macros: add dummy __has_builtin() 2015-10-30 11:58:49 +01:00
gmain-internal.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gmain.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gmain.h gmain: Document return value of GSourceFuncs.dispatch 2015-08-02 17:37:12 +02:00
gmappedfile.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gmappedfile.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gmarkup.c Remove some unused code 2015-09-07 09:50:41 -04:00
gmarkup.h doc: various improvements 2014-05-09 18:47:42 +02:00
gmem.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gmem.h glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gmessages.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gmessages.h Revert use of the system_header GCC pragma 2015-09-22 15:14:14 +01:00
gmirroringtable.h Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gnode.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gnode.h glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
goption.c GOptionContext: Don't crash without main group 2015-07-27 07:53:40 -04:00
goption.h goption: Mention type of G_OPTION_ARG_CALLBACK in documentation 2015-03-13 09:10:25 +00:00
gpattern.c all: remove use of 'register' keyword 2014-06-28 13:07:52 -04:00
gpattern.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gpoll.c gmain: don't pass the same fd to g_poll() multiple times 2014-10-29 17:19:20 -04:00
gpoll.h Move G_POLLFD_FORMAT to glibconfig.h 2015-11-02 20:03:38 +02:00
gprimes.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gprimes.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gprintf.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gprintf.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gprintfint.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gqsort.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gqsort.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gquark.c Move quark initialization to a constructor 2015-09-12 11:13:45 -04:00
gquark.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gqueue.c Simplify code that uses g_queue_insert_before() and insert_after() 2014-11-09 20:42:50 +01:00
gqueue.h docs: Use markdown links in all .c and .h files 2014-04-15 22:19:07 +02:00
grand.c grand: Only use rand_s() when targetting Visual Studio >= 2005 2014-09-15 22:25:08 +03:00
grand.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gregex.c regex: if PCRE is 8.34 or later, disable auto-possessification for DFA 2015-06-09 18:15:28 +01:00
gregex.h Minor documentation additions and corrections 2014-05-31 10:54:02 -04:00
gscanner.c Minor documentation additions and corrections 2014-05-31 10:54:02 -04:00
gscanner.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gscripttable.h Update to Unicode 8.0 2015-10-04 10:24:06 -04:00
gsequence.c Stop using g_sequence_get_length() to check if it's empty 2015-10-30 11:35:28 -04:00
gsequence.h sequence: add g_sequence_is_empty() 2015-10-15 12:54:09 -07:00
gshell.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gshell.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gslice.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gslice.h Use G_STMT_START/END in gslice.h 2015-01-14 16:21:00 +01:00
gslist.c glist: Mention that g_list_length() is bad for checking list emptiness 2015-02-11 09:17:33 +00:00
gslist.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gspawn-win32-helper.c win32: Replace usage of __wgetmainargs() 2015-07-23 04:22:59 -04:00
gspawn-win32.c Change W32 console detection to look at the window, not stdout 2014-08-05 06:44:01 +00:00
gspawn.c win32: Replace usage of __wgetmainargs() 2015-07-23 04:22:59 -04:00
gspawn.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
gstdio.c Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
gstdio.h Make sure GStatBuf is typedefed correctly 2015-04-05 11:09:22 +00:00
gstrfuncs.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gstrfuncs.h Move GStrv typedef to glib.h instead of gobject.h 2015-09-22 11:18:30 -04:00
gstring.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gstring.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gstringchunk.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gstringchunk.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtester-report Make gtester-report compatible with Python 3 2015-11-05 12:53:19 +01:00
gtester.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gtestutils.c gtestutils: Fix a function name in a documentation example 2015-11-07 13:55:24 +01:00
gtestutils.h testutils: remove internal ABI comment 2015-10-05 15:32:41 +02:00
gthread-posix.c thread: Check sysconf value before using it 2015-05-28 21:54:52 -04:00
gthread-win32.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gthread.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gthread.h gmem.h, gthread.h: Include glib/gutils.h 2015-02-10 23:17:07 +08:00
gthreadpool.c GThreadPool: Add some queue manipulation api 2015-06-29 08:20:26 -07:00
gthreadpool.h GThreadPool: Add some queue manipulation api 2015-06-29 08:20:26 -07:00
gthreadprivate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtimer.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gtimer.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtimezone.c Fix typos in gbytes_hash and g_time_zone_find_interval docs 2014-07-14 08:39:34 -04:00
gtimezone.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtranslit-data.h Add locale-sensitive ASCII transliteration API 2014-02-20 18:27:24 -05:00
gtranslit.c g_str_to_ascii(): a couple of minor tweaks 2014-02-20 18:32:42 -05:00
gtrashstack.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gtrashstack.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtree.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gtree.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtypes.h GLib: add bounds-checked unsigned int arithmetic 2015-10-30 11:58:49 +01:00
gunibreak.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gunibreak.h Update to Unicode 8.0 2015-10-04 10:24:06 -04:00
gunichartables.h Update to Unicode 8.0 2015-10-04 10:24:06 -04:00
gunicode.h Update to Unicode 8.0 2015-10-04 10:24:06 -04:00
gunicodeprivate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gunicollate.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gunicomp.h unicode: Update to unicode 7.0.0 2014-06-28 12:49:38 -04:00
gunidecomp.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gunidecomp.h Update to Unicode 8.0 2015-10-04 10:24:06 -04:00
guniprop.c Update to Unicode 8.0 2015-10-04 10:24:06 -04:00
gurifuncs.c Convert external links to markdown syntax 2014-02-05 21:23:28 -05:00
gurifuncs.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gutf8.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gutils.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gutils.h Avoid a false deprecation 2015-08-20 20:20:48 -04:00
gvariant-core.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gvariant-core.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gvariant-internal.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gvariant-parser.c gvariant-parser: Clarify g_variant_parse() returns a non-floating ref 2015-04-22 00:02:06 +01:00
gvariant-serialiser.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gvariant-serialiser.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gvariant.c g_variant_get_child(): flatten-first logic on '&' 2015-09-29 10:17:28 -04:00
gvariant.h add GVariantDict 2014-02-04 11:56:06 +00:00
gvarianttype.c Convert GVariantType table to a list 2014-02-08 13:43:16 -05:00
gvarianttype.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gvarianttypeinfo.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gvarianttypeinfo.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gversion.c Minor documentation additions and corrections 2014-05-31 10:54:02 -04:00
gversion.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gversionmacros.h glib: Add 2.48 availibity macros 2015-09-29 08:26:13 -04:00
gwakeup.c gwakeup: Clarify buffer sizing in g_wakeup_signal() 2014-06-21 17:41:31 +01:00
gwakeup.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gwin32.c gwin32.c: Fix g_win32_check_windows_version() on 32-bit 2015-10-27 09:28:10 +08:00
gwin32.h Win32: Move g_win32_check_windows_version() to the correct place in header 2015-03-12 16:09:14 -04:00
libglib-gdb.py.in Avoid shadowing dir builtin 2010-12-03 14:41:06 -05:00
Makefile.am Cleanup and Enhance the MSVC Project Generation 2015-09-03 19:10:06 +08:00
makefile.msc.in win32: Use timeGetTime as monotonic base 2011-11-16 09:10:46 +01:00
update-gtranslit.py Add locale-sensitive ASCII transliteration API 2014-02-20 18:27:24 -05:00
valgrind.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
win_iconv.c Silence a controversial warning in win_iconv 2014-08-02 12:38:39 +00:00