1. 19 Aug, 2000 1 commit
    • Tor Lillqvist's avatar
      gdk/gdkimage.h No need any longer on Win32 for the shared memory · 617e17da
      Tor Lillqvist authored
      2000-08-20  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdkimage.h
      	* gdk/win32/gdkimage-win32.c: No need any longer on Win32 for the
      	shared memory image+pixmap GdkImage type, or
      	gdk_image_bitmap_new(). They were used in the gdk_imlib port, but
      	I am dropping that.
      
      	* gtk/gtkmain.h: On Win32, use a #define to map gtk_init() to
      	actually call gtk_init_abi_check(), passing also
      	sizeof(GtkWindow). Ditto for gtk_init_check().
      
      	* gtk/gtk.def
      	* gtk/gtkmain.c: (gtk_init_abi_check, gtk_init_check_abi_check):
      	New functions, used to check that the GTK+-using code has been
      	compiled using the correct compiler and switches. In particular,
      	with gcc one has to use the -fnative-struct switch as GTK+ is
      	compiled with that.
      617e17da
  2. 18 Aug, 2000 1 commit
  3. 12 Aug, 2000 2 commits
    • Tor Lillqvist's avatar
      gdk/gdk.def Add missing entries. · e0833cd5
      Tor Lillqvist authored
      2000-08-12  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Add missing entries.
      
      	* gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Use
      	OUT_TT_ONLY_PRECIS, try to get a TrueType font.
      
      	* gdk/win32/gdkinput-win32.c (gdk_device_get_state): New
      	function. Dummy implementation at this point.
      
      	* gtk/makefile.mingw.in: Fix typo. Add testtext and testtextbuffer
      	rules. Undefine GTK_COMPILATION when compiling the test programs.
      
      	* gtk/gtkdebug.h: Mark gtk_debug_flags for export/import.
      
      	* gdk_pixbuf.def: Add missing entry point.
      e0833cd5
    • Tor Lillqvist's avatar
      Add more calls to g_filename_{to,from}_utf8() to convert back and forth · b4d6a195
      Tor Lillqvist authored
      2000-08-11  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkfilesel.c: Add more calls to g_filename_{to,from}_utf8()
      	to convert back and forth from UTF-8 and the "system" (or "current
      	locale") charset when necessary. Indentation/spacing cleanup.
      b4d6a195
  4. 11 Aug, 2000 1 commit
    • Havoc Pennington's avatar
      Change the format of the snapshot version to match glib · fcc95150
      Havoc Pennington authored
      2000-08-10  Havoc Pennington  <hp@redhat.com>
      
      * Makefile.am (snapshot): Change the format of the snapshot
      version to match glib
      
      * gdk/win32/Makefile.am (EXTRA_DIST): remove gdkinputprivate.h
      from EXTRA_DIST since it doesn't seem to exist
      
      2000-08-10  Havoc Pennington  <hp@redhat.com>
      
      * Makefile.am (EXTRA_DIST): The *.def files had the wrong names
      (s/pixbuf_/pixbufloader_)
      fcc95150
  5. 09 Aug, 2000 1 commit
  6. 03 Aug, 2000 2 commits
  7. 02 Aug, 2000 1 commit
  8. 01 Aug, 2000 2 commits
    • Tor Lillqvist's avatar
      Check for <unistd.h>. · 7bc2cb6e
      Tor Lillqvist authored
      2000-08-02  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Check for <unistd.h>.
      
      2000-08-02  Tor Lillqvist  <tml@iki.fi>
      
      	* io-bmp.c
      	* io-ico.c
      	* io-ras.c
      	* io-tiff.c
      	* io-wbmp.c: Conditionalise inclusion of <unistd.h>.
      
      	* makefile.mingw.in: List loaders alphabetically. Add the wbmp
      	one. Fix names of DLLs to have '-' instead of '_'.
      7bc2cb6e
    • Martin Baulig's avatar
      Use g_message() and not g_warning() to display the message that this is a · d0893cc5
      Martin Baulig authored
      2000-08-01  Martin Baulig  <baulig@suse.de>
      
      	* gtk/gtkmain.c (gtk_init_check): Use g_message() and not g_warning()
      	to display the message that this is a development version of GTK+.
      d0893cc5
  9. 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
  10. 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
  11. 28 Jul, 2000 1 commit
    • 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
  12. 27 Jul, 2000 2 commits
  13. 26 Jul, 2000 5 commits
  14. 25 Jul, 2000 5 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
  15. 24 Jul, 2000 1 commit
    • 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
  16. 23 Jul, 2000 1 commit
    • 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
  17. 22 Jul, 2000 3 commits
  18. 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
  19. 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