1. 24 Jul, 2000 3 commits
    • Elliot Lee's avatar
      (Part 2) Remove gdk_*_lookup() defines, since they are defined by the · 6d7a643f
      Elliot Lee authored
      
      
      (Part 2)
      	* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
      	individual backends already.
      	* gdk/gdkregion-generic.h, gdk/gdktypes.h: Put gdkregionbox & gdksegment back together
      	again. Yes, there really is a good reason for this, if you are using the gdkregion
      	internals, and if you're not, why do you care?
      	* gdk/gdkwindow.c: Fix inverted condition
      	* gdk/linux-fb: Compiles (for me - it will not work elsewhere most likely).
      	* gtk/gtkcolorsel.c, gtk/gtkwindow.c: Add include for linux-fb
      	* gtk/gtkrange.c: Redraw trough when moving.
      	* gtk/gtktypeutils.c: Fix warning by adding const cast.
      	* modules/linux-fb/basic.c: Fix unknown glyph retrieval.
      6d7a643f
    • Elliot Lee's avatar
      Part 1 of a multipart commit · 72aa0d66
      Elliot Lee authored
      
      
      Part 1 of a multipart commit
      72aa0d66
    • Szabolcs BAN's avatar
      Updated Hungarian translations. · 824bc30f
      Szabolcs BAN authored
      2000-07-24  Szabolcs BAN <shooby@gnome.hu>
      
      	* hu.po: Updated Hungarian translations.
      824bc30f
  2. 23 Jul, 2000 2 commits
    • Tor Lillqvist's avatar
      46587958
    • Tor Lillqvist's avatar
      More work on GDK for Win32. Still in an intermediate state. · 20b5d8ec
      Tor Lillqvist authored
      2000-07-23  Tor Lillqvist  <tml@iki.fi>
      
      	More work on GDK for Win32. Still in an intermediate state.
      
      	* gdk/makefile.cygwin
      	* gdk/win32/makefile.cygwin: Removed.
      
      	* gdk/makefile.mingw.in
      	* gdk/win32/makefile.mingw.in: New files.
      
      	* gdk/Makefile.am
      	* gdk/win32/Makefile.am: Generate and distribute them.
      
      	* gdk/win32/gdkwindow-win32.h
      	* gdk/win32/gdkdrawable-win32.h
      	* gdk/win32/gdkpixmap-win32.h: New files.
      
      	* gdk/win32/gdkcolor-win32.c
      	* gdk/win32/gdkcursor-win32.c
      	* gdk/win32/gdkgc-win32.c
      	* gdk/win32/gdkimage-win32.c
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkwin32.h: Update data structures. Cosmetics:
      	don't use fields and variables called xcursor, xid, etc (leftovers
      	from the X11 backend).
      20b5d8ec
  3. 22 Jul, 2000 5 commits
    • Tor Lillqvist's avatar
      Check for mkstemp and sigsetjmp. Output gdk-pixbuf/makefile.mingw and · a52f7c34
      Tor Lillqvist authored
      2000-07-23  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Check for mkstemp and sigsetjmp. Output
      	gdk-pixbuf/makefile.mingw and gdk-pixbuf/pixops/makefile.mingw.
      a52f7c34
    • Tor Lillqvist's avatar
      Typos. · 85cca4f3
      Tor Lillqvist authored
      85cca4f3
    • Tor Lillqvist's avatar
      Win32 build setup: · 773aacf9
      Tor Lillqvist authored
      2000-07-23  Tor Lillqvist  <tml@iki.fi>
      
      	Win32 build setup:
      
      	* makefile.mingw.in
      	* pixops/makefile.mingw.in
      	* pixbuf_*.def: New files.
      
      	* Makefile.am
      	* pixops/Makefile.am: Add them. Add rule to generate makefile.mingw.
      
      	* gdk-pixbuf-io.c (gtk_win32_get_installation_directory):
      	New function, to get the GTK+ installation directory from
      	the Windows Registry, where the installation program
      	for whatever software includes GTK+ has stored it.
      
      	Used to avoid having hardcoding the directory where to look for
      	loaders. This function is needed by gtk, too, so it should
      	really be just in one place. Maybe a small static library
      	one level up from here?
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file)
      	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
      	Open file in binary mode. This *is* standard C. (No-op on Unix,
      	of course.)
      
      	* io-jpeg.c: If we don't HAVE_SIGSETJMP, use normal setjmp().
      
      	* io-tiff.c: Use g_get_tmp_dir(). If we don't HAVE_MKSTEMP, use
      	mktemp() and open().
      	(gdk_pixbuf__tiff_image_stop_load): g_free() also the tempname.
      
      	* pixops/*.S: The Gas from mingw32 doesn't like the .type
      	pseudo-op. Conditionalise on __MINGW32__, but probably
      	should conditionalise on Gas version instead? Or could we
      	do without .type on all systems?
      
      	* pixops/timescale.c: Use g_get_current_time()
      	instead of gettimeofday().
      773aacf9
    • Owen Taylor's avatar
      Fix some problems with vertical alignment. · a338544d
      Owen Taylor authored
      Sat Jul 22 17:41:26 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkentry.[ch]: Fix some problems with vertical
      	alignment.
      
      	* gtk/gtkentry.c (gtk_entry_find_position): Fix
      	char/byte confusion.
      a338544d
    • Owen Taylor's avatar
      Fix bug where redraw wasn't being done properly when height of dirty · 6a2c2edf
      Owen Taylor authored
      Sat Jul 22 11:16:05 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextview.c (changed_handler): Fix bug where
      	redraw wasn't being done properly when height of
      	dirty region changed.
      
      	* demos/Makefile.am: Remove various references to
      	-lgmodule
      
      	* Makefile.am (test_gdk_pixbuf_LDADD): Remove -lgmodule
      6a2c2edf
  4. 21 Jul, 2000 3 commits
    • Owen Taylor's avatar
      Use new PangoAttrShape to reserve space for pixmaps, add GSList *pixmaps · e6be8f3f
      Owen Taylor authored
      Fri Jul 21 15:28:13 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextlayout.[ch], gtk/gtktextdisplay.c: Use new
      	PangoAttrShape to reserve space for pixmaps, add
      	GSList *pixmaps to GtkTextLineDisplay, draw the pixmaps
      	in the display functions.
      
      	* gtk/testgtk.c (create_layout): Set some more exotic
      	scrolled window options
      
      	* gtk/gtkscrolledwindow.[ch] (gtk_scrolled_window_set_shadow_type):
      	Add function to set the shadow type of a window, to allow
      	putting a shadow around widgets such as GtkLayout or GnomeCanvas
      	which don't draw their own frame.
      e6be8f3f
    • BST 2000  Tony Gale's avatar
      New file for packaging DocBook format tutorial · fa5d7c77
      BST 2000 Tony Gale authored
      Fri Jul 21 16:34:42 BST 2000  Tony Gale <gale@gtk.org>
      
              * docs/tutorial/package-db-tutorial.sh: New file for
                packaging DocBook format tutorial
      fa5d7c77
    • BST 2000  Tony Gale's avatar
      Minor updates · a7ac5157
      BST 2000 Tony Gale authored
      Fri Jul 21 14:23:51 BST 2000  Tony Gale <gale@gtk.org>
      
              * docs/tutorial/gtk-tut.sgml: Minor updates
      
              * docs/tutorial/*.jpg *.eps: Screenshots for tutorial
      a7ac5157
  5. 20 Jul, 2000 1 commit
    • Tor Lillqvist's avatar
      Fix C++ comment. · 631205dd
      Tor Lillqvist authored
      2000-07-19  Tor Lillqvist  <tml@iki.fi>
      
      * gtk/gtksignal.c: Fix C++ comment.
      
      * gtk/gtkimmulticontext.c
      * gtk/gtktextbtree.c: Remove gccisms: Don't use __FUNCTION__,
      don't return value from void functions.
      
      * gtk/gtk.def: Add gtk_rc_style_unref.
      631205dd
  6. 19 Jul, 2000 2 commits
    • Sebastian Wilhelmi's avatar
      Include files outside of the extern "C" block. Makes some C++ compiler · 1e166c06
      Sebastian Wilhelmi authored
      
      2000-07-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gdk-pixbuf/gdk-pixbuf.h, gtk/gtkhsv.h, gtk/gtktextbtree.h,
      	gtk/gtktextbuffer.h, gtk/gtktextchild.h, gtk/gtktextdisplay.h,
      	gtk/gtktextiter.h, gtk/gtktextiterprivate.h, gtk/gtktextlayout.h,
      	gtk/gtktextmarkprivate.h, gtk/gtktextsegment.h, gtk/gtktexttag.h,
      	gtk/gtktexttagtable.h, gtk/gtktexttypes.h, gtk/gtktextview.h,
      	gtk/gtktypeutils.h: Include files outside of the extern "C"
      	block. Makes some C++ compiler happy. Reported by Denis Vakatov
      	<vakatov@peony.nlm.nih.gov>.
      
      	I really hope not to have caused a merging nightmare for all
      	the branches out there. Otherwise I'll be available for crucifixion.
      1e166c06
    • BST 2000  Tony Gale's avatar
      Yet more clean ups. Completes first pass. Hurrah! · 8ac34068
      BST 2000 Tony Gale authored
      Wed Jul 19 14:07:57 BST 2000  Tony Gale <gale@gtk.org>
      
              * docs/tutorial/gtk-tut.sgml: Yet more clean ups.
                Completes first pass. Hurrah!
      8ac34068
  7. 18 Jul, 2000 2 commits
    • Owen Taylor's avatar
      Updates to work with GTK+-2.0 theme engine architecture. It won't even · 2aa67df2
      Owen Taylor authored
      Tue Jul 18 12:13:19 2000  Owen Taylor  <otaylor@redhat.com>
      
              Updates to work with GTK+-2.0 theme engine architecture.
      	It won't even sort of work with GTK+-1.2 any more.
      
      	* configure.in src/Makefile.am: Look for GTK+-2.0,
      	install engine into GTK+-2.0 location.
      
      	* src/pixbuf-style.h src/pixbuf-rc-style.[ch]: New
      	files for GtkRcStyle and GtkStyle subclasses. Parsing,
      	etc, moves to pixbuf-rc-style.[ch]
      
      	* src/pixbuf-draw.c: Chain up to parent implementation
      	when images aren't found for a certain element.
      2aa67df2
    • BST 2000  Tony Gale's avatar
      More clean ups. · 18e2da33
      BST 2000 Tony Gale authored
      Tue Jul 18 17:17:55 BST 2000  Tony Gale <gale@gtk.org>
      
              * docs/tutorial/gtk-tut.sgml: More clean ups.
      18e2da33
  8. 17 Jul, 2000 3 commits
    • Owen Taylor's avatar
      Restore code to paint the background of the text area which was · b8dcd76c
      Owen Taylor authored
      Mon Jul 17 18:52:38 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_draw_text): Restore code to
      	paint the background of the text area which was accidentally
      	removed at some point.
      
      	* gtk/gtkrc.[ch] gtk/gtkstyle.[ch] gtk/gtkthemes.[ch]:
      
      	 - Move	most of the functionality from the theme vtable
      	   into GtkRcStyleClass and GtkStyleClass. The moved
      	   vtable functions were changed a bit in the move to
      	   work better in their new home.
      
      	 - Get rid of the engine and engine_data fields from
      	   GtkRcStyle and GtkStyle; instead the theme
      	   engine derives theme-specific subclasses of GtkRcStyle
      	   and GtkStyle
      
      	 - Add extra dlsym() found entry point to themes,
      	   theme_create_rc_style().
      
      	* gtk/gtkstyle.c: Copy xthickness, ythickness fields
      	in gtk_style_real_copy.
      
       	* gtk/themes.[ch]: add a function gtk_theme_engine_register_type()
      	to register a type associated with an engine. (The engine
      	won't be unloaded as there is an instance of the type.)
      b8dcd76c
    • BST 2000  Tony Gale's avatar
      Clean ups. · 2465ad85
      BST 2000 Tony Gale authored
      Mon Jul 17 18:19:06 BST 2000  Tony Gale <gale@gtk.org>
      
              * docs/tutorial/gtk-tut.sgml: Clean ups.
      2465ad85
    • BST 2000  Tony Gale's avatar
      Initial DocBook version. Lots of cleaning up to do. · 6c9b8cab
      BST 2000 Tony Gale authored
      Mon Jul 17 13:59:29 BST 2000  Tony Gale <gale@dera.gov.uk>
      
              * docs/tutorial/gtk-tut.sgml: Initial DocBook version. Lots
                of cleaning up to do.
      6c9b8cab
  9. 15 Jul, 2000 2 commits
  10. 14 Jul, 2000 6 commits
    • Owen Taylor's avatar
      Released 1.3.1 · 72fe20c1
      Owen Taylor authored
      Fri Jul 14 18:40:39 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* Released 1.3.1
      72fe20c1
    • Owen Taylor's avatar
      include <string.h>. · 32784eda
      Owen Taylor authored
      Sun Jul  9 21:31:23 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdk-pixbuf.c gtk/gdk-pixbuf-loader.c gtk/gtktextview.c:
      	include <string.h>.
      32784eda
    • Owen Taylor's avatar
      use FALSE for size_only most of the time when calling · 0bcf86c0
      Owen Taylor authored
      Fri Jul 14 16:21:26 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextlayout.c: use FALSE for size_only most
      	of the time when calling gtk_text_layout_get_line_display()
      	to avoid causing double reshapes when a redraw follows
      	immediately after.
      
      Tue Jul 11 11:13:40 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrange.c (gtk_range_default_[hv]slider_update): Invalidate
      	appropriate region and gdk_window_process_updates() so trough
      	updating doesn't lag behind the window being scrolled.
      
              * gdk/gdkgc.c: Make parent_class pointer static.
      
      Sun Jul  9 21:31:23 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdk-pixbuf.c gtk/gdk-pixbuf-loader.c gtk/gtktextview.c:
      	include <string.h>.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): Fix
      	cut-and-paste error in computing memory offset for 4 channels.
      0bcf86c0
    • Owen Taylor's avatar
      Remove gtk_rc_append_default_pixmap_path(), since it wasn't adding an · ed7408e1
      Owen Taylor authored
      Fri Jul 14 14:05:02 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrc.c (gtk_rc_parse_pixmap_path_string): Remove
      	gtk_rc_append_default_pixmap_path(), since it wasn't
      	adding an interesting path and we don't have a meaningful
      	default for this value.
      ed7408e1
    • Owen Taylor's avatar
      Move gtk-config to gtk-config-2.0 move gtk_.m4 to gtk-2.0.m4 · bb268900
      Owen Taylor authored
      Fri Jul 14 12:22:49 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in Makefile.am gtk-config.m4 gtk.m4: Move
      	gtk-config to gtk-config-2.0 move gtk_.m4 to
      	gtk-2.0.m4
      
      	* Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am
      	gdk/Makefile.am demos/Makefile.am: Change
      	library names to libgtk-1.3.la, etc, so that we
      	can distinguish gtk-1.2 and gtk-2.0 on the linkline.
      
      	* Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am
      	gdk/Makefile.am gdk/x11/Makfile.am
      	Move include files into /usr/include/gtk-2.0,
      	/usr/lib/gtk-2.0/include/
      
      	* autogen.sh acconfig.h configure.in gtk/gtkmain.c
      	gtk/gtkintl.h: Change package for gettext from
      	gtk+ to gtk20. Put hack in autogen.sh to modify
      	po/Makefile.in.in after gettextize to make this
      	possible.
      
      	* gtk+.spec: Some updates, not tested.
      
      	* gdk-pixbuf/Makefile.am: Move loaders into
      	$(libdir)/gtk-2.0/$(GTK_VERSION)/loaders.
      
      	* gtk/Makefile.am gtk/gtkrc.c: Move RC file locations
      	$(sysconfdir)/gtk-2.0 ~/.gtkrc-2.0; theme subdir
      	to THEMENAME/gtk-2.0/. Move engine directory  to
      	$(libdir)/gtk-2.0/$(GTK_VERSION)/engines.
      bb268900
    • Valek Frob's avatar
      Updated russian translation. · 93327480
      Valek Frob authored
      93327480
  11. 13 Jul, 2000 1 commit
  12. 12 Jul, 2000 2 commits
  13. 11 Jul, 2000 6 commits
    • Tor Lillqvist's avatar
      gdk/win32/gdkcolor-win32.c gdk/win32/gdkprivate-win32.h Changes to make · 1f581a96
      Tor Lillqvist authored
      2000-07-12  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkcc-win32.c:
      * gdk/win32/gdkcolor-win32.c
      * gdk/win32/gdkprivate-win32.h
      * gdk/win32/gdkwin32.h: Changes to make compilable, with new
      GDK object structure.
      1f581a96
    • Tor Lillqvist's avatar
      Win32 changes, still doesn't build though. · 28239637
      Tor Lillqvist authored
      2000-07-12  Tor Lillqvist  <tml@iki.fi>
      
      Win32 changes, still doesn't build though.
      
      * gdk/makefile.cygwin
      * gdk/win32/makefile.cygwin
      * gtk/makefile.cygwin: Updates.
      
      * gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Use the same
      default values for fg and bg pixel as X11 does (0 and 1), not
      black and white. Use PS_ENDCAP_FLAT and PS_JOIN_MITER by default.
      Use 0 for pen width by default (treated as 1 anyway later, but for
      apps that might check the value in the GdkGC).
      (gdk_win32_hdc_get, gdk_win32_hdc_release): New functions, public
      interface to gdk_gc_predraw and _postdraw.
      
      * gdk/win32/gdkwin32.h
      * gdk/gdk.def: Add gdk_win32_hdc_{get,release}.
      
      * gdk/win32/gdkcolor-win32.c (gdk_colormap_alloc1): Remove
      extraneous semicolon.
      
      * gdk/win32/gdkdrawable-win32.c: Check also for pen_width == 0.
      
      * gdk/win32/gdkimage-win32.c (gdk_image_new): Use the visual's depth,
      not the Win32 bitspixel value.
      28239637
    • Tim Janik's avatar
      scratched notion of completely outdated email adress: · 5fc10608
      Tim Janik authored
      Tue Jul 11 20:59:35 2000  Tim Janik  <timj@gtk.org>
      
              * docs/tutorial/gtk_tut_12.es.sgml (name):
              * docs/tutorial/gtk_tut_it.sgml (name):
              * docs/tutorial/gtk_tut_fr.sgml (name):
              * docs/tutorial/gtk_tut.sgml (name): scratched notion of completely
              outdated email adress: s/timj@psynet.net/timj@gtk.org/.
      5fc10608
    • BST 2000  Tony Gale's avatar
      Cleanup indenting and various small changes. · 30973dd7
      BST 2000 Tony Gale authored
      Tue Jul 11 13:10:57 BST 2000  Tony Gale <gale@gtk.org>
      
              * docs/faq/gtk-faq.sgml: Cleanup indenting and various
                small changes.
      30973dd7
    • Tim Janik's avatar
      eek, i've never seen a bug here, never been here and never fixed anything · fc5ee925
      Tim Janik authored
      Tue Jul 11 08:04:58 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktree.c (gtk_real_tree_select_child): eek, i've never seen
              a bug here, never been here and never fixed anything ;(
              (don't segfault if tree->root_tree is NULL, which happens prior
              to widget realization, but puke instead).
      fc5ee925
    • Tim Janik's avatar
      add xthickness and ythickness to GtkRcStyle and add the necessary tokens. · 64911ddc
      Tim Janik authored
      Tue Jul 11 06:38:42 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkrc.h: add xthickness and ythickness to GtkRcStyle and
              add the necessary tokens.
      
              * gtk/gtkrc.c (gtk_rc_style_init): properly initiality the rc style.
              (gtk_rc_style_to_style): copy thicknesses.
              (gtk_rc_init_style): apply thicknesses.
              (gtk_rc_parse_style): parse xthickness and ythickness.
      
              * gdk/x11/gdkdnd-x11.c: silence compiler in switch() statements.
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new):
              (gdk_window_new):
              (_gdk_windowing_window_init):
              * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new):
              (gdk_pixmap_create_from_data):
              (gdk_bitmap_create_from_data):
              (gdk_pixmap_new):
              * gdk/x11/gdkimage-x11.c (gdk_image_get):
              (gdk_image_new):
              * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new):
              * gdk/x11/gdkdnd-x11.c (gdk_drag_context_new):
              * gdk/x11/gdkcolor-x11.c (gdkx_colormap_get):
              (gdk_colormap_get_system):
              (gdk_colormap_new):
              * gdk/gdkwindow.c (gdk_window_init):
              * gtk/gtkstyle.c (gtk_style_new):
              * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done):
              * gdk/gdkpixmap.c (gdk_pixmap_init):
              * gtk/gtkrc.c (gtk_rc_style_new):
              use g_object_new() instead of g_type_create_instance() which
              is a private function for fundamental type implementations.
      
      Tue Jul 11 06:20:14 2000  Tim Janik  <timj@gtk.org>
      
              * io-gif.c (gdk_pixbuf__gif_image_load_animation):
              * gdk-pixbuf-data.c (gdk_pixbuf_new_from_data):
              * gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
              use g_object_new() instead of g_type_create_instance() which
              is a private function for fundamental type implementations.
      64911ddc
  14. 10 Jul, 2000 1 commit
  15. 09 Jul, 2000 1 commit
    • Owen Taylor's avatar
      Add -Wall for gcc. · 06df244d
      Owen Taylor authored
      Sun Jul  9 18:15:58 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in (ACLOCAL): Add -Wall for gcc.
      
      	* src/pixbuf-render.c (pixbuf_render): Fix problem
      	using gdk_rectangle_intersect() from GTK+-1.2.
      
      	* src/pixbuf-render.c src/pixbuf-draw.c: Remove
      	direct access to pixbuf internals.
      06df244d