- 14 Nov, 2001 8 commits
-
-
Jonathan Blandford authored
Wed Nov 14 17:40:23 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_get_expander_column): Return the currently selected column when we get the column, #64380 * gtk/gtkentry.c (gtk_cell_editable_key_press_event): Handle Esc to cancel CellRendererText editting, #63613 * gtk/gtkcellrenderertext.c: ditto * gtk/gtkcellrenderertext.h: formatting changes
-
Matthias Clasen authored
* gtk/gtkbutton.c (gtk_button_get_label): Rearrange docs (#64566) * gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Typo fix (#64474) * gtk/gtkruler.c (gtk_ruler_get_metric): Typo fix (#64470) * gtk/gtknotebook.c (gtk_notebook_prepend_page): Typo fix (#64467) * gtk/gtklabel.c: Documentation fixes (#64452) * docs/reference/gdk/Makefile.am (MKDB_OPTIONS), docs/reference/gdk-pixbuf/Makefile.am (MKDB_OPTIONS), docs/reference/gtk/Makefile.am (MKDB_OPTIONS): Add --sgml-mode. * docs/reference/gdk-pixbuf/tmpl/file-saving.sgml, docs/reference/gdk-pixbuf/tmpl/module_interface.sgml, docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rgb.sgml: Consistent short descriptions. * docs/reference/gtk/tmpl/gtkprogressbar.sgml: Remove duplicate docs. (#64469) * docs/reference/gtk/gtk-sections.txt: Add missing TITLEs (#64459, #6456
-
Daniel Egger authored
2001-11-14 Daniel Egger <degger@fhm.edu> * gdk-pixbuf/io-xpm.c: (xpm_skip_whitespaces): Remove unused static function. (xpm_skip_string): Dito. (xpm_extract_color): Declare const variable const to avoid warnings. * gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function. * gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code. * gtk/gtksocket.c: Change type of mask to g_message to %ld for a long.
-
Owen Taylor authored
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkcontainer.c (gtk_container_idle_sizer): Back out accidental commit of debugging timing code
-
Havoc Pennington authored
2001-11-14 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_move_cursor): fix Control-E so it doesn't move to a new line each time you press it * gtk/gtktextiter.c (gtk_text_iter_forward_to_line_end): fix return value, #62987
-
Havoc Pennington authored
2001-11-14 Havoc Pennington <hp@redhat.com> * tests/testtextbuffer.c (main): bulk of the tests were commented out, oops. * gtk/gtktextiter.c (find_paragraph_delimiter_for_line): make this function work, should resolve #63426 (gtk_text_iter_ends_line): return TRUE for the end iterator * gtk/gtktextiter.h: put padding back in GtkTextIter, I thought of a couple things that might get cached in here.
-
Jonathan Blandford authored
Tue Nov 13 21:00:59 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): new "model" construct property for language bindings. * gtk/gtktreestore.c (gtk_tree_store_set_column_types): New function to let you set the column types of a GtkTreeStore for language bindings. * gtk/gtkliststore.c (gtk_list_store_set_column_types): ditto.
-
Havoc Pennington authored
2001-11-13 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_add_child_in_window): docs including reference to bugzilla bug about how we should have a better way of positioning children * gtk/gtktextview.h (struct _GtkTextViewClass): add some padding * gtk/gtktextview.c (gtk_text_view_size_allocate): assign zero size to side rects if they don't exist, #63438
-
- 13 Nov, 2001 5 commits
-
-
Havoc Pennington authored
2001-11-13 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_key_press_event): fix to properly replace selection with Return or Tab * gtk/gtktextdisplay.c (gtk_text_layout_draw): fix broken code that didn't locate the end of the line correctly, should fix #63800
-
Havoc Pennington authored
2001-11-13 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_size_request): add border width to requisition, request non-anchored children (gtk_text_view_size_allocate): handle border width, allocate non-anchored children (text_view_child_new_window): set the child as object data (gtk_text_view_move_child): allow children at negative coordinates, no reason why not (gtk_text_view_forall): make it copy the list of children before walking it, to avoid reentrancy issues (gtk_text_view_move_child): short-circuit if position is unchanged (changed_handler): only queue_resize if requisition has changed (gtk_text_view_init): don't redraw_on_allocate, since we can do a better job of invalidation ourselves * tests/testtext.c: add tests for the fixed-position children
-
Tim Janik authored
Tue Nov 13 19:51:43 2001 Tim Janik <timj@gtk.org> * gtk/gtkwindow.c (handle_accels_changed): protect idle handle with gdk threads macro.
-
Tim Janik authored
Mon Nov 12 23:06:38 2001 Tim Janik <timj@gtk.org> * added gtkaccelmap.sgml. other updates. Mon Nov 12 23:08:37 2001 Tim Janik <timj@gtk.org> * gtk/maketypes.awk: fix type utils generation on unix. * gtk/gtkaccelmap.[hc]: new files, implementing a global accelerator registry. * gtk/gtkaccelgroup.[hc]: major API/implementation revamp: removed GTK_ACCEL_SIGNAL_VISIBLE, gtk_accel_group_get_default, gtk_accel_group_get_entry, gtk_accel_group_(un)lock_entry, gtk_accel_group_add/remove, gtk_accel_group_handle_add/remove, gtk_accel_group_create_add/remove, gtk_accel_group_entries_from_object. introduced ::accel_changed signal for change notification, and gtk_accel_group_connect/disconnect to connect closures to accel groups. made gtk_accel_group_attach/detach and gtk_accel_group_activate private functions. deprecated gtk_accel_group_ref/unref. * gtk/gtkaccellabel.[hc]: changes to make accellabels pay attention to accel group changed notification and basically operate on closures. removed gtk_accel_label_get_accel_object and gtk_accel_label_set_accel_object. introduced gtk_accel_label_set_accel_closure, and for convenience, gtk_accel_label_set_accel_widget. * gtk/gtkitemfactory.[hc]: removed accelerator propagation code which mostly moved into gtkaccelmap.[hc]. removed gtk_item_factory_parse_rc*, gtk_item_factory_dump_* and gtk_item_factory_print_func. * gtk/gtkmain.c: call _gtk_accel_map_init(). * gtk/gtkmenuitem.[hc]: introduced gtk_menu_item_set_accel_path(), that associates an accelerator path with menu items, through which persistent accelerator settings on menu items are enabled. * gtk/gtkmenu.[hc]: added gtk_menu_set_accel_path() so accelerator paths of menu item can be default constructed to allow installation of accelerators on menu items that don't come with an accelerator binding by default. * gtk/gtksettings.c: fix STRING type rc settings by special casing them appropriately in the parser. * gtk/gtksignal.[hc]: allow a class function offset of 0 for gtk_signal_newv(). * gtk/gtkwidget.[hc]: accelerator API revamp. removed ::accelerator_add/remove signals, gtk_widget_accelerator_signal, gtk_widget_accelerators_locked, gtk_widget_remove_accelerators and gtk_widget_(un)lock_accelerators. accelerators maintained through gtk_widget_add/remove_accelerator() are not runtime changable now, the correct sequence to setup a widget for runtime changable accelerators is now: gtk_accel_map_add_entry(accel_path, key, mods); _gtk_widget_set_accel_path(widget, accel_path, accel_group); * gtk/gtkwindow.[hc]: accelerator changes, proxy and coalesce accel group changes (as well as mnemonic changes) through the new signal ::accels_changed. Sat Nov 10 12:08:56 2001 Tim Janik <timj@gtk.org> * gtk/gtksettings.c (_gtk_settings_parse_convert): properly handle GString->string conversions.
-
Owen Taylor authored
Mon Nov 12 19:33:52 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_new): Warn
-
- 12 Nov, 2001 1 commit
-
-
Matthias Clasen authored
* gtk/gtktreeview.c: Documentation fixes. (#64377) * gtk/gtktreestore.c: Documentation fixes. (#64376)
-
- 10 Nov, 2001 3 commits
-
-
Matthias Clasen authored
* gtk/gtkiconfactory.c, gtk/gtktextbuffer.c, gtk/gtktreemodel.c, gtk/gtkwindow.c, gtk/gtknotebook.c, gtk/gtkradiobutton.c, gtk/gtktextiter.c, gtk/gtkdialog.c: Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, #60818, #61562) * gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkentry.sgml, gtk/tmpl/gtkhscrollbar.sgml, gtk/tmpl/gtkvscrollbar.sgml, gtk/tmpl/gtktoolbar.sgml, gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkstatusbar.sgml: Mass fixing of trivial doc bugs. (#55579, #56760, #58769, #55918, #64154, #60422, #54697)
-
Hans Breuer authored
2001-11-10 Hans Breuer <hans@breuer.org> * gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure we know what we are talking about when asked for MINMAXINFO. Also some cleaning for !HAVE_DIMM_H etc.
-
Matthias Clasen authored
* gtk/gtktreeviewcolumn.c: Fix docs for gtk_tree_view_column_set_sort_order. (#62647) * gtk/gtkcontainer.c: Fix docs for gtk_container_set_border_width. (#64139) * gtk/gtkcolorsel.c: Documentation fixes. * gtk/tmpl/gtkpaned.sgml: Document gtk_paned_set_gutter_size as noop. (#45802) * gtk/tmpl/gtkcolorsel.sgml: Remove stuff duplicating inline docs. (#60481)
-
- 09 Nov, 2001 1 commit
-
-
Hans Breuer authored
2001-10-28 Hans Breuer <hans@breuer.org> * gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms don't have strcasecmp() * gtk/gtktextview.c : to fix crashing on e.g. TextView::find need to remove the idle funcs in gtk_text_view_destroy (). To reduce code duplication wrap it in its own function and use it in gtk_text_view_unrealize () and gtk_text_view_destroy_layout () * gdk/win32/gdkdrawable-win32.c : implement the finalize method like the X11 version does, allow to set_colormap NULL * gdk/win32/gdkwindow-win32.c : adapt GdkWindowImplWin32:: set_colormap, also some adaption to X11 version : (gdk_window_hide) call _gdk_window_clear_update_area (gdk_window_reparent) call _gdk_window_init_position * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints) : call gdk_window_resize() after all hints are set, because the window resizing process (WM_GETMINMAXINFO) takes all of them into account * gdk/win32/gdkfont-win32.c : make gdk_font_equal return a gboolean * gdk/win32/gdkvisual-win32.c : register GdkVisual with sizeof (GdkVisualPrivate) * gdk/gdk.def gtk/gtk.def : upated externals * gdk/makefile.msc gdk/win32/makefile.msc gdk-pixbuf/makefile.msc gdk-pixbuf/pixops/makefile.msc gtk/makefile.msc.in tests/makefile.msc : from now on use make.msc from $(TOP)/glib/build/win32 * gtk/stock-icons/makefile.msc : add stock_missing_image
-
- 08 Nov, 2001 2 commits
-
-
Tor Lillqvist authored
2001-11-08 Tor Lillqvist <tml@iki.fi> * README.win32: Add headers. Add section about ActiveIMM. * configure.in: Add --with-ie55 flag to specify the location of the "IE55 libs and headers" package downloadable from Microsoft, which contains, among other things, the Active IMM header dimm.h and UUID library uuid.lib. Use test -f instead of AC_CHECK_FILE. Require GLib 1.3.10. * config.h.win32.in: New version, produced by merging two configure-generated ones (for gcc and MSVC). Hopefully #defines the same flags that the previous, hand-written one, did. * gdk/Makefile.am * gdk/win32/Makefile.am: Handle the uuid library from the IE55 lib. * gdk/win32/gdkevents-win32.c: Conditionalize ActiveIMM stuff. Remove unused GdkIOClosure. * gdk/win32/surrogate-dimm.h: Remove, use real dimm.h instead (if available). * gdk/win32/libie55uuid.la: New file, handwritten libtool wrapper for uuid.lib. (Does it really have to be this hard to use an existing libra...
-
Darin Adler authored
* gtk/gtklabel.c: (gtk_label_ensure_layout): Fix an obvious typo where it says LEFT instead of CENTER.
-
- 07 Nov, 2001 1 commit
-
-
Darin Adler authored
* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive), (gtk_dialog_set_default_response): Add g_return_if_fail.
-
- 06 Nov, 2001 5 commits
-
-
Owen Taylor authored
Mon Nov 5 22:34:29 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface): Add row_draggable() vfunc, and wrapper function. * gtk/gtktreednd.[ch] (struct _GtkTreeDragDestIface): Make row_drop_possible take a GtkSelectionData, rather than model/row pair. * gtk/gtktreestore.c gtk/gtkliststore.c: Update for new DND interfaces. * gtk/gtktreeview.[ch]: Remove the row_draggable_func location_dropable_func from gtk_tree_view_set_rows_drag_source/dest. and rename them to enable_model_drag_source/dest. * gtk/treeviewcolumn.c: Add DND of columns between rows. Still can't drop _to_ the left tree, but other places work. * gtk/gtktreeview.c (unset_reorderable): Unset the reorderable property if unset/enable_model_drag_source/dest are called manually. * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): Correct for change in depth count handling. * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): Pass in a expose area to gtk_tree_view_column_cell_render()
-
Havoc Pennington authored
2001-11-06 Havoc Pennington <hp@redhat.com> * demos/gtk-demo/textview.c (easter_egg_callback): wacky easter egg
-
Owen Taylor authored
Tue Nov 6 10:13:16 2001 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkgc-x11.c: Fix misplaced HAVE_XFT.
-
Havoc Pennington authored
2001-11-05 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_paint): expose the child widgets in here (gtk_text_view_realize): set parent window of child widgets (gtk_text_view_size_request): use child req to decide whether to invalidate layout, not widget->requisition * gtk/gtktextdisplay.c (render_layout_line): set shaped_width_pixels for NULL shape objects, so that we properly draw the "missing pixbuf/widget" thing (render_layout_line): don't draw the widget here (gtk_text_layout_draw): pass out a list of widgets that need exposing * demos/gtk-demo/textview.c (insert_text): add demo of child widgets * gtk/gtktextlayout.c (add_child_attrs): remove debug spew * gtk/gtktextdisplay.c (render_layout_line): remove debug spew * gtk/gtktextview.c (gtk_text_view_update_child_allocation): add scroll offsets (gtk_text_view_value_changed): poke new X and Y into child allocations
-
Tor Lillqvist authored
2001-11-06 Tor Lillqvist <tml@iki.fi> * gtk/gtkmain.c (find_module): Do search GTK_BINARY_VERSION -specific directory on Windows, too (#63759).
-
- 05 Nov, 2001 4 commits
-
-
Owen Taylor authored
Mon Nov 5 12:46:44 2001 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkprivate-x11.h gdk/x11/gdkwindow-x11.c: Redo Xft support to go directly to Picture objects instead of using XftDraw. This fixes the problem where we weren't able to properly destroy XftDraw objects before destroying the accompanying windows, and probably improves efficiency a bit too. (#50214)
-
Owen Taylor authored
Mon Nov 5 10:01:49 2001 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkgeometry-x11.c (gdk_window_compute_position): Clamp max window width/height to 32767, not 32768 since we have to be able to deal with a dx/y of -32768 without getting a width of 65536 when guffaw scrolling. * gdk/x11/gdkgeometry-x11.c: Implement gdk_window_scroll() for the guffaw scrolling case, fixing some problems with copy-area case as well. Fix BadValue bug with moving windows by large amounts. * gdk/x11/gdkgeometry-x11.c (gdk_window_clip_changed): Update clip in window structue before calling gdk_window_invalidate_region since that trims new invalidations to the window's visible region. * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_gravities): Really set the static window gravity on the children, not repeatedly on the window. * gtk/testgtk.c: Add a torture test for big windows and gdk_window_scroll().
-
Manish Singh authored
Sun Nov 4 17:36:08 2001 Manish Singh <yosh@gimp.org> * acconfig.h configure.in: sigsetjmp is macroized in some places, so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.
-
Owen Taylor authored
Sun Nov 4 19:16:23 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse() in terms of pango_color_parse(). * gdk/{linux-fb,win32,x11}/gdkcolor-*.c: Remove port-specific gdk_color_parse() implementations.
-
- 04 Nov, 2001 4 commits
-
-
Owen Taylor authored
Sun Nov 4 18:39:43 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtksizegroup.c (gtk_size_group_set_mode): queue_resize_on_group with both the old and new mode, not just the new mode. (#60171, Nicolas Setton). Also, notify the "mode" property.
-
Owen Taylor authored
Sun Nov 4 16:02:08 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.[ch]: Add a function gdk_window_invalidate_maybe_recurse() for use in "shallow invalidation" of a widget. (Windows belonging to the widget, but not to the widget's children) * gtk/gtkprivate.h gtk/gtkwidget.c gtk/gtksizegroup.c: Add private flags GTK_ALLOC_NEEDED, GTK_REQUEST_NEEDED. These flags are set up on ancestors up to the resize container on queue_resize. Size requests only actually take place if GTK_REQUEST_NEEDED, size allocations only take place if GTK_ALLOC_NEEDED or the size changed. * gtk/gtkcontainer.c gtk/gtkwidget.c: Remove container->resize_widgets and the RESIZE_NEEDED flag since the above flags are sufficient to figure out what needs to be resized/reallocated. Remove code manipulating container->resize_widget. * gtk/gtkwidget.[ch]: Add gtk_widget_set_redraw_on_alloc(); this allows widgets to turn off being automatically invalidated is when they are resized. * gtk/gtkwidget.[ch] (gtk_widget_size_allocate): Invalidation when a widget is resized or moved is "shallow" as described above - only the windows that need to be invalidated are invalidated. * gtk/gtkbox.c gtk/gtktable.c gtk/gtkalignment.c docs/Changes-2.0.txt: Make these widget's init functions call gtk_widget_set_redraw_on_allocate(widget,FALSE). * gtk/gtkwindow.c (gtk_window_configure_event): Call _gtk_container_queue_resize(), since we don't want redrawing. (Probably could be done for other calls to gtk_widget_queue_resize() in gtkwindow.c, but this is the most important one.) * gtk/gtkwindow.c (gtk_window_move_resize): Don't call gtk_widget_queue_draw() - size_allocate() handles that as appropriate. * gtk/gtkframe.c (gtk_frame_size_allocate): Invalidate instead of queue_clear() to avoid invalidating children.
-
jacob berkman authored
2001-11-04 jacob berkman <jacob@ximian.com> * gtk/gtkmain.c (find_module): don't free the module name until after we load the module
-
Owen Taylor authored
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer derivation instead of boxed derivation. * gtk/gtkmarshal.list: Remove some now unused marshallers.
-
- 03 Nov, 2001 4 commits
-
-
Tor Lillqvist authored
2001-11-04 Tor Lillqvist <tml@iki.fi> * gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the include yesterday, without really thinking), as that defeats the working of correct_libdir_prefix() (it becomes a no-op.). Add comment mentioning that. Thanks to Hans Breuer for noticing.
-
Daniel Elstner authored
2001-11-03 Daniel Elstner <daniel.elstner@gmx.net> * gtk/gtkwindow.h (frame_event): Use GtkWindow* as first signal argument (was GtkWidget*). * gtk/gtkwindow.c (gtk_window_frame_event), gtk/gtkwindow-decorate.c (gtk_decorated_window_frame_event): Fixed argument types as above, removed GTK_WINDOW casts and added some GTK_WIDGET casts instead.
-
Hans Breuer authored
2001-11-03 Hans Breuer <hans@breuer.org> * gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain finalize to parent class to get removed from the toplevel_list. Should fix 'random' crashes of #63474. * gtk/gtktreemodelsort.c : chain finalize() to parent class
-
Tor Lillqvist authored
2001-11-03 Tor Lillqvist <tml@iki.fi> * gtk/gtk.def: Correct some renamed functions. * gtk/gtkimmodule.c (correct_libdir_prefix): New function, used on Windows to turn build-time paths from a gtk.immodules distributed as part of a binary package into runtime ones in the end-user-chosen installation directory. (gtk_im_module_init): Use it for module path and domain directory.
-
- 02 Nov, 2001 2 commits
-
-
Tor Lillqvist authored
2001-11-03 Tor Lillqvist <tml@iki.fi> * modules/input/Makefile.am: Use -no-undefined on Windows. Look for .dll or .so as appropriate as module suffix. * gtk-zip.sh.in: Use correct import library names. * gtk/gtk.def: Add a couple of missing entry points. (#63585) 2001-11-02 Tor Lillqvist <tml@iki.fi> * gtk/gtkrc.c (gtk_rc_make_default_dir): Fix typo: extraneous comma. Include gtkprivate.h for GTK_LIBDIR etc definitions on Windows. 2001-10-30 Tor Lillqvist <tml@iki.fi> * Makefile (install-data-hook): Use cp, not $(LN_S) on the .pc files. Configure on Win32 (running on Cygwin) thinks symlinks exist, but pkg-config is not necesarily a Cygwin program, and doesn't understand them.
-
Jonathan Blandford authored
Fri Nov 2 16:45:17 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkrbtree.c (_gtk_rbtree_remove_node): Clean up height code a bit. I don't think it's completely correct yet, but it's getting there.
-