summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix the .in files, add note about --with-native-locale.GTK_1_2_9PRE3Owen Taylor2001-03-0147-689/+722
| | | | | | | | | Wed Feb 28 21:14:08 2001 Owen Taylor <otaylor@redhat.com> * README.in INSTALL.in: Fix the .in files, add note about --with-native-locale. * */po/*: Line-number-creepage.
* Patch from ChiDeok Hwang to move call to sync_selection() up a few linesOwen Taylor2001-03-0118-21/+184
| | | | | | | | | | | | | | | | | | | | | | | | Wed Feb 28 19:10:43 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkclist.c (real_remove_row): Patch from ChiDeok Hwang to move call to sync_selection() up a few lines to before the row list is modified, to fix crash when removing rows in the undo_selection list. (Test case provided by Daniel Elstner: http://mail.gnome.org/archives/gtk-list/2001-February/msg00359.html) Wed Feb 28 15:40:27 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkcalender.c gtk/gtkdnd.c gtk/gtkitemfactory.c gtk/gtklayout.c gtk/gtkplug.c gtk/gtksocket.c gtk/gtktypeutils.c gtk/gtkwidget.c genmarshal.pl: Fix implicit casts between void * and function pointers. * gtk/gtklayout.c: Remove cruft after #endif * gtk/gtkdnd.c: Include stdlib.h for abs.
* Redo the focus stuff once more. Keep track of the focus status via anOwen Taylor2001-02-279-5/+138
| | | | | | | | | | | | | | Tue Feb 27 18:38:27 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_map): Redo the focus stuff once more. Keep track of the focus status via an event filter, so we can keep track of whether the window or any child has the focus; something that requires fields from the XEvent not in the GdkEvent. Install this event filter in gtk_window_map() before mapping the window, on the guess that this is unlikely to be overriden without the overrider chaining up. (fingers crossed)
* fix messed up commit message from earlierOwen Taylor2001-02-277-14/+35
|
* Remove left-over debug-printf.Owen Taylor2001-02-279-6/+73
| | | | | | | | | | | | Tue Feb 27 04:14:21 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_propagate_event): Remove left-over debug-printf. * gtk/gtkdnd.c (gtk_drag_find_widget): Don't use new_allocation.x/new_allocation.y for coordinate, translation since they are clip, use the x_offset/y_offset variables we keep for the purpose instead.
* When recursing, get the list of children and ref them all before walkingOwen Taylor2001-02-279-19/+182
| | | | | | | | | | | | | | | | Tue Feb 27 02:29:20 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_find_widget): When recursing, get the list of children and ref them all before walking through the list, to prevent problems when the widget hierarchy changes in ::drag_motion/drop handlers. * gtk/gtkmain.c (gtk_propagate_event): Only activate special key-press grab handling for widgets within GtkWindows. Otherwise, fall through to normal case. This prevents key events being sent twice to GtkInvisible widgets, which can cause all sorts of mischief.
* Add a configuration option --with-native-locale, that greatly speeds upOwen Taylor2001-02-2712-15/+209
| | | | | | | | | | | | | Tue Feb 27 01:29:34 2001 Owen Taylor <otaylor@redhat.com> * configure.in acconfig.h gdk/gdkfont.c gdk/gdkim.c INSTALL: Add a configuration option --with-native-locale, that greatly speeds up wide-character/multibyte conversions by dropping the indirection through Xlib's property-conversion functions. Off by default due to lack of testing for portability, but it should, in general be a more correct way of doing things, and should also remove much of the speed hit that the recent change to the handling of 8-bit fonts may have introduced.
* Update to describe submitting patches and bug reports toOwen Taylor2001-02-2713-168/+354
| | | | | | | | | | | | | | | | | | | | | | | | | Mon Feb 26 16:34:33 2001 Owen Taylor <otaylor@redhat.com> * README: Update to describe submitting patches and bug reports to bugzilla.gnome.org. Tue Feb 20 23:48:16 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkim.c,gdk/gdkprivate.h: Add private function _gdk_wcstombs_len() which takes a length. * gdk/gdkfont.c,gdk/gdkprivate.h,gdk/gdkdraw.c: Consistently handle calls to _wc() font for GDK_FONT_FONT routines by: a) for 8-bit fonts, converting to chars via wcstombs (Will make GtkLabel handle using GDK_FONT_FONT for non-iso-8859-1 a wee bit better, though GDK_FONT_FONTSET is still the only supported way to get correct i18n. #50834) b) for 16-bit fonts, assuming each wchar is a glyph index. (Broken, but no more broken than anything else)
* We can't maintain a flag in gtk_window_focus_in/out, because GtkPlug andOwen Taylor2001-02-2710-7/+76
| | | | | | | | | | | | Mon Feb 26 21:36:11 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.[ch] (gtk_window_focus_in/out_event): We can't maintain a flag in gtk_window_focus_in/out, because GtkPlug and cut-and-pastes of GtkPlug override these methods and don't chain up. So back out recent change adding such a flag, and instead recycle the hack GtkPlug uses of making GTK_WIDGET_HAS_FOCUS on the top level represent this information
* Do the setting of tree->root_tree in parent_set rather than _map(), fixingOwen Taylor2001-02-268-19/+148
| | | | | | | | Fri Feb 23 15:06:48 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktree.c (gtk_tree_class_init): Do the setting of tree->root_tree in parent_set rather than _map(), fixing #50892 in a bit better manner.
* Fixed spellingStano Visnovsky2001-02-232-3/+7
|
* Change to parent implementation instead of cut-and-paste that was out ofOwen Taylor2001-02-2310-40/+98
| | | | | | | | | | | | Thu Feb 22 20:50:08 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkplug.c (gtk_plug_set_focus): Change to parent implementation instead of cut-and-paste that was out of sync. * gtk/gtkwindow.[ch] (gtk_window_set_focus): Only send ::focus_in_event when the toplevel window actually has focus on it. (Fixes #50857, Akira Higuchi)
* Grab on a offscreen GtkInvisible so that we can move handle boxes whoseOwen Taylor2001-02-238-36/+156
| | | | | | | | | Thu Feb 22 19:53:55 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Grab on a offscreen GtkInvisible so that we can move handle boxes whose parents are iconified or on another desktop. Also, make sure we don't reattach to such parents. (#1923)
* Don't flip cursor. (#50934)Owen Taylor2001-02-228-5/+29
| | | | | | Thu Feb 22 17:07:58 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenu.c (gtk_menu_popup): Don't flip cursor. (#50934)
* Update the current font from the contents of the entry. (#3123)Owen Taylor2001-02-228-43/+85
| | | | | | | | Thu Feb 22 16:45:17 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkfontsel.c (gtk_font_selection_get_font[_name]): Update the current font from the contents of the entry. (#3123)
* Remove duplicate fwd decl for gtk_default_draw_shadow.Jody Goldberg2001-02-2216-44/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Feb 2 11:22:33 2001 Jody Goldberg <jgoldberg@home.com> * gtk/gtkstyle.c : Remove duplicate fwd decl for gtk_default_draw_shadow. Tue Feb 20 11:40:58 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkimage.c (gdk_image_new): Remove excess warning, make warnings more verbose, treat a error in shmat as permanent, and don't try again. (#51163, Ed Randall.) Mon Feb 19 20:46:21 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_entry_key_press): Take key presses of GDK_Left/GDK_Right when there is a selection to mean "move the cursor to the start/end of the selection". (Inspired by #50492, Jay Cox, though the implementation is different for GTK+-1.2.) Mon Feb 19 20:15:28 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkrange.c (gtk_range_timer_1st_time): Add an initial delay for the first click before starting to scroll. (based on #51026, gtk-enf-990512-0.patch, Eric Fisher) * gtk/gtktext.c: GtkText should have I-beam cursor. (based on gtk-enf-990513-1.patch, Eric Fisher.) Mon Feb 19 18:39:21 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkselection.c (gdk_string_to_compound_text,gdk_text_property_to_text_list): Robustify by stripping control characters not allowed in COMPOUND_TEXT out before passing to XmbTextpropertyToTextList(), and from the result of XmbTextListToTextProperty(). This is in the spirit of "Be lenient in what you receive, strict in what you generate." (Fixes #1704)
* Updated sl translationAndraz Tori2001-02-201-28/+28
|
* Fix incorrect mask. (#51039, fix from Martin Maierhofer)Owen Taylor2001-02-199-1/+113
| | | | | | | | | | | | | | | Mon Feb 19 14:20:36 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkrgb.c (gdk_rgb_convert_555_br): Fix incorrect mask. (#51039, fix from Martin Maierhofer) Fri Feb 16 20:09:42 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkctree.c (gtk_ctree_class_init): Add bindings for unshifted + and shifted = for non-us keyboards. Make <Control>+ and <Control>- work as well as <Control>KP_Plus, <Control>KP_Minus for recursive open/close. (#2682, René Seindal)
* Updated (applied gtk-pauls-990307-0.patch)Owen Taylor2001-02-182-5/+9
| | | | | | Sun Feb 18 18:06:11 2001 Owen Taylor <otaylor@redhat.com> * nl.po: Updated (applied gtk-pauls-990307-0.patch)
* Updated Slovenian translationAndraz Tori2001-02-171-36/+36
|
* Unset the active menu item before deactivating the menu, soOwen Taylor2001-02-178-0/+46
| | | | | | | | Fri Feb 16 18:50:59 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenushell.c (gtk_real_menu_shell_cancel): Unset the active menu item before deactivating the menu, so gtk_menu_popdown doesn't change the history. (#50964)
* draw lines with text_gc rather than black_gc. (Patch from Vlad HarchevOwen Taylor2001-02-168-5/+49
| | | | | | | | Fri Feb 16 15:55:22 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktreeitem.c (gtk_tree_item_draw_lines): draw lines with text_gc rather than black_gc. (Patch from Vlad Harchev <hvv hippo ru>, #50926)
* 1.2.9pre1GTK_1_2_9PRE1Owen Taylor2001-02-1647-1157/+1380
| | | | | | | | | | | Tue Feb 13 15:39:28 2001 Owen Taylor <otaylor@redhat.com> * 1.2.9pre1 * NEWS: Update. * docs/Makefile.am: Remove building of HTML for gdk.texi gtk.texi since it doesn't work.
* Updated italian translationChristopher R. Gabriel2001-02-152-41/+44
|
* Updated Slovak translationStano Visnovsky2001-02-142-37/+41
|
* Minor fixes to Greek translationSimos Xenitellis2001-02-132-59/+63
|
* Fix problems with characters < 256 in wide character locales. (Patch fromOwen Taylor2001-02-138-1/+43
| | | | | | | | Tue Feb 13 13:56:58 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktext.c (find_char_width): Fix problems with characters < 256 in wide character locales. (Patch from Yoichi Imai.)
* Properly handle passive buttons at button creation time (#50686).Owen Taylor2001-02-138-26/+92
| | | | | | | Tue Feb 13 00:58:49 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkclist.c: Properly handle passive buttons at button creation time (#50686).
* Call gdk_colormap_sync() - fixes #50678.Owen Taylor2001-02-139-0/+53
| | | | | | | | | Mon Feb 12 20:37:32 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkrgb.c (gdk_rgb_try_colormap): Call gdk_colormap_sync() - fixes #50678. * gdk/gdk.h: Add missing prototype for gdk_colormap_sync().
* Fix some cases of implicit casting between void * and function pointers.Owen Taylor2001-02-139-4/+132
| | | | | | | | | | | | | Mon Feb 12 20:02:32 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c: Fix some cases of implicit casting between void * and function pointers. * configure.in gtk/gtkmain.c: Add checks for setuid/setgid, and refuse to initialize GTK+ if they fail. * configure.in (GTK_INTERFACE_AGE): Reset GTK_INTERFACE_AGE to zero.
* [ Enabling patch for better looking theme engines ]Owen Taylor2001-02-1227-351/+1381
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Feb 12 15:55:26 2001 Owen Taylor <otaylor@redhat.com> [ Enabling patch for better looking theme engines ] * gtk/gtkstyle.[ch]: Add new API functions for making better looking GTK+-1.2.x themes. THESE FUNCTIONS WILL NOT BE SUPPORTED IN THE FUTURE. ANY THEMES DEPENDING ON THESE FUNCTIONS MUST CHECK FOR GTK+-1.2.x WHERE x >= 1.2.9. The functions: _gtk_style_set_prop_experimental() _gtk_style_get_prop_experimental() are used to allow configuration of assorted geometry parameters. * gtk/gtkbutton.c: Make DEFAULT_SPACING configurable as GtkButton::default_spacing. * gtk/gtkcheckbutton.c gtk/gtkradiobutton.c: Make indicator_size and indicator_spacing configurable as GtkCheckButton::indicator_size, GtkCheckButton::indicator_spacing. * gtk/gtkcheckbutton.[ch]: Private function _gtk_check_button_get_props(). * gtk/gtkcheckmenuitem.c (gtk_check_button_menu_item_set_show_toggle): Make a noop - turning this on is just a bad idea visually, and changing this from a program is just asking a bad idea. * gtk/gtk{h,v,}paned.c: Provide configuration parameters GtkPaned::handle_full_size, which, if true, will turn on GTK+-1.3.2 style full-size paned handles. GtkPaned::handle_width, which sets the gutter size for paned widgets. (If set, overrides setting via gtk_paned_set_gutter_size()) * gtk/gtkpaned.[ch]: Add private functions _gtk_paned_is_handle_full_size(), _gtk_paned_get_handle_rect(), _gtk_paned_get_gutter_size(). * gtk/gtkstyle.c (gtk_default_draw_box): Add handling for details "hpaned", "vpaned", used for drawing full-size grips on horizontal and vertical paned widgets. (In the style of GTK+-1.3.2) * gtk/gtkhscale.c gtk/gtkhscrollbar.c: * gtk/gtkoptionmenu.c: Add configurable parameters: GtkOptionMenu::indicator_width GtkOptionMenu::indicator_height GtkOptionMenu::indicator_left_spacing GtkOptionMenu::indicator_right_spacing GtkOptionMenu::indicator_top_spacing GtkOptionMenu::indicator_bottom_spacing To control where the indicator is drawn and how big it is. * gtk/gtkrange.[ch]: Add configurable parameters: GtkRange::slider_width - width of trough GtkRange::trough_border - space to reserve for trough border GtkRange::stepper_size - size of arrows GtkRange::stepper_spacing - spacing between scrollbar and arrows and private accessor _gtk_range_get_props(). * gtk/gtkwidget.c (gtk_widget_event): Rewrite a bit to quiet GCC. * gtk/gtkwidget.c (gtk_widget_propagate_state): Fix typo in last commit.
* Don't allow insensitive widgets to have a grab.Owen Taylor2001-02-129-2/+47
| | | | | | | | Mon Feb 5 12:47:09 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (gtk_widget_propagate_state) gtk/gtkmain.c (gtk_grab_add): Don't allow insensitive widgets to have a grab.
* Updated Brazilian Portuguese translation.Gustavo Maciel Dias Vieira2001-02-122-92/+73
| | | | | | 2001-02-12 Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br> * pt_BR.po: Updated Brazilian Portuguese translation.
* Small corrections in Lithuanian translation.Gediminas Paulauskas2001-02-122-76/+53
|
* use the font->ascent and ->descent to calculate the requisition height,Ian Peters2001-02-118-6/+75
| | | | | | | | | | * gtk/gtkprogressbar.c (gtk_progress_bar_size_request): use the font->ascent and ->descent to calculate the requisition height, rather than the gdk_text_height (gtk_progress_bar_paint): use the font->ascent instead of the gdk_text_height when calculating the vertical offset of the text label on the progress bar. This fixes the baseline of the font on the widget.
* Updated translation. Updated translation.Kjartan Maraas2001-02-083-81/+86
| | | | | | | 2001-02-08 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated translation. * nn.po: Updated translation.
* 1.2.9Nam SungHyun2001-02-081-38/+38
|
* Updated French translation.Christophe Merlet2001-02-052-88/+94
|
* Surround additional regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)Owen Taylor2001-02-038-0/+39
| | | | | | | Fri Feb 2 19:21:23 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)
* Remove definition of _XOPEN_SOURCE, since it breaks things on BSD. If youOwen Taylor2001-02-029-19/+97
| | | | | | | | | | | | | Fri Feb 2 18:31:54 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkimage.c: Remove definition of _XOPEN_SOURCE, since it breaks things on BSD. If you want to compile GTK+ with -ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE when configuring, since GTK+ simply can't be "pure ANSI" in the header files it uses. (#8170, Greg Hudson) * gdk/gdkrgb.c (gdk_rgb_select_conv): Exit with an informative warning message if no converter can be found.
* Fix problem with passing signed chars to isupper() / tolower().Owen Taylor2001-02-029-20/+76
| | | | | | | | | | Fri Feb 2 15:09:51 2001 Owen Taylor <otaylor@redhat.com> * gtk/fnmatch.c (FOLD): Fix problem with passing signed chars to isupper() / tolower(). * examples/packer/pack.c: Add GINT_TO_POINTER, GPOINTER_TO_INT to clear up 64-bit warnings. (#567)
* Fix some reference counting problems problems in last patch.Owen Taylor2001-02-028-12/+56
| | | | | | | Fri Feb 2 13:38:21 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_propagate_event): Fix some reference counting problems problems in last patch.
* When a grab widget is in effect, give the grab widget a first crack atOwen Taylor2001-02-028-6/+62
| | | | | | | | Fri Feb 2 13:20:12 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_propagate_event): When a grab widget is in effect, give the grab widget a first crack at KEY_PRESS/RELEASE events. (#424)
* Use $(libdir), not $(exe_prefix), since some people set $(libdir)Owen Taylor2001-02-029-3/+38
| | | | | | | Fri Feb 2 12:02:23 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c Makefile.am: Use $(libdir), not $(exe_prefix), since some people set $(libdir) separately. (#1290, David Kaelbling)
* Improve warnings a bit in a fashion similar to the part ofOwen Taylor2001-02-028-1/+48
| | | | | | | | Thu Feb 1 20:32:49 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c: Improve warnings a bit in a fashion similar to the part of gtk-enf-990513-0.patch (Eric Fisher) that hasn't been superceded.
* If PATH_MAX and MAXPATHLEN are not defined, define MAXPATHLEN to 2048.Owen Taylor2001-02-018-7/+68
| | | | | | | | | Thu Feb 1 18:25:46 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c: If PATH_MAX and MAXPATHLEN are not defined, define MAXPATHLEN to 2048. (The Hurd doesn't have MAXPATHLEN, but the code here depends on a fixed value.) (#4524)
* Remove a dependency on bin->child != NULL. (Basically, just a cleanup)Owen Taylor2001-02-018-25/+87
| | | | | | | | | | Wed Jan 31 22:01:04 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkhandlebox.c (gtk_handle_box_draw): Remove a dependency on bin->child != NULL. (Basically, just a cleanup) * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Handle the case where child == NULL and handle_position == RIGHT or BOTTOM. (#8002)
* If the node being moved isn't viewable there is no way that moving theOwen Taylor2001-02-018-2/+50
| | | | | | | | | Wed Jan 31 21:20:39 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkctree.c (real_tree_move): If the node being moved isn't viewable there is no way that moving the node will cause the focus row to become not viewable, so omit check on the visibility of new_sibling, which is irrelevant. (Fixes #8002, David Helder)
* Check bounds when setting selection. (#7302)Owen Taylor2001-02-018-3/+40
| | | | | | | Wed Jan 31 20:33:35 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_entry_set_selection): Check bounds when setting selection. (#7302)
* avoid regeneration of gtkmarshal.c from stamp file dep, when notTim Janik2001-02-018-1/+43
| | | | | | | | Thu Feb 1 02:26:18 2001 Tim Janik <timj@gtk.org> * gtk/Makefile.am ($(srcdir)/gtkmarshal.c): avoid regeneration of gtkmarshal.c from stamp file dep, when not @REBUILD@, fixes #11008.