summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove g_convert (moved to glib) and now useless utf_to_latin1()Owen Taylor2000-09-1420-973/+2072
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Sep 14 12:21:12 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtktexttypes.[ch]: Remove g_convert (moved to glib) and now useless utf_to_latin1() latin1_to_utf() * gtk/gtktextview.[ch]: Change ::move_insert and ::delete_text action signals to ::move and ::delete; create the signals with the right enumeration type, not GTK_TYPE_ENUM so that bindings work. Add C-d, M-d, C-v bindings, change Home, End to move to beginning/end of line, Add C-Home C-End to move to beginning/end of buffer. Change ::cut_text to ::cut_clipboard, etc; combine ::scroll_text into ::move; use new GtkSelectionData functions to simplify DND text handling. * gtk/gtkenums.h gtk/gtktextview.h: Move movement, deletion enumerations here, rename enumeration values to be consistently plural. * gtk/gtktextbuffer.c: Use new clipboard interfaces for cut/copy/paste and primary selection. * gtk/gtktextbuffer.[ch]: Remove excess time and 'interactive' arguments from cut/copy/paste; rename cut to cut_clipboard, etc; remove gtk_text_buffer_get_clipboard_contents(). * gtk/gtktextlayout.[ch]: Add gtk_text_layout_move_iter_to_line_end() to move the iter to line ends. * gtk/gtkselection.[ch] (gtk_selection_data_set/get_text): Functions to set or get a UTF-8 string on the selection data. * gtk/gtkclipboard.[ch]: New, simplified selection handling interfaces. * gtk/gtkinvisible.c (gtk_invisible_new): Realize newly created widgets - one of these is useless if we don't. * gtk/gtkselection.[ch] (gtk_selection_clear_targets): Export a public function clear all targets registered for the widget. * gtk/gtkselection.c (gtk_selection_owner_set) docs/Changes-2.0.txt: Never call gtk_widget_realize() - that was just asking for bizarre side-effects. * gtk/gtkselection.c (gtk_selection_owner_set): Call gdk_selection_owner_set even if the widget is the same so that we reliably update the timestamp on the server. * gdk/x11/gdkevents-x11.c gdk/x11/gdkx.h: Add a gdk_x11_get_server_time() function. * gdk/x11/gdkevents-x11.c gdk/x11/gdkprivate-x11.h gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.h: Add some tricky filtering on serial numbers for selection clear events to fix up long-standard race condition FIXME's in gtkselection.c. * gdk/gdkproperty.h gdk/x11/gdkselection-x11.h: Add routines to convert from utf8 to compound text or STRING and from a text property to UTF-8. * gtk/gtkmain.[ch] (gtk_get_current_event_time): Add a convenience function gdk_get_current_event_time(). * gtk/gtkselection.c (gtk_selection_data_copy/free): Copy and free selection_data->data properly
* Updates for new functionsOwen Taylor2000-09-146-41/+434
| | | | | | | | | | Thu Sep 14 12:38:33 2000 Owen Taylor <otaylor@redhat.com> * docs/reference/gdk/: Updates for new functions * docs/reference/gdk/tmpl/gtkclipboard.sgml docs/reference/gdk/tmpl/gtkselection.sgml: Updates and new information.
* Update to translations.Seán Ó Ceallaigh/Irish translations2000-09-091-4/+4
|
* gtk/gtktextdisplay.c gtk/gtktextlayout.c gtk/gtktexttag.c gtk/gtktexttag.hJonathan Blandford2000-09-0813-31/+101
| | | | | | | | | | | 2000-09-08 Jonathan Blandford <jrb@redhat.com> * gtk/gtktextdisplay.c * gtk/gtktextlayout.c * gtk/gtktexttag.c * gtk/gtktexttag.h * gtk/testtext.c: Change the overstrike property to strikethrough, to closer match pango.
* Fix up visibility so that focus, cursor_visible and blink interactOwen Taylor2000-09-0810-75/+259
| | | | | | | | | | | | | | | | | Fri Sep 8 14:28:00 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtktextview.c: Fix up visibility so that focus, cursor_visible and blink interact properly. Reenable cursor blink which had been roughly disabled. Make blink and focus properly per-view. * gtk/gtktextlayout.[ch] (gtk_text_layout_set_cursor_visible): Add a flag for whether to display insertion cursor and a function to set the flag. * gtk/gtktextlayout.c (gtk_text_layout_get_line_yrange): Change get_line_y() to get_line_yrange(), to be a bit more generally useful.
* in gtk_menu_set_submenu_navigation_region do stop_navigating_submenu, toGeorge Lebl2000-09-088-4/+52
| | | | | | | | | Thu Sep 07 20:54:33 2000 George Lebl <jirka@5z.com> * gtk/gtkmenu.c: in gtk_menu_set_submenu_navigation_region do stop_navigating_submenu, to clear last timeout properly. Also in gtk_menu_motion_notify move ignore_enter above the conditional to make it always happen as suggested by Owen
* Oops, cut&paste error.Tor Lillqvist2000-09-071-1/+1
|
* Use -Wall. Add gdkpango-win32.oTor Lillqvist2000-09-0715-183/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-07 Tor Lillqvist <tml@iki.fi> * gdk/win32/makefile.mingw.in: Use -Wall. Add gdkpango-win32.o * gdk/win32/gdkwin32.h: Add more definitions missing from the free w32api headers. * gdk/win32/gdkprivate-win32.h: Add a couple of missing declarations. * gdk/win32/gdkdrawable-win32.c: Remove gcc -Wall warnings. (gdk_win32_get_colormap): A line had been deleted by mistake. * gdk/win32/gdkevents-win32.c: Remove lint (gcc -Wall) here, too. (gdk_event_translate): Handle more virtual keycodes to be able to generate GDK events for Control-comma, Control-period, etc. * gtk/gtk.def: Add some missing entry points. 2000-09-07 Tor Lillqvist <tml@iki.fi> * makefile.mingw.in: Use own version number for gdk-pixbuf DLLs, like on Unix.
* add some new files for new sections of docsOwen Taylor2000-09-073-0/+437
|
* Move gtk-reference files into GTK+ tree proper.Owen Taylor2000-09-07117-6644/+13442
| | | | | | | | | | | Thu Sep 7 14:15:03 2000 Owen Taylor <otaylor@redhat.com> * gdk/* gtk/*: Move gtk-reference files into GTK+ tree proper. * Update sections.txt files to correspond to current code, tweak .sgml files and Makefiles to correspond. * gtk/tmpl/gtkradiomenuitem.sgml (this): Remove extra <para>
* Doc comment fixing. (Mostly non-matching parameter names.)Owen Taylor2000-09-0722-113/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Sep 7 11:47:02 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtktextbuffer.c gtk/gtkimcontext.c gtk/gtkwidget.c: Doc comment fixing. (Mostly non-matching parameter names.) * gtk/gtkcalendar.c gtk/gtklist.c gtk/gtknotebook.c: Modify comments a little to avoid looking like a doc comment. * gtk/gtkspinbutton.h (GTK_INPUT_ERROR): Change INPUT_ERROR to GTK_INPUT_ERROR. (Should the mechanism for erros in spin button conversions be changed to GError?) * gtk/gtkcolorsel.c (GTK_CUSTOM_PALETTE_WIDTH/HEIGHT): Move private #defines into .c file. * gtk/gtktexttag.c (gtk_text_tag_class_init): Alphabetize order of argument addition, remove duplicates. * gtk/gtkaspectframe.h (struct _GtkAspectFrameClass): parent class is FrameClass, not BinClass. * gtk/gtk.h: Add gtkinvisible, which was missing. (It's occasionalyl useful for client apps, if seldom.) * gdk/gdktypes.h: Remove obsolete GDK_CORE_POINTER #define.
* Remove conftest* after use along the lines of AC_TRY_COMPILE.Sebastian Wilhelmi2000-09-0515-2/+30
| | | | | | | | | 2000-09-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in (use_mmx_asm): Remove conftest* after use along the lines of AC_TRY_COMPILE. * .cvsignore updates
* Use g_path_get_dirname instead of g_dirname, which is deprecated.Sebastian Wilhelmi2000-09-0511-10/+103
| | | | | | | | | | | | | | | | 2000-09-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gtk/gtkrc.c (gtk_rc_parse_file): Use g_path_get_dirname instead of g_dirname, which is deprecated. (gtk_rc_parse_any): Removed calls to g_scanner_{freeze,thaw}_symbol_table, which are deprecated. * gtk/gtkbindings.c (binding_entry_new, binding_entry_destroy): Removed calls to g_hash_table_{freeze,thaw}, as they are deprecated now. * gtk/testtext.c (buffer_pretty_name): Use g_path_get_basename instead of g_basename.
* Put text after #endif inside a comment to avoid ANSI warning.Elliot Lee2000-09-048-1/+22
| | | | * gdk/gdkpixbuf.h: Put text after #endif inside a comment to avoid ANSI warning.
* Add some documenting comments about GTK_CAN_DEFAULT, GTK_HAS_DEFAULT andGeorge Lebl2000-09-039-2/+108
| | | | | | | | | | | | | | | Sun Sep 03 00:47:08 2000 George Lebl <jirka@5z.com> * gtk/gtkwidget.h: Add some documenting comments about GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and GTK_RECEIVES_DEFAULT just as owen said on irc. * gtk/gtkwindow.c (gtk_window_set_default): Don't blindly set HAS_DEFAULT. Only set it if there isn't another window holding it (a focus window which RECEIVES_DEFAULT) and only unset it if the widget is not the focused window with RECEIVES_DEFAULT. This fixes weird double default bugs in dialogs which has things call gtk_window_set_default at times.
* Apply patch from Nils Barth and David Santiago to improve submenuOwen Taylor2000-09-0210-33/+376
| | | | | | | | | | | | | Fri Sep 1 22:39:07 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenu.[ch] TODO.xml: Apply patch from Nils Barth and David Santiago to improve submenu navigation. The patch does this by creating a triangular region from the point where the pointer leaves the menu to the submenu. While the pointer is in that region and a timeout has not expired, events that would cause the active submenu to change are ignored.
* Fix bug where moving a toplevel window immediately after sizing it wouldOwen Taylor2000-09-018-3/+84
| | | | | | | | | | | | Fri Sep 1 15:34:46 2000 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where moving a toplevel window immediately after sizing it would result in it being sized back to the old size since impl->width, impl->height aren't updated until we hear back from the server. There is still a (longstanding) bug here that gdk_window_get_size() will give the wrong size until we do hear back.
* Rename GtkTextStyleValues to GtkTextAttributesHavoc Pennington2000-08-3115-77/+126
| | | | | | | | | 2000-08-31 Havoc Pennington <hp@redhat.com> * gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h, gtk/gtktextlayout.c, gtk/gtktexttag.h, gtk/gtktexttag.c, gtk/gtktexttagprivate.h, gtk/gtktextview.c: Rename GtkTextStyleValues to GtkTextAttributes
* cache end line, for rapid testing whether an iterator is the end iteratorHavoc Pennington2000-08-3110-25/+101
| | | | | | | | | | | | 2000-08-31 Havoc Pennington <hp@pobox.com> * gtk/gtktextbtree.c (GtkTextBTree): cache end line, for rapid testing whether an iterator is the end iterator (gtk_text_btree_new): init end line cache (gtk_text_line_is_last): use fast cached line to see if we're the last line. (get_last_line): use cached line here too, should speed up some random unrelated code.
* Add marshallers for changed GtkTextBuffer signals.Havoc Pennington2000-08-3111-21/+125
| | | | | | | | | | | | | | | 2000-08-30 Havoc Pennington <hp@pobox.com> * gtk/gtkmarshal.list: Add marshallers for changed GtkTextBuffer signals. * gtk/gtktextbuffer.h: Add "interactive" arg to insert_text and delete_text signals. This allows the signals to be used for implementing undo. * gtk/gtktextbuffer.c: Change signal handler signatures; provide "interactive" argument when emitting insert_text or delete_text signal.
* DocsHavoc Pennington2000-08-318-0/+226
| | | | | | 2000-08-30 Havoc Pennington <hp@pobox.com> * gtk/gtktextbuffer.c: Docs
* remove GDK_IMAGE_SHARED_PIXMAP from switch statements, since Tor removedOwen Taylor2000-08-318-4/+65
| | | | | | | | | | | Fri Aug 25 12:16:15 2000 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP from switch statements, since Tor removed the enumeration value. * gdk/x11/gdkimage-x11.c (gdk_image_get): s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
* Use G_GNUC_CONST.Elliot Lee2000-08-30129-138/+154
| | | | Use G_GNUC_CONST.
* wrote lots of API docs, minor indentation fixes, inserted some FIXME aboutHavoc Pennington2000-08-289-19/+476
| | | | | | | | | | 2000-08-27 Havoc Pennington <hp@pobox.com> * gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs, minor indentation fixes, inserted some FIXME about stuff I realized was broken while documenting it. (gtk_text_iter_get_pixmap): allow out params to be NULL, following GTK convention
* Update Irish trans.Seán Ó Ceallaigh/Irish translations2000-08-271-179/+4
|
* Try to fix a bug where a window move, with a non-rectangular regionElliot Lee2000-08-231-25/+61
| | | | | | | | | Try to fix a bug where a window move, with a non-rectangular region unobstructed, would cause pieces of the window to be moved twice. Effectively, sort of implement a gdk_draw_drawable_region(drawable, gc, drawable, region, dx, dy); Am going blind trying to find the off-by-one thing, especially since it doesn't happen except for the preview tests. Still not fixed, have at it.
* Fix double free of font desc.Owen Taylor2000-08-229-4/+35
| | | | | | | Tue Aug 22 12:33:24 2000 Owen Taylor <otaylor@redhat.com> * gtk/testgtk.c (create_styles): Fix double free of font desc.
* Updated percentagesOwen Taylor2000-08-221-6/+6
|
* Add gtk_widget_modify_{fg,bg,text,base,font}.Owen Taylor2000-08-2213-6/+602
| | | | | | | | | | | | | | | | | Mon Aug 21 22:39:18 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}. * gtk/testgtk.c (create_styles): Add a test for modifying the style through gtk_widget_modify_*. * gtk/gtkwidget.c (gtk_widget_get_modifier_style): Add a function to get the current modifier style. * gtk/gtkwidget.c (gtk_widget_modify_style): Make a copy of the passed in GtkRcStyle instead of ref'ing it. * gtk/gtkrc.[ch]: Add gtk_rc_style_copy().
* Updated Slovenian translationAndraz Tori2000-08-201-431/+465
|
* gdk/gdkimage.h No need any longer on Win32 for the shared memoryTor Lillqvist2000-08-1912-23/+196
| | | | | | | | | | | | | | | | | | | | | 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.
* Don't leave dangling ->prev fields when merging lists. (FoundOwen Taylor2000-08-189-9/+59
| | | | | | | | Fri Aug 18 17:27:46 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkclist.c (gtk_clist_merge): Don't leave dangling ->prev fields when merging lists. (Found simultaneously by Pawel Salek and Jakub Jelinek)
* updated italian translationChristopher R. Gabriel2000-08-172-196/+23
|
* Updated Ukrainian translationYuri Syrota2000-08-141-202/+26
|
* gdk/gdk.def Add missing entries.Tor Lillqvist2000-08-1215-11/+269
| | | | | | | | | | | | | | | | | | | | 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.
* Make it compileAnders Carlsson2000-08-121-3/+3
|
* A few more variables renamed, relating to the "system" charset vs UTF-8Tor Lillqvist2000-08-121-15/+16
| | | | pathname issue. Plug a memory leak.
* Improve previous commit a bit, use better variable names.Tor Lillqvist2000-08-121-48/+55
|
* Add more calls to g_filename_{to,from}_utf8() to convert back and forthTor Lillqvist2000-08-128-427/+551
| | | | | | | | 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.
* Change the format of the snapshot version to match glibHavoc Pennington2000-08-1111-12/+72
| | | | | | | | | | | | | | | 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_)
* some sort of line number changes to .po files that make performed, dunnoHavoc Pennington2000-08-1136-497/+501
|
* Ref window before returning.Elliot Lee2000-08-091-0/+2
| | | | Ref window before returning.
* Use the "system codepage" version of the directory name (not the UTF-8Tor Lillqvist2000-08-098-3/+47
| | | | | | | | 2000-08-10 Tor Lillqvist <tml@iki.fi> * gtk/gtkfilesel.c (open_new_dir): Use the "system codepage" version of the directory name (not the UTF-8 one) when building the path name to stat().
* Make numeric keypad work.Elliot Lee2000-08-091-14/+14
| | | | Make numeric keypad work.
* BugfixoramaElliot Lee2000-08-091-9/+11
| | | | Bugfixorama
* Some hacks to stop screen blanking.Elliot Lee2000-08-092-0/+42
| | | | Some hacks to stop screen blanking.
* Implement gdk_beep() (woohoo!)Elliot Lee2000-08-092-5/+17
| | | | Implement gdk_beep() (woohoo!)
* Fix compiler warningsElliot Lee2000-08-092-1/+3
|
* Fix GDK_Left position in table.Elliot Lee2000-08-091-1/+1
| | | | Fix GDK_Left position in table.
* At init time, read data from the PS/2 mouse until there's nothing left toElliot Lee2000-08-081-3/+7
| | | | | At init time, read data from the PS/2 mouse until there's nothing left to read, in an attempt to synchronize up with the event stream.