- 07 Jan, 2002 3 commits
-
-
Anders Carlsson authored
2002-01-07 Anders Carlsson <andersca@gnu.org> * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove unused pixels and rowstride variables. (gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.
-
Tim Janik authored
Mon Jan 7 08:48:23 2002 Tim Janik <timj@gtk.org> * gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset the pointer by x/y_offset into the new window when we found the drag destination. * gtk/gtkaccelmap.c (internal_change_entry): fix return code for simulation when the entry already contains the required accel key and mod.
-
Matthias Clasen authored
* docs/debugging.txt: Replace GTK_NO_CHECK_CASTS by G_DISABLE_CAST_CHECKS. * gtk/gtkaccelgroup.c (gtk_accel_group_from_accel_closure, gtk_accel_group_query, gtk_accel_group_find, gtk_accel_groups_from_object): Document. * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_closure): Document. * gtk/tmpl/gtktypeutils.sgml: Replace GTK_NO_CHECK_CASTS by G_DISABLE_CAST_CHECKS, fix some markup and add stuff. * gtk/tmpl/gtkaccelgroup.sgml, gtk/tmpl/gtkwidget.sgml: Additions. * gtk/gtk-sections.txt: Make gtk_accel_group_get_type private.
-
- 06 Jan, 2002 2 commits
-
-
Havoc Pennington authored
2002-01-06 Havoc Pennington <hp@pobox.com> * gtk/question_index.sgml: a few more questions I thought of
-
Havoc Pennington authored
2002-01-06 Havoc Pennington <hp@pobox.com> * gtk/gtk-docs.sgml: remove gtk- prefix from TreeView and a few other entities, more consistent anyway (I thought this would make links to "GtkTreeView" etc. go to the ref page, not the struct, but it wasn't the problem, the issue is the way gtkdoc-mkdb decides what's an object, see CheckIsObject() routine) * gtk/changes-1.2.sgml: sgml fixes to get rid of warnings * gtk/changes-2.0.sgml: ditto * gtk/question_index.sgml: add some questions
-
- 05 Jan, 2002 3 commits
-
-
Hans Breuer authored
2002-01-04 Hans Breuer <hans@breuer.org> * gdk/gdkdraw.c gdk/gdkpixbuf-drawable.c : need to cast image->mem away from void* to avoid 'error C2036: 'void *' : unknown size'. Doing pointer arithmetics on void pointers is a GCCism afaik. * gdk/gdkpixbuf-render.c : #include "gdkinternals.h" for _gdk_draw_pixbuf () * gdk/makefile.msc gdk/win32/makefile.msc gdk/gtk/makefile.msc.in : use -FI msvc_recommended_pragmas.h * gdk/win32/gdkdrawable-win32.c : use _gkd_win32_copy_to_image and take care of image->visual possibly NULL. * gdk/win32/gdkimage-win32.c : implement _gdk_image_new_for_depth(), _gdk_win32_copy_to_image() and _gdk_windowing_bits_for_depth(). Again take care of image->visual possibly NULL. * gdk/win32/gdkprivate-win32.h : declare _gdk_win32_copy_to_image() * gdk/win32/gdkevents-win32.c : use gdk_drawable_get_colormap instead of private field access * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : adapt colormap setting to the gdk-X behaviour
-
Hans Breuer authored
2002-01-04 Hans Breuer <hans@breuer.org> * gdk_pixbuf.def : don't export functions prefixed with underscore * makefile.msc : use -FImsvc_recommende_pragmas.h
-
Matthias Clasen authored
* gtk/gtkwidget.c: Documentation additions. * gtk/tmpl/gtkwidget.sgml: Additions.
-
- 04 Jan, 2002 10 commits
-
-
Matthias Clasen authored
* gtk/gtkobject.c (gtk_object_dispose): Fix a comment. * gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change * gtk/changes-1.2.sgml, gtk/changes-2.0.sgml: SGML fixes. * gtk/tmpl/gtkobject.sgml: Document GTK_IN_DESTRUCTION. * gtk/tmpl/gtkwidget.sgml: Additions.
-
Havoc Pennington authored
2002-01-04 Havoc Pennington <hp@pobox.com> * gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change 2002-01-04 Havoc Pennington <hp@pobox.com> * gtk/question_index.sgml: add question to help people find gtk_widget_set_sensitive() if they're used to another term for that.
-
Owen Taylor authored
Fri Jan 4 13:05:15 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_find_widget): At least don't infinite loop if the widget and window heirarchies don't correspond. * gtk/gtkdnd.c (gtk_drag_find_widget): Handle changes in heirarchy in ::drag_motion, ::drag_drop callbacks by referencing child widget lists. (Patch from Tim) * gtk/gtkdnd.c (gtk_drag_find_widget): Fix a problem with widgets where window.x != widget->allocation.
-
Stanislav Visnovsky authored
2002-01-04 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation.
-
Owen Taylor authored
Fri Jan 4 01:36:48 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdrawable-x11.c (convert_to_format): Optimize a little bit. (More for consistency than because it makes much of a difference.)
-
Owen Taylor authored
Thu Jan 3 22:18:15 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdrawable-x11.c gdk/x11/gdkprivate-x11.h (_gdk_x11_have_render): Private function to tell if we have RENDER extension. * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Return None if we don't have RENDER extension. * gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Don't use Xft unless we have render extension. * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture): Handle missing render extension. * gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkpixmap.c gdk/gdkwindow.c gdk/gdkinternals.h: Add a private copy_to_image() virtual function to the GdkDrawable vtable that extends get_image() to allow copying onto existing images. Make the default implementation of get_image() use this so that backends don't have to implement both. Add private wrapper _gdk_drawable_copy_to_image(). * gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.c gdk/x11/gdkdrawable-x11.c (_gdk_x11_copy_to_image): Implement copy_to_image() semantics, speed up by using ShmPixmaps and XCopyArea when possible, XFlush() after ungrabbing the server, generally redo the logic once again. * gdk/gdkinternals.h gdk/x11/gdkimage-x11.c _gdk_windowing_bits_per_depth(): Function to convert from depth to bits-per-pixel. (We assume only one bpp per depth - X requires this.) * gdk/gdkinternals.h gdk/gdkrgb.c gdk/gdkimage.c: Move the GdkRGB scratch image code into a generic _gdk_image_get_scratch() chunk of code that we can use other places we need scratch images. * gdk/gdkimage.c gdk/x11/gdkimage.c gdk/gdkinternals.h: Add _gdk_image_new_for_depth() as the backend to _gdk_image_new() to allowing creating images with a depth and no visual. * gdk/gdkpixbuf-drawable.c: Fix so that getting parts of images not at 0,0 actually works. * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c gdk/gdkwindow.c gdk/gdkpixmap.c gdk/gdkpixbuf-render.c: - Add a new GdkDrawableClass vfunc _draw_pixbuf, and _gdk_draw_pixbuf() [ will be made public later ], to allow backends to accelerate drawing pixbufs. - Move the implementation of gdk_pixbuf_render_to_drawable_alpha() to be the default implementation. - Update docs for gdk_pixbuf_render_to_drawable_alpha(). - Optimize the default implementation by using _gdk_image_copy_to_pixmap() and scratch shared images, and special casing the compositing. * gdk/x11/gdkdrawable-x11.c: Accelerate _gdk_draw_pixbuf() with alpha using the RENDER extension. * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): Optimize by _gdk_image_copy_to_pixmap() and scratch images. * tests/testrgb.c: Add test for speed of alpha composition, reduce the number of iterations since alpha composition can be a bit slow. * gdk/x11/gdkimage-x11.c gdk/gdkprivate-x11.h (_gdk_x11_image_get_shm_pixmap): Private function to get a ShmPixmap for an image, if possible.
-
Havoc Pennington authored
2002-01-03 Havoc Pennington <hp@pobox.com> * gtk/tmpl/gtkdrawingarea.sgml: add mention of gtk_widget_add_events() and GTK_CAN_FOCUS
-
Anders Carlsson authored
2002-01-04 Anders Carlsson <andersca@gnu.org> * tests/testtreesort.c: Add my cool list of integers.
-
Owen Taylor authored
Thu Dec 27 18:12:55 2001 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkproperty-x11.c (gdk_property_get): Fix problem where retrieved atoms weren't properly returned.
-
Owen Taylor authored
Thu Jan 3 19:31:58 2002 Owen Taylor <otaylor@redhat.com> * pixops/pixops.c (scale_line_22_33): Fix and uncomment non-MMX version. * pixops/pixops.c (pixops_composite_nearest): Remove a division. * pixops/pixops.c (pixops_composite): Add some docs about the parameters. * pixops/README: Add notes about the correct algorithms for alpha compositing and how to implement them quickly.
-
- 03 Jan, 2002 4 commits
-
-
Matthias Clasen authored
* gtk/tmpl/gtktextview.sgml: Small additions. * gtk/tmpl/gtksignal.sgml: Explain what to use instead. * gtk/question_index.sgml, gtk/text_widget.sgml, gtk/tree_widget.sgml, gtk/changes-1.2.sgml, gtk/changes-2.0.sgml, gtk/framebuffer.sgml: SGML fixes and additions. * gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkeditable.sgml, gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml, gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtkspinbutton.sgml, gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkwindow.sgml: Replace references to deprecated functions.
-
Anders Carlsson authored
2002-01-03 Anders Carlsson <andersca@gnu.org> * gtk/gtktextview.c (gtk_text_view_key_press_event): When tab is pressed and the text view isn't editable, move the focus instead.
-
Matthias Clasen authored
* gtk/changes-1.2.sgml, gtk/changes-2.0.sgml, gtk/framebuffer.sgml: Add markup.
-
Anders Carlsson authored
2002-01-03 Anders Carlsson <andersca@gnu.org> * gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if necessary. * gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list. * gtk/gtkcolorsel.c (get_focus_gc): Free dash list. * gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask if it's NULL.
-
- 02 Jan, 2002 4 commits
-
-
Anders Carlsson authored
2002-01-03 Anders Carlsson <andersca@gnu.org> * gtk/gtktreeview.c: Rename gtk_tree_view_queue_draw_node to _gtk_tree_view_queue_draw_node. (gtk_tree_view_row_has_child_toggled): Only redraw one node. * gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): sort_column_id can be 0. * gtk/gtktreeselection.c (gtk_tree_selection_real_select_node): Only redraw one the node being selected. * gtk/gtktreeprivate.h: Add _gtk_tree_view_queue_draw_node.
-
Tim Janik authored
Wed Jan 2 23:09:06 2002 Tim Janik <timj@gtk.org> * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore realized but visible && !mapped resize containers (which is possible with unset CHILD_VISIBLE now).
-
jacob berkman authored
2002-01-02 jacob berkman <jacob@ximian.com> * gtk/Makefile.am (LDFLAGS): automake still doesn't support libsomething_la_LDFLAGS, so fix the build again
-
Havoc Pennington authored
2002-01-01 Havoc Pennington <hp@pobox.com> * gtk/gtktextview.c (gtk_text_view_expose_event): propagate exposes to no window children not in the buffer window. (gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab - is this the right way to do it? (gtk_text_view_focus): add focus method, just chains up for now, I'm not sure why the GtkContainer implementation doesn't work * gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill in the text line for the child anchor segment * tests/testtext.c (do_add_focus_children): add another test example (to put focusable buttons into the widget)
-
- 01 Jan, 2002 5 commits
-
-
Havoc Pennington authored
2002-01-01 Havoc Pennington <hp@pobox.com> * gtk/framebuffer.sgml: move README.linux-fb in here * gtk/tmpl/gtkpreview.sgml: explain what to use instead * gtk/tmpl/gtkseparator.sgml: typo fix * gtk/tmpl/gtkstock.sgml: add some overview docs * gtk/Makefile.am (content_files): add new files * gtk/changes-1.2.sgml: move Changes-1.2.txt in here * gtk/changes-2.0.sgml: move Changes-2.0.txt in here * gdk/tmpl/threads.sgml: mention gdk_threads_init() in the overview docs, copy in the examples from the FAQ * gtk/gtk-docs.sgml: change DTD to 3.1, and add question_index.sgml and changes-1.2, changes-2.0 * gtk/tmpl/gtkdrawingarea.sgml: fixups to reflect 2.0 changes * gtk/question_index.sgml: new section with question-based index of the manual * gtk/text_widget.sgml: fix some cross-references 2002-01-01 Havoc Pennington <hp@pobox.com> * docs/README.linux-fb: note that this file is obsolete * docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these files that they should not be edited and look in the reference manual instead. Probably these files should just be replaced by the note, and their main contents deleted. * gtk/gtktextview.c: docs * gtk/gtktextmark.c: docs * gtk/gtktextchild.c: docs * gtk/gtktextbuffer.c: docs stuff * gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe give people more leads in sorting out PRIMARY vs. CLIPBOARD
-
Tor Lillqvist authored
2002-01-01 Tor Lillqvist <tml@iki.fi> * demos/Makefile.am (test-inline-pixbufs.h): Append EXEEXT to ../gdk-pixbuf/gdk-pixbuf-csource. 2001-12-31 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkgc-win32.c (predraw_set_foreground): Improved error handling. (gdk_win32_hdc_get,gdk_win32_hdc_release): Silence gcc -Wall. * gdk/win32/gdkimage-win32.c (_gdk_win32_get_image): Silence gcc -Wall. Use GDK_IS_PIXMAP_IMPL_WIN32 instead of GDK_IS_PIXMAP in one more place. * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Silence gcc -Wall. * gtk/Makefile.am (libgtk_win32_1_3_la_LDFLAGS): Add -lwsock32.
-
Havoc Pennington authored
2002-01-01 Havoc Pennington <hp@pobox.com> * gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc fix 2002-01-01 Havoc Pennington <hp@pobox.com> * gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible property isn't implemented * gtk/text_widget.sgml: small tweaks
-
Havoc Pennington authored
2002-01-01 Havoc Pennington <hp@pobox.com> * gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible property isn't implemented * gtk/text_widget.sgml: small tweaks 2002-01-01 Havoc Pennington <hp@pobox.com> * gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc fix
-
Havoc Pennington authored
2002-01-01 Havoc Pennington <hp@pobox.com> * gtk/gtktextview.c (changed_handler): Replace call to gtk_widget_size_request() that expected to actually compute the request with a direct use of widget_class->size_request, so we get our size request right; fixes remaining part of #63065 reported by Matthias Clasen
-
- 31 Dec, 2001 6 commits
-
-
Havoc Pennington authored
2001-12-31 Havoc Pennington <hp@pobox.com> * tests/testtext.c (do_insert_and_scroll): remove backward_char since we no longer have bogus newline (dialog_response_callback): remove another backward_char horkage, reported by Matthias Clasen #63065
-
Havoc Pennington authored
2001-12-31 Havoc Pennington <hp@pobox.com> * gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency): fix an incorrect assertion that the "valid" flag is always correct in a node and add explanatory comment. This keeps me from reproducing #59101, but I'm remembering that 59101 was actually about incorrect pixel totals, so I'm not sure 59101 is actually fixed. May just have stopped happening due to some change in how C-k works.
-
Havoc Pennington authored
2001-12-31 Havoc Pennington <hp@pobox.com> * gtk/gtktextview.c (gtk_text_view_start_selection_drag): extend selection if shift is down, bug #50939 (gtk_text_view_button_press_event): add double/triple click selection to the current selection if shift is down
-
Havoc Pennington authored
2001-12-31 Havoc Pennington <hp@pobox.com> * gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index): fix to use ensure_byte_offsets not ensure_char_offsets, patch from Padraig O'Briain bug #67356
-
Havoc Pennington authored
2001-12-30 Havoc Pennington <hp@pobox.com> * gtk/gtkdialog.h (GtkDialogFlags): fix GtkDialogFlags to have the right values, reported by Jeff Franks
-
Matthias Clasen authored
* gtk/tmpl/gtkbbox.sgml: Remove references to nonexisting functions. * gtk/tmpl/gtkcolorseldlg.sgml, gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkhseparator.sgml, gtk/tmpl/gtktree.sgml, gtk/tmpl/gtkradiobutton.sgml, gtk/tmpl/gtkradiomenuitem.sgml: Replace references to deprecated functions. * gtk/tmpl/gtkhbbox.sgml,gtk/tmpl/gtkvbbox.sgml: Minor fixes.
-
- 30 Dec, 2001 1 commit
-
-
Matthias Clasen authored
* gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkimcontextsimple.sgml: Additions. * gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks.
-
- 29 Dec, 2001 2 commits
-
-
Tor Lillqvist authored
2001-12-29 Tor Lillqvist <tml@iki.fi> * Makefile.am (EXTRA_DIST): Add makefile.msc.
-
Matthias Clasen authored
* gdk-pixbuf/porting-from-imlib.sgml: GDK instead of Gdk. * gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml: Replace references to deprecated functions. * gdk/tmpl/event_structs.sgml, gdk/tmpl/gcs.sgml, gdk/tmpl/images.sgml: Replace references to deprecated functions. * gdk/tmpl/properties.sgml, gdk/tmpl/selections.sgml: Additions. * gdk/x11/gdkproperty-x11.c, gdk/x11/gdkselection-x11.c: Minor documentation tweaks.
-