Commit Graph

242 Commits

Author SHA1 Message Date
Matthias Clasen
e4ab381018 Load-at-size functionality for gdk-pixbuf. 2002-07-06 23:10:46 +00:00
Owen Taylor
0c33292747 Fix for cursor screen => display change.
Tue Jun 18 17:02:48 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdk-sections.txt: Fix for cursor screen => display
        change.
2002-06-18 21:02:11 +00:00
Matthias Clasen
96937b32e4 Replace homegrown "nbsp", "hash" and "percent" entities by standard ISO
* gtk/tmpl/gtkprogress.sgml:
	* gtk/tmpl/gtkscale.sgml:
	* gtk/tmpl/gtktreemodel.sgml:
	* gtk/tmpl/gtkimage.sgml:
	* gtk/tmpl/gtksignal.sgml:
	* gtk/tmpl/gtkrc.sgml:
	* gtk/gtk-docs.sgml:
	* gdk/gdk-docs.sgml:
	* gdk/tmpl/threads.sgml:
	* gdk/tmpl/cursors.sgml:
	* gdk/tmpl/rgb.sgml: Replace homegrown "nbsp", "hash" and
	"percent" entities by standard ISO entities "nbsp", "num" and
	"percnt".

	* gtk/text_widget.sgml: Fix a link.
2002-06-03 17:47:31 +00:00
Matthias Clasen
d6bb51e271 Make stock icons appear again (patch by Gediminas Paulauskas):
* gtk/Makefile.am (HTML_IMAGES): Add stock_broken_image_24.png

	* gtk/tmpl/gtkstock.sgml: Fix icon filenames.
2002-05-30 22:06:28 +00:00
Matthias Clasen
2aaf3c0e19 Markup fixes
* gtk/gtkwindow.c (gtk_window_move): Markup fixes

	* gtk/gtkrc.c (gtk_rc_get_module_dir): Markup fixes.

	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_for_screen): Update docs
	for Docbook XML.

	* gtk/*, gdk/*, gdk-pixbuf/*: Create XML, not SGML.

	* gtk/tmpl/*: Remove property documentation which comes from the
	source now.

	* gtk/building.sgml: Remove traces of gxi.
2002-05-28 22:23:55 +00:00
Matthias Clasen
c272baf6ef Bump version to 2.1.0, binary, interface age 0.
* configure.in: Bump version to 2.1.0, binary, interface age 0.

	* gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
	(gtk_container_class_find_child_property): Document.

	* gtk/gtkwidget.c:
	* gtk/gtkwidget.h: New functions gtk_widget_class_list_child_properties
	and gtk_widget_class_find_child_property.  (#80652)
2002-05-05 20:10:38 +00:00
Matthias Clasen
7b168e71eb Doc updates. 2002-05-02 22:28:50 +00:00
Matthias Clasen
8e6c6469d9 set these.
* gdk/Makefile.am (GTKDOC_CFLAGS, GTKDOC_LIBS): set these.

	* gdk/gdk.types: Add types derived from GObject, so that they get
	an object hierarchy section.
2002-05-01 23:02:25 +00:00
Matthias Clasen
410f31819d Move GdkScreen struct to the GdkScreen section.
* gdk/gdk-sections.txt: Move GdkScreen struct to the GdkScreen section.

	* gdk/tmpl/gdkscreen.sgml:
	* gdk/tmpl/gdkdisplay.sgml: Typo and markup fixes.

	* gdk/gdk-docs.sgml: Reorder display and screen sections.

	* gdk/multihead.sgml: Remove references to GdkDisplayManager, typo
	and markup fixes.
2002-05-01 21:29:49 +00:00
Owen Taylor
4f13adf9ff Update for multihead.
Tue Apr 30 14:16:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk-sections.txt: Update for multihead.
2002-04-30 18:16:14 +00:00
Owen Taylor
c117408d9e Update for multihead.
Tue Apr 30 12:26:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk-sections.txt: Update for multihead.

        * multihead.sgml gtk-docs.sgml:	Add overview of
	multihead from	multihead branch.

	* tmpl/gdkdisplay.sgml	tmpl/gdkscreen.sgml: New
        sections from multihead	branch.
2002-04-30 18:07:51 +00:00
Havoc Pennington
7618be2daf half-finished docs on merging GTK with existing hunks of code (event loop
2002-04-30  Havoc Pennington  <hp@redhat.com>

	* gtk/other_software.sgml: half-finished docs on merging GTK with
	existing hunks of code (event loop integration, using threads
	vs. processes, blah blah)
2002-04-30 15:58:51 +00:00
Owen Taylor
a7557dc8f9 Fix some docs duplicated between templates and inline.
Thu Apr 25 22:37:58 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/tmpl/{events,input_devices,region,x_interaction}.sgml:
        Fix some docs duplicated between templates and inline.
2002-04-26 02:39:49 +00:00
Matthias Clasen
b56a552166 Remove GTK_OBJECT_CONNECTED.
* gtk/gtk-sections.txt: Remove GTK_OBJECT_CONNECTED.

	* gtk/gtktreeview.c (gtk_tree_view_stop_editing): Remove doc
	comment markers on freeform comments.
2002-04-24 22:10:35 +00:00
Matthias Clasen
6aac324d3a Fix file corruption that got accidentally delivered. 2002-04-24 18:21:26 +00:00
Matthias Clasen
a8d22aad99 Formatting fix.
* gtk/tmpl/gtksocket.sgml: Formatting fix.
2002-04-23 23:17:59 +00:00
Matthias Clasen
7bb0ea6241 Improve docs. (#62359)
* gtk/gtktextview.c (gtk_text_view_buffer_to_window_coords):
	(gtk_text_view_window_to_buffer_coords): Improve docs.  (#62359)

	* gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml: Updates.  (#79001)

	* gtk/tmpl/gtksocket.sgml: Add link to XEmbed draft.  (#67818)

	* gtk/tmpl/gtkdrawingarea.sgml: Fix a typo.

	* gtk/text_widget.sgml: Complete the fix for #79080.
2002-04-23 22:22:44 +00:00
Matthias Clasen
b5d2085b04 Fix typo in "Simple Example". (#78661)
* gtk/tree_widget.sgml: Fix typo in "Simple Example".  (#78661)
2002-04-21 23:07:49 +00:00
Matthias Clasen
4138ac479b A bunch of trivial doc fixes. 2002-04-20 23:57:41 +00:00
Matthias Clasen
1f75708d5a s/<!>/<!-- -->/g throughout the documentation to bring the produced
* gtk/gtkitemfactory.c:
	* gtk/gtkiconfactory.c:
	* gtk/gtkwidget.c:
	* gtk/gtkstyle.c:
	* gtk/gtkrc.c:
	* gtk/gtktreeviewcolumn.c:
	* gtk/gtkdialog.c:
	* gtk/gtktreemodel.c: s/<!>/<!-- -->/g throughout the
	documentation to bring the produced Docbook closer to XML.

	* gdk/tmpl/rgb.sgml:
	* gdk/tmpl/general.sgml:
	* gtk/tmpl/gtktogglebutton.sgml:
	* gtk/tmpl/gtkaccellabel.sgml:
	* gtk/tmpl/gtkradiobutton.sgml:
	* gtk/tmpl/gtktreemodel.sgml:
	* gtk/tmpl/gtkwidget.sgml:
	* gtk/tmpl/gtkimage.sgml:
	* gtk/tmpl/gtktooltips.sgml:
	* gtk/tmpl/gtksignal.sgml:
	* gtk/tmpl/gtkcombo.sgml:
	* gtk/tmpl/gtkdnd.sgml:
	* gtk/tmpl/gtksocket.sgml:
	* gtk/tmpl/gtkdrawingarea.sgml:
	* gtk/tmpl/gtkobject.sgml:
	* gtk/tmpl/gtkpaned.sgml:
	* gtk/tmpl/gtkmain.sgml: s/<!>/<!-- -->/g throughout the
	documentation to bring the produced Docbook closer to XML.
2002-04-18 22:04:46 +00:00
Owen Taylor
d8f5dcdd13 Add a mention of running ldconfig. (#76126, Bill Nayland.)
Tue Mar 26 15:41:49 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/building.sgml: Add a mention of running ldconfig.
        (#76126, Bill Nayland.)
2002-03-26 20:43:17 +00:00
Jonathan Blandford
742f3e324e fix bugs in the code.
Mon Mar 25 11:31:41 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/tree_widget.sgml: fix bugs in the code.
2002-03-25 16:33:21 +00:00
Cody Russell
73826fc967 Much expanded overview docs for GtkTreeView and related objects. 2002-03-21 04:48:31 +00:00
Jonathan Blandford
938cc404c1 new FAQ.
Tue Mar 12 00:29:31 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/question_index.sgml: new FAQ.

	* gtk/tmpl/gtktreemodel.sgml: clean up example
2002-03-12 05:36:12 +00:00
Matthias Clasen
7788a6a702 Document GdkScreen.
* gdk/tmpl/windows.sgml: Document GdkScreen.

	* gtk/gtk-sections.txt: Move a few Class structs to Standard sections.

	* gtk/tmpl/gtktreemodel.sgml, gtk/tmpl/gtkprogress.sgml,
	gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkimage.sgml: Generate proper
	markup for format strings in examples, also fix an oversight in
	the GtkTreeModel example.  (#74213)
2002-03-12 00:20:02 +00:00
Matthias Clasen
0539632bff Add interfaces to get docs on their signals.
* gtk/gtk.types: Add interfaces to get docs on their signals.
2002-03-11 18:20:34 +00:00
Jonathan Blandford
3a4bb5f8fb Lots of docs.
Sat Mar  9 13:00:38 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/tmpl/gtktreemodel.sgml: Lots of docs.
2002-03-09 18:06:05 +00:00
Owen Taylor
796cfa8f0d List -I/opt/gtk/include not -I /opt/gtk/include.
Fri Mar  8 15:14:32 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/building.sgml: List -I/opt/gtk/include not
        -I /opt/gtk/include.

        * gtk/building.sgml: Add a gloss for XIM.
2002-03-08 20:16:30 +00:00
Matthias Clasen
85a8b59044 Add some ids which are referenced from the object hierarchy.
* gdk-pixbuf/tmpl/animation.sgml, gdk-pixbuf/tmpl/gdk-pixbuf.sgml,
	gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktextview.sgml, gtk/tmpl/gtkiconfactory.sgml,
	gtk/tmpl/gtkaccelgroup.sgml: Add some ids which are referenced
	from the object hierarchy.

	* gtk/gtk-docs.sgml: Use parts as top-level division (#61575),
	include gtkaccessible docs.
2002-03-07 23:20:16 +00:00
Matthias Clasen
04b082d1bd Some typo and markup fixes.
* gtk/building.sgml: Some typo and markup fixes.
2002-03-07 20:39:57 +00:00
Jonathan Blandford
110e1cd711 start implementing
Thu Mar  7 02:58:16 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/tmpl/gtkliststore.sgml: start implementing

	* gtk/question_index.sgml: "I can set with the tree, but not
	get???!?!"

Wed Mar  6 23:20:51 2002  Jonathan Blandford  <jrb@redhat.com>
and			  Kristian Rietveld  <kris@gtk.org>

	Finishing touch for 2.0.0 release, fixes #70782, #72729, the
	'stealth' bug and other last-minute minor issues.

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): set dnd dest line
	drawing right. We can't draw the line at the position of the next
	row, because that one still has to be drawn. So draw everthing at
	a -1 offset.
	(validate_visible_area): add check for invalid descendants and
	NULL scroll_to_path path, get scrolling right.  Also, fix the
	area_above value.  Pretty amazing I got it wrong.
	(get_logical_dest_row): add gtk-tree-model-drop-append magic, so
	dragging a row to the end of the model works right.
	(gtk_tree_view_get_dest_row_at_pos): minor floating point fix
	(gtk_tree_view_start_editing): add call to validate_row
	(gtk_tree_view_tree_to_widget_coords): Never subtract
	HEADER_HEIGHT from y values anymore!!!
	(gtk_tree_view_widget_coords_to_tree): ditto.
	(gtk_tree_view_scroll_to_point): allow -1 as values for the
	scroll_to coords
	(gtk_tree_view_move_cursor_page_up_down): Don't need scroll_to_y
	as clamp_node_visible will make it work.

	* gtk/gtktreestore.c (gtk_tree_store_drag_data_received): also check
	path depth, as we can't get iters from empty paths

	* gtk/gtkliststore.c (gtk_list_store_drag_data_received): handle
	gtk-tree-model-drop-append

	* gtk/gtktreednd.c (gtk_tree_set_row_drag_data): free path_str

	* tests/testtreeflow.c (main): select path where we are scrolling to
2002-03-07 08:03:09 +00:00
Owen Taylor
083b0e0432 Mention the need to subscribe to the GTK+ mailing lists.
Wed Mar  6 18:11:05 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/resources.sgml: Mention the need to subscribe
        to the GTK+ mailing lists.

        * gtk/building.sgml: Go into much more details about
        building the entire set of GTK+ libraries and about the
        dependencies that are required.

        * gtk/building.sgml: Add docs for --enable-explicit-deps,
        --with-xinput.
2002-03-06 23:36:37 +00:00
Jonathan Blandford
ba60ad9a94 docs
Wed Mar  6 14:12:34 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/tmpl/gtktreeselection.sgml: docs

	* gtk/tree_widget.sgml: clean up docs
2002-03-06 19:22:36 +00:00
Matthias Clasen
981574a9be Fix docs.
* gtk/gtktreemodel.c (gtk_tree_row_reference_deleted): Fix docs.

	* gtk/gtkwindow.c (gtk_window_remove_mnemonic):
	(gtk_window_add_mnemonic):
	(gtk_window_mnemonic_activate): Add docs.

	* gtk/gtktreeview.c (gtk_tree_view_get_search_equal_func): Fix
	typo in docs.

	* test-loaders.c, test-images.h: More random tests.

	* io-bmp.c (DecodeHeader): Fail gracefully on OOM here.

	* gtk/gtk-sections.txt: Remove gtk_win32_get_installation_directory.
2002-03-05 22:44:27 +00:00
Owen Taylor
ec09f3ab15 Update version to 2.0.0
Tue Mar  5 15:47:54 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in test/makefile.msc **.pc.in **/*.am:
	Update version to 2.0.0

        * gtk/Makefile.am (MAINTAINERCLEANFILES): Add stamp
        files.

        * configure.in (GDK_PIXBUF_VERSION): Require GLib 2.0.0,
        Pango, Atk, 1.0.0.

        * m4macros/gtk-2.0.m4: Default to 2.0.0 as the minimum
        version.
2002-03-05 21:04:09 +00:00
Matthias Clasen
5b374044c1 Move GtkOldEditable to the "Deprecated" section. (#68408)
* gtk/gtk-docs.sgml: Move GtkOldEditable to the "Deprecated"
	section.  (#68408)

	* gtk/tmpl/gtktreeview.sgml: Close linkend attribute.  (#73364)
2002-03-04 22:04:53 +00:00
Jonathan Blandford
4a20e66f81 Write documentation Write documentation
Sun Mar  3 01:36:21 2002  Jonathan Blandford  <jrb@redhat.com>

	* gtk/tmpl/gtktreeviewcolumn.sgml: Write documentation
	* gtk/tmpl/gtktreeview.sgml: Write documentation
2002-03-03 06:37:43 +00:00
Owen Taylor
ac8a994aa9 Move a couple of function docs into the C file.
Sat Mar  2 15:46:29 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/tmpl/gtkentry.sgml: Move a couple of function
        docs into the C file.
2002-03-02 23:21:45 +00:00
Owen Taylor
3098a031d6 Add note about gtk_notebook_reorder_child().
Fri Mar  1 10:35:15 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/changes-2.0.sgml: Add note about gtk_notebook_reorder_child().
2002-03-01 15:40:12 +00:00
Owen Taylor
a504e62e01 Clean up the code so < 0 == end wasn't just a side effect, remove most of
Tue Feb 26 22:22:37 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
	the code so < 0 == end wasn't just a side effect,
	remove most of the manual linked list manipulation
	code in favor of g_list_* functions.

Tue Feb 26 22:01:59 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/tmpl/gtkbox.sgml: Fix docs to correspond to the code -
	negative @position indicates the end of the list.
2002-02-27 03:35:05 +00:00
Matthias Clasen
14a2eb7884 Fix typos in pkg-config invokations. (#72476)
* docs/tutorial/gtk-tut.sgml: Fix typos in pkg-config
	invokations.  (#72476)

	Fixes for #72478:

	* gtk/tmpl/gtkprogressbar.sgml: Add note about new GtkProgressBar
	API to introduction.

	* gtk/gtk-sections.txt: Reorder GtkProgressBar functions to move
	undeprecated API to top.
2002-02-26 00:44:36 +00:00
Owen Taylor
c44a49fa0c Document gtk_tree_path_new_root(), gtk_tree_model_get_iter_root() as
Sat Feb 23 23:39:14 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/tmpl/gtktreemodel.sgml: Document gtk_tree_path_new_root(),
        gtk_tree_model_get_iter_root() as compatibility macros.

        * gtk/gtk-sections.txt: Updates.
2002-02-24 04:45:31 +00:00
Anders Carlsson
8466617e25 Rename strikeout to strikethrough.
2002-02-23  Anders Carlsson  <andersca@gnu.org>

	* gtk/Makefile.am (HTML_IMAGES): Rename strikeout to
	strikethrough.
2002-02-23 22:00:13 +00:00
Anders Carlsson
7d69cbedcf Rename icons.
2002-02-22  Anders Carlsson  <andersca@gnu.org>

	* gtk/stock-icons/*: Rename icons.

	* gtk/stock-icons/Makefile.am: Update for new icon names.

	* gtk/gtkiconfactory.c (init_icon_sizes): Set the
	GTK_ICON_SIZE_BUTTON size to be 20x20.
	(get_default_icons): Change stock names.

2002-02-22  Anders Carlsson  <andersca@gnu.org>

	* gtk/Makefile.am (HTML_IMAGES): Update for name changes.
2002-02-22 21:48:06 +00:00
Matthias Clasen
6b11e5cf51 s/columns/rows/ in docs. (#70199)
* gtk/gtktreeview.c (gtk_tree_view_set_reorderable):
	s/columns/rows/ in docs.  (#70199)

	* gtk/gtktreestore.c (gtk_tree_store_insert): s/before/after/ in
	docs. (#71852, #68405)

	* gtk/gtkcalendar.c (gtk_calendar_select_day): Correct a comment.

	* gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkimage.sgml: s/%d/%%d/ in
	examples.  (#71479)

	* gtk/tmpl/gtkmenu.sgml: Document gtk_menu_set_active as
	quasi-private.  (#69788)

	* gtk/tmpl/gtkcalendar.sgml: Document month as zero-based and
	selected_day as one-based.  (#57169)
2002-02-22 00:26:54 +00:00
Owen Taylor
708e1a9574 Implement "fuzzy" key binding lookups; allow matches on key and level but
Wed Feb 20 14:26:47 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
        allow matches on key and level but not group. Also, implement
        ignoring "consumed modifiers correctly."

        * gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using
        GtkKeyHash.

        * gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in
        the group for key release events as well as key press events.

        * gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
        Rename unused_modifiers to consumed_modifiers, make the docs and
        non-Xkb implementation match the Xkb implementation.

        * gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate
        doc and parameter name changes.

        * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
        XkbTranslateKeyCode doesn't handle LockMask, we need to handle
        it ourselves.

        * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force
        <Shift>Tab to give GDK_ISO_Left_Tab, since we need consistency
        to allow dealing with ISO_Left_Tab.

        * gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c
        gtk/gtkpaned.c gtk/gtkcombo.c  gtk/gtknotebook.c:
        Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab
        or <Shift>Tab both are equivalent as a binding specifier.)

        * gtk/gtkbutton.c (gtk_button_class_init): Make ::activate
        GTK_RUN_ACTION, so you can bind an accelerator to it.

        * gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call
        gdk_unicode_to_keyval on the mnemonic character.

        * tests/testgtk.c: Add a test for the new fuzzy key binding matching.
2002-02-21 17:14:10 +00:00
Sven Neumann
c53f6b6713 gtk/gtk-sections.txt updated for treeviewcolumn changes.
2002-02-20  Sven Neumann  <sven@gimp.org>

	* gtk/gtk-sections.txt
	* gtk/tmpl/gtktreeviewcolumn.sgml: updated for treeviewcolumn changes.
2002-02-19 23:22:05 +00:00
Owen Taylor
a255d9cd01 Add routines _gtk_find_module(), _gtk_get_module_path() to look up a
Mon Feb 18 23:16:16 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmain.[ch]: Add routines _gtk_find_module(),
        _gtk_get_module_path() to look up a module of an arbitrary type in
        a standard fashion. (#68474)

        * gtk/gtkrc.c: Make module_path keyword warn and do
        nothing. Remove the im_module_path keyword.

        * gtk/gtkrc.c (gtk_rc_get_im_module_path): Fix
        to return the standard path instead of one determined
        from im_module_path and GTK_IM_MODULE_PATH.

        * gtk+-2.0.pc.in: Add gtk_host to go along with gtk_binary_version.
2002-02-19 05:33:34 +00:00
Owen Taylor
e0f2974885 Updated for filesel changes.
Sun Feb 17 21:33:33 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk-sections.txt: Updated for filesel changes.
2002-02-18 02:34:58 +00:00
Matthias Clasen
38d639c0e8 Make the paned example deprecation-clean.
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
	examples/paned/Makefile: Make the paned example deprecation-clean.

	* various ChangeLog files: correct my email.
2002-02-17 19:59:33 +00:00