Commit Graph

544 Commits

Author SHA1 Message Date
Matthias Clasen
e81747cdc0 Add some discouraging comments to the G_INLINE_FUNC macros. (#310836,
2005-07-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/macros_misc.sgml: Add some discouraging
	comments to the G_INLINE_FUNC macros.  (#310836,
	Callum McKenzie)
2005-07-20 15:41:19 +00:00
Matthias Clasen
e2f521eb19 Add docs for #307047, Bryan Silverthorn.
2005-07-19  Matthias Clasen  <mclasen@redhat.com>

        * glib/tmpl/byte_order.sgml: Add docs for #307047,
        Bryan Silverthorn.
2005-07-19 18:36:39 +00:00
Matthias Clasen
1760b7074d 2.7.3 2005-07-15 17:28:17 +00:00
Matthias Clasen
deef36d182 Add G_VA_COPY
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-overrides.txt: Add G_VA_COPY
2005-07-13 18:57:18 +00:00
Matthias Clasen
7b70e24179 Warn if a short name is not acceptable.
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (g_option_group_add_entries): Warn if a
	short name is not acceptable.
2005-07-13 13:31:30 +00:00
Matthias Clasen
58dd4814b2 Add and implement a new flag to turn off the automatic <groupname>-
2005-07-12  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.h (G_OPTION_FLAG_NOALIAS):
	* glib/goption.c: Add and implement a new flag
	to turn off the automatic <groupname>- prefixing
	for conflict resolution of long option names. (#171840,
	Adam McLaurin)

	All optional callback arguments  (#308886, Pawel
	Sliwowski)

	* glib/goption.h (G_OPTION_FLAG_OPTIONAL_ARG):
	* glib/goption.c: Add and implement a new flag
	to indicate that a callback *optionally* takes another
	argument.

	* tests/option-test.c: Add tests for optional arguments.
2005-07-12 18:56:25 +00:00
Matthias Clasen
138f260fbc 2.7.2 2005-07-08 15:48:32 +00:00
Matthias Clasen
ec872e77c7 Add the "new in 2.8" index.
2005-07-08  Matthias Clasen  <mclasen@redhat.com>

	* gobject/gobject-docs.sgml:
	* glib/glib-docs.sgml: Add the "new in 2.8" index.
2005-07-08 15:04:29 +00:00
Matthias Clasen
f77e7d1272 Add an example 2005-07-05 05:54:42 +00:00
Matthias Clasen
399b0456ce 2.7.1 2005-06-30 21:01:58 +00:00
Matthias Clasen
18ccd90ef8 Updates 2005-06-30 03:13:35 +00:00
Matthias Clasen
748c230205 Add an mmap() wrapper called GMappedFile. (#148218, David Schleef, Behdad
2005-06-24  Matthias Clasen  <mclasen@redhat.com>

	Add an mmap() wrapper called GMappedFile. (#148218,
	David Schleef, Behdad Esfahbod)

	* glib/gmappedfile.[hc]: New files.

	* configure.in: Check for mmap.

	* glib/Makefile.am: Add new files.

	* glib/glib.symbols: Add new functions.

	* glib/glib.h: Include gmappedfile.h

	* tests/mapping-test.c: Tests for GMappedFile.

	* tests/Makefile.am: Add new file.
2005-06-25 03:38:32 +00:00
Matthias Clasen
77e2a25f23 Add new functions 2005-06-23 05:51:40 +00:00
Matthias Clasen
3a7a096682 Add G_OPTION_FLAG_NO_ARG and G_OPTION_FLAG_FILENAME to allow greater
2005-06-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.h:
	* glib/goption.c: Add G_OPTION_FLAG_NO_ARG and
	G_OPTION_FLAG_FILENAME to allow greater control of
	G_OPTION_ARG_CALLBACK options. (#302632, Dan Winship)

	* tests/option-test.c: test callback args
2005-06-18 04:55:26 +00:00
Mathieu Lacage
15c7e35b33 fix typo reported by Hong Gang XU.
2005-06-16  Mathieu Lacage <mathieu@gnome.org>

	* gobject/tut_gtype.xml: fix typo reported by Hong Gang XU.
2005-06-16 07:46:37 +00:00
Matthias Clasen
604ad5fa3d 2.7.0 2005-06-10 15:48:25 +00:00
Matthias Clasen
9eedca42b1 Add g_chdir
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Add g_chdir
2005-06-10 03:13:43 +00:00
Matthias Clasen
f15bb122ce Allow setstacksize to fail. (#304790, Michael Banck)
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gthread-posix.c (g_thread_create_posix_impl): Allow
	setstacksize to fail.  (#304790, Michael Banck)
2005-06-09 15:25:01 +00:00
Matthias Clasen
e6cc98c9cd New function to calculate collation keys which are more suitable for
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gunicode.h:
	* glib/gunicollate.c (g_utf8_collate_key_for_filename):
	New function to calculate collation keys which are more
	suitable for sorting filenames.  (#172690, Ole Laursen)
2005-06-08 05:22:05 +00:00
Mathieu Lacage
8db223409d fix lots of typos, some of which were reported by Leonardo Boshell.
2005-05-25  Mathieu Lacage <mathieu@gnome.org>

	* gobject/tut_*.xml: fix lots of typos,
	some of which were reported by Leonardo Boshell.
2005-05-27 12:04:54 +00:00
Matthias Clasen
d38febf6b3 Point out exceptions to the general GLib data structure locking rules.
2005-05-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/threads.sgml: Point out exceptions to the
	general GLib data structure locking rules.
2005-05-23 19:10:54 +00:00
Matthias Clasen
6b36180679 Add a paragraph about thread safety of GLib data structures.
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/threads.sgml: Add a paragraph about thread
	safety of GLib data structures.
2005-05-20 17:15:37 +00:00
Matthias Clasen
a9fc3503a1 Add a warning 2005-05-20 14:33:21 +00:00
Matthias Clasen
16f730e41d Update an example from 1.3 to 2.x
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/compiling.sgml: Update an example from 1.3 to 2.x
2005-05-20 14:27:54 +00:00
Matthias Clasen
5ece1d7388 Mention 64bit integer types.
2005-05-13  Matthias Clasen  <mclasen@redhat.com>

	* gobject/glib-genmarshal.1:
	* gobject/glib-genmarshal.xml: Mention 64bit integer
	types.
2005-05-13 18:09:01 +00:00
Matthias Clasen
9ec6c1eb4f Fix sloppy language, pointed out by Daniel Vaillard.
2005-05-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/markup.sgml: Fix sloppy language, pointed out by
	Daniel Vaillard.
2005-05-10 13:30:27 +00:00
Matthias Clasen
bc9e9efbaf Add long descriptions.
2005-05-09  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/value_collection.sgml:
	* gobject/tmpl/gboxed.sgml:
	* gobject/tmpl/enumerations_flags.sgml:
	* gobject/tmpl/objects.sgml: Add long descriptions.
2005-05-09 05:25:21 +00:00
Owen Taylor
2ae1a46b4c 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.
2005-05-05 14:57:29 +00:00
Matthias Clasen
1167d7d6a7 Documentation trivia 2005-05-02 15:45:45 +00:00
Matthias Clasen
728ab5ff7e Small additions.
2005-05-02  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml:
	* gobject/tmpl/generic_values.sgml:
	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/value_arrays.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/gtypemodule.sgml:
	* gobject/tmpl/enumerations_flags.sgml: Small additions.
2005-05-02 15:29:43 +00:00
Matthias Clasen
5374882914 Additions 2005-05-01 22:02:16 +00:00
Matthias Clasen
15bd7c1526 More cosmetics 2005-05-01 21:55:40 +00:00
Matthias Clasen
df9f45ca4e cosmetics 2005-05-01 21:53:02 +00:00
Matthias Clasen
9eff594c95 Additions 2005-05-01 21:39:23 +00:00
Matthias Clasen
3ac67799e8 Additions 2005-05-01 21:37:37 +00:00
Matthias Clasen
1c58b74bb9 Additions 2005-05-01 21:28:32 +00:00
Matthias Clasen
62d51bce03 Some additions 2005-05-01 21:20:20 +00:00
Matthias Clasen
a82bcb3107 Add a boxed type for GDate. (#301787, Tim-Philipp Müller)
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gobject.symbols:
	* gboxed.h (G_TYPE_DATE):
	* gboxed.c: Add a boxed type for GDate. (#301787, Tim-Philipp
	Müller)
2005-04-29 18:33:41 +00:00
Stefan Kost
0979140060 all interface examples use 'interface' instead of 'class' 2005-04-23 09:50:36 +00:00
Stefan Kost
f57a5c33c3 add missing image 2005-04-22 18:34:41 +00:00
Stefan Kost
9ce3590d4e merged in docs form the gobject tutorial 2005-04-22 10:27:37 +00:00
Matthias Clasen
ce1509b6ae Clarify the docs for g_ptr_array_free and g_ptr_array_remove_range.
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays_pointer.sgml: Clarify the docs for
	g_ptr_array_free and g_ptr_array_remove_range.  (#170148,
	#170149, Jared Lash)
2005-03-29 13:51:34 +00:00
Matthias Clasen
46fda0cf41 Clarify the docs for g_ptr_array_free. (#170149, Jared Lash)
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays_pointer.sgml: Clarify the docs for
	g_ptr_array_free.  (#170149, Jared Lash)
2005-03-29 13:47:23 +00:00
Tor Lillqvist
dfb8990512 Add Win32 warnings regarding the child setup function.
2005-03-29  Tor Lillqvist  <tml@novell.com>

	* glib/tmpl/spawn.sgml: Add Win32 warnings regarding the child
	setup function.
2005-03-29 08:27:02 +00:00
Matthias Clasen
213e90aa18 Add g_try_new, g_try_new0, g_try_renew and g_try_malloc0. (#169611, Stefan
2005-03-21  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmem.h: Add g_try_new, g_try_new0, g_try_renew and
	g_try_malloc0.  (#169611, Stefan Kost)

	* glib/gmem.c: Implement g_try_malloc0.
2005-03-22 04:09:17 +00:00
Matthias Clasen
103fe49b8e Add g_try_new, g_try_new0 and g_try_renew. (#169611, Stefan Kost)
2005-03-21  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmem.h: Add g_try_new, g_try_new0 and
	g_try_renew.  (#169611, Stefan Kost)
2005-03-22 04:02:13 +00:00
Matthias Clasen
4bd613efc4 Don't copy strings which are marked as static. Don't allow non-canonical
2005-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gparam.c (g_param_spec_internal): Don't copy strings
	which are marked as static. Don't allow non-canonical static
	names.

	* gparam.h (GParamFlags): Add G_PARAM_STATIC_{NAME,NICK,BLURB}
	flags.  (#160655, Ben Maurer)
2005-03-21 04:55:26 +00:00
Matthias Clasen
6aac5ce82c Define G_GNUC_NULL_TERMINATED. (#164706, Marc Meissner)
2005-03-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmacros.h: Define G_GNUC_NULL_TERMINATED.
	(#164706, Marc Meissner)

	* glib/gstrfuncs.h:
	* glib/gfileutils.h: Use G_GNUC_NULL_TERMINATED where
	appropriate.
2005-03-08 05:41:45 +00:00
Matthias Clasen
e42c2fc58f Apply patches by Stefan Kost to document naming restrictions. (#167614)
2005-03-07  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/gparamspec.sgml: Apply patches by
	Stefan Kost to document naming restrictions. (#167614)
2005-03-08 04:43:00 +00:00
Matthias Clasen
1795e0aeb0 Take main group options into account when calculating column size.
2005-02-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (print_help): Take main group options into
	account when calculating column size.  (#166921)
	(g_option_context_parse): Accept -? as documented.  (#166977)
2005-02-11 04:11:34 +00:00