1. 15 Aug, 2006 1 commit
    • Matthias Clasen's avatar
      Zero out some stack-allocated X structures, to avoid valgrind warnings · bb279057
      Matthias Clasen authored
      2006-08-15  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c (gdk_window_register_dnd):
              * gdk/x11/gdkwindow-x11.c (gdk_window_set_decorations):
              (gdk_window_set_functions): Zero out some stack-allocated
              X structures, to avoid valgrind warnings about uninitialized
              memory.  (#349382, David Baron)
      bb279057
  2. 11 Aug, 2006 1 commit
  3. 10 Aug, 2006 1 commit
    • Michael Natterer's avatar
      don't try to set the state of unmapped windows, call · cac12e4d
      Michael Natterer authored
      2006-08-10  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c
      	(gdk_window_maximize)
      	(gdk_window_unmaximize)
      	(gdk_window_iconify)
      	(gdk_window_deiconify): don't try to set the state of unmapped
      	windows, call gdk_synthesize_window_state() instead. Also added
      	autorelease pools back, seems they are needed after all.
      
      	* gdk/quartz/gdkwindow-quartz.c (show_window_internal): maximize
      	and iconify windows here if the state says so.
      cac12e4d
  4. 08 Aug, 2006 6 commits
    • Michael Natterer's avatar
      implement MIN_SIZE, MAX_SIZE and RESIZE_INC. · 08028816
      Michael Natterer authored
      2006-08-09  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_geometry_hints):
      	implement MIN_SIZE, MAX_SIZE and RESIZE_INC.
      08028816
    • Michael Natterer's avatar
      Shutup CVS · 7af7c0a3
      Michael Natterer authored
      7af7c0a3
    • Richard Hult's avatar
      Whitespace cleanup. (synthesize_crossing_events): Add comments and prevent · 230fceca
      Richard Hult authored
      2006-08-08  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c: (poll_func): Whitespace cleanup.
      	(synthesize_crossing_events): Add comments and prevent a crash.
      230fceca
    • Michael Natterer's avatar
      implement. · d451252f
      Michael Natterer authored
      2006-08-08  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c
      	(gdk_window_maximize)
      	(gdk_window_unmaximize): implement.
      
      	(gdk_window_iconify)
      	(gdk_window_deiconify): remove unneeded autorelease pools.
      d451252f
    • Richard Hult's avatar
      Just expose the minimal region instead of the whole rect. · d3ee9f83
      Richard Hult authored
      2006-08-08  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/GdkQuartzView.c: Just expose the minimal region
      	instead of the whole rect.
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	(gdk_window_quartz_process_all_updates), (gdk_window_update_idle),
      	(gdk_window_impl_quartz_invalidate_maybe_recurse),
      	(gdk_window_impl_quartz_process_updates),
      	(_gdk_windowing_window_destroy): Rework the expose handling so that
      	it works like the X11 backend, using an idle with the right
      	priority instead of relying on quartz to do it.
      	(gdk_window_set_type_hint): Use tornoff instead of submenu as the
      	documentation (and Mitch) suggests.
      d3ee9f83
    • Michael Natterer's avatar
      some whitespace and indentation cleanup. · f2faaf2f
      Michael Natterer authored
      2006-08-08  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/quartz/gdkdrawable-quartz.c: some whitespace and indentation
      	cleanup.
      
      	(gdk_quartz_draw_rectangle)
      	(gdk_quartz_draw_arc)
      	(gdk_quartz_draw_polygon)
      	(gdk_quartz_draw_points): for pixel-prefect drawing, stroked
      	coordinates need to go through pixel centers, while filled ones
      	need to go along pixel boundaries. Moved +0.5 adjusting to the
      	if(!filled) branches and added/removed some adjustments where they
      	were wrong.
      f2faaf2f
  5. 07 Aug, 2006 1 commit
  6. 06 Aug, 2006 1 commit
  7. 02 Aug, 2006 1 commit
  8. 31 Jul, 2006 1 commit
  9. 29 Jul, 2006 1 commit
    • Richard Hult's avatar
      Always set success to TRUE. (gdk_color_change): Implement. · 571c4605
      Richard Hult authored
      2006-07-29  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkcolor-quartz.c (gdk_colormap_alloc_colors): Always
      	set success to TRUE.
      	(gdk_color_change): Implement.
      
      	* gdk/quartz/GdkQuartzWindow.c
      	([GdkQuartzWindow -canBecomeKeyWindow]): Add comment.
      
      	* gdk/quartz/gdkevents-quartz.c (gdk_screen_get_setting): Make the
      	default font a bit smaller until we have made this get the system
      	setting.
      
      	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_type_hint): Enable
      	shadows for the right window types.
      
      	* gdk/quartz/gdkprivate-quartz.h:
      	* gdk/quartz/gdkgc-quartz.c:
      	* gdk/quartz/gdkdrawable-quartz.c:
      	* gdk/quartz/gdkcolor-quartz.c: Expose the CGContext functions,
      	update callers.
      
      	* gdk/quartz/gdkmain-quartz.c: (_gdk_windowing_init): No need to
      	get the current process ID, use the right constant instead.
      571c4605
  10. 27 Jul, 2006 1 commit
  11. 24 Jul, 2006 2 commits
    • Richard Hult's avatar
      Implement getting the double click threshold. · 348bffc8
      Richard Hult authored
      2006-07-24  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c (gdk_screen_get_setting): Implement
      	getting the double click threshold.
      348bffc8
    • Richard Hult's avatar
      Set the window level depending on the type hint. · 7a3c18ab
      Richard Hult authored
      2006-07-24  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_type_hint): Set the
      	window level depending on the type hint.
      
      	* gdk/quartz/gdkevents-quartz.c (gdk_keyboard_grab,
      	pointer_ungrab_internal): Only break the grab if the new window is
      	a different one.
      	(gdk_event_translate): Catch the case where the entire app loses
      	focus and break any grabs. Only do implicit grabs when the event
      	mask has both press and release.
      
      	* gdk/quartz/gdkkeys-quartz.c (translate_keysym):
      	* gdk/quartz/gdkselection-quartz.c:
      
              * gdk/quartz/GdkQuartzWindow.c
      	([GdkQuartzWindow -windowDidResignKey:]): Use this to update the
      	focus window instead of resignMain, fixes the case where other apps
      	uses focus follows mouse (like the terminal can).
      7a3c18ab
  12. 21 Jul, 2006 1 commit
    • Richard Hult's avatar
      Implement. · a0cdff6c
      Richard Hult authored
      2006-07-21  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkgc-quartz.c: (gdk_quartz_gc_get_values),
      	(gdk_quartz_gc_set_values), (_gdk_windowing_gc_copy),
      	(gdk_gc_get_screen): Implement.
      
      	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_back_pixmap):
      	Implement.
      a0cdff6c
  13. 20 Jul, 2006 1 commit
    • Richard Hult's avatar
      Append the event to the queue instead of using gdk_event_put. · cb5f9e62
      Richard Hult authored
      2006-07-20  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c: (generate_grab_broken_event):
      	Append the event to the queue instead of using gdk_event_put.
      	(_gdk_quartz_get_mouse_window, find_current_keyboard_window):
      	Handle grabs.
      	(get_event_mask_from_ns_event, create_focus_event)
      	(convert_window_coordinates_to_root, find_window_for_event)
      	(gdk_event_translate): Improve readability (style changes).
      	(gdk_flush, gdk_display_sync, gdk_display_flush)
      	(gdk_event_send_client_message_for_display),
      	(gdk_screen_broadcast_client_message): Remove FIXMEs.
      	(gdk_screen_get_setting): Reindent.
      	Also move find_child_window_by_point to gdkwindow-quartz.c.
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	(find_child_window_by_point_helper),
      	(_gdk_quartz_find_child_window_by_point): Move here from
      	gdkevents-quartz.c
      	(_gdk_windowing_window_get_pointer): Handle destroyed windows and
      	imlement the return value.
      	(_gdk_windowing_window_at_pointer): Implement.
      cb5f9e62
  14. 19 Jul, 2006 5 commits
  15. 17 Jul, 2006 5 commits
    • Richard Hult's avatar
      Fill in string, length and is_modifier for key events. Map some more keys · d473868a
      Richard Hult authored
      2006-07-17  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c: (create_key_event):
      	* gdk/quartz/gdkkeys-quartz.c: (_gdk_quartz_key_event_type),
      	(_gdk_quartz_key_is_modifier):
      	* gdk/quartz/gdkprivate-quartz.h: Fill in string, length and
      	is_modifier for key events. Map some more keys into gdk keyvals.
      d473868a
    • Richard Hult's avatar
      Add escape to the list of special keys, to get the escape key working. · da6c726c
      Richard Hult authored
      2006-07-17  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkkeys-quartz.c: Add escape to the list of special
      	keys, to get the escape key working.
      da6c726c
    • Richard Hult's avatar
      Initialize GdkInput. · b4f78d06
      Richard Hult authored
      2006-07-17  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkdisplay-quartz.c (gdk_display_open): Initialize
      	GdkInput.
      b4f78d06
    • Richard Hult's avatar
      Fix comment. (gdk_window_set_title): Surround by release pool macros. · 2d41ff51
      Richard Hult authored
      2006-07-17  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	(_gdk_windowing_window_destroy_foreign): Fix comment.
      	(gdk_window_set_title): Surround by release pool macros.
      	(gdk_window_get_type_hint): Fix return value.
      	(gdk_window_get_frame_extents): Implement.
      	(gdk_window_iconify): Use the release pool macros.
      	(gdk_window_deiconify): Likewise.
      	(_gdk_windowing_get_pointer): Implement.
      	(gdk_window_get_deskrelative_origin, gdk_window_get_root_origin):
      	Implement.
      
      	* gdk/quartz/gdkevents-quartz.c (create_crossing_event)
      	(create_scroll_event, convert_window_coordinates_to_root):
      	Set coordinates and root coordinates for crossing and scroll
      	events.
      
      	* gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display):
      	Map some more cursors.
      2d41ff51
    • Matthias Clasen's avatar
      Add some more detail to the docs. (#311399, Nikos Kouremenos) · 51753860
      Matthias Clasen authored
      2006-07-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkwindow.c (gdk_window_get_pointer): Add some more
      	detail to the docs.  (#311399, Nikos Kouremenos)
      51753860
  16. 14 Jul, 2006 1 commit
  17. 10 Jul, 2006 2 commits
  18. 09 Jul, 2006 2 commits
    • Richard Hult's avatar
      Implement some more stubs for pygtk, bug #346713. · 45154303
      Richard Hult authored
      2006-07-09  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkgeometry-quartz.c:
      	* gdk/quartz/gdkmain-quartz.c:
      	* gdk/quartz/gdkpixmap-quartz.c:
      	* gdk/quartz/gdkwindow-quartz.c:
      	* gtk/gtkclipboard-quartz.c: Implement some more stubs for pygtk,
      	bug #346713.
      45154303
    • Richard Hult's avatar
      Release the pool in all cases. (move_resize_window_internal): Surround by · faed5298
      Richard Hult authored
      2006-07-09  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c (gdk_window_new): Release the pool
      	in all cases.
      	(move_resize_window_internal): Surround by alloc/release pool.
      	Patch from Brian Tarricone, fixes bug #347018.
      faed5298
  19. 08 Jul, 2006 1 commit
  20. 07 Jul, 2006 1 commit
    • Richard Hult's avatar
      Generate a grab broken event when appropriate. Fixes bug #346603, patch · 2fbe2ebc
      Richard Hult authored
      2006-07-07  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c: Generate a grab broken event when
      	appropriate. Fixes bug #346603, patch from Dave Vasilevsky.
      
      	* gdk/quartz/gdkevents-quartz.c:
      	* gdk/quartz/gdkkeys-quartz.c:
      	* gdk/quartz/gdkprivate-quartz.c: Another patch from Dave Vasilevsky,
      	fixes bug #346605. Makes modifier key events being sent properly.
      2fbe2ebc
  21. 03 Jul, 2006 1 commit
  22. 29 Jun, 2006 1 commit
  23. 28 Jun, 2006 1 commit
  24. 26 Jun, 2006 1 commit