summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Released GTK+ 1.2.4GTK_1_2_4CDT 1999 Shawn T. Amundson1999-08-2328-87/+93
| | | | | | Mon Aug 23 15:05:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org> * Released GTK+ 1.2.4
* evaluate $ac_make when checking for GNU Make.Tim Janik1999-08-238-1/+29
| | | | | | Mon Aug 23 23:16:14 1999 Tim Janik <timj@gtk.org> * configure.in: evaluate $ac_make when checking for GNU Make.
* added some $(srcdir)/ prefixingTim Janik1999-08-231-3/+3
|
* small fixTim Janik1999-08-231-1/+2
|
* invoke indent on gtkmarshal.*. rewrote source generation rules, useTim Janik1999-08-2338-776/+1075
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 23 19:11:17 1999 Tim Janik <timj@gtk.org> * gtk/Makefile.am: invoke indent on gtkmarshal.*. rewrote source generation rules, use COPYING as oldest source tag for a piggyback rule to generate all sources from (don't touch it ;). major cleanups, strip spaces on build rules for GNU Make. * gtk/genmarshal.pl: don't operate on hardcoded filenames but take source and target files from commandline arguments. don't invoke indent. * gdk/Makefile.am: minor cleanups, strip spaces on build rules for GNU Make. * docs/Makefile.am: added generation.txt. * Makefile.am: require automake 1.4, build README from README.in and INSTALL from INSTALL.in in dist-hook. * README.in: * INSTALL.in: new files to autogenerate README and INSTALL from. * gtk/COPYING: * gdk/COPYING: new files containing the GNU LESSER GENERAL PUBLIC LICENSE. * configure.in: figure wether we have GNU Make, version update to Gtk+ 1.2.4, interface age 2, binary age 4. * NEWS: updates. * docs/generation.txt: minor additions/corrections.
* rambopoo commitManish Singh1999-08-234-0/+1296
| | | | -Yosh
* queue_resize notebook after switch to avoid drawing problems. (Bug#856Lars Hamann1999-08-228-19/+85
| | | | | | | | | | | | Sat Aug 21 14:07:36 1999 Lars Hamann <lars@gtk.org> * gtk/gtknotebook.c (gtk_notebook_real_switch_page): queue_resize notebook after switch to avoid drawing problems. (Bug#856 Reported by: Theodore Roth <troth@netmagic.net>) (gtk_notebook_pages_allocate): don't map not visible tab_labels, show them instead. (Bug#1805 Reported by: Dave Cole <dave@dccs.com.au>)
* we use window->need_resize from configure_event now, to indicate that theTim Janik1999-08-2013-264/+680
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Aug 18 09:20:10 1999 Tim Janik <timj@gtk.org> * gtk/gtkwindow.c: we use window->need_resize from configure_event now, to indicate that the gtkwindow should keep its allocation (e.g. because the user resized the window through window manager handles). resize_count is now reliably used to figure whether we got the allocation we requested from the window manager. configure events get queued as resizes now, the real stuff (size computation and allocation) now only goes on in gtk_window_move_resize(). GtkWindow's requisition now contains its *real* requisition (like all other widgets), *not* taking usize into account. geometry_info->last_{width|height} is now updated from set_hints() only so it always contains the last hints we set for the window manager. made some event handlers return TRUE instead of FALSE. the overall code should be much more straight forward now, and the significant code portions are accompanied by comments now. (gtk_window_set_hints): removed requisition argument and made it fetch the requisition through gtk_widget_get_child_requisition. we also don't move the gdkwindow here anymore, gtk_window_move_resize() does that now. (gtk_window_show): ensure that the widget is realized before calling gtk_container_check_resize() (and thus gtk_window_move_resize()), also ensure that we got properly size requested and allocated before realization. (gtk_window_configure_event): ignore plain window moves, or reallocate the widget tree through the resize queue otherwise. (gtk_window_move_resize): mostly rewrote this function to figure window manager hints more reliably, coalesce window moves and resizes to reduce configure events and do actuall size allocations. Tue Aug 17 07:43:04 1999 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_event): discard expose events for widgets that have a resize pending, because a redraw is already queued for them. * gdk/gdkevents.c (gdk_event_translate): give a debugging note when discarding configure events. * gtk/gtkcontainer.c: removed ugly connect_to ::size_allocate signal hack to clear resize_widgets. * gtk/gtkwidget.c (gtk_widget_size_allocate): call clear_resize_widgets for resize containers prior to size allocation. (this is also a bit ugly, but avoids side effects for stopped emissions and is thus more reliable). (gtk_widget_unparent): removed disconnect call for clear_resize_widgets. * gtk/gtktooltips.c (gtk_tooltips_paint_window): renamed this function from gtk_tooltips_expose, as we connect to ::expose_event *and* ::draw now. Tue Aug 17 07:43:04 1999 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_event): discard expose events for widgets that have a resize pending, because a redraw is already queued for them. * gdk/gdkevents.c (gdk_event_translate): give a debugging note when discarding configure events. * gtk/gtkcontainer.c: removed ugly connect_to ::size_allocate signal hack to clear resize_widgets. * gtk/gtkwidget.c (gtk_widget_size_allocate): call clear_resize_widgets for resize containers prior to size allocation. (this is also a bit ugly, but avoids side effects for stopped emissions and is thus more reliable). (gtk_widget_unparent): removed disconnect call for clear_resize_widgets. * gtk/gtktooltips.c (gtk_tooltips_paint_window): renamed this function from gtk_tooltips_expose, as we connect to ::expose_event *and* ::draw now.
* Added missing sanity checks. (gtk_target_list_unref): Likewise.Federico Mena Quintero1999-08-1818-7/+153
| | | | | | | | | | | | | | | | | | | | | 1999-08-18 Federico Mena Quintero <federico@redhat.com> * gtk/gtkselection.c (gtk_target_list_ref): Added missing sanity checks. (gtk_target_list_unref): Likewise. * gdk/gdkpixmap.c (gdk_pixmap_unref): g_return_if_fail() the refcount is greater than zero. * gdk/gdkwindow.c (gdk_window_unref): Likewise. * gdk/gdkfont.c (gdk_font_unref): Likewise. * gdk/gdkgc.c (gdk_gc_unref): Likewise. * gdk/gdkdnd.c (gdk_drag_context_unref): Likewise. * gtk/gtkthemes.c (gtk_theme_engine_unref): Likewise.
* guard against division by zero. (Fixes bug #1339)Owen Taylor1999-08-178-92/+36
| | | | | | | Tue Aug 17 15:47:07 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkcolorsel.c (gtk_color_selection_draw_value_bar): guard against division by zero. (Fixes bug #1339)
* Prevent the trivial leak of information of allowing word motion when theOwen Taylor1999-08-178-0/+147
| | | | | | | | Tue Aug 17 10:56:49 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_move_{forward,backward}_word): Prevent the trivial leak of information of allowing word motion when the entry is not visible.
* Propagate modality to error dialog as well as confirmation dialogs. (BugOwen Taylor1999-08-178-4/+51
| | | | | | | | Tue Aug 17 10:28:52 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (gtk_file_selection_fileop_error): Propagate modality to error dialog as well as confirmation dialogs. (Bug #1803, reported by Rosanna Wing Sze Yuen)
* FAQ UpdateBST 1999 Tony Gale1999-08-119-448/+2162
| | | | | Wed Aug 11 13:38:26 BST 1999 Tony Gale <gale@gtk.org> * docs/gtkfaq.sgml: FAQ Update
* Honor tree->view_lines. (gtk-guy-990611-3.patch: Guy HarrisOwen Taylor1999-08-0812-9/+124
| | | | | | | | | | | | | | | | Wed Aug 11 01:04:57 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtktreeitem.c (gtk_tree_item_draw_lines): Honor tree->view_lines. (gtk-guy-990611-3.patch: Guy Harris <guy@netapp.com>) * gtk/Makefile.am (install-data-local): Solaris apparently has various troubles with ln -f; use rm first instead. (gtk-guy-990611-2.patch: Guy Harris <guy@netapp.com>) * gdk/gdkproperty.c (gdk_property_get): Fix assumption that format 32 => sizeof(item) == 4. It really is sizeof(long).
* Don't `mv' from builddir to srcdir, use `cp' followed by `rm' (the `rm'Raja R Harinath1999-07-308-51/+93
| | | | | * gtk/Makefile.am (stamp-m): Don't `mv' from builddir to srcdir, use `cp' followed by `rm' (the `rm' was already there).
* . configure.in: Fix autoconf warnings about cross compilation by trying toElliot Lee1999-07-3033-228/+303
| | | | | | | | | | . configure.in: Fix autoconf warnings about cross compilation by trying to provide sane defaults for AC_TRY_RUN. . docs/Makefile.am: Tell distcheck how to generate the .gif files. . gtk/Makefile.am: If we refer to gtkmarshal.[ch] in $(srcdir), put them into $(srcdir) when generated. Also add a dependency of gtksignal.h on gtkmarshal.h for -j builds. . gtk/gtk(dnd,style,gamma).c: Minor warning fixes.
* Allow defining a CUSTOM_RELEASE at RPM build timeElliot Lee1999-07-291-1/+2
|
* Added missing GDK_THREADS_{LEAVE,ENTER} pair. (From Paul FisherOwen Taylor1999-07-288-1/+45
| | | | | | | | Wed Jul 28 09:29:19 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_main_iteration_do): Added missing GDK_THREADS_{LEAVE,ENTER} pair. (From Paul Fisher <pnfisher@redhat.com>)
* asure that the requested width and height are always >0 (owen).Tim Janik1999-07-238-2/+37
| | | | | | | Fri Jul 23 01:00:15 1999 Tim Janik <timj@gtk.org> * gtk/gtksocket.c (gtk_socket_size_request): asure that the requested width and height are always >0 (owen).
* typoTim Janik1999-07-227-7/+7
|
* backed out my recent change that assured that a widget's allocated withTim Janik1999-07-229-2/+98
| | | | | | | | | | | | | | | Fri Jul 23 00:00:47 1999 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_size_allocate): backed out my recent change that assured that a widget's allocated with and height are always >1, since this breaks *buggy* panel code. unfortunately this back-breaks the gimp's color selector. * gtk/gtkdrawingarea.c (gtk_drawing_area_size_allocate): asure that our allocation is always >0 in width and height, before sending the configure event; this is a *gross* hack to get the gimp back to work. * maked both cases with TODO-1.3
* Don't display wrap indicators when text is not editable and word wrap isOwen Taylor1999-07-218-7/+50
| | | | | | | Wed Jul 21 15:47:39 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtktext.c: Don't display wrap indicators when text is not editable and word wrap is on.
* ja.po: Japanese translation update from Shirasaki Yasuhiro.Yukihiro Nakai1999-07-212-23/+26
| | | | ja.po: Japanese translation update from Shirasaki Yasuhiro.
* special case option menus here as they are not derived from menu shell,Tim Janik1999-07-218-0/+53
| | | | | | | | Wed Jul 21 08:21:40 1999 Tim Janik <timj@gtk.org> * gtk/gtkitemfactory.c (gtk_item_factory_create_item): special case option menus here as they are not derived from menu shell, assure that the option menu has a menu we can add items to.
* convert allocation-> width/height to (gint) before calculations and checkTim Janik1999-07-208-19/+59
| | | | | | | | Tue Jul 20 23:29:48 1999 Tim Janik <timj@gtk.org> * gtk/gtknotebook.c (gtk_notebook_page_allocate): convert allocation-> width/height to (gint) before calculations and check against < 0 to avoid guint wraparounds.
* ensure that the allocated width and height is never zero. sanity checkTim Janik1999-07-178-0/+55
| | | | | | | | Sun Jul 18 00:35:49 1999 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_size_allocate): ensure that the allocated width and height is never zero. sanity check both dimensions against 32767 and issue a warning if the allocation is greater than that.
* libtool 1.3.3Manish Singh1999-07-179-125/+289
| | | | -Yosh
* ja.po: "Rename file" translation fixed.Yukihiro Nakai1999-07-132-1/+5
| | | | ja.po: "Rename file" translation fixed.
* UpdatedTomas Ogren1999-07-102-33/+36
| | | | | | 1999-07-11 Tomas Ogren <stric@ing.umu.se> * sv.po: Updated
* Indicate that the --with-glib= configure time flag is unsupported.Owen Taylor1999-07-089-3/+57
| | | | | | | | | Thu Jul 8 11:30:18 1999 Owen Taylor <otaylor@redhat.com> * INSTALL: Indicate that the --with-glib= configure time flag is unsupported. * configure.in: Some small fixups for libgno
* s/,/./Stuart Parmenter1999-07-071-1/+1
|
* Unlock around call to g_main_pending() as well.Owen Taylor1999-07-078-1/+42
| | | | | | | Wed Jul 7 15:03:30 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_events_pending): Unlock around call to g_main_pending() as well.
* Unlock around call to g_main_iteration() - since that will regrab GTK+Owen Taylor1999-07-078-0/+44
| | | | | | | | Wed Jul 7 14:59:01 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_main_iteration): Unlock around call to g_main_iteration() - since that will regrab GTK+ lock to process events.
* Added a file that gives documenation about the autogeneration process forOwen Taylor1999-07-068-0/+318
| | | | | | | | Mon Jul 5 20:36:03 1999 Owen Taylor <otaylor@redhat.com> * docs/generation.txt: Added a file that gives documenation about the autogeneration process for various autogenerated files.
* - Code cleanups - Instantaneously update on modifier key presses - AllowOwen Taylor1999-06-308-78/+261
| | | | | | | | | Wed Jun 30 19:26:36 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c: - Code cleanups - Instantaneously update on modifier key presses - Allow cancellation of the drag with Escape.
* Don't core dump at all on X IO errors, only core dump if --enable-debugOwen Taylor1999-06-3011-6/+154
| | | | | | | | | | | | | | Tue Jun 29 23:02:42 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c (gdk_x_error / gdk_x_io_error): Don't core dump at all on X IO errors, only core dump if --enable-debug for X errors. Tue Jun 29 17:04:09 1999 Owen Taylor <otaylor@redhat.com> * gtk/testgtk.c (create_handle_box): Set the policy to auto_shrink - otherwise the appearance is rather strange when flipping between horizontal and vertical.
* Look for libgmodule in the right location.Owen Taylor1999-06-298-1/+36
| | | | | | | Tue Jun 29 15:59:25 1999 Owen Taylor <otaylor@redhat.com> * configure.in (LIBS): Look for libgmodule in the right location.
* add ::default_width and ::default_height arguments.Tim Janik1999-06-289-17/+116
| | | | | | | | | | | | Mon Jun 28 09:29:52 1999 Tim Janik <timj@gtk.org> * gtk/gtkwindow.c: add ::default_width and ::default_height arguments. (gtk_window_set_default_size): don't change a value if it's < 0. queue a resize. Sun Jun 27 11:00:33 1999 Tim Janik <timj@gtk.org> * gtk/gtktext.c (gtk_text_insert): don't segfault on NULL inserts.
* Don't add an extra "/" when concating "/" + filename. (From Matt GrossmanOwen Taylor1999-06-288-1/+44
| | | | | | | | Mon Jun 28 12:08:25 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (cmpl_completion_fullname): Don't add an extra "/" when concating "/" + filename. (From Matt Grossman <mattg@oz.net>)
* Reset clip mask for fg_gc if we set it for drawing pixmap.Owen Taylor1999-06-288-2/+41
| | | | | | | Mon Jun 28 10:57:12 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkctree.c (draw_cell_pixmap): Reset clip mask for fg_gc if we set it for drawing pixmap.
* removed old ""Got event for unknown window:" message. disabledTim Janik1999-06-2519-108/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Jun 24 17:06:23 1999 Tim Janik <timj@gtk.org> * gdk/gdkevents.c (gdk_event_translate): removed old ""Got event for unknown window:" message. disabled ConfigureNotify discarding code, because it led to events being processed out of order. Thu Jun 24 12:22:02 1999 Tim Janik <timj@gtk.org> * gdk/gdkglobals.c: preinitialize gdk_error_code to 0. * gdk/gdkevents.c (gdk_event_send_client_message_to_all_recurse): since we export this function, supress error warnings and don't reset the error code in the first half of this function. * gdk/gdk.c (gdk_x_error): set gdk_error_code to the actuall X error code (instead of just -1) so gdk_error_trap_pop() reveals something actually informative about the error that happened. * gdk/*.c: don't rely on gdk_error_code being -1 if an error occoured, but just gdk_error_code != 0. Thu Jun 24 11:50:07 1999 Tim Janik <timj@gtk.org> * gdk/gdkevents.c (gdk_event_apply_filters): advance the filter list pointer *before* invoking the filter function, so we at least don't crash if a filter is removed that is currently executed. window filters *really* need to be made truely reentrant at some point. Wed Jun 16 20:28:34 1999 Tim Janik <timj@gtk.org> * gdk/gdkevents.c (gdk_event_translate): don't segfault for window==NULL in ConfigureNotify. Mon Jun 14 11:10:15 1999 Tim Janik <timj@gtk.org> * gdk/gdkevents.c (gdk_event_translate): print the atom name in the PropertyNotify debug messages.
* Removed references to code examples in my directory on gtk.org as theyOwen Taylor1999-06-179-42/+836
| | | | | | | | | | | | Thu Jun 17 13:57:31 1999 Owen Taylor <otaylor@redhat.com> * docs/gtk_tut.sgml: Removed references to code examples in my directory on gtk.org as they should all be in the tutorial now. * docs/gtk_tut.sgml: Added sources for dial-test and scribble-xinput programs that were previously missing.
* Add maintainers listElliot Lee1999-06-151-0/+1
|
* queue a resize.Tim Janik1999-06-118-1/+30
| | | | | | Thu Jun 10 17:59:38 1999 Tim Janik <timj@gtk.org> * gtk/gtkdrawingarea.c (gtk_drawing_area_size): queue a resize.
* small fixTim Janik1999-06-097-7/+0
|
* mark certain functions as internal.Tim Janik1999-06-0929-264/+1122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Jun 9 15:13:16 1999 Tim Janik <timj@gtk.org> * gtk/gtkaccelgroup.h: mark certain functions as internal. Wed Jun 9 13:48:28 1999 Tim Janik <timj@gtk.org> * gtk/gtkpreview.c (gtk_preview_set_expand): queue a resize if the expand behaviour changed. * gtk/gtklabel.c (gtk_label_set_pattern): (gtk_label_set_justify): (gtk_label_set_line_wrap): don't bother invoking queue_clear, the reallocation does that for us, always free_words so the upcoming resize will relayout the label's contents. Wed Jun 9 12:50:48 1999 Tim Janik <timj@gtk.org> * applied argument implementation patches from Elena Devdariani <elena@cogent.ca>. * gtk/gtktoolbar.c: ::orientation, ::toolbar_style, ::space_size, ::space_style, ::relief * gtk/gtkruler.c: ::lower, ::upper, ::position, ::max_size * gtk/gtkpreview.c: ::expand * gtk/gtkpaned.c: ::handle_size, ::gutter_size * gtk/gtknotebook.c: ::homogeneous * gtk/gtklabel.c: ::wrap * gtk/gtklist.c: ::selection_mode * gtk/gtkhandlebox.c: ::handle_position, ::snap_edge * gtk/gtkcurve.c: ::curve_type, ::min_x, ::max_x, ::min_y, ::max_y * gtk/gtkcolorsel.c: ::policy, ::use_opacity * gtk/gtkcolorsel.c: ::update_policy, ::use_opacity * gtk/gtkclist.c: ::sort_type * gtk/gtkcheckmenuitem.c: ::active, ::show_toggle * gtk/gtkaspectframe.c: ::xalign, ::yalign, ::ratio, ::obey_child
* Added entry about menu keyboard navigation, removed some finished items.Owen Taylor1999-06-048-16/+49
| | | | | | | Fri Jun 4 00:08:59 1999 Owen Taylor <otaylor@redhat.com> * TODO: Added entry about menu keyboard navigation, removed some finished items.
* Removed ill-thought-out part of last comment.Owen Taylor1999-06-028-7/+40
| | | | | | | Tue Jun 1 23:38:38 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkstyle.c: Removed ill-thought-out part of last comment.
* Get the reference counting right when we have to attach a new style for aOwen Taylor1999-06-028-1/+107
| | | | | | | | | | | Tue Jun 1 23:30:09 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkstyle.c (gtk_style_attach): Get the reference counting right when we have to attach a new style for a different visual. (Chi-Deok Hwang <cdhwang@sr.hei.co.kr>) * gtk/gtkstyle.c: Documented the refcounting peculularities of gtk_style_attach.
* added return if fail for invalid window types.11999-06-0110-3/+61
| | | | | | | | | | 1999-06-01 <timj@dhcpd7.redhat.com> * gtk/gtkwindow.c (gtk_window_new): added return if fail for invalid window types. * examples/packer/pack.c (main): use GTK_WINDOW_TOPLEVEL instead of GTK_TOPLEVEL for creating the window.