]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoDeclare in a way grokked by gtk-doc.
Matthias Clasen [Mon, 24 Apr 2006 18:31:48 +0000 (18:31 +0000)]
Declare in a way grokked by gtk-doc.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintsettings.h (GtkPageRange): Declare in a way grokked by gtk-doc.

18 years agoRemove an empty index
Matthias Clasen [Mon, 24 Apr 2006 18:26:41 +0000 (18:26 +0000)]
Remove an empty index

18 years agoDocumentation fixes.
Matthias Clasen [Mon, 24 Apr 2006 18:23:55 +0000 (18:23 +0000)]
Documentation fixes.

* gdk/gdkregion-generic.c: Documentation fixes.

* gdk/directfb/gdkmain-directfb.c: Make the comment not look like
a doc comment.

18 years agoAdd directfb
Matthias Clasen [Mon, 24 Apr 2006 18:22:58 +0000 (18:22 +0000)]
Add directfb

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gdk/Makefile.am (IGNORE_HFILES): Add  directfb

18 years agoAdditions.
Matthias Clasen [Mon, 24 Apr 2006 17:53:32 +0000 (17:53 +0000)]
Additions.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkpapersize.sgml: Additions.

* gtk/gtk-sections.txt: Add new api.

18 years agoAdd docs.
Matthias Clasen [Mon, 24 Apr 2006 17:51:51 +0000 (17:51 +0000)]
Add docs.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintunixdialog.c: Add docs.

* gtk/gtkstatusicon.c (gtk_status_icon_get_visible): Typo fix.

18 years agoAdd new api.
Matthias Clasen [Mon, 24 Apr 2006 17:02:05 +0000 (17:02 +0000)]
Add new api.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Add new api.

18 years agoRefactor the gtk_print_operation_run() code and add an _async version.
Matthias Clasen [Mon, 24 Apr 2006 17:00:44 +0000 (17:00 +0000)]
Refactor the gtk_print_operation_run() code and add an _async version.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkprintoperation.c (gtk_print_operation_run_async): Refactor the
gtk_print_operation_run() code and add an _async version.

* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c
(_gtk_print_operation_platform_backend_run_dialog_async)
(gtk_print_run_page_setup_dialog_async): Variants of the run functions
which don't call gtk_dialog_run(), but only show the dialog and return,
and handle the response in a signal handler.

* gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog_async)
(_gtk_print_operation_platform_backend_run_dialog_async): Implement these
by calling the sync versions.

18 years agoDon't ref the backend since the backend owns the printer.
Alexander Larsson [Mon, 24 Apr 2006 16:18:05 +0000 (16:18 +0000)]
Don't ref the backend since the backend owns the printer.

2006-04-24  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkprinter.c:
Don't ref the backend since the backend owns the printer.

18 years agoRemove spew.
Alexander Larsson [Mon, 24 Apr 2006 15:53:47 +0000 (15:53 +0000)]
Remove spew.

2006-04-24  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkpagesetupunixdialog.c (update_combo_sensitivity_from_printers):
Remove spew.

18 years agoEven/Odd Pages -> Even/Odd Sheets
Alexander Larsson [Mon, 24 Apr 2006 15:52:28 +0000 (15:52 +0000)]
Even/Odd Pages -> Even/Odd Sheets

2006-04-24  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkprintunixdialog.c (create_page_setup_page):
Even/Odd Pages -> Even/Odd Sheets

18 years agoCleanups
Matthias Clasen [Mon, 24 Apr 2006 15:23:24 +0000 (15:23 +0000)]
Cleanups

18 years agoRemove redundant code.
Matthias Clasen [Mon, 24 Apr 2006 15:08:18 +0000 (15:08 +0000)]
Remove redundant code.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup):
Remove redundant code.

18 years agoInstall gtkprintjob.h as Unix-specific print API.
Matthias Clasen [Mon, 24 Apr 2006 15:01:16 +0000 (15:01 +0000)]
Install gtkprintjob.h as Unix-specific print API.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/Makefile.am: Install gtkprintjob.h as Unix-specific print API.

18 years agoReturn a copy of the original page setup if the dialog was canceled.
Matthias Clasen [Mon, 24 Apr 2006 14:37:45 +0000 (14:37 +0000)]
Return a copy of the original page setup if the dialog was canceled.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
Return a copy of the original page setup if the dialog was canceled.

18 years agohindi updated
Rajesh Ranjan [Mon, 24 Apr 2006 12:36:28 +0000 (12:36 +0000)]
hindi updated

18 years agoDeclare GtkPrintJob.
Alexander Larsson [Mon, 24 Apr 2006 09:27:40 +0000 (09:27 +0000)]
Declare GtkPrintJob.

2006-04-24  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkprintjob.h:
Declare GtkPrintJob.

* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_settings):
Change g_return_if_fail to g_return_val_if_fail.

18 years agoCheck for cairo-pdf.h. Check for cairo-ps.h on non-win32.
Alexander Larsson [Mon, 24 Apr 2006 07:34:11 +0000 (07:34 +0000)]
Check for cairo-pdf.h. Check for cairo-ps.h on non-win32.

2006-04-24  Alexander Larsson  <alexl@redhat.com>

* configure.in:
Check for cairo-pdf.h.
Check for cairo-ps.h on non-win32.

18 years agoAdd new stock icons.
Matthias Clasen [Mon, 24 Apr 2006 05:46:41 +0000 (05:46 +0000)]
Add new stock icons.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/Makefile.am (HTML_IMAGES): Add new stock icons.

* gtk/tmpl/gtkstock.sgml: Document new stock icons

18 years agoMatch parameter names with the headers.
Matthias Clasen [Mon, 24 Apr 2006 05:42:12 +0000 (05:42 +0000)]
Match parameter names with the headers.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkclipboard.h:
* gtk/gtkprinter.c:
* gtk/gtkprintsettings.h:
* gtk/gtkprintsettings.c: Match parameter names with the headers.

* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
Add docs.

* gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
* gtk/gtkstatusicon.c (gtk_status_icon_get_storage_type):
* gtk/gtktreeview.c (gtk_tree_view_set_search_position_func):
* gtk/gtktreeview.c (gtk_tree_view_get_headers_clickable):
* gtk/gtkcellrendererspin.c (gtk_cell_renderer_spin_new):
* gtk/gtkmenu.c (gtk_menu_get_for_attach_widget): Fix the docs.

18 years agoAdd a rich text section
Matthias Clasen [Mon, 24 Apr 2006 05:40:24 +0000 (05:40 +0000)]
Add a rich text section

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-docs.sgml:
* gtk/gtk-sections.txt: Add a rich text section

* gtk/Makefile.am (IGNORE_HFILES): Add some more private headers.

* gtk/tmpl/gtkpreview.sgml:
* gtk/tmpl/gtkrecentmanager.sgml:
* gtk/tmpl/gtkprintoperation.sgml:
* gtk/tmpl/gtkrecentchooser.sgml:
* gtk/tmpl/gtkicontheme.sgml: Additions

* gtk/gtk-sections.txt: Remove GtkRecentChooserDefault

18 years agoDon't declare GtkPrintJob here. Instead include gtkprintjob.h.
Matthias Clasen [Mon, 24 Apr 2006 04:38:08 +0000 (04:38 +0000)]
Don't declare GtkPrintJob here. Instead include gtkprintjob.h.

2006-04-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprinter.h: Don't declare GtkPrintJob here.
* gtk/gtkprinter-private.h: Instead include gtkprintjob.h.

18 years agoUse g types, add documentation, and some stylistic fixups.
Matthias Clasen [Mon, 24 Apr 2006 03:47:22 +0000 (03:47 +0000)]
Use g types, add documentation, and some stylistic fixups.

2006-04-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprinter-private.h:
* gtk/gtkprintbackend.h:
* gtk/gtkprinter.[hc]:
* gtk/gtkprintjob.[hc]: Use g types, add documentation, and some
stylistic fixups.

* gtk/gtkaboutdialog.c (activate_url): Avoid a compiler warning.

18 years agoFix unclosed para tags.
Emmanuele Bassi [Sun, 23 Apr 2006 12:13:23 +0000 (12:13 +0000)]
Fix unclosed para tags.

2006-04-22  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* gtk/tmpl/gtkrecentchoosermenu.sgml:
* gtk/tmpl/gtkrecentchooserwidget.sgml: Fix unclosed para tags.

18 years agoupdate translation for Punjabi (Gurmukhi) by apbrar gmail com
Amanpreet Singh Alam [Sun, 23 Apr 2006 07:32:06 +0000 (07:32 +0000)]
update translation for Punjabi (Gurmukhi) by apbrar gmail com

18 years agoUse g types, add documentation.
Matthias Clasen [Sun, 23 Apr 2006 06:26:10 +0000 (06:26 +0000)]
Use g types, add documentation.

2006-04-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpapersize.[hc]: Use g types, add documentation.

1

18 years agoAdd gtkprintutils.[hc]
Matthias Clasen [Sun, 23 Apr 2006 05:48:04 +0000 (05:48 +0000)]
Add gtkprintutils.[hc]

2006-04-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/Makefile.am: Add gtkprintutils.[hc]

* gtk/gtkprintutils.[hc]: New files, move the unit conversion
functions here.

* gtk/gtkpagesetupunixdialog.c:
* gtk/gtkprintsettings.c:
* gtk/gtkpagesetup.c:
* gtk/gtkpapersize.c: Replace all static copies of to_mm/from_mm
by the copies in gtkprintutils.c.

* gtk/gtkpagesetup.[hc]: Use g types, add documentation.

18 years agomore docs
Matthias Clasen [Sun, 23 Apr 2006 05:03:59 +0000 (05:03 +0000)]
more docs

18 years agoSmall workaround for weird bug in some versions of Automake at least on
Tor Lillqvist [Sat, 22 Apr 2006 07:58:37 +0000 (07:58 +0000)]
Small workaround for weird bug in some versions of Automake at least on

2006-04-22  Tor Lillqvist  <tml@novell.com>

* gtk/Makefile.am (gtk_private_h_sources): Small workaround for
weird bug in some versions of Automake at least on Windows.

18 years agoTranslation updated by David Lodge.
David Lodge [Fri, 21 Apr 2006 21:39:06 +0000 (21:39 +0000)]
Translation updated by David Lodge.

2006-04-21  David Lodge  <dave@cirt.net>

* en_GB.po: Translation updated by David Lodge.

18 years agoMerge the gtk-printing branch. For more detailed ChangeLog entries, see
Alexander Larsson [Fri, 21 Apr 2006 15:09:32 +0000 (15:09 +0000)]
Merge the gtk-printing branch. For more detailed ChangeLog entries, see

2006-04-21  Alexander Larsson  <alexl@redhat.com>

        Merge the gtk-printing branch.
For more detailed ChangeLog entries, see the branch.

* .cvsignore:
* Makefile.am:
* configure.in:
* docs/tools/widgets.c:
* gtk+-unix-print-2.0.pc.in:
* gtk/Makefile.am:
* gtk/gen-paper-names.c:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkenums.h:
* gtk/gtkiconfactory.c:
* gtk/gtkmarshalers.list:
* gtk/gtkpagesetup.[ch]:
* gtk/gtkpagesetupunixdialog.[ch]:
* gtk/gtkpapersize.[ch]:
* gtk/gtkprint-win32.[ch]:
* gtk/gtkprintbackend.[ch]:
* gtk/gtkprintcontext.[ch]:
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.[ch]:
* gtk/gtkprinteroption.[ch]:
* gtk/gtkprinteroptionset.[ch]:
* gtk/gtkprinteroptionwidget.[ch]:
* gtk/gtkprintjob.[ch]:
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation-win32.c:
* gtk/gtkprintoperation.[ch]:
* gtk/gtkprintsettings.[ch]:
* gtk/gtkprintunixdialog.[ch]:
* gtk/paper_names.c:
* gtk/paper_names_offsets.c:
Platform independent printing API and implementations
for unix and windows.

* gtk/gtkstock.h:
* gtk/stock-icons/24/gtk-orientation-landscape.png:
* gtk/stock-icons/24/gtk-orientation-portrait.png:
* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
Add stock icons for page orientation.

* modules/Makefile.am:
* modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am:
* modules/printbackends/cups/gtkcupsutils.[ch]:
* modules/printbackends/cups/gtkprintbackendcups.[ch]:
* modules/printbackends/cups/gtkprintercups.[ch]:

Cups printing backend for unix.

* modules/printbackends/lpr/Makefile.am:
* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
lpr printing backend for unix.

* modules/printbackends/pdf/Makefile.am:
* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
print-to-pdf printing backend for unix.

* tests/.cvsignore:
* tests/Makefile.am:
* tests/print-editor.c:
Test application for printing.

* gdk/gdk.symbols:
* gdk/win32/gdkevents-win32.c:
* gdk/win32/gdkwin32.h:
Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
mainloop while displaying a win32 common dialog.

* gdk/directfb/Makefile.am:
Whitespace cleanup.

18 years agoTranslation updated.
Priit Laes [Fri, 21 Apr 2006 09:33:26 +0000 (09:33 +0000)]
Translation updated.

2006-04-21  Priit Laes  <amd@store20.com>

* et.po: Translation updated.

18 years agohindi updted
Rajesh Ranjan [Fri, 21 Apr 2006 06:18:57 +0000 (06:18 +0000)]
hindi updted

18 years agoplug small leak (#339132) ditto
Paolo Borelli [Thu, 20 Apr 2006 15:00:01 +0000 (15:00 +0000)]
plug small leak (#339132) ditto

2006-04-20  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkcombobox.c: plug small leak (#339132)
* tests/testcombo.c: ditto

18 years ago fixed off by one error in clip patch from (#330824)
Michael David Emmel [Thu, 20 Apr 2006 02:50:21 +0000 (02:50 +0000)]
 fixed off by one error in clip patch from (#330824)

18 years ago_GtkFileChooserButtonPrivate: Added has_title flag so we can remember
Murray Cumming [Wed, 19 Apr 2006 17:21:55 +0000 (17:21 +0000)]
_GtkFileChooserButtonPrivate: Added has_title flag so we can remember

2006-04-19  Murray Cumming  <murrayc@murrayc.com>

        * gtk/gtkfilechooserbutton.c: _GtkFileChooserButtonPrivate:
        Added has_title flag so we can remember whether a title has
        been set.
        (gtk_file_chooser_button_constructor): If no title has been
        set then set it to the default title. This means that the
        default title will be used if the dialog was instantiated with
        g_object_new(), without using the gtk_file_chooser_button_new()
        convenience function. This helps language bindings.
        (gtk_file_chooser_button_set_property): Set has_title when
        setting the title.

18 years agocorrected translation error
Vladimer Sichinava [Wed, 19 Apr 2006 13:50:45 +0000 (13:50 +0000)]
corrected translation error

18 years agoUpdated Gujarati Translations
Ankitkumar Rameshchandra Patel [Wed, 19 Apr 2006 11:37:44 +0000 (11:37 +0000)]
Updated Gujarati Translations

18 years agoMap VK_NUMPAD[0-9] to GDK_KP_[0-9]. (#337562)
Tor Lillqvist [Wed, 19 Apr 2006 09:42:06 +0000 (09:42 +0000)]
Map VK_NUMPAD[0-9] to GDK_KP_[0-9]. (#337562)

2006-04-19  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9]
to GDK_KP_[0-9]. (#337562)

18 years agohindi updted
Rajesh Ranjan [Wed, 19 Apr 2006 09:11:29 +0000 (09:11 +0000)]
hindi updted

18 years agoAllocate pixmap_path dynamically, rather than using a fixed array of size
Matthias Clasen [Tue, 18 Apr 2006 17:46:15 +0000 (17:46 +0000)]
Allocate pixmap_path dynamically, rather than using a fixed array of size

2006-04-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrc.c: Allocate pixmap_path dynamically, rather than
using a fixed array of size 128.

18 years agoApply a patch by Paolo Borelli to factor out a strip_suffix() function and
Matthias Clasen [Tue, 18 Apr 2006 13:58:30 +0000 (13:58 +0000)]
Apply a patch by Paolo Borelli to factor out a strip_suffix() function and

2006-04-18  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconcache.c: Apply a patch by Paolo Borelli to factor
        out a strip_suffix() function and save some memory.  (#338307)

18 years agoremoved wrong condition check that caused tab labels not to be drawn under
Carlos Garnacho [Tue, 18 Apr 2006 09:55:51 +0000 (09:55 +0000)]
removed wrong condition check that caused tab labels not to be drawn under

2006-04-18  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c (gtk_notebook_pages_allocate): removed wrong
        condition check that caused tab labels not to be drawn under certain
        circumstances. Bug #338734.

18 years agoUpdated Translation
Rajesh Ranjan [Tue, 18 Apr 2006 07:42:45 +0000 (07:42 +0000)]
Updated Translation

18 years agoRemove obsolete entry for no_NO And the translation And the translation.
Kjartan Maraas [Tue, 18 Apr 2006 05:58:57 +0000 (05:58 +0000)]
Remove obsolete entry for no_NO And the translation And the translation.

2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>

* configure.in: Remove obsolete entry for no_NO
* po-properties/no.po: And the translation
* po/no.po: And the translation.

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Tue, 18 Apr 2006 05:37:02 +0000 (05:37 +0000)]
Updated Translation

18 years agoUpdated Georgian translation 18/04/06
Vladimer Sichinava [Tue, 18 Apr 2006 03:42:46 +0000 (03:42 +0000)]
Updated Georgian translation 18/04/06

18 years agoFix the code of the look up example.
Emmanuele Bassi [Mon, 17 Apr 2006 15:41:08 +0000 (15:41 +0000)]
Fix the code of the look up example.

2006-04-17  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* gtk/tmp/gtkicontheme.sgml: Fix the code of the look up example.

18 years agoAdd long descriptions.
Emmanuele Bassi [Mon, 17 Apr 2006 15:39:21 +0000 (15:39 +0000)]
Add long descriptions.

2006-04-17  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* gtk/tmpl/gtkrecent*.sgml: Add long descriptions.

18 years agoSmall formatting fix.
Matthias Clasen [Mon, 17 Apr 2006 15:08:04 +0000 (15:08 +0000)]
Small formatting fix.

2006-04-17  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/colorsel.c (expose_event_callback): Small formatting
fix.

18 years agoFix UMR in gtk_drag_dest_motion. Bug #338725.
Christian Persch [Mon, 17 Apr 2006 13:43:23 +0000 (13:43 +0000)]
Fix UMR in gtk_drag_dest_motion. Bug #338725.

2006-04-17  Christian Persch  <chpe@cvs.gnome.org>

* gtk/gtkdnd.c: (gtk_drag_dest_set), (gtk_drag_dest_set_proxy): Fix
UMR in gtk_drag_dest_motion. Bug #338725.

18 years agoFix typos in property blurbs. (#338772, Clytie Siddall)
Matthias Clasen [Mon, 17 Apr 2006 12:59:01 +0000 (12:59 +0000)]
Fix typos in property blurbs. (#338772, Clytie Siddall)

2006-04-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtksettings.c (gtk_settings_class_init):
* gtk/gtkentry.c (gtk_entry_class_init): Fix typos
in property blurbs.  (#338772, Clytie Siddall)

18 years agovi.po: Updated Vietnamese translation.
Clytie Siddall [Mon, 17 Apr 2006 07:42:02 +0000 (07:42 +0000)]
vi.po: Updated Vietnamese translation.

18 years agoAdd check for source being a window.
Richard Hult [Sun, 16 Apr 2006 20:13:13 +0000 (20:13 +0000)]
Add check for source being a window.

2006-04-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_draw_drawable): Add check
for source being a window.

* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_get_pointer):
Don't assert on window not being the root window.

18 years agoRemove leading cairo/ in include.
Richard Hult [Sun, 16 Apr 2006 19:33:11 +0000 (19:33 +0000)]
Remove leading cairo/ in include.

2006-04-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkdrawable-quartz.c: Remove leading cairo/ in include.

18 years agoAvoid a possible array overrun. (Coverity)
Matthias Clasen [Sun, 16 Apr 2006 05:05:49 +0000 (05:05 +0000)]
Avoid a possible array overrun. (Coverity)

2006-04-16  Matthias Clasen <mclasen@redhat.com>

        * gdk/x11/gdkwindow-x11.c (set_initial_hints ): Avoid a
        possible array overrun.  (Coverity)

18 years agoAvoid a possible array overrun. (Coverity)
Matthias Clasen [Sun, 16 Apr 2006 05:01:46 +0000 (05:01 +0000)]
Avoid a possible array overrun. (Coverity)

2006-04-16  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkcalendar.c (gtk_calendar_key_press): Avoid a
        possible array overrun.  (Coverity)

18 years agofix another Coverity bug.
Matthias Clasen [Sun, 16 Apr 2006 04:45:02 +0000 (04:45 +0000)]
fix another Coverity bug.

18 years agoAdd short descriptions
Matthias Clasen [Sun, 16 Apr 2006 04:39:46 +0000 (04:39 +0000)]
Add short descriptions

18 years agoCosmetic fixes
Matthias Clasen [Sun, 16 Apr 2006 04:08:54 +0000 (04:08 +0000)]
Cosmetic fixes

18 years agoFix 336772
Matthias Clasen [Sun, 16 Apr 2006 03:55:07 +0000 (03:55 +0000)]
Fix 336772

18 years agoTake grabs into account.
Anders Carlsson [Thu, 13 Apr 2006 08:51:33 +0000 (08:51 +0000)]
Take grabs into account.

2006-04-13  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkevents-quartz.c:
        (synthesize_enter_event):
        (synthesize_leave_event):
        (synthesize_crossing_events):
        Take grabs into account.

        (find_window_for_event):
        Only return grabbed window when owner_events is FALSE.

18 years agoReorganize slightly to avoid a possible NULL dereference. (Coverity)
Matthias Clasen [Thu, 13 Apr 2006 04:31:51 +0000 (04:31 +0000)]
Reorganize slightly to avoid a possible NULL dereference. (Coverity)

2006-04-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_header_focus): Reorganize slightly
to avoid a possible NULL dereference.  (Coverity)

18 years agoDon't allow passing NULL for x1 or x2, adjust callers.
Matthias Clasen [Thu, 13 Apr 2006 03:40:48 +0000 (03:40 +0000)]
Don't allow passing NULL for x1 or x2, adjust callers.

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_get_arrow_xrange): Don't
allow passing NULL for x1 or x2, adjust callers.

18 years agoReorganize to avoid a possible NULL pointer dereference. (Coverity)
Matthias Clasen [Thu, 13 Apr 2006 03:20:43 +0000 (03:20 +0000)]
Reorganize to avoid a possible NULL pointer dereference. (Coverity)

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes):
Reorganize to avoid a possible NULL pointer dereference.  (Coverity)

18 years agoReorganize to avoid a possible NULL dereference. (Coverity)
Matthias Clasen [Wed, 12 Apr 2006 21:22:42 +0000 (21:22 +0000)]
Reorganize to avoid a possible NULL dereference. (Coverity)

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_page_allocate): Reorganize
        to avoid a possible NULL dereference.  (Coverity)

18 years agoFix another Coverity bug
Matthias Clasen [Wed, 12 Apr 2006 20:43:52 +0000 (20:43 +0000)]
Fix another Coverity bug

18 years agomodules/engines/pixbuf/Makefile.am Build fixes for Cygwin. (#338262)
Matthias Clasen [Wed, 12 Apr 2006 19:48:27 +0000 (19:48 +0000)]
modules/engines/pixbuf/Makefile.am Build fixes for Cygwin. (#338262)

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

        * contrib/gdk-pixbuf-xlib/Makefile.am:
        * modules/engines/pixbuf/Makefile.am
        * gdk-pixbuf/Makefile.am: Build fixes for Cygwin.  (#338262)

18 years agoMake this work for list == NULL. (Coverity)
Matthias Clasen [Wed, 12 Apr 2006 18:38:40 +0000 (18:38 +0000)]
Make this work for list == NULL. (Coverity)

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkselection-x11.c (make_list): Make this work
for list == NULL.  (Coverity)

18 years agoRearrange the code a bit.
Matthias Clasen [Wed, 12 Apr 2006 17:57:30 +0000 (17:57 +0000)]
Rearrange the code a bit.

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkkeys-x11.c (gdk_keymap_get_entries_for_keycode):
Rearrange the code a bit.

18 years agoHandle _gtk_text_line_get_data() returning NULL in all cases. (Coverity)
Matthias Clasen [Wed, 12 Apr 2006 16:28:54 +0000 (16:28 +0000)]
Handle _gtk_text_line_get_data() returning NULL in all cases. (Coverity)

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextlayout.c (gtk_text_layout_validate_yrange):
Handle _gtk_text_line_get_data() returning NULL in all
cases.  (Coverity)

18 years agoMake find_menu_position and find_toolbar_position void. (#338100)
Matthias Clasen [Wed, 12 Apr 2006 13:32:47 +0000 (13:32 +0000)]
Make find_menu_position and find_toolbar_position void. (#338100)

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c: Make find_menu_position and
find_toolbar_position void.  (#338100)

18 years agoHandle page up and page down.
Anders Carlsson [Wed, 12 Apr 2006 09:35:34 +0000 (09:35 +0000)]
Handle page up and page down.

2006-04-12  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkkeys-quartz.c:
        Handle page up and page down.

18 years agoDon't flush if we're inside a begin_paint/end_paint pair.
Anders Carlsson [Wed, 12 Apr 2006 08:23:01 +0000 (08:23 +0000)]
Don't flush if we're inside a begin_paint/end_paint pair.

2006-04-12  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkdrawable-quartz.c:
        (_gdk_quartz_drawable_release_context):
        Don't flush if we're inside a begin_paint/end_paint pair.

        * gdk/quartz/gdkwindow-quartz.c:
        (gdk_window_impl_quartz_end_paint):
        Free clip region here.

18 years agoDon't pass a negative value as string length to get_child_node().
Matthias Clasen [Wed, 12 Apr 2006 04:49:18 +0000 (04:49 +0000)]
Don't pass a negative value as string length to get_child_node().

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkuimanager.c (start_element_handler): Don't pass
        a negative value as string length to get_child_node().  (Coverity)

18 years agoBetter fix
Matthias Clasen [Wed, 12 Apr 2006 04:22:51 +0000 (04:22 +0000)]
Better fix

18 years agoFix another Coverity bug
Matthias Clasen [Wed, 12 Apr 2006 04:20:28 +0000 (04:20 +0000)]
Fix another Coverity bug

18 years agoSilently do nothing if the widget is not a child. (Coverity)
Matthias Clasen [Wed, 12 Apr 2006 04:13:06 +0000 (04:13 +0000)]
Silently do nothing if the widget is not a child. (Coverity)

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_remove): Silently do nothing
        if the widget is not a child.  (Coverity)

18 years agoFix another Coverity bug
Matthias Clasen [Wed, 12 Apr 2006 03:52:40 +0000 (03:52 +0000)]
Fix another Coverity bug

18 years agoRemove some unused variables.
Matthias Clasen [Wed, 12 Apr 2006 02:48:43 +0000 (02:48 +0000)]
Remove some unused variables.

2006-04-11  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (selection_motion_event_handler): Remove
        some unused variables.

        * gtk/gtktreeview.c ((gtk_tree_view_search_position_func): Apply
        a patch from David Trowbridge to improve the positioning of the
        search popup.  (#338047)

18 years agoRemove the unneeded setting of the storage file inside the constructor.
Emmanuele Bassi [Tue, 11 Apr 2006 21:04:15 +0000 (21:04 +0000)]
Remove the unneeded setting of the storage file inside the constructor.

2006-04-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* gtk/gtkrecentmanager.c (gtk_recent_manager_init)
(gtk_recent_manager_new): Remove the unneeded setting of the
storage file inside the constructor. (Murray Cumming)
(build_recent_items_list): Reset the dirty bit when done rebuilding
the list from the storage file.

18 years agoSilence compiler warnings.
Matthias Clasen [Tue, 11 Apr 2006 16:41:25 +0000 (16:41 +0000)]
Silence compiler warnings.

2006-04-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence
compiler warnings.

18 years agoDon't dereference info before checking it for NULL. (Coverity)
Matthias Clasen [Tue, 11 Apr 2006 16:26:26 +0000 (16:26 +0000)]
Don't dereference info before checking it for NULL. (Coverity)

2006-04-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't
dereference info before checking it for NULL.  (Coverity)

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Tue, 11 Apr 2006 09:03:20 +0000 (09:03 +0000)]
Translation updated by Tino Meinen.

2006-04-11  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years agoHave GdkWindowImplQuartz implement GdkPaintable.
Anders Carlsson [Mon, 10 Apr 2006 23:17:26 +0000 (23:17 +0000)]
Have GdkWindowImplQuartz implement GdkPaintable.

2006-04-11  Anders Carlsson  <andersca@mac.imendio.com>

        * gdk/quartz/GdkQuartzView.c:
        (-[GdkQuartzView drawRect:]):
        * gdk/quartz/gdkdrawable-quartz.c:
        (gdk_quartz_ref_cairo_surface):
        (_gdk_quartz_drawable_get_context):
        (_gdk_quartz_drawable_release_context):
        * gdk/quartz/gdkwindow-quartz.c:
        (gdk_window_impl_quartz_finalize):
        (gdk_window_impl_quartz_class_init):
        (gdk_window_impl_quartz_begin_paint_region):
        (gdk_window_impl_quartz_end_paint):
        (gdk_window_impl_quartz_invalidate_maybe_recurse):
        (gdk_window_impl_quartz_process_updates):
        (gdk_window_impl_quartz_paintable_init):
        (_gdk_window_impl_quartz_get_type):
        * gdk/quartz/gdkwindow-quartz.h:
        Have GdkWindowImplQuartz implement GdkPaintable.

18 years agopasted rich text should not be affected by tags that are active at the
Michael Natterer [Mon, 10 Apr 2006 20:18:31 +0000 (20:18 +0000)]
pasted rich text should not be affected by tags that are active at the

2006-04-10  Michael Natterer  <mitch@imendio.com>

* gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
pasted rich text should not be affected by tags that are active at
the insertion point. Therefore, remove and remember all active
tags, and re-apply them left and right of the inserted text after
pasting. Fixes bug #337653.

18 years agoAdd new GdkPaintable interface which implementation objects can implement
Anders Carlsson [Mon, 10 Apr 2006 19:43:08 +0000 (19:43 +0000)]
Add new GdkPaintable interface which implementation objects can implement

2006-04-11  Anders Carlsson  <andersca@imendio.com>

        * gdk/gdkinternals.h:
        * gdk/gdkwindow.c:
        (_gdk_paintable_get_type):
        (gdk_window_begin_paint_region):
        (gdk_window_end_paint):
        (gdk_window_process_updates):
        (gdk_window_invalidate_maybe_recurse):
        Add new GdkPaintable interface which implementation objects can
        implement in order to override gdk painting functions.

18 years agoUpdated Georgian translation
Vladimer Sichinava [Mon, 10 Apr 2006 00:29:44 +0000 (00:29 +0000)]
Updated Georgian translation

18 years agoupdated
Hans Breuer [Fri, 7 Apr 2006 17:18:08 +0000 (17:18 +0000)]
updated

2006-04-07  Hans Breuer  <hans@breuer.org>

* gtk/makefile.msc.in tests/makefile.msc : updated

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Fri, 7 Apr 2006 08:02:44 +0000 (08:02 +0000)]
Translation updated by Ivar Smolin.

2006-04-07  Priit Laes  <amd@store20.com>

* et.po: Translation updated by Ivar Smolin.

18 years agoCorrect the appearance of non-square icons and cursors: pad them to square
Tor Lillqvist [Thu, 6 Apr 2006 10:34:15 +0000 (10:34 +0000)]
Correct the appearance of non-square icons and cursors: pad them to square

2006-04-06  Tor Lillqvist  <tml@novell.com>

Correct the appearance of non-square icons and cursors: pad them
to square so that Windows won't stretch them.

* gdk/win32/gdkcursor-win32.c (create_alpha_bitmap)
(create_color_bitmap): Always create square bitmaps, take only
side length as argument.
(pixbuf_to_hbitmaps_alpha_winxp, pixbuf_to_hbitmaps_normal):
Corresponding changes.

18 years agoMore accidental commits
Matthias Clasen [Thu, 6 Apr 2006 03:29:48 +0000 (03:29 +0000)]
More accidental commits

18 years agoRevert accidental changes
Matthias Clasen [Thu, 6 Apr 2006 03:12:04 +0000 (03:12 +0000)]
Revert accidental changes

18 years agoLower the window, to prevent late-constructed text windows from covering
Matthias Clasen [Thu, 6 Apr 2006 02:48:40 +0000 (02:48 +0000)]
Lower the window, to prevent late-constructed text windows from covering

2006-04-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (text_window_realize): Lower the window, to
prevent late-constructed text windows from covering child
widgets.  (#336796, Yevgen Muntyan)

18 years agoOne more optimization
Matthias Clasen [Thu, 6 Apr 2006 02:18:57 +0000 (02:18 +0000)]
One more optimization

18 years agoRework the code which emits ::grab-notify signals to ensure that we emit
Matthias Clasen [Thu, 6 Apr 2006 01:58:38 +0000 (01:58 +0000)]
Rework the code which emits ::grab-notify signals to ensure that we emit

2006-04-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c (gtk_grab_add, gtk_grab_remove, gtk_grab_notify)
(gtk_grab_notify_foreach): Rework the code which emits ::grab-notify
signals to ensure that we emit enough signals. Also optimize the
code to not do unnecessary tree walking.

* gtk/gtkwidget.c (gtk_widget_class_init): Document ::grab-notify.

18 years agohandle the case of \r and \n split across lines. Bug #337022. add unit
Paolo Borelli [Wed, 5 Apr 2006 18:30:46 +0000 (18:30 +0000)]
handle the case of \r and \n split across lines. Bug #337022. add unit

2006-04-05  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtktextiter.c (gtk_text_iter_ends_line): handle the case of \r
and \n split across lines. Bug #337022.
* tests/testtextbuffer.c: add unit test.

18 years agoAdd "_private" to make it build.
Søren Sandmann [Tue, 4 Apr 2006 17:51:15 +0000 (17:51 +0000)]
Add "_private" to make it build.

Tue Apr  4 12:25:36 2006  Søren Sandmann  <sandmann@redhat.com>

        * gdk/x11/gdkimage-x11.c (gdk_image_class_init): Add "_private" to
        make it build.

18 years agoUse G_DEFINE_TYPE.
Matthias Clasen [Tue, 4 Apr 2006 14:02:03 +0000 (14:02 +0000)]
Use G_DEFINE_TYPE.

2006-04-04  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkdisplay.c:
* gdk/gdkdisplaymanager.c:
* gdk/gdkdraw.c:
* gdk/gdkkeys.c:
* gdk/gdkpixmap.c:
* gdk/gdkscreen.c:
* gdk/gdkwindow.c:
* gdk/x11/gdkcolor-x11.c:
* gdk/x11/gdkdisplay-x11.c:
* gdk/x11/gdkdnd-x11.c:
* gdk/x11/gdkdrawable-x11.c:
* gdk/x11/gdkgc-x11.c:
* gdk/x11/gdkimage-x11.c:
* gdk/x11/gdkinput.c:
* gdk/x11/gdkpixmap-x11.c:
* gdk/x11/gdkscreen-x11.c:
* gdk/x11/gdkwindow-x11.c: Use G_DEFINE_TYPE.

* gdk/x11/gdkcolor-x11.c:
* gdk/x11/gdkdnd-x11.c:
* gdk/x11/gdkimage-x11.c: Use instance private data.

18 years agoUse G_DEFINE_TYPE
Matthias Clasen [Tue, 4 Apr 2006 13:35:59 +0000 (13:35 +0000)]
Use G_DEFINE_TYPE