2008-09-23 Mike Gorse <mgorse@novell.com>
* atk/Makefile.am: add atk/atk.h to glue_includes.
* atk/glue/Makefile.am: Compile atk/glue/generated.c.
2008-09-23 Andrés G. Aragoneses <aaragoneses@novell.com>
Fixes BNC#384475.
* atk/Object.custom: Provide a new overload that receives an
enum instead of an ulong, for a friendlier managed API.
2008-09-18 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: bump svn version.
* generator/Signal.cs: add a workaround for G_TYPE_POINTER usage
in the GtkEditable::text_inserted signal. The signal parameter
received by the closure will be an IntPtr, which we then have to
use to read/write the value directly from unmanaged memory.
[Fixes#427588]
2008-09-18 Mike Kestner <mkestner@novell.com>
* generator/LPGen.cs: remove WIN64LONGS hackery.
* generator/LPUGen.cs: remove WIN64LONGS hackery.
* generator/SymbolTable.cs: for WIN64LONGS, map them directly to
(u)int SimpleGens instead of using the LP generatables.
2008-09-16 Jeffrey Stedfast <fejj@novell.com>
* generator/Property.cs (IsDeprecated): Allow "1" or "true".
* generator/Method.cs (.ctor): Allow "1" or "true".
* generator/ClassBase.cs: Allow a value of "true" to work the same
as "1" for the deprecated and abstract attributes.
* generator/ObjectGen.cs (Generate): Remove the extra generated
space if the class isn't abstract.
2008-09-12 Zoltan Varga <vargaz@gmail.com>
* glib/GType.cs (FindTypeInReferences): Put a try-catch around the assembly
loading as failure to load a referenced assembly is not really an error.
2008-09-12 Mike Gorse <mgorse@novell.com>
* atk/Object.custom, atk/glue/object.c: Support GetIndexInParent.
2008-09-09 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs: warning cleanup.
* gtk/Gtk.metadata: warning cleanup.
2008-09-09 Zoltan Varga <vargaz@gmail.com>
* glib/GType.cs (FindTypeInReferences): Skip dynamic assemblies.
2008-09-08 Mike Kestner <mkestner@novell.com>
* glib/GType.cs: beef up the referenced assembly loading code to
handle assemblies located in the same directory as the referring
assembly. Fixes#423450.
2008-09-05 Andrés G. Aragoneses <aaragoneses@novell.com>
Fixes BNC#387220.
* glib/glue/signal.c: New glue file to call g_signal_query().
* glib/glue/Makefile.am: Add signal.c.
* glib/Signal.cs: check return type prior to emitting.
2008-08-28 Andrés G. Aragoneses <aaragoneses@novell.com>
* atk/Util.custom: unregister get_root function when the setter
receives null. Partial fix for BNC#411444.
2008-08-27 Mike Kestner <mkestner@novell.com>
* generator/ManagedCallString.cs: use existing Parameters.IsHidden
method to check for hidden user data.
2008-08-27 Mike Kestner <mkestner@novell.com>
* generator/ManagedCallString.cs: revert last change. There are a
lot of "broken" callback sigs out there which expose user data because
it's not in the last parameter in the list. I don't think we can
reasonably make a change to hide all those at this point. This change
at least hides all the user_data which comes right before a GError
param at the end of the list. I need to follow up with a change which
handles data parameters in any parameter position, but allows the user
to mark "exposed" data params for compatibility reasons.
* generator/Parameters.cs: hide data params which are at the end of a
list behind an error param.
* gtk/Gtk.metadata: mark an array parameter on
TextBufferDeserializeFunc.
2008-08-27 Mike Kestner <mkestner@novell.com>
* glib/Signal.cs: multiple dispose guarding for closures.
2008-08-27 Mike Kestner <mkestner@novell.com>
* generator/ManagedCallString.cs: fixes for data parameter hiding
in native to managed callback generation.
2008-08-20 Mike Kestner <mkestner@novell.com>
* glib/Object.cs:
* glib/Signal.cs: fix a couple 2.0-isms. Patch from Christian Hoff.
2008-08-20 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: bump svn version after tag.
2008-08-20 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs: use new ListPtrToArray marshaler for
lists with known element types.
* glib/Marshaller.cs: new ListPtrToArray marshaller with more
aggressive list disposal.
* gtk/Container.custom: remove manual Children impl. Use Children
in GetEnumerator instead of pinvoking directly.
* gtk/Gtk.metadata: remove hidden attr and add element type and owned
for Container.GetChildren to generate it properly.
2008-08-20 Mike Kestner <mkestner@novell.com>
Patch from Christian Hoff fixing bug #396195.
* generator/Property.cs: handle interface adapter values.
* generator/InterfaceGen.cs: register the gtype so mapping occurs
automatically for interface adapters. New GetObject overload to
handle already wrapped objects more efficiently.
* glib/Value.cs: handle set_Val for interface adapter objects.
2008-08-19 Brad Taylor <brad@getcoded.net>
* atk/Object.custom: Add method to allow emission of
visible-data-changed signal.
* atk/TextChangedDetail.cs:
* atk/TextAdapter.custom: Add method to allow emission of text-changed
signal.
2008-08-13 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata: switch Value methods to ref params since atk
actually checks for initialized values instead of just treating it
like uninitialized memory. Makes for uglier API, but avoids crashes
in unfortunate memory content scenarios.
2008-08-04 Mike Kestner <mkestner@novell.com>
* gtk/IconTheme.custom: elements and the list returned by
ListIcons are owned.
2008-08-04 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: mark IconTheme.LoadIcon return as owned.
2008-07-23 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata: map some out params on Atk.Value. They
were unusable in their existing form.
2008-07-08 Mike Kestner <mkestner@novell.com>
Patch from Christian Hoff with a few minor tweaks.
* generator/CallbackGen.cs: refactor to use ManagedCallString
and drop a ton of redundant, half-baked code.
* generator/ManagedCallString.cs: add Unconditional setup
method for stuff that has to happen before the try block.
Add "drop_first" concept so it can be reused by CallbackGen
which doesn't drop first params.
* generator/Signal.cs: use Unconditional method for prep.
* generator/VirtualMethod.cs: use Unconditional method for prep.
* gtk/Gtk.metadata: mark a ref param. [Fixes#394352]
2008-06-28 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: mark ListStore.Reorder array param.
* gtk/ListStore.cs: compat obsolete method, though the old one
was useless.
2008-06-28 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs: some 64 bit fixes for time_t marshaling
issue found by Federico.
2008-06-28 Mike Kestner <mkestner@novell.com>
* gtk/TreeSelection.custom: use list marshaler to avoid O(n^2)
copy from old custom code. [Fixes#404669]
2008-06-28 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: mark a const string. [Fixes#404630]
2008-06-27 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: fix a couple out params.
2008-06-20 Mike Kestner <mkestner@novell.com>
* glib/Value.cs: Patch from Christian Hoff. Support for byte and
sbyte values.
2008-06-17 Mike Kestner <mkestner@novell.com>
* glib/SignalClosure.cs: post back the gvalues after the closure is
invoked using a new Update method on GLib.Value. This only impacts
boxed types, since they are the only "value types" passed by ref in
the signal marshaling environment. We can't call set_boxed on the
value to update it, since that allocs new memory, we need to marshal
the updated struct out to the existing native memory address using
g_value_get_boxed.
* glib/Value.cs (Update): new update method for writing values to
an existing boxed type instance instead of allocating a new native
struct. Fixes#398929.
2008-06-17 Mike Kestner <mkestner@novell.com>
* glib/GType.cs (LookupType): traversed referenced assemblies to
find types in currently unloaded assemblies. Fixes#400595.
2008-06-16 Andrés G. Aragoneses <aaragoneses@novell.com>
* atk/Object.custom:
* atk/glue/object.c:
Simplified code for previous issue (recommendation from mkestner).
2008-06-16 Mike Kestner <mkestner@novell.com>
* glib/glue/object.c: fixes for object, boxed, and gtype
property paramspec creation. Patch provided by Christian Hoff.
2008-06-09 Andrés G. Aragoneses <aaragoneses@novell.com>
* atk/Object.custom:
* atk/glue/object.c:
Temporary workaround for infinite recursion issue.
2008-06-06 Andrés G. Aragoneses <aaragoneses@novell.com>
* glib/glue/thread.c: Fix a warning.
2008-06-06 Mike Kestner <mkestner@novell.com>
Initial Patch submitted by Christian Hoff with some small
style alterations and a round trip sample by me. Supports the
registration of managed properties with the GType system, so
that things like custom cell renderers can be accessed via the
native property system from treeview.
* glib/glue/object.c : property registration related glue.
* glib/Object.cs: implement managed property registration.
* glib/PropertyAttribute.cs: add new props and ctor for managed
property registration.
* sample/PropertyRegistration.cs: little test app to test round-
tripping of registered properties.
* sample/Makefile.am: add new sample.
2008-06-06 Mike Kestner <mkestner@novell.com>
* atk/Object.custom: use 'as StateSet' instead of cast to avoid
cast exceptions in the null case. Apparently it's not an exception
any more, according to folks on #monodev. I still prefer as for
GetObject 'casting'.
2008-06-06 Andres G. Aragoneses <aaragoneses@novell.com>
* atk/Object.custom:
* atk/glue/object.c: Implement virtual method OnRefStateSet().
2008-05-30 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom: don't use the autogenerated PixbufDestroyNative
delegate type since is has a byte[] parameter that blows up.
2008-05-30 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom:
* gtk/glue/object.c: remove the destroy override. it doesn't work.
2008-05-28 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom: move Dispose call to a vm override so that
it runs after all signals and native overrides have run.
* gtk/glue/object.c: destroy override implementation.
2008-05-28 Lluis Sanchez Gual <lluis@novell.com>
* gtk/Object.custom: If all destroy handlers have been
unregistered, remove the hashtable entry since it is
not needed anymore.
2008-05-27 Mike Kestner <mkestner@novell.com>
* generator/Method.cs (GenerateBody): when generating value type
methods, we should demarshal the 'this' memory before any ref or
out parameters in the event that someone passes 'this' as a param.
That will ensure that an updated value coming back from the native
side ends up in the memory location.
2008-05-22 Mike Kestner <mkestner@novell.com>
* gtk/Widget.custom: guard against MissingIntPtrCtorException in
the Activate and SetScrollAdjustments funky signal VM impl. Can't
use SignalClosure easily. Could be reworked more cleanly at some
point. Or not.
2008-05-21 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom (OnDestroyed): ensure Dispose runs even if
no Destroyed handlers are connected.
2008-05-21 Mike Kestner <mkestner@novell.com>
* gtk/Application.cs (CurrentEvent): use Event.GetEvent to retrieve
an explicit event subclass.
2008-05-15 Mike Kestner <mkestner@novell.com>
* kill the makefile.win32 build system. it has been unmaintained
for quite some time, replaced by the auto* build in cygwin.
2008-05-14 Andres G. Aragoneses <aaragoneses@novell.com>
* atk/Object.custom: Track API changes in GLib.Signal.
* glib/Signal.cs: AddEmissionHook binding (for closing #386950), and
change API of Emit to mimic the detailed_signal pattern.
* glib/GType.cs: GType.FromName: new wrapper for native call.
* glib/ObjectManager.cs: Use the new FromName managed method.
2008-05-08 Mike Kestner <mkestner@novell.com>
* atk/atk-api-2.12.raw: reparsed.
* gdk/gdk-api-2.12.raw: reparsed.
* gtk/gtk-api-2.12.raw: reparsed.
* parser/gapi2xml.pl: fixes for signal and vm order needed for
proper interface struct layout. [Fixes#386802]
2008-05-07 Stephane Delcroix <sdelcroix@novell.com>
* gtk/Object.custom: swap the event removing and destroy calls.
2008-05-07 Andres G. Aragoneses <aaragoneses@novell.com>
* atk/Object.custom, atk/glue/object.c: Remove unneeded
return types (I don't know why gcc ever let this compile...).
2008-05-06 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: revert the connection optimization from r102349.
It breaks under the current CellRenderer implementation which probably
can't be reworked compatibly to take advantage of this code.
* glib/SignalClosure.cs: use IntPtr.ToInt64 instead of (long) since
the cast apparently has issues on bleeding edge mono.
2008-05-06 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: mark Rc.DefaultFiles accessors as null_term_array.
2008-05-02 Mike Kestner <mkestner@novell.com>
* generator/GenerationInfo.cs: refactor glue writer implementation
so that GlueEnabled means there is a valid glue writer available.
Avoids crashes in scenarios where an unwriteable glue path is provided
to the generator. Generate a glue function which scans the type
hierarchy of an object for the most-derived unmanaged ancestor so
that we can invoke class methods on it, avoiding infinite recursions.
* generator/Signal.cs: revamp the default handler vm overriding
mechanism. When class fields exist which can be directly hooked into,
we now generate glue to override and chain up to unmanaged base funcs.
This avoids some strangeness in the g_signal_override_class_closure
and g_signal_chain_from_overridden reported in #332300 and also lays
the groundwork for automated generation of non-signal VMs.
* gtk/Gtk.metadata: block signal glue generation for a few types which
don't seem to install headers.
2008-05-02 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: Don't bother hooking VM into the class field
if another managed ancestor has already done so. Add a LogFunc
printing a stack trace for the GObject log domain if GTK_SHARP_DEBUG
is set in the environment. It's a bit noisy to do unconditionally.
2008-05-02 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom: some NULL guarding in Dispose and
Destroy handling.
2008-05-02 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata: hide Global.AddGlobalEventListener.
* atk/Global.custom: AddGlobalEventListener impl.
* atk/Util.custom: AddGlobalEventListenerHandler prop.
[Fixes the rest of #365437]
2008-05-01 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api-2.12.raw: regen, removes some private printing API.
* source/gtk-sharp-2.12-sources.xml: hide some private printing API.
2008-05-01 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs: use CName and mangle it. ClassFieldName
is not guaranteed to be set now.
* generator/Signal.cs: read ClassFieldName from the api xml. Move
glue writer lookup inside the block to avoid exceptions for now.
2008-04-30 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs:
* generator/Signal.cs: use generic signal marshaling instead of
generating signature specific marshaling callbacks.
* glib/glue/closure.c: glue for new closure impl.
* glib/Object.cs: open up a couple hashes internally.
* glib/Signal.cs: hook in closure based connection and expose
EmissionHook functionality for atk usage.
* glib/SignalClosure.cs: new generic signal marshaling mechanism.
* glib/ToggleRef.cs: null guarding in Target and let Signal remove
itself from hash when it disposes itself.
2008-04-30 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl: put class struct field in the signal elems.
* atk/atk-api-2.12.raw:
* gdk/gdk-api-2.12.raw:
* gtk/gtk-api-2.12.raw:
2008-04-28 Mike Kestner <mkestner@novell.com>
* glib/Value.cs : Add GParam support and beef up the Boxed
type marshaling to support types with New methods via reflection.
2008-04-28 Mike Kestner <mkestner@novell.com>
* glib/GType.cs : Add a few missing static fields.
2008-04-24 Mike Kestner <mkestner@novell.com>
* gdk/Window.custom (Destroy): take a normal ref for the native
method to release, and Dispose our toggle ref. Fixes#382186.
2008-04-24 Andres G. Aragoneses <aaragoneses@novell.com>
* glib/Signal.cs: Remove unneeded cast.
2008-04-24 Andres G. Aragoneses <aaragoneses@novell.com>
* atk/Object.custom: custom protected method for firing
the ChildrenChanged signal.
* glib/Signal.cs: first implementation of a managed
method for emitting signals.
2008-04-19 Mike Kestner <mkestner@novell.com>
* gtk/glue/statusicon.c: fix time parameter usage. Not even sure
how that compiled. I <3 C.
2008-04-17 Mike Kestner <mkestner@novell.com>
* atk/glue/misc.c: glue for vms and singleton setup.
* atk/Misc.custom: add OnThreadsEnter, OnThreadsLeave, and
SetSingletonInstance members for Bridge implementors.
[More of #365437]
2008-04-17 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: add Harden method to reduce the reflection
overhead in Gnome.Program.
2008-04-17 Mike Kestner <mkestner@novell.com>
* glib/ToggleRef.cs: Add a Harden method to switch to a standard
ref and just leak it.
* gtk/Application.cs: revert the QuitPrepare stuff since it didn't
always work.
2008-04-17 Mike Kestner <mkestner@novell.com>
* gtk/TreeModelAdapter.custom:
* gtk/TreeModelFilter.custom:
* gtk/TreeModelSort.custom: reworked patch from Christian Hoff to
throw NotImplementedException for SetValue methods. Those should
never have been added to the interface, and it's better to throw
an exception than have infinite recursion kill the program.
[Fixes#379542]
2008-04-16 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: hide PrintContext.get_CairoContext.
* gtk/PrintContext.custom: manual get_cairo_context implementation.
Mono.Cairo assumes it is wrapping owned references, so we need to
take a ref out on the returned cairo_t pointer.
* sample/GtkDemo/DemoPrinting.cs: dispose the CairoContext in
to be a good citizen and avoid warnings.
2008-04-15 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs: use new GLib.Opaque.OwnedCopy for owned
opaque return values.
* glib/Opaque.cs: introduce OwnedCopy property to support returning
owned opaque instances from native to managed callbacks.
[Fixes#374641]
2008-04-15 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: hide GtkKey_ for manual impl.
* gtk/Key.cs: manual implementation to manage delegate wrapper
persistence. [Fixes#378989]
2008-04-15 Mike Kestner <mkestner@novell.com>
* gtk/FileSystemModel.custom: remove dead file.
2008-04-15 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs: marshal null string arrays as a null IntPtr[].
[Fixes#378514]
2008-04-14 Mike Kestner <mkestner@novell.com>
* gtk/Application.cs: add QuitPrepare event for Gnome.Program usage.
2008-04-08 Marek Habersack <mhabersack@novell.com>
* generator/InterfaceGen.cs: added a check for null obj in the
generated GetObject method.
2008-04-04 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata: add a few more owned refs.
2008-04-04 Mike Kestner <mkestner@novell.com>
* glib/Global.cs: renamed from Program.cs. Program.Name is now
Global.ProgramName to try to avoid clashes with existing Gnome.Program
usage.
* gtk/Application.cs: s/GLib.Program.Name/GLib.Global.ProgramName.
2008-04-04 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata: markup all the Ref* methods to indicate owned refs.
* generator/ReturnValue.cs: Add owned object ToNative handling.
* generator/VirtualMethod.cs: Split ToNative call from managed method
invocation to avoid duplicate calls in null checking scenarios.
* glib/Object.cs: add OwnedHandle property for use by language binding
code which needs to pass owned refs to native methods.
2008-04-04 Mike Kestner <mkestner@novell.com>
* atk/Object.custom: take out a ref on the return value of
OnRefChild. Also add some null guarding and default to IntPtr.Zero
on exceptions.
2008-04-01 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs: support "generic" interface
implementations like those exposed by gio. This is specifically for
libraries which return GTypes which are not exposed by the library
but which implement GInterfaces which are exposed by the library.
2008-03-28 Andres G. Aragoneses <aaragoneses@novell.com>
* atk/Object.custom: custom properties for overriding class methods.
* atk/Makefile.am: include Object.custom.
* atk/glue/object.c: glue to override class methods.
* atk/glue/Makefile.am: include object.c.
2008-03-27 Andres G. Aragoneses <aaragoneses@novell.com>
* glib/Program.cs: Add new static class for utility property, moving
the code to call g_set_prgname() from gtk/Application.cs to here,
and changing return value of g_set_program_name from bool to void.
* gtk/Application.cs: Use Program.Name as a replacement of
calling the native function g_set_prgname().
* glib/Makefile.am: add Program.cs.
2008-03-21 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: bump svn version
* generator/CallbackGen.cs: add dnotify support to invoker.
Store and respond with incoming UserData params. Start using
__prefixed private vars to avoid collisions with parameters,
like the 'result' params in gio.
* generator/ManagedCallString.cs: use new data/dnotify invoker
ctors.
* generator/MethodBody.cs:
* generator/Parameters.cs: don't link "out" length params to
preceding strings.
* generator/VMSignature.cs: don't require UserData to be last
param, since it can have things like error after it.
2008-03-21 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: s/GtkDestroyNotify/GDestroyNotify in vms too.
2008-03-14 Mike Kestner <mkestner@novell.com>
* pango/AttrList.custom: pass copies of the attrs to insert*
since the list assumes ownership.
* pango/Makefile.am: add new custom file.
* pango/Pango.metadata: hide AttrList.Insert* for custom impl.
2008-03-12 Mike Kestner <mkestner@novell.com>
* glib/GType.cs: add an Init method for explicit initialization.
2008-03-04 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: update version to 2.12 and tag
2008-02-29 Mike Kestner <mkestner@novell.com>
* gdk/Event.cs: add New method for consistency with generated
boxed types. Will be used by GLib.Value in the future.
2008-02-29 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs: null-term array handling.
* glib/Marshaller.cs: marshaling methods for null-term arrays.
2008-02-29 Mike Kestner <mkestner@novell.com>
* sample/Action.cs: qualify Action usage.
* sample/GtkDemo/DemoApplicationWindow.cs: qualify Action usage.
* sample/GtkDemo/DemoUIManager.cs: qualify Action usage.
2008-02-29 Mike Kestner <mkestner@novell.com>
* configure.in.in: atk checks and SUBSTs.
* atk/Util.custom: custom properties for overriding class methods.
* atk/glue/util.c: glue to override class methods.
2008-02-26 Mike Kestner <mkestner@novell.com>
* generator/ByRefGen.cs: fix mismatched alloc/free.
2008-02-22 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom: add destroy notification and pin byte[] to
avoid GC complications. Add a couple new convenience ctors as
well. [Fixes#362951]
2008-02-21 Mike Kestner <mkestner@novell.com>
* glib/Source.cs: rework proxy removal to avoid boxing profile.
* glib/Idle.cs: save src_id in proxy to facilitate removal.
* glib/Timeout.cs: save src_id in proxy to facilitate removal.
[Fixes#359561]
2008-02-07 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs: null term array marshaling.
* glib/Marshaller.cs: new marshalers for null-terminated string
arrays. [Fixes#342113]
2008-02-07 Mike Kestner <mkestner@novell.com>
* generator/Parameters.cs: fix off-by-1 in null term array marshaling.
2008-02-06 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata: mark ApplyEmbeddedOrientation return as owned.
2008-01-30 Mike Kestner <mkestner@novell.com>
* generator/ClassBase.cs: null check ifaces in recursive method
and signal lookup.
2008-01-29 Mike Kestner <mkestner@novell.com>
* generator/ManagedCallString (Setup): use error param name instead
of hardcoding error.
2008-01-29 Mike Kestner <mkestner@novell.com>
* generator/VirtualMethod (CName): mangle the name.
* generator/SymbolTable.cs (MangleName): add 'remove' and 'foreach'
mappings. Should probably just get a C# keyword list and map all of
them instead of onesy twoseys.
Fixes for tnymail binding generation.
2008-01-24 Lluis Sanchez Gual <lluis@novell.com>
* glade/XML.custom: due to a recent Mono fix (bug #322762),
Type.GetFields does not return private fields from base classes
anymore, so the BindFields now has to go through the class
hierarchy to get all fields.
2008-01-23 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: update version and tag 2.11.91.
2008-01-22 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: expose an internal ToggleRef prop.
* glib/Signal.cs: use ToggleRef for lookups instead of Object. Add
a Free method and release connections and gchandles.
* glib/ToggleRef.cs: add signal hash and release signals on free.
2008-01-17 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: remove ref from Objects hash prior to releasing it.
2008-01-17 Mike Kestner <mkestner@novell.com>
* glib/ToggleRef.cs: check for null reference in IsAlive.
2008-01-17 Mike Kestner <mkestner@novell.com>
* generator/Property.cs: missing Parent null check needed for direct
GLib.Object subclasses. Suggested by mario@gnome.cl. [Fixes#321536]
2008-01-17 Mike Kestner <mkestner@novell.com>
* sample/Assistant.cs: new Gtk.Assistant sample.
* sample/Makefile.am: hook in new sample.
2008-01-11 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: update version to 2.11.90.
* configure.in.in: incorporate build service patch.
* glib/glib-sharp-2.0.pc.in: add cflags for new api.xml.
* glib/Makefile.am: install api.xml to correct dir.
2008-01-07 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs: map "unsigned long" to LPUGen.
2008-01-02 Mike Kestner <mkestner@novell.com>
* gtk/MoveFocusHandler.cs: obsolete event types.
* gtk/TextView.custom: obsolete move-focus signal.
* gtk/Window.custom: obsolete move-focus signal.
Compat fixes for removal of signals from gtk+ API. [Fixes#350770]
2007-12-17 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl: parse 'typedef struct\n{' properly.
2007-12-12 Mike Kestner <mkestner@novell.com>
* generator/Parameters.cs: fix marshaling for ArrayCount params where
casting is required, like gsize/size_t count parameters.
2007-12-11 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl: fix tightloop in single-line prop declarations.
2007-12-06 Mike Kestner <mkestner@novell.com>
* * : update to 2.12 API.
2007-12-04 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs: add goffset mapping.
2007-12-04 Mike Kestner <mkestner@novell.com>
* configure.in.in: check for default off_t size
* generator/SymbolTable.cs: map off_t based on configure check.
* generator/Makefile.am: add OFF_T_FLAGS to compile.
2007-12-03 Mark Probst <mark.probst@gmail.com>
* generator/SymbolTable.cs: Added "where" to the list of mangled
names.
2007-11-29 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl: collapse embedded multiline function fields
to a single line. [Fixes#344853]
2007-11-29 Mike Kestner <mkestner@novell.com>
* generator/MethodBase.cs: move Name stuff from subclasses.
Check for (G|S)et<UpperCaseLetter> in new Has props.
* generator/Method.cs:
* generator/VirtualMethod.cs: refactor out Name stuff. Use
new Has(G|S)etterName props.
* pango/Pango.metadata: workaround Has/Hash collision with
the old broken getter check. [Fixes#344954]
2007-11-29 Mike Kestner <mkestner@novell.com>
* glib/Signal.cs: ignore GCHandles with null targets since
their object has been collected. [Fixes#344250 again]
2007-11-28 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: take ref using method param to avoid
NREs. [Fixes#344250]
2007-11-16 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: use toggle refs for all objects.
de-obsolete Data hash. Add internal Signals hash.
* glib/Signal.cs: switch to weak gchandles.
* glib/WeakObject.cs: kill.
2007-11-16 Eskil Bylund <eskil@letterboxes.org>
* gtk/ListStore.custom:
* gtk/TreeStore.custom: Implement InsertWithValues.
* gtk/Gtk.metadata: Deprecate the old generated method.
[Fixes#325040]
2007-11-12 Mike Kestner <mkestner@novell.com>
* sample/TreeModelDemo.cs: lt/gt typo bugfix [Fixes#333653]
2007-11-12 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs: remove GCallback mapping.
* glib/GCallback.cs: kill, bad idea.
2007-11-12 Mike Kestner <mkestner@novell.com>
* glib/IOChannel.cs: IOChannel wrapper implementation.
* glib/Makefile.am: build new files.
* glib/Marshaller.cs: new string array marshaling methods.
* glib/Spawn.cs: g_spawn* wrapper implementation.
* sample/SpawnTests.cs: tests for the new GLib.Process class
and a cursory exercise of IOChannel for SpawnAsyncWithPipes.
2007-11-09 Mike Kestner <mkestner@novell.com>
* generator/Parameters.cs: support for null_term_array attribute.
2007-11-08 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs: new null-terminated string[] marshaler from
Mono.Unix with adaptations by Michael Hutchinson.
2007-11-02 Mike Kestner <mkestner@novell.com>
* glib/SList.cs:
* glib/List.cs: add Array dup of object[] ctor since we
are passing typed arrays from generated code.
2007-11-02 Mike Kestner <mkestner@novell.com>
* generator/Method.cs: need to use on the Base method name to
lookup complements and determine if the method is a getter or setter
when an explicit interface method name is used.
2007-10-24 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs: mappings for GCallback and GSourceFunc.
* glib/GCallback.cs: GCallback declaration.
* glib/Source.cs: GSourceFunc declaration.
2007-10-24 Mike Kestner <mkestner@novell.com>
* generator/VirtualMethod.cs: clean up compiler warning and duplicate
call.
2007-10-24 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs: generate an Implementor prop on the
adapters to obtain the underlying object.
2007-10-22 Mike Kestner <mkestner@novell.com>
* configure.in.in: add a win64 check and a compiler define for
handling win64 32bit longs.
* generator/LPGen.cs: use int to marshal on win64.
* generator/LPUGen.cs: use uint to marshal on win64.
* generator/SymbolTable.cs: remove fixme.
2007-10-16 Mike Kestner <mkestner@novell.com>
* gtk/CellRenderer.custom : marshal GTypes as IntPtr like the
generator does.
* gtk/Container.custom : ditto. [Fixes comment #8 on 327058]
2007-10-15 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs : gen Handle props as overrides.
* glib/GInterfaceAdapter.cs : add abstract Handle prop.
* glib/Value.cs: add ctor (GInterfaceAdapter).
2007-10-04 Peter Johanson <peter@peterjohanson.com>
* gtk/Gtk.metadata: Make the public fields on Gtk.Rcstyle writeable.
2007-10-04 Mike Kestner <mkestner@novell.com>
* glib/DestroyNotify.cs: add CDeclCallback to the delegate.
* glib/Signal.cs: use DestroyHelper.
* gdk/Input.custom: use DestroyHelper.
* gtk/Quit.custom: remove new on DestroyHelper handler.
* gtk/TreeModelFilter.custom: remove new on DestroyHelper handler.
* gtk/TreeViewColumn.custom: remove new on DestroyHelper handler.
2007-10-02 Mike Kestner <mkestner@novell.com>
* generator/*.cs: implement the interfaces on the adapters too.
Generate an Implementor interface for users which exposes the
methods to implement. Register based on the Implementor sub-iface.
* gtk/*Adapter.custom: custom implementations for the custom
interface members.
* gtk/TreeIter.custom: make UserData public.
* sample/TreeModelDemo.cs: sample for implementing a TreeModel
interface.
2007-10-01 Mike Kestner <mkestner@novell.com>
* generator/OpaqueGen.cs: disable Copy generation fix until I can
figure out why it breaks DnD.
2007-10-01 Mike Kestner <mkestner@novell.com>
* gtk/TreePath.custom: use Marshal.Copy to copy indices array.
2007-10-01 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: add ctor (), which invokes CreateNativeObject
to allow direct subclasses that do all the registration automatically.
2007-09-21 Mike Kestner <mkestner@novell.com>
* generator/*.cs: add DefaultValue prop for obtaining a
sane value when we need to return a value but something bad has
happened such that we can't get a real value. Needed for iface
signal marshaling, among other places we're partially working
around it now.
2007-09-19 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs: remove some dead code from a previous
implementation attempt.
2007-09-19 Mike Kestner <mkestner@novell.com>
* generator/VirtualMethod.cs: refactor delegate generation into
GenerateCallback and add [CDeclCallback] which was missing.
* generator/InterfaceGen.cs: kill GenerateDelegates. They are now
generated by VirtualMethod.GenerateCallback.
2007-09-14 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs (GenInvoker): null check the sig field
and set it up. This can happen when generating the marshaling types
from dependent libraries instead of via the Generate method.
2007-09-11 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: virtual_method rules for GInterface generation.
* generator/ReturnValue.cs (ToNative): new method for the virtual
method generation.
* generator/Parameters.cs (FromNative): null guarding.
* generator/ManagedCallString.cs: rework for interface method
generation including callback and error param support.
* generator/CallbackGen.cs: Invoker support. new class that deals
with persistence of native and wrapper delegates in native to managed
callback method signatures.
* generator/VirtualMethod.cs: support for generation of interface
methods, and all the funky parameters that come with that.
* generator/InterfaceGen.cs: Fill out the adapter implementation.
* generator/MethodBody.cs: Initialize overload. Extend ThrowsException
to support GError outside the last parameter slot.
* glib/GInterfaceAttribute.cs: New attribute to mark interfaces and
obtain adapter type.
* glib/Object.cs (AddInterfaces): interface registration method.
* glib/GInterfaceAdapter.cs: New abstract class for interface
adapter generation.
* glib/Makefile.am: add new files.
2007-09-11 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom (Destroy): add a null check to avoid
Gtk criticals. The destroy case seems to be problematic with
a bunch of existing code, so this turns it into a noop.
2007-09-06 Mike Kestner <mkestner@novell.com>
* AssemblyInfo.cs.in : add IgnoreClassInitializers attr to all.
* generator/ObjectGen.cs : add custom-attr generation for objects.
* glib/ClassInitializerAttribute.cs : obsolete
* glib/IgnoreClassInitializersAttribute.cs : new assembly attr
to avoid a blind GetMethods reflection.
* glib/Makefile.am : add files
* glib/TypeInitializerAttribute.cs : new attr to specify init
method to be run at type registration.
* gtk/Widget.custom : remove the ClassInitializerAttr.
* gtk/Gtk.metadata : add a custom-attr node to GtkWidget.
* sample/Subclass.cs : use the IgnoreClassInitializers attr.
2007-08-14 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : kill a few "new" warnings in FileChooser
implementors.
2007-08-14 Mike Kestner <mkestner@novell.com>
* glib/ListBase.cs : add AllocNativeElement method and an
Append (object) method that uses it.
* glib/List.cs : add object[] ctor using new append method.
* glib/SList.cs : add object[] ctor using new append method.
These are needed to return G(S)List* values as virtual method
return values.
2007-08-13 Mike Kestner <mkestner@novell.com>
* generator/MethodBody.cs : finally kill the s/out ref/ref/ hack.
* generator/Parameter.cs : ditto.
2007-08-13 Mike Kestner <mkestner@novell.com>
* generator/ByRefGen.cs : implement IManualMarshaler.
* generator/Parameter.cs : use StructParameter for ByRefGen.
2007-08-13 Mike Kestner <mkestner@novell.com>
* generator/*.cs : switch to IntPtr marshaling for struct types
in the managed to native direction.
* gtk/*.custom : adjust to new gapi struct pinvoke sigs.
2007-08-01 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : use Parameters.NativeCallbackSignature.
* generator/Ctor.cs : use Parameters.ImportSignature prop.
* generator/ImportSignature.cs : kill
* generator/MethodBase.cs : kill ImportSignature prop.
* generator/Method.cs : use Parameters.ImportSignature prop.
* generator/NativeCallbackSignature.cs : kill
* generator/Parameters.cs : add ImportSig and NativeCallbackSig.
* generator/Signal.cs : use Parameters.NativeCallbackSignature prop.
* generator/VirtualMethod.cs : use Parameters.ImportSignature prop.
2007-07-31 Mike Kestner <mkestner@novell.com>
* generator/Ctor.cs : Validate before generating and adjust protection
on a couple private methods.
* generator/Parameters.cs : remove unused var to kill warning.
2007-07-30 Mike Kestner <mkestner@novell.com>
* generator/MethodBody.cs : refactor finish logic into parameter.
* generator/Parameters.cs : refactor finish logic into parameter and
fix some failures to marshal ref params post call.
2007-07-27 Mike Kestner <mkestner@novell.com>
* generator/OpaqueGen.cs : only generate Copy override for methods
with no parameters. Fixes a gnome-sharp build problem.
2007-07-26 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : beef up error message for signal vm parse.
[Fixes#82149]
2007-07-24 Mike Kestner <mkestner@novell.com>
* bootstrap-2.10 : bump version and tag 2.10.2.
2007-07-20 Mike Kestner <mkestner@novell.com>
* gtk/Calendar.custom : workaround invalid states in widget when
raising month_changed signals. [Fixes#78524]
2007-07-20 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api-2.10.raw : refresh.
* parser/gapi_pp.pl : combine lines that end in '\' before sending
them through the pattern matching. [Fixes#79214]
2007-07-19 Mike Kestner <mkestner@novell.com>
* generator/OpaqueGen.cs : override the new Copy vm if a Copy method
exists for the type.
* glib/Opaque.cs : add a virtual method to allow subclasses with
Copy methods to override. Use the method in GetOpaque for unowned
instantiations to try to obtain an owned instance. [Fixes#82037]
2007-07-18 Mike Kestner <mkestner@novell.com>
* gdk/EventExpose.cs : return a pointer from the get_area glue
pinvoke to avoid VS crashes on win32.
* gdk/glue/event.c : return a GdkRectangle* to avoid stack imbalance
on VS debugger. [Fixes#82098]
2007-07-17 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : map TreeModelFilter ctor param to prop to
avoid subclass ctor exception. [Fixes#82115]
2007-07-17 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : make GError** signatures fatal to
avoid compilation problem in gmime-sharp.
2007-07-12 Mike Kestner <mkestner@novell.com>
* generator/StructBase.cs : use typeof to pass type to PtrToStruct
to avoid an instantiation and method call. Duh.
2007-07-10 Mike Kestner <mkestner@novell.com>
* generator/ImportSignature.cs : use Parameter.NativeSignature
prop and refactor out some GError handling.
* generator/MethodBody.cs : Refactor logic into Parameters.
* generator/Parameters.cs : add ArrayParameter, ArrayCountPair, and
ErrorParameter subclasses to refactor spaghetti code in MethodBody.
2007-07-03 Mike Kestner <mkestner@novell.com>
* bootstrap-generic : use automake --foreign to make automake-1.10
happy with gnu make function usage.
2007-06-25 Mike Kestner <mkestner@novell.com>
* gtk/StatusIcon.custom : present_icon is in the glue lib.
2007-06-25 Ankit Jain <jankit@novell.com>
* gdk/Gdk.metadata : hide Property.Get for manual impl.
* gdk/Property.custom : manually marshal the data param in Get.
2007-06-19 Mike Kestner <mkestner@novell.com>
* gdk/Property.custom : obsolete compat overload for Change().
* gdk/Gdk.metadata : array attr for Property.Change ().
* gdk/Makefile.am : add custom file.
2007-06-18 Mike Kestner <mkestner@novell.com>
* bootstrap-2.10 : bump version and tag.
2007-06-05 Mike Kestner <mkestner@novell.com>
* glib/ManagedValue.cs (ReleaseWrapper): new method.
* glib/Value.cs : release the ManagedValue wrapper to avoid leaks.
[Fixes#81799]
2007-05-03 Wade Berrier <wberrier@novell.com>
* generator/gapi2-codegen.in:
* parser/gapi2-fixup.in:
* parser/gapi2-parser.in:
Don't use 'which' anymore, as it doesn't work in all caes (ie: when symlinks are
in the way)
2007-04-28 Mike Kestner <mkestner@novell.com>
* generator/NativeCallbackSignature.cs :
* generator/Signal.cs : don't use ref IntPtr in native callback sigs
for struct parameters. Use IntPtr and StructureToPtr. Fixes the
layout issues in MD introduced by the structure marshaling rework.
2007-04-24 Aaron Bockover <abockover@novell.com>
* gtk/Widget.custom (StyleGetProperty): return null if
gtksharp_widget_style_get_property returns FALSE (property
doesn't exist) [Fixes#81445]
* gtk/glue/widget.c (gtksharp_widget_style_get_property): check
return of gtk_widget_class_find_style_property for NULL; function now
returns TRUE if spec is not NULL, FALSE otherwise
- Bugfixes (31)
- Updated/new translations
- Some new layouts and models
- Added [linux] evdev ruleset
While here, reorder the Makefile for aesthetic purposes and remove
perl and xgettext from USE_TOOLS.
In addition to many bug fixes, new features [since approximately 0.10.0]
include:
- New image formats with 10 bits per channel
- SSE2 optimizations for many operations
- Opacity based optimizations for operators
- Altivec optimizations for many operations
- A 32 bit region implementation
2007/12/06 14:27:50 phil
Operator related changes needed for SIP v4.7.2 and later.
Released as v3.17.4.
2007/07/30 16:51:02 phil
Released as v3.17.3.
2007/07/01 16:08:55 phil
Acquire the GIL before freeing a signal/slot connection.
2007/06/13 17:33:55 phil
Removed #includes of SIP generated files that, strictly speaking, were internal
and no longer generated.
2007/06/05 9:37:59 phil
Fix for an overflow bug in QImage from Ulli.
2007/05/14 15:00:02 phil
Updated progress.py example from Pete Jansen.
2007/04/25 12:28:47 phil
Updated the NEWS file.
2007/04/25 12:25:19 phil
Released as v3.17.2.
2007/04/21 14:13:36 phil
Backed out the recent change to remove the /ReleaseGIL/ from
QApplication.postEvent() as it turns out it avoids a potential deadlock.
2007/04/10 16:13:51 phil
Released as v3.17.1.
2007/04/02 15:27:03 phil
Updated the NEWS file.
SIP v4.6 is now required.
The QLayoutItem sub-class code no longer handles QLayout and leaves it to the
QObject sub-class code to deal with.
2007/02/20 10:58:40 phil
Removed the unneeded /ReleaseGIL/ from QApplication::postEvent().
Removed the GIL manipulation in QCustomEvent (in particular in the traverse
code).
2007/01/27 16:02:18 phil
Removed knowledge of the optional parts of the Qt support API so that it is no
longer necessary to update PyQt when new optional parts are added.
2007/01/27 15:37:47 phil
Updated the Qt support API for the latest SIP.
2007/01/21 16:29:15 phil
Implemented sipQtFindConnection() so that lambda slots can be handled by the
cyclic garbage collector.
2007/01/17 16:58:32 phil
Updated the copyright notices.
2006/11/30 20:58:48 phil
Fixed bug in QApplication ctor handwritten code that caused a crash if a
QApplication was created a second time with no arguments.
2006/11/04 22:08:33 phil
Released as v3.17.
2006/10/27 17:13:44 phil
Updated the news file.
2006/10/21 14:10:23 phil
Switched the internal build system to Qt v3.3.7.
2006/10/06 17:44:27 phil
Synched with the latest QScintilla1 API.
2006/09/09 17:59:52 phil
Added QextScintilla.setFont().
The internal build system now uses -j2.
2006/09/02 13:35:03 phil
Removed the use of -c in the internal build systems invocation of configure.py
as it causes problems for GCC v4.
2006/08/17 9:36:39 phil
Added the missing QListView.setSelectionAnchor().
2006/07/30 17:16:35 phil
Updated for the latest QScintilla v1 snapshot.
2006/07/19 23:30:28 phil
Some tweaks for Windows64 support based on patches from Gerard.
2006/07/16 12:38:36 phil
Adapted the handwritten code for Python v2.5.
2006/07/08 19:25:44 phil
Added QextScintilla.isCallTipActive().
2006/07/03 19:40:22 phil
Added pyqt_config_args to pyqtconfig.py.
Fixed QTextEdit.setAutoFormatting().
2006/07/02 14:28:05 phil
Added setWrapVisualFlags(), WrapMode::WrapCharacter, WrapVisualFlag to
QextScintilla.
2006/07/01 18:57:30 phil
Added cancelList(), firstVisibleLine(), isListActive(), showUserList(),
textHeight() and userListActivated() to QextScintilla.
2006/06/28 22:12:57 phil
QextScintilla.foldAll() can now optionally fold all child fold points.
Added autoCompleteFromAll() and setAutoCompletionStartCharacters() to
QextScintilla.
Added AcsAll as an auto-completion source.
2006/06/25 21:52:03 phil
Added defaultColor() and setDefaultColor() to QextScintillaLexer.
Added color() and setColor() to QextScintilla.
Renamed eraseColor() and setEraseColor() to paper() and setPaper() in
QextScintilla.
2006/06/25 16:21:32 phil
Added defaultPaper() and setDefaultPaper() to QextScintillaLexer.
Added eraseColor() and setEraseColor() to QextScintilla.
2006/06/22 19:29:38 phil
The mkfeatures helper is now always built without debugging.
configure.py now states that the -u flag on Windows needs a debug version of
Python.
2006/06/20 15:57:55 phil
Latest QScintilla updates.
2006/06/19 21:00:47 phil
Synced with the latest QScintilla snapshot - including the significantly
changed Ruby lexer.
2006/06/19 15:55:42 phil
Solaris warnings fixes from Ulli.
2006/06/18 23:51:34 phil
Sync with the latest QScintilla changes: highlighted identifiers and decorators
in the Python lexer.
2006/06/18 16:40:31 phil
Updated for the latest QScintilla snapshot.
2006/05/17 8:39:39 phil
Removed some inaccessable methods from QCString.
2006/05/11 19:04:27 phil
Another fix for Qt v3.1 in qnamespace.sip.
2006/04/28 20:47:46 phil
Replaced long long with PY_LONG_LONG for MSVC 6.
2006/04/07 23:29:54 phil
Tidy ups to the internal build system.
2006/04/06 12:26:09 phil
Fixed Qt::MacintoshVersion for Qt v3.0.x and v3.1.x.
2006/04/05 12:11:43 phil
Removed all functions that were hidden by overloads with the same Python
signature (ie. both of them).
2006/03/30 8:09:58 phil
Added QStringList::operator+=(const QString &).
2006/03/29 11:38:21 phil
Added the missing QImage.bitBlt() function.
2006/03/24 23:54:13 phil
Released as v3.16.
2006/03/23 21:34:09 phil
Added a missing /Transfer/ from QGLWidget().
2006/03/20 21:00:58 phil
Removed the "Filter" functions from the documentation.
2006/03/20 20:59:23 phil
Removed the "Filter" versions of the QFileDialog static methods as they aren't
necessary after all (just not obvious how to use them properly).
2006/03/14 22:45:09 phil
pyuic now specifies the Latin1 encoding when the -embed flag is used.
2006/03/13 11:55:09 phil
Build system changes so that PyQt builds on MacOS properly.
2006/03/11 19:16:56 phil
Removed some leftovers from when PyQt3 and 4 shared a single config.py. PyQt3
no longer searches PATH for the Qt bin directory.
2006/03/11 15:15:15 phil
Fixed build problem with Qt v1.x.
2006/03/10 22:37:30 phil
Updates for Qt v3.3.6.
2006/03/04 16:06:40 phil
Documentation updates.
Applied the same transfer rule to QPopupMenu.exec() as is applied to
QDialog.exec().
Added getOpenFileNameFilter(), getSaveFileNameFilter() and
getOpenFileNamesFilter() to QFileDialog that return a tuple of the selected
files and the current filter.
2006/02/26 13:56:28 phil
Added support for signed char to the Qt API.
2006/02/21 15:22:08 phil
Changed the signal/slot handling so that unsigned int and unsigned short are
implemented as long objects rather than integer objects.
2006/02/19 16:43:48 phil
Updates to the internal Qt API.
2006/02/18 21:05:56 phil
Added new stubs in the Qt support API (not used by PyQt3).
2006/02/14 19:16:05 phil
The destroyed() signal can now be received by a Python slot.
2006/02/13 20:02:22 phil
Fixed a typo in configure.py.
2006/02/13 0:24:55 phil
Updated the handwritten code to use the current SIP API.
2006/02/12 1:14:11 phil
Removed all calls sipForceConvertTo*().
Removed all uses of newly deprecated calls.
2006/01/26 16:40:38 phil
Changed the signal/slot support required by the latest SIP changes.
2006/01/16 18:58:26 phil
Removed PYQT_BUILD.
2006/01/10 19:13:07 phil
Fixed a typo in the last change.
2006/01/10 18:20:02 phil
Fixed the sipForceConvertToTransfer_*() calls.
2005/12/30 14:30:08 phil
More changes to handwritten code that should be handling sipSelfWasArg.
2005/12/28 19:35:10 phil
Updated all handwritten convertor code for the latest SIP changes.
2005/12/24 17:02:31 phil
Changes required by the introduction of sipSelfWasArg in the SIP snapshot.
2005/12/22 16:22:48 phil
Really fixed the QApplication argc bug this time.
2005/12/19 17:43:42 phil
Changes to the build system for the latest SIP snapshot.
2005/12/18 11:00:06 phil
Stripped the Qt4 specific stuff from configure.py.
2005/12/18 10:06:25 phil
Updated the internal build system not to include the .svn directory in
packages.
2005/12/17 19:43:36 phil
Changes to the internal build system for the CVS to SVN transfer.
2005/12/07 00:54:04 phil
Added a missing #include from qstring.sip in PyQt3.
2005/12/04 18:41:31 phil
Fixed the handling of horizontal and vertical stretch in QSizePolicy.
2005/11/29 13:06:37 phil
Fixed a long standing bug with QApplication ctors that only showed itself with
Qt4.
2005/11/24 17:45:09 phil
Added the missing /ReleaseGIL/ to QThread.exit().
2005/11/24 17:22:31 phil
Changes required for the modified mapped type template syntax.
2005/11/20 18:41:02 phil
The HTML documentation is now maintained manually rather than being
auto-generated.
2005/11/17 18:24:48 phil
Fixed bug in pyuic related to QKeySequence.
2005/11/12 10:29:13 phil
Added the missing ctor to QApplication.
2005/11/10 21:10:46 phil
Removed the /TransferThis/ annotations from the QTableItem (and sub-classes)
ctors. The Qt documentation is wrong.
2005/11/09 18:00:47 phil
Fixed the GIL bug in qInstallMsgHandler().
2005/11/01 22:08:32 phil
Implemented the PyQt3 changes for the new Qt support API.
2005/10/26 14:34:57 phil
Modified the QString buffer interface to be reentrant and to try and use the
default Python codec.
2005/10/23 16:02:47 phil
QObject.sender() now supports Python signals.
2005/10/22 22:38:54 phil
Implemented the buffer interface for QString.
2005/10/19 13:38:24 phil
Improved the fix to QClipboard.setData().
2005/10/16 16:09:29 phil
Used mapped type templates in PyQt3 where possible.
2005/10/13 18:52:02 phil
Fixed the handling of QClipboard.setMimeType() and a related memory leak.
2005/10/12 21:11:15 phil
Fixed bug in configure.py when the Qt bin directory isn't on the path.
Fixed compilation problem with QAxBase handwritten code and MinGW.
Added the * and *= operators to QString.
Removed some QString methods that were passing or returning arrays.
2005/10/11 21:13:48 phil
Added /Numeric/ to the QString + operator. The improved behaviour (being able
to write s = "foo" + QString("bar")) should now work in both PyQt3 and 4.
2005/10/07 18:15:37 phil
Changed the PyQt3 QString behaviour with long and ulong to match PyQt4.
2005/09/22 20:18:39 phil
Updated the build system now that all Qt specific configuration data has been
removed from sipconfig.
2005/09/10 21:33:59 phil
Fixed bug in configure.py when reporting an incorrect SIP version.
2005/09/08 20:16:33 phil
Updated the universal slot support to fit with the latest SIP snapshot.
Changed the way universal slots are implemented so they get destroyed when the
corresponding transmitter gets destroyed.
2005/09/07 20:53:52 phil
Removed support for SIP v3 in configure.py.
Minor pyuic fix taken from uic v3.3.5.
Added the missing MacintoshVersion enum.
Added the -f flag to configure to use any existing features file (by default it
is recreated).
2005/09/06 20:33:43 phil
Removed support for SIP v3 from configure.py.
Added the new Qt support code taken out of SIP.
Renamed because there is no dependency on any qt version in it.
Changes since py-qt3-sip (4.3.2):
v4.7.7 8th Aug 2008
- C++ structs are now properly handled as a class with a default public
section.
- sip.dump() now includes the object's first child wrapper.
v4.7.6 20th May 2008
- Added the -s flag to configure.py to specify the SDK directory to use when
building universal binaries on MacOS/X.
- Added support for MSVC 2008 to the build system.
- Added support for v10.x of the Intel compiler and removed support for
earlier versions.
- MSVC 2008 is the default platform when using Python v2.6.
v4.7.5 13th May 2008
- The sip.voidptr type has an optional size associated with it and supports
const void *. If a size is associated then it also supports Python's
buffer protocol.
- Added sipConvertToVoidPtr() to the SIP API.
- Added sipConvertFromConstVoidPtr(), sipConvertFromConstVoidPtrAndSize(),
sipConvertFromVoidPtr() and sipConvertFromVoidPtrAndSize() to the SIP API.
- Added the /ResultSize/ argument annotation to specify the size of a block
of memory returned as a void * or const void *.
- Added the /NoArgParser/ function annotation to give %MethodCode complete
responsibility for argument parsing.
- Added the /NoRelease/ mapped type annotation to specify that the
sipReleaseMappedType() function is not supported.
- The /ArraySize/ annotation now supports arrays with more than 2^31
elements.
- %GetCode and %SetCode for class attributes now have access to the
referencing type object.
- Any object that supports the Python buffer protocol can now be passed as a
char or char * argument.
v4.7.4 12th February 2008
- The build system handles the directory structure used by Leopard's Python
installation.
- Added support for /Transfer/ as a constructor annotation.
v4.7.3 6th December 2007
- Added support for automatically generating missing complementary
comparision operators. Note that this introduces a potential compatibility
problem - see the documentation for details.
v4.7.2 5th December 2007
- Added the /SingleShot/ argument annotation.
- Added the /TransferThis/ function annotation.
v4.7.1 28th September 2007
- A bug fix release.
v4.7 30th July 2007
- Added %PickleCode to allow handwritten code to pickle a wrapped C++
instance or C structure.
- Added %CompositeModule to create modules that are composites of ordinary
modules.
- Added %ConsolidatedModule (and the -p command line option) to create
modules that contain all the wrapper code on behalf of ordinary modules.
- Added the dump() function to the sip module.
- Added sipTransferBreak() to the SIP API.
- Added support for /Transfer/ as a function annotation.
v4.6 10th April 2007
- Added support for wchar_t.
- The -g command line option releases the GIL whenever a call is made to the
wrapped library.
- Added the /HoldGIL/ annotation to explicitly retain the GIL when calling a
particular function in the wrapped library.
- Added sipFindClass() and sipFindNamedEnum() to the public API.
- /TransferThis/ may be specified more than once.
- Added support for __truediv__ and __itruediv__.
- The SIP code generator and module may be built as universal binaries under
MacOS/X using the -n command line option to configure.py.
v4.5.2 9th December 2006
- A bug fix release.
v4.5.1 9th December 2006
- Added the SIP_SSIZE_T type to help write PEP 353 compliant handwritten
code.
v4.5 4th November 2006
- Added support for Python v2.5.
- Added sip_config_args to sipconfig.py.
- sip.voidptr now implements __hex__().
- Added sip.delete() to call a C++ instance's destructor, or return a C
structure to the heap.
- Added sip.isdeleted() to check if a C++ instance or C structure has been
destroyed or returned to the heap.
- Added sip.setdeleted() to mark that a C++ instance or C structure has been
destroyed or returned to the heap.
- Added support for pure virtual destructors.
- Added the __dtor__() method to allow Python code to be called from a C++
destructor.
- Added the /NoDefaultCtors/ class annotation.
- The generated API files are now more complete and use Python types rather
than C/C++ types.
- Added support for embedding manifests for MSVC 2005.
v4.4.5 10th June 2006
- A bug fix release.
v4.4.4 8th June 2006
- Added %ExportedHeaderCode and %UnitCode.
- Added sipExportSymbol() and sipImportSymbol() to the public API.
v4.4.3 27th April 2006
- A bug fix release.
v4.4.2 23rd April 2006
- A bug fix release.
v4.4.1 3rd April 2006
- A bug fix release.
v4.4 24th March 2006
- The major number of the internal API has changed so it will be necessary
to regenerate all modules.
- This release introduces small incompatibilities that may affect handwritten
code. See the documentation for the details.
- Module names specified with %Module and %CModule can now include periods to
denote a Python package structure.
- Namespaces can be split across multiple Python modules.
- Class templates are now supported and instantiated using "typedef".
- Mapped type templates are now supported and instantiated automatically.
- Global operators are now supported.
- Operator casts in classes are now supported.
- C/C++ signed char type is now treated as a separate type to char.
- C/C++ long and unsigned long types are now wrapped as Python long objects
rather than Python integer objects.
- C/C++ long long and unsigned long long types are now supported.
- unsigned short and unsigned int are now implemented as long objects instead
of integer objects.
- Classes can now be declared using the /External/ annotation and be defined
in another, unspecified, module.
- /TransferThis/ can now be used in non-factory methods to change the
ownership to a different C++ instance or to change it to Python.
- /Constrained/ can now be used with booleans.
- Added support for Python's buffer interface, %BIGetCharBufferCode,
%BIGetReadBufferCode, %BIGetSegCountCode and %BIGetWriteBufferCode.
- The "user" member has been added to the sipWrapper structure and can be
used for any purpose by handwritten code.
- Function argument names are now parsed, but otherwise ignored.
- The "explicit" keyword is now parsed, but otherwise ignored.
- Added the /DelayDtor/ class annotation which given more control over the
order in which instances are deleted when an application terminates.
- Added support for the SIP_PYTYPE pseudo-type that represents a Python
type object.
- Added support for ellipsis (ie. "...") in function arguments. Any
remaining arguments will be gathered as a Python tuple.
- Add support for the /NoDerived/ annotation for Python class constructors
that have no C/C++ equivalent.
- The sipSelfWasArg boolean is now available to the %MethodCode of
non-abstract, virtual methods to indicate whether the class implementation
of the method rather than the virtual implementation should be called.
%MethodCode for non-abstract, virtual, protected methods must now call the
sipProtectVirt wrapper (rather than sipProtect).
- sipCanConvertToInstance(), sipConvertToInstance(),
sipForceConvertToInstance(), sipReleaseInstance(),
sipConvertFromInstance(), sipConvertFromNewInstance(),
sipCanConvertToMappedType(), sipConvertToMappedType(),
sipForceConvertToMappedType(), sipReleaseMappedType(),
sipConvertFromMappedType() and sipFindMappedType() have been added to the
SIP API.
- sipLong_AsUnsignedLong() has been added, primarily as a workaround for a
bug in Python v2.3.x and earlier.
- Added the 't', 'u', 'C' and 'D' format characters to sipParseResult().
- Added the 't', 'u', 'B', 'C' and 'D' format characters to sipBuildResult().
- Responsibility for interpreting and implementing the /Transfer/ and
/TransferBack/ annotations has been pushed down to %ConvertToTypeCode and
%ConvertFromTypeCode. The generated type convertors sipForceConvertTo_*()
and sipConvertFrom_*() have been deprecated.
- Added the %SIPNoEmitters directive for PyQt4.
- Added support for the __hash__ Python special method.
- The __getitem__ Python special method no longer requires %MethodCode.
- All of the calls to Qt have been moved out of the sip module and into PyQt.
The generated sipconfig.py file no longer contains any Qt specific
information. These changes mean that SIP can support PyQt v3 and v4 at the
same time.
- Static methods can now be defined as Qt slots.
- Removed SIP_BUILD from sip.h.
- The -c, -l, -q and -x flags to configure.py have been removed.
- Added the PythonModuleMakefile class to the build system for installing
pure Python modules.
- Added the create_wrapper() function to the build system for creating
platform dependent executable wrappers for Python scripts.
- Added Configuration.platform to the build system.
PAM_putText() would set pointer resp->resp to buffer. This will work
until memory is reused. Thanks to Howard Kash <hmkash AT arl.army.mil>.
ico updated to show the two edge transitive Catalan solids, i.e. the
rhombic dodecahedron and the rhombic triacontahedron.
Added __linux__ to define list to allow newer sig masking to get rid of
pesky deprecated message.
configure checks for libXdpms
libXext has the DPMS functionality on both XFree86 4 and X.org.
(libXdpms may be Xfree86 3.x). Added /usr/pkg/lib and /usr/pkg/include to
long list of paths it checks in.
life added more life forms triangular life from Bays' paper and added
S245B3 with glider (-neighbors 8) from Bays' paper. Found some
patterns in S245B3 for the glider to crash into.
life3d -rule S45/B4 -neighbors 18 and -rule S45/B4 -neighbors 20 from
Bays' paper. Found some patterns for the gliders to crash into.
life3d -search added. Need to add more symmetries for 3D.
life3d -rule S3/B3 -neighbors 12 and -rule S456/B3 -neighbors 12. Added
a bunch of patterns from Bays' papers but not all. -neighbors 12 now
a rhombic dodecahedron instead of a cube.
ant3d -neighbors 12 (3d bees). Added eyes option to this.
Just noticed solitaire a mode I added was spelled wrong, ie it was spelled
without the second "i". Fixed a goof in solitaire.cc.
X.Org found in NetBSD-current.
Thanks a lot to all who helped, especially Matthias Scheler who did
repeated tests on Mac OS X and older versions of NetBSD to make sure the
support for those platforms wouldn't be broken (or at least, not fatally,
as I would still expect a few hiccups here and there, because there is
only so much one can test in such limited time).
On the infrastructure side, this branch brings pkgconfig-builtin.mk, in
order to write very easily new builtin.mk files. It can actually handle
more than just pkgconfig files, but it will provide a version if it finds
such a file. x11.builtin.mk has also been made more useful and now all
existing (and future!) native-X11-related builtin.mk files should include
it.
From Hasso Tepper, PR pkg/39563. With patches for FDO bugs 17405 & 16631.
Pack bdb_general_definitions block
Remove unused VBIOS flag defines
Don't disable planes in i830_update_dsparb
Don't skip the checks for DRI headers with --enable-dri
Fix reverted LVDS bios capability dword definition
Bump version 2.4.2
Fix from He Shuang(shuang.he at intel.com),
This long-overdue update brings many improvements:
- Many improvements to EXA
- Input Hotplugging via HAL or dbus (not enabled yet)
- Support for RandR 1.2. Users using a dual-head configuration are
encouraged to see <http://www.x.org/wiki/Projects/XRandR> for more
information.
- The server now uses the same version of Mesa we have in pkgsrc;
this likely will result in more reliable OpenGL/DRI operation.
I realize that this server is still not the latest release (1.5.0);
upgrading to that version will require an involved mesa update,
libpciaccess, etc. I hope that by the next quarter, that work will be done.
Please file a problem report and/or contact us via the usual means
(mailing lists, etc.) should you encounter any issues.
New in the 0.9.4 x11vnc release:
Reverse VNC connections (-connect and -connect_or_exit options)
work in the -find and -create X session FINDCREATEDISPLAY
modes.
Reverse VNC connections (either normal or using SSL) can use a
Web Proxy, a SOCKS proxy, the UltraVNC repeater proxy,
an SSH connection, or even a CGI URL to make the outgoing
connection (-proxy option). Forward connections can
use the -ssh option to set up a reachable redirection.
Support for the ZYWRLE encoding is added, this is the RealVNC ZRLE
encoding extended to do motion video and photo regions
more efficiently by way of a Wavelet based transformation.
The session finding and creating modes (-find and -create) have
been improved to be more reliable and also provide a new
desktop types (xfce) and new service redirection options.
Support for indexed colormaps (PseudoColor) with depths other
than 8 is provided (depths 1 to 16 now work).
Java viewer applet source code is provided in the x11vnc 0.9.4
tarball so now everything can be built from source.
miscellaneous new features and changes:
To unset Caps_Lock, Num_Lock and raise all keys in the X server
use -clear_all, or by remote control 'x11vnc -R clear_all'
The -autoport option gives more control over the server port
range that probes.
The -ping option can be used to help keep idle connections alive.
The -finddpy and -listdpy utilities help to debug and configure
the -find, -create, and -display WAIT:... modes.
Some automatic detection of screen resizes are handled even if
the -xrandr option is not supplied.
The -advertise_truecolor option can workaround some VNC viewer
incompatibilities with PseudoColor.
The option '-clip xinerama0' can be used to clip to the first
Xinerama sub-screen, etc.
If a fast framebuffer read rate is detected the -wait and -defer
parameters are reduced to 10 and 15 msec, respectively.
Pasting of the selection/clipboard into remote applications
(e.g. Java) is improved.
Usage with dvorak keyboards is improved. The option -macuskbd is
available on MacOSX to use the original US keyboard code.
Via a compiler option (-DENABLE_GRABLOCAL) one can use the
-grablocal n option to filter VNC client input if someone
at the console has done mouse or keyboard input n secs ago.
The -sleepin option can now sleep a random amount of time between
min and max time delays (-sleepin min-max).
pkgsrc changes:
* Add some additional modules:
devel/ruby-gnome2-bonobo
devel/ruby-gnome2-bonoboui
devel/ruby-gnome2-gconf
devel/ruby-gnome2-libglade
graphics/ruby-gnome2-gtkglext
multimedia/ruby-gnome2-gstreamer
print/ruby-gnome2-gnomeprintui
sysutils/ruby-gnome2-gnomevfs
www/ruby-gnome2-gtkhtml2
www/ruby-gnome2-gtkmozembed
x11/ruby-gnome2-gtksourceview
x11/ruby-gnome2-vte
* Fixed detection of rcairo. It had been broken since switched to gem.
patch-a{c,h,i,j,k,l.m}
(It Already in upstream trunk)
* Add patches for allow to load gem rcairo.
patch-a{n,o,p}
* Fixed overwritten glib module when installing modules require generated
header of glib module.
Modify to install the header as part of glib module and use bl3.mk.
* clean up dependency
* Add test target for modules having unit test.
* Modified patch-a{a,b,d,f,g} to acceptable by upstream.
Ruby-GNOME2-0.17.0 (2008-09-07)
Release notes:
* This Release supports Ruby 1.8.7 and has many bug fixes and
new bound functions.
Main changes:
* Ruby/GLib:
- [#2060606] Crash when removing ruby applet from gnome panel with 0.7rc1
[Kouhei Sutou]
* Ruby/GTK:
- [#2025651] FTBFS with gtk+ 2.13.5 [Cesare Tirabassi, Kouhei Sutou]
- [#2043970] Segfaults on 64-bit Linux [Neil Roberts, Kouhei Sutou]
* Ruby/Pango:
- [#2043970] Pango::FontDescription#weight= seg fault [Kouhei Sutou]
* Many other changes, GC bugs, Segfault fixes. See corresponding ChangeLog
for detailed information on changes and contributors.
Special thanks for your contributions to: (list in no particular order)
- Neil Roberts
- Cesare Tirabassi
- Arnaud Cornet