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

26 Commits

Author SHA1 Message Date
Jelmer Vernooij
1b90619009 pidl: Remove declare tests, add more tests for typedef.
(This used to be commit 254bf85c2e)
2008-01-12 21:21:14 +01:00
Jelmer Vernooij
92950a9f2f pidl: Remove support for the "declare" keyword in the parser.
(This used to be commit ea33713892)
2008-01-12 01:10:59 +01:00
Jelmer Vernooij
7acc0e77a6 r24815: Support cpp_quote().
(This used to be commit 30c1de30bb)
2007-10-10 15:03:14 -05:00
Stefan Metzmacher
bab99337f8 r22618: handle the properties related to the type
and not to 'declare' to avoid a pidl warning with:

declare [switch_type(uint16)] union netr_Validation;

void foo([in] uint16 level, [in,switch_is(level)] netrValidation info);

metze
(This used to be commit 3b3344f1df)
2007-10-10 14:51:53 -05:00
Jelmer Vernooij
035adfb943 r21681: Fix bug in the parsing code that parsed "struct foo;" the same as
"struct foo {};".

Reported by one of the OpenChange folks, thanks!
(This used to be commit d65b520f08)
2007-10-10 14:49:10 -05:00
Jelmer Vernooij
8cf122c2d2 r21430: Support tagged types without typedef. This means:
struct foo {
 ...
};

in IDL will now work. This is the first step towards nested types and
using typedefs for partial types (such as "typedef int *bar;"), a requirement
for complex uses of represent_as().
(This used to be commit a716aa70f0)
2007-10-10 14:48:32 -05:00
Jelmer Vernooij
d9665a737b r20746: Don't report each individual test in test_smbclient as a single testsuite.
Create separate directory for blackbox tests.
(This used to be commit 7e6357f213)
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
cfa230c480 r20625: Fix couple of warnings.
(This used to be commit 203076129b)
2007-10-10 14:37:17 -05:00
Jelmer Vernooij
74239c2e94 r20563: Start using the new parser in ParseExpr(). It's now trivial to use this
to check for NULL pointers when pointers are being dereferenced (#4218).

There are exactly 500 tests for pidl now :-)
(This used to be commit d3146f3bcd)
2007-10-10 14:36:58 -05:00
Jelmer Vernooij
e2b62f7d41 r20550: Use standard error mechanism in parser.
Make sure errors are reported correctly.
(This used to be commit 9f794c55a6)
2007-10-10 14:36:53 -05:00
Jelmer Vernooij
9972dc2549 r19599: Fix --includedir.
(This used to be commit 0da2bbcf76)
2007-10-10 14:25:01 -05:00
Jelmer Vernooij
863dcbfa06 r19588: Use include and import statements rather than depends() and helper().
(This used to be commit 347ae96282)
2007-10-10 14:24:58 -05:00
Jelmer Vernooij
d8ecabe452 r19585: Add support for some more standard IDL instructions:
- `include' (replaces helper())
 - `import' (replaces depends())

Add support for parsing importlib() - importlib() is now ignored (with a
warning), but no longer causes syntax errors.

helper() and depends() are now marked deprecated and will cause warnings.
(This used to be commit 1ccab71cb8)
2007-10-10 14:24:57 -05:00
Jelmer Vernooij
5c3fd8e471 r19580: Add --includedir option.
(This used to be commit b076bfa39f)
2007-10-10 14:24:56 -05:00
Jelmer Vernooij
c92781b333 r18194: Allow empty bitmap {} declarations.
(This used to be commit 084b5002b9)
2007-10-10 14:17:48 -05:00
Stefan Metzmacher
3d3bd93403 r17305: allow 'declare [...] union foo;'
metze
(This used to be commit 15d37004b7)
2007-10-10 14:15:10 -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 bc6b45e242)
2007-10-10 13:47:43 -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 975d8816db)
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 0c225d2978)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
c008f951cf r11097: Allow pointers in "const"
(This used to be commit 88fcd56fb5)
2007-10-10 13:44:48 -05:00
Jelmer Vernooij
d9cdaccaa7 r10093: Fix the HF_FIELD conformance file command
(This used to be commit 0c0a4b55cf)
2007-10-10 13:37:52 -05:00
Jelmer Vernooij
c070fd6222 r10074: Pass CPP to pidl via environment variables rather then config.pm. This fixes the
standalone pidl build (as used for ethereal)
(This used to be commit 9c9ebd2214)
2007-10-10 13:37:50 -05:00
James Peach
e6190e6be5 r10071: Configure checks for IRIX build environment. Test whether we can
use the MIPSPro 7.4 -c99 option to get C99 support. Try to find
a common perl that is more modern than /usr/bin/perl.
(This used to be commit 82fab8b747)
2007-10-10 13:36:34 -05:00
Jelmer Vernooij
40cbd4625a r10015: Change the NT4 registry backend to use the IDL-generate parse functions.
(This used to be commit 0ad46ef804)
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
2280017bbd r9462: Fix locations for generating the yapp files
(This used to be commit 714f96b9bf)
2007-10-10 13:34:18 -05:00
Jelmer Vernooij
59b13f9a1d r9460: - Move pidl to lib/. This fixes standalone installation of pidl.
- Update the README
- Allow building the docs stand-alone
(This used to be commit b56084ce25)
2007-10-10 13:34:17 -05:00