1. 14 Jan, 2002 10 commits
    • Matthias Clasen's avatar
      Documentation additions. · 322100dc
      Matthias Clasen authored
      
              * gtk/gtkoldeditable.c, gtk/gtkrc.c,
              gtk/gtkstyle.c: Documentation additions.
      
              * gtk/gtkmenu.c (gtk_menu_set_accel_path),
              gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path),
              gtk/gtkwidget.c (gtk_widget_add_accelerator): Typo and markup fixes.
      
              * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document.
      
              * gtk/gtkaccelmap.c (gtk_accel_map_add_filter): Explain intended use.
      
              * gtk/running.sgml: Add ids to some elements to make them
              addressable as link targets.
      322100dc
    • Matthias Clasen's avatar
      Documentation additions. · 5c886d0b
      Matthias Clasen authored
              * gtk/gtkoldeditable.c, gtk/gtkrc.c,
              gtk/gtkstyle.c: Documentation additions.
      
              * gtk/gtkmenu.c (gtk_menu_set_accel_path),
              gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path),
              gtk/gtkwidget.c (gtk_widget_add_accelerator): Typo and markup fixes.
      
              * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document.
      
              * gtk/gtkaccelmap.c (gtk_accel_map_add_filter): Explain intended use.
      
              * gtk/running.sgml: Add ids to some elements to make them
              addressable as link targets.
      5c886d0b
    • Owen Taylor's avatar
      Don't mangle sequences of consecutive \n or \r. · 9f95840a
      Owen Taylor authored
      Mon Jan 14 17:14:13 2002  Owen Taylor  <otaylor@redhat.com>
              * gdk/x11/gdkselection-x11.c (sanitize_utf8): Don't
              mangle sequences of consecutive \n or \r.
      9f95840a
    • Jonathan Blandford's avatar
      allow cancel to happen. · cb939843
      Jonathan Blandford authored
      Mon Jan 14 17:42:28 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_stop_editing): allow cancel to
      	happen.
      
      	* gtk/gtktreeview.c (install_presize_handler): only install the
      	handler if we're realized, #68056
      cb939843
    • Owen Taylor's avatar
      Unset initial_pos_set after the first configure request. · 6dc3eb34
      Owen Taylor authored
      Mon Jan 14 16:35:58 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkwindow.c (gtk_window_move_resize): Unset
              initial_pos_set after the first configure request.
      6dc3eb34
    • Owen Taylor's avatar
      Fix problem where widget->requisition was being used instead of · a4d411ee
      Owen Taylor authored
      Sun Jan 13 23:23:22 2002  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
      	widget->requisition was being used instead of
      	gtk_widget_get_child_requisition (), causing geometry widgets
      	with usizes to misbehave.
      a4d411ee
    • Sven Neumann's avatar
      g_getenv() returns a const string. · 83bcca30
      Sven Neumann authored
      2002-01-14  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkrc.c: g_getenv() returns a const string.
      83bcca30
    • Hasbullah Bin Pit's avatar
      Added ms at ALL_LINGUAS. Added Malay Translation. But not all translated · d8ac56c0
      Hasbullah Bin Pit authored
      
      2002-01-14  Hasbullah Bin Pit  <sebol@ikhlas.com>
      
              * configure.in: Added ms at ALL_LINGUAS.
              * po/ms.po: Added Malay Translation.
        But not all translated :(
      d8ac56c0
    • Matthias Clasen's avatar
      Minor fix. · d9306707
      Matthias Clasen authored
      d9306707
    • Matthias Clasen's avatar
      Documentation. · dee05966
      Matthias Clasen authored
              * gtk/gtkitemfactory.c: Documentation.
      
              * gtk/tmpl/gtkrc.sgml: Minor fixes.
      dee05966
  2. 13 Jan, 2002 3 commits
  3. 12 Jan, 2002 5 commits
  4. 11 Jan, 2002 7 commits
    • Tor Lillqvist's avatar
      Fixes contributed by Archaeopteryx Software: This is a first small part of · ffcd6039
      Tor Lillqvist authored
      2002-01-12  Tor Lillqvist  <tml@iki.fi>
      
      	Fixes contributed by Archaeopteryx Software: This is a first small
      	part of their changes. Will commit more later.
      
      	* gdk/win32/*.c: Add some more checks for failed GDI calls. If a
      	call fails, don't use bogus values.
      
      	* gdk/win32/gdkcursor-win32.c (_gdk_win32_data_to_wcursor): Plug
      	memory leak: g_free() the AND and XOR bitmaps after use.
      	(_gdk_cursor_destroy): If we are destroying the current Windows
      	cursor, set the Windows cursor to none first.
      
      	* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
      	brush that was in the DC, like the win32-procution branch does. I
      	guess this plugs a resource leak? With the HDC cache, the old
      	brush might be something we created ourselves, and not a stock
      	brush. And it doesn't do any harm to call DeleteObject on stock
      	brushes.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_impl_win32_finalize): If
      	the window has a cursor which is the current Windows cursor,
      	before destroying it set the current Windows cursor to none.
      	(gdk_window_set_cursor): Also here, if destroying the current
      	Windows cursor, set the current Windows cursor to none first.
      	(gdk_window_get_pointer): Revamp logic.
      ffcd6039
    • Owen Taylor's avatar
      Fix integer overflow for the values passed to the pixel functions. · dee2b1e0
      Owen Taylor authored
      Fri Jan 11 18:05:07 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* pixops/pixops.c: Fix integer overflow for the values
      	passed to the pixel functions. (#55148)
      dee2b1e0
    • Owen Taylor's avatar
      Remove meaningless FIXME. · a458dd72
      Owen Taylor authored
      Fri Jan 11 17:53:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * pixops/pixops.c (pixops_scale_nearest): Remove meaningless
              FIXME.
      
              * pixops/pixops.c (pixops_process): Comment the computation
              of run_end_index and fix some edge cases.
      
              * pixops/{scale_line_22_33_mmx.S, composite_line_22_4a4_mmx.S:
              composite_line_color_22_4a4_mmx.S}: Handle the case where
              dest <= dest_end properly. (#52001)
      a458dd72
    • Kjartan Maraas's avatar
      Updated Norwegian (bokml) translation. · 9022abe3
      Kjartan Maraas authored
      2002-01-11  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian (bokml) translation.
      9022abe3
    • Matthias Clasen's avatar
      Expand. · 74fabeda
      Matthias Clasen authored
              * gdk/tmpl/general.sgml (gdk_set_program_class): Expand.
      
              * gtk/running.sgml: New file.
      
              * gtk/building.sgml: Document a few more configure options.
      
              * gtk/Makefile.am (content_files): Add running.sgml.
      
              * gtk/gtk-docs.sgml: Include running.sgml, sort H and V
              variants of widgets to be next to each other.
      74fabeda
    • Tim Janik's avatar
      get rid of extraneous prototype · 5972d435
      Tim Janik authored
      5972d435
    • jacob berkman's avatar
      actually iterate through the list rather than infinitely loop · bebd0215
      jacob berkman authored
      2002-01-10  jacob berkman  <jacob@ximian.com>
      
      	* gtk/gtkwidget.c (gtk_widget_add_events): actually iterate
      	through the list rather than infinitely loop
      bebd0215
  5. 10 Jan, 2002 8 commits
    • Matthias Clasen's avatar
      Rename to reset_rc_styles_recurse(). (#68084) · e5bba6a1
      Matthias Clasen authored
              * gtk/gtkwidget.c (gtk_widget_set_style_recurse): Rename to
              reset_rc_styles_recurse(). (#68084)
      
              * gtk/tmpl/gtkaccellabel.sgml: Remove duplicate docs.
      
              * gdk-pixbuf/Makefile.am (content_files): Add
              gdk-pixbuf-from-drawables.sgml. (#68232)
      
              * gtk/tmpl/gtkwidget.sgml: Improve docs for GTK_NO_REPARENT
              and GTK_APP_PAINTABLE. (#68060)
      e5bba6a1
    • Owen Taylor's avatar
      Replace some hardcoded values with the SUBSAMPLE · 868603bc
      Owen Taylor authored
      Thu Jan 10 16:48:30 2002  Owen Taylor  <otaylor@redhat.com>
      
              * pixops/pixops.c: Replace some hardcoded values with the
              SUBSAMPLE
      868603bc
    • Vitaly Tishkov's avatar
      gtk/gtkimage.c gtk/gtkimcontext.c gtk/gtktreemodel.c · f74dd238
      Vitaly Tishkov authored
      2002-01-10            Vitaly Tishkov       <tvv@sparc.spb.su>
              * gtk/gtkimage.c
      	* gtk/gtkimcontext.c
      	* gtk/gtktreemodel.c
      	* gtk/gtktreemodelsort.c
      	* gtk/gtkwindow.c
      	* docs/reference/gtk/tmpl/gtkselection.sgml
      	fix docs
      f74dd238
    • Chyla Zbigniew's avatar
    • Jonathan Blandford's avatar
      get the types as well as the symbols because we need them in · 50a641ae
      Jonathan Blandford authored
      Wed Jan  9 20:56:42 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
      	symbols because we need them in MyEnhancedXkbTranslateKeyCode.
      50a641ae
    • Tor Lillqvist's avatar
      Apply the same fixes and improvements as to the gtk-1-3-win32-production · 1b7cff47
      Tor Lillqvist authored
      2002-01-10  Tor Lillqvist  <tml@iki.fi>
      
      	Apply the same fixes and improvements as to the
      	gtk-1-3-win32-production branch: Bug fixes and cleanup of
      	selection and DND functionality. Still doesn't work as well as the
      	win32-production branch, though, but getting closer.
      
      	After this, need to add Archaeopteryx Software's OLE2 DND support.
      
      	* gdk/win32/gdkselection-win32.c (gdk_selection_owner_set,
      	gdk_selection_send_notify, generate_selection_notify): Don't use
      	SendMessage() to generate events for the same app, instead use
      	gdk_event_put().
      
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkglobals-win32.c
      	* gdk/win32/gdkmain-win32.c
      	* gdk/win32/gdkevents-win32.c: Thus, remove declaration, definition,
      	initialisation and handling of gdk_selection_notify_msg,
      	gdk_selection_request_msg and gdk_selection_clear_msg.
      
      	* gdk/win32/gdkselection-win32.c (gdk_text_property_to_text_list,
      	gdk_free_text_list, gdk_string_to_compound_text,
      	gdk_free_compound_text): Implement trivially, witrh a text_list
      	always having a single element, and a compound text always
      	consisting of just a single (UTF-8!) string. Let's see how well
      	this works.
      
      	* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
      	non-ASCII paste from the clipboard: Try getting the same formats
      	from the Windows clipboard that gdk_property_change() puts there:
      	CF_UNICODETEXT, UTF8_STRING or CF_TEXT+CF_LOCALE.
      
      	* gdk/win32/gdkproperty-win32.c (gdk_property_change): When
      	storing text on the clipboard, handle non-ASCII text
      	correctly. The logic is as follows:
      
      	If we have only ASCII characters, use CF_TEXT.
      
      	Else, if we are on NT, use CF_UNICODETEXT.
      
      	Else (we are on Win9x), if all the characters are present in the
      	code page of some installed locale, use CF_TEXT and also set
      	CF_LOCALE to that locale.
      
      	Else (still on Win9x) store as RTF. We use a very simple RTF
      	string, just the text, no fonts or other crap, with the non-ASCII
      	characters as Unicode \uN keywords. Additionally, also store the
      	UTF-8 string as such, under the format "UTF8_STRING", so that GDK
      	can also paste from the Clipboard what it has copied there. (Thus
      	no need to implement any RTF parser.)
      
      	(find_common_locale): New function, implements the search for a
      	locale for case 3 above.
      
      	* gdk/win32/gdkglobals-win32.c: New global variables
      	compound_text, text_uri_list, utf8_string, cf_rtf and
      	cf_utf8_string.
      
      	* gdk/win32/gdkim-win32.c (_gdk_ucs2_to_utf8): New function,
      	converts from a wchar_t string to UTF-8.
      	(_gdk_utf8_to_ucs2): Rename from _gdk_win32_nmbstowchar_ts.
      	(_gdk_utf8_to_wcs): Rename from gdk_nmbstowchar_ts.
      
      	* gdk/win32/gdkevents-win32.c (build_keypress_event): Use
      	_gdk_ucs2_to_utf8().
      
      	* gdk/win32/gdkselection-win32.c: Remove some unnecessary logging.
      
      	* gdk/win32/gdkdnd-win32.c: Plug memory leaks, the
      	gdk_drag_context_ref() was called unnecessarily in a couple of
      	places, meaning drag contexts were never freed. The same memory
      	leaks seem to be present in gdk/linux-fb/gdkselection-fb.c, BTW.
      
      	(gdk_drop_reply): For WIN32_DROPFILES drops, free the temporarily
      	stored file list.
      
      	* gdk/win32/gdkselection-win32.c: Clarify the use of the
      	sel_prop_table. Now it is used only for storing the GDK_SELECTION
      	"properties".
      
      	The file names dropped with WM_DROPFILES -style DND is stored
      	temporarily (between the drop and the target picking them up) in a
      	separate place.
      
      	Have a separate hash table to map selection atoms to owner
      	windows. This used to be quite mixed up.
      
      	(_gdk_dropfiles_store): New function, to store the dropped file
      	list for the drop target to possibly fetch, and clear it
      	afterwards, from gdk_drop_reply().
      
      	(gdk_selection_owner_get): Much simplified now.
      1b7cff47
    • jacob berkman's avatar
      set the background of our bin window also (fixes #58957) · f3f0ad29
      jacob berkman authored
      2002-01-09  jacob berkman  <jacob@ximian.com>
      
      	* gtk/gtklayout.c (gtk_layout_style_set): set the background of
      	our bin window also (fixes #58957)
      f3f0ad29
    • Jonathan Blandford's avatar
      Now we test we can unselect nodes before selecting new ones. · ed50ebfb
      Jonathan Blandford authored
      Wed Jan  9 19:10:07 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeselection.c
      	(_gtk_tree_selection_internal_select_node): Now we test we can
      	unselect nodes before selecting new ones.
      	(gtk_tree_selection_real_select_node): be careful comparing booleans.
      ed50ebfb
  6. 09 Jan, 2002 7 commits