- 13 Feb, 2000 2 commits
-
-
Tor Lillqvist authored
2000-02-13 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter so that we don't have to do unnecessary settings to the HDC. * gdk/win32/gdkdrawable-win32.c * gdk/win32/gdkimage-win32.c: Corresponding changes to the calls of gdk_gc_predraw. * gdk/win32/gdkdrawable-win32.c: Special-casing for GdkGCs where the fill style is GDK_OPAQUE_STIPPLED. In those cases we construct GDI paths, call WidenPath to get the outline of the stroken path, and then fill the outline (with the brush that was built from the stipple). * gdk/win32/gdkgc-win32.c: Factor out common code from _gdk_win32_gc_new and gdk_win32_gc_set_values into gdk_win32_gc_values_to_win32values. * gdk/win32/gdkmain-win32.c (gdk_win32_last_error_string, gdk_win32_api_failed): New functions for error logging. * gdk/win32/gdkprivate-win32.h: Declare them, and a macro WIN32_API_FAILED to call them, passing function or file name and line number. * gdk/win32/*.c: Use the WIN32_API_FAILED macro. * gdk/win32/gdkprivate-win32.h: Store just the pixel values from GdkColor for foreground and background in GdkGCWin32Data. * gdk/makefile.cygwin: Link in the resource object separately. * gdk/win32/rc/gdk.rc * gtk/gtk.rc (New file) * gdk/win32/makefile.cygwin * gtk/makefile.cygwin: Update build number in DLLs automatically, as in GLib.
-
Tim Janik authored
Sun Feb 13 08:54:45 2000 Tim Janik <timj@gtk.org> * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/. * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy): * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the parameters given and cursor->ref_count. coding style fixups. * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer, not GtkWidget. * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to fix up widget macros and add _GET_CLASS() variant. * gtk/*.c: some GtkType fixups.
-
- 09 Feb, 2000 1 commit
-
-
Tor Lillqvist authored
2000-02-09 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkproperty-win32.c * gdk/x11/gdkproperty-x11.c: The assertions for GDK_IS_WINDOW were reversed.
-
- 07 Feb, 2000 2 commits
-
-
Owen Taylor authored
-
Owen Taylor authored
-
- 03 Feb, 2000 6 commits
-
-
Michael Meeks authored
By order of jrb: const patch for various bits, io-gif.c fixup for animations.
-
Pablo Saratxaga authored
-
Kjartan Maraas authored
2000-02-04 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation.
-
Tor Lillqvist authored
gtk_file_selection_get_filename after all, as that would cause memory leaks in all apps that use it unless they specifically checked fot the GTk+ version. gtk_file_selection_get_filename returns the filename in the C runtime encoding. It calls g_filename_from_utf8, but copies the returned string to a static buffer, which is returned. I think this is better than returning the result from g_filename_from_utf8 directly, which would mean all apps that use it would have to free the return value. Or should this function care about this issue at all? Maybe a new function with clearly defined semantics.
-
Tor Lillqvist authored
2000-02-04 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkfont-win32.c (logfont_to_xlfd): Use g_filename_to_utf8 to convert the font names Windows gives us from whatever is the default codepage to UTF-8. (gdk_font_load_internal) Use g_filename_from_utf8 for conversion in the other direction. * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Fix cut&paste error in debugging output. 2000-02-02 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (gdk_window_clear): Pass zero width and height parameters to gdk_window_clear_area(). Not minus one. 2000-02-01 Tor Lillqvist <tml@iki.fi> * gtk/gtkfilesel.c: Use the g_filename_to_utf8 and g_filename_from_utf8 functions (which were added a moment ago to GLib). Some cleanups: Use gbooleans. Use GStrings instead of fixed size buffers. * gtk/gtkfilesel.h: Add comment about gtk_file_selection_get_filename returning the filename in the C runtime's encoding. * README.win32 * gdk/gdk.def * gdk/makefile.{cygwin,msc} * gtk/gtk.def: Updates. * gdk/gdkcursor-win32.c: Initialise refcount.
-
Pablo Saratxaga authored
-
- 02 Feb, 2000 3 commits
-
-
Federico Mena Quintero authored
2000-02-03 Federico Mena Quintero <federico@helixcode.com> * gdk-pixbuf/gdk-pixbuf-render.c (gdk_pixbuf_render_threshold_alpha): Added sanity check for width and height being >= 0. Also, do nothing if either of them is zero. Thanks to Ettore for pointing this out. (gdk_pixbuf_render_to_drawable): Likewise. (gdk_pixbuf_render_to_drawable_alpha): Likewise.
-
Federico Mena Quintero authored
2000-02-02 Federico Mena Quintero <federico@helixcode.com> * gdk-pixbuf/io-gif.c (gif_get_lzw): Removed debugging g_print. Thanks to John Sullivan <sullivan@eazel.com> for the patch. * gdk-pixbuf/testpixbuf-drawable.c (configure_cb): Get a new area of the screen when the window is resized. Thanks to David N. Welton <davidw@linuxcare.com> for pointing this out. Misc. cleanups to the rest of the file.
-
Damon Chaplin authored
2000-02-03 Damon Chaplin <damon@karuna.freeserve.co.uk> * gdk/gdk-sections.txt: rearranged a bit. * gdk/tmpl/event_structs.sgml: updated. * gtk/gtk-sections.txt: added INCLUDE tag for Private Info section. * gdk/tmpl/color_contexts.sgml: added note saying it is deprecated. * gdk/tmpl/dnd.sgml: added note saying read the GTK+ DnD docs.
-
- 01 Feb, 2000 3 commits
-
-
Owen Taylor authored
Wed Feb 2 11:58:05 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_selection_received): Add some sanity checks if the widget passed to gtk_drag_get_data() was not the dest widget.
-
Damon Chaplin authored
2000-02-02 Damon Chaplin <damon@karuna.freeserve.co.uk> * gdk/tmpl/*.sgml: ran make templates. * gdk/gdk-docs.sgml: rearranged sections. * gdk/tmpl/events.sgml: documented. * gdk/tmpl/general.sgml: documented. * gdk/tmpl/rgb.sgml: fixed a few '@' -> '#'. * gdk/gdk-sections.txt: rearranged a few bits, including moving GdkWChar and related functions from the input method section to the font section, and GdkCapStyle etc. from Drawing Primitives to GCs. * gdk/tmpl/images.sgml: documented. * gdk/tmpl/drawing.sgml: updated. * gdk/tmpl/regions.sgml: updated. * gdk/tmpl/input_contexts.sgml: documented. * gdk/tmpl/input_methods.sgml: documented. * gdk/tmpl/selections.sgml: changed xref to a link since Jade says a xref to a RefEntry is not supported.
-
Federico Mena Quintero authored
2000-02-01 Federico Mena Quintero <federico@helixcode.com> * doc/tmpl/rendering.sgml: gnome_init() does not call gdk_rgb_init(), so don't mention that it does in the documentation. Thanks to Alexander Kruuse <kruuse@home.se> for pointing this out.
-
- 31 Jan, 2000 1 commit
-
-
Tor Lillqvist authored
2000-02-01 Tor Lillqvist <tml@iki.fi> * makefile.cygwin: Handle zh_CN.GB2312.
-
- 30 Jan, 2000 3 commits
-
-
Havoc Pennington authored
2000-01-31 Havoc Pennington <hp@redhat.com> * gdk-pixbuf/Makefile.am (noinst_PROGRAMS): no testpixbuf-foo target
-
Owen Taylor authored
Mon Jan 31 12:38:50 2000 Owen Taylor <otaylor@redhat.com> * gdk-pixbuf/pixops/pixops.c (scale_line): Fix from Peter Wainwright to fix 4a => 4a scaling.
-
Yuan-Chung Cheng authored
-
- 29 Jan, 2000 3 commits
-
-
Havoc Pennington authored
-
Havoc Pennington authored
2000-01-30 Havoc Pennington <hp@pobox.com> * gtk/testgtk.c (set_cursor): use gdk_cursor_unref instead of destroy * gdk/gdkimage.c (gdk_image_ref): image wasn't being returned * gdk/gdkprivate.h: declare _gdk_cursor_destroy which is then implemented in platform-specific code * gdk/Makefile.am (gdk_c_sources): add gdkcursor.c * gdk/x11/gdkcursor-x11.c (gdk_cursor_destroy): rename with an underscore in front * gdk/win32/gdkcursor-win32.c (gdk_cursor_destroy): put an underscore in front * gdk/gdkcursor.c: new file, implements gdk_cursor_ref/gdk_cursor_unref * gdk/gdkcursor.h: Refcount GdkCursor * gdk/gdkcompat.h (gdk_cursor_destroy): compat
-
Mark Crichton authored
I dated telsa to break gdk-pixbuf. I didn't think she can do it. She somehow did, with Alan's help Fixed it (it was a build bug) Now, it should be 1000% telsa-proofed. Mark
-
- 28 Jan, 2000 1 commit
-
-
Tor Lillqvist authored
2000-01-29 Tor Lillqvist <tml@iki.fi> * gdk/gdkwindow.h * gdk/gdkpixmap.h: Remove prototypes for renamed functions.
-
- 27 Jan, 2000 2 commits
-
-
Pablo Saratxaga authored
-
Pablo Saratxaga authored
-
- 25 Jan, 2000 1 commit
-
-
Owen Taylor authored
Tue Jan 25 11:43:21 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkinvisible.h (struct _GtkInvisible[Class]): Fix
-
- 24 Jan, 2000 1 commit
-
-
Owen Taylor authored
Sun Jan 23 20:28:24 2000 Owen Taylor <otaylor@redhat.com> * gtk+.spec.in: Added lib/gtk+/include/* to %files (bug #5178 - Peter Wainright) * gtk/Makefile.am (gtk_public_h_sources): Add gtkcompat.h so that it will be installed. (bug #4889 - "david d `zoo' zuhn" <zoo@mnnr.org>)
-
- 22 Jan, 2000 3 commits
-
-
Arturo Espinosa authored
-
Federico Mena Quintero authored
2000-01-22 Federico Mena Quintero <federico@helixcode.com> * configure.in: Bumped version number to 0.5.0. * gdk-pixbuf/pixops/timescale.c (dump_array): Removed unused variable. (main): Return 0. * gdk-pixbuf/pixops/pixops.c (pixops_composite_color_nearest): Put parentheses around + in a shift to remove a compiler warning. (pixops_process): Likewise. Patch from Ross Golder <rossigee@bigfoot.com> to create an RPM specfile: * configure.in: Added gdk-pixbuf.spec to AC_OUTPUT. * Makefile.am (EXTRA_DIST): Added gdk-pixbuf.spec.in
-
Federico Mena Quintero authored
2000-01-22 Federico Mena Quintero <federico@helixcode.com> * gdk-pixbuf/gnome-canvas-pixbuf.c (PixbufPrivate): Removed the x_set and y_set arguments. Now they are always on and start with defaults of 0.0 in units. (gnome_canvas_pixbuf_class_init): Likewise. (gnome_canvas_pixbuf_set_arg): Likewise. (gnome_canvas_pixbuf_get_arg): Likewise. (compute_viewport_affine): Likewise; always use the priv->x and priv->y fields. * doc/tmpl/gnome-canvas-pixbuf.sgml: Modified to reflect the removal of the x_set/y_set arguments.
-
- 21 Jan, 2000 4 commits
-
-
Federico Mena Quintero authored
2000-01-21 Federico Mena Quintero <federico@helixcode.com> * gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_ref): Return the same pixbuf as the input parameter. * gdk-pixbuf/gdk-pixbuf-animation.c (gdk_pixbuf_animation_ref): Return the same animation as the input parameter.
-
Owen Taylor authored
-
Owen Taylor authored
Fri Jan 21 16:29:28 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument for the GtkStyleClass vtable const. * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will require changes in use code.
-
Owen Taylor authored
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will require changes in use code.
-
- 19 Jan, 2000 1 commit
-
-
Damon Chaplin authored
* gtk/tmpl/gtkscrollbar.sgml: Started.
-
- 18 Jan, 2000 1 commit
-
-
Tor Lillqvist authored
2000-01-19 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct semantics (to mimic the X11 backend, which just calls XClearArea) is to check for zero width (and height), and in that case use the window's width minus x (height minus y). This fixes for instance some redraw problems with gtkclist, which were easily noticeable in the gtk file selection widget. (gdk_window_new): Don't set WS_EX_TOPMOST for dialog windows.
-
- 17 Jan, 2000 2 commits
-
-
Elliot Lee authored
2000-01-16 Elliot Lee <sopwith@redhat.com> * gdk-pixbuf/Makefile.am: Don't link against libgnomecanvaspixbuf.la
-
Elliot Lee authored
Shut up Federico.
-