]> Pileus Git - ~andy/gtk/log
~andy/gtk
24 years agoComments.
Tor Lillqvist [Sun, 31 Oct 1999 20:30:20 +0000 (20:30 +0000)]
Comments.

24 years agoNew file for building the message catalogs on Win32. Generic, used also in
Tor Lillqvist [Sun, 31 Oct 1999 20:28:23 +0000 (20:28 +0000)]
New file for building the message catalogs on Win32. Generic, used also in

1999-10-31  Tor Lillqvist  <tml@iki.fi>

* makefile.cygwin: New file for building the message catalogs on
Win32. Generic, used also in GIMP's po and po-plug-ins
directories. On Win32 we use UTF-8, and we convert the .po files
to UTF-8 in two passes using the useful native2ascii tool from the
JDK.

24 years agonow gif loading works. Time to de-stiticify it and move onto progressive loading
Jonathan Blandford [Sun, 31 Oct 1999 01:13:25 +0000 (01:13 +0000)]
now gif loading works.  Time to de-stiticify it and move onto progressive loading

24 years agoquick hack to restore wotrkingness to regular gifs. Creates a RGBA buffer independen...
Jonathan Blandford [Sat, 30 Oct 1999 23:17:06 +0000 (23:17 +0000)]
quick hack to restore wotrkingness to regular gifs.  Creates a RGBA buffer independent of the gif type. I'll try to get it right later.

24 years ago(ReadImage): lets get the offset right. This will let transparent gifs
0 [Sat, 30 Oct 1999 23:07:18 +0000 (23:07 +0000)]
(ReadImage): lets get the offset right. This will let transparent gifs

1999-10-30    <jrb@redhat.com>

(ReadImage): lets get the offset right.  This will let transparent
gifs work.

Right now, gifs with transparency, both interlaced and non-interlaced,
seem to work perfectly fine.  I haven't tried grayscale gifs yet, and I
seem to be getting offset in my RGB buffer with non-alpha gifs. )-:
This leads to pretty, but incorrect, images.

-Jonathan

24 years agoSome more work. Now it generates a gdk_pixbuf of the right size, at a
0 [Sat, 30 Oct 1999 22:04:27 +0000 (22:04 +0000)]
Some more work. Now it generates a gdk_pixbuf of the right size, at a

1999-10-30    <jrb@redhat.com>

* src/io-gif.c: Some more work.  Now it generates a gdk_pixbuf of
the right size, at a minimum, even if the image is squished and
the wrong color.

24 years agoFirst run at the new gif format. Shouldn't work, unfortunately.
Jonathan Blandford [Sat, 30 Oct 1999 19:28:53 +0000 (19:28 +0000)]
First run at the new gif format.  Shouldn't work, unfortunately.

24 years agoFAQ update
BST 1999 Tony Gale [Sat, 30 Oct 1999 12:02:43 +0000 (12:02 +0000)]
FAQ update

Sat Oct 30 13:17:18 BST 1999 Tony Gale <gale@gtk.org>

        * docs/gtkfaq.sgml: FAQ update

24 years agoFixed small oopsie with grayscale jpeg handling - still not working for progressive
Michael Fulbright [Fri, 29 Oct 1999 23:07:23 +0000 (23:07 +0000)]
Fixed small oopsie with grayscale jpeg handling - still not working for progressive

24 years agoRemoved erroneous comments.
Michael Fulbright [Fri, 29 Oct 1999 22:54:02 +0000 (22:54 +0000)]
Removed erroneous comments.

Dr Mike <drmike@redhat.com>

24 years agoimage_load_increment(): Fixed bug when image width was not a multiple of 4
Michael Fulbright [Fri, 29 Oct 1999 22:43:51 +0000 (22:43 +0000)]
image_load_increment(): Fixed bug when image width was not a multiple of 4

1999-10-29  Michael Fulbright  <drmike@redhat.com>

        * src/io-jpeg.c: image_load_increment(): Fixed bug when
        image width was not a multiple of 4 - always use the
        gdk_pixbuf rowstride to increment pointers!

24 years agoAdded first cut at progressive jpeg loading. Currently does not handle
Michael Fulbright [Fri, 29 Oct 1999 22:37:27 +0000 (22:37 +0000)]
Added first cut at progressive jpeg loading. Currently does not handle

999-10-29  Michael Fulbright  <drmike@redhat.com>

        * src/io-jpeg.c: Added first cut at progressive jpeg loading.
        Currently does not handle either progressive jpeg files (jpeg
        files with multiple scans at different quality settings), but
        I plan on adding this support soon. These are fairly rare in
        my experience, so it shouldn't slow people down too much.
        Grayscale jpegs also don't work but that should be easy to fix.

24 years agoAdded title to windows so you can identify progressive and file windows.
Michael Fulbright [Fri, 29 Oct 1999 22:32:47 +0000 (22:32 +0000)]
Added title to windows so you can identify progressive and file windows.

1999-10-29  Michael Fulbright  <drmike@redhat.com>

* src/testpixbuf.c: Added title to windows so you can identify
progressive and file windows.

24 years agoActually load the image handler when we determine the image type.
Michael Fulbright [Fri, 29 Oct 1999 19:27:51 +0000 (19:27 +0000)]
Actually load the image handler when we determine the image type.

1999-10-29  Michael Fulbright  <drmike@redhat.com>

        * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Actually
        load the image handler when we determine the image type.

        * src/gdk-pixbuf-io.[ch] (gdk_pixbuf_load_module): Changed the
        previously static function load_image_handler () to
        a public function gdk_pixbuf_load_module (). It is needed in
        gdk-pixbuf-loader.c to load image handler modules.  This function
        is different from gdk_pixbuf_get_module (), which only returns
        a reference to the required handler, because it actually loads
        the handler into memory. Both actions should possibly be combined
        in a convenience function since one w/o the other doesn't seem to
        make much sense.

24 years agoNew function to render a portion of a pixbuf to a drawable. Ignores alpha
Federico Mena Quintero [Thu, 28 Oct 1999 23:25:02 +0000 (23:25 +0000)]
New function to render a portion of a pixbuf to a drawable. Ignores alpha

1999-10-28  Federico Mena Quintero  <federico@redhat.com>

* src/gdk-pixbuf-render.c (gdk_pixbuf_render_to_drawable): New
function to render a portion of a pixbuf to a drawable.  Ignores
alpha information and takes in a GC.
(gdk_pixbuf_render_to_drawable_alpha): New function to render a
portion of a pixbuf to a drawable.  It automatically creates a GC
and a clipping mask for alpha pixbufs.

24 years agodon't send a 0 length buffer.
Jonathan Blandford [Thu, 28 Oct 1999 19:30:11 +0000 (19:30 +0000)]
don't send a 0 length buffer.

1999-10-28  Jonathan Blandford  <jrb@redhat.com>

* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): don't send a
0 length buffer.

24 years agoturned convenience macros into convenience
Jonathan Blandford [Thu, 28 Oct 1999 19:00:02 +0000 (19:00 +0000)]
turned convenience macros into convenience

1999-10-28  Jonathan Blandford  <jrb@redhat.com>

* src/gdk-pixbuf.h: turned convenience macros into convenience

24 years ago*src/io-tiff.c (image_begin_load): Finished the incremental loader.
Jonathan Blandford [Thu, 28 Oct 1999 16:40:15 +0000 (16:40 +0000)]
*src/io-tiff.c (image_begin_load): Finished the incremental loader.

1999-10-28  Jonathan Blandford  <jrb@redhat.com>

*src/io-tiff.c (image_begin_load): Finished the incremental loader.

24 years agoSync to desktop - Federico
Arturo Espinosa [Thu, 28 Oct 1999 16:13:49 +0000 (16:13 +0000)]
Sync to desktop - Federico

24 years agostarted work on the tiff non-incremental loader.
Jonathan Blandford [Thu, 28 Oct 1999 14:46:46 +0000 (14:46 +0000)]
started work on the tiff non-incremental loader.

1999-10-28  Jonathan Blandford  <jrb@redhat.com>

* src/io-tiff.c (image_load_increment): started work on the tiff
non-incremental loader.

* src/io-gif.c (image_load_increment): started work on the gif
incremental loader.

* src/gdk-pixbuf-io.h: Changed ModuleType to GdkPixbufModule.

24 years agoSync to laptop - Federico
Arturo Espinosa [Thu, 28 Oct 1999 00:34:59 +0000 (00:34 +0000)]
Sync to laptop - Federico

24 years agoNew function to threshold a pixbuf's alpha channel into a bitmap.
Federico Mena Quintero [Wed, 27 Oct 1999 23:36:44 +0000 (23:36 +0000)]
New function to threshold a pixbuf's alpha channel into a bitmap.

1999-10-27  Federico Mena Quintero  <federico@redhat.com>

* src/gdk-pixbuf-render.c (gdk_pixbuf_render_threshold_alpha): New
function to threshold a pixbuf's alpha channel into a bitmap.

* src/gdk-pixbuf.c (gdk_pixbuf_new): Fixed so that it will
contemplate future extensions to ArtPixBuf's formats.

* src/io-png.c (png_info_callback): Use the new API of gdk_pixbuf_new().

* src/gdk-pixbuf.h (gdk_pixbuf_get_height): Added some convenience
macros to fetch the ArtPixBuf's fields.

24 years agoblank space cleanups
Havoc Pennington [Wed, 27 Oct 1999 20:16:37 +0000 (20:16 +0000)]
blank space cleanups

24 years agoDisplay the progressive load
Havoc Pennington [Wed, 27 Oct 1999 19:42:34 +0000 (19:42 +0000)]
Display the progressive load

1999-10-27  Havoc Pennington  <hp@pobox.com>

* src/testpixbuf.c (main): Display the progressive load

* src/io-png.c (setup_png_transformations): Break transformation
code into separate function
(png_info_callback): Use setup_png_transformations

24 years agoMake it build - Federico
Arturo Espinosa [Wed, 27 Oct 1999 19:15:37 +0000 (19:15 +0000)]
Make it build - Federico

24 years agoCheck properly whether the XPM module has already been loaded
Havoc Pennington [Wed, 27 Oct 1999 18:55:00 +0000 (18:55 +0000)]
Check properly whether the XPM module has already been loaded

1999-10-27  Havoc Pennington  <hp@pobox.com>

* src/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Check
properly whether the XPM module has already been loaded
(gdk_pixbuf_new_from_file): Check properly if loader module
was already loaded (was checking if load symbol was present
in order to decide whether to re-load; should check module !=
NULL, then load != NULL)
(image_handler_load): Check in present working directory,
makes it easier to debug for now
(file_formats): This array initializer was seriously on crack,
was assigning a function pointer to a GModule*

* src/testpixbuf.c (main): Change type of pixbuf_loader to GdkPixbufLoader*

* src/io-png.c: Progressive loading stuff compiles, untested.

24 years agooops
Havoc Pennington [Wed, 27 Oct 1999 18:24:20 +0000 (18:24 +0000)]
oops

24 years agoFix typo that prevented compilation (gdk_pixbuf_loader_destroy): ditto
Havoc Pennington [Wed, 27 Oct 1999 18:24:05 +0000 (18:24 +0000)]
Fix typo that prevented compilation (gdk_pixbuf_loader_destroy): ditto

1999-10-27  Havoc Pennington  <hp@pobox.com>

* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_finalize):
Fix typo that prevented compilation
(gdk_pixbuf_loader_destroy): ditto

24 years agoReturn a GdkPixbufLoader, not a GtkObject.
Federico Mena Quintero [Wed, 27 Oct 1999 17:31:07 +0000 (17:31 +0000)]
Return a GdkPixbufLoader, not a GtkObject.

1999-10-27  Federico Mena Quintero  <federico@redhat.com>

* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_new): Return a
GdkPixbufLoader, not a GtkObject.
(gtk_marshal_NONE__INT_INT_INT_INT): Made static.
(gdk_pixbuf_loader_get_type): Documented.
(gdk_pixbuf_loader_class_init): Initialize the parent class
correctly.
(gdk_pixbuf_loader_destroy): Added sanity checks. Call the parent
class destroy function.
(gdk_pixbuf_loader_new): Documented.
(gdk_pixbuf_loader_finalize): Call the parent class finalize
function.
(gdk_pixbuf_loader_write): Use size_t for count.

24 years agoNew function to create a blank pixbuf.
Havoc Pennington [Wed, 27 Oct 1999 17:28:44 +0000 (17:28 +0000)]
New function to create a blank pixbuf.

1999-10-27  Havoc Pennington  <hp@pobox.com>

* src/gdk-pixbuf.c (gdk_pixbuf_new): New function to create a
blank pixbuf.

* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Check all
three progressive load funcs are non-NULL, rather than checking
begin_load three times. Also, check whether begin_load returns
NULL on failure.

24 years agoFixed logic so we only try to close loader if it wasn't previously closed.
Michael Fulbright [Wed, 27 Oct 1999 17:08:21 +0000 (17:08 +0000)]
Fixed logic so we only try to close loader if it wasn't previously closed.

1999-10-27  Michael Fulbright  <msf@redhat.com>

        * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_destroy): Fixed
        logic so we only try to close loader if it wasn't previously closed.

24 years agochangelog
Michael Fulbright [Wed, 27 Oct 1999 17:08:10 +0000 (17:08 +0000)]
changelog

24 years agoIncremental loader tweaks.
Michael Fulbright [Wed, 27 Oct 1999 16:43:22 +0000 (16:43 +0000)]
Incremental loader tweaks.

Dr Mike <drmike@redhat.com>

24 years agogdk-pixbuf-loader.c: Fixed init function to properly initialize all
Michael Fulbright [Wed, 27 Oct 1999 16:41:44 +0000 (16:41 +0000)]
gdk-pixbuf-loader.c: Fixed init function to properly initialize all
structure members.

testpixbuf.c: Added call to close and destroy pixbuf loader properly.

24 years agoforgot this
Jonathan Blandford [Wed, 27 Oct 1999 15:44:41 +0000 (15:44 +0000)]
forgot this

24 years agoSync to laptop - Federico
Arturo Espinosa [Tue, 26 Oct 1999 23:29:59 +0000 (23:29 +0000)]
Sync to laptop - Federico

24 years agoload the vtable fully.
Jonathan Blandford [Tue, 26 Oct 1999 23:26:16 +0000 (23:26 +0000)]
load the vtable fully.

1999-10-26  Jonathan Blandford  <jrb@redhat.com>

* src/gdk-pixbuf-io.c (image_handler_load): load the vtable fully.

24 years agoFinished initial cut at the object.
Jonathan Blandford [Tue, 26 Oct 1999 23:19:49 +0000 (23:19 +0000)]
Finished initial cut at the object.

1999-10-26  Jonathan Blandford  <jrb@redhat.com>

* src/gdk-pixbuf-loader.c: Finished initial cut at the object.

24 years agofix signals
Havoc Pennington [Tue, 26 Oct 1999 22:04:29 +0000 (22:04 +0000)]
fix signals

1999-10-26  Havoc Pennington  <hp@pobox.com>

* src/gdk-pixbuf-loader.h: fix signals

* src/gdk-pixbuf-io.h: add new vtable fields

24 years agoAdded information about widget paths and pattern matching.
Owen Taylor [Tue, 26 Oct 1999 20:59:31 +0000 (20:59 +0000)]
Added information about widget paths and pattern matching.

Tue Oct 26 16:50:15 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/tmpl/gtkrc.sgml: Added information about widget
paths and pattern matching.

24 years agomore work on the incremental loading
Jonathan Blandford [Tue, 26 Oct 1999 20:43:39 +0000 (20:43 +0000)]
more work on the incremental loading

24 years agoNew Class. Beginning of progrssive loading.
Jonathan Blandford [Tue, 26 Oct 1999 16:26:00 +0000 (16:26 +0000)]
New Class. Beginning of progrssive loading.

1999-10-26  Jonathan Blandford  <jrb@redhat.com>

* src/gdk-pixbuf-loader.h: New Class.  Beginning of progrssive
loading.

24 years agostarted work on the loader
Jonathan Blandford [Tue, 26 Oct 1999 03:42:14 +0000 (03:42 +0000)]
started work on the loader

24 years ago*** empty log message ***
Arturo Espinosa [Tue, 26 Oct 1999 02:19:43 +0000 (02:19 +0000)]
*** empty log message ***

24 years agoSync to laptop - Federico
Arturo Espinosa [Mon, 25 Oct 1999 23:43:04 +0000 (23:43 +0000)]
Sync to laptop - Federico

24 years agoPatch from Uwe Koloska <koloska@Rcs1.urz.tu-dresden.de> to fix a stupid
Federico Mena Quintero [Mon, 25 Oct 1999 19:26:13 +0000 (19:26 +0000)]
Patch from Uwe Koloska <koloska@Rcs1.urz.tu-dresden.de> to fix a stupid

1999-10-25  Federico Mena Quintero  <federico@redhat.com>

* configure.in (CFLAGS): Patch from Uwe Koloska
<koloska@Rcs1.urz.tu-dresden.de> to fix a stupid typo of mine.

24 years agoSync to laptop - Federico
Arturo Espinosa [Sat, 23 Oct 1999 00:06:10 +0000 (00:06 +0000)]
Sync to laptop - Federico

24 years agoClean up stupid increment-inside-array-dereference thing
Havoc Pennington [Fri, 22 Oct 1999 23:26:22 +0000 (23:26 +0000)]
Clean up stupid increment-inside-array-dereference thing

1999-10-22  Havoc Pennington  <hp@pobox.com>

* src/io-xpm.c (mem_buffer): Clean up stupid
increment-inside-array-dereference thing

* src/testpixbuf.c: Add XPM data tests.

* src/io-xpm.c: Make the XPM data buffer const, fix const
correctness throughout the code.

24 years agoExport gdk_pixbuf_new_from_xpm_data()
Havoc Pennington [Fri, 22 Oct 1999 21:06:36 +0000 (21:06 +0000)]
Export gdk_pixbuf_new_from_xpm_data()

1999-10-22  Havoc Pennington  <hp@pobox.com>

* src/gdk-pixbuf.h: Export gdk_pixbuf_new_from_xpm_data()

24 years agoExport this symbol for loading an XPM from memory.
Havoc Pennington [Fri, 22 Oct 1999 21:05:16 +0000 (21:05 +0000)]
Export this symbol for loading an XPM from memory.

1999-10-22  Havoc Pennington  <hp@pobox.com>

* src/io-xpm.c (image_load_xpm_data): Export this symbol for
loading an XPM from memory.

* src/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): New
function, loads pixbuf from xpm data
(image_handler_load): Add g_return_if_fail() to ensure the same
module isn't loaded twice. Add g_module_symbol() to scan for XPM
loader function.

24 years agoComment fixes - Federico
Arturo Espinosa [Fri, 22 Oct 1999 16:19:59 +0000 (16:19 +0000)]
Comment fixes - Federico

24 years agoPatch from Kristian Hogsberg Kristensen <hogsberg@daimi.au.dk> to avoid
Federico Mena Quintero [Fri, 22 Oct 1999 15:18:03 +0000 (15:18 +0000)]
Patch from Kristian Hogsberg Kristensen <hogsberg@daimi.au.dk> to avoid

1999-10-22  Federico Mena Quintero  <federico@redhat.com>

* src/io-png.c (image_load): Patch from Kristian Hogsberg
Kristensen <hogsberg@daimi.au.dk> to avoid allocating extra row
buffers; the rows can be read in directly into the main pixel
buffer.

24 years agoFree path.
Federico Mena Quintero [Thu, 21 Oct 1999 00:37:21 +0000 (00:37 +0000)]
Free path.

1999-10-20  Federico Mena Quintero  <federico@redhat.com>

* src/gdk-pixbuf-io.c (image_handler_load): Free path.

24 years agoAdd more font private data.
Tor Lillqvist [Wed, 20 Oct 1999 22:58:37 +0000 (22:58 +0000)]
Add more font private data.

1999-10-21  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkprivate.h: Add more font private data.

* gdk/win32/gdkfont.c
* gdk/win32/gdkdraw.c: Revamped handling of multi-byte charset
fonts and strings. Now works much better. You still have to
have a correct font selected, though. No fontset emulation yet.

24 years agoBumped version number to 0.3.
Federico Mena Quintero [Wed, 20 Oct 1999 22:15:13 +0000 (22:15 +0000)]
Bumped version number to 0.3.

1999-10-20  Federico Mena Quintero  <federico@redhat.com>

* configure.in: Bumped version number to 0.3.

* src/Makefile.am (lbgdk_pixbuf_la_LDFLAGS): Added a libtool
version number for the library.

24 years agoRemoved the unref_fn field. Now all memory management of the buffer is
Federico Mena Quintero [Wed, 20 Oct 1999 21:20:49 +0000 (21:20 +0000)]
Removed the unref_fn field. Now all memory management of the buffer is

1999-10-20  Federico Mena Quintero  <federico@redhat.com>

* src/gdk-pixbuf.h (GdkPixbuf): Removed the unref_fn field.  Now
all memory management of the buffer is done by libart.

* src/gdk-pixbuf.c (gdk_pixbuf_unref): Do destruction here.
Removed gdk_pixbuf_destroy, gdk_pixbuf_duplicate.

* src/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Implemented in
terms of the libart functions.  Removed the old code.

* src/gdk-pixbuf-io.c (image_handler_load): Removed the save
symbols.  Saving will not be implemented in GdkPixbuf.

* src/io-gif.c: Removed the saving stub.
(image_load): Fixed memory management to fail gracefully if we run
out of memory while loading the image.  Close the gif file when we
are done.  This still needs more error handling for the DGif
functions.

* src/io-jpeg.c (image_load): Some robustness fixes.

* src/io-png.c: Removed the saving stuff.
(image_load): Some memory management fixes.

* src/io-tiff.c (image_load): Ditto.

* src/io-xpm.c (pixbuf_create_from_xpm): Ditto.

24 years agoUse G_OS_WIN32.
Tor Lillqvist [Tue, 19 Oct 1999 21:52:55 +0000 (21:52 +0000)]
Use G_OS_WIN32.

1999-10-19  Tor Lillqvist  <tml@iki.fi>

* gtk/maketypes.awk: Use G_OS_WIN32.

* gtk/gtk.def: Add some missing entry points. Also some non-public
ones, but PyGTK porter claims to need them.

* gtk/makefile.{cygwin,msc}: Drop some unneeded headers from the
built-in type generation.

24 years agoNew name for macros/autogen.sh
Havoc Pennington [Mon, 18 Oct 1999 19:32:25 +0000 (19:32 +0000)]
New name for macros/autogen.sh

1999-10-18  Havoc Pennington  <hp@pobox.com>

* subautogen.sh: New name for macros/autogen.sh

* autogen.sh: use subautogen.sh

24 years agoReindented to use the GNOME Indentation.
Federico Mena Quintero [Mon, 18 Oct 1999 19:29:45 +0000 (19:29 +0000)]
Reindented to use the GNOME Indentation.

1999-10-18  Federico Mena Quintero  <federico@redhat.com>

* src/*: Reindented to use the GNOME Indentation.

24 years agoUse AM_PATH_GLIB instead of glib-config directly
Havoc Pennington [Mon, 18 Oct 1999 19:11:35 +0000 (19:11 +0000)]
Use AM_PATH_GLIB instead of glib-config directly

1999-10-18  Havoc Pennington  <hp@pobox.com>

* configure.in: Use AM_PATH_GLIB instead of glib-config directly

* src/Makefile.am: Re-enable testpixbuf with GTK_CFLAGS/GTK_LIBS

24 years agodidn't get in there or something
Havoc Pennington [Mon, 18 Oct 1999 18:58:36 +0000 (18:58 +0000)]
didn't get in there or something

24 years agoRemove "macros"
Havoc Pennington [Mon, 18 Oct 1999 18:58:15 +0000 (18:58 +0000)]
Remove "macros"

1999-10-18  Havoc Pennington  <hp@pobox.com>

* Makefile.am (SUBDIRS): Remove "macros"

* configure.in: Don't use GNOME_INIT, handle case where we are
inside gnome-libs. AM_PATH_GTK for the GIF test

* src/Makefile.am: Change flags to work without libgnomeui,
comment out testpixbuf for now

24 years agoUse $GTK_LIBS as the extra libs when checking for libgif/libungif, as they
Federico Mena Quintero [Mon, 18 Oct 1999 18:47:17 +0000 (18:47 +0000)]
Use $GTK_LIBS as the extra libs when checking for libgif/libungif, as they

1999-10-18  Federico Mena Quintero  <federico@redhat.com>

* configure.in: Use $GTK_LIBS as the extra libs when checking for
libgif/libungif, as they need the X libraries.  Fixes bug #2472.

24 years agoDon't use TextOutW for GDK_FONT_FONT fonts (which is all we have for now,
Tor Lillqvist [Wed, 13 Oct 1999 21:46:33 +0000 (21:46 +0000)]
Don't use TextOutW for GDK_FONT_FONT fonts (which is all we have for now,

1999-10-14  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdraw.c (gdk_draw_text_wc): Don't use TextOutW for
GDK_FONT_FONT fonts (which is all we have for now, we don't
emulate fontsets). The X11 version uses plain XDrawString in that
case, too. The string passed to gdk_draw_text_wc seems to be in
fact (at least, when used by gtkentry and gtktext) either in a
single-byte charset, or a DBCS. Not Unicode.

This fixes the problem in gtkfontsel, where even if you had
selected a font with a non-Latin1 charset (windows-greek, for
instance), the preview still used Latin-1 glyphs.

* gdk/win32/gdkfont.c (gdk_text_width_wc): Similar change. Don't
use GetTextExtentPoint32W, use GetTextExtentPoint32A.
(gdk_font_load): Recognize the demibold etc weights, even if we
don't have the corresponding constants in the headers.
(gdk_font_hash_insert): Use same hash mechanism as in the X11
version. Should save font resources a bit, when we don't have
multiple HFONTs for the same font.

* gdk/win32/gdkprivate.h: Add the names field as in the X11
version.

24 years ago(since noone objected on gtk-devel)
ÉRDI Gergo [Mon, 11 Oct 1999 20:13:49 +0000 (20:13 +0000)]
(since noone objected on gtk-devel)
Passing 0 to XBell allows GDK to use the default X values which can be
set by the user via the xset command (e.g. to turn it off, or to
modify pitch/length/volume, etc)

24 years agoChanged 'pixbuf' variable to 'art_pixbuf' in the core function.
Cody Russell [Sun, 10 Oct 1999 07:20:37 +0000 (07:20 +0000)]
Changed 'pixbuf' variable to 'art_pixbuf' in the core function.

Core function now determines whether the requested geometry is on screen
or not. If part of it is not then the request is clamped to geometry that
is on the screen.

24 years agoAdded documentation for GtkToolbar changes (horizontal icon/text layout)
ÉRDI Gergo [Sat, 9 Oct 1999 14:47:09 +0000 (14:47 +0000)]
Added documentation for GtkToolbar changes (horizontal icon/text layout)

24 years agoAdded support for loading pixbuf from rgb data in memory. Augmented
Michael Fulbright [Fri, 8 Oct 1999 23:01:05 +0000 (23:01 +0000)]
Added support for loading pixbuf from rgb data in memory. Augmented
test program to demonstrate its use.

Need to add support for an alpha channel next.

Dr Mike <drmike@redhat.com>

24 years agoUpdated Galician .po file
Jesus Bravo Alvarez [Thu, 7 Oct 1999 20:58:57 +0000 (20:58 +0000)]
Updated Galician .po file

24 years agoChanged the functions to return GdkPixBuf* instead of ArtPixBuf*.
Cody Russell [Thu, 7 Oct 1999 18:20:16 +0000 (18:20 +0000)]
Changed the functions to return GdkPixBuf* instead of ArtPixBuf*.

24 years agoI've temporarily disabled compilation of the gdk-pixbuf-drawable module.
Cody Russell [Thu, 7 Oct 1999 18:04:04 +0000 (18:04 +0000)]
I've temporarily disabled compilation of the gdk-pixbuf-drawable module.
Federico pointed out some problems with it. It'll be re-enabled when those
are fixed.

24 years agoAdded #include "gdk-pixbuf-drawable.h" to the top. This fixes remaining
Cody Russell [Thu, 7 Oct 1999 06:22:21 +0000 (06:22 +0000)]
Added #include "gdk-pixbuf-drawable.h" to the top. This fixes remaining
compile error.

24 years agoAdded a missing semicolon to a function declaration so everything compiles
Cody Russell [Thu, 7 Oct 1999 06:17:20 +0000 (06:17 +0000)]
Added a missing semicolon to a function declaration so everything compiles
correctly.

24 years agoAdded gdk-pixbuf-drawable to Makefile.am so it is compiled into
Cody Russell [Thu, 7 Oct 1999 06:16:16 +0000 (06:16 +0000)]
Added gdk-pixbuf-drawable to Makefile.am so it is compiled into
libgdk_pixbuf.

24 years agoAdded files from Cody Russell
Arturo Espinosa [Thu, 7 Oct 1999 05:11:27 +0000 (05:11 +0000)]
Added files from Cody Russell

24 years agos/G_HAVE_CYGWIN/G_WITH_CYGWIN/
Manish Singh [Wed, 6 Oct 1999 19:47:24 +0000 (19:47 +0000)]
s/G_HAVE_CYGWIN/G_WITH_CYGWIN/

-Yosh

24 years agoUpdated.
Stanislav Brabec [Wed, 6 Oct 1999 14:41:19 +0000 (14:41 +0000)]
Updated.

1999-10-06  Stanislav Brabec  <utx@penguin.cz>

        * cs.po: Updated.

24 years agoAdded Galician translation (modifying ChangeLogs)
Jesus Bravo Alvarez [Tue, 5 Oct 1999 21:40:59 +0000 (21:40 +0000)]
Added Galician translation (modifying ChangeLogs)

24 years agoCorresponding changes as in X11 backend.
Tor Lillqvist [Tue, 5 Oct 1999 19:04:48 +0000 (19:04 +0000)]
Corresponding changes as in X11 backend.

1999-10-05  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/*.[ch]: Corresponding changes as in X11 backend.

* gdk/win32/gdkcompat.c: New file, actually provide an
implementation for the deprecated functions. (Just temporarily.)

* gtk/gtkfilesel.c: Fix an #ifdef syntax botch.

* gtk/makefile.{cygwin,msc}: Update gdk_headers.

* gdk/win32/gdk.def gtk/gtk.def: Updates.

24 years agoru.po: Updated translation.
Sergey I. Panov [Tue, 5 Oct 1999 18:43:16 +0000 (18:43 +0000)]
ru.po: Updated translation.

24 years agoAdded Galician (gl) to ALL_LINGUAS
Jesus Bravo Alvarez [Tue, 5 Oct 1999 16:36:54 +0000 (16:36 +0000)]
Added Galician (gl) to ALL_LINGUAS

24 years agoAdded Galician Translation
Jesus Bravo Alvarez [Tue, 5 Oct 1999 16:34:44 +0000 (16:34 +0000)]
Added Galician Translation

24 years agoAdded Ukrainian translation from Yuri Syrota <yuri@renome.rovno.ua>.
Kjartan Maraas [Tue, 5 Oct 1999 09:10:46 +0000 (09:10 +0000)]
Added Ukrainian translation from Yuri Syrota <yuri@renome.rovno.ua>.

1999-10-05  Kjartan Maraas  <kmaraas@online.no>

* uk.po: Added Ukrainian translation from Yuri
Syrota <yuri@renome.rovno.ua>.

24 years agocorrect checking for BeOS check
Manish Singh [Mon, 4 Oct 1999 19:03:05 +0000 (19:03 +0000)]
correct checking for BeOS check

* configure.in: correct checking for BeOS check

* gdk/gdktypes.h
* gtk/fnmatch.c
* gtk/gtkfilesel.c
* gtk/gtkitemfactory.c
* gtk/gtkmain.[ch]
* gtk/gtkrc.c: use G_OS_WIN32 and G_HAVE_CYGWIN #defines

-Yosh

24 years agoadded new gtkrc.* files for new encodings
Pablo Saratxaga [Mon, 4 Oct 1999 14:23:50 +0000 (14:23 +0000)]
added new gtkrc.* files for new encodings

24 years agoStarted compatibility header for renames.
Owen Taylor [Mon, 4 Oct 1999 02:59:52 +0000 (02:59 +0000)]
Started compatibility header for renames.

Sun Oct  3 23:09:06 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkcompat.h: Started compatibility header
        for renames.

24 years agoAdded a .cvsignore
Owen Taylor [Sun, 3 Oct 1999 22:13:50 +0000 (22:13 +0000)]
Added a .cvsignore

24 years agoFix a reference to window_private->destroyed.
Owen Taylor [Sun, 3 Oct 1999 22:12:41 +0000 (22:12 +0000)]
Fix a reference to window_private->destroyed.

Sun Oct  3 18:13:44 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_reset_shapes_recurse):
Fix a reference to window_private->destroyed.

* gtk/gtkplug.c (gtk_plug_realize): Fix up a direct
(ugly) setting of an internal GdkWindow member to use
a _slightly_ cleaner macro.

* gdk/gdkprivate.h: Split GdkWindowPrivate into
GdkDrawablePrivate and GdkWindowPrivate.
Add extra macros for accessing GDK_DRAWABLE_ components.

* *.[ch]: Massive adjustments for the above, use the
new macros in a lot of places.

24 years agoMove files into x11 subdirectory.
Owen Taylor [Sun, 3 Oct 1999 18:17:59 +0000 (18:17 +0000)]
Move files into x11 subdirectory.

Sun Oct  3 14:26:15 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gxid* gdk/x11/gxid*: Move files into x11 subdirectory.

24 years agocreate x-specific subdirectory.
Owen Taylor [Sun, 3 Oct 1999 18:10:43 +0000 (18:10 +0000)]
create x-specific subdirectory.

* configure.in gdk/Makefile.am x11/: create x-specific subdirectory.

* docs/gtk-config.1: Now autogenerated.
* docs/Changes-1.4.txt: started

24 years agoInclude gdk/gdkdrawable.h with gdk/ prefix. (Pointed out by
Owen Taylor [Sun, 3 Oct 1999 18:09:00 +0000 (18:09 +0000)]
Include gdk/gdkdrawable.h with gdk/ prefix. (Pointed out by

Sun Oct  3 14:16:23 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkdrawable.h: Include gdk/gdkdrawable.h with
gdk/ prefix. (Pointed out by chak@is.tsukuba.ac.jp)

* x11/: create x-specific subdirectory.

24 years agoA few includes added for the picky MSVC compiler.
Tor Lillqvist [Sat, 2 Oct 1999 22:53:45 +0000 (22:53 +0000)]
A few includes added for the picky MSVC compiler.

24 years agoChange GDK_WINDOWING_WIN32 usage to #ifdef also here.
Tor Lillqvist [Sat, 2 Oct 1999 22:42:58 +0000 (22:42 +0000)]
Change GDK_WINDOWING_WIN32 usage to #ifdef also here.

1999-10-03  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkimage.h gdk/gdkpixmap.h: Change GDK_WINDOWING_WIN32 usage
to #ifdef also here.

* gdk/win32/*.h gdk/win32/*.c: Make corresponding changes as those
Owen did to the X11 backend.

* gdk/win32/gdkdraw.c (gdk_draw_pixmap): Fix it again, don't use
ScrollWindowEx when blitting inside a window, it can't be correct
in the general case.

* gdk/win32/gdkevents.c: Don't handle WM_SIZING, handling
WM_GETMINMAXINFO is easier.

* gdk/win32/gdkimage.c (gdk_image_new): Create new image with
depth equal to the bitspixel value, not the visual's depth.

* gdk/win32/gdkvisual.c (gdk_visual_init): Set the visual's depth
to 24 even if the bitspixel value is 32.

* gdk/gdkrgb.c (gdk_rgb_select_conv): After the above change, no
need to check for depth==32 when bpp==32, depth will always be 24.

24 years agoThis is an implementation of Idea #13 from
ÉRDI Gergo [Sat, 2 Oct 1999 17:13:09 +0000 (17:13 +0000)]
This is an implementation of Idea #13 from
        http://www.jcinteractive.com/gnome-ui/software/widgets/
basically, layouting the toolbar icon and label horizontally.

24 years agoStarted
Owen Taylor [Fri, 1 Oct 1999 23:18:30 +0000 (23:18 +0000)]
Started

Fri Oct  1 18:03:36 1999  Owen Taylor  <otaylor@redhat.com>

        * docs/Changes-1.4.txt: Started

* gtk/Makefile.am (gdk_headers): Include all the new headers.

        * gdk/*.h gdk/*.c: Split gdk.h into lots of itty-bitty little pieces.

* gdk/gdkprivate.h gdk/gdkcc.c: Moved GdkColorContext private
into C file.

* gdkinput.h gdkinputprivate.h - renamed the internal gdkinput
header to gdkinputprivate.h.

* gdk/gdk.h gdk/gdk.c: Removed gdk_time* functions which have been
unused since before 1.2.

24 years agoOn Win32, expand possible hex escapes in the font family (put there by
Tor Lillqvist [Thu, 30 Sep 1999 16:59:08 +0000 (16:59 +0000)]
On Win32, expand possible hex escapes in the font family (put there by

1999-09-30  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkfontsel.c (gtk_font_selection_get_xlfd_field): On Win32,
expand possible hex escapes in the font family (put there by
logfont_to_xlfd if the font name isn't a legal XLFD font family,
mainly if it contains slashes). (gtk_font_selection_create_xlfd):
On Win32, add hex escapes here, too.

24 years agoChanged from #if GDK_WINDOWING == GDK_WINDOWING_X11 to #ifdef
Owen Taylor [Wed, 29 Sep 1999 23:47:22 +0000 (23:47 +0000)]
Changed from #if GDK_WINDOWING == GDK_WINDOWING_X11 to #ifdef

Wed Sep 29 19:55:35 1999  Owen Taylor  <otaylor@redhat.com>

* */*.[ch]: Changed from #if GDK_WINDOWING == GDK_WINDOWING_X11
to #ifdef GDK_WINDOWING_X11.

24 years agoupdate pt_BR
Jorge Godoy [Wed, 29 Sep 1999 20:54:11 +0000 (20:54 +0000)]
update pt_BR

24 years ago[ Merges from gtk-1-2 ]
Federico Mena Quintero [Tue, 28 Sep 1999 20:19:13 +0000 (20:19 +0000)]
[ Merges from gtk-1-2 ]

Wed Sep  8 07:13:29 1999  Tim Janik  <timj@gtk.org>

* configure.in: fixed "GNU Make" check to pass with new make version
3.77.95.

Fri Sep  3 16:04:41 1999  Tim Janik  <timj@gtk.org>

* gtk-config.in (--version): don't echo @GTK_VERSION@, but
@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@, so the
AM_PATH_GTK() macros don't get confused by the -pre1.

Thu Sep  2 19:02:37 1999  Owen Taylor  <otaylor@redhat.com>

* configure.in (REBUILD): Change check for perl5
  to check explicitely for v >= 5.002. (5.001
  does not work with our scripts.)

Wed Aug 25 15:45:46 1999  Tim Janik  <timj@gtk.org>

* configure.in: evaluate $PERL for the perl version check. added
--disable-rebuilds to give the user an option to completely disable
any source autogeneration rules.

Mon Aug 23 23:16:14 1999  Tim Janik  <timj@gtk.org>

* configure.in: evaluate $ac_make when checking for GNU Make.

Mon Aug 23 19:11:17 1999  Tim Janik  <timj@gtk.org>

* docs/Makefile.am: added generation.txt.

* Makefile.am: require automake 1.4, build README from README.in and
INSTALL from INSTALL.in in dist-hook.

* README.in:
* INSTALL.in: new files to autogenerate README and INSTALL from.

* configure.in: figure whether we have GNU Make

* docs/generation.txt: minor additions/corrections.

Wed Aug 11 13:38:26 BST 1999 Tony Gale  <gale@gtk.org>

* docs/gtkfaq.sgml: FAQ Update

July 30, 1999 Elliot Lee <sopwith@redhat.com>

* configure.in: Fix autoconf warnings about cross compilation by
trying to provide sane defaults for AC_TRY_RUN.

Fri Jul 16 22:20:21 PDT 1999 Manish Singh <yosh@gimp.org>

* ltconfig
* ltmain.sh: upgrade to libtool 1.3.3

Thu Jul  8 11:30:18 1999  Owen Taylor  <otaylor@redhat.com>

* INSTALL: Indicate that the --with-glib= configure
time flag is unsupported.

Mon Jul  5 20:36:03 1999  Owen Taylor  <otaylor@redhat.com>

* docs/generation.txt: Added a file that gives
documenation about the autogeneration process for
various autogenerated files.

Tue Jun 29 15:59:25 1999  Owen Taylor  <otaylor@redhat.com>

* configure.in (LIBS): Look for libgmodule in the
right location.

Thu Jun 17 13:57:31 1999  Owen Taylor  <otaylor@redhat.com>

* docs/gtk_tut.sgml: Removed references to
code examples in my directory on gtk.org as
they should all be in the tutorial now.

* docs/gtk_tut.sgml: Added sources for dial-test
and scribble-xinput programs that were previously
missing.

Fri Jun  4 00:08:59 1999  Owen Taylor  <otaylor@redhat.com>

* TODO: Added entry about menu keyboard navigation, removed
some finished items.

Mon May 31 00:11:24 1999  Owen Taylor  <otaylor@redhat.com>

* acinclude.m4: Standardize on func_dgettext
not func_gettext, so that the checks for dgettext
actually are paid attention to.

Wed May  5 10:47:54 1999  Owen Taylor  <otaylor@redhat.com>

* configure.in (LIBS): Add $INTLLIBS into $LIBS
directly, rather than repeating the checks for
gettext.

* INSTALL: Added information about gettext and
NLS support.

* acinclude.m4 (LIBM): Check for dgettext, not
just gettext. This should hopefully fix things wrt
systems with old versions of GNU gettext installed.

Tue Jun 29 15:59:25 1999  Owen Taylor  <otaylor@redhat.com>

* configure.in (LIBS): Look for libgmodule in the
right location.

Thu Apr  1 16:58:10 PST 1999 Manish Singh <yosh@gimp.org>

* autogen.sh: add --enable-maintainer-mode

* configure.in: set ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"

Wed Mar 24 23:03:49 CST 1999 Shawn T. Amundson <amundson@gtk.org>

* docs/gtk-config.1.in:
  docs/Makefile.am:
  configure.in: gtk-config is now generated.

* docs/gtk-config.1: Removed, now generated.

Thu Sep 23 17:59:59 1999  Tim Janik  <timj@gtk.org>

        * gdk/gdkevents.c (gdk_event_translate): grr, even if Gdk doesn't
        handle CreateNotify itself, still put out a debuging message for
        --gdk-debug=events. made the ReparentNotify debugging message more
        verbose.
        wrap xcoords translation for ConfigureEvents into an error trap,
        a destroy event may already be pending, and in that case, the
        actuall coordinate values are not at all critical.

Sat Sep 18 22:24:15 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkcc.c: Stop leaking the color_hash all over
the place. Simplify and improve the logic.

Fri Sep 17 09:57:15 1999  Tim Janik  <timj@gtk.org>

* gdk/gdk.h, gdk/gdkcolor.c: make return types (gint or gboolean)
for prototypes and function implementations consistent (reported
by Tomas Ogren).

Tue Sep 14 18:23:01 1999  Tim Janik  <timj@gtk.org>

* gdk/gdkevents.c (gdk_event_translate): tell if expose events have
send_event set in debugging output.
(gdk_compress_exposures): default initialize the event so we don't
operate on bogus values (namely send_event).

Thu Sep  2 16:33:59 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c: When we receive an unexpected
destroy notify on one of our windows, don't just
warn about it, also mark our windows as destroyed.

Sun Sep  5 08:10:53 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkfont.c (gdk_font_hash_insert): Add
  name => font and name => fontset hashes. The
  name => fontset hash is a _big_ win since we
  weren't previously caching fontsets at all and loading
  fontsets is expensive. The name => font hash
  is less of a win, but it does save us from doing
  repeated XQueryFont calls on the same font.

* gdk/gdkprivate.h (struct _GdkFontPrivate): Add a names
  list so we can remove font/fontset from hash.

Thu Sep  2 19:02:37 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkproperty.c (gdk_atom_intern): Remove useless
  and slightly confusing test. [ XInternAtom (,,TRUE)
  will never return None ].

Sat Sep  4 08:39:26 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c (gdk_window_set_geometry_hints)
  gdk/gdkwindow.c (gdk_window_set_hints):

Don't omit setting the properties if flags == 0 -
there may be an existing set of properties there
already. (Very old bug. Would it be better to
delete the property instead?)

* gdk/gdkselection.c (gdk_selection_property_get): Fix
  spelling error in comment.

Wed Sep  1 14:05:30 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkimage.c (gdk_image_new): Use gdk_error_trap_push()
  to avoid stomping over gdk_error_warnings.

* gdk/gdkimage.c (gdk_image_new): compute image->bpp
  as (bits_per_pixel + 7) / 8. This gives the same
  result as before for multiples of 8, but actually
  a "reasonable" value for 1bit or 4bit displays.

Mon Aug 23 19:11:17 1999  Tim Janik  <timj@gtk.org>

* gdk/Makefile.am: minor cleanups, strip spaces on build rules for
GNU Make.

Tue Aug 17 07:43:04 1999  Tim Janik  <timj@gtk.org>

* gdk/gdkevents.c (gdk_event_translate): give a debugging note when
discarding configure events.

1999-08-18  Federico Mena Quintero  <federico@redhat.com>

* gdk/gdkpixmap.c (gdk_pixmap_unref): g_return_if_fail() the
refcount is greater than zero.

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

* gdk/gdkfont.c (gdk_font_unref): Likewise.

* gdk/gdkgc.c (gdk_gc_unref): Likewise.

* gdk/gdkdnd.c (gdk_drag_context_unref): Likewise.

Wed Aug 11 01:04:57 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkproperty.c (gdk_property_get): Fix assumption
that format 32 => sizeof(item) == 4. It really is
sizeof(long).

Tue Jun 29 23:02:42 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdk.c (gdk_x_error / gdk_x_io_error): Don't
core dump at all on X IO errors, only core dump
if --enable-debug for X errors.

Thu Jun 24 17:06:23 1999  Tim Janik  <timj@gtk.org>

* gdk/gdkevents.c (gdk_event_translate): removed old ""Got event for
unknown window:" message. disabled ConfigureNotify discarding code,
because it led to events being processed out of order.

Thu Jun 24 12:22:02 1999  Tim Janik  <timj@gtk.org>

* gdk/gdkglobals.c: preinitialize gdk_error_code to 0.

* gdk/gdkevents.c (gdk_event_send_client_message_to_all_recurse): since
we export this function, supress error warnings and don't reset the
error code in the first half of this function.

* gdk/gdk.c (gdk_x_error): set gdk_error_code to the actuall X error
code (instead of just -1) so gdk_error_trap_pop() reveals something
actually informative about the error that happened.

* gdk/*.c:
don't rely on gdk_error_code being -1 if an error occoured, but just
gdk_error_code != 0.

Thu Jun 24 11:50:07 1999  Tim Janik  <timj@gtk.org>

* gdk/gdkevents.c (gdk_event_apply_filters): advance the filter list
pointer *before* invoking the filter function, so we at least don't
crash if a filter is removed that is currently executed. window filters
*really* need to be made truely reentrant at some point.

Mon Jun 14 11:10:15 1999  Tim Janik  <timj@gtk.org>

* gdk/gdkevents.c (gdk_event_translate): print the atom name in the
PropertyNotify debug messages.

Wed May  5 22:51:06 1999  Owen Taylor  <otaylor@redhat.com>

        Patch from Sung-Hyun Nam <namsh@lgic.co.kr>

* gdk/gdkim.c: Fix cut-and-paste errors for
x/y and PreeditAttributes/StatusAttributes.

Wed May  5 22:24:21 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c (gdk_window_set_geometry_hints): Change
G_MAXINT to 2^16 to alleviate overflow problems in
various window managers.

Wed Apr 21 00:42:08 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkfont.c (gdk_text_measure): Fix the return value
        for fontsets.

Wed May  5 12:42:01 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c (gdk_window_set_geometry_hints):
Initialize size_hints.x and size_hints.y because kwm
brokenly pays attention to them.
(Bug #1181 -  Lars Heete <hel@admin.de>)

Wed May  5 11:38:56 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the
return value of gdk_list_visuals().
(Bug #1193 - Morten Welinder <terra@diku.dk>)

Tue May  4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org>

* gdk/gdkim.c (gdk_im_real_open): cast the return value of
XSetIMValues to (void *) when comparing to NULL, to workaround
the problem of some compilers barfing since older X headers don't
have the prototype for it.

Mon Apr 19 10:11:12 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkcolor.c (gdk_colormap_new): Fix memory leak
for pseudocolor where colormap->colors was double
allocated.

* gdk/gdkcolor.c (gdk_colormap_alloc1): Store the
color value in the hash table with the pixel filled
in so when we do later hash table lookups, the color
value is correct.

Sun May  2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>

* gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
making the call

Tue Apr 27 11:17:35 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkdnd.c (xdnd_set_{targets,actions}): Fix leak
pointed out by Morten Welinder <terra@diku.dk>.

Wed Apr 21 14:20:22 1999  George Lebl  <jirka@5z.com>

* gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
  default filter from the list

Wed Apr 21 14:20:22 1999  George Lebl  <jirka@5z.com>

* gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
  default filter from the list

Fri Apr 16 20:41:43 PDT 1999 Manish Singh <yosh@gimp.org>

* gdk/gdk.c: #include "gdkkeysyms.h" for gdk_XConvertCase #defines

* gtk/gtkfontsel.c (gtk_font_selection_create_xlfd): use
g_strdup_printf instead of calcing the length separately

Tue Apr 13 02:49:33 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c: removed some silly #ifdef HAVE_CONFIG
that we don't do in many other places. (Fixing duplicate
#include of config.h)

* gdk/gdkevents.c: include gdkinput.h _after_ config.h.
Otherwise, #ifndef XINPUT_NONE check in the latter
doesn't work. (Bug #546)

Sun Apr 11 14:38:03 1999  Tim Janik  <timj@gtk.org>

* gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): check for color
"None" case insensitive.

Tue Apr  6 16:38:51 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkselection.c:
Add error traps so if the other end of the connection
dies, we survive.

Tue Apr  6 12:24:21 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkdnd.c (gdk_drag_motion): Separate out the
dest_xid field into two fields - one for the window
to send in messages, one to indicate the last looked
up window for caching purposes. This is needed, so
that Leave messages get the correct window.

Mon Apr  5 13:21:30 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkevents.c (gdk_event_check, gdk_event_prepare):
Fix warning created by people mucking around
with the gsource API.

* gdk/gdkevents.c (gdk_io_invoke, gdk_input_add_full):
Change mapping between GIOCondition and GdkInputCondition
to match the way the Linux kernel does it. This should
fix problems where closed pipes were no longer signalling
GDK_INPUT_READ on systems with a native poll().

Mon Apr  5 17:11:57 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): Check
explicitly for the string "None" - it is in the XPM
spec and some servers treat unknown colors in odd ways
(like asking the user!)

Thu Apr  1 16:58:10 PST 1999 Manish Singh <yosh@gimp.org>

* gdk/gdkevents.c: made "->" into a "." of previous change so
it compiles

Thu Apr  1 18:41:25 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkevents.c (gdk_compress_exposures): Set the
window field of the event structure before calling
user filters.

1999-03-31  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gdk/gdk.c (gdk_init_check): Use False as the last argument to
XInternAtom() here.  This is a particularly Old And Nasty(tm) bug.

Mon Mar 29 17:31:52 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkim.c (gdk_mbstowcs): Free the value of the
intermediate text property - prevents major memory
        leak when gdk_use_mb.
gtk-d3august-990311-0: Bj|rn Augustsson <d3august@dtek.chalmers.se>

Mon Mar 29 17:02:58 1999  Owen Taylor  <otaylor@redhat.com>

        Patches from Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>
gtk-a-higuti-990322-[0-3]

* gdk/gdkfont.c (gdk_text_extents_wc): Make  work when
sizeof(wchar_t) != sizeof (GdkWChar)

* configure.in: Fix confusion between GTK_LOCALE_[C]FLAGS
that was causing -DX_LOCALE not to work.

* gtk/gtkrc.c (gtk_rc_init):
X_LOCALE will never have LC_MESSAGES defined

* gdk/gdk.c (gdk_init_check):
Remove --xim-preedit and --xim-status from argv properly.

* gdk/gdkim.c (gdk_ic_real_new): Add a gdk_flush() so
that the client window is present on the X server
before we pass it to the input method.

Tue Mar  9 10:46:49 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkdnd.c (motif_find_drag_window): Fix bug where
if --display is specified on the command line, than
the drag window will not be created on that display.

Tue Mar  9 10:38:24 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkproperty.c (gdk_atom_intern): Fixed bug where
lookups with only_if_exists == TRUE were inserting
bogus values into the atom cache.

Wed Mar 17 09:00:00 1999  Tim Janik  <timj@gtk.org>

* gdk/gdkselection.c (gdk_selection_property_get): first XFree(t),
then reset it to NULL.

* gdk/gdkcolor.c:
(gdk_colors_free):
(gdk_colormap_free_colors): use colormap->colors[in_pixels[i]] as the
key for g_hash_table_remove() in both functions, this prevents us
from accessing possibly uninitialized portions of a GdkColor structure
where we are only interested in its pixel value.

Tue Mar  9 01:01:28 1999  Tim Janik  <timj@gtk.org>

* gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
font hash table, if we have a GdkFontPrivate entry for this font
already, simply increment its reference count, provided by Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>.

1999-09-21  Tor Lillqvist  <tml@iki.fi>

24 years agopartially written documentation from Paul Schifferer
Damon Chaplin [Sat, 25 Sep 1999 09:20:23 +0000 (09:20 +0000)]
partially written documentation from Paul Schifferer

1999-09-24  Damon Chaplin  <damon@karuna.freeserve.co.uk>

        * gtk/tmpl/gtkclist.sgml: partially written documentation from
        Paul Schifferer <isengard@geocities.com> who won't be able to finish it