1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-30 20:23:49 +03:00
Commit Graph

692 Commits

Author SHA1 Message Date
Stefan Metzmacher
9a858b5614 r7118: allways pull scalars and buffers when pulling the subcontext context
(this, is not the full fix, still doesn't work :-( )

metze
2007-10-10 13:17:19 -05:00
Jelmer Vernooij
b00355bf0c r7117: Move more manpages to the source repository 2007-10-10 13:17:18 -05:00
Stefan Metzmacher
2287ed4afa r7115: specify what properties can be used on what objects...
metze
2007-10-10 13:17:18 -05:00
Jelmer Vernooij
1e9beae533 r7111: Patch from Alan DeKok for correct use of the needed variables in Decl* 2007-10-10 13:17:18 -05:00
Jelmer Vernooij
7721fc7274 r7109: Change noid() to noopnum() so it isn't confusing to people familiar with id() 2007-10-10 13:17:17 -05:00
Stefan Metzmacher
81c878b7b2 r7102: fix subcontext(0)
metze
2007-10-10 13:17:16 -05:00
Stefan Metzmacher
189730d143 r7098: - make use of the NDR table instead of the IDL table in the client and server generation
- add 'noid' property to allow functions to be not present in the function table,
  and not generate client and server functions for them
- print out a warning about [id()] not being correctly supported yet

metze
2007-10-10 13:17:16 -05:00
Stefan Metzmacher
e1fa7ae6c8 r7084: - readd the work from rev 6516,6517,6572
- use a single list of scalars

- let "string" not be so special anymore

- fix support for "string_array"

metze
2007-10-10 13:17:14 -05:00
Tim Potter
b83dc8fbfb r7065: Move ejs from web_server to lib so it can be shared with smbscript. 2007-10-10 13:17:11 -05:00
Tim Potter
e14c00c4c1 r7062: Merge scripting/swig/config.mk with scripting/config.mk 2007-10-10 13:17:10 -05:00
Tim Potter
3444cd5429 r7061: A ejs scripting client. This should allow javascript to be run in a
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().
2007-10-10 13:17:10 -05:00
Jelmer Vernooij
2b08c4b92b r7059: Use namespaces for pidl and the build system, so we can later on
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.
2007-10-10 13:17:10 -05:00
Andrew Tridgell
a4a5eea7b7 r7049: auto-create the private/tls/ directory on install 2007-10-10 13:17:08 -05:00
Andrew Bartlett
2a1426c52f r7043: Patch from Julien Kerihuel <j.kerihuel@openchange.org> to reenable
'obfustication' in the new PIDL.

Jelmer:  Can you double-check this?

Andrew Bartlett
2007-10-10 13:17:08 -05:00
Jelmer Vernooij
fcaa9d495c r7037: Add enough pointers in the header file as well
Fix a couple of warnings.
2007-10-10 13:17:07 -05:00
Jelmer Vernooij
86de98ee09 r7036: Allow more operations in several properties (such as size_is, length_is,
switch_is, etc) and simplify the code involved
2007-10-10 13:17:07 -05:00
Jelmer Vernooij
ecf583da71 r7029: Make array support in pidl similar to that in other IDL compilers. We 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
2007-10-10 13:17:07 -05:00
Jelmer Vernooij
a34f848b02 r7022: Add support for parsing definitions of multi-dimension arrays.
This will also be required for supporting
parsing pointers to arrays and arrays of pointers simultaneously.
2007-10-10 13:17:07 -05:00
Tim Potter
d7d48adce9 r7010: Merge libcli/libsmb.mk into libcli/config.mk 2007-10-10 13:17:05 -05:00
Andrew Tridgell
31543e1eae r6982: install the swat pages with 'make installswat' 2007-10-10 13:17:02 -05:00
Andrew Tridgell
26f0ba92c0 r6981: first version of the builtin web server for Samba4
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.
2007-10-10 13:17:01 -05:00
Jelmer Vernooij
13cf227615 r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
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..
2007-10-10 13:17:01 -05:00
Jelmer Vernooij
6bf8126ae9 r6926: More build farm fixes:
- Warn about unknown attributes in .mk
 - Remove more unused functions
2007-10-10 13:16:57 -05:00
Jelmer Vernooij
a784618303 r6924: Remove some unused functions. 2007-10-10 13:16:57 -05:00
Jelmer Vernooij
1437257616 r6874: Fix static library build 2007-10-10 13:16:53 -05:00
Andrew Tridgell
4e159a7570 r6873: fixed exec bit 2007-10-10 13:16:52 -05:00
Jelmer Vernooij
7004f9515b r6862: Add some more tests
Accept new command-line options --keep, --outputdir and --idl-compiler.

We're currently at 34 IDL tests (...and counting)
2007-10-10 13:16:52 -05:00
Jelmer Vernooij
7d36e27e22 r6860: Add some allocation and alignment tests, remove uint64 from list of scalars
(it doesn't have any push/pull functions anymore either)
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
077f4105ac r6859: Add ndr_align tests, use environment variables ($CC, $CFLAGS, $LDFLAGS)
where possible.
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
187802f580 r6857: - Support [public] on functions
- 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.
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
04196e0aff r6856: Add a couple of tests that test for the behaviour described in
tridge's ref_notes.txt document.
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
a5aa61f54e r6854: Add --quiet option to pidl
Some work on a testsuite for pidl, including one simple test.
2007-10-10 13:16:51 -05:00
Andrew Tridgell
faa7e03669 r6853: again fixed SOCKET_WRAPPER_DIR in 'make test' 2007-10-10 13:16:51 -05:00
Jelmer Vernooij
77f9c471ea r6842: Move to .mk file 2007-10-10 13:16:50 -05:00
Jelmer Vernooij
b9d0ae93ba r6839: Add support for building subsystems as shared libraries. This can be
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 )
2007-10-10 13:16:50 -05:00
Jelmer Vernooij
2d980465af r6838: Remove unnecessary calls to gensec_gsskrb5
Make the build system give a proper warning about this in the future
2007-10-10 13:16:49 -05:00
Jelmer Vernooij
421e7feee9 r6836: Allow optionally passing in a destination filename for NDR parsers
and NDR headers
2007-10-10 13:16:49 -05:00
Jelmer Vernooij
f46c532883 r6828: More portability fixes 2007-10-10 13:16:48 -05:00
Jelmer Vernooij
82be497811 r6825: Fall back to chsize if ftruncate is not available
patch from Steven Edwards
2007-10-10 13:16:47 -05:00
Tim Potter
f377c71e4f r6810: Rename auth/{ntlmssp,gensec,kerberos} mk and m4 files to be called
config.mk and config.m4 to be consistent with the rest of Samba.
2007-10-10 13:16:46 -05:00
Andrew Tridgell
f4bfc3a80e r6809: ifeq is not portable in make - jelmer, you'll need to find some other way of doing
this if you want detection of socket wrapper :-)
2007-10-10 13:16:46 -05:00
Jelmer Vernooij
8d63cd33a2 r6752: Patch by Steven Edwards to improve portability to mingw32 2007-10-10 13:16:41 -05:00
Andrew Tridgell
e51e0dffa8 r6725: the beginnings of a cldap server 2007-10-10 13:16:38 -05:00
Jelmer Vernooij
d63086918b r6621: Warn when the user is trying to use socket wrapper
while it is not compiled in.
2007-10-10 13:16:31 -05:00
Jelmer Vernooij
d3b0ad8b4b r6617: Let --enable-developer imply --enable-socket-wrapper
Add socket-wrapper-enabled test target and use that by
default when the socket wrapper was included
2007-10-10 13:16:31 -05:00
Stefan Metzmacher
7fb10f2753 r6607: fix the build
metze
2007-10-10 13:16:30 -05:00
Tim Potter
3feac34d84 r6589: Make the library versioning options for building a shared library optional.
This will allow us to build unversioned libraries suitable for loading
using dlopen() i.e for the swig wrappers.
2007-10-10 13:16:28 -05:00
Jelmer Vernooij
6d93fcc407 r6577: Make test works without installation now.
Running as a non-root user using socket_wrapper is possible by simple
export SOCKET_WRAPPER_DIR before running 'make test'
2007-10-10 13:16:27 -05:00
Stefan Metzmacher
23b529ee09 r6572: add "string_array" as new scalar type for handling SPOOLSS string array's
metze
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
02160c991a r6568: Some more small 'make test' fixes 2007-10-10 13:16:26 -05:00