1. 28 Nov, 1998 1 commit
    • Tim Janik's avatar
      deprecated gtk_widget_freeze_accelerators and · 58af2b56
      Tim Janik authored
      Sat Nov 28 00:06:49 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: deprecated gtk_widget_freeze_accelerators and
              gtk_widget_thaw_accelerators, we provide gtk_widget_lock_accelerators
              and gtk_widget_unlock_accelerators.
      
              * gtk/gtklayout.h:
              * gtk/gtklayout.c: implemented incremental freezing facility.
      
              * gtk/gtktext.h:
              * gtk/gtktext.c: implemented incremental freezing facility.
      
              * gtk/gtkenums.h:
              * gtk/gtkaccelgroup.h: moved enum GtkAccelFlags into this place.
      
              * gtk/gtkentry.h:
              * gtk/gtkentry.c:
              deprecated gtk_entry_adjust_scroll().
      
              * random GtkType, macro and indentation fixes.
      
      Fri Nov 27 22:50:15 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.h:
              * gtk/gtkclist.c: implemented incremental freezing facility, added
              a new class member (*refresh)() which takes over the thaw
              functionality. the clist FROZEN flag got removed on the way.
              * gtk/gtkctree.c: adaptions to feature the clist refresh functionality
              and incremental freezing.
      
              * gtk/gtkcalendar.c: implemented incremental freezing facility.
      58af2b56
  2. 23 Nov, 1998 1 commit
  3. 06 Nov, 1998 1 commit
  4. 07 Oct, 1998 1 commit
    • Tim Janik's avatar
      removed all occourances of #pragma } and #pragma { which were in place to · 3322a264
      Tim Janik authored
      Wed Oct  7 05:15:36 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtk*.h:
              * gdk/gdk.h: removed all occourances of #pragma } and #pragma {
              which were in place to fixup emacs' cc-mode indentation.
              putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
              proper way to achive this and doesn't produce problems for
              stupid pragma-related compiler bugs. ;)
      3322a264
  5. 22 Jul, 1998 1 commit
    • Tim Janik's avatar
      introduce testbindings on C-1 for buttons, to check out binding · 8c56db61
      Tim Janik authored
      Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
              to check out binding priorities. someone should really write
              gtkrc-mode for emacs.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test.
              * gtk/testgtk.c (main): and move it here ;). this test says something
              on release of C-9. (this works only if the mouse pointer is on a
              spinbutton and there is no focus widget).
      
              * gtk/gtkrc.h:
              * gtk/gtkrc.c:
              export gtk_rc_parse_color, gtk_rc_parse_state and a new function
              gtk_rc_parse_priority to parse path priority types.
              export rc tokens.
              feature binding parsing.
      
      Wed Jul 22 23:41:17 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkbindings.h:
              * gtk/gtkbindings.c: new function gtk_binding_parse_binding() to
              feature binding parsing in rc files.
              * gtk/gtkbindings.c (gtk_binding_set_new): bug fix.
              * gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to
              order the bindings with lowest priority first.
      8c56db61
  6. 01 Jul, 1998 1 commit
  7. 21 May, 1998 2 commits
  8. 03 May, 1998 1 commit
    • Owen Taylor's avatar
      configure.in acheader.h gdk/gdkwindow.c Check for Shape extension both on · 4851efe2
      Owen Taylor authored
      Sun May  3 13:38:22 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* configure.in acheader.h gdk/gdkwindow.c
      	Check for Shape extension both on the client and server
      	side. (And, more importantly, check for the shape extension
      	so we may include -lXext even when compiling with --disable-xshm)
      
      	Don't set override_redirect on all shaped windows. It isn't
      	necessary.
      
      	* gdk/gdkwindow.c: Set ->colormap to NULL for root
      	and foreign windows. Use this to check if we
      	need to get the colormap from X.
      
      Fri May  1 22:32:47 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkbutton.c (gtk_button_paint): Draw the areas
      	between the default and the button always in GTK_STATE_NORMAL.
      
      	* gtk/gtkrange.c (gtk_range_style_set): Added a style_set
      	callback.
      
      Fri May  1 16:40:57 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
      	  Fix a buffer overflow on pixmaps that claim to have
      	  more than 31 characters per pixel.
      
      	  (gdk_pixmap_read_string): Don't wrap around strings longer
       	  than half of address space ;-)
      
      	* gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
      	that were used for printing integers.
      
      	* */* (almost):
      
      	Style: All
      	  int foo () { ... }
      	changed to
      	  int foo (void) { ... }
      
      ^^^^^^^ This is why some many files changed
      
      	Even where there were proper prototypes elsewhere.
      
      	* gdk/gxid.c (handle_claim_device): Some extra checks.
      	It isn't safe against being fed bad X id's, but at
      	least it should be safe against deleting all your
      	files.
      4851efe2
  9. 01 May, 1998 1 commit
    • Owen Taylor's avatar
      New function to reset the RC styles for a heirarchy · de210bbd
      Owen Taylor authored
      Fri May  1 12:06:43 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New
      	function to reset the RC styles for a heirarchy
      
              Clear the window background if necessary in
      	gtk_window_style_set.
      
      	* gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which
      	rereads all previously read RC files.
      
      	* gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels().
      	(Should it just be called gdk_get_toplevels?)
      
      	* gtk/testgtk.c: New test to reload RC files.
      de210bbd
  10. 13 Apr, 1998 1 commit
  11. 23 Dec, 1997 1 commit
    • Tim Janik's avatar
      new function. many functions adapted to use GScanner for scanning. · 2b2667e7
      Tim Janik authored
              * gtk/gtkrc.h (gtk_rc_parse_string): new function.
              * gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
              (gtk_rc_parse): use gtk_rc_parse_any for parsing.
              (gtk_rc_parse_string): new function to support parsing from
              strings, just calls gtk_rc_parse_any.
              (gtk_rc_parse_any): new function using GScanner as lexer.
      -timj
      2b2667e7
  12. 24 Nov, 1997 1 commit