1. 12 Apr, 2006 2 commits
    • Anders Carlsson's avatar
      Handle page up and page down. · 2ba96a71
      Anders Carlsson authored
      2006-04-12  Anders Carlsson  <andersca@imendio.com>
      
              * gdk/quartz/gdkkeys-quartz.c:
              Handle page up and page down.
      2ba96a71
    • Anders Carlsson's avatar
      Don't flush if we're inside a begin_paint/end_paint pair. · 3d1e7107
      Anders Carlsson authored
      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.
      3d1e7107
  2. 10 Apr, 2006 1 commit
    • Anders Carlsson's avatar
      Have GdkWindowImplQuartz implement GdkPaintable. · 1e3d7220
      Anders Carlsson authored
      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.
      1e3d7220
  3. 03 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Make _gdk_windowing_args const. · aff3329d
      Matthias Clasen authored
      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.
      aff3329d
  4. 29 Mar, 2006 1 commit
  5. 27 Mar, 2006 2 commits
    • Anders Carlsson's avatar
      Make the poll func work with real file descriptors. We do this by creating · 856ee02f
      Anders Carlsson authored
      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
      856ee02f
    • Richard Hult's avatar
      Add more stubs. · ce823f5b
      Richard Hult authored
      2006-03-27  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz: Add more stubs.
      ce823f5b
  6. 21 Mar, 2006 5 commits
    • Michael Natterer's avatar
      removing trailing \ fixes the build. · d4d65217
      Michael Natterer authored
      2006-03-21  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/quartz/Makefile.am: removing trailing \ fixes the build.
      d4d65217
    • Anders Carlsson's avatar
      Implement gdk_window_scroll. · 03c29e11
      Anders Carlsson authored
      2006-03-21  Anders Carlsson  <andersca@imendio.com>
      
              * gdk/quartz/gdkgeometry-quartz.c:
              (gdk_window_scroll):
              Implement gdk_window_scroll.
      03c29e11
    • Anders Carlsson's avatar
      Add the GDK part of the DND implementation. · 6b1510bf
      Anders Carlsson authored
      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
      6b1510bf
    • Anders Carlsson's avatar
      Offset coordinates by 0.5 pixels to get consistant results for both image · ac3643d8
      Anders Carlsson authored
      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.
      ac3643d8
    • Anders Carlsson's avatar
      ]): Synthesize GDK_CONFIGURE events when the window position changes. · 7fe53a99
      Anders Carlsson authored
      2006-03-21  Anders Carlsson  <andersca@imendio.com>
      
              * gdk/quartz/GdkQuartzWindow.c
              ([GdkQuartzWindow -windowDidMove:]): Synthesize GDK_CONFIGURE events
              when the window position changes.
      7fe53a99
  7. 08 Mar, 2006 1 commit
    • Michael Natterer's avatar
      gdk/gdkscreen.h gdk/x11/gdkscreen-x11.c added · 5afb4f0f
      Michael Natterer authored
      2006-03-08  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkscreen.h
      	* gdk/x11/gdkscreen-x11.c
      	* gdk/gdk.symbols: added gdk_screen_get_active_window() and
      	gdk_screen_get_window_stack() (patch from maemo-gtk).
      	Fixes bug #320881.
      
      	* gdk/directfb/gdkscreen-directfb.c
      	* gdk/quartz/gdkscreen-quartz.c
      	* gdk/win32/gdkscreen-win32.c: added the functions as stubs.
      5afb4f0f
  8. 21 Feb, 2006 1 commit
    • Anders Carlsson's avatar
      Add these from the win32 backend. · 5dcae734
      Anders Carlsson authored
      2006-02-21  Anders Carlsson  <andersca@imendio.com>
      
              * gdk/quartz/gdkselection-quartz.c:
              (make_list):
              (gdk_text_property_to_utf8_list_for_display):
              Add these from the win32 backend.
      5dcae734
  9. 20 Feb, 2006 2 commits
    • Anders Carlsson's avatar
      Add stubs for input shape functions. · ba8e91b9
      Anders Carlsson authored
      2006-02-20  Anders Carlsson  <andersca@imendio.com>
      
              * gdk/quartz/gdkdisplay-quartz.c:
              (gdk_display_supports_shapes):
              (gdk_display_supports_input_shapes):
              * gdk/quartz/gdkwindow-quartz.c:
              (gdk_display_warp_pointer):
              (gdk_window_input_shape_combine_mask):
              (gdk_window_input_shape_combine_region):
              (gdk_window_set_child_input_shapes):
              (gdk_window_set_accept_focus):
              (gdk_window_merge_child_input_shapes):
              Add stubs for input shape functions.
      ba8e91b9
    • Anders Carlsson's avatar
      Fix typo so ctrl gets passed on to the gdk event. · cae6c15d
      Anders Carlsson authored
      2006-02-20  Anders Carlsson  <andersca@mac.com>
      
              * gdk/quartz/gdkevents-quartz.c:
              (get_keyboard_modifiers_from_nsevent):
              Fix typo so ctrl gets passed on to the gdk event.
      
              * gdk/quartz/gdkproperty-quartz.c:
              (gdk_atom_name):
              g_strdup the atom name.
      cae6c15d
  10. 29 Jan, 2006 1 commit
  11. 18 Jan, 2006 4 commits
  12. 16 Jan, 2006 2 commits
    • Anders Carlsson's avatar
      Fix ChangeLog entry · be820c5d
      Anders Carlsson authored
      be820c5d
    • Anders Carlsson's avatar
      Implement keyboard grabs. · 4afc4d61
      Anders Carlsson authored
      2006-01-16  Anders Carlsson  <andersca@mac.com>
      
              * gdk/quartz/gdkdisplay-quartz.c:
              * gdk/quartz/gdkevents-quartz.c:
              (gdk_keyboard_grab):
              (gdk_display_keyboard_ungrab):
              (gdk_keyboard_grab_info_libgtk_only):
              (find_window_for_event):
              Implement keyboard grabs.
      
              (_gdk_quartz_send_map_events):
              * gdk/quartz/gdkmain-quartz.c:
              * gdk/quartz/gdkprivate-quartz.h:
              New function that synthesizes map events.
      
              * gdk/quartz/gdkwindow-quartz.c:
              (_gdk_windowing_window_init):
              The root window is always visible.
      
              (all_parents_shown):
              (show_window_internal):
              Send map events.
      
              (gdk_window_hide):
              Ungrab keyboard and pointer
      4afc4d61
  13. 10 Jan, 2006 1 commit
    • Anders Carlsson's avatar
      Implement local-only atoms. · c18f7da4
      Anders Carlsson authored
      2006-01-10  Anders Carlsson  <andersca@imendio.com>
      
              * gdk/quartz/gdkproperty-quartz.c:
              (ensure_atom_tables):
              (intern_atom_internal):
              (gdk_atom_intern):
              (gdk_atom_intern_static_string):
              (gdk_atom_name):
              Implement local-only atoms.
      c18f7da4
  14. 09 Jan, 2006 1 commit
  15. 02 Jan, 2006 1 commit
    • Anders Carlsson's avatar
      Have these return TRUE · 6130996a
      Anders Carlsson authored
      2006-01-02  Anders Carlsson  <andersca@imendio.com>
      
              * gdk/quartz/GdkQuartzWindow.c:
              (-[GdkQuartzWindow canBecomeMainWindow]):
              (-[GdkQuartzWindow canBecomeKeyWindow]):
              Have these return TRUE
      
              * gdk/quartz/gdkevents-quartz.c:
              (pointer_grab_internal):
              Remove FIXME
      
              (find_child_window_by_point_helper):
              Fix bug in offset calculation
      
              (find_window_for_event):
              Use grab window toplevel when a grab is in effect
      
              (gdk_event_translate):
              Don't call _gdk_event_button_generate on mouse up
      
              * gdk/quartz/gdkgc-quartz.c:
              (_gdk_quartz_gc_new):
              Fix indentation
      
              * gdk/quartz/gdkwindow-quartz.c:
              (gdk_window_new):
              Make TEMP windows borderless
      
              (gdk_window_hide):
              Hide window
      
              (gdk_window_get_origin):
              Implement
      6130996a
  16. 22 Nov, 2005 1 commit
    • Anders Carlsson's avatar
      Add quartz backend. · 1097260a
      Anders Carlsson authored
      2005-11-21  Anders Carlsson  <andersca@imendio.com>
      
              * configure.in:
              * gtk/Makefile.am:
              * gdk/Makefile.am:
      	* gdk/quartz/*:
      	Add quartz backend.
      
              * docs/tools/Makefile.am:
      	Only build docshooter when the X11 backend is used.
      
              * gtk/gtkplug-stub.c:
      	Include gtkplug.h here.
      
              * gtk/gtksocket-stub.c:
      	Include gtksocket.h here.
      1097260a