1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

128 Commits

Author SHA1 Message Date
Jelmer Vernooij
4469fa31e3 r14491: Allow building more output outside of the Samba source tree
(This used to be commit 272ca8e636cc5043279ff247fc8d5693a9181992)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
ecf0dd6baf r14488: Install more headers.
Generate different #include lines in pidl depending on whether
we're building inside or outside of the Samba tree (useful for
3rd-party projects).
(This used to be commit 0c188833154c1fe565cb1735909e408a4a1a6049)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
4f1c8daa36 r14470: Remove some unnecessary headers.
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10 13:57:29 -05:00
Jelmer Vernooij
8528016978 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10 13:57:27 -05:00
Stefan Metzmacher
84aea6eca5 r14455: also add the:
#ifndef FOO
#define FOO
...
#endif

to the client headers

metze
(This used to be commit c0dd773537bda9980e77eb6eda848161b7df82e5)
2007-10-10 13:57:26 -05:00
Jelmer Vernooij
1060f6b3f6 r14402: Generate seperate headers for RPC client functions.
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10 13:57:19 -05:00
Jelmer Vernooij
227a789351 r14362: Only include ndr_compression.h when necessary.
(This used to be commit 4fced6dbbdc06233e5cf69f90c099fafee9baa34)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
9865048bf4 r14361: Support 'helper' attribute in pidl and use it.
Remove some headers from include/includes.h (they're now only included
in the file they are used)
(This used to be commit 7213b7498eacac2c2cd03cf6aace376ce153cc7c)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
35447f0a48 r14348: Fix location of #endif
(This used to be commit eb8687cdd4240c5636384e992a0f1a77251fddcc)
2007-10-10 13:57:13 -05:00
Jelmer Vernooij
9edbad7a36 r14223: Couple of small fixes:
- properly support --samba3-header argument used alone
 - support `security_descriptor' data type
 - only print pidl warnings, not perl warnings on erratic input
 - insert copyright header in templates
(This used to be commit db1d7358b2ba9b104c1a96762af89b500b79172f)
2007-10-10 13:57:05 -05:00
Jelmer Vernooij
39f1f55610 r14215: Improve warning/error messages.
(This used to be commit 80b9865b373ee542da2d56d6688b4c8fd4c6275c)
2007-10-10 13:57:04 -05:00
Stefan Metzmacher
f07143c35c r14105: fix whitespaces
metze
(This used to be commit 1b4c9f7fc203908d9cdd331f26b983fb445f05e2)
2007-10-10 13:56:51 -05:00
Jelmer Vernooij
c71c86c524 r13842: Make some more functions public.
(This used to be commit aac1b99b362993352d80692afa55c38fc851c016)
2007-10-10 13:52:15 -05:00
Andrew Tridgell
e3e048630b r13738: added support for a "pointer" type in pidl. This will be used in the
opendb work that will be committed shortly.

The pointer type assumes that pointers fit in 64 bits, which is
probably OK on all our supported architectures.
(This used to be commit d2a2057ea5af140ca88a9c305a38fc5dca9eaafd)
2007-10-10 13:52:07 -05:00
Stefan Metzmacher
d796373895 r12776: use $ENV{TEST_DATA_PREFIX} for test files if available
metze
(This used to be commit 5552eaa37c228872736688bb65b4f678bdfeddf4)
2007-10-10 13:49:53 -05:00
Jelmer Vernooij
87fd7b5484 r12574: Bring tables.pl back to life and move registration of interfaces
now completely to a new subsystem.
(This used to be commit bbacfaaea5819e0ecadf81e8fbb424916284c809)
2007-10-10 13:48:56 -05:00
Jelmer Vernooij
1690ae449a r12573: Update README to recent changes in pidls namespace
(This used to be commit 33012dc015c837d4cbb61207ad8d3b5a8ad37c02)
2007-10-10 13:48:55 -05:00
Jelmer Vernooij
1cfda1af18 r12572: No longer parse coclasses as interfaces
(This used to be commit f75f757b621a46ea531c27ac682623829a4fdea7)
2007-10-10 13:48:52 -05:00
Stefan Metzmacher
43c3c7349d r12539: fix the pidl tests
metze
(This used to be commit 4b90ad7a272b3cb976c2efc2c67b339519b1cd90)
2007-10-10 13:47:54 -05:00
Jelmer Vernooij
0a3c167f6b r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
d49f11df21 r12517: Don't generate empty init functions
(This used to be commit 832a1092c9c11c293b5748e2e78da872fcba2a42)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
05b141c5c9 r12515: Use UUID directly rather then string containing UUID
(This used to be commit 465b9738709e7415eab58ea773bd138e8f0f20d6)
2007-10-10 13:47:49 -05:00
Jelmer Vernooij
d658de65d3 r12512: Use GUID structs in API functions everywhere rather then converting back and
forth between GUID structs and strings in several places.
(This used to be commit 3564e2f967ef72d6301b4f7e9a311cebcded4d75)
2007-10-10 13:47:48 -05:00
Jelmer Vernooij
c1c01df22f r12501: Merge EJSHeader.pm into EJS.pm and simplify smbcalls_rpc.c a bit,
now that it is guaranteed that the smbcalls modules are always initialized
after the EJS subsystem itself.
(This used to be commit 1e8670874bb7415c3e00a42516680fdb4ee2fca1)
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
ee10fb1a12 r12490: Fix --warn-compat
(This used to be commit ba6a767f1b3a14e076ebd049b4fdcffd64173523)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
d7eaaf48e4 r12488: Fix MANIFEST to match recent changes
(This used to be commit 6ab0ce15083c23e287f89b5e38b63d267cf3d5fc)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
94793b80d7 r12484: Initial work on supporting non-typedeffed types
(This used to be commit e7ac6c708dde7afb4c92a8cc4dea7a95b7054e3e)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
25d57c0ad8 r12483: Remove --tdr-header option (merged into --tdr-parser)
(This used to be commit 45013467f57d646f3db099862665d2631272b446)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
d3ced46329 r12482: Add some more tests
(This used to be commit 516b66e0f1c65688abb936b4432039bc431b872c)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
a4fe56c06a r12481: Move parser-specific utility functions to idl.yp, remove some unused functions
Allow the use of non-typedef structs and unions when declaring variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
(This used to be commit bc6b45e242c8d7b2ef1a6e6d3eb172c27afd952d)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
8e924678b2 r12480: Extend testsuite
(This used to be commit 1fa6c3568b9653f637da92e9a66695cd89825a2f)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
7717f180ca r12470: Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
(This used to be commit 3a57d29a62112ab654e290ccc985fba7f67664c5)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
620d375320 r12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
(This used to be commit 6967b9884970b6f1d7617196ab024d401628a13c)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
68ef82aac7 r12464: Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
(This used to be commit 975d8816db6697dab828941b69a740e3a0a2c272)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
ebfbb2a7ab r12463: Rename 'Samba' namespace to 'Samba4'
(This used to be commit f25358270d44a5642adbb85ecaa50b2e5730d7f0)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
e791dd73b9 r12462: Hide oo magic from callers of the parser
(This used to be commit 0c225d2978b11898d334ec2d6da910e0cca0f4cd)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
a3b0f53f47 r12206: Fix some issues in NOEMIT
(This used to be commit 905cebd117f3b05a286f014e2c21b0843e8f7caf)
2007-10-10 13:47:18 -05:00
Jelmer Vernooij
5352b38928 r12205: Support 'TFS' command in conformance files
(This used to be commit 3241ce7ad75a2f91327815374ad698e8bedb2e73)
2007-10-10 13:47:18 -05:00
Jelmer Vernooij
9e00afdcbe r12181: Use BASE_HEX rather then BASE_DEC by default for bitmaps. Patch by Guy
Harris. Fixes #3313
(This used to be commit daff0cba2c8e4d56055673b1113e19c265a8bf63)
2007-10-10 13:47:17 -05:00
Stefan Metzmacher
f536c4a608 r11997: for multidimentional array like this:
uint32 [num_level2][num_level1][num_level0]

fix the order they're pushed and pulled, it should be like this

for (l2=0; l2 < num_level2; l2++) {
	for (l1=0; l1 < num_level1; l1++) {
		for (l0=0; l0 < num_level0; l0++) {
			ndr_pull_uint32(...);
		}
	}
}

metze
(This used to be commit c10195f31383f51911edd8a32f8b5d5857d5bf2d)
2007-10-10 13:46:57 -05:00
Stefan Metzmacher
a9cdc6321a r11974: only look at $pl->{POINTER_TYPE} when $pl is defined
metze
(This used to be commit 271d0af16d50bc89a384b56db70d569914273f6c)
2007-10-10 13:46:53 -05:00
Stefan Metzmacher
7da0f7d76d r11972: handle [noejs] property also on functions
metze
(This used to be commit e5fef8519b28f66ce8a401fc866c8b9bf08c584d)
2007-10-10 13:46:53 -05:00
Jelmer Vernooij
6672d8aeaa r11959: Use DOS_errors array for displaying WERROR values
(This used to be commit 0830ed0d60cdbd00e6f42dae2c7e295363bca17d)
2007-10-10 13:46:51 -05:00
Jelmer Vernooij
cca42c611a r11539: Fix indentation in templates. Always generate lower-case
UUID strings as GUID_from_string seems to have trouble with
uppercased ones.
(This used to be commit 16ea96c81ed88f197007335f442c9e62b4ccd6de)
2007-10-10 13:45:51 -05:00
Jelmer Vernooij
df5b70db2c r11535: Support void functions when generating templates.
(This used to be commit e8926a4e171a7bf74c220fa825ef5fa9e297fa47)
2007-10-10 13:45:50 -05:00
Volker Lendecke
66d3ee9ccb r11473: Based on work by Jelmer, implement the [async] flag for rpc requests. If it's
not there (it's not yet on *any* call... :-)), the rpc client strictly
sequences calls to an rpc pipe. Might need some more work on the exact
sequencing semantics when a pipe with both sync and async calls is actually
deployed, but I want it in for winbind simplification.

Volker
(This used to be commit b8f324e4f000971b7dafc263c16dd4af958ee7f9)
2007-10-10 13:45:41 -05:00
Jelmer Vernooij
42c5211bf4 r11386: Add install rule for pidl
(This used to be commit b740d0d28043e37ba3f0bec0c1bfbd68c0fb56e6)
2007-10-10 13:45:29 -05:00
Tim Potter
79b667eda9 r11262: Try to get the equivalent of a subcontext in pidl ethereal conformance
files working.  It doesn't quite work though.  (-:

This patch also allows a struct.field format to be used in an IMPORT
statement instead of a type name.

Jelmer, what do you think?
(This used to be commit d770f853475d12a33d23fc86ab30223dfde22dd7)
2007-10-10 13:45:10 -05:00
Tim Potter
7514f906c2 r11211: Append an error message to COL_INFO if the RPC call returned an error.
(This used to be commit b70dd7a757e7341d90c89dffa7e1c4eab790020a)
2007-10-10 13:45:03 -05:00
Jelmer Vernooij
087dd76232 r11141: Re-add paranoid string terminator check
(This used to be commit 55805b5ed9493160ff17c26d2e1361947f368707)
2007-10-10 13:44:54 -05:00