Age | Commit message (Collapse) | Author | Files | Lines |
|
- use a single list of scalars
- let "string" not be so special anymore
- fix support for "string_array"
metze
(This used to be commit e1fa7ae6c8420dc582578e084b9c0d641bcfbd73)
|
|
(This used to be commit b83dc8fbfb9ffe30654bc4869398f50dd9ccccb7)
|
|
(This used to be commit e14c00c4c1cc51dac9452c1e950445907d883e46)
|
|
command line environment instead of inside the web server.
It doesn't work yet though, rather an exception is thrown when trying
to call ejsDefineStringCFunction().
(This used to be commit 3444cd5429dfef5a67d5bf7818ae08e4e8cc5ccc)
|
|
call out to the build system to compile the various pidl tests
(without having to rely on shared library support).
Initial work on an ndr_array test.
(This used to be commit 2b08c4b92b4f56180c123a502bdcc6c40188c07f)
|
|
(This used to be commit a4a5eea7b741a78b45d19d7021805f674f48f44a)
|
|
'obfustication' in the new PIDL.
Jelmer: Can you double-check this?
Andrew Bartlett
(This used to be commit 2a1426c52f113237edeba4de25c402257f31ebe6)
|
|
Fix a couple of warnings.
(This used to be commit fcaa9d495c13af5065dd32f8ed65d4260b3a5539)
|
|
switch_is, etc) and simplify the code involved
(This used to be commit 86de98ee09348297f2c30ce15888ba5e5637c078)
|
|
should
now able to use constructions like these:
[size_is(20)] int *x; -> Pointer to array of 20 ints
[size_is(20)] int x[]; -> Array of 20 ints
[size_is(20)] int *x[]; -> Array of 20 pointers to ints
[size_is(20,)] int *x[] -> Array of 20 pointers to ints
[size_is(,20)] int *x[]; -> Pointer to array of 20 ints
[size_is(,20)] int **x; -> Pointer to pointer to array of 20 ints
[size_is(20)] int x[][30]; -> 20 blocks of 30 ints
(This used to be commit ecf583da71c2f80be124c17fccdcb284b47e0695)
|
|
This will also be required for supporting
parsing pointers to arrays and arrays of pointers simultaneously.
(This used to be commit a34f848b02a6e8284d62532a792a5136e846fe8f)
|
|
(This used to be commit d7d48adce9628ee7a0d2f8ac3504745aaeb912b9)
|
|
(This used to be commit 31543e1eae03d22343ea8c970494af36eb07b41f)
|
|
This includes an embedded server side scripting system called 'esp'
(see http://www.appwebserver.org/products/esp/esp.html) and javascript
based scripting language called 'esj' (see
http://www.appwebserver.org/products/ejs/ejs.html)
The justification for including this scripting language is that it
should make it much easier to write a high quality web interface for
Samba4. The scripting language can call into any Samba4 library code
(so for example it will be able to make ldb and loadparm calls), plus
it provides easy support for forms, cookies, sessions etc.
There is still quite a bit more work to do on the web server, but
there is enough here now for people to look at and comment. I will be
committing some sample web pages that test esp functionality shortly.
(This used to be commit 26f0ba92c0c565ac9e4cb5a079d795d4262497dd)
|
|
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
|
|
- Warn about unknown attributes in .mk
- Remove more unused functions
(This used to be commit 6bf8126ae9368dc56cf0cd91b972a2d939974679)
|
|
(This used to be commit a7846183035295c2d60148beb23ddb4ed7d20723)
|
|
(This used to be commit 1437257616a67634f2211ce85b70fc9d71acd17e)
|
|
(This used to be commit 4e159a757015faa007419bdaf0ceea8cdbe595ee)
|
|
Accept new command-line options --keep, --outputdir and --idl-compiler.
We're currently at 34 IDL tests (...and counting)
(This used to be commit 7004f9515b75bce5b46e444f1865d377fdae0afa)
|
|
scalars
(it doesn't have any push/pull functions anymore either)
(This used to be commit 7d36e27e228ce83a5ce159eb424c4b5194c0e2fb)
|
|
where possible.
(This used to be commit 077f4105aceba99a7ac4de21a20bb758fcc01203)
|
|
- Add some more pidl tests based on ref_notes.txt
We currently fail some tests because we don't default to "ref"
for top-level pointers at the moment. We also fail some of the multi-level
tests.
(This used to be commit 187802f580d85e19ee9b7f07db931d0511f197bc)
|
|
tridge's ref_notes.txt document.
(This used to be commit 04196e0aff10846ec69a9c35e61517bb7f856386)
|
|
Some work on a testsuite for pidl, including one simple test.
(This used to be commit a5aa61f54ea20f0b400359f9b3119f0ff0720431)
|
|
(This used to be commit faa7e0366928a46abdc487f6d549fc95d67acae3)
|
|
(This used to be commit 77f9c471eaad71e6adf0371de206ed879daca2d8)
|
|
done by setting:
OUTPUT_TYPE = SHARED_LIBRARY
in the [SUBSYSTEM::...] section belonging to a subsystem.
The idea is to allow multiple values to OUTPUT_TYPE simultaneously
(e.g. OUTPUT_TYPE = SHARED_LIBRARY, STATIC_LIBRARY, OBJLIST )
(This used to be commit b9d0ae93ba86fec0115f58e7940b2a6c908bc809)
|
|
Make the build system give a proper warning about this in the future
(This used to be commit 2d980465af87d25ce17b8340c6b5f662ef29edd3)
|
|
and NDR headers
(This used to be commit 421e7feee96ebda1bf92814e06257d728ea2b1e5)
|
|
(This used to be commit f46c532883e18b8780ff73d3ac0899690eeab3f4)
|
|
patch from Steven Edwards
(This used to be commit 82be4978116b73cd6d964da4fad59b5c5b11217e)
|
|
config.mk and config.m4 to be consistent with the rest of Samba.
(This used to be commit f377c71e4f0d60684326906dfb65e4581294ec34)
|
|
way of doing
this if you want detection of socket wrapper :-)
(This used to be commit f4bfc3a80e0986d48ea8f6ece5432732f5738f32)
|
|
(This used to be commit 8d63cd33a223cccb21d808747e9c97da53629fbc)
|
|
(This used to be commit e51e0dffa8f8bff9bd1535751e805b548b6c6d7f)
|
|
while it is not compiled in.
(This used to be commit d63086918ba79307089b3992dc7ed8fc8c6d18a8)
|
|
Add socket-wrapper-enabled test target and use that by
default when the socket wrapper was included
(This used to be commit d3b0ad8b4b6f8ee80a9c77e1102960d51ced5a5f)
|
|
metze
(This used to be commit 7fb10f2753f4acd7d86928b601139137af4be7b5)
|
|
optional.
This will allow us to build unversioned libraries suitable for loading
using dlopen() i.e for the swig wrappers.
(This used to be commit 3feac34d84fa7cac646a90708f399420178c7313)
|
|
Running as a non-root user using socket_wrapper is possible by simple
export SOCKET_WRAPPER_DIR before running 'make test'
(This used to be commit 6d93fcc407cfd98e42045c65456cfb0c45f0ff1a)
|
|
metze
(This used to be commit 23b529ee090e1858fc18794b949f7e466fa82b0e)
|
|
(This used to be commit 02160c991a7e9bef2fabfe338a772e32679edf5d)
|
|
(This used to be commit 195753b6afe3115762bcc4d579bc4a9f1c45af75)
|
|
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
(This used to be commit 7d2d4a57e0e58a51c76c2e86ea447e81a1d79544)
|
|
(This used to be commit 87d3d55bd38ddcdbf42a920c65b5cf94649ca607)
|
|
or AC_CANONICAL_SYSTEM needs to be called in order for $host_os to be
defined.
(This used to be commit d05cb53399d98804fd8590c10a3db43deb53180a)
|
|
testing...)
metze
(This used to be commit 41316e7f1b8361fb7ff220e2b9faa683a4951850)
|
|
scalar type (mostly)
metze
(This used to be commit ba1686e31a0d70a1fddabf4289d20fa8fe13b566)
|
|
Remove a couple of unused M4 macros.
The standalone LDB build will not work until I've figured out what
AC_CHECK_LIB_EXT() does exactly (it's Samba-specific)
(This used to be commit cc20d6bb7f06e077ebe4c366e545e187a0c79472)
|