]> Pileus Git - ~andy/gtk/log
~andy/gtk
24 years agore-adding for manual rename of repository files.
Tor Lillqvist [Thu, 11 Nov 1999 22:12:27 +0000 (22:12 +0000)]
re-adding for manual rename of repository files.

24 years ago*** empty log message ***
Tor Lillqvist [Thu, 11 Nov 1999 22:01:55 +0000 (22:01 +0000)]
*** empty log message ***

24 years agoRe-adding removed files, in order for the renaming to *-win32
Tor Lillqvist [Thu, 11 Nov 1999 21:58:21 +0000 (21:58 +0000)]
Re-adding removed files, in order for the renaming to *-win32
to be done manually in the repository.

24 years agoFixed typo.
Michael Fulbright [Thu, 11 Nov 1999 15:52:19 +0000 (15:52 +0000)]
Fixed typo.

Dr Mike <drmike@redhat.com>

24 years agoAdded some information about sorting
Martin Norback [Thu, 11 Nov 1999 11:20:00 +0000 (11:20 +0000)]
Added some information about sorting

24 years agoPopulated.
Federico Mena Quintero [Wed, 10 Nov 1999 22:48:46 +0000 (22:48 +0000)]
Populated.

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

* doc/tmpl/gdk-pixbuf-loader.sgml: Populated.

* doc/gdk-pixbuf.signals: Put in the real names of signal
arguments.

* src/gdk-pixbuf-loader.c: Improved documentation comments.

24 years agoFix a couple of bugs. The Unicode subrange table (from the "Developing
Tor Lillqvist [Wed, 10 Nov 1999 21:37:48 +0000 (21:37 +0000)]
Fix a couple of bugs. The Unicode subrange table (from the "Developing

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

* gdk/win32/gdkfont-win32.c: Fix a couple of bugs. The Unicode
subrange table (from the "Developing International Software for
Windows 95 and Windows NT" book) was missing the Hangul syllable
block... Get the loaded font's charset correctly.

(Note that this, and the other *-win32.c files, still really are
the old ones, the win32 subdirectory is not ready for compilation
yet after the reorg.)

24 years agoforgot this
Jonathan Blandford [Wed, 10 Nov 1999 21:11:26 +0000 (21:11 +0000)]
forgot this

24 years agoemit the closed signal.
Jonathan Blandford [Wed, 10 Nov 1999 21:06:40 +0000 (21:06 +0000)]
emit the closed signal.

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

* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): emit the
closed signal.

24 years agoMake default loading speed 40kB/s.
Michael Fulbright [Wed, 10 Nov 1999 18:54:07 +0000 (18:54 +0000)]
Make default loading speed 40kB/s.

Dr Mike

24 years agoNow can handle indexing correctly. Patch from Arjan to do so.
Jonathan Blandford [Wed, 10 Nov 1999 18:47:39 +0000 (18:47 +0000)]
Now can handle indexing correctly. Patch from Arjan to do so.

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

* src/io-ras.c (OneLineMapped_file): Now can handle indexing
correctly.  Patch from Arjan to do so.

24 years agoFixed loading of ASCII PNM files.
Michael Fulbright [Wed, 10 Nov 1999 17:43:49 +0000 (17:43 +0000)]
Fixed loading of ASCII PNM files.

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

        * src/io-pnm.c (pnm_ascii_read_scanline): Fixed loading of ASCII PNM
files.

* src/testpixbuf.c: Added final queued draw when done loading image.

24 years agoremoved spurious print statements.
Jonathan Blandford [Wed, 10 Nov 1999 17:30:13 +0000 (17:30 +0000)]
removed spurious print statements.

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

* src/gdk-pixbuf-io.c (gdk_pixbuf_load_module): removed spurious
print statements.

24 years agoFix off-by-one bug in parameter check.
GMT 1999 Tony Gale [Wed, 10 Nov 1999 17:28:59 +0000 (17:28 +0000)]
Fix off-by-one bug in parameter check.

Wed Nov 10 17:26:49 GMT 1999 Tony Gale  <gale@gtk.org>

        * gtk/gtkclist.c: Fix off-by-one bug in parameter
        check.

24 years agocleanup to remove warnings.
Michael Fulbright [Wed, 10 Nov 1999 17:17:17 +0000 (17:17 +0000)]
cleanup to remove warnings.

Dr Mike <drmike@redhat.com>

24 years agoCall XFreeDeviceState() on results of XQueryDeviceState().
Owen Taylor [Wed, 10 Nov 1999 17:15:58 +0000 (17:15 +0000)]
Call XFreeDeviceState() on results of XQueryDeviceState().

Wed Nov 10 12:12:03 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
on results of XQueryDeviceState().

24 years agoWarning fixes - Federico
Arturo Espinosa [Wed, 10 Nov 1999 15:45:24 +0000 (15:45 +0000)]
Warning fixes - Federico

24 years agoAdded documentation.
Federico Mena Quintero [Wed, 10 Nov 1999 06:40:12 +0000 (06:40 +0000)]
Added documentation.

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

* src/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Added
documentation.

24 years agoJust renamed the Win32 backend files to *-win32.
Tor Lillqvist [Wed, 10 Nov 1999 00:04:17 +0000 (00:04 +0000)]
Just renamed the Win32 backend files to *-win32.

24 years agoFixed up testpixbuf.c to simulate downloading at certain speed, set
Michael Fulbright [Tue, 9 Nov 1999 23:51:35 +0000 (23:51 +0000)]
Fixed up testpixbuf.c to simulate downloading at certain speed, set
env var TBF_KBPS=n to get n kBytes/sec.

Dr Mike

24 years agoPossible unsigned int error.
Michael Fulbright [Tue, 9 Nov 1999 23:35:41 +0000 (23:35 +0000)]
Possible unsigned int error.
Dr Mike

24 years agoDoh.
Michael Fulbright [Tue, 9 Nov 1999 23:22:51 +0000 (23:22 +0000)]
Doh.

Dr Mike

24 years agoSlight cosmetic cleanup.
Michael Fulbright [Tue, 9 Nov 1999 23:21:08 +0000 (23:21 +0000)]
Slight cosmetic cleanup.

1999-11-09  Michael Fulbright  <drmike@redhat.com>

* src/io-jpeg.c: Slight cosmetic cleanup.

* src/io-pnm.c: Fixed raw PNM loading bug. Also discovered that ASCII
        PBM loading has a similar problem and will address tomorrow.

24 years agobuild the gdk-pixbuf-drawable stuff.
Havoc Pennington [Tue, 9 Nov 1999 22:23:35 +0000 (22:23 +0000)]
build the gdk-pixbuf-drawable stuff.

1999-11-09  Havoc Pennington  <hp@pobox.com>

* src/Makefile.am (libgdk_pixbuf_la_SOURCES): build the
gdk-pixbuf-drawable stuff.

24 years ago0.4 - Federico
Arturo Espinosa [Tue, 9 Nov 1999 21:38:26 +0000 (21:38 +0000)]
0.4 - Federico

24 years agoAdded args and signals data files - Federico
Arturo Espinosa [Tue, 9 Nov 1999 20:59:30 +0000 (20:59 +0000)]
Added args and signals data files - Federico

24 years agoRenamed arguments to width_in_pixels, height_in_pixels, x_in_pixels,
Federico Mena Quintero [Tue, 9 Nov 1999 20:59:29 +0000 (20:59 +0000)]
Renamed arguments to width_in_pixels, height_in_pixels, x_in_pixels,

1999-12-13  Federico Mena Quintero  <federico@redhat.com>

* gdk-pixbuf/gnome-canvas-pixbuf.c
(gnome_canvas_pixbuf_class_init): Renamed arguments to
width_in_pixels, height_in_pixels, x_in_pixels, y_in_pixels, for
consistency with the new canvas.
(PixbufPrivate): Do the same renaming in the structure fields, for
consistency.

* doc/tmpl/gnome-canvas-pixbuf.sgml: Updated for new argument names.

24 years agoAdded args and signals data files - Federico
Arturo Espinosa [Tue, 9 Nov 1999 20:59:29 +0000 (20:59 +0000)]
Added args and signals data files - Federico

24 years agoFigured out problem with loading Progressive JPEG's progressively (say
Michael Fulbright [Tue, 9 Nov 1999 17:24:15 +0000 (17:24 +0000)]
Figured out problem with loading Progressive JPEG's progressively (say

1999-11-09  Michael Fulbright  <drmike@redhat.com>

* src/io-jpeg.c (image_load_increment): Figured out problem with
loading Progressive JPEG's progressively (say that 10 times fast).
Currently for Progressive JPEG's the entire image is loaded before
it is displayed. libjpeg supports a fancier mechanism which I may
implement later.

With these changes all JPEG formats appear to load properly for me.

24 years agoFinished progressive PNM loading code. Should handle all types of PNM
Michael Fulbright [Tue, 9 Nov 1999 16:38:31 +0000 (16:38 +0000)]
Finished progressive PNM loading code. Should handle all types of PNM

1999-11-09  Michael Fulbright  <drmike@redhat.com>

* src/io-pnm.c : Finished progressive PNM loading code. Should handle
all types of PNM files now.

24 years agoSubstitute gdkx.h => gdkprivate.h since we need to accesss only
Owen Taylor [Mon, 8 Nov 1999 22:33:28 +0000 (22:33 +0000)]
Substitute gdkx.h => gdkprivate.h since we need to accesss only

Mon Nov  8 16:40:43 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since
we need to accesss only ->children. We need an accessor
for the children.

* gtk/gtkhandlebox.c gtk/testgtk.c: Substitute G
DK_ROOT_PARENT() => NULL, in call to gtk_window_get_pointer()
to get rid of gdkx.h include.

* gtk/gtkctree.c: Get rid of #include <gdk/gdkx.h>
and random references to 'None'.

* gtk/gtkclist.c gtk/gtkeditable.c gtk/gtkpreview.c
Get rid of unused #include <gdk/gdkx.h>

* gtk/gtkrc.c gtk/gtkmain.c: Get rid of #include <gdk/gdkx.h>
gdkx.h is _X_ specific stuff. GDK_WINDOWING comes from
gdkconfig.h.

24 years agogdk/win32/gdkdraw.c gdk/win32/gdkfont.c Various minor cleanups and
Tor Lillqvist [Mon, 8 Nov 1999 21:34:06 +0000 (21:34 +0000)]
gdk/win32/gdkdraw.c gdk/win32/gdkfont.c Various minor cleanups and

1999-11-08  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdraw.c
* gdk/win32/gdkfont.c
* gdk/win32/gdkgc.c: Various minor cleanups and bugfixes
following yesterday's changes. (Unrelated to Owen's reorg.)

24 years agoAdd missing include, fix GdkWindowPrivate => GdkDrawablePrivate.
Owen Taylor [Mon, 8 Nov 1999 21:25:04 +0000 (21:25 +0000)]
Add missing include, fix GdkWindowPrivate => GdkDrawablePrivate.

Mon Nov  8 16:18:25 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkinput-gxi.c: Add missing include,
  fix GdkWindowPrivate => GdkDrawablePrivate.

* gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.

* gdk/x11/Makefile.am (xinput_sources): Add missing
backslash to fix building with --with-xinput=none

24 years agoMove all X specific code into the x11/ directory. Aside from shuffling
Owen Taylor [Mon, 8 Nov 1999 20:14:59 +0000 (20:14 +0000)]
Move all X specific code into the x11/ directory. Aside from shuffling

Mon Nov  8 14:47:04 1999  Owen Taylor  <otaylor@redhat.com>

Move all X specific code into the x11/ directory.
Aside from shuffling things around, did the following:

       * gdk/gdkprivate.h gdk/gdk.h gdk/x11/gdkmain-x11.h: Add
 gdk_arg_context_* - a simple argument parsing system
 in the style of popt.

       * gdk/gdkdrawable.[ch] gdk/gdkprivate.h gdk/gdkwindow.[ch]
 gdk/x11/gdkprivate-x11.h:
 Remove X specific stuff from GdkDrawable and GdkWindowPrivate -
 add ->klass and ->klass_data fields. The klass_data
 field points to an auxilliary structure that is
 windowing system dependent.

       * gdk/gdkfont.c: Make most of the measurement functions
 simply wrappers around gdk_text_extents().

       * gdk/gdkfont.c gdk/gdkprivate.h gdk/x11/gdkfont-x11.c: Add a
 _gdk_font_strlen() function that hides the weird
 behavior in gtk+-1.[02] where a string is interpreted
 differently for 8-bit and 16-bit fonts.

       * gdk/gdkevents.c: Add a new function gdk_event_button_generate()
 to store common code for synthesizing double/triple
 press events.

       * gdk/gdkgc.[ch]: Virtualize in the same way as gdkdrawable.h.
 Make all the function that modify an existing GC
 simply wrappers around gdk_gc_set_values().

       * gdk/gdkcc.[ch]: Moved into x11/ directory in preparation
 for throwing out later.

       * gdk/gdkfont.c gdk/gdkimage.c gdk/gdkcolor.c: Change GdkFontPrivate,
 GdkImagePrivate and GdkColormapPrivate to have a
 windowing system dependent part (GdkFontPrivateX etc.)
 that "derives" from the system-independent part.

       * configure.in gdk/x11/Makefile.in gdk/x11/gdkinput*.c:
 Got rid of the included-source-files for XInput in
 favor of automake conditionals. (Which didn't exist
 when XInput support was originally added.)

       * gdk/gdkrgb.c: Remove the visual id from the debugging
 statements since that is X11 specific; print out
 type/depth info instead.

24 years agoFinal patch from Arjan. Seems to do progressive loading.
Jonathan Blandford [Mon, 8 Nov 1999 19:37:45 +0000 (19:37 +0000)]
Final patch from Arjan. Seems to do progressive loading.

1999-11-08  Jonathan Blandford  <jrb@redhat.com>

* src/io-ras.c (image_load_increment): Final patch from Arjan.
Seems to do progressive loading.

24 years agoFixed so we do not create a separate pixel buffer when reading in image -
Michael Fulbright [Mon, 8 Nov 1999 19:02:58 +0000 (19:02 +0000)]
Fixed so we do not create a separate pixel buffer when reading in image -

1999-11-08  Michael Fulbright  <drmike@redhat.com>

* src/io-pnm.c image_load (): Fixed so we do not create a separate
pixel buffer when reading in image - we reuse the pixel data in
the GdkPixbuf structure instead.

24 years agoAdded support for ASCII PNM files. Note I haven't tested loaded ASCII PBM
Michael Fulbright [Mon, 8 Nov 1999 17:15:19 +0000 (17:15 +0000)]
Added support for ASCII PNM files. Note I haven't tested loaded ASCII PBM

1999-11-08  Michael Fulbright  <drmike@redhat.com>

* src/io-pnm.c pnm_read_ascii_scanline (): Added support for
ASCII PNM files. Note I haven't tested loaded ASCII PBM files because
I can't seem to find a utility to convert into this format.
Next is to add progressive loading support for the PNM format.

24 years agoFinished detailed explanation of the width, height, x, and y setting and
Federico Mena Quintero [Mon, 8 Nov 1999 04:19:34 +0000 (04:19 +0000)]
Finished detailed explanation of the width, height, x, and y setting and

1999-11-07  Federico Mena Quintero  <federico@redhat.com>

* doc/tmpl/gnome-canvas-pixbuf.sgml: Finished detailed explanation
of the width, height, x, and y setting and pixels arguments.

24 years agoNew font private structures, related to fontsets.
Tor Lillqvist [Mon, 8 Nov 1999 00:09:29 +0000 (00:09 +0000)]
New font private structures, related to fontsets.

1999-11-07  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkprivate.h: New font private structures, related to
fontsets.

* gdk/win32/gdkfont.c: New functions gdk_font_list_new() and
gdk_font_list_free(). On X11, will just be wrappers to
XListFonts() and XFreeFontNames(). On Win32, the code previously
in gtkfontsel.c is now here.

New function gdk_font_xlfd_create(). On X11 will get the FONT
property of the font (for GDK_FONT_FONTs), or call
XBaseFontNameListOfFontSet (for GDK_FONT_FONTSETs), on Win32
builds a XLFD style name from the font information in the LOGFONT
struct(s).

New function gdk_font_xlfd_free(), which correspondingly frees the
string returned by gdk_font_xlfd_create().

Implement fontsets on Win32. Add a function that iterates over a
wide char string and calls a callback function for each substring
of wide chars from the same Unicode subrange (and thus probably
available in the same real font).

Improve the XLFD emulation a bit.

* gdk/win32/gdkim.c (gdk_nmbstowchar_ts): Small bugfix.

* gdk/win32/gdkevents.c: Workaround for suspected bug on Win2k
Beta3, WM_IME_CHAR messages don't seem to contain the composed
multi-byte char as with the Active IMM on Win9x. Oh well, handle
WM_IME_COMPOSITION with GCS_RESULTSTR instead, use
ImmGetCompositionStringW() to get the composed Unicode chars.

* gdk/win32/gdkgc.c
* gdk/win32/gdkdraw.c: Changes needed because of the font private
struct changes.

* gdk/win32/gdk.def: Add the new functions.

24 years agoRemoved gdk-pixbuf-io, since it is for internal use only.
Federico Mena Quintero [Fri, 5 Nov 1999 23:58:23 +0000 (23:58 +0000)]
Removed gdk-pixbuf-io, since it is for internal use only.

1999-11-05  Federico Mena Quintero  <federico@redhat.com>

* doc/gdk-pixbuf-sections.txt: Removed gdk-pixbuf-io, since it is
for internal use only.

* doc/gdk-pixbuf.sgml: Likewise.

* doc/tmpl/gnome-canvas-pixbuf.sgml: Finished docs.

24 years agoImplemented support for reading raw PBM/PGM/PPM files from a file. Next
Michael Fulbright [Fri, 5 Nov 1999 23:17:35 +0000 (23:17 +0000)]
Implemented support for reading raw PBM/PGM/PPM files from a file. Next

1999-11-05  Michael Fulbright  <drmike@redhat.com>

* src/io-pnm.c: Implemented support for reading raw PBM/PGM/PPM
files from a file. Next step is support for ASCII files, and
then incremental loading.

24 years agothird patch. Now it seems to load.
Jonathan Blandford [Fri, 5 Nov 1999 22:42:17 +0000 (22:42 +0000)]
third patch. Now it seems to load.

1999-11-05  Jonathan Blandford  <jrb@redhat.com>

* src/io-ras.c (image_load): third patch.  Now it seems to load.

24 years agosecond patch Arjan van de Ven <arjan@fenrus.demon.nl> to autodetect/load
Jonathan Blandford [Fri, 5 Nov 1999 21:29:33 +0000 (21:29 +0000)]
second patch Arjan van de Ven <arjan@fenrus.demon.nl> to autodetect/load

1999-11-05  Jonathan Blandford  <jrb@redhat.com>

* src/gdk-pixbuf-io.c: second patch Arjan van de Ven
<arjan@fenrus.demon.nl> to autodetect/load the sunras files.

24 years agonew file from Arjan van de Ven <arjan@fenrus.demon.nl> to begin the ras
Jonathan Blandford [Fri, 5 Nov 1999 20:37:08 +0000 (20:37 +0000)]
new file from Arjan van de Ven <arjan@fenrus.demon.nl> to begin the ras

1999-11-05  Jonathan Blandford  <jrb@redhat.com>

* src/io-ras.c (image_load): new file from Arjan van de Ven
<arjan@fenrus.demon.nl> to begin the ras loader.

24 years agoAdded doc to SUBDIRS.
Federico Mena Quintero [Fri, 5 Nov 1999 01:58:54 +0000 (01:58 +0000)]
Added doc to SUBDIRS.

1999-11-04  Federico Mena Quintero  <federico@redhat.com>

* Makefile.am: Added doc to SUBDIRS.

24 years agoPrettied up code slightly. Start of pnm loader (from file and
Michael Fulbright [Fri, 5 Nov 1999 00:16:10 +0000 (00:16 +0000)]
Prettied up code slightly. Start of pnm loader (from file and

999-11-04  Michael Fulbright  <drmike@redhat.com>

* src/io-jpeg.c: Prettied up code slightly.
* src/io-pnm.c:  Start of pnm loader (from file and progressively).
                 Doesn't do much yet (will finish tomorrow).
* src/gdk-pixbuf-io.c: Added pnm to structure of known types.

24 years agoDon't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to
Tor Lillqvist [Thu, 4 Nov 1999 23:42:51 +0000 (23:42 +0000)]
Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to

1999-11-04  Tor Lillqvist  <tml@iki.fi>

* config.h.win32: Don't define HAVE_DIMM_H if MSC, as you have to
get the Platform SDK to get <dimm.h>.

* gdk/win32/gdkevents.c: More event handling fixes and
simplification. Never generate motion events with is_hint true. We
used to do that on bogus grounds earlier. Windows sends
WM_MOUSEMOVE messages on button events even if the mouse hasn't
moved, ignore these.

* gdk/win32/gdkfont.c: Load all fonts as (pretended) fontsets.

* gdk/win32/gdkglobals.c
* gdk/win32/gdkprivate.h: Define a typedef for the pointer to
the TrackMouseEvent function, and use it.

* gdk/win32/gdkwindow.c: Terminate widechar string with a zero
char before calling WideCharToMultiByte in order to get a string
for the window title.

* gdk/win32/gdkdnd.c: Some more random hacking, ifdeffed out.

* gdk/win32/gdk.def: Remove obsolete functions.

* gdk/win32/makefile.{cygwin,msc}: Remove gdkcompat.{o,obj}. Add
/nodefaultlib and /defaultlib switches.

* gtk/gtkrc.c: s/gwin_getlocale/g_win32_getlocale/.

24 years agoMore docs work - Federico
Arturo Espinosa [Thu, 4 Nov 1999 21:52:08 +0000 (21:52 +0000)]
More docs work - Federico

24 years agoadded the update_func ability
Jonathan Blandford [Thu, 4 Nov 1999 20:34:24 +0000 (20:34 +0000)]
added the update_func ability

1999-11-04  Jonathan Blandford  <jrb@redhat.com>

* src/io-gif.c (gif_get_lzw): added the update_func ability

24 years agoIn docs, explain what a dither offset is for.
Havoc Pennington [Thu, 4 Nov 1999 20:16:17 +0000 (20:16 +0000)]
In docs, explain what a dither offset is for.

1999-11-04  Havoc Pennington  <hp@pobox.com>

* src/gdk-pixbuf-render.c (gdk_pixbuf_render_to_drawable): In
docs, explain what a dither offset is for.
(gdk_pixbuf_render_to_drawable_alpha): Explain why you would use
this function vs. gdk_pixbuf_render_to_drawable().

24 years agoUse libart-config correctly; find gnome-config separately. Fix GNOME_LIBS
Havoc Pennington [Thu, 4 Nov 1999 20:04:02 +0000 (20:04 +0000)]
Use libart-config correctly; find gnome-config separately. Fix GNOME_LIBS

1999-11-04  Havoc Pennington  <hp@pobox.com>

* configure.in: Use libart-config correctly; find gnome-config
separately. Fix GNOME_LIBS to be correct in "no gnome installed
yet" case.

* src/Makefile.am: Link to GNOME_LIBS instead of a hardcoded
library list.

Patch untested in the inside-gnome-libs case, I need to commit
then check out to the gnome-libs I'm using.

24 years agoAdd update_func callback. Call updated callback when new graphic data
Michael Fulbright [Thu, 4 Nov 1999 20:02:37 +0000 (20:02 +0000)]
Add update_func callback. Call updated callback when new graphic data

1999-11-04  Michael Fulbright  <drmike@redhat.com>

* src/io-jpeg.c (image_begin_load): Add update_func callback.
* src/io-jpeg.c (image_load_increment): Call updated callback when
new graphic data decoded.

24 years agofix .tiff loader.
Jonathan Blandford [Thu, 4 Nov 1999 19:22:45 +0000 (19:22 +0000)]
fix .tiff loader.

add a testcase for the "updated_area"

24 years agohandle the actual update. add a update_func callback. add a update_func
Jonathan Blandford [Thu, 4 Nov 1999 18:18:07 +0000 (18:18 +0000)]
handle the actual update. add a update_func callback. add a update_func

1999-11-04  Jonathan Blandford  <jrb@redhat.com>

* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_update): handle the
actual update.
* src/io-png.c (image_begin_load): add a update_func callback.
* src/io-gif.c (image_begin_load): add a update_func callback.
* src/io-tiff.c (image_begin_load): add a update_func callback.

24 years agoPopulated.
Federico Mena Quintero [Thu, 4 Nov 1999 08:14:32 +0000 (08:14 +0000)]
Populated.

1999-11-04  Federico Mena Quintero  <federico@redhat.com>

* doc/tmpl/gdk-pixbuf.sgml: Populated.

* doc/tmpl/refcounting.sgml: Populated.

* doc/tmpl/file-loading.sgml: Populated.

* src/gdk-pixbuf.c: Added documentation comments.

* src/gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): Added
documentation comments.

24 years agoFinished integrating the documentation framework.
Federico Mena Quintero [Thu, 4 Nov 1999 07:30:04 +0000 (07:30 +0000)]
Finished integrating the documentation framework.

1999-11-04  Federico Mena Quintero  <federico@redhat.com>

* doc/: Finished integrating the documentation framework.

24 years agoEek - Federico
Arturo Espinosa [Thu, 4 Nov 1999 07:03:10 +0000 (07:03 +0000)]
Eek - Federico

24 years agoIntegrate gtk-doc, part 1; need to finish it at home - Federico
Arturo Espinosa [Thu, 4 Nov 1999 01:10:05 +0000 (01:10 +0000)]
Integrate gtk-doc, part 1; need to finish it at home - Federico

24 years agoSync - Federico
Arturo Espinosa [Wed, 3 Nov 1999 23:58:37 +0000 (23:58 +0000)]
Sync - Federico

24 years agominor packing change
Jonathan Blandford [Wed, 3 Nov 1999 23:39:58 +0000 (23:39 +0000)]
minor packing change

24 years agorenamed ReadOK to gif_read. Added a lot of comments to the file.
Jonathan Blandford [Wed, 3 Nov 1999 23:22:27 +0000 (23:22 +0000)]
renamed ReadOK to gif_read. Added a lot of comments to the file.

1999-11-03  Jonathan Blandford  <jrb@redhat.com>

* src/io-gif.c (gif_read): renamed ReadOK to gif_read.
Added a lot of comments to the file.

24 years agoRemove dependency on lib*gif!!!!
Jonathan Blandford [Wed, 3 Nov 1999 22:27:59 +0000 (22:27 +0000)]
Remove dependency on lib*gif!!!!

1999-11-03  Jonathan Blandford  <jrb@redhat.com>

* src/Makefile.am (libpixbuf_gif_la_LIBADD): Remove dependency on
lib*gif!!!!

Also, some code cleanups to io-gif

24 years agoset the transparency to the right val.
Jonathan Blandford [Wed, 3 Nov 1999 22:19:42 +0000 (22:19 +0000)]
set the transparency to the right val.

1999-11-03  Jonathan Blandford  <jrb@redhat.com>

* src/io-gif.c (gif_get_lzw): set the transparency to the right
          val.

24 years agoFurther removal of bugginess in local buffering code. Handles grayscale
Michael Fulbright [Wed, 3 Nov 1999 22:00:27 +0000 (22:00 +0000)]
Further removal of bugginess in local buffering code. Handles grayscale

1999-11-03  Michael Fulbright  <msf@redhat.com>

* src/io-jpeg.c (image_load_increment): Further removal of
bugginess in local buffering code. Handles grayscale jpegs
correctly now.

* src/io-jpeg.c (image_load_stop): Was freeing local context
for jpeg library before calling jpeg_decompres_finish ().

24 years agonow handle arbitrary buffer sizes.
Jonathan Blandford [Wed, 3 Nov 1999 21:52:16 +0000 (21:52 +0000)]
now handle arbitrary buffer sizes.

1999-11-03  Jonathan Blandford  <jrb@redhat.com>

* src/io-gif.c (image_load_increment): now handle arbitrary buffer
sizes.

24 years agoInitiailize the x and y fields. (gnome_canvas_pixbuf_destroy): Queue a
Federico Mena Quintero [Wed, 3 Nov 1999 21:26:52 +0000 (21:26 +0000)]
Initiailize the x and y fields. (gnome_canvas_pixbuf_destroy): Queue a

1999-11-03  Federico Mena Quintero  <federico@redhat.com>

* src/gnome-canvas-pixbuf.c (gnome_canvas_pixbuf_init):
Initiailize the x and y fields.
(gnome_canvas_pixbuf_destroy): Queue a redraw upon destruction.
(PixbufPrivate): Renamed need_size_update to need_xform_update.
(recompute_bounding_box): Do not use temporary values.

24 years agonew state. Fixes un-compressed gifs.
Jonathan Blandford [Wed, 3 Nov 1999 21:22:38 +0000 (21:22 +0000)]
new state. Fixes un-compressed gifs.

1999-11-03  Jonathan Blandford  <jrb@redhat.com>

* src/io-gif.c (set_gif_lzw_clear_code): new state.  Fixes
un-compressed gifs.

* src/gnome-canvas-pixbuf.c (recompute_bounding_box): remove
unneeded x,y,h,w vars.

24 years agoadjust render_affine calculation for x,y offsets.
Larry Ewing [Wed, 3 Nov 1999 20:57:04 +0000 (20:57 +0000)]
adjust render_affine calculation for x,y offsets.

1999-11-03  Larry Ewing  <lewing@gimp.org>

* src/gnome-canvas-pixbuf.c (compute_render_affine): adjust
render_affine calculation for x,y offsets.
(gnome_canvas_pixbuf_set_arg): add x,y args.
(gnome_canvas_pixbuf_get_arg): add x,y args.
(recompute_bounding_box): simply code using ArtDrect and the
render_affine.  Removed compute_xform_vectors as it was no longer
needed.

24 years agoI'm a doofus. Return a distance, not a boolean, for opaque images.
Federico Mena Quintero [Wed, 3 Nov 1999 20:39:27 +0000 (20:39 +0000)]
I'm a doofus. Return a distance, not a boolean, for opaque images.

1999-11-03  Federico Mena Quintero  <federico@redhat.com>

* src/gnome-canvas-pixbuf.c (gnome_canvas_pixbuf_point): I'm a
doofus.  Return a distance, not a boolean, for opaque images.

24 years agoDo proper rounding of bounding box coordinates.
Federico Mena Quintero [Wed, 3 Nov 1999 20:26:32 +0000 (20:26 +0000)]
Do proper rounding of bounding box coordinates.

1999-11-03  Federico Mena Quintero  <federico@redhat.com>

* src/gnome-canvas-pixbuf.c (recompute_bounding_box): Do proper
rounding of bounding box coordinates.
(gnome_canvas_pixbuf_bounds): Implemented the ::bounds() method.
(gnome_canvas_pixbuf_draw): Use the correct alpha threshold value.

24 years agoforgot this
Jonathan Blandford [Wed, 3 Nov 1999 17:45:41 +0000 (17:45 +0000)]
forgot this

24 years agos/lwz/lzw/g
Jonathan Blandford [Wed, 3 Nov 1999 17:45:24 +0000 (17:45 +0000)]
s/lwz/lzw/g

1999-11-03  Jonathan Blandford  <jrb@redhat.com>

* src/io-gif.c (gif_prepare_lzw): s/lwz/lzw/g

24 years agoFixed code which moved buffer around as new data comes in to work
Michael Fulbright [Wed, 3 Nov 1999 17:17:32 +0000 (17:17 +0000)]
Fixed code which moved buffer around as new data comes in to work

1999-11-03  Michael Fulbright  <drmike@redhat.com>

* src/io-jpg.c image_load_increment(): Fixed code which moved
buffer around as new data comes in to work properly. JPEG progressive
loading should be working now except for grayscale JPEG's, which I

24 years agochangelog
Michael Fulbright [Wed, 3 Nov 1999 17:17:11 +0000 (17:17 +0000)]
changelog

24 years agoinitialize a variable; kill a bug
Jonathan Blandford [Wed, 3 Nov 1999 16:40:43 +0000 (16:40 +0000)]
initialize a variable; kill a bug

24 years agoA GtkFunction needs to return a value for deterministic behaviour. Also
Elliot Lee [Wed, 3 Nov 1999 15:57:16 +0000 (15:57 +0000)]
A GtkFunction needs to return a value for deterministic behaviour. Also

A GtkFunction needs to return a value for deterministic behaviour. Also put dot printing back in.

24 years agoRead 'til the next empty block correctly, now.
3 [Wed, 3 Nov 1999 05:12:02 +0000 (05:12 +0000)]
Read 'til the next empty block correctly, now.

1999-11-03    <jrb@redhat.com>

* src/io-gif.c (gif_get_extension): Read 'til the next empty block
correctly, now.

24 years agoSync to laptop - Federico
Arturo Espinosa [Wed, 3 Nov 1999 03:16:21 +0000 (03:16 +0000)]
Sync to laptop - Federico

24 years agosrc/gdk-pixbuf-drawable.c: Changed the behavior to return NULL if part of
Cody Russell [Wed, 3 Nov 1999 00:37:40 +0000 (00:37 +0000)]
src/gdk-pixbuf-drawable.c: Changed the behavior to return NULL if part of
the requested image is offscreen, rather than clipping the image.

24 years agoFill in the gif's blank areas for interlacing and progressive loading.
Jonathan Blandford [Wed, 3 Nov 1999 00:20:27 +0000 (00:20 +0000)]
Fill in the gif's blank areas for interlacing and progressive loading.

1999-11-02  Jonathan Blandford  <jrb@redhat.com>

* src/io-gif.c (gif_fill_in_lines): Fill in the gif's blank areas
for interlacing and progressive loading.

24 years agosrc/gdk-pixbuf-drawable.c (gdk_pibxuf_from_drawable_core): Now calls
Cody Russell [Tue, 2 Nov 1999 23:59:03 +0000 (23:59 +0000)]
src/gdk-pixbuf-drawable.c (gdk_pibxuf_from_drawable_core): Now calls
gdk_pixbuf_new_from_art_pixbuf() instead of gdk_pixbuf_new().

24 years agoNow progressive gif loading works! It's a little slow though. )-:
Jonathan Blandford [Tue, 2 Nov 1999 23:49:22 +0000 (23:49 +0000)]
Now progressive gif loading works! It's a little slow though. )-:

1999-11-02  Jonathan Blandford  <jrb@redhat.com>

* src/io-gif.c (gif_main_loop): Now progressive gif loading works!
It's a little slow though. )-:

24 years agoMake the arguments to the write/load_increment operations const-correct.
Elliot Lee [Tue, 2 Nov 1999 23:44:32 +0000 (23:44 +0000)]
Make the arguments to the write/load_increment operations const-correct.

* src/gdk-pixbuf-loader.[ch], src/gdk-pixbuf-io.h: Make the arguments to the
write/load_increment operations const-correct.

24 years agoImplemented the ::point() method. We do a simple containment test instead
Federico Mena Quintero [Tue, 2 Nov 1999 23:11:09 +0000 (23:11 +0000)]
Implemented the ::point() method. We do a simple containment test instead

1999-11-02  Federico Mena Quintero  <federico@redhat.com>

* src/gnome-canvas-pixbuf.c (gnome_canvas_pixbuf_point):
Implemented the ::point() method.  We do a simple containment test
instead of a full distance calculation since the canvas is going
to change to that scheme, anyways.

24 years agoAllow using $TBF_READLEN to specify the size of the chunks that are read
Elliot Lee [Tue, 2 Nov 1999 22:01:43 +0000 (22:01 +0000)]
Allow using $TBF_READLEN to specify the size of the chunks that are read

* src/testpixbuf.c: Allow using $TBF_READLEN to specify the size of the chunks that are read from
the input file.

24 years agoAlways return the amount eaten, rather than the full header size.
Elliot Lee [Tue, 2 Nov 1999 21:49:46 +0000 (21:49 +0000)]
Always return the amount eaten, rather than the full header size.

Always return the amount eaten, rather than the full header size.

24 years agoReturn TRUE if all the data got eaten by header_buf, instead of FALSE.
Elliot Lee [Tue, 2 Nov 1999 20:20:05 +0000 (20:20 +0000)]
Return TRUE if all the data got eaten by header_buf, instead of FALSE.

Return TRUE if all the data got eaten by header_buf, instead of FALSE.

24 years agoadd aa render function. (gnome_canvas_pixbuf_class_init): add
Larry Ewing [Tue, 2 Nov 1999 19:43:48 +0000 (19:43 +0000)]
add aa render function. (gnome_canvas_pixbuf_class_init): add

1999-11-02  Larry Ewing  <lewing@gimp.org>

* src/gnome-canvas-pixbuf.c (gnome_canvas_pixbuf_render): add aa
render function.
(gnome_canvas_pixbuf_class_init): add gnome_canvas_pixbuf_render
to class.

24 years agoSync for Larry - Federico
Arturo Espinosa [Tue, 2 Nov 1999 19:31:11 +0000 (19:31 +0000)]
Sync for Larry - Federico

24 years agochangelog
Michael Fulbright [Tue, 2 Nov 1999 18:26:51 +0000 (18:26 +0000)]
changelog

24 years agorevert
Elliot Lee [Tue, 2 Nov 1999 17:17:00 +0000 (17:17 +0000)]
revert

24 years agoReorganize gdk_pixbuf_loader_write into three functions, and eliminate
Elliot Lee [Tue, 2 Nov 1999 16:10:25 +0000 (16:10 +0000)]
Reorganize gdk_pixbuf_loader_write into three functions, and eliminate

* src/gdk-pixbuf-loader.c: Reorganize gdk_pixbuf_loader_write into three functions, and eliminate
duplication of code from write() and close(). Also fix bug where the 128-byte header was being
written twice.

24 years agoFixed bounding box computation.
Federico Mena Quintero [Tue, 2 Nov 1999 02:17:06 +0000 (02:17 +0000)]
Fixed bounding box computation.

1999-11-01  Federico Mena Quintero  <federico@redhat.com>

* src/gnome-canvas-pixbuf.c (recompute_bounding_box): Fixed
bounding box computation.

24 years agoSync - Federico
Arturo Espinosa [Tue, 2 Nov 1999 01:50:41 +0000 (01:50 +0000)]
Sync - Federico

24 years agoStart of the pixbuf canvas item. Drawing affines seem to work. Bounding
Federico Mena Quintero [Tue, 2 Nov 1999 01:50:06 +0000 (01:50 +0000)]
Start of the pixbuf canvas item. Drawing affines seem to work. Bounding

1999-11-01  Federico Mena Quintero  <federico@redhat.com>

* src/gnome-canvas-pixbuf.c: Start of the pixbuf canvas item.
Drawing affines seem to work.  Bounding box is fubared.  ::point()
is not implemented.  This is a work in progress.

* src/Makefile.am: Added gnome-canvas-pixbuf.[ch] to the list of
sources.

* configure.in: Sigh.  We need to link in libgnomeui for the
canvas stuff.  This mess will disappear when gdk-pixbuf gets
folded into gnome-libs.

24 years agolots of lots of work. USE AT YOUR OWN RISK
Jonathan Blandford [Tue, 2 Nov 1999 01:17:41 +0000 (01:17 +0000)]
lots of lots of work.  USE AT YOUR OWN RISK

24 years agoSync to desktop - Federico
Arturo Espinosa [Mon, 1 Nov 1999 19:09:20 +0000 (19:09 +0000)]
Sync to desktop - Federico

24 years agomuch more work on the progressive loader.
Jonathan Blandford [Mon, 1 Nov 1999 13:26:03 +0000 (13:26 +0000)]
much more work on the progressive loader.
somewhere, some how, I broke something, )-: so all you get is a black
image.  Hopefully, we can load the real image later.

24 years agoAdd new keysyms from X11R6.4 (including EuroSign).
Tor Lillqvist [Sun, 31 Oct 1999 21:35:39 +0000 (21:35 +0000)]
Add new keysyms from X11R6.4 (including EuroSign).

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

* gdk/gdkkeysyms.h: Add new keysyms from X11R6.4 (including
EuroSign).

* gdk/gdktypes.h: Add note about wchar_t not necessarily being the
same type as GdkWChar, especially on Win32.

* gdk/win32/*.c: Change gdk_root_parent to be a pointer.

* gdk/win32/*.c: Assume all strings are UTF-8. Convert to Unicode
before passing to Windows GDI for drawing etc. Convert to the
system default codepage before passing to Windows as window
titles.

* gdk/win32/gdkprivate.h: Add more fields to GdkWindowPrivate to
support changing input locale on the fly.

* gdk/win32/gdkevent.c: Support input language (keyboard locale)
on-the-fly changes. Convert incoming characters from the current
codepage to Unicode (and then to a UTF-8 multi-byte string) based
on the current input language. Use keysym<->Unicode mapping tables
and functions borrowed from xterm sources.

Support IMEs (Input Method Editors) for CJK languages. On non-CJK
editions of Win9x, use the ActiveX-based Active IMM (Input Method
Manager) if available. IMEs and the Active IMM are available under
the disguise of Chinese, Korean and Japanese support for IE and
Outlook Express from "Windows Update" for Win98. On Win2k, the CJK
support is present in all editions (as long as you install it).

Call DispatchMessage from gdk_events_queue() (and thus
gdk_WindowProc()), instead of duplicating the code in
gdk_WindowProc().

Reworked the grab handling and propagation code, factored out
duplicated code snippets into separate functions. Other cleanups,
too.

* gdk/win32/surrogate-dimm.h: Provide just the bits we need from
the <dimm.h> header describing the Active IMM.

* gdk/win32/gdkfont.c: Pretend to support fontsets, but so far
just do the same as for "single" fonts.

* gdk/win32/gdk.c: Call CoInitialize() (COM initialisation) from
gdk_init_check, and CoUninitialize() from gdk_exit_func. Handle
the new keysyms from gdkkeysyms.h.

* gtk/gtkfontsel.c (Win32): Load the font for the preview as a
fontset, so that gtkentry uses wide characters.

* gtk/gtkrc.c (Win32): Get the locale with gwin_getlocale(). Call
GTk+'s system directory "gtk+", not "gtk".

24 years agoComments.
Tor Lillqvist [Sun, 31 Oct 1999 20:30:20 +0000 (20:30 +0000)]
Comments.