History log of /vbox/src/VBox/Main/idl/apiwrap-server.xsl
Revision Date Author Comments Expand
b0f2bd1d6f4bbc5d9938cd92091a0d3fd727d047 53926 22-Jan-2015 vboxsync

Moved G_sNewLine to typemap-shared.inc.xsl.

fb0c9499e852c8847f20ff94d94476ec318fe37d 53917 22-Jan-2015 vboxsync

comimpl.xsl: Use xsl:key + key() to access //interfaces[@name=?] and //enum[@name=?]. Also, inserted a new-output-buffer command.

667f78289bd66d491435551618fcfe60280c52fd 53915 22-Jan-2015 vboxsync

apiwrap-server.xsl: Work around stupid xsltproc performance issue when outputting large 'text' format documents. Force it to split up the output buffer every so often.

cab869c5a56eefbf32e8f5f1e4a53050d46e8650 53913 22-Jan-2015 vboxsync

Main: Split the wrapper source generator job into two to speed reduce the time it takes before we can start compiling wrappers. In the process, the xslt code responsible for generating vboxapiwrap.kmk was moved into apiwrap-server-filelist.xsl to prevent more clutter in the original file. Down to 6 seconds for generating wrapper sources, headers and trace points.

aae83cade579096ce695f70f3ea8e862751260c9 53905 21-Jan-2015 vboxsync

apiwrap-server.xsl: Optimizing the parameter code a little, the no-tmp dtrace variant paid off quite a bit (most requently used). Got it down another 5-6 seconds here (ca 18 now).

9c311bd1c2e6024ec33fc61f9aeafe1dff56c631 53903 21-Jan-2015 vboxsync

apiwrap-server.xsl: Use xsl:key + key() to lookup interfaces and enums by @name. Since key works on current document, the super tricky stuff needed to make sure $G_root was select as current, so I took it one step further and make the //interface[@name=$addifname] current as well. Pushing that a step further, and the need for $iface was eliminated. Changes save 5-6 seconds here on a 30 second run.

d3a248c1e2c73219354ba7b6a1dd0f61b5d40eb5 53886 21-Jan-2015 vboxsync

fix

f2c1d156ebacf881eccc1d17c29877808e8a5d84 53885 21-Jan-2015 vboxsync

micro opts.

83bf0e5e5be2ea9615234bd6b482aaafaf84a80d 53883 21-Jan-2015 vboxsync

More micro opts

3d9dd3898847de5df077eb50b194708f6359728b 53882 21-Jan-2015 vboxsync

apiwrap-server.xsl: Micro optimizations.

f0727af162a325277470f629cf0f94dde88f104c 53879 21-Jan-2015 vboxsync

apiwrap-server.xsl: Fixed a couple of bugs in previous commit and optimize the filelist stuff, keeping it from going unecessarily deep and adding unecessary conditionals.

22687b2de721d6e27009b6335fb7481dcb4ea876 53878 21-Jan-2015 vboxsync

apiwrap-server.xsl: Generate headers and VBoxAPI.d in separate runs from the source files so kmk can start working on other source files while the wrapper C++ source files are being generated (slow).

d1cee674b4c5856cd9cdf7b6dfc596b3f11580ce 53875 20-Jan-2015 vboxsync

Use the native line ending because kmk_append does and we don't like mixing EOL for a single file (VBoxAPIWrap.kmk).

03c2c1a3b8325020021d9869a3fb159405394c77 53865 20-Jan-2015 vboxsync

Main: Added dtrace probes to the auto generated wrappers (half disabled - VBOX_WITH_DTRACE_R3_MAIN).

2708eaa62821078ffc3eaef2d5ca7dd31c8e1ba7 52248 31-Jul-2014 vboxsync

Main: ISession fully converted to use API wrappers

45a24008fece0d2b499202e004c982f3a430651c 51601 11-Jun-2014 vboxsync

Main/Machine: fix regression (lack of AutoLimitedCaller) due to missing hints/wrapper support for inaccessible VMs

ad6416604f921c978764761778bfdcd1f4984b5a 51463 30-May-2014 vboxsync

header fixes

1000fd01b52f6f6b49e4bbaf57903c1bf637a8ae 51426 27-May-2014 vboxsync

Main/idl: oops, checked in the wrong multi-interface API wrapper generator support. With this it should be really possible to get the work done (at most minor tweaks are necessary).

ec6ba6b64e8a0b6d09b24676d70d414e00c99ebb 50751 12-Mar-2014 vboxsync

Main/idl/apiwrap-server.xsl: add proper handling for mod="ptr" attributes, and additionally make some cleanups

681bb0bf6e9ab5a590d8afcdf37634e2fc29f595 50183 23-Jan-2014 vboxsync

Main/cbinding: bring the C binding to a new functionality level, making them handle both COM and XPCOM based platforms, plus some xsl cleanup to eliminate the $dispatch case which was unused for many years (and will not be used again)

c9ffb32f7bfe2b467ba3ae35d640ac7b97e50a30 49994 20-Dec-2013 vboxsync

Main/idl/apiwrap-server.xsl: fix the generated NS_IMPL_THREADSAFE_ISUPPORTS<n>_CI macros, list every interface which the class extends, fixes USB breakage where all USB devices were listed as "Unknown device", exposed by the switch to wrapper usage there lately

dcc162af9a2a47325b89f457ed215957415d3d3a 49660 26-Nov-2013 vboxsync

Main/idl/apiwrap-server.xsl: add forgotten marshaller interface to the COM map of every wrapper class, which is needed to solve threading model trouble

9f3a515a29d45728a5c5330459abd3429e35bda1 47650 09-Aug-2013 vboxsync

Main/idl/apiwrap-server: add support for providing hints to the wrapper generation, we'll sporadically need to get at the AutoCaller object so that we can call uninit().

c0d22c23d3289cef0332f4d61ab15df48ed34979 45518 12-Apr-2013 vboxsync

Main: Code generator for (xp)com API implementations, including logging and parameter conversion, so far only used by MediumFormat. Next try, needed significant tweaks to work with xpcom (safearray handling fixes in the parameter conversion helpers), different STL implementation (which doesn't support declaring template type parameters as const), missing build dependencies (which didn't show on the dual core system used for writing the code), and finally the duplicate XPCOM classinfo and AddRef/Release/QueryInterface method definitions needed to be removed.

c7d566ab52827f81580b101f385f70d5580f2948 45497 11-Apr-2013 vboxsync

back out API wrapper generator, too broken with XPCOM

521114694b1ff46f514becb37c72dbf1f2dd7714 45491 11-Apr-2013 vboxsync

Main: Code generator for (xp)com implementations, including logging and parameter conversion, so far only used by MediumFormat.