| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
2006-04-12 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkkeys-quartz.c:
Handle page up and page down.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.c: Here too.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gdk/win32/gdkpixmap-win32.c: Include gdksreen.h (#337032,
Kazuki IWAMOTO)
|
|
|
|
|
|
|
| |
2006-03-30 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkregion-generic.c (gdk_region_get_clipbox): Reword
docs to help gtk-doc.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
2006-03-29 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
2006-03-27 Richard Hult <richard@imendio.com>
* gdk/quartz: Add more stubs.
|
|
|
|
|
|
| |
2006-03-21 Michael Natterer <mitch@imendio.com>
* gdk/quartz/Makefile.am: removing trailing \ fixes the build.
|
|
|
|
|
|
|
|
| |
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkgeometry-quartz.c:
(gdk_window_scroll):
Implement gdk_window_scroll.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/GdkQuartzWindow.c
([GdkQuartzWindow -windowDidMove:]): Synthesize GDK_CONFIGURE events
when the window position changes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
2006-03-04 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkinput-x11 (gdk_input_translate_coordinates):
Adjust the handling of min values for the x and y axes of
extended input devices (#324562, #142536, Denis Auroux and
Robert Ögren)
|
|
|
|
|
|
|
|
|
|
|
| |
2006-02-27 Michael Natterer <mitch@imendio.com>
* gdk/x11/gdksettings.c: map "gtk-touchscreen-mode" to the
"Gtk/TouchscreenMode" XSettings property, remove trailing
whitespace.
* gdk/x11/checksettings.c: #include <string.h> and sprinkled some
newlines.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Feb 27 14:52:50 2006 Tim Janik <timj@imendio.com>
* gdkevents-x11.c:
* gdksettings.c: moved and renamed the gdk_settings_names and
gdk_settings_map.
* gdk/x11/checksettings.c: test program for the gdk_settings_map array.
* gdk/x11/Makefile.am: run checksettings as part of make check.
|
| |
|
|
|
|
|
|
|
| |
Sat Feb 25 10:35:23 PST 2006 Michael Emmel <mike.emmel@gmail.com>
*gdk/directfb/gdkdisplay-directfb.c
*gdk/directfb/gdkwindow-directfb.c
Added stubs for shape window functions to fix compile problems
|
|
|
|
|
|
|
|
| |
Thu Feb 23 13:28:21 2006 Tim Janik <timj@imendio.com>
* gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): remove unconditional
warnings about missing X locale support. Gdk properly handles this
situation anyway.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
2006-02-20 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkgc.c (_gdk_gc_update_context): Obtain the
background color from the gc when it is needed. (#331820)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-02-19 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkgc.c (_gdk_gc_update_context): Add a gc_changed
argument, and avoid setting the clip region if the gc
has not changed.
* gdk/gdkgc.c: Update all callers.
* gdk/gdkpango.c (get_cairo_context): Avoid updating the
context if nothing changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2006-02-20 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdisplay-win32.c (gdk_display_supports_shapes):
New function, return TRUE.
(gdk_display_supports_input_shapes): New function, return FALSE.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-02-20 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkwindow-win32.c (do_shape_combine_region): New
function. Factor out code from gdk_window_shape_combine_mask().
(gdk_window_shape_combine_region): Actually do something. Convert
region to a HRGN and call do_shape_combine_region().
(gdk_window_input_shape_combine_mask)
(gdk_window_input_shape_combine_region)
(gdk_window_set_child_input_shapes)
(gdk_window_merge_child_input_shapes): New functions, dummy
implementations.
|
|
|
|
|
|
|
| |
2006-02-20 Michael Natterer <mitch@imendio.com>
* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): adding boolean
have_shapes and have_input_shapes members fixes the build.
|
|
|
|
|
|
|
| |
2006-02-20 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkfont-win32.c: Replace all calls to g_strcasecmp()
with g_ascii_strcasecmp().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-02-19 Matthias Clasen <mclasen@redhat.com>
Support input shapes: (#331070)
* gdk/gdk.symbols:
* gdk/gdkdisplay.h:
* gdk/gdkwindow.h:
* gdk/x11/gdkdisplay-x11.c (gdk_display_supports_shapes)
(gdk_display_supports_input_shapes): Functions to determine
if a display supports shaped windows or input shapes.
* gdk/x11/gdkwindow-x11.c (gdk_window_input_shape_combine_region):
(gdk_window_input_shape_combine_mask):
(gdk_window_set_child_input_shapes):
(gdk_window_merge_child_input_shapes): Input shape versions
of the window shape API.
* gtk/gtk.symbols:
* gtk/gtkwidget.h:
* gtk/gtkwidget.c (gtk_widget_input_shape_combine_mask):
New function to set an input shape on a widget.
|
|
|
|
|
|
|
|
| |
2006-02-17 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkregion-generic.c (gdk_region_union_with_rect):
Be robust and reject rectangles with negative width or
height. (#331467, Benjamin Berg)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2006-02-09 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate)
<WM_MOUSELEAVE>: If we don't know where we went, and have
generated a leave event, set current_window to the root
window. This assures we will generate proper enter and leave
events for popup windows. (#325521)
|
|
|
|
|
|
|
|
|
|
|
| |
2006-02-08 John Ehresman <jpe@wingware.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate)
<WM_MOUSEACTIVATE>
* gdk/win32/gdkwindow-win32.c (show_window_internal)
(gdk_window_raise): Call SetWindowPos() instead of
SetForegroundWindow() or BringWindowToTop() if the window
shouldn't accept focus. (#327375)
|
|
|
|
|
|
|
|
| |
2006-02-08 John Ehresman <jpe@wingware.com>
* gdk/win32/gdkwindow-win32.c: Let gdk_window_set_decorations()
take precedence over anything derived from hints. Restructure
related code and logic, add some new helper functions. (#327217)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-02-08 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab)
(gdk_display_pointer_ungrab, gdk_keyboard_grab)
(gdk_display_keyboard_ungrab): Consistenly use assign_object()
when assigning GdkWindow pointers so that the ref counting doesn't
get off whack.
(handle_stuff_while_moving_or_resizing): Don't use deprecated API.
(gdk_event_translate) <WM_MOUSEMOVE>: When the pointer is grabbed
with owner_events FALSE, generate enter and leave events only for
the grab window. (#321054)
|