summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Start automake-ifyingOwen Taylor2000-03-061-0/+14
|
* Handle drawing transparency without a mask correctly.Owen Taylor2000-03-065-24/+41
| | | | | | | | | | Mon Mar 6 11:02:07 2000 Owen Taylor <otaylor@redhat.com> * pixmap_theme_pixbuf.c: Handle drawing transparency without a mask correctly. * pixmap_theme_main.c pixmap_theme_draw.c: Remove duplicate includes.
* Arjan van de Ven <arjan@fenrus.demon.nl>Arjan van de Ven2000-03-062-30/+85
| | | | | | | | Fixed to pointer-bugs and a mis-interpretation of the Microsoft documentation. Now it can load .BMP files that are not generated by The Gimp as well. a=federico
* Store just pixel value of background colour.Tor Lillqvist2000-03-0316-116/+422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-04 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkprivate-win32.h (struct _GdkWindowWin32Data): Store just pixel value of background colour. * gdk/win32/gdkgc-win32.c (gdk_colormap_color): New function containing code snippet previously duplicated in a couple of places. * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_points): Use gdk_colormap_color. * gdk/win32/gdkevents-win32.c (gdk_event_translate): Generate GDK_SCROLL events for WM_MOUSEWHEEL messages. Don't generate events for autorepeated Shift, Control and Alt keys. Use gdk_colormap_color. * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): If the pointer is inside the window the cursor of which we are setting, call SetCursor immediately. * gdk/win32/makefile.cygwin * gtk/makefile.cygwin: If we don't have the build number stamp file, use zero. * gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and gtk_paned_set_gutter_size as empty. * gtk/gtk.def: Remove gtk_paned_set_gutter_size.
* Merged in changes.Mark Crichton2000-03-032-6/+14
| | | | | | | | | Merged in changes. If this doesn't work, I blame the NWO conspiracy. I need to go put my tin foil hat back on now, and keep a lookout for the black helicopters.
* minor fix from Nicolas GEORGE <nicolas.george@ens.fr>.Damon Chaplin2000-02-292-1/+6
| | | | | | | 2000-02-29 Damon Chaplin <damon@helixcode.com> * gtk/tmpl/gtkmenuitem.sgml: minor fix from Nicolas GEORGE <nicolas.george@ens.fr>.
* s/unsigned long/guint32/g, s/unsigned short/guint16/g, s/unsignedMatt Wilson2000-02-292-100/+105
| | | | | | | 2000-02-28 Matt Wilson <msw@redhat.com> * gdk-pixbuf/gdk-pixbuf-drawable.c: s/unsigned long/guint32/g, s/unsigned short/guint16/g, s/unsigned char/guint8/g
* missed a couple of correctionsGMT 2000 Tony Gale2000-02-292-2/+2
| | | | | | Tue Feb 29 13:29:17 GMT 2000 Tony Gale <gale@gtk.org> missed a couple of corrections
* Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org>GMT 2000 Tony Gale2000-02-2924-37/+100
| | | | | | | | | | Tue Feb 29 13:10:00 GMT 2000 Tony Gale <gale@gtk.org> * gdk/gdkwindow.h gdk/x11/gxid.c gtk/gtkclist.c gtk/gtkclist.h gtk/gtkctree.c gtk/gtkmenu.h gtk/gtkwidget.c gtk/testgtk.c docs/styles.txt docs/refcounting.txt docs/gtkfaq.sgml docs/gtk_tut.sgml docs/gtk.texi TODO: Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org>
* new menu item sections and minor update to notebook section from NicolasDamon Chaplin2000-02-286-60/+153
| | | | | | | | | | | | | | | | | | | 2000-02-28 Damon Chaplin <damon@helixcode.com> * gtk/tmpl/gtkradiomenuitem.sgml: * gtk/tmpl/gtkmenuitem.sgml: * gtk/tmpl/gtknotebook.sgml: new menu item sections and minor update to notebook section from Nicolas GEORGE <nicolas.george@ens.fr>. 2000-02-18 Damon Chaplin <damon@helixcode.com> * gtk/tmpl/gtktooltips.sgml: patch from David Benson <daveb@idealab.com> to note that gtk_tooltips_set_colors() does not work. 2000-02-09 Damon Chaplin <damon@helixcode.com> * gdk/tmpl/input_methods.sgml: minor fix.
* added a note about no-window widgets.Damon Chaplin2000-02-281-0/+8
| | | | | | 2000-06-14 Damon Chaplin <damon@helixcode.com> * gtk/tmpl/gtktooltips.sgml: added a note about no-window widgets.
* new menu item sections and minor update to notebook section from NicolasDamon Chaplin2000-02-281-2/+3
| | | | | | | | | | | | | | | | | | | 2000-02-28 Damon Chaplin <damon@helixcode.com> * gtk/tmpl/gtkradiomenuitem.sgml: * gtk/tmpl/gtkmenuitem.sgml: * gtk/tmpl/gtknotebook.sgml: new menu item sections and minor update to notebook section from Nicolas GEORGE <nicolas.george@ens.fr>. 2000-02-18 Damon Chaplin <damon@helixcode.com> * gtk/tmpl/gtktooltips.sgml: patch from David Benson <daveb@idealab.com> to note that gtk_tooltips_set_colors() does not work. 2000-02-09 Damon Chaplin <damon@helixcode.com> * gdk/tmpl/input_methods.sgml: minor fix.
* We don't require libgif/ungif nor libXpm.Federico Mena Quintero2000-02-271-0/+6
| | | | | | | | 2000-02-26 Federico Mena Quintero <federico@helixcode.com> * README: We don't require libgif/ungif nor libXpm. * NEWS: This was outdated, so updated it.
* Implement num_marked_dates, and don't emit mutiple day_selected signals onGMT 2000 Tony Gale2000-02-268-9/+57
| | | | | | | | Sat Feb 26 11:46:25 GMT 2000 Tony Gale <gale@gtk.org> * gtk/gtkcalendar.c: Implement num_marked_dates, and don't emit mutiple day_selected signals on month_prev.
* don't omit TODO.xmlTim Janik2000-02-261-1/+1
|
* Updated italian translationChristopher R. Gabriel2000-02-262-16/+18
|
* let title and logo be configurable so that GNOME can use this script too.Jonathan Blandford2000-02-259-14/+74
| | | | | | | | | 2000-02-25 Jonathan Blandford <jrb@redhat.com> * docs/make-todo (lineno): let title and logo be configurable so that GNOME can use this script too. * TODO.xml: added logourl and a title
* Use the correct name for gdk-pixbuf/gdk-pixbuf.h. Thanks to Jacob BerkmanFederico Mena Quintero2000-02-251-0/+6
| | | | | | | | 2000-02-25 Federico Mena Quintero <federico@helixcode.com> * gdk-pixbuf.m4: Use the correct name for gdk-pixbuf/gdk-pixbuf.h. Thanks to Jacob Berkman for pointing this out.
* Added some UI items, and an explanatory comment at the top of the file.Owen Taylor2000-02-258-1/+96
| | | | | | | Fri Feb 25 11:12:00 2000 Owen Taylor <otaylor@redhat.com> * TODO.xml: Added some UI items, and an explanatory comment at the top of the file.
* some updates, added abunch of new entries. a note for those fiddeling withTim Janik2000-02-248-6/+159
| | | | | | | | | | Thu Feb 24 09:07:28 2000 Tim Janik <timj@gtk.org> * TODO.xml: some updates, added abunch of new entries. a note for those fiddeling with this file, when done with it, invoke: $ ./docs/make-todo TODO.xml >/dev/null and correct output errors before comitting changes.
* twiddled some moreOwen Taylor2000-02-241-2/+3
|
* twiddledOwen Taylor2000-02-241-0/+5
|
* small changesOwen Taylor2000-02-241-2/+2
|
* spelling fixesOwen Taylor2000-02-241-3/+3
|
* Added XML-structured TODO file. python script to turn TODO.xml into prettyOwen Taylor2000-02-249-0/+618
| | | | | | | | Wed Feb 23 22:59:50 2000 Owen Taylor <otaylor@redhat.com> * TODO.xml: Added XML-structured TODO file. * docs/make-todo: python script to turn TODO.xml into pretty XML output.
* add a 'paned' mode to the function to let it draw the seven dots, insteadJonathan Blandford2000-02-2311-171/+240
| | | | | | | | | | | | | | | | | | | | 2000-02-23 Jonathan Blandford <jrb@redhat.com> * gtk/gtkstyle.c (gtk_default_draw_handle): add a 'paned' mode to the function to let it draw the seven dots, instead of the old, much maligned, method. (draw_dot): New function to draw a dot. * gtk/gtkhpaned.c (gtk_hpaned_size_allocate): changed allocation to draw the handle inside the border width as opposed to outside. Use paint function instead of gdk_draw_point. * gtk/gtkvpaned.c (gtk_vpaned_size_allocate): changed allocation to draw the handle inside the border width as opposed to outside. Use paint function instead of gdk_draw_point. * gtk/gtkfilesel.c (gtk_file_selection_update_history_menu): Change indenting to be more GTK like.
* New section on GtkCalendar Update example codeGMT 2000 Tony Gale2000-02-2311-109/+1390
| | | | | | | Wed Feb 23 10:54:14 GMT 2000 Tony Gale <gale@gtk.org> * docs/gtk_tut.sgml: New section on GtkCalendar * examples/calendar: Update example code
* Get the date on the FAQ right. Grr.GMT 2000 Tony Gale2000-02-222-2/+2
| | | | | | Tue Feb 22 14:02:48 GMT 2000 Tony Gale <gale@gtk.org> * Get the date on the FAQ right. Grr.
* FAQ UpdateGMT 2000 Tony Gale2000-02-229-112/+410
| | | | | | Tue Feb 22 13:54:12 GMT 2000 Tony Gale <gale@gtk.org> * docs/gtkfaq.sgml: FAQ Update
* 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.