Commit Graph

20192 Commits

Author SHA1 Message Date
Tor Lillqvist
76db5d6ce6 Link directly to GDI+ API avoiding LoadLibrary
Avoid potential DLL hijacking risks by not calling LoadLibrary() to
load gdiplus.dll. As gdiplus.dll is a WinSxS (side-by-side) DLL we
couldn't use the full path anyway as we don't know it.

So just link to the GDI+ functions directly. Gdiplus.dll should be
present on all Windows versions we support anyway. Some complexity
added as MinGW doesn't come with an import library for gdiplus.dll, so
we have to create one ourselves. But we call relatively few functions
from gdiplus.dll so that is not a big deal.

Note that despite being a side-by-side DLL (or "assembly"),
gdiplus.dll is apparently a special case in that you don't need a
manifest to tell the OS which version of gdiplus.dll you
want. Weird.
2010-09-09 20:35:30 +03:00
Tor Lillqvist
c84425274a Avoid potential DLL hijacking in Wintab code
Load Wintab32.dll from an absolute path. A proper Wintab32.dll, if
present, should be in the Windows system directory, so load it from
there.
2010-09-09 20:22:35 +03:00
Tor Lillqvist
3d57c97047 Just use TrackMouseEvent directly
TrackMouseEvent is present in user32.dll in all Windows versions we
support. No need to look it up dynamically. No need to fallback to
_TrackMouseEvent from comctrl32.dll.
2010-09-03 00:50:43 +03:00
Tor Lillqvist
ab5b246202 Avoid potential DLL hijacking in ms-windows theme engine
Load uxtheme.dll from an absolute path. A proper uxtheme.dll, if
present, will always be in the Windows system directory, so load it
from there.
2010-09-02 14:35:02 +03:00
Martin Schlemmer
fbd8c84acf win32: cummulated backport of xp theme fixes from master 2010-08-28 15:16:12 +02:00
Sergey Orlov
7868c0b588 bgo#614006 - GtkFileSystemModel - Make sure to generate node IDs are valid for new files
When a file was inserted during the period that the editable row was
active, the node IDs would not get updated correctly.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-08-24 17:11:03 -05:00
krishnababu k
e733403292 Corrected string occurrence calendar 2010-08-19 21:29:40 +05:30
Sandeep Shedmake
3d80072fd7 fixed incorrect spelling of 'calender'; corrected to 'calendar' 2010-08-19 21:13:12 +05:30
Yinghua Wang
9c658aa85f Update Simplified Chinese UI translation. 2010-08-11 22:51:26 +08:00
Yinghua Wang
5ef8839152 Update Simplified Chinese property nicks translation. 2010-08-11 22:47:00 +08:00
Andika Triwidada
3d51b15f5c Updated Indonesian translation 2010-08-06 16:01:12 +07:00
Andika Triwidada
295d851a1d Updated Indonesian translation 2010-08-06 15:37:44 +07:00
Gheyret Tohti
fd89e30889 Added Uyghur translation 2010-08-03 14:37:55 +02:00
Nils-Christoph Fiedler
0ad538acbf Added Uyghur translation 2010-08-03 14:33:58 +02:00
Sahran
5161c021cc Added Uyghur translation 2010-08-03 14:33:46 +02:00
Fridrich Štrba
232372df88 Fix 32-bit Windows build using mingw-w64 toolchain 2010-08-03 03:03:06 +02:00
Xandru Armesto
d1dba78ccc Updated asturian translation 2010-07-28 13:34:48 +02:00
Xandru Armesto
98a96d5f37 Updated asturian translation 2010-07-28 13:19:33 +02:00
Xandru Armesto
2daa7462de Updated asturian translation 2010-07-28 13:01:08 +02:00
Petr Kovar
55ac829e31 Fix Czech translation
Partially fixes bug #606564, thanks goes to Vladimir Burian & Marek Cernocky
2010-07-11 18:59:07 +02:00
Tor Lillqvist
765f8344cd Generate correct grab broken event for WM_KILLFOCUS
WM_KILLFOCUS means that a keyboard grab (not a pointer grab), if any,
has been broken. I don't think this bug has matterd much as gtk
generates a grab-broken-event signal for both keybord and pointer
grabs being broken anyway.
2010-06-22 21:30:13 +03:00
Benjamin Otte
ac3797dfc1 Can't select file on file browser after changing sort order
The row values are 1-indexed not 0-indexed, this has to be taken into
account when producing the new_order array.

https://bugzilla.gnome.org/show_bug.cgi?id=621414
(cherry picked from commit a8e3ce6bb4)
2010-06-16 10:03:14 -04:00
Leonid Kanter
98356b1b89 Updated Russian translation from Yuri Myasoedov 2010-06-15 20:13:01 +03:00
Claudio Saavedra
d98600cfc8 Fix typo in docs for GtkFileChooser
Reported by Martin Olsson in
https://bugzilla.gnome.org/show_bug.cgi?id=621479
2010-06-14 17:38:58 +03:00
John (J5) Palmieri
b99b2f0dc6 annotate gtk_color_selection_get_current_color color param as out 2010-06-10 14:54:30 -04:00
Cody Russell
4cf1f2c55c Bug 608218 - GtkOffscreenWindow causes bad window with GtkEntry
We now exit early from gdk_window_register_dnd() to avoid crashing if the
window type is GDK_WINDOW_OFFSCREEN and does not support dnd operations.
This makes it possible to use any dnd-enabled widgets, such as GtkEntry,
within a GtkOffscreenWindow.
2010-06-01 18:52:45 -05:00
Johan Dahlin
6360710b2b [gtktreeview] Add a couple of annotations 2010-05-31 12:13:51 -03:00
Matej Urbančič
74c3e21352 Updated Slovenian translation 2010-05-30 08:43:40 +02:00
Matej Urbančič
c9fb28dd85 Updated Slovenian translation 2010-05-30 08:42:45 +02:00
Matthias Clasen
3743af0ce9 Make the !xkb build survive a little longer
This fixes bug 619114.
(cherry picked from commit eff1fe2500)
2010-05-21 12:18:22 -04:00
Mike Gorse
5d6ebcc177 Implement action interface for gailcell.
Bug #580889.
2010-05-21 10:40:46 -04:00
Marek Kasik
6e4d98c0c7 Update list of US Letter locales
Sync paper size fallbacks with the latest 1.8.1 CLDR table (#618000).
2010-05-21 12:14:04 +02:00
Mattias Põldaru
eadfb65bbb Estonian translation updated 2010-05-20 15:02:56 +03:00
Jan Arne Petersen
84f88bbb1d GtkRange: Redraw if GtkRange is a GtkScale and value is drawn.
* gtk/gtkrange.c: (gtk_range_adjustment_value_change):
Queue the draw also if the range is a scale and the value is drawn,
fixing bug #533946 (Markus Brinkmann), when two HScales use one
adjustment.
2010-05-18 08:55:39 +02:00
Matthias Clasen
f0cfc970ed Another attempt to handle pngs changing int types
(cherry picked from commit 006d5718fa)
2010-05-17 18:55:36 -04:00
Fran Diéguez
d50eaf64f8 Updated Galician translations 2010-05-17 19:15:17 +02:00
Fran Diéguez
71b1b5d80c Updated Galician translations 2010-05-17 19:13:26 +02:00
Fran Diéguez
4719264422 Updated Galician translations 2010-05-17 19:12:28 +02:00
Jorge González
b6c8e3f11c Updated Spanish translation 2010-05-14 17:58:19 +02:00
Luca Ferretti
0561fa173a Updated Italian translation 2010-05-14 12:53:05 +02:00
Claude Paroz
387191344f Updated French translation 2010-05-14 11:38:54 +02:00
Johan Dahlin
92b44092d0 [GtkWidget] Add annotations
Add a couple of out/inout annotations
2010-05-12 19:56:03 -03:00
Johan Dahlin
bd0c98c6c7 [GtkWindow] Add annotations
Add introspection annotations for lists and functions with
multiple out values.
2010-05-12 19:56:00 -03:00
Khaled Hosny
746e2cd307 Typo 2010-05-07 20:51:38 +03:00
Javier Jardón
a6c4833d9a Remove the definition of libpixbufloader_gdip_png_la_*
libstatic-pixbufloader-gdip-png.la should not be built or at least not
included in STATIC_GDIPLUS_LIBS as we don't want to use the GDI+-based
loader for PNG, because if we do, we can't get (or was it set?) the
options of a PNG pixbuf that for instance some code in GIMP wants to do.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=607839
2010-05-04 16:11:42 +02:00
Wouter Bolsterlee
e3c8bd9264 Dutch translation updated by Wouter Bolsterlee 2010-05-03 23:40:18 +02:00
Matthias Clasen
14ae79a3cc Bump version 2010-05-02 21:55:36 -04:00
Matthias Clasen
bd3788e8df 2.20.1 2.20.1 2010-05-02 21:51:45 -04:00
Matthias Clasen
d5137b89ef Documentation build fixes 2010-05-02 21:19:42 -04:00
Matthias Clasen
031c6d2ef1 Updates 2010-05-02 19:53:44 -04:00