summaryrefslogtreecommitdiff
path: root/gdk
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a hint about using gdk_drawable_get_size() instead.Matthias Clasen2004-11-091-0/+8
| | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkwindow-x11.c (gdk_window_get_geometry): Add a hint about using gdk_drawable_get_size() instead.
* Handle the case that the protocol version in the context is not set yet.Matthias Clasen2004-11-031-1/+21
| | | | | | | | 2004-11-03 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): Handle the case that the protocol version in the context is not set yet. (#157123, James Henstridge)
* Don't crash on broken ClientMessage events. (#157056, Owen Taylor)Matthias Clasen2004-11-011-2/+8
| | | | | | | 2004-11-01 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't crash on broken ClientMessage events. (#157056, Owen Taylor)
* gdk/win32/gdkprivate-win32.h gdk/win32/gdkglobals-win32.c RemoveTor Lillqvist2004-10-318-22/+10
| | | | | | | | | | | 2004-10-31 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkglobals-win32.c * gdk/win32/gdkmain-win32.c: Remove _windows_version and the IS_WIN_NT() macro. * gdk/win32/*.c: Use G_WIN32_IS_NT_BASED() from GLib instead.
* Implement these on win32, currently only for button 1. Fixes the resizeRobert Ögren2004-10-301-2/+66
| | | | | | | | | 2004-10-29 Robert Ögren <gtk@roboros.com> * gdk/win32/gdkwindow-win32.c (gdk_window_begin_resize_drag), (gdk_window_begin_move_drag): Implement these on win32, currently only for button 1. Fixes the resize grip of GtkStatusbar on win32. (#143285)
* updatedHans Breuer2004-10-292-0/+24
| | | | | | | | | | | 2004-10-29 Hans Breuer <hans@breuer.org> * gdk/makefile.msc gtk/makefile.msc.in : updated * gdk/win32/gdkdisplay-win32.c : dummy implementations for gdk_display_supports_clipboard_persistence, gdk_display_store_clipboard * gtk/gtkmodules.c : #include "gtkprivate.h" for GTK_LIBDIR
* Fix many sparse warnings.Matthias Clasen2004-10-2810-21/+21
|
* *** empty log message ***GTK_2_5_4Matthias Clasen2004-10-281-1/+1
|
* Documentation fixes.Matthias Clasen2004-10-261-5/+5
|
* New API to handle the clipboard manager.Anders Carlsson2004-10-253-1/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-25 Anders Carlsson <andersca@imendio.com> * gdk/gdk.symbols: * gdk/gdkdisplay.h: * gdk/x11/gdkdisplay-x11.c: (gdk_display_supports_clipboard_persistence), (gdk_display_store_clipboard): New API to handle the clipboard manager. * gtk/gtk.symbols: * gtk/gtkclipboard.c: (gtk_clipboard_class_init), (gtk_clipboard_finalize), (selection_clear_event_cb), (clipboard_unset), (gtk_clipboard_set_text), (gtk_clipboard_request_targets), (gtk_clipboard_wait_for_targets), (clipboard_peek), (gtk_clipboard_owner_change), (gtk_clipboard_wait_is_target_available), (gtk_clipboard_store_timeout), (gtk_clipboard_set_can_store), (gtk_clipboard_selection_notify), (gtk_clipboard_store), (_gtk_clipboard_store_all): * gtk/gtkclipboard.h: Add API for clipboard persistence and implement it, also add gtk_clipboard_wait_is_target_available. * gtk/gtkmain.c: (gtk_main): Call _gtk_clipboard_store_all before exiting.
* Fix #155658, Sebastian Bacher:Matthias Clasen2004-10-183-0/+6
| | | | | | | | | | | | | | | | | | | 2004-10-18 Matthias Clasen <mclasen@redhat.com> Fix #155658, Sebastian Bacher: * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a new is_leader flag. * gdk/x11/gdkwindow-x11.c (update_wm_hints): Set wm hints on leader windows even if they are withdrawn. (gdk_window_set_group): Mark the new leader window as such. We never remove the flag again, but that should a) be vanishingly rare and b) not a problem, since the flag just turns off an optimization. * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Mark the default leader window as such.
* Forgotten changeMatthias Clasen2004-10-181-0/+3
|
* GDK documentation fixes.Matthias Clasen2004-10-091-0/+2
|
* check the iteration window variable, not just the window passed in. fixes42004-10-051-1/+1
| | | | | | | Wed Oct 6 00:45:04 2004 <timj@birnet.org> * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window variable, not just the window passed in. fixes #145270.
* Return a new reference to an existing GdkWindow if one already exists.Matthias Clasen2004-10-051-4/+10
| | | | | | | | 2004-10-05 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new_for_display): Return a new reference to an existing GdkWindow if one already exists. (#151378, Gustavo Carneiro)
* Set _gdk_input_ignore_wintab to FALSE, thus enabling tablet input byTor Lillqvist2004-10-012-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-01 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkglobals-win32.c: Set _gdk_input_ignore_wintab to FALSE, thus enabling tablet input by default. * gdk/win32/gdkmain-win32.c (_gdk_windowing_args): Accept the --use-wintab option again (but without effect, as this is now the default, see above). (#153788) * modules/input/gtkimcontextime.c: Numerous changes. Remove the ifdef UNICODE conditionals. Always use the wide-character Imm* API. It is present also in Windows 98 and Me. (Not Windows 95, but I think we don't care about that.) Using the multibyte API wouldn't work anyway on systems where the system codepage doesn't support the language the user uses an IME for, so for instance I wouldn't be able to test this module on my English Windows 2000 although I do have C, J and K IMEs available. Guard against IMM not being active, always check ImmGetContext() returning NULL. Work to some extent even without any IME. Fixes #153800 at least partially. * modules/input/imime.c (ime_info): Rename to "ime" to match the naming pattern of other input modules. Make it default for ja:ko:zh only.
* Set lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0, aRobert Ögren2004-09-251-1/+2
| | | | | | | | 2004-09-25 Robert Ögren <gtk@roboros.com> * gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Set lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0, a further fix for bug #145467.
* remove now unused arg variables.Manish Singh2004-09-212-2/+2
| | | | | | | | | | | Tue Sep 21 16:27:19 2004 Manish Singh <yosh@gimp.org> * gdk/gdk.c: remove now unused arg variables. * gdk/gdkinternals.h: declare _gdk_windowing_init (). * gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args () here instead of gdk_pre_parse_libgtk_only (). Should fix #153082.
* 2.5.3GTK_2_5_3Matthias Clasen2004-09-191-1/+1
|
* Warn if a UTF8_STRING or text/plain;charset=utf-8 roperty contains invalidMatthias Clasen2004-09-171-1/+9
| | | | | | | | | Thu Sep 16 23:20:05 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkselection.c (selection_get_text_plain): * gdk/x11/gdkselection-x11.c (make_list): Warn if a UTF8_STRING or text/plain;charset=utf-8 roperty contains invalid UTF-8. (#152845, Owen Taylor)
* Remove bogus code that tried to do what the X11 backend does in itsTor Lillqvist2004-09-151-8/+0
| | | | | | | | | | 2004-09-15 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents): Remove bogus code that tried to do what the X11 backend does in its version of this function. There are no "frame windows" (for toplevel window decoration) on Windows. The desktop ("root") window is not the parent of a toplevel window. (#152481)
* New option --disable-visibility to disable the use of ELF visibilityMatthias Clasen2004-09-151-0/+4
| | | | | | | | | | | Tue Sep 14 22:01:49 2004 Matthias Clasen <maclas@gmx.de> * configure.in: New option --disable-visibility to disable the use of ELF visibility attributes for PLT reduction. * gtk/makegtkalias.pl: * gdk/makegdkalias.pl: Respect the DISABLE_VISIBILITY define.
* Use the short prefix "IA__" for aliases instead of the long suffixMatthias Clasen2004-09-091-1/+1
| | | | | | | | 2004-09-09 Matthias Clasen <mclasen@redhat.com> * gtk/makegtkalias.pl: * gdk/makegdkalias.pl: Use the short prefix "IA__" for aliases instead of the long suffix "__internal_alias".
* Add descriptions for the commandline arguments. The actual descriptionsMatthias Clasen2004-09-053-12/+33
| | | | | | | | | | | | Sun Sep 5 17:14:16 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkmain.c: * gdk/gdk.c: * gdk/x11/gdkmain-x11.c: * gdk/win32/gdkmain-win32.c: Add descriptions for the commandline arguments. The actual descriptions are mostly taken from libbonoboui, so translators should be able to copy existing translations from there.
* Add new functionsAnders Carlsson2004-09-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-05 Anders Carlsson <andersca@gnome.org> * gdk/gdk.symbols: * gtk/gtk.symbols: Add new functions 2004-09-05 Anders Carlsson <andersca@gnome.org> * gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb), (gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only), (gdk_parse_args): * gdk/gdk.h: * gdk/gdkinternals.h: * gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init): * gdk/win32/gdkmain-win32.c: (_gdk_windowing_init): * gdk/x11/gdkdisplay-x11.c: (gdk_display_open): * gdk/x11/gdkmain-x11.c: (_gdk_windowing_init): * gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb), (gtk_arg_module_cb), (gtk_arg_warnings_cb), (do_pre_parse_initialization), (do_post_parse_initialization), (pre_parse_hook), (post_parse_hook), (gtk_get_option_group), (gtk_init_with_args), (gtk_parse_args): * gtk/gtkmain.h: Make gtk argument parsing use goption. Add gtk_get_option_group and gtk_init_with_args. * tests/testtreemodel.c: (main): Use gtk_init_with_args.
* Make gtk argument parsing use goption. Add gtk_get_option_group andAnders Carlsson2004-09-057-233/+91
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-05 Anders Carlsson <andersca@gnome.org> * gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb), (gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only), (gdk_parse_args): * gdk/gdk.h: * gdk/gdkinternals.h: * gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init): * gdk/win32/gdkmain-win32.c: (_gdk_windowing_init): * gdk/x11/gdkdisplay-x11.c: (gdk_display_open): * gdk/x11/gdkmain-x11.c: (_gdk_windowing_init): * gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb), (gtk_arg_module_cb), (gtk_arg_warnings_cb), (do_pre_parse_initialization), (do_post_parse_initialization), (pre_parse_hook), (post_parse_hook), (gtk_get_option_group), (gtk_init_with_args), (gtk_parse_args): * gtk/gtkmain.h: Make gtk argument parsing use goption. Add gtk_get_option_group and gtk_init_with_args. * tests/testtreemodel.c: (main): Use gtk_init_with_args.
* Revert accidental change from Aug 02 that removed a flush of the XSøren Sandmann2004-09-041-10/+3
| | | | | | | | | Sat Sep 4 16:51:00 2004 Søren Sandmann <sandmann@redhat.com> * gdk/x11/gdkevents-x11.c (gdk_event_prepare): Revert accidental change from Aug 02 that removed a flush of the X connection from gdk_event_prepare() causing applications to get stuck. (#151732, Richard Hoelscher).
* List the three theme gtkrc files separately, zip doesn't do anything ifTor Lillqvist2004-09-035-29/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-03 Tor Lillqvist <tml@iki.fi> * gtk-zip.sh.in: List the three theme gtkrc files separately, zip doesn't do anything if one of the files on its command line doesn't exist. Handle changes of screen resolution on Win32. (#151581, reported by Arjohn Kampman) * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_init, _gdk_root_window_size_init): Factor out setting the root window's size (as the size of the union of all monitors) to a new function. * gdk/win32/gdkdisplay-win32.c (gdk_display_open, _gdk_monitor_init): Factor out the monitor query to a new function. * gdk/win32/gdkprivate-win32.h: Declare above new functions. * gdk/win32/gdkevents-win32.c (gdk_event_translate, handle_display_change): Handle WM_DISPLAYCHANGE by calling the above two functions, and emitting the "size_changed" signal on our (only) GdkScreen.
* Make it possible to specify additional modules to load via a setting.Matthias Clasen2004-09-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-01 Matthias Clasen <mclasen@redhat.com> Make it possible to specify additional modules to load via a setting. (#117236, Alex Graveley) * gtk/gtkmodules.h: * gtk/gtkmodules.c: New files which contain the module handling code which was previously in gtkmain.[hc]. Additionally, the code now looks for the gtk-modules setting, which can specify additional modules to load. * gtk/gtkmain.c: * gtk/gtkmain.h: Remove all the module handling code. * gtk/gtkdebug.h: Add a debug flag for modules. * gtk/gtk.h: Include gtkmodules.h * gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h (gtk_c_sources): Add gtkmodules.c * gtk/gtksettings.c: Add the gtk-modules setting. * gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.
* Make "ms-windows" the default theme on Win32.Matthias Clasen2004-09-011-1/+5
| | | | | | | Tue Aug 31 23:40:29 2004 Matthias Clasen <maclas@gmx.de> * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Make "ms-windows" the default theme on Win32.
* Remove debug spew.Matthias Clasen2004-09-011-2/+0
| | | | | | Tue Aug 31 23:20:58 2004 Matthias Clasen <maclas@gmx.de> * gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.
* On Win32, do not produce tablet motion or button events while a window isRobert Ögren2004-08-314-6/+17
| | | | | | | | | | | | | | | 2004-08-28 Robert Ögren <gtk@roboros.com> On Win32, do not produce tablet motion or button events while a window is being moved or resized. (#151090, reported by Shaneyfelt) * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkglobals-win32.c * gdk/win32/gdkevents-win32.c: Rename the variable resizing to _sizemove_in_progress and make it extern. * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Ignore motion and button events if _sizemove_in_progress is true.
* Add drop_failed, like in the X11 backend. Nothing sets it, though.Tor Lillqvist2004-08-271-2/+16
| | | | | | | | 2004-08-27 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkdnd-win32.c (GdkDragContextPrivateWin32): Add drop_failed, like in the X11 backend. Nothing sets it, though. (gdk_drag_drop_succeeded): Copy from X11 backend.
* Make gdk_window_process_[all]_updates() respect update_freeze_counterMatthias Clasen2004-08-261-20/+34
| | | | | | | | | | | | | | | | | | 2004-08-26 Matthias Clasen <mclasen@redhat.com> Make gdk_window_process_[all]_updates() respect update_freeze_counter (#144272, Soeren Sandmann) * gdk/gdkwindow.c (gdk_window_schedule_update): New function to install an idle for gdk_window_update_idle() if one isn't there already. (gdk_window_process_all_updates): (gdk_window_process_updates): Only process the updates if the window isn't frozen. (gdk_window_invalidate_maybe_recurse): Schedule an update when necessary. (gdk_window_thaw_updates): Use gdk_window_schedule_update() instead of directly installing the idle.
* On Win32, make graphical tablets work on multi-monitor systems. (#145467,Robert Ögren2004-08-261-15/+12
| | | | | | | | | | | | | 2004-08-22 Robert Ögren <gtk@roboros.com> On Win32, make graphical tablets work on multi-monitor systems. (#145467, reported by buttknock1@ya...) * gdk/win32/gdkinput-win32.c (gdk_input_translate_coordinates): Use dimensions of _gdk_parent_root as screen size. (gdk_input_get_root_relative_geometry): Get coordinates relative to GDK root window instead of Win32 coordinates. (_gdk_input_other_event): Updated accordingly.
* remove unused gdk_font_charset_for_locale() function.Manish Singh2004-08-262-40/+1
| | | | | | | | | | | | Wed Aug 25 17:24:17 2004 Manish Singh <yosh@gimp.org> * gdk/x11/gdkfont-x11.c: remove unused gdk_font_charset_for_locale() function. * gdk/x11/gdkinput-x11.c (_gdk_input_common_init): remove unused variables num_extensions and extensions. * gtk/gtkhsv.c: remove unused gtk_hsv_get_focus_gc() function.
* 2.5.2GTK_2_5_2Matthias Clasen2004-08-252-4/+4
|
* Use the correct index variable. (#150941, Tommi Komulainen)Matthias Clasen2004-08-241-1/+1
| | | | | | | 2004-08-24 Matthias Clasen <mclasen@redhat.com> * gdk/gdkimage.c (allocate_scratch_images): Use the correct index variable. (#150941, Tommi Komulainen)
* Make it compile.Matthias Clasen2004-08-231-1/+1
|
* Add a user_time field.Matthias Clasen2004-08-232-0/+30
| | | | | | | | | | | | 2004-08-23 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a user_time field. * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Update toplevel->user_time. (show_window_internal): Update the user time when re-mapping a toplevel window. (#150502, Elijah Newren)
* Support the latest EWMH additions to the _NET_ACTIVE_WINDOW client messageMatthias Clasen2004-08-231-3/+3
| | | | | | | | 2004-08-23 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest EWMH additions to the _NET_ACTIVE_WINDOW client message format. (#150668, Elijah Newren)
* Set unused bits in pixel to 1s in case they are used as alpha; copyingMatthias Clasen2004-08-231-1/+10
| | | | | | | | Mon Aug 23 01:17:59 2004 Matthias Clasen <maclas@gmx.de> * gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused bits in pixel to 1s in case they are used as alpha; copying code from gdk_colormap_alloc_colors(). (#150466, Rich Wareham)
* Don't show TEMP windows in the Task Manager. Implement by callingTor Lillqvist2004-08-221-5/+17
| | | | | | | | | | 2004-08-22 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal, gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP windows in the Task Manager. Implement by calling gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim Evans)
* Report whole of (primary) monitor, including any taskbars. Excluding theTor Lillqvist2004-08-221-29/+19
| | | | | | | | | | 2004-08-22 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open): Report whole of (primary) monitor, including any taskbars. Excluding the taskbar area from the "root window" reported to GDK doesn't seem to be that useful although gdk/win32 had been doing it for a very long time. (#149013, see also #145467 and #148526)
* Shut up CVSManish Singh2004-08-181-0/+1
|
* No need for INCLUDE_INTERNAL_SYMBOLS anymore.Matthias Clasen2004-08-173-7/+66
| | | | | | | | | | | | | | | | | | 2004-08-17 Matthias Clasen <mclasen@redhat.com> * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore. * gdk/gdk.symbols: Don't use #if defined(). * gdk/Makefile.am (gdkalias.h): * gtk/Makefile.am (gtkalias.h): Don't use cpp to filter gtk.symbols. * gdk/makegdkalias.pl: * gtk/makegtkalias.pl: Move the #ifdef processing into the perl script, and keep the #ifdefs which differentiate between platforms. * gtk/Makefile.am (gtk_private_h_sources): Remove gtkinternals.h, it is no longer needed.
* Define TESTS, not TEST, so that make check actually triggers abicheck.sh.Matthias Clasen2004-08-101-1/+1
| | | | | | | | 2004-08-10 Matthias Clasen <mclasen@redhat.com> * gdk/Makefile.am: * gtk/Makefile.am: Define TESTS, not TEST, so that make check actually triggers abicheck.sh.
* Include glib.h before using glib symbols. D'oh.Matthias Clasen2004-08-101-0/+2
| | | | | | | 2004-08-10 Matthias Clasen <mclasen@redhat.com> * gdk/makegdkalias.pl: * gtk/makegtkalias.pl: Include glib.h before using glib symbols. D'oh.
* Protect gtkalias.h by G_HAVE_GNUC_VISIBILITY.Matthias Clasen2004-08-101-22/+19
| | | | | | | 2004-08-10 Matthias Clasen <mclasen@redhat.com> * gdk/makegdkalias.pl: * gtk/makegtkalias.pl: Protect gtkalias.h by G_HAVE_GNUC_VISIBILITY.
* Include gtkalias.h in the generated sources gtkmarhalers.c andMatthias Clasen2004-08-102-8/+6
| | | | | | | | | | | | | | | | | 2004-08-10 Matthias Clasen <mclasen@redhat.com> * gtk/Makefile.am: Include gtkalias.h in the generated sources gtkmarhalers.c and gtkmarshal.c. * gtk/makegtkalias.pl: Cosmetic fix. * gdk/Makefile.am: Remove the . which was accidentally added to SUBDIRS. Include gdkalias.h in the generated sources gdkenumtypes.c and gdkmarshalers.c. * gdk/makegdkalias.pl: Cosmetic fix. * gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.