patchDotGNU Portable.NET - Patches: patch #5337, Marshaling support for gtk# and...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5337: Marshaling support for gtk# and additional functionality

Submitter:  Kirill Kononenko <krokas>
Submitted:  Sun 27 Aug 2006 08:41:36 PM UTC
Votes: 1
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Mon 25 Sep 2006 07:03:23 PM UTC, comment #5: 

patch applied, 09/24/2006

Klaus Treichel <ktreichel>
Group administrator
Tue 19 Sep 2006 03:39:44 PM UTC, comment #4: 

The same patch against the cvs of 19.09.2006

Kirill Kononenko <krokas>
Sat 16 Sep 2006 01:34:08 PM UTC, comment #3: 

Same thing in a patch, changing the lib_marshal.sh, jitc_call.c and jitc.c for the change in DelegateToClosure signature. Now the first arg there is not the thread arg, but we handle this getting the current thread.

Kirill Kononenko <krokas>
Sat 16 Sep 2006 01:14:24 PM UTC, comment #2: 

- many minor changes with work around the current thread
- found a bug that the thread was passed as a first param for a case !USE_JIT_THREAD_IN_SIGNATURE

Kirill Kononenko <krokas>
Sun 10 Sep 2006 04:54:18 PM UTC, comment #1: 

- marshaling for the case when the methods are compiled as !IL_JIT_THREAD_IN_SIGNATURE.

Kirill Kononenko <krokas>
Sun 27 Aug 2006 08:41:36 PM UTC, original submission:  

This patch adds a number of changes in marshaling support code and improves support for gtk# applications. These changes include:

- Improve multicast delegates handling.
- Handle delegates and multicast delegates differently with
direct call to delegate method and __ILJitDelegateInvokeCodeGen respectively.
- Improve marshaling to/from Ansi/UTF8/UTF16 strings using the pinvoke record and the ILPInvokeGetMarshalType function.
- Inline marshaling intructions and build a call to the native external function directly in the body of the new build function if not defined _IL_JIT_ENABLE_DEBUG  (if it is defined build a stub in a second function).
- Allow extended marshaling of simple arrays for complex types and strings if defined USE_BYREF_MARSHALING (default is set to 0).
- Implement handling of strings that are embedded in stuctures and simple arrays (needed for gtk#/sample/testdnd.exe).
- Improve recursive marshaling of arrays and structure by handling the IL_META_MARSHAL_DIRECT flag and the NeedMarshalValue function.
- Introduce handling of the IL_META_MARSHAL_CUSTOM flag with two new MarshalCustomToObject and MarshalObjectToCustom functions for objects that support custom marshaling.

Kirill Kononenko <krokas>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #10801:  krokas-060919.patch added by krokas (139KiB - text/x-patch)
file #10775:  krokas-060916.patch added by krokas (138KiB - text/x-patch)
file #10774:  jitc_pinvoke.c added by krokas (104KiB - text/x-csrc)
file #10725:  jitc_pinvoke.c added by krokas (105KiB - text/x-csrc)
file #10613:  krokas-060828.patch added by krokas (123KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 8 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-09-25 ktreichel StatusNone Done
    Open/ClosedOpen Closed
2006-09-19 krokas Attached File- Added krokas-060919.patch, #10801
2006-09-16 krokas Attached File- Added krokas-060916.patch, #10775
2006-09-16 krokas Attached File- Added jitc_pinvoke.c, #10774
2006-09-10 krokas Carbon-Copy- Added krokas
2006-09-10 krokas Attached File- Added jitc_pinvoke.c, #10725
2006-08-27 krokas Attached File- Added krokas-060828.patch, #10613

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code