1. 15 Mar, 2007 5 commits
    • Marco Barisione's avatar
      Add GRegex for regular expression matching. (#50075) · 0196d639
      Marco Barisione authored
      2007-03-15  Marco Barisione <marco@barisione.org>
      
      	Add GRegex for regular expression matching.  (#50075)
      
      	* configure.in: Handle GRegex compilation.
      
      	* glib/gregex.c:
      	* glib/gregex.h: Code for GRegex.
      
      	* glib/Makefile.am:
      	* glib/makefile.msc.in: Updated makefiles.
      
      	* glib/pcre/*: Internal copy of PCRE.
      
      	* glib/update-pcre/*: Stuff to automatically update the internal PCRE
      	to a newer version.
      
      	* tests/regex-test.c:
      	* tests/Makefile.am:
      	* tests/makefile.msc.in: Add tests for GRegex.
      
      svn path=/trunk/; revision=5408
      0196d639
    • Chris Wilson's avatar
      Replace a g_slist_prepend/g_slist_remove pair with an on-stack link and · af867179
      Chris Wilson authored
      2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
      
      	* glib/gmain.c (g_main_dispatch): Replace a
      	g_slist_prepend/g_slist_remove pair with an on-stack link
      	and open coding. (#416094)
      
      
      svn path=/trunk/; revision=5407
      af867179
    • Matthias Clasen's avatar
      Use g_slice. (#404430, Chris Wilson) · 617862f3
      Matthias Clasen authored
      2007-03-15  Matthias Clasen  <mclasen@redhat.com>
      
              * gvaluearray.c: Use  g_slice.  (#404430, Chris Wilson)
      
      
      svn path=/trunk/; revision=5406
      617862f3
    • Matthias Clasen's avatar
      Some optimizations, use a lookup table for character classes, pre-allocate · 57c2e6f7
      Matthias Clasen authored
      2007-03-15  Matthias Clasen  <mclasen@redhat.com>
      
              * glib/gscanner.[hc]: Some optimizations, use a lookup
              table for character classes, pre-allocate GStrings with
              reasonable sizes.  (#415323, Charlie Brej)
      
      
      
      svn path=/trunk/; revision=5405
      57c2e6f7
    • Matthias Clasen's avatar
      Fix a small typo. (#417947, Bobby Jack) · b2eed3f1
      Matthias Clasen authored
      2007-03-14  Matthias Clasen  <mclasen@redhat.com>
      
              * glib/gkeyfile.c (g_key_file_get_double): Fix a
              small typo.  (#417947, Bobby Jack)
      
      
      
      svn path=/trunk/; revision=5404
      b2eed3f1
  2. 14 Mar, 2007 2 commits
  3. 12 Mar, 2007 1 commit
  4. 11 Mar, 2007 1 commit
  5. 10 Mar, 2007 1 commit
  6. 09 Mar, 2007 1 commit
    • Matthias Clasen's avatar
      Return negative values. (#416062) · 2a867b1f
      Matthias Clasen authored
      2007-03-08  Matthias Clasen  <mclasen@redhat.com>
      
              * glib/gstrfuncs.c (g_strtoll): Return negative values.
              (#416062)
      
              * tests/strtoll-test.c: Add more testcases.
      
      
      
      svn path=/trunk/; revision=5390
      2a867b1f
  7. 08 Mar, 2007 1 commit
  8. 06 Mar, 2007 10 commits
  9. 04 Mar, 2007 1 commit
  10. 01 Mar, 2007 1 commit
  11. 27 Feb, 2007 2 commits
  12. 21 Feb, 2007 1 commit
  13. 17 Feb, 2007 2 commits
    • Kjartan Maraas's avatar
      Updated Norwegian bokmål translation. · 55ce11da
      Kjartan Maraas authored
      2007-02-17  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* nb.po: Updated Norwegian bokmål translation.
      
      svn path=/trunk/; revision=5341
      55ce11da
    • Tor Lillqvist's avatar
      New Win32-only function. Use the wide character Win32 API to do the work · 13e2070a
      Tor Lillqvist authored
      2007-02-17  Tor Lillqvist  <tml@novell.com>
      
      	* glib/gdate.c (win32_strftime_helper): New Win32-only
      	function. Use the wide character Win32 API to do the work of
      	strftime(): GetThreadLocale(), GetLocaleInfoW(), GetDateFormatW()
      	and GetTimeFormatW().
      	(g_date_strftime): On Windows use win32_strftime_helper()
      	instead of strftime() to avoid codepage issues with strftime().
      	Unfortunately using wcsftime() would not help either. (#404832)
      
      
      svn path=/trunk/; revision=5339
      13e2070a
  14. 16 Feb, 2007 1 commit
    • Soren Sandmann's avatar
      For move, test moving between two sequences. Add test for swap. · f13d070e
      Soren Sandmann authored
      2007-02-16  Soren Sandmann <sandmann@redhat.com>
      
      	* tests/sequence-test.c: For move, test moving between two
      	sequences. Add test for swap.
      
      	* glib/gsequence.c: Replace splay tree with a treap.
      	(check_node): Add checks for the treap invariants.
      
      
      svn path=/trunk/; revision=5337
      f13d070e
  15. 13 Feb, 2007 1 commit
  16. 10 Feb, 2007 2 commits
    • Stefan Kost's avatar
      Format XML to be more editable. Describe Interfaces better. Add a footnote · 8ec7d6ca
      Stefan Kost authored
      * gobject/tut_gobject.xml:
      * gobject/tut_gsignal.xml:
      * gobject/tut_gtype.xml:
      * gobject/tut_howto.xml:
      * gobject/tut_intro.xml:
      * gobject/tut_tools.xml:
      Format XML to be more editable. Describe Interfaces better. Add a
      footnote at first occurance of 'maman_'.
      
      svn path=/trunk/; revision=5334
      8ec7d6ca
    • Hans Breuer's avatar
      added gsequence.obj · bdca945d
      Hans Breuer authored
      2007-02-10  Hans Breuer  <hans@breuer.org>
      
      	* glib/makefile.msc.in : added gsequence.obj
      
      
      svn path=/trunk/; revision=5333
      bdca945d
  17. 09 Feb, 2007 1 commit
    • Søren Sandmann's avatar
      Remove assertion. Return TRUE if the iter doesn't have a parent. Fix · 49eaf7a6
      Søren Sandmann authored
      Fri Feb  9 17:46:18 2007  Søren Sandmann  <sandmann@redhat.com>
      
             * glib/gsequence.c (g_sequence_get_end_iter): Remove assertion.
             * glib/gsequence.c (is_end): Return TRUE if the iter doesn't have
             a parent.
             * glib/gsequence.c: Fix grammar of comment. 
             * glib/gsequence.c (node_update_fields): Use a temporary variable
             for the n_nodes.
      
      
      
      svn path=/trunk/; revision=5331
      49eaf7a6
  18. 08 Feb, 2007 1 commit
    • Soren Sandmann's avatar
      Force an arbitrary order on otherwise identical items. · 5fa8f600
      Soren Sandmann authored
      2007-02-07  Soren Sandmann <sandmann@daimi.au.dk>
      
      	* tests/sequence-test.c (compare_items): Force an arbitrary order
      	on otherwise identical items. 
      
      	* glib/gsequence.c: Add comment discussing splay trees vs. other trees. 
      	* glib/gsequence.c (is_end): Add fast path for the common case
      	when the node is not actually the end node.
      
      
      svn path=/trunk/; revision=5328
      5fa8f600
  19. 07 Feb, 2007 1 commit
    • Stefan Kost's avatar
      Unify spelling of GObject and GType. Improve some wording. Update the · b8fcf708
      Stefan Kost authored
      * gobject/tut_gobject.xml:
      * gobject/tut_gsignal.xml:
      * gobject/tut_gtype.xml:
      * gobject/tut_howto.xml:
      * gobject/tut_tools.xml:
      Unify spelling of GObject and GType. Improve some wording. Update the
      usage of private data. Make tables use row-spans and add id's to them.
      
      svn path=/trunk/; revision=5327
      b8fcf708
  20. 06 Feb, 2007 1 commit
  21. 05 Feb, 2007 1 commit
  22. 04 Feb, 2007 1 commit
    • Soren Sandmann's avatar
      Add a new 'real_sequence' field. (g_sequence_new): Initialize · 576a5d41
      Soren Sandmann authored
      2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
      
              * glib/gsequence.c (struct _GSequence): Add a new 'real_sequence'
              field.
              (g_sequence_new): Initialize real_sequence to the sequence
              (g_sequence_sort_iter): Set real_sequence of the temporary
              sequence to the real sequence.
              (g_sequence_sort_changed_iter): Same
              (g_sequence_insert_sorted_iter): Same
              (g_sequence_search_iter): Same
              (g_sequence_iter_get_sequence): Return real_sequence
      
              * tests/sequence-test.c (compare_iters): Insert assertions that
              the iters point to the sequence being manipulated.
      
      
      svn path=/trunk/; revision=5323
      576a5d41
  23. 03 Feb, 2007 1 commit
    • Soren Sandmann's avatar
      New files implementing GSequence, a list implemented using a binary tree. · 674c4df4
      Soren Sandmann authored
      2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
      
      	* glib/gsequence.[ch]: New files implementing GSequence, a list
      	implemented using a binary tree.
      	* glib/glib.h, glib/glib.symbols: Update for GSequence.
      	* docs/reference: Add documentation for GSequence
      	* tests: Add sequence-test.c, a thorough test of all of 
      	the GSequence API.
      
      
      svn path=/trunk/; revision=5322
      674c4df4