Commit a53651a5 authored by Ralf Treinen's avatar Ralf Treinen

New upstream version 0.0.20181204

parent d9afe438

Too many changes to show.

To preserve performance only 287 of 287+ files are displayed.

LablGTK changes log
2018.11.30 [Jacques]
* ensure we compile on ocaml 4.05 (report by Ralf Treinen)
* put examples explicitly in the public domain (report by Ralf Treinen)
2018.11.29 [Jacques]
* create a banch called "lablgtk3", based on lablgtk2on3
(the old lablgtk3 branch of 2011 is renamed lablgtk3_monate)
* merge all changes from Hugo Herbelin's lablgtk2on3-hh
* rename everything to lablgtk3, allow installing in parallel with lablgtk2
* add memory management for cairo_t
* update support for GtkSpell
2018.11.20 [Hugo Herbelin]
* restore deprecated by still alive widgets and methods
* various fixes to make gtksourceview3 work with CoqIDE
2018.11.19 [Hugo Herbelin]
* In GToolbox, add support for declaring dialogs transient for a parent.
2018.11.12 [Maxence]
* Add some properties to GText.tag
2018.08.25 [Francois Bobot]
* Add require for threads in META
In Lablgtk-2.18.6:
2017.10.30 [Jacques]
* prepare release
* finish transition for applications subdirectory
2017.09.19 [Jacques]
* prepare for 4.06: -safe-string transition and warnings
In Lablgtk-2.18.5:
2016.08.10 [Jacques]
* update applications/browser for 4.04
2016.08.02 [Jacques]
* add CAMLparam before CAMLlocal (report by Francois Bobot)
* add -fno-unwind-tables to GTKCFLAGS if the compiler allows it
(suggested by Bart Jacobs)
In Lablgtk-2.18.4:
2016.04.27 [Jacques]
* disable camlp4 make rule when no camlp4o available
* update applications
* rename GC module to GMain.Gc_custom
2016.04.11 [Jacques]
* Fix ml_gnome_canvas_c2w (Didier Le Botlan)
2016.03.06 [Jacques]
* remove build dependency on camlp4 (still needed for tree version)
* allow to change the GC speed (i.e. the impact of custom blocks)
see GMain.GC.set_speed.
2016.03.04 [Jacques]
* use own definition of alloc_custom, to be sure to allocate in the heap
2015.04.16 [Jacques]
* fix GtkTree.TreeModel.cast
2015.02.06 [Jacques]
* add get_image and get_pixbuf to GDraw.drawable.
In Lablgtk-2.18.3:
2014.10.06 [Jacques]
* add Gdk.Window.create_foreign and set_transient_for functions
(Tim Cuthbertson)
2014.09.20 [Jacques]
* CAMLparam initializes with Val_unit rather than 0 since ocaml 4.02.
Fix a related problem in ml_gobject.
This caused random crashes with unison (Christopher Zimmermann, PR#1425)
* Also factorize some code to use Val_option_*
* Replace XID by GdkNativeWindow where required.
You may need to insert calls to Gdk.Window.native_of_xid in some places.
In Lablgtk-2.18.2:
2014.09.17 [Jacques]
* Revert old commit which broke notify signals
* Quote $(FLINSTALLDIR) in Makefile (cf PR#1342)
* Update applications/browser for 4.02
2014.08.22 [Jacques]
* Make Float_val an alias for Double_val, since it was used
wrongly anyway (Felix Ruess)
* Make GObj.misc_ops#add_accelerator polymorphic in the widget of
the signal (Erkki Seppala)
* Use properties in GtkAdjustment, rather than direct accessors
2013.12.31 [Jacques]
* fix GtkTree.IconView.get_path_at_pos (Thomas Leonard)
In Lablgtk-2.18.1:
2013.12.6 [Jacques]
* add gtksourceview2 to windows binaries
In Lablgtk-2.18.0:
2013.10.01 [Jacques]
* prepare release
* update applications for 4.01
* various fixes in windows port
2013.9.17 [Jacques]
* add some GTK enumerations and update stock icon list
* add properties GtkTreeView.enable_{tree,grid}_lines
* add properties GtkEntry.{primary,secondary}_icon_{stock,name,pixbuf},
see examples/ for usage
2013.7.29 [Pierre-Marie]
* add tags in GtkMovementStep
2013.2.19 [Jacques]
* fix compatibility with ocaml 4.01 (?lab for non-optional arguments)
2012.08.26 [Pierre-Marie]
* add handling of new modifiers
2012.08.26 [Jacques]
* detect findlib during configuration
* support DESTDIR with findlib-install
2012.08.26 [Jacques]
* indicate that only old-install supports DESTDIR
* have old-install copy the META file too
* cleanup the two phases of findlib-install
In Lablgtk-2.16.0:
2012.08.23 [Jacques]
* update Windows port, compiles fine on mingw with
./configure --disable-gtktest
* lablgtk2 script does not load extra libraries by default
(use flag -all to load all extensions)
2012.08.17 [Jacques]
* generate correct lablgtk2 script for findlib.
* add old-uninstall target.
* support threaded toplevel with Quartz backend, using
(runs the toplevel loop in another thread)
* remove GtkThInit from META (not portable)
* avoid busy waiting by using g_main_context_set_poll_func to
make polling non-blocking.
busy waiting is still needed for VM threads, and can be activated
by setting the environment variable LABLGTK_BUSY_WAIT.
2012.08.16 [Jacques]
* update applications/browser for OCaml 4.00
* update applications/camlirc to use GText instead of GBroken.text
2012.07.26 [Pierre-Marie]
* improvements to GtkSourceView2.
* add cast and assignation functions to GText.nocopy_iter.
* add Gtk 2.10 missing key modifiers.
2012.07.24 [Jacques]
* can still install using old-install.
2012.06.19 [Adrien]
* add a high-level API to create keyboard shortcuts.
2012.06.12 [Adrien]
* add several #as_foo methods: entry, notebook, range
* new signals for notebook: select_page, reorder_tab,
change_current_page, move_focus_out, page_{added,removed,reordered}
* add gtk_container_child_{set,get}_property
* add gtk_notebook_{set,get}_tab_reorderable
* add gtk_signal_new which can be used to create custom keyboard shortcuts
* add g_signal_list and g_signal_query
* add functions to connect to notify::foo signals which indicate when an
object property changes
* add foo#connect#notify_bar methods to add callbacks on changes of
the "bar" property of the object "foo".
2012.04.11 [Maxence]
* use findlib to install (see README for the list of installed packages)
2012.06.05 [Jacques]
* merge GtkSourceView2 additions by Pierre-Marie Pedrot
2012.03.07 [Jacques]
* add Make_Val_option to wrappers.h
2011.07.20 [Jacques]
* add gtk_accelerator_name/get_label (for Pierre Boutillier)
* add gtk_accel_map_foreach/change_entry (ibid)
* add gdk_window_clear_area (for DDR)
* make gtk_tree_view_get_visible_range version dependent (Thomas Ripoche)
In Lablgtk-2.14.2:
2010.09.09 [Jacques]
* add GtkCurve (but it is deprecated since 2.20)
2010.08.16 [Jacques]
* rename g_value_{get,set}_variant, as the name is used by recent
versions of glib (reported by Florent Monnier)
2010.07.25 [Jacques]
* add changed signal to cell_renderer_combo (reported by Dmitry Bely)
2010.07.23 [Jacques]
* copy GtkTreePath arguments in callbacks, as reported by Benjamin.
2010.06.25 [Jacques]
* remove gtkInit.cmo from gdk_pixbuf_mlsource, no need to
initialize Gtk as Gobject is sufficient
* protect GtkThread callbacks against exceptions, and provide a
function to process messages inside a different main loop.
* add -nothinit option to lablgtk2, since Quartz cannot run the main
loop in a different thread (one should just call GtkThread.main).
See for an example.
2010.06.08 [Jacques]
* correct interfaces due to the fixing of an unsoundness bug in ocaml 3.12
In Lablgtk-2.14.1:
2010.05.20 [Jacques]
* update unison patch to 2.40.16 (for Quartz users)
2010.05.18 [Jacques]
* rename to gtkSignal.ml4 and fix depend target
* move Glib.Utf8 code to, so that it can be used in xml_lexer
to fix a bug report by Pascal Brisset (multibyte entities of the form
● in glade files).
2010.04.08 [Jacques]
* remove useless methods (discovered by ocaml 3.12)
2010.01.14 [Benjamin]
* Apply patch from Mike Spivey to support get_visible range in Gtree
* Fixed incorrect target labgtkspell.cmxs in Makefile
2009.10.01 [Jacques]
* Correct wrong module name SourceViewEnums -> SourceView2Enums
In Lablgtk-2.14.0:
2009.09.25 [Jacques]
* Ensure compilation under windows
2009.09.22 [Benjamin]
* Restore compatibility with pre-3.11 OCaml versions
2009.09.01 [Benjamin]
* Apply patch from Mike Spivey:
* Access to StyleSchemeManager objects
* Some attributes are strings and not string options. This seems
* Languages and style schemes are treated alike in creating buffers:
both arguments are wrapped.
* draw_spaces deals with a list of flags, not a single flag.
* Mark categories can have priorities, icons and backgrounds
* Some attributes of languages are accessed by methods instead of
properties to work around a GTK bug.
2009.09.01 [Benjamin]
* Support for GtkSourceView 2.6 in library "lablgtksourceview2"
* Support for GtkSourceView 1.x is still available in library
"lablgtksourceview" but it is no longer linked into the lablgtk2
default toplevel as it is not linkable with "lablgtksourceview2".
2009.05.21 [Jacques]
* Apply Anil Madhavapeddy patch for lablgladecc2 -hide-default
2009.05.18 [Benjamin]
* Make and install dynamic cmxs objects when available.
* Fix compilation bug for ml_panel.c (Richard Jones message of 2009-02-06)
2009.05.12 [Jacques]
* Merge new tooltip support from Moutinho's branch r1365
(sorry for 1.5y delay...)
* Merge tree DND from Moutinho's branch r1387 (1y delay...)
2009.05.08 [Jacques]
* Add Gdk.Windowing.platform for platform dependent applications
* Fix bug in Clist.set_pixmap when no mask given
2009.04.20 [Jacques]
* Print backtrace if available when exception raised in signal callback.
Requires ocaml 3.11. (suggested by Bart Jacobs)
* Use "val virtual obj" in generated code. Requires ocaml 3.10.
2009.03.19 [Jacques]
* In GtkAboutDialog, change internal property from "name" to "program-name"
if version >= 2.12. The OO interface is left unchanged, since there is
no conflict with #misc#name anyway.
2009.02.09 [Benjamin]
* fix linking bug for older than 2.2 Gtk with g_io_channel_read_chars
2009.01.20 [Benjamin]
* change handling of non existent properties.
[Not_found] is no longer raised and [Invalid_argument prop_name] is
used instead.
No exception is raised by unknown dynamic property setters and a GLib
warning is emitted.
See the comments in src/gobject.mli in the local Property module.
2009.01.13 [Benjamin]
* fix compilation issues with Gtk 2.4
In Lablgtk-2.12.0:
2008.12.20 [Jacques]
* fix build process for ocaml 3.11 on MSVC and mingw.
2008.12.09 [Jacques]
* fix ml_gtk_source_buffer_create_marker
2008.10.30 [Benjamin]
* Support Gtk Quartz backend compilation (thanks to Pascal Cuoq)
2008.10.07 [Benjamin]
* Revert last change on GEdit.entry_completion according to M. Clasen.
Keeping the new type for the callback match_selected.
2008.10.05 [Benjamin]
* Change type of model contained in GEdit.entry_completion from
model to model_filter see
2008.09.10 [Benjamin]
* Many custom tree model bugs fixed.
2008.09.04 [Benjamin]
* First attempt to support custom_tree_models in GTree.
I need some feedback on ways to improve the safety.
An example of usage is given in examples/
Part of the code comes from Robert Schneck: he agreed by private mail
on relicensing it for lablgtk2.
2008.08.20 [Jacques]
* Move model to head of properties in ComboBox
(bug reported by Pierre-Marie Pedrot)
2008.08.03 [Benjamin]
* Support for wrapped signal of GEdit.spin_button (Gtk 2.10)
2008.08.01 [Benjamin]
* Support for GtkRendererAccel of Gtk 2.10
2008.07.26 [Benjamin]
* Add a few 2.10 properties GAction.icon_name, GButton.image_position,
2008.07.25 [Olivier]
* don't use G_QUEUE_INIT (dependency on glib 2.14)
2008.07.25 [Jacques]
* Add [widget] to Gtk.file_chooser
* configure did not work on FreeBSD
2008.05.09 [Benjamin]
* Add Glib.Io.read_chars. Other g_io_* function could be added...
2008.04.14 [Olivier]
* use Gc.create_alarm to delay GObject finalization instead of an idle
2008.03.31 [Benjamin]
* Support mingw compilation with OCaml 3.11. Still tricky...
2008.03.25 [Jacques]
* add GtkWindow properties
* add GMain.Event
* add GtkMenu.Menu.popup_at
2008.03.22 [Benjamin]
* prepare gtksourceview 2.1 support
In lablgtk-2.10.1:
2008.02.26 [Jacques]
* fix wrong type in GContainer.mli (could not compile with 3.10.2)
2007.12.01 [Jacques]
* revert to setting LC_NUMERIC to C (ocaml still uses strtod)
2007.11.28 [Jacques]
* Fix Val_GType/GType_val (use Val_addr/Addr_val)
2007.10.09 [Benjamin]
* add ui_manager#as_ui_manager
2007.09.27 [Jacques]
* Fix examples.
In lablgtk-2.10.0:
2007.09.25 [Jacques]
* Various preparations for release.
* Use the "Glade for Windows" distribution for win32,
supporting glade and rsvg.
2007.08.17 [Jacques]
* some more patch by Julien Moutinho (style and Rc).
* do not set LC_NUMERIC to C (ocaml is now ok) (Volker Grabsch).
* avoid some warnings in ml_gdkpixbuf and ml_glib.
2007.08.09 [Benjamin]
* GtkImage : clear support
2007.08.08 [Benjamin]
* Fix typo in property "wrap-license" (was "wrap-licence") of GtkAboutDialog
* Add GtkFileChooser "do-confirm-overwrite" property support and
"confirm-overwrite" signal
* GWindow "urgency-hint" property support
2007.08.07 [Benjamin]
* Add Glib.usleep
* Add Stock icons for Gtk 2.10 and 2.8
* Add has_selection and cursor_position properties in GText.buffer
2007.08.06 [Benjamin]
* Add support for GtkAssistant of Gtk 2.10
2007.06.18 [Jacques]
* merge patches by Julien Moutinho for GdkDisplay
and gtk_tree_view_get_cell_area.
2007.06.08 [Benjamin]
* Add support for gtk_link_button
2007.06.07 [Benjamin]
* gtksourceview support
2007.05.27 [Benjamin]
* fixed bug in GWindow.about_dialog whose callbacks raised an uncaught
The default Close button now responds `CANCEL and not `CLOSE.
2006.11.19 [Olivier]
* add some missing properties in GtkIconView (in module GTree) (2.6)
* add some missing properties in GtkButton (2.4, 2.6)
2006.11.03 [Olivier]
* move GtkSocket code from ml_gtkbin.c to ml_gtk.c since it is
wrapped in GWindow.
2006.10.27 [Jacques]
* add Gdk.Cursor.get_image
* remove Gdk.Cursor.destroy (could be dangerous)
* add new methods to GData.clipboard (partly from SooHyoung Oh)
2006.10.13 [Jacques]
* add GDraw.drawable#colormap,gc,set_gc
2006.09.15 [Olivier]
* wrap GtkMenuToolButton (2.6)
In lablgtk2-20060908:
2006.08.08 [RobertR]
* export copy_memblock_indirected and ml_lookup_flags_getter for Windows
2006.07.06 [Jacques]
* make ABSVALUE=1 to use a custom mlvalues.h where value is abstract
2006.05.13 [Jacques]
* delay finalization functions when they may trigger a callback
2006.02.03 [Jacques]
* add GLayout#bin_window
2005.12.19 [Jacques]
* lablgladecc : apply Keita Yamaguchi's patch
2005.12.02 [Benjalin]
* lablgladecc : support for GtkAboutDialog
2005.11.10 [Olivier]
* wrap gtk_tree_view_expand_to_path (2.2)
2005.11.03 [Benjamin]
* lablgladecc : emit w#toplevel#misc#show_all instead of
w#toplevel#show in check_all, because some toplevel widgets
(gMenu for example) do not have a show method
2005.10.28 [Jacques]
* add windows support for rsvg
In lablgtk2-20051027 (2.6.0):
2005.10.25 [Jacques]
* fix GtkThread.sync (Robert Schneck-McConnell)
2005.10.17 [Jacques]
* new recompilation approach for Windows
2005.10.03 [Olivier]
* fix refcounting of pixbufs in GdkPixbuf
2005.09.24 [Olivier]
* wrap gdk_cursor_new_from_pixbuf
2005.08.25 [Olivier]
* gtk_about_dialog_set_{url,email}_hook are not methods : fix the
external type declaration and remove from the GWindow.about_dialog class.
2005.08.18 [Olivier]
* add special sort_column_id values in GTree to select default sort
function or disable sorting
* add a couple of utility functions in Glib :
- getenv, setenv, unsetenv (2.4)
- get_user_data_dir, etc. (2.6)
* change the generated code of gdk-pixbuf-mlsource a bit.
In lablgtk2-20050701:
2005.06.30 [Jacques]
* export same symbols under unix and windows
In lablgtk2-20050613:
2005.06.13 [Jacques]
* define GText.buffer_skel and GText.view_skel
2005.06.02 [Jacques]
* export all macro-generated functions (robertr)
* change --rpath to -rpath (better done in ocamlmklib?)
2005.05.03 [Olivier]
* wrap GdkPixbuf.get_file_info (2.4)
* support serialization and deserialization of GdkPixbuf.pixbuf values
* add a gdk-pixbuf-mlsource tool to help compiling images into programs.
2005.03.20 [Jacques]
* add Gobject.Data.wrap to create new conversions
2005.03.07 [Olivier]
* add GEdit.entry#xalign property (2.4)
* make configure fail if GTK+ cannot be found
In lablgtk2-20050218:
2005.02.18 [Jacques]
* add GObj.event_signals#scroll and other missing wevents (Hendrik Tews)
2005.02.17 [Jacques]
* allow using vmthreads
2005.02.07 [Olivier]
* GTree.Path.is_prev now returns bool (T. Kurt Bond)
2005.01.08 [Olivier]
* add a use_markup optional argument to GEdit.combo_box_text.
2005.01.04 [Olivier] (2.6)
* new stock items
* add PangoEllipsizeMode for PangoLayout
* new GtkLabel properties
* new GtkProgressbar::ellipsize property
* new GtkTreeView properties and separator rows
2005.01.02 [Olivier]
* 2.6 improvements to GtkComboBox (separators and a couple of new
2004.12.05 [Olivier]
* add GtkFileChooserButton (2.6)
2004.12.04 [Jacques]
* fix constraint in GUtil.memo
2004.12.02 [Olivier]
* add GtkAboutDialog (2.6)
2004.12.02 [Jacques]
* fix Michael Furr's bug reports
2004.11.24 [Olivier]
* add GMisc.statusbar#has_resize_grip and #set_has_resize_grip
GMisc.statusbar now inherits from
* add GtkIconView (2.6)
2004.11.22 [Olivier]
* add GtkCellRendererCombo (2.6)
* add GtkCellRendererProgress (2.6)
In lablgtk2-20041119:
2004.11.17 [Jacques]
* fix make depend
* cleanup
2004.11.15 [Olivier]
* add max-position and min-position in GPack.paned (2.4)
* add GtkSpell interface (
2004.11.10 [Olivier]
* add GPack.paned#position
* allow multiple conditions per watch in Glib.Io.add_watch
2004.10.24 [Olivier]
* add a .mli for GnoDruid, reorganize a bit
* add the single-paragraph-mode property in GtkCellRendererText
2004.10.05 [Jacques]
* revise Timeout.add and Idle.add for compatibility
(optional arguments must be followed by a non-labeled argument)
2004.10.02 [Jacques]
* 2.2 compatibility fixes (G_STRFUNC only defined in 2.4)
2004.09.21 [Olivier]
* add optional priority argument for timeouts and idle callbacks in Glib
* get rid of the print handler in Glib.Message (it's not used by libraries)
* get rid of the Glib.Critical exception (callbacks should never raise exceptions)
* add Glib.Message.log and a couple other functions related to logging
* generally prevent exceptions from escaping callbacks
2004.09.18 [Jacques]
* revert to using `OTHER in Gobject.data_kind
2004.09.17 [Olivier]
* more unicode fixes, add a Utf8.to_unichar_validated function
2004.09.17 [Jacques]
* Gobject.Data.boxed parameterized by the real type, to be able to
create tree store columns from it. Gobject.fundamental_type
modified accordingly.
2004.09.15 [Olivier]
* add GText.buffer#select_range
2004.09.14 [Olivier]
* add a few unicode-related functions
2004.09.08 [Olivier]
* add GAction.ui_manager#add_ui
* have #get_widget and #get_action raise Not_found instead of
2004.09.03 [Olivier]
* in GAction.action_group, do not merge #add_action and
#add_action_with_accel in a single method because they have
different behaviour. Fixes a bug where stock items accelerators
were not connected.