1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00
Commit Graph

115 Commits

Author SHA1 Message Date
Jelmer Vernooij
744402160d r14687: Start working on support for represent_as() and transmit_as() as
an alternative to subcontext()
2007-10-10 13:59:08 -05:00
Jelmer Vernooij
a7279f13f0 r14686: Fix pidl testsuite to run whenever there is a shared libary built
Samba present. Ignore tests that are known to fail for now.
2007-10-10 13:59:08 -05:00
Jelmer Vernooij
3647bd3124 r14658: Include ndr_obfuscate.h when necessary 2007-10-10 13:59:05 -05:00
Jelmer Vernooij
06f7a8c692 r14594: Fix some dependencies (required for shared library build) 2007-10-10 13:58:58 -05:00
Jelmer Vernooij
765fd852e7 r14550: Fix tests 2007-10-10 13:58:44 -05:00
Jelmer Vernooij
51b4270513 r14542: Remove librpc, libndr and libnbt from includes.h 2007-10-10 13:58:42 -05:00
Jelmer Vernooij
272ca8e636 r14491: Allow building more output outside of the Samba source tree 2007-10-10 13:57:32 -05:00
Jelmer Vernooij
0c18883315 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).
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
f7312dab3b r14470: Remove some unnecessary headers. 2007-10-10 13:57:29 -05:00
Jelmer Vernooij
3dd477ca51 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
2007-10-10 13:57:27 -05:00
Stefan Metzmacher
c0dd773537 r14455: also add the:
#ifndef FOO
#define FOO
...
#endif

to the client headers

metze
2007-10-10 13:57:26 -05:00
Jelmer Vernooij
7054ebf024 r14402: Generate seperate headers for RPC client functions. 2007-10-10 13:57:19 -05:00
Jelmer Vernooij
4fced6dbbd r14362: Only include ndr_compression.h when necessary. 2007-10-10 13:57:14 -05:00
Jelmer Vernooij
7213b7498e 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)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
eb8687cdd4 r14348: Fix location of #endif 2007-10-10 13:57:13 -05:00
Jelmer Vernooij
db1d7358b2 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
2007-10-10 13:57:05 -05:00
Jelmer Vernooij
80b9865b37 r14215: Improve warning/error messages. 2007-10-10 13:57:04 -05:00
Stefan Metzmacher
1b4c9f7fc2 r14105: fix whitespaces
metze
2007-10-10 13:56:51 -05:00
Jelmer Vernooij
aac1b99b36 r13842: Make some more functions public. 2007-10-10 13:52:15 -05:00
Andrew Tridgell
d2a2057ea5 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.
2007-10-10 13:52:07 -05:00
Jelmer Vernooij
bbacfaaea5 r12574: Bring tables.pl back to life and move registration of interfaces
now completely to a new subsystem.
2007-10-10 13:48:56 -05:00
Jelmer Vernooij
f75f757b62 r12572: No longer parse coclasses as interfaces 2007-10-10 13:48:52 -05:00
Jelmer Vernooij
87f665a1d5 r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server. 2007-10-10 13:47:51 -05:00
Jelmer Vernooij
832a1092c9 r12517: Don't generate empty init functions 2007-10-10 13:47:51 -05:00
Jelmer Vernooij
465b973870 r12515: Use UUID directly rather then string containing UUID 2007-10-10 13:47:49 -05:00
Jelmer Vernooij
3564e2f967 r12512: Use GUID structs in API functions everywhere rather then converting back and
forth between GUID structs and strings in several places.
2007-10-10 13:47:48 -05:00
Jelmer Vernooij
1e8670874b 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.
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
ba6a767f1b r12490: Fix --warn-compat 2007-10-10 13:47:44 -05:00
Jelmer Vernooij
e7ac6c708d r12484: Initial work on supporting non-typedeffed types 2007-10-10 13:47:44 -05:00
Jelmer Vernooij
45013467f5 r12483: Remove --tdr-header option (merged into --tdr-parser) 2007-10-10 13:47:43 -05:00
Jelmer Vernooij
bc6b45e242 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
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
3a57d29a62 r12470: Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
6967b98849 r12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
975d8816db 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'
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
f25358270d r12463: Rename 'Samba' namespace to 'Samba4' 2007-10-10 13:47:42 -05:00
Jelmer Vernooij
0c225d2978 r12462: Hide oo magic from callers of the parser 2007-10-10 13:47:42 -05:00
Jelmer Vernooij
905cebd117 r12206: Fix some issues in NOEMIT 2007-10-10 13:47:18 -05:00
Jelmer Vernooij
3241ce7ad7 r12205: Support 'TFS' command in conformance files 2007-10-10 13:47:18 -05:00
Jelmer Vernooij
daff0cba2c r12181: Use BASE_HEX rather then BASE_DEC by default for bitmaps. Patch by Guy
Harris. Fixes #3313
2007-10-10 13:47:17 -05:00
Stefan Metzmacher
c10195f313 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
2007-10-10 13:46:57 -05:00
Stefan Metzmacher
271d0af16d r11974: only look at $pl->{POINTER_TYPE} when $pl is defined
metze
2007-10-10 13:46:53 -05:00
Stefan Metzmacher
e5fef8519b r11972: handle [noejs] property also on functions
metze
2007-10-10 13:46:53 -05:00
Jelmer Vernooij
0830ed0d60 r11959: Use DOS_errors array for displaying WERROR values 2007-10-10 13:46:51 -05:00
Jelmer Vernooij
16ea96c81e r11539: Fix indentation in templates. Always generate lower-case
UUID strings as GUID_from_string seems to have trouble with
uppercased ones.
2007-10-10 13:45:51 -05:00
Jelmer Vernooij
e8926a4e17 r11535: Support void functions when generating templates. 2007-10-10 13:45:50 -05:00
Volker Lendecke
b8f324e4f0 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
2007-10-10 13:45:41 -05:00
Tim Potter
d770f85347 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?
2007-10-10 13:45:10 -05:00
Tim Potter
b70dd7a757 r11211: Append an error message to COL_INFO if the RPC call returned an error. 2007-10-10 13:45:03 -05:00
Jelmer Vernooij
55805b5ed9 r11141: Re-add paranoid string terminator check 2007-10-10 13:44:54 -05:00
Jelmer Vernooij
7596c708ba r11105: Warn if conformant arrays are not at the end of a struct
Support conformant [string] arrays
Eliminate utf8string

This breaks xattr binary compatibility with previous versions - is that a
problem?
2007-10-10 13:44:50 -05:00