1. 01 Aug, 2000 1 commit
  2. 31 Jul, 2000 5 commits
    • Owen Taylor's avatar
      Fix problem where computation was depending on widget->allocation instead · e9a03443
      Owen Taylor authored
      Mon Jul 31 18:37:36 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkentry.c (entry_adjust_scroll): Fix problem where computation
      	was depending on widget->allocation instead of the width of text_area,
      	which was incorrect for subclasses like GtkSpinButton.
      
      	* gdk/gdkpango.c (gdk_draw_layout): Fix a couple of typos
      	with width == 1 tests that should be width == -1.
      e9a03443
    • Owen Taylor's avatar
      Replace broken, (broken, Elliot, every single window blank on X) custom · 44afc537
      Owen Taylor authored
      Mon Jul 31 16:45:48 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
      	(broken, Elliot, every single window blank on X) custom code with call
      	to gdk_window_is_viewable() which a) prevents code duplicate and
      	b) works.
      44afc537
    • Elliot Lee's avatar
      We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT() · d9e05d70
      Elliot Lee authored
      
      
      * gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT()
      macro to work.
      * gtk/gtkmarshal.list: Add NONE:STRING,POINTER
      * gdk/gdkwindow.c: Don't send expose events, or invalidate pieces of, windows that aren't shown.
      * gdk/linux-fb: Redraw-when-menu-hidden solved, plus a bunch of pointer grab stuff.
      d9e05d70
    • BST 2000  Tony Gale's avatar
      s/gtk_main_iteration/g_main_iteration/ · 621639b7
      BST 2000 Tony Gale authored
      Mon Jul 31 13:53:16 BST 2000  Tony Gale <gale@gtk.org>
      
              * docs/gtkfaq.sgml docs/gtk-faq.sgml:
                s/gtk_main_iteration/g_main_iteration/
      
                Did this already in change:
                      Mon Nov 15 17:17:51 GMT 1999 Tony Gale  <gale@gtk.org>
                don't know how it got reverted.
      621639b7
    • Stanislav Brabec's avatar
      #ifdef G_ENABLE_DEBUG around gdk_arg_debug_cb and gdk_arg_no_debug_cb to · e4d140d5
      Stanislav Brabec authored
      2000-07-31  Stanislav Brabec  <utx@penguin.cz>
      
              * gdk/gdk.c: #ifdef G_ENABLE_DEBUG around gdk_arg_debug_cb and
              gdk_arg_no_debug_cb to fix compilation problem with --disable-debug.
      
              * gdk/Makefile.am: Link gdk against actually compiled gdk_pixbuf-1.3,
              not gdk_pixbuf.
      e4d140d5
  3. 30 Jul, 2000 2 commits
    • Pablo Saratxaga's avatar
      updated Serbian files · 3d8f790e
      Pablo Saratxaga authored
      3d8f790e
    • Tor Lillqvist's avatar
      Add makefile.mingw.in to EXTRA_DIST. · 471396fd
      Tor Lillqvist authored
      2000-07-30  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/Makefile.am: Add makefile.mingw.in to EXTRA_DIST.
      
      	* gdk/win32/gdkevents-win32.c (gdk_events_init, gdk_events_queue):
      	Remove the g_pipe_readable_msg stuff. Not needed with new GLib
      	GIOChannel implementation.
      
      	* gdk/win32/gdkinput.c
      	* gdk/win32/gdkpango-win32.c: Update license name here, too.
      
      	* gdk/win32/gdkwin32id.c (gdk_win32_handle_table_lookup): Fix
      	definition to match prototype.
      
      	* gtk/makefile.mingw.in: Add libiconv CFLAGS and LIBS.
      471396fd
  4. 28 Jul, 2000 3 commits
    • Kenneth Christiansen's avatar
      minor fix · 9ff07fda
      Kenneth Christiansen authored
      9ff07fda
    • Elliot Lee's avatar
      Part 2 of previous commit (aka "it compiles now, ma") · 9d72f811
      Elliot Lee authored
      
      
      Part 2 of previous commit (aka "it compiles now, ma")
      9d72f811
    • Elliot Lee's avatar
      Add gdk_pixbuf_loader_new_with_type function, to allow handling image · 3ddaa735
      Elliot Lee authored
      
      
      2000-07-27  Elliot Lee  <sopwith@redhat.com>
      
      	* gtk/gdk-pixbuf-loader.[ch]: Add gdk_pixbuf_loader_new_with_type
      	function, to allow handling image formats that cannot be detected
      	by looking at content alone.
      
      gdk-pixbuf/
      2000-07-27  Elliot Lee  <sopwith@redhat.com>
      	* gdk-pixbuf-io.h, gdk-pixbuf-io.c: Add gdk_pixbuf_get_named_module() function to facilitate above change
      	* io-bmp.c: Don't malloc a temporary buffer - use stack instead.
      	* io-wbmp.c, pixbufloader_wbmp.defs, gdk-pixbuf-io.c, Makefile: Implement loader for WBMP format.
      
      **NOTE: I haven't tested this yet, I need to sync it to another machine, but it if it is broken
      I'm already working on fixing it
      3ddaa735
  5. 27 Jul, 2000 3 commits
  6. 26 Jul, 2000 5 commits
  7. 25 Jul, 2000 7 commits
    • Havoc Pennington's avatar
      update to reflect text widget changes. · a4762fbf
      Havoc Pennington authored
      2000-07-25  Havoc Pennington  <hp@redhat.com>
      
      * gtk/testtext.c, gtk/testtextbuffer.c: update to reflect text
      widget changes.
      
      * gtk/gtktextview.h: To be consistent with usage of "line"
      throughout the API to mean "newline-terminated thingy", change
      MOVEMENT_LINE to be MOVEMENT_WRAPPED_LINE, and MOVEMENT_PARAGRAPH
      to MOVEMENT_LINE.
      
      (GtkTextView): Add flags for default editability, and whether to
      show the cursor. Add functions to get/set that. Add
      
      (gtk_text_view_get_iter_location): new function
      
      * gtk/gtktexttypes.h: Move GtkTextLine typedef from here to
      gtktextlayout.h
      (g_convert): Add g_convert temporarily, will go in glib in a bit
      
      * gtk/gtktexttagtable.h: include gtktexttag.h, and define
      GtkTextTagTableForeach instead of brokenly using GHFunc.
      Change gtk_text_tag_table_foreach() so it doesn't use GHFunc.
      
      * gtk/gtktexttagprivate.h: Remove GtkTextStyleValues from here,
      moved to public header.
      
      * gtk/gtktexttag.h: Rename the "elide" attribute of tags to
      "invisible", since "elide" was a bad name.
      (gtk_text_tag_get_priority): Added
      
      (GtkTextStyleValues): put this in public header, along with
      functions to use it.
      
      * gtk/gtktextmarkprivate.h: Include more headers, since we no
      longer include gtktextbtree.h.
      
      * gtk/gtktextmark.h: Add gtk_text_mark_ref, gtk_text_mark_unref,
      gtk_text_mark_deleted
      
      * gtk/gtktextlayout.h: Don't include the "really private" headers,
      only buffer/iter. Forward declare GtkTextLIne and GtkTextLineData
      to make this possible. Now we only need to install
      gtktextlayout.h, not gtktextbtree.h and gtktext*private.h.
      (However the Makefile.am isn't changed yet because of the
      logistics of merging gtk-hp-patches piecemeal)
      
      * gtk/gtktextiterprivate.h: include btree header, so it compiles;
      rename gtk_text_iter_get_line to gtk_text_iter_get_text_line since
      gtk_text_iter_get_line is now used in the public API for a
      different purpose.
      
      * gtk/gtktextiter.h: Clean up function names to be more
      consistent. Always call char offset "offset" and byte index
      "index". A "line" is always a line number.
      
      (gtk_text_iter_is_last): new function, more efficient than
      the existing way to check
      (gtk_text_iter_is_first): new function, also more efficient
      
      (gtk_text_iter_up_lines, gtk_text_iter_down_lines): Remove these
      
      (gtk_text_iter_next_char, gtk_text_iter_prev_char): Renamed from
      gtk_text_iter_forward_char, etc.
      
      (gtk_text_iter_forward_to_tag_toggle): Renamed from
      forward_find_tag_toggle, since this isn't a linear search
      
      (GtkTextCharPredicate): rename from GtkTextViewCharPredicate
      
      (gtk_text_iter_forward_search, gtk_text_iter_backward_search):
      New functions, search for a buffer substring.
      
      * gtk/gtktextbuffer.h: Add fields to store whether a paste is
      interactive and default editable (since we need to store that info
      until we receive the selection data).
      
      Remove all the _at_char and at_line etc. versions of functions;
      only have iterator versions.
      
      Add _interactive() versions of functions, that consider the
      editability of text. (FIXME add interactive flag to the
      insert/delete signals per Darin's suggestion)
      
      (gtk_text_buffer_get_tag_table): new function, demand-creates the
      tag table if necessary
      
      Remove declaration of gtk_text_buffer_get_iter_from_string
      
      (_gtk_text_buffer_get_btree): private/internal function, added.
      
      
      * gtk/gtktextbtree.h: Remove forward decl of GtkTextLineData.
      (gtk_text_line_is_last): new function
      a4762fbf
    • Havoc Pennington's avatar
      Implement new sane, 5-function API for using GtkProgressBar. See · f56297c5
      Havoc Pennington authored
      2000-07-25  Havoc Pennington  <hp@redhat.com>
      
      * gtk/gtkprogressbar.h: Implement new sane, 5-function API for
      using GtkProgressBar. See Changes-2.0.txt for details.
      
      * gtk/gtkprogressbar.c: Add object arguments "fraction" and
      "pulse_step" which are the equivalent of
      gtk_progress_bar_set_pulse_step and gtk_progress_bar_set_fraction.
      Implement new API.
      
      * gtk/gtkprogress.h (struct _GtkProgress): Add a field
      (use_text_format) to mark whether text set on the progress bar is
      a format string. Deprecate entire GtkProgress interface.
      
      * gtk/gtkprogress.c (gtk_progress_init): init use_text_format to TRUE
      (gtk_progress_build_string): make this a no-op if use_text_format
      is FALSE
      
      * docs/Changes-2.0.txt: Describe progress bar changes.
      f56297c5
    • Tor Lillqvist's avatar
      Generate gdk/, gdk/win32/, and gtk/makefile.mingw. · d1a4a1ea
      Tor Lillqvist authored
      	* configure.in: Generate gdk/, gdk/win32/, and gtk/makefile.mingw.
      d1a4a1ea
    • Tor Lillqvist's avatar
      Generate gtk/makefile.mingw. · 20e675e1
      Tor Lillqvist authored
      2000-07-25  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Generate gtk/makefile.mingw.
      
      	* config.h.win32: Add GETTEXT_PACKAGE.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Updates.
      
      	* gdk/gdkfont.h
      	* gdk/gdkpixmap.h: Remove temporary Win32-only functions, we don't
      	need them any longer.
      
      	* gdk/gdkinput.h: Mark gdk_core_pointer for export/import.
      
      	* gdk/win32/*.c: More work.
      
      	* gdk/win32/gdkpango-win32.c: New file.
      
      	* gtk/makefile.mingw.in: New file
      
      	* gtk/makefile.cygwin: Removed
      
      	* gtk/Makefile.am: Update accordingly.
      
      	* gtk/gtkmain.c: Use gtk_win32_get_installation_directory().
      
      	* gtk/gtktextdisplay.c: No need to include pangox.h, pango.h
      	is enough.
      
      	* gtk/gtktypeutils.c: Mark glib_debug_objects for import.
      20e675e1
    • Tor Lillqvist's avatar
      Include the build directory. · 5ac61d3e
      Tor Lillqvist authored
      2000-07-25  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am: Include the build directory.
      
      	* configure.in: Generate build/Makefile and build/win32/Makefile.
      
      	* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Updates.
      
      	* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
      	PANGOWIN32_LIBS and gdk_pixbuf.
      
      	* gdk/win32: Compiles, but no doubt doesn't work at all.
      
      	* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
      
      	* gdk/win32/gdkinput.c: New file, temporarily.
      
      	* gdk/win32/gdkinput-win32.h: New file
      
      	* gdk/win32/gdkinputprivate.h: Remove.
      
      	* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
      	made externally visible.
      5ac61d3e
    • Tor Lillqvist's avatar
      *** empty log message *** · 37e80986
      Tor Lillqvist authored
      37e80986
    • Tor Lillqvist's avatar
      makefile.cygwin Renamed. Use iconv, not native2ascii. · 1623b0fc
      Tor Lillqvist authored
      2000-07-25  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.cygwin
      	* makefile.mingw: Renamed. Use iconv, not native2ascii.
      1623b0fc
  8. 24 Jul, 2000 4 commits
    • Elliot Lee's avatar
      revert · 838e2f34
      Elliot Lee authored
      
      
      revert
      838e2f34
    • 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
  9. 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
  10. 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
  11. 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