summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 0.6.0 - FedericoGDK_PIXBUF_0_6_0Federico Mena Quintero2000-02-2216-196/+565
|
* fix case where initial colormap entry is Transparent.Jonathan Blandford2000-02-202-4/+9
| | | | | | | 2000-02-19 Jonathan Blandford <jrb@redhat.com> * gdk-pixbuf/io-gif.c (new_context): fix case where initial colormap entry is Transparent.
* Return TRUE to prevent the scroll event to be propagated upwards.Anders Carlsson2000-02-198-1/+36
| | | | | | | 2000-02-19 Anders Carlsson <andersca@gnu.org> * gtk/gtkrange.c (gtk_range_scroll_event): Return TRUE to prevent the scroll event to be propagated upwards.
* Fix error in scale factors for non-alpha case.Owen Taylor2000-02-192-6/+11
| | | | | | | 2000-02-19 Owen Taylor <otaylor@redhat.com> * gdk-pixbuf/pixops/pixops.c (scale_pixel): Fix error in scale factors for non-alpha case.
* Fix my e-mail addressAnders Carlsson2000-02-187-7/+7
|
* Remove OwnerGrabButtonMask from button entries for GDK_BUTTON_PRESS /Owen Taylor2000-02-1821-80/+526
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Feb 18 14:37:29 2000 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Remove OwnerGrabButtonMask from button entries for GDK_BUTTON_PRESS / GDK_BUTTON_RELEASE. * gtk/gtklayout.c (gtk_layout_realize): Always add GDK_SCROLL to the event mask (which will result in button/press release being added to the event mask on Unix) so scrolling works for layouts in scroll windows. * gdk/gdkevents.h (enum): Fix up GDK_ALL_EVENTS_MASK. Patch from Anders Carlsson <andersca@picard.andersnet> to add a scroll event. * gtk/testgtk.c (scroll_test_scroll): Added an example of mouse wheel scrolling to the "Test Scrolling" part of testgtk. * gtk/gtkwidget.h (struct _GtkWidgetClass): Added scroll_event signal. * gtk/gtkwidget.c: Added "scroll_event" GTK+ signal and matched it against GDK_SCROLL. * gtk/gtkrange.c (gtk_range_scroll_event): Updated to use the new way of mouse wheel scrolling. * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): Likewise. * gtk/gtkspinbutton.c (gtk_spin_button_scroll): Likewise. * gtk/gtkmain.c: Removed previous mouse wheel hack. * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Added entry in gdk_event_mask_table. * gdk/x11/gdkevents-x11.c (gdk_event_translate): Added GdkEventScroll handler. * gdk/gdkevents.h: Added GdkEventScroll structure.
* Add patch from Jonathan Blandford and Anders Carlsson to change the PanedOwen Taylor2000-02-1715-462/+576
| | | | | | | | | | | | | Thu Feb 17 17:10:12 2000 Owen Taylor <otaylor@redhat.com> * gtk/gt{h,k,}vpaned.[ch]: Add patch from Jonathan Blandford and Anders Carlsson to change the Paned widgets so that they can be dragged from anywhere along the length. Also change the way that this is drawn to make this apparent. * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Apply patch from George Lebl to check that option_menu->menu is present before getting history.
* Iain sent me a xpm that didn't load. It used "g" instead of "c" in it'sMark Crichton2000-02-142-1/+6
| | | | | | | | | | | | | | | Iain sent me a xpm that didn't load. It used "g" instead of "c" in it's color table. I thought that was borked until I saw Imlib, xv, and Gimp load it up w/o problem... So, fixed that (less than one line fix). HOWEVER, if this is correct, then the gdk XPM loader in gtk+ also has the same problem. Owen, got an opinion on this? Mark
* Remove now-unnecessary cast.Darin Adler2000-02-143-1/+7
|
* Make passed-in argument 'const'.Elliot Lee2000-02-143-4/+7
| | | | * gdk-pixbuf/gdk-pixbuf.h, gdk-pixbuf/gdk-pixbuf-data.c: Make passed-in argument 'const'.
* Move the test for no segments before the assertion for non-NULL segmentTor Lillqvist2000-02-1311-92/+253
| | | | | | | | | | | | | | | 2000-02-14 Tor Lillqvist <tml@iki.fi> * gdk/gdkdraw.c (gdk_draw_segments): Move the test for no segments before the assertion for non-NULL segment list. * gdk/win32/gdkgc-win32.c: (gdk_win32_gc_values_to_win32values): Seems that pattern brushes *must* be 8x8 pixels! At least on my machine, but it might be display driver dependent. Sigh, so make sure the stipple is that size. Does Windows suck or what? * gdk/win32/gdkdrawable-win32.c: Improve error handling in a few places.
* init refcount to 1 (gdk_cursor_new): init refcount to 1Havoc Pennington2000-02-139-3/+62
| | | | | | | | | | | 2000-02-13 Havoc Pennington <hp@pobox.com> * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init refcount to 1 (gdk_cursor_new): init refcount to 1 * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
* Add an extra parameter so that we don't have to do unnecessary settings toTor Lillqvist2000-02-1326-700/+1138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* s/refcount/ref_count/.Tim Janik2000-02-13115-174/+424
| | | | | | | | | | | | | | | | | | 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.
* gdk/win32/gdkproperty-win32.c The assertions for GDK_IS_WINDOW wereTor Lillqvist2000-02-099-6/+48
| | | | | | | | 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.
* Initial import of gdk-pixbuf-based engineInitialOwen Taylor2000-02-070-0/+0
|
* Initial revisionOwen Taylor2000-02-076-0/+2549
|
* By order of jrb: const patch for various bits, io-gif.c fixup forMichael Meeks2000-02-037-159/+183
| | | | | | By order of jrb: const patch for various bits, io-gif.c fixup for animations.
* updated lt.poPablo Saratxaga2000-02-031-27/+27
|
* Updated Norwegian translation.Kjartan Maraas2000-02-032-52/+56
| | | | | | 2000-02-04 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation.
* Argh, decided not to return a string that must be freed fromTor Lillqvist2000-02-039-5/+65
| | | | | | | | | | | | | | 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.
* Use g_filename_to_utf8 to convert the font names Windows gives us fromTor Lillqvist2000-02-0319-119/+351
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* updated ca.poPablo Saratxaga2000-02-038-43/+43
|
* Added sanity check for width and height being >= 0. Also, do nothing ifFederico Mena Quintero2000-02-022-0/+22
| | | | | | | | | | | 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.
* Removed debugging g_print. Thanks to John Sullivan <sullivan@eazel.com>Federico Mena Quintero2000-02-023-23/+38
| | | | | | | | | | | | 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.
* rearranged a bit.Damon Chaplin2000-02-028-149/+245
| | | | | | | | | | | | | 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.
* Add some sanity checks if the widget passed to gtk_drag_get_data() was notOwen Taylor2000-02-019-11/+44
| | | | | | | | 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.
* ran make templates.Damon Chaplin2000-02-0117-922/+1461
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* gnome_init() does not call gdk_rgb_init(), so don't mention that it doesFederico Mena Quintero2000-02-012-5/+9
| | | | | | | | | 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.
* Handle zh_CN.GB2312.Tor Lillqvist2000-01-312-1/+8
| | | | | | 2000-02-01 Tor Lillqvist <tml@iki.fi> * makefile.cygwin: Handle zh_CN.GB2312.
* no testpixbuf-foo targetHavoc Pennington2000-01-302-2/+5
| | | | | | 2000-01-31 Havoc Pennington <hp@redhat.com> * gdk-pixbuf/Makefile.am (noinst_PROGRAMS): no testpixbuf-foo target
* Fix from Peter Wainwright to fix 4a => 4a scaling.Owen Taylor2000-01-303-4/+10
| | | | | | | 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.
* Added po file from TurboLinux Chinese Develop Team.Yuan-Chung Cheng2000-01-3010-1/+495
|
* forgot to cvs add thisHavoc Pennington2000-01-291-0/+49
|
* use gdk_cursor_unref instead of destroyHavoc Pennington2000-01-2916-5/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* I dated telsa to break gdk-pixbuf.Mark Crichton2000-01-291-0/+5
| | | | | | | | | | | | | | 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
* gdk/gdkwindow.h Remove prototypes for renamed functions.Tor Lillqvist2000-01-289-11/+35
| | | | | | | 2000-01-29 Tor Lillqvist <tml@iki.fi> * gdk/gdkwindow.h * gdk/gdkpixmap.h: Remove prototypes for renamed functions.
* update-poPablo Saratxaga2000-01-278-403/+438
|
* added Lithuanian filePablo Saratxaga2000-01-273-1/+470
|
* FixOwen Taylor2000-01-258-2/+37
| | | | | | Tue Jan 25 11:43:21 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkinvisible.h (struct _GtkInvisible[Class]): Fix
* Added lib/gtk+/include/* to %files (bug #5178 - Peter Wainright)Owen Taylor2000-01-249-1/+68
| | | | | | | | | | | 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>)
* 0.5.0 - FedericoGDK_PIXBUF_0_5_0Arturo Espinosa2000-01-223-2/+12
|
* Bumped version number to 0.5.0.Federico Mena Quintero2000-01-223-3/+24
| | | | | | | | | | | | | | | | | | | | 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
* Removed the x_set and y_set arguments. Now they are always on and startFederico Mena Quintero2000-01-225-95/+50
| | | | | | | | | | | | | | | | 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.
* Return the same pixbuf as the input parameter.Federico Mena Quintero2000-01-218-20/+37
| | | | | | | | | | 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.
* .cvsignore additionsOwen Taylor2000-01-213-0/+10
|
* Make the @detail argument for the GtkStyleClass vtable const.Owen Taylor2000-01-2110-731/+752
| | | | | | | | | | | 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.
* Make GtkPrintFunc take a const string argument like GtkTranslateFunc. ThisOwen Taylor2000-01-2110-5/+49
| | | | | | | | 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.
* Started.Damon Chaplin2000-01-192-3/+20
| | | | * gtk/tmpl/gtkscrollbar.sgml: Started.
* The correct semantics (to mimic the X11 backend, which just callsTor Lillqvist2000-01-188-5/+91
| | | | | | | | | | | | | | 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.