summaryrefslogtreecommitdiff
path: root/gdk
Commit message (Collapse)AuthorAgeFilesLines
* Remove extraneous ;Matthias Clasen2006-05-1417-17/+17
|
* Regenerated from Xorg 7.1 keysyms.h, using gdkkeysyms-update.pl.Matthias Clasen2006-05-113-13/+508
| | | | | | | | | | | | 2006-05-11 Matthias Clasen <mclasen@redhat.com> * gdk/gdkkeysyms.h: Regenerated from Xorg 7.1 keysyms.h, using gdkkeysyms-update.pl. * gdk/gdkkeysyms-update.pl: Script to sync gdkkeysyms.h with Xorg. (#321896, Simos Xenitellis) * gdk/Makefile.am (EXTRA_DIST): Add gdkkeysyms-update.pl
* Consistently use lowercase in hex numbers.Matthias Clasen2006-05-111-309/+309
| | | | | | 2006-05-11 Matthias Clasen <mclasen@redhat.com> * gdk/gdkkeysyms.h: Consistently use lowercase in hex numbers.
* Look at both GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)Tor Lillqvist2006-05-091-5/+6
| | | | | | | 2006-05-09 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkevents-win32.c (doesnt_want_scroll): Look at both GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)
* fix docsMatthias Clasen2006-05-071-1/+1
|
* Removed DIKI_ALTGRMichael David Emmel2006-05-041-13/+0
|
* Make symbol list mstch reality.Matthias Clasen2006-05-041-1/+2
| | | | | | | | | | | | | | | | 2006-05-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkfilesystem.c: * gtk/gtkfilesystemunix.c: * gtk/gtkprintbackend.h: * gtk/gtkrecentchooserdefault.c: * gtk/gtkrecentchooserdefault.h: * gtk/paper_names_offsets.c: Make symbol list mstch reality. * gtk/Makefile.am: Fix a typo. * gdk/x11/Makefile.am (EXTRA_DIST): Add gdksettings.c
* Add missing files. (#340533, Ludovic Rousseau)Matthias Clasen2006-05-031-0/+2
| | | | | | | 2006-05-03 Matthias Clasen <mclasen@redhat.com> * gdk/quartz/Makefile.am (libgdk_quartz_la_SOURCES): Add missing files. (#340533, Ludovic Rousseau)
* Removed subtracting one from all clipsMichael David Emmel2006-04-301-9/+10
|
* Cast to double before dividing by PANGO_SCALE. (#334582)Behdad Esfahbod2006-04-281-2/+2
| | | | | | | 2006-04-27 Behdad Esfahbod <behdad@gnome.org> * gdk/gdkpango.c (gdk_pango_renderer_draw_glyphs): Cast to double before dividing by PANGO_SCALE. (#334582)
* fix build without xfixesMatthias Clasen2006-04-271-0/+2
|
* Add gdk_screen_is_compositedMatthias Clasen2006-04-251-0/+1
|
* Create 'composited' label.Søren Sandmann2006-04-2510-8/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Apr 25 10:25:28 2006 Søren Sandmann <sandmann@redhat.com> * tests/testgtk.c (create_alpha_window): Create 'composited' label. * tests/testgtk.c (on_composited_changed): New function, change the label to say whether the screen is composited or not. * gtk/gtkwindow.c (gtk_window_on_composited_changed): When composited status change, invalidate the window and propagate the signal;. * gtk/gtkwindow.c (gtk_window_map): Set the appropriate type hint if reset_type_hint is TRUE. * gtk/gtkwindow.c (gtk_window_set_type_hint): If hint is one of the old hints, store a shadow copy in the public window->type_hint bitfield, otherwise set this field to normal. Set the private field to the type hint. * gtk/gtkwindow.c (gtk_window_init): Initialize priv->type_hint. * gtk/gtkwindow.c (struct _GtkWindowPrivate): New field "reset_type_hint" indicating whether the type hint needs to be reset. New field type_hint containing a GdkWindowTypeHint. * gtk/gtkwidget.c (propagate_composited_changed): New function to propagate changes in composited status. (gtk_widget_class_init): Add composited_changed signal. * gtk/gtkwidget.h (struct _GtkWidgetClass): New signal composited-changed. * gtk/gtkwidget.c (gtk_widget_is_composited): New function. * gtk/gtktooltips.c (gtk_tooltips_draw_tips): Set transient for. * gtk/gtktooltips.c (gtk_tooltips_force_window): Set the type hint * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Compute whether the item belongs to a menubar. Set the type_hint appropriately depending on the outcome. * gtk/gtkmenu.c (gtk_menu_position): Set the default type hint here. * gtk/gtkmenu.c (gtk_menu_attach_to_widget): connect to hierarchy changed on the attach widget. * gtk/gtkmenu.c (attach_widget_hierarchy_changed): New function to set the transient_for property for menus. * gtk/gtkdnd.c (set_icon_stock_pixbuf): Set the appropriate type hint. * gtk/gtkcombo.c (gtk_combo_popup_list): Make the popup window transient for the toplevel. * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Set transient-for, for the popup window. * gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): Support for new window types. * gdk/x11/gdkwindow-x11.c (gdk_window_set_type_hint): Add support for new window types. * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change): New function called whenever the compositing manager comes and goes. * gdk/x11/gdkscreen-x11.c (gdk_screen_is_composited): New function. * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_request_cm_notification, make_cm_atom, check_is_composited): New functions * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call _gdk_x11_screen_process_owner_change when an XFixesSelectionNotifyEvent is received. * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Call _gdk_x11_screen_request_cm_notification() on all screens. * gdk/quartz/gdkscreen-quartz.c (gdk_screen_is_composited): Dummy implementation. * gdk/gdkscreen.c (gdk_screen_class_init): New signal, 'composited-changed'. * gdk/gdkwindow.h: Add new EWMH window types. * gdk/win32/gdkscreen-win32.c (gdk_screen_is_composited)
* Documentation fixes.Matthias Clasen2006-04-242-5/+5
| | | | | | | * gdk/gdkregion-generic.c: Documentation fixes. * gdk/directfb/gdkmain-directfb.c: Make the comment not look like a doc comment.
* Merge the gtk-printing branch. For more detailed ChangeLog entries, seeAlexander Larsson2006-04-214-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-04-21 Alexander Larsson <alexl@redhat.com> Merge the gtk-printing branch. For more detailed ChangeLog entries, see the branch. * .cvsignore: * Makefile.am: * configure.in: * docs/tools/widgets.c: * gtk+-unix-print-2.0.pc.in: * gtk/Makefile.am: * gtk/gen-paper-names.c: * gtk/gtk.h: * gtk/gtk.symbols: * gtk/gtkenums.h: * gtk/gtkiconfactory.c: * gtk/gtkmarshalers.list: * gtk/gtkpagesetup.[ch]: * gtk/gtkpagesetupunixdialog.[ch]: * gtk/gtkpapersize.[ch]: * gtk/gtkprint-win32.[ch]: * gtk/gtkprintbackend.[ch]: * gtk/gtkprintcontext.[ch]: * gtk/gtkprinter-private.h: * gtk/gtkprinter.[ch]: * gtk/gtkprinteroption.[ch]: * gtk/gtkprinteroptionset.[ch]: * gtk/gtkprinteroptionwidget.[ch]: * gtk/gtkprintjob.[ch]: * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation-unix.c: * gtk/gtkprintoperation-win32.c: * gtk/gtkprintoperation.[ch]: * gtk/gtkprintsettings.[ch]: * gtk/gtkprintunixdialog.[ch]: * gtk/paper_names.c: * gtk/paper_names_offsets.c: Platform independent printing API and implementations for unix and windows. * gtk/gtkstock.h: * gtk/stock-icons/24/gtk-orientation-landscape.png: * gtk/stock-icons/24/gtk-orientation-portrait.png: * gtk/stock-icons/24/gtk-orientation-reverse-landscape.png: Add stock icons for page orientation. * modules/Makefile.am: * modules/printbackends/Makefile.am: * modules/printbackends/cups/Makefile.am: * modules/printbackends/cups/gtkcupsutils.[ch]: * modules/printbackends/cups/gtkprintbackendcups.[ch]: * modules/printbackends/cups/gtkprintercups.[ch]: Cups printing backend for unix. * modules/printbackends/lpr/Makefile.am: * modules/printbackends/lpr/gtkprintbackendlpr.[ch]: lpr printing backend for unix. * modules/printbackends/pdf/Makefile.am: * modules/printbackends/pdf/gtkprintbackendpdf.[ch]: print-to-pdf printing backend for unix. * tests/.cvsignore: * tests/Makefile.am: * tests/print-editor.c: Test application for printing. * gdk/gdk.symbols: * gdk/win32/gdkevents-win32.c: * gdk/win32/gdkwin32.h: Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the mainloop while displaying a win32 common dialog. * gdk/directfb/Makefile.am: Whitespace cleanup.
* fixed off by one error in clip patch from (#330824)Michael David Emmel2006-04-201-2/+2
|
* Map VK_NUMPAD[0-9] to GDK_KP_[0-9]. (#337562)Tor Lillqvist2006-04-191-0/+20
| | | | | | | 2006-04-19 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9] to GDK_KP_[0-9]. (#337562)
* Add check for source being a window.Richard Hult2006-04-162-31/+31
| | | | | | | | | | 2006-04-16 Richard Hult <richard@imendio.com> * gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_draw_drawable): Add check for source being a window. * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_get_pointer): Don't assert on window not being the root window.
* Remove leading cairo/ in include.Richard Hult2006-04-161-1/+1
| | | | | | 2006-04-16 Richard Hult <richard@imendio.com> * gdk/quartz/gdkdrawable-quartz.c: Remove leading cairo/ in include.
* Avoid a possible array overrun. (Coverity)Matthias Clasen2006-04-161-1/+1
| | | | | | | 2006-04-16 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkwindow-x11.c (set_initial_hints ): Avoid a possible array overrun. (Coverity)
* Take grabs into account.Anders Carlsson2006-04-131-3/+13
| | | | | | | | | | | | | 2006-04-13 Anders Carlsson <andersca@imendio.com> * gdk/quartz/gdkevents-quartz.c: (synthesize_enter_event): (synthesize_leave_event): (synthesize_crossing_events): Take grabs into account. (find_window_for_event): Only return grabbed window when owner_events is FALSE.
* Fix another Coverity bugMatthias Clasen2006-04-121-5/+5
|
* Make this work for list == NULL. (Coverity)Matthias Clasen2006-04-121-6/+7
| | | | | | | 2006-04-12 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkselection-x11.c (make_list): Make this work for list == NULL. (Coverity)
* Rearrange the code a bit.Matthias Clasen2006-04-121-25/+9
| | | | | | | 2006-04-12 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkkeys-x11.c (gdk_keymap_get_entries_for_keycode): Rearrange the code a bit.
* Handle page up and page down.Anders Carlsson2006-04-121-0/+2
| | | | | | | 2006-04-12 Anders Carlsson <andersca@imendio.com> * gdk/quartz/gdkkeys-quartz.c: Handle page up and page down.
* Don't flush if we're inside a begin_paint/end_paint pair.Anders Carlsson2006-04-122-1/+8
| | | | | | | | | | | | 2006-04-12 Anders Carlsson <andersca@imendio.com> * gdk/quartz/gdkdrawable-quartz.c: (_gdk_quartz_drawable_release_context): Don't flush if we're inside a begin_paint/end_paint pair. * gdk/quartz/gdkwindow-quartz.c: (gdk_window_impl_quartz_end_paint): Free clip region here.
* Fix another Coverity bugMatthias Clasen2006-04-121-1/+4
|
* Have GdkWindowImplQuartz implement GdkPaintable.Anders Carlsson2006-04-104-23/+163
| | | | | | | | | | | | | | | | | | | | | | 2006-04-11 Anders Carlsson <andersca@mac.imendio.com> * gdk/quartz/GdkQuartzView.c: (-[GdkQuartzView drawRect:]): * gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_ref_cairo_surface): (_gdk_quartz_drawable_get_context): (_gdk_quartz_drawable_release_context): * gdk/quartz/gdkwindow-quartz.c: (gdk_window_impl_quartz_finalize): (gdk_window_impl_quartz_class_init): (gdk_window_impl_quartz_begin_paint_region): (gdk_window_impl_quartz_end_paint): (gdk_window_impl_quartz_invalidate_maybe_recurse): (gdk_window_impl_quartz_process_updates): (gdk_window_impl_quartz_paintable_init): (_gdk_window_impl_quartz_get_type): * gdk/quartz/gdkwindow-quartz.h: Have GdkWindowImplQuartz implement GdkPaintable.
* Add new GdkPaintable interface which implementation objects can implementAnders Carlsson2006-04-102-0/+89
| | | | | | | | | | | | | | 2006-04-11 Anders Carlsson <andersca@imendio.com> * gdk/gdkinternals.h: * gdk/gdkwindow.c: (_gdk_paintable_get_type): (gdk_window_begin_paint_region): (gdk_window_end_paint): (gdk_window_process_updates): (gdk_window_invalidate_maybe_recurse): Add new GdkPaintable interface which implementation objects can implement in order to override gdk painting functions.
* Correct the appearance of non-square icons and cursors: pad them to squareTor Lillqvist2006-04-061-28/+55
| | | | | | | | | | | | | 2006-04-06 Tor Lillqvist <tml@novell.com> Correct the appearance of non-square icons and cursors: pad them to square so that Windows won't stretch them. * gdk/win32/gdkcursor-win32.c (create_alpha_bitmap) (create_color_bitmap): Always create square bitmaps, take only side length as argument. (pixbuf_to_hbitmaps_alpha_winxp, pixbuf_to_hbitmaps_normal): Corresponding changes.
* Add "_private" to make it build.Søren Sandmann2006-04-041-1/+1
| | | | | | | Tue Apr 4 12:25:36 2006 Søren Sandmann <sandmann@redhat.com> * gdk/x11/gdkimage-x11.c (gdk_image_class_init): Add "_private" to make it build.
* Use G_DEFINE_TYPE.Matthias Clasen2006-04-0417-562/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | 2006-04-04 Matthias Clasen <mclasen@redhat.com> * gdk/gdkdisplay.c: * gdk/gdkdisplaymanager.c: * gdk/gdkdraw.c: * gdk/gdkkeys.c: * gdk/gdkpixmap.c: * gdk/gdkscreen.c: * gdk/gdkwindow.c: * gdk/x11/gdkcolor-x11.c: * gdk/x11/gdkdisplay-x11.c: * gdk/x11/gdkdnd-x11.c: * gdk/x11/gdkdrawable-x11.c: * gdk/x11/gdkgc-x11.c: * gdk/x11/gdkimage-x11.c: * gdk/x11/gdkinput.c: * gdk/x11/gdkpixmap-x11.c: * gdk/x11/gdkscreen-x11.c: * gdk/x11/gdkwindow-x11.c: Use G_DEFINE_TYPE. * gdk/x11/gdkcolor-x11.c: * gdk/x11/gdkdnd-x11.c: * gdk/x11/gdkimage-x11.c: Use instance private data.
* Small savingsMatthias Clasen2006-04-041-16/+6
|
* Here too.Matthias Clasen2006-04-031-1/+1
| | | | | | 2006-04-03 Matthias Clasen <mclasen@redhat.com> * gdk/gdk.c: Here too.
* Make _gdk_windowing_args const.Matthias Clasen2006-04-035-5/+5
| | | | | | | | | | 2006-04-03 Matthias Clasen <mclasen@redhat.com> * gdk/gdkinternals.h: * gdk/x11/gdkmain-x11.c: * gdk/win32/gdkmain-win32.c: * gdk/directfb/gdkdisplay-directfb.c: * gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const.
* Include gdksreen.h (#337032, Kazuki IWAMOTO)Matthias Clasen2006-04-031-0/+1
| | | | | | | 2006-04-03 Matthias Clasen <mclasen@redhat.com> * gdk/win32/gdkpixmap-win32.c: Include gdksreen.h (#337032, Kazuki IWAMOTO)
* Reword docs to help gtk-doc.Matthias Clasen2006-03-301-1/+2
| | | | | | | 2006-03-30 Matthias Clasen <mclasen@redhat.com> * gdk/gdkregion-generic.c (gdk_region_get_clipbox): Reword docs to help gtk-doc.
* Added gdk_pixmap_foreign_new_for_screenMichael David Emmel2006-03-301-0/+12
|
* Make it compileMatthias Clasen2006-03-301-1/+2
|
* New function to allow wrapping a native pixmap without a server roundtrip.Matthias Clasen2006-03-304-7/+70
| | | | | | | | | | | 2006-03-29 Matthias Clasen <mclasen@redhat.com> * gdk/gdk.symbols: * gdk/gdkpixmap.h: * gdk/win32/gdkpixmap-win32.c: * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_screen): New function to allow wrapping a native pixmap without a server roundtrip. (#334954, David Baron)
* Add missing CLIPBOARD atom.Richard Hult2006-03-291-4/+5
| | | | | | 2006-03-29 Richard Hult <richard@imendio.com> * gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.
* Make the poll func work with real file descriptors. We do this by creatingAnders Carlsson2006-03-271-3/+140
| | | | | | | | | | | | | | | | | 2006-03-27 Anders Carlsson <andersca@imendio.com> * gdk/quartz/gdkevents-quartz.c: (select_thread_func): (got_fd_activity): (poll_func): (gdk_event_translate): Make the poll func work with real file descriptors. We do this by creating a thread which calls poll and then signals the main thread using a run loop source. * gtk/gtkclipboard-quartz.c: (-[GtkClipboardOwner pasteboard:provideDataForType:]): Remove debugging output
* Add more stubs.Richard Hult2006-03-2710-2/+190
| | | | | | 2006-03-27 Richard Hult <richard@imendio.com> * gdk/quartz: Add more stubs.
* removing trailing \ fixes the build.Michael Natterer2006-03-211-1/+1
| | | | | | 2006-03-21 Michael Natterer <mitch@imendio.com> * gdk/quartz/Makefile.am: removing trailing \ fixes the build.
* Implement gdk_window_scroll.Anders Carlsson2006-03-211-1/+47
| | | | | | | | 2006-03-21 Anders Carlsson <andersca@imendio.com> * gdk/quartz/gdkgeometry-quartz.c: (gdk_window_scroll): Implement gdk_window_scroll.
* Add the GDK part of the DND implementation.Anders Carlsson2006-03-217-10/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-03-21 Anders Carlsson <andersca@imendio.com> * gdk/quartz/GdkQuartzWindow.c: (drag_operation_to_drag_action): (drag_action_to_drag_operation): (update_context_from_dragging_info): (-[GdkQuartzWindow draggingEntered:]): (-[GdkQuartzWindow draggingEnded:]): (-[GdkQuartzWindow draggingExited:]): (-[GdkQuartzWindow draggingUpdated:]): (-[GdkQuartzWindow performDragOperation:]): (-[GdkQuartzWindow wantsPeriodicDraggingUpdates]): (-[GdkQuartzWindow draggedImage:endedAt:operation:]): * gdk/quartz/gdkdnd-quartz.c: (gdk_drag_context_finalize): (gdk_drag_context_init): (gdk_drag_context_class_init): (gdk_drag_begin): (gdk_drag_status): Add the GDK part of the DND implementation. * gdk/quartz/Makefile.am: Add some missing headers. * gdk/quartz/gdkdrawable-quartz.h: * gdk/quartz/gdkprivate-quartz.h: * gdk/quartz/gdkquartz.h: * gdk/quartz/gdkwindow-quartz.c: (gdk_quartz_window_get_nsview): New function, for use by the GTK part of the DND implementation
* Offset coordinates by 0.5 pixels to get consistant results for both imageAnders Carlsson2006-03-212-29/+22
| | | | | | | | | | | | | | | | | | | 2006-03-21 Anders Carlsson <andersca@imendio.com> * gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_ref_cairo_surface): (gdk_quartz_draw_rectangle): (gdk_quartz_draw_arc): (gdk_quartz_draw_polygon): (gdk_quartz_draw_drawable): (gdk_quartz_draw_segments): (gdk_quartz_draw_lines): (gdk_quartz_draw_pixbuf): (gdk_quartz_draw_image): (_gdk_quartz_drawable_get_context): * gdk/quartz/gdkdrawable-quartz.h: Offset coordinates by 0.5 pixels to get consistant results for both image contexts and screen contexts.
* ]): Synthesize GDK_CONFIGURE events when the window position changes.Anders Carlsson2006-03-211-0/+22
| | | | | | | | 2006-03-21 Anders Carlsson <andersca@imendio.com> * gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidMove:]): Synthesize GDK_CONFIGURE events when the window position changes.
* Added checksettings.Behdad Esfahbod2006-03-151-0/+1
|
* Use Polygon() for outlined polygons, too. Same idea as inTor Lillqvist2006-03-111-19/+9
| | | | | | | | | | | 2006-03-11 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkdrawable-win32.c (draw_polygon): Use Polygon() for outlined polygons, too. Same idea as in draw_rectangle(): Set pen to NULL_PEN if drawing a filled polygon, set brush to HOLLOW_BRUSH if drawing a polygon outline. (#332662) (gdk_win32_draw_polygon): Corresponding simplification: no need to add an extra final copy of the starting point.