]> Pileus Git - ~andy/gtk/log
~andy/gtk
24 years agohandle "(nil)" foundries, patch from Grigorios Magklis.
Tim Janik [Fri, 19 May 2000 05:50:46 +0000 (05:50 +0000)]
handle "(nil)" foundries, patch from Grigorios Magklis.

Fri May 19 06:49:23 2000  Tim Janik  <timj@gtk.org>

        * gtk/gtkfontsel.c (gtk_font_selection_get_font_name): handle
        "(nil)" foundries, patch from Grigorios Magklis.

        * gtk/gtkfontsel.c (gtk_font_selection_load_font): don't crash
        on non-available fonts, based on a patch by Grigorios Magklis
        <maglis@cs.rochester.edu>.

24 years agoIf a region does not have any rectangles, or if the specified rectangle is
Elliot Lee [Thu, 18 May 2000 22:44:19 +0000 (22:44 +0000)]
If a region does not have any rectangles, or if the specified rectangle is

If a region does not have any rectangles, or if the specified rectangle is
not in the region, then return GDK_OVERLAP_RECTANGLE_OUT instead of
GDK_OVERLAP_RECTANGLE_IN.

24 years agoMinor finnish update
Ville Hautamaki [Thu, 18 May 2000 10:57:40 +0000 (10:57 +0000)]
Minor finnish update

Ville

24 years agoRemember to save the file before committing.
Jonathan Blandford [Wed, 17 May 2000 16:11:29 +0000 (16:11 +0000)]
Remember to save the file before committing.

24 years agoRemove references to OFFSCREEN, as it is no longer necessary.
Jonathan Blandford [Wed, 17 May 2000 16:10:43 +0000 (16:10 +0000)]
Remove references to OFFSCREEN, as it is no longer necessary.

2000-05-17  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtklayout.c (gtk_layout_map): Remove references to
OFFSCREEN, as it is no longer necessary.

24 years agoPatch from David Santiago <mrcooger@cyberverse.com> to change things so
Owen Taylor [Wed, 17 May 2000 14:56:11 +0000 (14:56 +0000)]
Patch from David Santiago <mrcooger@cyberverse.com> to change things so

Wed May 17 10:52:12 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcolorsel.c: Patch from David Santiago
<mrcooger@cyberverse.com> to change things so that the
indicator of the active palette entry is done independently,
not via the focus, since it should always be visible.

24 years agoPlug same refcount leaks as in the X11 backend.
Tor Lillqvist [Tue, 16 May 2000 21:27:10 +0000 (21:27 +0000)]
Plug same refcount leaks as in the X11 backend.

2000-05-17  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Plug same
refcount leaks as in the X11 backend.

* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Logging
cosmetics.

* gdk/win32/gdkwindow-win32.c: Similar changes as in X11
backend. Add _gdk_windowing_window_destroy().

* gtk/gtkcolorsel.c: Include correct backend-specific header.
Don't use XColor unless on X11. (No GDK_VISUAL_STATIC_COLOR
either, but these probably do exist on nanox?)

* gtk/gtkhsv.c: Use G_PI (fresh from <glib.h>) instead of M_PI
which isn't necessarily defined by <math.h>.

* gtk/gtkobject.c (gtk_object_init): Don't go up the class
ancestry past GtkObject.

* gtk/gtktypeutils.h: Mark GTK_TYPE_IDENTIFIER for export/import
from DLL on Win32.

* gtk/gtk.def: Update corresponding to recent changes.

* gtk/makefile.{cygwin,msc}: Updates.

24 years agoA bit of editing.
Owen Taylor [Mon, 15 May 2000 16:09:53 +0000 (16:09 +0000)]
A bit of editing.

Fri May 12 18:46:51 2000  Owen Taylor  <otaylor@redhat.com>

* docs/Changes-1.4.txt: A bit of editing.

* gdk/gdkwindow.c (_gdk_window_clear_update_area)
* gdk/x11/gdkwindow-x11.c (gdk_window_hide): Add a function
to clear the update area for the window, and clear it
when hiding a window.

* gdk/gdkwindow.c (gdk_window_begin_paint_region): Ignore
if window destroyed.

* gdk/gdkwindow.c (gdk_window_end_paint): Likewise.

* gdk/gdkwindow.c gdk/x11/gdkwindow-x11.c gdk/gdkinternals.h: Move
gdk_window_destroy() to the generic code, since there was a lot of
window-system-independent logic it in. Add a function:

 _gdk_window_destroy()

to the internal API to destroy a window without unreferencing it.
Add a function:

 _gdk_windowing_window_destroy()

That does the windowing-system-dependent part of destroying
the window.

Fri May 12 11:07:41 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/testgtk.c: Fix various memory leaks of pixmaps.

Fri May 12 11:06:10 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c docs/Changes-1.4.txt (gtk_widget_shape_combine_mask):
Make gtk_widget_shape_combine_mask() keep a reference count on
the pixmap since it keeps it around.

Fri May 12 10:53:29 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c (gdk_window_process_updates_internal): Fix refcount
leak.

* gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix refcount
leak with event filters.

Thu May 11 14:29:44 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_dest_set_internal): Remove the
signal handlers with the right data arguments. (Fixes
some warnings when a widget was repeatedly set as a drag
destination.)

* gdk/x11/gdkdnd-x11.c (gdk_window_register_dnd): Set data on the
window so we can avoid avoid setting the DND properties on the
toplevel window repeatedly.

24 years agoTypo.
Tor Lillqvist [Fri, 12 May 2000 23:01:42 +0000 (23:01 +0000)]
Typo.

24 years agoDefine more message types missing from mingw headers.
Tor Lillqvist [Fri, 12 May 2000 22:29:31 +0000 (22:29 +0000)]
Define more message types missing from mingw headers.

2000-05-13  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwin32.h: Define more message types missing from
mingw headers.

* gdk/win32/gdkevents-win32.c (gdk_event_translate): On WM_DESTROY
call gdk_window_destroy_notify(). It was never called. This
probably meant that the GdkWindow was never freed. Thanks Owen for
noticing (!).

* gdk/win32/gdkwindow-win32.c (gdk_window_internal_destroy): Mark
window as destroyed before calling DestroyWindow(). DestroyWindow()
causes a call to the window procedure (gdk_WindowProc), which
calls gdk_event_translate(), which calls
gdk_window_destroy_notify(), which gets confused unless the window
is set as destroyed.

* gdk/win32/gdkcolor-win32.c (gdk_win32_color_to_string): Rename
this function to indicate it's win32 only. Put inside #ifdef
G_ENABLE_DEBUG.

* gdk/win32/gdkevents-win32.c (gdk_win32_message_name): New
debugging function. (gdk_event_translate:) Add a default branch
that uses the above function to print debug messages with all
Windows messages symbolically.

* gdk/win32/gdkprivate-win32.h: Declare it, and
gdk_win32_color_to_string, but only if G_ENABLE_DEBUG.

24 years agodon't include gtk/gtkintl.h in a public header file.
Tim Janik [Fri, 12 May 2000 18:13:38 +0000 (18:13 +0000)]
don't include gtk/gtkintl.h in a public header file.

Fri May 12 20:07:32 2000  Tim Janik  <timj@gtk.org>

        * gtk/gtkcolorseldialog.c: don't include gtk/gtkintl.h in a
        public header file.

24 years agodocumented necessary changes for 1.4 transition.
Tim Janik [Fri, 12 May 2000 15:25:50 +0000 (15:25 +0000)]
documented necessary changes for 1.4 transition.

Fri May 12 17:13:32 2000  Tim Janik  <timj@gtk.org>

* docs/Changes-1.4.txt: documented necessary changes for 1.4 transition.

* gtk/gtktext.c: made the adjustments no-construct args, simply
provide default adjustments.
(gtk_text_destroy): release adjustments.

* gtk/gtkprogressbar.c (gtk_progress_bar_class_init): made the
adjustment argument non-construct.

* gtk/gtkprogress.c (gtk_progress_destroy): release adjustment here,
instead of in finalize.
(gtk_progress_get_text_from_value):
(gtk_progress_get_current_text):
(gtk_progress_set_value):
(gtk_progress_get_percentage_from_value):
(gtk_progress_get_current_percentage):
(gtk_progress_set_percentage):
(gtk_progress_configure): ensure an adjustment is present.

Thu May 11 01:24:08 2000  Tim Janik  <timj@gtk.org>

* gtk/gtkcolorsel.[hc]:
* gtk/gtkcolorseldialog.[hc]:
* gtk/gtkhsv.[hc]: major code cleanups, destroy handlers need to chain
their parent implementation, use bit fields for boolean values, don't
create unused widgets, usage of glib types, braces go on their own
lines, function argument alignment, #include directives etc. etc. etc..

* gtk/Makefile.am (gtk_public_h_sources): install gtkhsv.h.

Wed May 10 23:29:52 2000  Tim Janik  <timj@gtk.org>

* gtk/gtktoolbar.c (gtk_toolbar_destroy): don't unref a NULL tooltips.

* gtk/gtkfilesel.c (gtk_file_selection_destroy): don't free a cmpl_state
of NULL.

* gtk/gtkcombo.c (gtk_combo_item_destroy): don#t keep references
to freed data.
(gtk_combo_destroy): don't keep a pointer to a destroyed window.

* gtk/gtkmenu.c (gtk_menu_init): reset the menu's toplevel pointer
to NULL when the toplevel is getting destroyed.
(gtk_menu_set_tearoff_state): same here for the tearoff_window.
(gtk_menu_destroy):
(gtk_menu_init): store the information of whether we have to
readd the initial child ref_count during destruction in a new
GtkMenu field needs_destruction_ref_count.

* gtk/gtkviewport.c: SHAME! ok this one is tricky, so i note it
here, those reading: learn from my mistake! ;)
in order for set_?adjustment to support a default adjustemnt if
invoked with an adjustment pointer of NULL, the code read (pseudo):
if (v->adjustment) unref (v->adjustment);
if (!adjustment) adjustment = adjustment_new ();
if (v->adjustment != adjustment) v->adjustment = ref (adjustment);
now imagine the first unref to actually free the old adjustment and
adjustment_new() creating a new adjustment from the very same memory
portion. here, the latter comparision will unintendedly fail, and
all hell breaks loose.
(gtk_viewport_set_hadjustment):
(gtk_viewport_set_vadjustment): reset viewport->?adjustment to NULL
after unreferencing it.

* gtk/gtkcontainer.[hc]: removed toplevel registration
functions: gtk_container_register_toplevel(),
gtk_container_unregister_toplevel() and
gtk_container_get_toplevels() which had wrong semantics
anyways: it didn't reference and copy the list.

* gtk/gtkwindow.c: we take over the container toplevel registration
bussiness now. windows are registered across multiple destructions,
untill they are finalized. the initial implicit reference count
users are holding on windows is removed with the first destruction
though.
(gtk_window_init): ref & sink and set has_user_ref_count, got
rid of gtk_container_register_toplevel() call. add window to
toplevel_list.
(gtk_window_destroy): unref the window if has_user_ref_count
is still set, got rid of call to
gtk_container_unregister_toplevel().
(gtk_window_finalize): remove window from toplevel list.
(gtk_window_list_toplevels): new function to return a newly
created list with referenced toplevels.
(gtk_window_read_rcfiles): use gtk_window_list_toplevels().

* gtk/gtkhscale.c (gtk_hscale_class_init): made the GtkRange
adjustment a non-construct arg.
* gtk/gtkvscale.c (gtk_vscale_class_init): likewise.
* gtk/gtkhscrollbar.c (gtk_vscrollbar_class_init): likewise.
* gtk/gtkvscrollbar.c (gtk_vscrollbar_class_init): likewise.

* gtk/gtkrange.c: added some realized checks.
(gtk_range_destroy): get rid of the h/v adjustments in the
destroy handler instead of finalize. remove timer.
(gtk_range_get_adjustment): demand create adjustment.

* gtk/gtkviewport.c: made h/v adjustment non-construct args.
we simply create them on demand now and get rid of them in
the destroy handler.
(gtk_viewport_destroy): get rid of the h/v adjustments in the
destroy handler instead of finalize.
(gtk_viewport_get_hadjustment):
(gtk_viewport_get_vadjustment):
(gtk_viewport_size_allocate): demand create h/v adjustment
if required.

* gtk/gtkwidget.c (gtk_widget_finalize): duplicate part of the
gtk_widget_real_destroy () functionality.
(gtk_widget_real_destroy): reinitialize with a new style, instead
of setting widget->style to NULL.

Fri May  5 13:02:09 2000  Tim Janik  <timj@gtk.org>

* gtk/gtkcalendar.c:
* gtk/gtkbutton.c: ported _get_type() implementation over to
GType, either to preserve memchunks allocation facilities,
or because Gtk+ 1.0 GtkTypeInfo was still being used.

* gtk/gtkobject.[hc]: derive from GObject. ported various functions
over. prepare for ::destroy to be emitted multiple times.
removed reference tracer magic. chain into GObjectClass.shutdown()
to emit ::destroy signal.

* gtk/gtksignal.c: removed assumptions about GTK_TYPE_OBJECT being
fundamental.

* gtk/gtkmain.c: removed gtk_object_post_arg_parsing_init()
cludge.

* gtk/gtksocket.c:
* gtk/gtkplug.c:
* gtk/gtklayout.c:
* gtk/gtklabel.c:
* gtk/gtkargcollector.c:
* gtk/gtkarg.c: various fixups to work with GTK_TYPE_OBJECT
not being a fundamental anymore, and to work with the new
type system (nuked fundamental type varargs clutter).

* gtk/*.c: install finalize handlers in the GObjectClass
part of the class structure.
changed direct GTK_OBJECT()->klass accesses to
GTK_*_GET_CLASS().
changed direct object_class->type accesses to GTK_CLASS_TYPE().

* gtktypeutils.[hc]: use the reserved fundamental ids provided by
GType. made most of the GTK_*() type macros and Gtk* typedefs
simple wrappers around macros and types provided by GType.
most notably, a significant portion of the old API vanished:
GTK_TYPE_MAKE(),
GTK_TYPE_SEQNO(),
GTK_TYPE_FLAT_FIRST, GTK_TYPE_FLAT_LAST,
GTK_TYPE_STRUCTURED_FIRST, GTK_TYPE_STRUCTURED_LAST,
GTK_TYPE_ARGS,
GTK_TYPE_CALLBACK,
GTK_TYPE_C_CALLBACK,
GTK_TYPE_FOREIGN,
GtkTypeQuery,
gtk_type_query(),
gtk_type_set_varargs_type(),
gtk_type_get_varargs_type(),
gtk_type_check_object_cast(),
gtk_type_check_class_cast(),
gtk_type_describe_tree(),
gtk_type_describe_heritage(),
gtk_type_free(),
gtk_type_children_types(),
gtk_type_set_chunk_alloc(),
gtk_type_register_enum(),
gtk_type_register_flags(),
gtk_type_parent_class().
replacements, where available are described in ../docs/Changes-1.4.txt.
implemented compatibility functions for the remaining API.

* configure.in: depend on glib 1.3.1, use gobject module.

24 years agoVarious updates to current status.
Owen Taylor [Thu, 11 May 2000 16:40:30 +0000 (16:40 +0000)]
Various updates to current status.

Thu May 11 12:39:50 2000  Owen Taylor  <otaylor@redhat.com>

* TODO.xml: Various updates to current status.

24 years agoPrint out version when test succeeds.
Owen Taylor [Thu, 11 May 2000 00:25:20 +0000 (00:25 +0000)]
Print out version when test succeeds.

Wed May 10 20:25:04 2000  Owen Taylor  <otaylor@redhat.com>

* gtk.m4: Print out version when test succeeds.

24 years agoColor selection dialog rewrite.
Owen Taylor [Wed, 10 May 2000 21:39:03 +0000 (21:39 +0000)]
Color selection dialog rewrite.

Wed May 10 16:38:17 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/Makefile.am docs/Changes-1.4.txt gtk/gtkcolorsel.[ch]
gtk/gtkhsv.[ch]: Color selection dialog rewrite.

(Original triangle color selector from Simon Budig
<Simon.Budig@unix-ag.org>, Cleaned up and rewritten for GTK+ by
from Jonathan, Havoc, and Federico. Merge into GTK+ done by David
Santiago <mrcooger@cyberverse.com>)

* gtk/gtkcolorseldialog.[ch]: Split color selection dialog
out into a separate widget.

* gtk/testgtk.c: Add some checkbuttons for toggling palette
and opacity controls.

Wed May 10 16:08:09 2000  Owen Taylor  <otaylor@redhat.com>

* configure.in (GTK_LIBS_EXTRA): Remove references to gobject that
snuck in prematurely.

24 years agoRemove gobject that snuck in prematurely.
Owen Taylor [Wed, 10 May 2000 20:08:50 +0000 (20:08 +0000)]
Remove gobject that snuck in prematurely.

Wed May 10 16:08:09 2000  Owen Taylor  <otaylor@redhat.com>

        * configure.in (GTK_LIBS_EXTRA): Remove gobject that snuck
        in prematurely.

24 years agoSzabolcs BAN <shooby@gnome.hu>
Szabolcs Ban [Wed, 10 May 2000 11:52:18 +0000 (11:52 +0000)]
Szabolcs BAN <shooby@gnome.hu>

* Corrected header

24 years agoChange all conversion from 16-bit formats to 32-bit formats to re-use
Darin Adler [Tue, 9 May 2000 18:23:29 +0000 (18:23 +0000)]
Change all conversion from 16-bit formats to 32-bit formats to re-use
the high bits of the color values so that white maps to full white.

24 years agofile gtkrc.cp1255 was initially added on branch gtk-1-2.
Pablo Saratxaga [Mon, 8 May 2000 18:49:18 +0000 (18:49 +0000)]
file gtkrc.cp1255 was initially added on branch gtk-1-2.

24 years agoSzabolcs BAN <shooby@gnome.hu>
Szabolcs Ban [Mon, 8 May 2000 13:56:00 +0000 (13:56 +0000)]
Szabolcs BAN <shooby@gnome.hu>

* Updated Hungarian translations.

24 years agoFix typo. I had deleted a ! operator by mistake, which caused
Tor Lillqvist [Sun, 7 May 2000 19:45:27 +0000 (19:45 +0000)]
Fix typo. I had deleted a ! operator by mistake, which caused

2000-05-07  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix typo. I
had deleted a ! operator by mistake, which caused
GDK_SELECTION_CLEAR events never to be generated, which caused
only the first copy to the clipboard from an gtkeditable to
actually cause a copy to the Windows clipboard.

2000-05-06  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdnd-win32.c: Enable shortcut resolution for gcc
compilation, too. Current mingw gcc distributions include the
necessary headers. Also the necessary IIDs are now in mingw
headers/libraries, and own definitions unnecessary.

More hacking on OLE2 DND, still doesn't work though, and thus
ifdeffed out.

* gdk/win32/gdkwindow-win32.c: Remove gdk_window_clear() from
here, too.

24 years agoSat, 6 May 2000 13:31:34 +0200 Paolo Molaro <lupus@linuxcare.com>
Paolo Molaro [Sat, 6 May 2000 11:57:31 +0000 (11:57 +0000)]
Sat, 6 May 2000 13:31:34 +0200 Paolo Molaro <lupus@linuxcare.com>

Sat,  6 May 2000 13:31:34 +0200 Paolo Molaro <lupus@linuxcare.com>

* gdk/nanox/*: nano-X port work in progress.
* gdk/simple.c: simple test for Gdk.
* README.nanox: notes about the port: read this first!
* gtk/gtk{dnd,plug,selection,window}.c: minimal changes to make gtk compile
with nano-X.

24 years agoMove gdk_window_clear() into common code, implement in terms of
Owen Taylor [Fri, 5 May 2000 15:57:48 +0000 (15:57 +0000)]
Move gdk_window_clear() into common code, implement in terms of

Fri May  5 11:18:47 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c gdk/x11/gdkwindow-x11.c (gdk_window_clear): Move
gdk_window_clear() into common code, implement in terms of
gdk_window_clear_area(). (Fixes bug where gdk_window_clear() was
not redirected to the backing rectangle.

Wed Apr 26 01:53:23 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/Makefile.am (EXTRA_DIST): Add OLD_STAMP into
EXTRA_DIST. It does not work well when the file that
everything depends on is not in the tarball.

Tue Apr 25 22:20:41 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c (gdk_window_process_updates_internal): Fix error
with recursion where process_updates() is called from
an expose handler. (GtkTextView is highly broken in
doing this, but it should work, so it is a nice test
case.)

Sun Apr 23 23:39:18 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c (gdk_window_process_updates_internal): Gracefully
handle the case where updates are queued during processing of
updates.

Tue Apr 18 14:16:50 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new): We already assume
window is on gdk_display - use that instead of segfaulting.

24 years agoAdd beginnings of file with detailed information about the structure and
Owen Taylor [Fri, 5 May 2000 11:44:15 +0000 (11:44 +0000)]
Add beginnings of file with detailed information about the structure and

Fri May  5 12:16:32 2000  Owen Taylor  <otaylor@redhat.com>

* gdk-pixbuf/pixops/DETAILS: Add beginnings of file with
detailed information about the structure and algorithms
of pixops so people can fix it instead of breaking it.

CvS: Added Files:

24 years agoNow that Owen explained the algorithm, I think I implemented it right for
Darin Adler [Fri, 5 May 2000 02:50:24 +0000 (02:50 +0000)]
Now that Owen explained the algorithm, I think I implemented it right for

* gdk-pixbuf/pixops/pixops.c: (pixops_composite_nearest),
(composite_pixel), (composite_line):
* gdk-pixbuf/test-gdk-pixbuf.c: (simple_composite_test_one_type):
Now that Owen explained the algorithm, I think I implemented it
right for the cases where the destination pixbuf is not opaque.
The test does seem to confirm it.

24 years agoAdded some tests of composite to highlight problems in the old
Darin Adler [Thu, 4 May 2000 14:53:48 +0000 (14:53 +0000)]
Added some tests of composite to highlight problems in the old

* gdk-pixbuf/.cvsignore:
* gdk-pixbuf/Makefile.am:
* gdk-pixbuf/test-gdk-pixbuf.c (store_pixel), (fill_with_pixel),
(load_pixel), (simple_composite_test_one),
(simple_composite_test_one_type), (simple_composite_test), (main):
Added some tests of composite to highlight problems in the old
implementation. These tests run without any user interaction.
Just do "make check".

* gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest),
(composite_pixel), (composite_line): Fix composite to do a textbook
"A over B" composite. This was clearly the intent, and it was easy
to fix the code to do it. (Note to those that read my earlier tries
at a patch; this version fixes typos that were present in all
my patch attempts. I checked the final version by adding more tests.)

24 years agoUpdated ca.po (changed mantainer)
Pablo Saratxaga [Thu, 4 May 2000 13:06:54 +0000 (13:06 +0000)]
Updated ca.po (changed mantainer)

24 years agosome Make 3.79 $(strip ) versions are broken and require an empty arg,
Tim Janik [Thu, 4 May 2000 00:29:46 +0000 (00:29 +0000)]
some Make 3.79 $(strip ) versions are broken and require an empty arg,

Thu May  4 02:04:46 2000  Tim Janik  <timj@gtk.org>

        * configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
        broken and require an empty arg, give it to them.

Fri Apr 28 19:34:32 2000  Tim Janik  <timj@gtk.org>

        * gtk/gtklabel.h: indentation fixes.

24 years agoMention Jonathan's stack widget and the GtkNotebook implementation issues,
Havoc Pennington [Wed, 3 May 2000 20:09:14 +0000 (20:09 +0000)]
Mention Jonathan's stack widget and the GtkNotebook implementation issues,
and s/gtk-devel-list@redhat.com/gtk-devel-list@gnome.org/g

24 years agoDon't try to draw too narrow or too low arcs, they seem to fail, at least
Tor Lillqvist [Tue, 2 May 2000 21:36:08 +0000 (21:36 +0000)]
Don't try to draw too narrow or too low arcs, they seem to fail, at least

2000-05-02  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_arc): Don't try to
draw too narrow or too low arcs, they seem to fail, at least with
some display drivers.

* gdk/gdk.c (gdk_init_check): Use G_DIR_SEPARATOR.

24 years agoNew file, just a quick hack of the X11 version.
Tor Lillqvist [Mon, 1 May 2000 22:49:16 +0000 (22:49 +0000)]
New file, just a quick hack of the X11 version.

2000-05-02  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkgeometry-win32.c: New file, just a quick hack of
the X11 version.

24 years agoLarge changes to the Win32 backend, partially made necessary by the
Tor Lillqvist [Mon, 1 May 2000 22:06:49 +0000 (22:06 +0000)]
Large changes to the Win32 backend, partially made necessary by the

2000-05-02  Tor Lillqvist  <tml@iki.fi>

Large changes to the Win32 backend, partially made necessary by
the changes to the backend-independent internal
structures. Attempts to implement similar backing store stuff as
on X11. The current (CVS) version of the Win32 backend is *not* as
stable as it was before the no-flicker branch was merged. A
zipfile with that version is available from
http://www.gimp.org/win32/. That should be use by "production"
code until this CVS version is usable. (But note, the Win32
backend has never been claimed to be "production quality".)

* README.win32: Add the above comment about versions.

* gdk/gdkwindow.c: Don't use backing store for now on Win32.

* gdk/gdk.def: Update.

* gdk/gdkfont.h: Declare temporary Win32-only functions. Will
presumably be replaced by some more better mechanism as 1.4 gets
closer to release shape.

* gdk/makefile.{cygwin,msc}: Update.

* gdk/win32/*.c: Correct inclusions of the backend-specific and
internal headers. Change code according to changes in these. Use
gdk_drawable_*, not gdk_window_* where necessary.

* gdk/win32/gdkdnd-win32.c: Use MISC selector for GDK_NOTE, not
our old DND.

* gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text): Don't try
to interpret single characters as UTF-8. Thanks to Hans Breuer.
Use correct function name in warning messages.

* gdk/win32/gdkevents-win32.c: Use correct parameter lists for the
GSourceFuncs gdk_event_prepare and gdk_event_check.
(gdk_event_get_graphics_expose): Do implement, use
PeekMessage. Thanks to Hans Breuer.
(event_mask_string): Debugging function to print an GdkEventMask.
(gdk_pointer_grab): Use it.

* gdk/win32/gdkfont-win32.c: The Unicode subrange that the
(old) book I used claimed was Hangul actually is CJK Unified
Ideographs Extension A. Also, Hangul Syllables were missing.
Improve logging.

* gdk/win32/gdkgc-win32.c: Largish changes.

* gdk/win32/gdkim-win32.c (gdk_set_locale): Use
g_win32_getlocale() from GLib, and not setlocale() to get current
locale name.

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwin32.h: Move stuff from gdkprivate-win32.h to
gdkwin32.h, similarily as in the X11 backend.

* gdk/win32/gdkwindow-win32.c (gdk_propagate_shapes): Bugfix,
assignment was used instead of equals in if test. Thanks to Hans
Breuer.

* gdk/win32/makefile.{cygwin,msc}
* gtk/makefile.{cygwin,msc}: Updates. Better kludge to get the
path to the Win32 headers that works also with the mingw compiler.

* gtk/gtkstyle.c: Include <string.h>.

24 years agoUpdated wa.po
Pablo Saratxaga [Sun, 30 Apr 2000 00:28:19 +0000 (00:28 +0000)]
Updated wa.po

24 years agoAdd this function, replacing the broken gtk_label_get ()
Havoc Pennington [Wed, 26 Apr 2000 22:53:01 +0000 (22:53 +0000)]
Add this function, replacing the broken gtk_label_get ()

2000-04-26  Havoc Pennington  <hp@redhat.com>

* gtk/gtklabel.c (gtk_label_get_text): Add this function,
replacing the broken gtk_label_get ()

24 years agoupdate from Dennis Smit <synap@area101.penguin.nl>
Arjan Scherpenisse [Tue, 25 Apr 2000 08:42:52 +0000 (08:42 +0000)]
update from Dennis Smit <synap@area101.penguin.nl>

2000-04-25  Arjan Scherpenisse  <acscherp@wins.uva.nl>

* nl.po: update from Dennis Smit <synap@area101.penguin.nl>

24 years agoProperly offset y coordinate accordining to render_y0.
05:27:43 2000 Owen Taylor [Mon, 24 Apr 2000 05:28:02 +0000 (05:28 +0000)]
Properly offset y coordinate accordining to render_y0.

2000-04-22 05:27:43 2000  Owen Taylor  <otaylor@redhat.com>

* gdk-pixbuf/pixops/pixops.c (pixops_scale_nearest): Properly
offset y coordinate accordining to render_y0.

* gdk-pixbuf/gdk-pixbuf-scale.c: Properly handle nonzero
dest_x, dest_y.

24 years agoSpanish Faq translation update
Manuel de Vega Barreiro [Sun, 23 Apr 2000 09:19:58 +0000 (09:19 +0000)]
Spanish Faq translation update

24 years agoSpanish translation update
Manuel de Vega Barreiro [Sun, 23 Apr 2000 09:17:36 +0000 (09:17 +0000)]
Spanish translation update

24 years agoupdate from Lee Mallabone <lee0@callnetuk.com>
Damon Chaplin [Sat, 22 Apr 2000 11:29:32 +0000 (11:29 +0000)]
update from Lee Mallabone <lee0@callnetuk.com>

2000-04-22  Damon Chaplin  <damon@helixcode.com>

        * gtk/tmpl/gtkenums.sgml: update from Lee Mallabone
        <lee0@callnetuk.com>

24 years agomoved %{prefix}/bin/* from the main package to the devel package. The only
James Henstridge [Sat, 22 Apr 2000 05:38:53 +0000 (05:38 +0000)]
moved %{prefix}/bin/* from the main package to the devel package. The only

2000-04-22  James Henstridge  <james@daa.com.au>

* gdk-pixbuf.spec.in (%files): moved %{prefix}/bin/* from the main
package to the devel package.  The only file installed in bin is
gdk-pixbuf-config, which belongs in -devel.  This should allow having
multiple versions of the main gdk-pixbuf package installed.

24 years agoUpdated russian translation.
Valek Frob [Tue, 18 Apr 2000 15:29:29 +0000 (15:29 +0000)]
Updated russian translation.

24 years agoAdd .
Karl Eichwalder [Mon, 17 Apr 2000 11:43:25 +0000 (11:43 +0000)]
Add .

* gdk-pixbuf/Makefile.am (INCLUDES): Add .

24 years agoclean up enum format, remove extra comma, this keeps scanner scripts from
Havoc Pennington [Sat, 15 Apr 2000 16:22:52 +0000 (16:22 +0000)]
clean up enum format, remove extra comma, this keeps scanner scripts from

2000-04-15  Havoc Pennington  <hp@pobox.com>

* gdk/gdkdnd.h: clean up enum format, remove extra comma,
this keeps scanner scripts from getting confused.

* gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
data, rather than void

24 years agogtk/gtkclist.c (gtk_clist_motion) If we get a motion event with is_hint
Tor Lillqvist [Sat, 15 Apr 2000 04:34:03 +0000 (04:34 +0000)]
gtk/gtkclist.c (gtk_clist_motion) If we get a motion event with is_hint

2000-04-15  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkclist.c (gtk_clist_motion)
* gtk/gtklist.c (gtk_list_motion_notify): If we get a motion event
with is_hint FALSE, get x and y from the event. They used to be
used uninitialised. The Win32 backend never sends motion events
marked as hints. This for instance fixes the annoying file and
font selector behaviour in the Win32 version.

24 years ago$(LIBART_CFLAGS) replaced by $(GTK_CFLAGS) - now gdk-pixbuf compiles
Tomasz K³opczko [Fri, 14 Apr 2000 07:04:29 +0000 (07:04 +0000)]
$(LIBART_CFLAGS) replaced by $(GTK_CFLAGS) - now gdk-pixbuf compiles

2000-04-14 Tomasz K³opczko <kloczek@pld.org.pl>

* gdk-pixbuf/pixops/makefile.am: $(LIBART_CFLAGS) replaced by
$(GTK_CFLAGS) - now gdk-pixbuf compiles correctly.

24 years agoExport the gtk_private_signals and gtk_private_n_signals variables, they
Tor Lillqvist [Thu, 13 Apr 2000 21:29:11 +0000 (21:29 +0000)]
Export the gtk_private_signals and gtk_private_n_signals variables, they

2000-04-14  Tor Lillqvist  <tml@iki.fi>

* gtk/gtksignal.c: (Win32:) Export the gtk_private_signals and
gtk_private_n_signals variables, they are used by some software,
sigh.

* gtk/gtkrc.c (get_gtk_sysconf_directory): (Win32:) Fetch the
installation directory from the Registry, where the installer
should have put it.

24 years agowhen performing the configure check to see if gmodule works, set CFLAGS to
James Henstridge [Thu, 13 Apr 2000 08:33:36 +0000 (08:33 +0000)]
when performing the configure check to see if gmodule works, set CFLAGS to

2000-04-13  James Henstridge  <james@daa.com.au>

* configure.in: when performing the configure check to see if
gmodule works, set CFLAGS to GLIB_CFLAGS and LIBS to GLIB_LIBS,
rather than the other way round.  Also, call AC_MSG_RESULT in the
even that dynamic modules were not supported.

24 years agoYour eyes are bloodshot.
Federico Mena Quintero [Thu, 13 Apr 2000 01:18:41 +0000 (01:18 +0000)]
Your eyes are bloodshot.

Your eyes are bloodshot.

Your mouth starts to foam.

Your hands are shaking.

You know your need your fix.

NEED MORE ABSTRACTION!

2000-04-12  Federico Mena Quintero  <federico@helixcode.com>

This comes from an excellent idea by Tim Janik (timj@gtk.org) to
hook to the last unref operation.

* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_set_last_unref_handler): New
function to set the last unref handler for a pixbuf.
(gdk_pixbuf_finalize): New function to actually finalize a pixbuf.
It calls the pixbuf's destroy notification function and frees the
GdkPixbuf structure itself.
(gdk_pixbuf_unref): Use the last unref function of the pixbuf if
available.

* gdk-pixbuf/gdk-pixbuf-private.h (struct _GdkPixbuf): New fields
for the last unref handler and its user data.

* gdk-pixbuf/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Use
g_new0() to allocate the pixbuf.

* gdk-pixbuf/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init):
Fixed the call to gtk_signal_new() for the "frame_done" signal; it
was not specifying the `frame' argument.

* gdk-pixbuf/gdk-pixbuf-animation.c
(gdk_pixbuf_animation_get_width): Fixed docstring.
(gdk_pixbuf_animation_get_height): Likewise.
(gdk_pixbuf_animation_get_num_frames): Likewise.
(gdk_pixbuf_animation_get_frames): Likewise.

* doc/gdk-pixbuf-sections.txt: Updated with the new functions and
types.

* doc/tmpl/gdk-pixbuf.sgml: Added the description for GdkColorspace.

* doc/tmpl/scaling.sgml: Added the description for GdkInterpType.

* doc/tmpl/refcounting.sgml: Updated with the information about
the last unref handler.

* doc/tmpl/*.sgml: Markup tweaks.

* gdk-pixbuf/Makefile.am (libgnomecanvaspixbuf_la_LDFLAGS): Sigh,
update the libtool version number for libgnomecanvaspixbuf as
well.
(libpixbufloader_*_la_LDFLAGS): The loaders need to be versioned
as well, or the old ones won't work with the new stuff.  Also,
renamed the modules as follows.

* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_load_module): Now the
modules are called "libpixbufloader-<format>.so" instead of
"libpixbuf-<format>.so".  They needed renaming so that the new
loaders won't overwrite the old ones; even with the versioning
stuff, the new .so symlink to the .so.1.0.0 would overwrite the
old real .so file.

24 years agoshut up cvs.
Paolo Molaro [Wed, 12 Apr 2000 07:13:20 +0000 (07:13 +0000)]
shut up cvs.

2000-04-12  Paolo Molaro <lupus@debian.org>

* .cvsignore, src/.cvsignore: shut up cvs.

24 years agoPauli Virtanen updated fi.po.
Ville Hautamaki [Tue, 11 Apr 2000 09:08:13 +0000 (09:08 +0000)]
Pauli Virtanen updated fi.po.

24 years agoMost of this patch is based on a patch by Havoc Pennington (hp@redhat.com)
Federico Mena Quintero [Tue, 11 Apr 2000 07:03:25 +0000 (07:03 +0000)]
Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com)

2000-04-11  Federico Mena Quintero  <federico@helixcode.com>

Most of this patch is based on a patch by Havoc Pennington
(hp@redhat.com) to make GdkPixbuf's structures opaque and to
remove the libart dependency.

* gdk-pixbuf/gdk-pixbuf.h: Removed the public structures.
(GdkColorspace): New enum that for now only contains
GDK_COLORSPACE_RGB.
(GdkPixbufDestroyNotify): New type for the pixbuf's pixels destroy
notification function.
(GdkInterpType): New num with interpolation types.

* *.[ch]: Replace the libart stuff with our own stuff.

* pixops/*.[ch]: Likewise.

* gdk-pixbuf/gdk-pixbuf-private.h: New file with the private
declarations of the GdkPixbuf structures.

* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_new_from_art_pixbuf):
Removed function.
(gdk_pixbuf_get_format): Constify.
(gdk_pixbuf_get_n_channels): Constify.
(gdk_pixbuf_get_has_alpha): Constify.
(gdk_pixbuf_get_bits_per_sample): Constify.
(gdk_pixbuf_get_pixels): Constify.
(gdk_pixbuf_get_width): Constify.
(gdk_pixbuf_get_height): Constify.
(gdk_pixbuf_get_rowstride): Constify.

* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_copy): New function to copy
a pixbuf.

* gdk-pixbuf/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Added a
bits_per_sample argument; currently only 8 bits per sample are
supported.

* gdk-pixbuf/gdk-pixbuf-animation.c (gdk_pixbuf_frame_get_pixbuf):
New accessor.
(gdk_pixbuf_frame_get_x_offset): New accessor.
(gdk_pixbuf_frame_get_y_offset): New accessor.
(gdk_pixbuf_frame_get_delay_time): New accessor.
(gdk_pixbuf_frame_get_action): New accessor.

* gdk-pixbuf/gdk-pixbuf-render.c
(gdk_pixbuf_render_pixmap_and_mask): Instead of returning a solid
mask rectangle for pixbufs without an alpha channel, set the
*mask_return to NULL.

* gdk-pixbuf/gdk-pixbuf-util.c (gdk_pixbuf_add_alpha): Constify.

* gdk-pixbuf/gdk-pixbuf-scale.c: Fix includes.

* gdk-pixbuf/gdk-pixbuf-scale.c (gdk_pixbuf_scale): Added some
preconditions.  Maybe we should also check for the colorspace,
bits per pixel, and such.
(gdk_pixbuf_composite): Likewise.
(gdk_pixbuf_composite_color): Likewise.
(gdk_pixbuf_scale_simple): Likewise, and fail gracefully if we
cannot allocate the new pixbuf.
(gdk_pixbuf_composite_color_simple): Likewise.

* gdk-pixbuf/gnome-canvas-pixbuf.c (gnome_canvas_pixbuf_render):
Use art_rgb_rgba_affine() or art_rgb_affine() since we no longer
have an ArtPixBuf.

* gdk-pixbuf/io-bmp.c: Fix includes.

* gdk-pixbuf/pixops/pixops.c (pixops_scale_nearest): Fixed cast in
an lvalue.

* TODO: Populated.

* configure.in: Removed checks for libart.

* gdk-pixbuf/Makefile.am: Removed references to libart.
(noinst_HEADERS): Added gdk-pixbuf-private.h.

* gdk-pixbuf/Makefile.am (libgdk_pixbuf_la_LDFLAGS): Incremented
the version number of the libtool library to indicate that this
definitely is not compatible with the old usage.  I know you love
me.  I know you do.

* configure.in: Bumped version number to 0.7.0.

* README: Updated.

* gdk-pixbuf-config.in (--libs): We no longer require libart.

* DEPENDS.libgdk_pixbuf: We no longer depend on libart.

* gdk-pixbuf.spec.in: Updated, but I don't guarantee anything.

24 years agoUpdated the Turkish translation
Fatih Demir [Mon, 10 Apr 2000 15:05:37 +0000 (15:05 +0000)]
Updated the Turkish translation

24 years agoupdate from Torsten Landschoff <t.landschoff@gmx.net>
Damon Chaplin [Sun, 9 Apr 2000 20:23:49 +0000 (20:23 +0000)]
update from Torsten Landschoff <t.landschoff@gmx.net>

2000-04-09  Damon Chaplin  <damon@helixcode.com>

        * gtk/tmpl/gtkmain.sgml: update from Torsten Landschoff
        <t.landschoff@gmx.net>

        * gdk/tmpl/input_methods.sgml:
        * gdk/tmpl/general.sgml: fixed typos.

24 years agoFix problem with installation directory for gdkx.h
Owen Taylor [Fri, 7 Apr 2000 21:36:13 +0000 (21:36 +0000)]
Fix problem with installation directory for gdkx.h

Fri Apr  7 17:19:27 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/Makefile.am: Fix problem with installation directory for
gdkx.h

* gtk/gtkmenuitem.c gtk/gtkmenushell.c: Patch from David Santiago
<mrcooger@cyberverse.com> so that when selecting menus with the
mouse, the first item will not be selected, but when selecting
with an accelerator, or navigating left-right on a menubar with
the menus popped up, the first item will be selected.

24 years agoadd more info to the testanimation frames.
Jonathan Blandford [Thu, 6 Apr 2000 20:28:20 +0000 (20:28 +0000)]
add more info to the testanimation frames.

2000-04-06  Jonathan Blandford  <jrb@redhat.com>

* gdk-pixbuf/testanimation.c (main): add more info to the
testanimation frames.

24 years agoAdded Romanian translation.
Dan Damian [Wed, 5 Apr 2000 16:45:09 +0000 (16:45 +0000)]
Added Romanian translation.

24 years agoFix screwy indentation.
Owen Taylor [Wed, 5 Apr 2000 04:11:10 +0000 (04:11 +0000)]
Fix screwy indentation.

Wed Apr  5 00:08:36 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): Fix screwy
indentation.

* Makefile.am (EXTRA_DIST): Fix typo.

* gdk[/x11]/Makefile.am (INCLUDES): Add $(top_builddir)/gdk
to catch gdkconfig.h

* gtk/gtkitemfactory.c: Added FIXME.

24 years agoOoops, forgot header file.
Ettore Perazzoli [Tue, 4 Apr 2000 05:17:49 +0000 (05:17 +0000)]
Ooops, forgot header file.

24 years agoAdded GdkPixbufAnimation accessor functions, so that we don't have to
Ettore Perazzoli [Tue, 4 Apr 2000 04:50:39 +0000 (04:50 +0000)]
Added GdkPixbufAnimation accessor functions, so that we don't have to
access the struct members directly.

24 years agosame as below
Radek Doulik [Mon, 3 Apr 2000 08:59:43 +0000 (08:59 +0000)]
same as below

2000-03-29  Radek Doulik  <rodo@helixcode.com>

* gdk-pixbuf/gdk-pixbuf-animation.c
(gdk_pixbuf_animation_new_from_file): same as below

* gdk-pixbuf/io-gif.c (gif_get_lzw): added update of width and
height in GdkPixbufAnimation

2000-03-28  Radek Doulik  <rodo@helixcode.com>

* gdk-pixbuf/io-gif.c (gif_get_lzw): test also for
context->frame_done_func and context->anim_done_func to make
progressive animation loading work

* gdk-pixbuf/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done):
added priv->pixbuf = NULL as pixbuf is now in frame (and to make
gdk_pixbuf_loader_prepare happy)
(gdk_pixbuf_loader_frame_done): update animation bbox

* gdk-pixbuf/gdk-pixbuf.h: added bbox size (width, height) to
_GdkPixbufAnimation

2000-03-27  Radek Doulik  <rodo@helixcode.com>

* gdk-pixbuf/io-gif.c (gif_get_lzw): use frame_len and frame_width
instead of width and height

24 years agoReverted Mark's change. The refcount is private information, and the
Federico Mena Quintero [Sun, 2 Apr 2000 18:54:17 +0000 (18:54 +0000)]
Reverted Mark's change. The refcount is private information, and the

2000-04-01  Federico Mena Quintero  <federico@helixcode.com>

* gdk-pixbuf/gdk-pixbuf.c: Reverted Mark's change.  The refcount
is private information, and the art_pixbuf will go away soon.

24 years agoAdded 2 more convience functions.
Mark Crichton [Sat, 1 Apr 2000 03:28:31 +0000 (03:28 +0000)]
Added 2 more convience functions.

Added 2 more convience functions.

gdk_pixbuf_get_refcount for the current refcount of the pixbuf (per someone
at Eazel's request)

gdk_pixbuf_get_artpixbuf: returns the artpixbuf of the pixbuf.  Is this
a good idea?  I'm using it to help make->panel->do->the->right->thing.

24 years agooops. s/return_if_fail/return_val_if_fail/g and add a return value.
Jonathan Blandford [Thu, 30 Mar 2000 16:52:29 +0000 (16:52 +0000)]
oops. s/return_if_fail/return_val_if_fail/g and add a return value.

2000-03-30  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkpaned.c (gtk_paned_get_position): oops.
s/return_if_fail/return_val_if_fail/g and add a return value.

24 years agoupdate to reflect stuff I already did
Havoc Pennington [Thu, 30 Mar 2000 01:52:50 +0000 (01:52 +0000)]
update to reflect stuff I already did

24 years agofile gtkiconset.c was initially added on branch havoc-patches.
Havoc Pennington [Wed, 29 Mar 2000 20:49:52 +0000 (20:49 +0000)]
file gtkiconset.c was initially added on branch havoc-patches.

24 years agofile gtkiconset.h was initially added on branch havoc-patches.
Havoc Pennington [Wed, 29 Mar 2000 20:49:52 +0000 (20:49 +0000)]
file gtkiconset.h was initially added on branch havoc-patches.

24 years agoReturn gboolean instead of int.
Federico Mena Quintero [Wed, 29 Mar 2000 19:54:29 +0000 (19:54 +0000)]
Return gboolean instead of int.

2000-03-29  Federico Mena Quintero  <federico@helixcode.com>

* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_get_has_alpha): Return
gboolean instead of int.

24 years agoAdd font selector, color selector
Havoc Pennington [Tue, 28 Mar 2000 19:51:08 +0000 (19:51 +0000)]
Add font selector, color selector

24 years agoAdd stuff from Ettore
Havoc Pennington [Tue, 28 Mar 2000 17:18:15 +0000 (17:18 +0000)]
Add stuff from Ettore

24 years agoFix problem with precendence of >> and & which was keeping composite_color
Owen Taylor [Tue, 28 Mar 2000 04:49:42 +0000 (04:49 +0000)]
Fix problem with precendence of >> and & which was keeping composite_color

2000-03-27  Owen Taylor  <otaylor@redhat.com>

* gdk-pixbuf/pixops/pixops.c: Fix problem with
precendence of >> and & which was keeping composite_color
from working with non-gray images.

24 years agoFix up merge slipup.
Owen Taylor [Tue, 28 Mar 2000 01:58:05 +0000 (01:58 +0000)]
Fix up merge slipup.

Mon Mar 27 20:56:14 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_queue_clear_area): Fix up
merge slipup.

* gdk/gdkinput.h: Fix missing line from merge.

24 years agoInclude gdkinternals.h instead of gdkprivate.h.
Owen Taylor [Tue, 28 Mar 2000 01:40:57 +0000 (01:40 +0000)]
Include gdkinternals.h instead of gdkprivate.h.

Mon Mar 27 20:39:49 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkcolor.c cursor.c gdkdraw.c gdkfont.c: Include gdkinternals.h
instead of gdkprivate.h.

24 years ago*** empty log message ***
Owen Taylor [Tue, 28 Mar 2000 01:31:13 +0000 (01:31 +0000)]
*** empty log message ***

24 years agoMerge no-flicker branch into HEAD
Owen Taylor [Tue, 28 Mar 2000 01:24:44 +0000 (01:24 +0000)]
Merge no-flicker branch into HEAD

24 years agoAdd making GdkRGB render to any visual
Havoc Pennington [Mon, 27 Mar 2000 23:49:23 +0000 (23:49 +0000)]
Add making GdkRGB render to any visual

24 years agoAdd MDI thing and icon list
Havoc Pennington [Mon, 27 Mar 2000 23:40:04 +0000 (23:40 +0000)]
Add MDI thing and icon list

24 years agofix sections
Havoc Pennington [Mon, 27 Mar 2000 23:24:17 +0000 (23:24 +0000)]
fix sections

24 years agoUpdate TODO file with a bunch of stuff (filtered via Owen)
Havoc Pennington [Mon, 27 Mar 2000 23:20:40 +0000 (23:20 +0000)]
Update TODO file with a bunch of stuff (filtered via Owen)

24 years agoadd getter.
Jonathan Blandford [Thu, 23 Mar 2000 22:33:38 +0000 (22:33 +0000)]
add getter.

2000-03-23  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkpaned.c (gtk_paned_get_position): add getter.

24 years agoAdd defs file format document (this document isn't 100% finalized, but
Havoc Pennington [Thu, 23 Mar 2000 20:20:19 +0000 (20:20 +0000)]
Add defs file format document (this document isn't 100% finalized, but
putting it here as a sort of "official" location)

24 years agoUpdated Lithuanian file
Pablo Saratxaga [Mon, 20 Mar 2000 17:47:01 +0000 (17:47 +0000)]
Updated Lithuanian file

24 years agoRemove the #ifndef USE_DISPATCHMESSAGE sections, we do want to use
Tor Lillqvist [Thu, 16 Mar 2000 21:58:35 +0000 (21:58 +0000)]
Remove the #ifndef USE_DISPATCHMESSAGE sections, we do want to use

2000-03-17  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c: Remove the #ifndef
USE_DISPATCHMESSAGE sections, we do want to use DispatchMessage.

* gdk/win32/gdkfont-win32.c
* gdk/win32/gdkproperty-win32.c
* gdk/win32/gdkselection-win32.c
* gdk/win32/gdkwindow-win32.c: Add const to some arguments that are
now declared such.

24 years agoremoved stray gutter_size reference, a 1.2 relic
Manish Singh [Wed, 15 Mar 2000 11:03:57 +0000 (11:03 +0000)]
removed stray gutter_size reference, a 1.2 relic

* gtk/gtkvpaned.c: removed stray gutter_size reference, a 1.2 relic

-Yosh

24 years agoBetter description of gdk_rgb_set_min_colors. Stric pointed out that
Raph Levien [Tue, 14 Mar 2000 22:20:20 +0000 (22:20 +0000)]
Better description of gdk_rgb_set_min_colors. Stric pointed out that
the previous documentation suggested using 256 to request a private
colormap, which is currently broken. This was making Mozilla crash.

24 years agoMerges from gtk-1-2
Owen Taylor [Tue, 14 Mar 2000 19:57:25 +0000 (19:57 +0000)]
Merges from gtk-1-2

24 years agoFix typo: Italian uses ISO-8859-1, not -2. Add en_GB.
Tor Lillqvist [Tue, 14 Mar 2000 18:10:15 +0000 (18:10 +0000)]
Fix typo: Italian uses ISO-8859-1, not -2. Add en_GB.

2000-03-14  Tor Lillqvist  <tml@iki.fi>

* makefile.cygwin: Fix typo: Italian uses ISO-8859-1, not -2. Add
en_GB.

24 years agodocument gtk_window_set_policy() (cleared with Owen)
Havoc Pennington [Tue, 14 Mar 2000 17:21:06 +0000 (17:21 +0000)]
document gtk_window_set_policy() (cleared with Owen)

24 years agoUpdated lt.po
Pablo Saratxaga [Mon, 13 Mar 2000 20:57:47 +0000 (20:57 +0000)]
Updated lt.po

24 years agoFAQ Update: - Minor cleanups (Emmanuel, me) - New questions: I need to add
GMT 2000 Tony Gale [Thu, 9 Mar 2000 22:17:20 +0000 (22:17 +0000)]
FAQ Update: - Minor cleanups (Emmanuel, me) - New questions: I need to add

Thu Mar  9 22:10:56 GMT 2000  Tony Gale <gale@gtk.org>

        * docs/gtkfaq.sgml: FAQ Update:
          - Minor cleanups (Emmanuel, me)
          - New questions:
                I need to add a new signal to a GTK+ widget. Any idea? (timj)
                How can I retrieve the text from a GtkMenuItem? (timj)
                How do I validate/limit/filter the input to a GtkEntry? (me)
                Memory does not seem to be released when I free the list
                        nodes I've allocated (timj)

24 years agofree the context. (gdk_pixbuf__gif_image_load_animation): free the
Jonathan Blandford [Thu, 9 Mar 2000 00:11:30 +0000 (00:11 +0000)]
free the context. (gdk_pixbuf__gif_image_load_animation): free the

2000-03-08  Jonathan Blandford  <jrb@redhat.com>

* gdk-pixbuf/io-gif.c (gdk_pixbuf__gif_image_load): free the context.
(gdk_pixbuf__gif_image_load_animation): free the context.

24 years agoInternal GDK error reporting changes: (gdk_win32_gdi_failed) New function
Tor Lillqvist [Wed, 8 Mar 2000 06:18:41 +0000 (06:18 +0000)]
Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function

2000-03-07  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkmain-win32.c: Internal GDK error reporting changes:
(gdk_win32_gdi_failed) New function for reporting errors from GDI,
for which it is no use to call GetLastError on Win9x.
(gdk_other_api_failed) New function, for
general error reporting without calling GetLastError.
(gdk_win32_api_failed) OTOH, this function always calls
GetLastError. (gdk_win32_last_error_string) Remove this function,
GLib has the equivalent now.

* gdk/win32/gdkprivate-win32.h: Declare the above, and macros to
call them with function name, file name and line number in the
arguments.

* gdk/win32/*.c: Use the new macros for reporting errors from GDI
functions.

* gtk/gtk.def: Add some missing entry points.

* gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and
gtk_paned_set_gutter_size, which don't exist any longer, as void.

Fixes by Hans Breuer:

* gdk/makefile.msc: Update for debugging.

* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Fake
implementation, just use the PS_DASH, PS_DOT, PS_DASHDOT or
PS_DASHDOTDOT or PS_DASH styles depending on the number of entries
in the dash_list.

* gdk/win32/gdkwin32.h (GDK_FONT_XFONT): New macro, similar as in
the x11 backend.

* gdk/win32/gdkprivate-win32.h (IS_WIN_NT): New macro.

* gtk/testgtk.c: Include config.h, guard inclusion of unistd.h.

24 years agofix to gtk_clist_set_reorderable(). It reorders rows, not columns. From
Damon Chaplin [Tue, 7 Mar 2000 18:03:35 +0000 (18:03 +0000)]
fix to gtk_clist_set_reorderable(). It reorders rows, not columns. From

2000-03-07  Damon Chaplin  <damon@helixcode.com>

        * gtk/tmpl/gtkclist.sgml: fix to gtk_clist_set_reorderable(). It
        reorders rows, not columns. From Guy Harris <gharris@flashcom.net>.

24 years agoMoved into docs/ subdir
Owen Taylor [Mon, 6 Mar 2000 18:47:32 +0000 (18:47 +0000)]
Moved into docs/ subdir

Mon Mar  6 11:44:58 2000  Owen Taylor  <otaylor@redhat.com>

        * docs/gap-geometry.fig: Moved into docs/ subdir

        * Makefile.am configure.in autogen.sh src/Makefile.am:
automakify

* src/pixbuf.h src/pixbuf-render.c src/pixbuf-draw.c
src/pixbuf-main.c: Move sources into subdir and
rename.

24 years agoStart automake-ifying
Owen Taylor [Mon, 6 Mar 2000 16:39:14 +0000 (16:39 +0000)]
Start automake-ifying

24 years agoHandle drawing transparency without a mask correctly.
Owen Taylor [Mon, 6 Mar 2000 16:12:22 +0000 (16:12 +0000)]
Handle drawing transparency without a mask correctly.

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.

24 years agoArjan van de Ven <arjan@fenrus.demon.nl>
Arjan van de Ven [Mon, 6 Mar 2000 08:53:57 +0000 (08:53 +0000)]
Arjan van de Ven <arjan@fenrus.demon.nl>
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

24 years agoStore just pixel value of background colour.
Tor Lillqvist [Fri, 3 Mar 2000 23:21:51 +0000 (23:21 +0000)]
Store just pixel value of background colour.

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.

24 years agoMerged in changes.
Mark Crichton [Fri, 3 Mar 2000 03:57:15 +0000 (03:57 +0000)]
Merged in changes.

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.

24 years agominor fix from Nicolas GEORGE <nicolas.george@ens.fr>.
Damon Chaplin [Tue, 29 Feb 2000 18:43:54 +0000 (18:43 +0000)]
minor fix from Nicolas GEORGE <nicolas.george@ens.fr>.

2000-02-29  Damon Chaplin  <damon@helixcode.com>

        * gtk/tmpl/gtkmenuitem.sgml: minor fix from Nicolas GEORGE
        <nicolas.george@ens.fr>.

24 years agos/unsigned long/guint32/g, s/unsigned short/guint16/g, s/unsigned
Matt Wilson [Tue, 29 Feb 2000 18:27:44 +0000 (18:27 +0000)]
s/unsigned long/guint32/g, s/unsigned short/guint16/g, s/unsigned

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