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

97 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
88fcd56fb5 r11097: Allow pointers in "const" 2007-10-10 13:44:48 -05:00
Jelmer Vernooij
2f76e2a6bf r11077: Fix [string] for Samba3 2007-10-10 13:44:44 -05:00
Jelmer Vernooij
1d5db487bb r11067: Support for [string] in the Ethereal parser generator 2007-10-10 13:44:44 -05:00
Jelmer Vernooij
765adaf19b r11061: Samba3 parser generator fixes:
* Add (limited) support for [string]
* Don't generate (and set) header elements for top level ref pointers as
they don't appear on the wire
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
471c0ca4ab r11052: bring samba4 uptodate with the samba4-winsrepl branch,
before the bad merge

metze
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
66f931071e r11011: r10124@SERNOX: metze | 2005-09-09 20:22:00 +0200
r10113@SERNOX:  metze | 2005-09-09 18:00:02 +0200
  rename libcli/wins to libcli/wrepl

  metze
  r10115@SERNOX:  metze | 2005-09-09 18:01:49 +0200
  bind client connection to the best interface, to the partner

  metze
  r10116@SERNOX:  jelmer | 2005-09-09 18:23:50 +0200
  Print out a couple more warnings.
2007-10-10 13:41:27 -05:00
Jeremy Allison
2680aeffb1 r10880: Missed terminating ';', sorry.
Jeremy.
2007-10-10 13:39:39 -05:00
Jeremy Allison
534e8d1622 r10879: Added the ZERO_STRUCT(q_u), (r_u) entries to the generated
Samba3 code. Jelmer please check !
Jeremy.
2007-10-10 13:39:39 -05:00
Stefan Metzmacher
7efb92adc0 r10868: make flag(NDR_PAHEX) possible to use and show the union level in hex
metze
2007-10-10 13:39:38 -05:00
Jelmer Vernooij
3c2558d11e r10849: Fix handling of [charset] for strings with fixed or "inline" size 2007-10-10 13:39:36 -05:00
Jelmer Vernooij
3a4086d614 r10842: Fix some issues with [out] unions that have a discriminator that is only
[in]
2007-10-10 13:39:34 -05:00
Jelmer Vernooij
7877d43657 r10840: Fix indentation 2007-10-10 13:39:34 -05:00
Jelmer Vernooij
0c53e7c3cf r10829: Documentation updates
Update TODO
Some small fixes to the modules
2007-10-10 13:39:33 -05:00
Jelmer Vernooij
ebb8e75ebd r10788: - Give unions a name
- Check initialisation function return value
2007-10-10 13:39:29 -05:00
Jelmer Vernooij
43a5c863bf r10787: Fix silly nodiscriminant-issue 2007-10-10 13:39:29 -05:00
Jelmer Vernooij
6b33e3eedd r10765: Actually use VALS() setting for enums 2007-10-10 13:39:28 -05:00
Stefan Metzmacher
2f46e54e1b r10761: we need to use a pointer to a nbt_name to fix compiler warnings, because we can
only use a pointers to unknown types in proto.h

metze
2007-10-10 13:39:28 -05:00
Stefan Metzmacher
c4a252bd46 r10760: remove only one star from the pointers, and not from the stars that
come from the array nesting

this fixes a compiler warning and but in the eventlog.h,
where the idl uses nstring strings[num_strings]

metze
2007-10-10 13:39:27 -05:00