summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* GTK+ is as easy as 1.2.3...GTK_1_2_3CDT 1999 Shawn T. Amundson1999-05-1131-408/+450
| | | | | | Mon May 10 22:20:06 CDT 1999 Shawn T. Amundson <amundson@gtk.org> * GTK+ is as easy as 1.2.3...
* propagate ::selection-done emissions up to the topmost menu shell.Tim Janik1999-05-118-6/+57
| | | | | | | Mon May 10 04:20:41 1999 Tim Janik <timj@gtk.org> * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): propagate ::selection-done emissions up to the topmost menu shell.
* Unset the user data on the window before destroying it.Owen Taylor1999-05-079-3/+141
| | | | | | | | | | | | | | | | | | Fri May 7 10:15:14 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.c (gtk_notebook_set_scrollable): Unset the user data on the window before destroying it. * gtk/gtknotebook.c (gtk_notebook_unrealize): Add an unrealize handler to take care of destroying notebook->panel properly. (Bug #1198 - Morten Welinder <terra@diku.dk>) * gtk/gtktext.c (expand_scratch_buffer): Fix reversal of g_new and g_realloc to stop memory leak. (Actually, we could just use g_realloc(), but I'm not 100% sure that is portable). (Bug #1196 - Morten Welinder <terra@diku.dk>)
* Removed stray GtkPlugButton declaration.Owen Taylor1999-05-0612-5/+168
| | | | | | | | | | | | Wed Apr 21 00:42:08 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkplug.h: Removed stray GtkPlugButton declaration. * gdk/gdkfont.c (gdk_text_measure): Fix the return value for fontsets. * gtk/gtkbutton.c (gtkbutton_expose): Fix warning with bin/button confusion.
* Change G_MAXINT to 2^16 to alleviate overflow problems in various windowOwen Taylor1999-05-062-16/+16
| | | | | | | | Wed May 5 22:24:21 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.c (gdk_window_set_geometry_hints): Change G_MAXINT to 2^16 to alleviate overflow problems in various window managers.
* Patch from Sung-Hyun Nam <namsh@lgic.co.kr>Owen Taylor1999-05-062-20/+20
| | | | | | | | | Wed May 5 22:51:06 1999 Owen Taylor <otaylor@redhat.com> Patch from Sung-Hyun Nam <namsh@lgic.co.kr> * gdk/gdkim.c: Fix cut-and-paste errors for x/y and PreeditAttributes/StatusAttributes.
* in the ItemFactory test, link radio items together, and show howTim Janik1999-05-0625-262/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu May 6 04:53:26 1999 Tim Janik <timj@gtk.org> * gtk/testgtk.c: in the ItemFactory test, link radio items together, and show how preselection of radio items is done. Sun May 2 13:31:14 1999 Tim Janik <timj@gtk.org> * gtk/gtktreeitem.c (gtk_tree_item_set_subtree): * gtk/gtktree.c (gtk_tree_add) (gtk_tree_insert): * gtk/gtktoolbar.c (gtk_toolbar_insert_element): * gtk/gtkpaned.c (gtk_paned_pack2) (gtk_paned_pack1): * gtk/gtkscrolledwindow.c (gtk_scrolled_window_add): * gtk/gtktable.c (gtk_table_attach): * gtk/gtklist.c (gtk_list_insert_items): * gtk/gtkmenushell.c (gtk_menu_shell_insert): * gtk/gtknotebook.c (gtk_notebook_insert_page_menu): * gtk/gtkpacker.c (gtk_packer_add_defaults) (gtk_packer_add): * gtk/gtkbin.c (gtk_bin_add): * gtk/gtkbox.c (gtk_box_pack_start) (gtk_box_pack_end): * gtk/gtkfixed.c (gtk_fixed_put): * gtk/gtklayout.c (gtk_layout_put): general fixups to container_add logic. always realize child if child->parent is realized, only map the child and queue a resize if child and child->parent are both visible. Fri Apr 30 09:02:28 1999 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_real_unrealize): use gtk_container_forall instead of gtk_container_foreach to walk and unrealize children, so composite children get also unrealized. (gtk_widget_real_show): don't call gtk_widget_map() if we don't need to. (gtk_widget_map): assert that the widget is visible (basic constrain). (gtk_widget_real_map): assert that the widget is realized (basic constrain). Fri Apr 29 00:53:20 1999 Tim Janik <timj@gtk.org> * gtk/gtkbindings.c (gtk_pattern_spec_init): plugged a memory leak.
* Initialize size_hints.x and size_hints.y because kwm brokenly paysOwen Taylor1999-05-059-2/+67
| | | | | | | | | Wed May 5 12:42:01 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.c (gdk_window_set_geometry_hints): Initialize size_hints.x and size_hints.y because kwm brokenly pays attention to them. (Bug #1181 - Lars Heete <hel@admin.de>)
* Free the return value of gdk_list_visuals(). (Bug #1193 - Morten WelinderOwen Taylor1999-05-058-6/+51
| | | | | | | | Wed May 5 11:38:56 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the return value of gdk_list_visuals(). (Bug #1193 - Morten Welinder <terra@diku.dk>)
* Add $INTLLIBS into $LIBS directly, rather than repeating the checks forOwen Taylor1999-05-0510-19/+134
| | | | | | | | | | | | | | | Wed May 5 10:47:54 1999 Owen Taylor <otaylor@redhat.com> * configure.in (LIBS): Add $INTLLIBS into $LIBS directly, rather than repeating the checks for gettext. * INSTALL: Added information about gettext and NLS support. * acinclude.m4 (LIBM): Check for dgettext, not just gettext. This should hopefully fix things wrt systems with old versions of GNU gettext installed.
* cast the return value of XSetIMValues to (void *) when comparing to NULL,Manish Singh1999-05-049-2/+51
| | | | | | | | | * gdk/gdkim.c (gdk_im_real_open): cast the return value of XSetIMValues to (void *) when comparing to NULL, to workaround the problem of some compilers barfing since older X headers don't have the prototype for it. -Yosh
* Use width,height = 0, 0 to mean - here to edge of window, instead of -1,Owen Taylor1999-05-0411-83/+88
| | | | | | | | | | | | | | | | | | | | | | | | Tue May 4 08:44:08 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkclist.c (gtk_clist_draw, draw_rows): Use width,height = 0, 0 to mean - here to edge of window, instead of -1, -1, since the former is all we support. Tue May 4 08:34:43 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_main): Correctly free list nodes when removing from quit_functions list. Mon Apr 19 10:11:12 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkcolor.c (gdk_colormap_new): Fix memory leak for pseudocolor where colormap->colors was double allocated. * gdk/gdkcolor.c (gdk_colormap_alloc1): Store the color value in the hash table with the pixel filled in so when we do later hash table lookups, the color value is correct.
* Add a gtkrc file for iso-8859-2 locales.Owen Taylor1999-05-0410-13/+192
| | | | | | | | | | | | | | | Tue May 4 09:32:08 1999 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc file for iso-8859-2 locales. * configure.in (ALL_LINGUAS): ALL_LINGUAS update. Tue Apr 27 16:38:32 1999 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am: Fix typo of static_sources for static_SOURCES. (Pointed out by andy@rz.uni-karlsruhe.de and others). Remove some suspicious and useless lines.
* Backmerge from HEAD sk.po sl.po zh_TW.Big5.po: New additionsOwen Taylor1999-05-048-75/+2855
| | | | | | | | | Tue May 4 09:09:52 1999 Owen Taylor <otaylor@redhat.com> * fi.wa wa.po ca.po: Backmerge from HEAD sk.po sl.po zh_TW.Big5.po: New additions * pl.po: Backported updates from HEAD
* check private->destroyed before making the callManish Singh1999-05-028-5/+42
| | | | | | | * gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before making the call -Yosh
* libtool 1.3 upgradeManish Singh1999-05-0112-693/+799
| | | | -Yosh
* remove unused variable.Tim Janik1999-04-298-1/+28
| | | | | | Tue Apr 27 14:17:16 1999 Tim Janik <timj@gtk.org> * gtk/gtkpacker.c (gtk_packer_size_request): remove unused variable.
* Fix leak pointed out by Morten Welinder <terra@diku.dk>.Owen Taylor1999-04-279-0/+85
| | | | | | | Tue Apr 27 11:17:35 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkdnd.c (xdnd_set_{targets,actions}): Fix leak pointed out by Morten Welinder <terra@diku.dk>.
* When redrawing characters on non-visible entry, use appropriate '*'Owen Taylor1999-04-271-4/+9
| | | | | | | | Tue Apr 27 18:23:35 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): When redrawing characters on non-visible entry, use appropriate '*' character. (Bug #1130 - Jean-Marc Jacquet <jm@littleigloo.org>)
* compute destination cell from drag coordinates.Lars Hamann1999-04-269-135/+257
| | | | | | | | | | | | | Tue Apr 27 01:31:40 1999 Lars Hamann <lars@gtk.org> * gtk/gtkclist.c (drag_dest_cell): compute destination cell from drag coordinates. (gtk_clist_drag_data_received) (gtk_clist_drag_motion): use drag_dest_cell. * gtk/gtktree (drag_dest_cell) (gtk_ctree_drag_data_received) (gtk_ctree_drag_motion): likewise. (Bug #1129)
* Updated.Changwoo Ryu1999-04-242-25/+29
| | | | | | 1999-04-24 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * ko.po: Updated.
* fix (and foxy ;)Tim Janik1999-04-227-14/+14
|
* properly initialize translate_* fields. (gtk_item_factory_finalize):Tim Janik1999-04-218-3/+76
| | | | | | | | | | | | Wed Apr 21 21:26:11 1999 Tim Janik <timj@gtk.org> * gtk/gtkitemfactory.c (gtk_item_factory_init): properly initialize translate_* fields. (gtk_item_factory_finalize): invoke translate_notify independant from translate_data. (gtk_item_factory_set_translate_func): likewise. (gtk_item_factory_destroy): only ifactory pointer from those widgets that belong to us (stupid me).
* correctly remove the default filter from the listGeorge Lebl1999-04-219-2/+37
| | | | | | | Wed Apr 21 14:20:22 1999 George Lebl <jirka@5z.com> * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the default filter from the list
* Fixed leak of rc_style list when lookup succeeeds.Owen Taylor1999-04-218-0/+114
| | | | | | | Mon Apr 19 12:05:31 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c (gtk_rc_style_init): Fixed leak of rc_style list when lookup succeeeds.
* Merged Croatian locale from HEAD.Drazen Kacar1999-04-193-1/+464
|
* Add a / before the directory name to keep directory names from eachother.Tomas Ogren1999-04-188-1/+36
| | | | | | | 1999-04-18 Tomas Ogren <stric@ing.umu.se> * gtk/gtkrc.c: Add a / before the directory name to keep directory names from eachother. (Already fixed in 1.3.x)
* #include "gdkkeysyms.h" for gdk_XConvertCase #definesManish Singh1999-04-1710-13/+54
| | | | | | | | | * gdk/gdk.c: #include "gdkkeysyms.h" for gdk_XConvertCase #defines * gtk/gtkfontsel.c (gtk_font_selection_create_xlfd): use g_strdup_printf instead of calcing the length separately -Yosh
* fixed undo_selection bug. fixed resync_selection bug.Lars Hamann1999-04-149-7/+60
| | | | | | | | | Thu Apr 15 01:11:24 1999 Lars Hamann <lars@gtk.org> * gtk/gtkctree.c (resync_selection): * gtk/gtkclist.c (resync_selection): fixed undo_selection bug. * gtk/gtkclist.c (gtk_clist_button_release): fixed resync_selection bug.
* Released GTK+ 1.2.2GTK_1_2_2CDT 1999 Shawn T. Amundson1999-04-1323-329/+357
| | | | | | Tue Apr 13 17:14:28 CDT 1999 Shawn T. Amundson <amundson@gtk.org> * Released GTK+ 1.2.2
* removed some silly #ifdef HAVE_CONFIG that we don't do in many otherOwen Taylor1999-04-1311-24/+78
| | | | | | | | | | | | Tue Apr 13 02:49:33 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.c: removed some silly #ifdef HAVE_CONFIG that we don't do in many other places. (Fixing duplicate #include of config.h) * gdk/gdkevents.c: include gdkinput.h _after_ config.h. Otherwise, #ifndef XINPUT_NONE check in the latter doesn't work. (Bug #546)
* bumped version number to Gtk+ 1.2.2, interface 0, binary 2.Tim Janik1999-04-1111-6/+110
| | | | | | | | | | | | | | Sun Apr 11 15:08:27 1999 Tim Janik <timj@gtk.org> * configure.in: bumped version number to Gtk+ 1.2.2, interface 0, binary 2. * NEWS: updates. Sun Apr 11 14:38:03 1999 Tim Janik <timj@gtk.org> * gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): check for color "None" case insensitive.
* Add some missing GDK_THREADS_ENTER()/LEAVE around timeouts. (Patches fromOwen Taylor1999-04-0910-7/+64
| | | | | | | | Fri Apr 9 19:22:19 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkcolorsel.c gtk/gtkdnd.c gtk/gtkmenuitem.c: Add some missing GDK_THREADS_ENTER()/LEAVE around timeouts. (Patches from Sebastian Wilhelmi <wilhelmi@ira.uka.de>)
* use gtk_widget_activate() rather than emit_by_name.Tim Janik1999-04-089-2/+87
| | | | | | | | | | | | | Thu Apr 8 20:10:33 1999 Tim Janik <timj@gtk.org> * gtk/gtkentry.c (gtk_entry_key_press): use gtk_widget_activate() rather than emit_by_name. * gtk/gtkeditable.c (gtk_editable_insert_text): keep a reference on the widget across multiple signal emissions. (gtk_editable_delete_text): same here. (gtk_editable_class_init): set widget_class->activate_signal after editable_signals[ACTIVATE] has been created.
* Don't clamp position here prematurely -- we might not have the rightOwen Taylor1999-04-088-10/+59
| | | | | | | | Wed Apr 7 22:59:47 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkpaned.c (gtk_paned_set_position): Don't clamp position here prematurely -- we might not have the right ->min_position and ->max_position yet.
* Add error traps so if the other end of the connection dies, we survive.Owen Taylor1999-04-0610-11/+116
| | | | | | | | | | | | | | | Tue Apr 6 16:38:51 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkselection.c gdk/gdkselection.c: (gtk_selection_request): Add error traps so if the other end of the connection dies, we survive. * gtk/gtkselection.c (gtk_selection_notify): Clean up properly when selection property retrieval fails. * gtk/gtkselection.c (gtk_selection_request): Correctly reject SelectionRequest notifies where the handler returns no data.
* Only unhighlight when we've previously highlighted.Owen Taylor1999-04-0612-69/+208
| | | | | | | | | | | | | | | | | | | | | Tue Apr 6 12:24:21 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_dest_leave): Only unhighlight when we've previously highlighted. * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Don't emit two "drag_leave" signals for Motif drops. * gtk/gtkdnd.c (gtk_drag_source_handle_event): Send back the correct status messages when dropping from Motif onto a proxy window that is rejecting the drop. * gdk/gdkdnd.c (gdk_drag_motion): Separate out the dest_xid field into two fields - one for the window to send in messages, one to indicate the last looked up window for caching purposes. This is needed, so that Leave messages get the correct window.
* Check explicitly for the string "None" - it is in the XPM spec and someOwen Taylor1999-04-059-9/+86
| | | | | | | | | Mon Apr 5 17:11:57 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): Check explicitly for the string "None" - it is in the XPM spec and some servers treat unknown colors in odd ways (like asking the user!)
* Fix warning created by people mucking around with the gsource API.Owen Taylor1999-04-059-20/+96
| | | | | | | | | | | | | | Mon Apr 5 13:21:30 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkevents.c (gdk_event_check, gdk_event_prepare): Fix warning created by people mucking around with the gsource API. * gdk/gdkevents.c (gdk_io_invoke, gdk_input_add_full): Change mapping between GIOCondition and GdkInputCondition to match the way the Linux kernel does it. This should fix problems where closed pipes were no longer signalling GDK_INPUT_READ on systems with a native poll().
* made "->" into a "." of previous change so it compilesManish Singh1999-04-0212-16/+98
| | | | | | | | | | | | | * gdk/gdkevents.c: made "->" into a "." of previous change so it compiles * gtk/gtkfontsel.c: added braces enclosing an if-else construct * autogen.sh: add --enable-maintainer-mode * configure.in: set ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" -Yosh
* Set the window field of the event structure before calling user filters.Federico Mena Quintero1999-04-019-0/+46
| | | | | | | | | | | | | Thu Apr 1 18:41:25 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkevents.c (gdk_compress_exposures): Set the window field of the event structure before calling user filters. 1999-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gdk/gdk.c (gdk_init_check): Use False as the last argument to XInternAtom() here. This is a particularly Old And Nasty(tm) bug.
* Use False as the last argument to XInternAtom() here. This is aFederico Mena Quintero1999-04-019-6/+41
| | | | | | | 1999-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gdk/gdk.c (gdk_init_check): Use False as the last argument to XInternAtom() here. This is a particularly Old And Nasty(tm) bug.
* added functions from GLE, gtk_arg_reset() to free the value and reset typeTim Janik1999-03-3011-9/+364
| | | | | | | | | | | | | | Sat Mar 27 23:32:13 1999 Tim Janik <timj@gtk.org> * gtk/gtkarg.[hc]: added functions from GLE, gtk_arg_reset() to free the value and reset type to GTK_TYPE_INVALID, and gtk_arg_values_equal() to compare two argument values. added gtk_arg_to_valueloc() to set a variable from an arg through its location (pointer). * gtk/gtkobject.[hc]: implemented gtk_object_get() in terms of gtk_object_arg_get() and gtk_arg_to_valueloc(), floats are collected as gfloat*, uchars are collected as guchar*, ints are collected as gint*, etc...
* Include <string.h> instead of <strings.h>.Owen Taylor1999-03-2910-3/+72
| | | | | | | | | | | | Mon Mar 29 17:45:47 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccelgroup.c gtk/gtkgtkbindings.c: Include <string.h> instead of <strings.h>. * gtk/gtkstyle.c: Fix double include of gtkthemes.h (actually, a lot more duplicate includes occur if you trace through the sequence of #include's) gtk-jbb-990320-0: John Bley, jbb6@acpub.duke.edu
* Free the value of the intermediate text property - prevents major memoryOwen Taylor1999-03-299-0/+53
| | | | | | | | | Mon Mar 29 17:31:52 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkim.c (gdk_mbstowcs): Free the value of the intermediate text property - prevents major memory leak when gdk_use_mb. gtk-d3august-990311-0: Bj|rn Augustsson <d3august@dtek.chalmers.se>
* Patches from Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>Owen Taylor1999-03-2915-4/+193
| | | | | | | | | | | | | | | | | | | | | | | Mon Mar 29 17:02:58 1999 Owen Taylor <otaylor@redhat.com> Patches from Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp> gtk-a-higuti-990322-[0-3] * gdk/gdkfont.c (gdk_text_extents_wc): Make work when sizeof(wchar_t) != sizeof (GdkWChar) * configure.in: Fix confusion between GTK_LOCALE_[C]FLAGS that was causing -DX_LOCALE not to work. * gtk/gtkrc.c (gtk_rc_init): X_LOCALE will never have LC_MESSAGES defined * gdk/gdk.c (gdk_init_check): Remove --xim-preedit and --xim-status from argv properly. * gdk/gdkim.c (gdk_ic_real_new): Add a gdk_flush() so that the client window is present on the X server before we pass it to the input method.
* Fix bug where if --display is specified on the command line, than the dragOwen Taylor1999-03-2911-8/+94
| | | | | | | | | | | | | | Tue Mar 9 10:46:49 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkdnd.c (motif_find_drag_window): Fix bug where if --display is specified on the command line, than the drag window will not be created on that display. Tue Mar 9 10:38:24 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkproperty.c (gdk_atom_intern): Fixed bug where lookups with only_if_exists == TRUE were inserting bogus values into the atom cache.
* Shut up CVSManish Singh1999-03-281-0/+1
| | | | -Yosh
* updated translationKjartan Maraas1999-03-261-5/+5
| | | | | | 1999-03-27 Kjartan Maraas <kmaraas@online.no> * no.po: updated translation
* get $HOME from g_get_home_dir() (gtk-pmc-990123-0.patch.gz).Tim Janik1999-03-2511-184/+262
| | | | | | | | | | | | | | | | | | | Thu Mar 25 12:38:31 1999 Tim Janik <timj@gtk.org> * gtk/gtkrc.c (gtk_rc_append_default_module_path): get $HOME from g_get_home_dir() (gtk-pmc-990123-0.patch.gz). * gtk/gtkwindow.c (gtk_window_key_press_event): feature keypad up/down/ left/right as well (gtk-michael-980726-0.patch.gz). * gtk/gtklabel.[hc]: bunch of miscellaneous cleanups, such as s/0/NULL/ for pointer values, use gchar instead of char. fixed uline allocation leaks, changed the allocation pattern so we use G_ALLOC_AND_FREE mem chunks instead of G_ALLOC_ONLY. (gtk_label_size_request): always alter requisition as passed and leave widget->requisition alone. (gtk_label_set_text): allow NULL strings. (gtk_label_new): likewise.