| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
Fixes bug 784323.
|
|
|
|
|
|
| |
This function is trivial and can be copied from the X11 implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=772281
|
|
|
|
|
|
| |
This is just more breakage from introspection ursurping doc
comments. Somebody needs to find a proper solution before this
is brought back.
|
|
|
|
|
| |
glib will use the correct marshaller automatically. And as a side
effect, we also get all glib optimizations, like a va marshaller.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
It does no good to iterate through a series of mime types to call a
function when the eventually-called function,
_gtk_quartz_get_selection_data_from_pasteboard() in this case, gives the
wrong answer and stops the iteration on all but one especially if that
one isn't first.
The one is "image/tiff" and the quartz pasteboard function will return
any image type Quartz knows about for it, so lose the iteration and use
only "image/tiff".
|
|
|
|
| |
Better than juggling introspection sources in the Makefile.
|
| |
|
|
|
|
| |
gtk_clipboard_wait_for_contents
|
|
|
|
|
|
|
|
| |
This patch can be considered a leftover of commit 6f607fc8b4cd ,
replace the no longer existing function with the GDK function
meant to replace it.
This was noticeable on regular clipboard operations in quartz
|
| |
|
|
|
|
|
| |
to fix the build, thanks to parafin for the patch.
(cherry picked from commit e3e055f8551ac8ee033f361261c849c612554184)
|
|
|
|
|
|
| |
NSInteger isn't defined until MacOSX Leopard, so in the 3 files that
use it, include ../gdk/quartz/gdkquartz.h which provides a typedef when
needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We must not release the GtkClipboardOwner in pasteboardChangedOwner
becaue we don't own a reference to ourselves (NSPasteboard does).
Instead, release the owner right after setting it, transferring
ownership to NSPasteboard
Also, fix repeated setting of the same owner by keeping the
owner around in GtkCLipboard, and re-use it if "user_data"
doesn't change. To avoid clipboard_unset()ting our own contents
in the process, add an ugly "setting_same_owner" boolean to
GtkClipboardOwner, set it during re-setting the same owner,
and avoid calling clipboard_unset() from pasteboardChangedOwner
if it's TRUE.
(cherry picked from commit 4a8df7a33c298d22bf78b947d0e861fc03ec70e1)
|
|
|
|
|
|
|
|
|
|
|
| |
pasteboardChangedOwner is not called as reliably as we'd want to get it,
so keep track of [pasteboard changeCount] and drop clipboard ownership
when a change happened. Also better unset the clipboard content redundantly
in a few places rather than missing one, and reorder the code in
gtk_clipboard_set_contents() so that the new aggressive unsetting
won't unset the clipboard under our feet when we call
[pasteboard declareTypes].
(cherry picked from commit f2b74db5dcbd28a1e27431f413c66d2a5d50b2bd)
|
|
|
|
|
| |
These confuse gtk-doc. All these functions are documented
in gtkclipboard.c
|
| |
|
| |
|
|
|
|
|
|
|
| |
In GtkClipboardOwner pasteboard:provideDataForType do not call
_gtk_quartz_set_selection_data_for_pasteboard() is selection_data.length
is smaller than 0. The function relies on having a positive length,
since it stores the length in a uint ...
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=623845
|
|
|
|
|
| |
The target list/entry to pasteboard entry conversions return a NSSet
now instead of NSArray.
|
|
|
|
| |
Also add autorelease pool to gtk_drag_begin_idle().
|
|
|
|
| |
These can only serve to confuse gtk-doc.
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-29 Richard Hult <richard@imendio.com>
Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
Patch from Jon A. Cruz to initialize the allocated selection data.
svn path=/trunk/; revision=21540
|
|
|
|
|
|
|
|
|
| |
2008-08-15 Richard Hult <richard@imendio.com>
* gtk/gtkclipboard-quartz.c (gtk_clipboard_wait_is_uris_available):
Add another missing symbol.
svn path=/trunk/; revision=21135
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-11 Sven Neumann <sven@gimp.org>
* gtk/gtkaccelgroup.c
* gtk/gtkactiongroup.c
* gtk/gtkcalendar.c
* gtk/gtkcelleditable.c
* gtk/gtkclipboard-quartz.c
* gtk/gtkclipboard.c
* gtk/gtkcolorbutton.c
* gtk/gtkcolorsel.c
* gtk/gtkcontainer.c
* gtk/gtkcurve.c: use canonical signal names.
svn path=/trunk/; revision=21068
|
|
|
|
|
|
|
|
|
| |
2008-08-10 Richard Hult <richard@imendio.com>
* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_uris),
(gtk_clipboard_request_uris): Implement missing functions.
svn path=/trunk/; revision=21053
|
|
|
|
| |
svn path=/trunk/; revision=20724
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-30 Cody Russell <bratsche@gnome.org>
* Practically everything changed.
Change all references of GIMP Toolkit (and variations of it)
to GTK+ Toolkit, showing no mercy at all to our beloved
ancestry. (#540529)
svn path=/trunk/; revision=20709
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-26 Richard Hult <richard@imendio.com>
* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
* gtk/gtkquartz.c:
(_gtk_quartz_get_selection_data_from_pasteboard),
(_gtk_quartz_set_selection_data_for_pasteboard): Patch from
Christian Dywan to clean up selection data setting.
svn path=/trunk/; revision=20690
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Mitch and Tim
svn path=/trunk/; revision=20669
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-13 Richard Hult <richard@imendio.com>
* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
Remove unused variables.
(gtk_clipboard_set_contents),
(gtk_clipboard_get_owner), (clipboard_unset),
(gtk_clipboard_request_targets): Notify the previous clipboard
owner when the owner changes. Fixes bug #493406.
svn path=/trunk/; revision=19560
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard-quartz.c:
* gtkquartz.c:
* gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
Christian Persch)
svn path=/trunk/; revision=19533
|
|
|
|
|
|
|
|
|
|
| |
2007-11-03 Richard Hult <richard@imendio.com>
* gtk/gtkclipboard-quartz.c: (clipboard_owner_destroyed),
(gtk_clipboard_set_contents), (clipboard_unset): Fix bug #486369,
by passing the selection info along when pasting.
svn path=/trunk/; revision=18965
|
|
|
|
|
|
|
| |
2006-10-03 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
reduce relocations. (#359053)
|
|
|
|
|
|
|
|
| |
2006-09-10 Matthias Clasen <mclasen@redhat.com>
* Commit a patch by Behdad to fix typos, omissions and other
errors in the symbol aliasing, and add checks for local PLT
entries. (#354687, Behdad Esfahbod)
|
|
|
|
|
|
|
|
|
| |
2006-07-19 Richard Hult <richard@imendio.com>
* gtk/gtkdnd-quartz.c (register_types): Reindent.
* gtk/gtkclipboard-quartz.c (gtk_clipboard_set_contents): Add
autorelease pool.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-21 Anders Carlsson <andersca@imendio.com>
* gtk/Makefile.am:
Add new files.
* gtk/gtkclipboard-quartz.c: Added.
* gtk/gtkdnd-quartz.c: Added.
* gtk/gtkquartz.c: Added.
* gtk/gtkquartz.h: Added.
Add dnd and clipboard implementations.
|