1. 24 May, 2017 1 commit
    • Sébastien Wilmet's avatar
      glib/: LGPLv2+ -> LGPLv2.1+ · f9faac76
      Sébastien Wilmet authored
      All glib/*.{c,h} files have been processed, as well as gtester-report.
      
      12 of those files are not licensed under LGPL:
      
      	gbsearcharray.h
      	gconstructor.h
      	glibintl.h
      	gmirroringtable.h
      	gscripttable.h
      	gtranslit-data.h
      	gunibreak.h
      	gunichartables.h
      	gunicomp.h
      	gunidecomp.h
      	valgrind.h
      	win_iconv.c
      
      Some of them are generated files, some are licensed under a BSD-style
      license and win_iconv.c is in the public domain.
      
      Sub-directories inside glib/:
      
      	deprecated/: processed in a previous commit
      	glib-mirroring-tab/: already LGPLv2.1+
      	gnulib/: not modified, the code is copied from gnulib
      	libcharset/: a copy
      	pcre/: a copy
      	tests/: processed in a previous commit
      
      https://bugzilla.gnome.org/show_bug.cgi?id=776504
      f9faac76
  2. 31 Jan, 2014 1 commit
  3. 21 May, 2013 1 commit
    • Dan Winship's avatar
      Use 'dumb quotes' rather than `really dumb quotes' · 4b94c083
      Dan Winship authored
      Back in the far-off twentieth century, it was normal on unix
      workstations for U+0060 GRAVE ACCENT to be drawn as "‛" and for U+0027
      APOSTROPHE to be drawn as "’". This led to the convention of using
      them as poor-man's ‛smart quotes’ in ASCII-only text.
      
      However, "'" is now universally drawn as a vertical line, and "`" at a
      45-degree angle, making them an `odd couple' when used together.
      
      Unfortunately, there are lots of very old strings in glib, and also
      lots of new strings in which people have kept up the old tradition,
      perhaps entirely unaware that it used to not look stupid.
      
      Fix this by just using 'dumb quotes' everywhere.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=700746
      4b94c083
  4. 13 Jan, 2013 1 commit
  5. 28 Dec, 2012 1 commit
  6. 14 Dec, 2011 1 commit
  7. 12 Oct, 2011 1 commit
  8. 05 May, 2008 1 commit
    • Michael Natterer's avatar
      #define __GLIB_H_INSIDE__ around including everything. · e0aa9d8a
      Michael Natterer authored
      2008-05-05  Michael Natterer  <mitch@imendio.com>
      
      	* glib/glib.h: #define __GLIB_H_INSIDE__ around including
      	everything.
      
      	* glib/*.h: check for that define instead of __G_LIB_H__ if
      	G_DISABLE_SINGLE_INCLUDES is defined.
      
      	* glib/gdatasetprivate.h: #include <glib.h> instead of
      	<glib/gdataset.h>
      
      
      svn path=/trunk/; revision=6875
      e0aa9d8a
  9. 14 Mar, 2008 1 commit
    • Michael Natterer's avatar
      make it possible to disable single-file includes by defining · f4bb21aa
      Michael Natterer authored
      2008-03-14  Michael Natterer  <mitch@imendio.com>
      
      	* glib/*.h: make it possible to disable single-file includes by
      	defining G_DISABLE_SINGLE_INCLUDES when building against GLib.
      	Approved by Tim Janik.
      
      	* glib/glib.h: include <glib/gslice.h>.
      
      	* glib/gi18n.h
      	* glib/gi18n-lib.h
      	* glib/gprintf.h: include <glib.h> so the above works when these
      	files are included without including <glib.h> first.
      
      
      svn path=/trunk/; revision=6713
      f4bb21aa
  10. 16 Mar, 2007 1 commit
  11. 15 Mar, 2007 1 commit
  12. 04 Nov, 2005 1 commit
  13. 12 Oct, 2002 1 commit
    • Tim Janik's avatar
      fix comment. (g_ascii_strtoull): new function, acting like strtoull(3) in · f650a78e
      Tim Janik authored
      Sat Oct 12 21:30:41 2002  Tim Janik  <timj@gtk.org>
      
              * merged up from glib-2-0:
      
              * glib/gstrfuncs.c (g_ascii_strtod): fix comment.
              (g_ascii_strtoull): new function, acting like strtoull(3) in the C
              locale.
      
              * glib/gscanner.[hc]: fix 32bit issues with integer parsing and
              support storing 64bit values in GTokenValue by
              using g_ascii_strtoull().
      f650a78e
  14. 03 Mar, 2002 1 commit
    • Tim Janik's avatar
      added padding. · c467e0fe
      Tim Janik authored
      Sun Mar  3 02:30:05 2002  Tim Janik  <timj@gtk.org>
      
              * glib/gscanner.h (_GScannerConfig): added padding.
      
              * glib/ghook.h (struct _GHook): add two padding pointers.
      c467e0fe
  15. 01 Oct, 2001 1 commit
    • Matthias Clasen's avatar
      make third argument a gboolean. (g_scanner_add_symbol, · 6344b5be
      Matthias Clasen authored
      * glib/gscanner.h (GScannerMsgFunc): make third argument a gboolean.
      (g_scanner_add_symbol, g_scanner_remove_symbol,
      g_scanner_foreach_symbol): mark these
      G_DISABLE_DEPRECATED. (#61469)
      
      * glib/gscanner.c (g_scanner_msg_handler): make third argument gboolean. (#61468)
      6344b5be
  16. 29 Jul, 2001 1 commit
    • Tim Janik's avatar
      if __GNUC__ is defined, inline a test for an exact type match for · 9599c062
      Tim Janik authored
      Wed Jul 18 19:42:31 2001  Tim Janik  <timj@gtk.org>
      
              * gtype.h: if __GNUC__ is defined, inline a test for an exact type
              match for instances and classes in G_TYPE_CHECK_INSTANCE_TYPE() and
              G_TYPE_CHECK_CLASS_TYPE() before calling g_type_instance_is_a().
      
      Sun Jul 29 16:08:17 2001  Tim Janik  <timj@gtk.org>
      
              * glib/gscanner.[hc]: removed deprecated g_scanner_stat_mode().
      
              * glib/gscanner.c (g_scanner_msg_handler): by default, print scanner
              errors and warnings to stderr.
      9599c062
  17. 26 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Move glib library into a subdirectory, make all GLib include files include · 2fd6b001
      Owen Taylor authored
      Tue Jun 26 11:43:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in Makefile.am *.[ch] glib/*.[ch] glib/Makefile.am:
      	Move glib library into a subdirectory, make all GLib include
      	files include as <glib/glist.h>
      
      	* tests/testglib.c tests/testgdate.c tests/testgdateparser.c
      	  tests/timeloop.c tests/timeloop-basic.c: Move all tests into
      	the tests/ subdirectory.
      2fd6b001
  18. 19 Apr, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Remove definition of g_hash_table_freeze and g_hash_table_thaw. Instead · d52e5cd5
      Sebastian Wilhelmi authored
      
      2001-04-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* ghash.c, ghash.h: Remove definition of g_hash_table_freeze and
      	g_hash_table_thaw. Instead added G_DISABLE_DEPRECATED-guarded
      	macros to ghash.h to go along the lines of the standard.
      
      	* gscanner.c, gscanner.h: Dito for g_scanner_freeze_symbol_table
      	and g_scanner_thaw_symbol_table.
      
      	* gutils.c, gutils.h: Dito for g_dirname. g_basename is still
      	defined in gutils.c, but declared ing gutils.h only
      	G_DISABLE_DEPRECATED-guarded.
      d52e5cd5
  19. 18 Mar, 2001 1 commit
    • Tim Janik's avatar
      removed archaic gpointer derived_data; relict and added a GData member · 45fb7194
      Tim Janik authored
      Wed Mar 14 18:46:54 2001  Tim Janik  <timj@gtk.org>
      
              * gscanner.[hc]: removed archaic gpointer derived_data; relict and
              added a GData member instead.
      
              * glist.[hc]: added g_list_remove_all().
      
              * gslist.[hc]: added g_slist_remove_all().
      
      Sat Mar 17 23:18:36 2001  Tim Janik  <timj@gtk.org>
      
              * gobject.c (g_object_get_property): minor bug-fix.
      
              * gbsearcharray.[hc]: provide a macro for static initialization and
              functions g_bsearch_array_new() and g_bsearch_array_destroy() for
              dynamic allocations.
      
              * gboxed.c: introduce G_TYPE_GSTRING, boxed type for GString.
      
              * gclosure.[hc]: naming corrections.
      
      Fri Mar  9 16:42:08 2001  Tim Janik  <timj@gtk.org>
      
              * gvaluetypes.[hc]: moved g_strdup_value_contents() into this file as
              a public function (was static in gobject.c before). it's a bit odd
              to have that function here, especially since it requires extra includes,
              but then it doesn't very well fit somewhere else either.
      
              * gparamspecs.c: added default/max/min checks to param spec creation
              functions.
      45fb7194
  20. 14 Mar, 2001 1 commit
    • Tim Janik's avatar
      made config arg to g_scanner_new() const. · 009942e1
      Tim Janik authored
      Fri Mar  9 18:01:43 2001  Tim Janik  <timj@gtk.org>
      
              * gscanner.[hc]: made config arg to g_scanner_new() const.
      
      Fri Mar  9 16:42:08 2001  Tim Janik  <timj@gtk.org>
      
              * gvaluetypes.[hc]: moved g_strdup_value_contents() into this file as
              a public function (was static in gobject.c before). it's a bit odd
              to have that function here, especially since it requires extra includes,
              but then it doesn't very well fit somewhere else either.
      
              * gparamspecs.c: added default/max/min checks to param spec creation
              functions.
      009942e1
  21. 12 Oct, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Split glib.h into many header files mostly according to the resp. · b1d15587
      Sebastian Wilhelmi authored
      
      2000-10-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h,
      	gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h,
      	ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h,
      	gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h,
      	grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h,
      	gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h
      	into many header files mostly according to the resp. *.c-files.
      
      	* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
      	of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
      	__END_DECLS.
      
      	* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
      	gunicode.h, : Changed guard-macro names to something more
      	consistent.
      
      	* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
      b1d15587