Jelmer Vernooij
a0e2e30d57
r20638: Check for NULL pointers (where possible) in print functions. Fixes #4218 ,
...
but without reintroducing coverity warnings.
2007-10-10 14:37:19 -05:00
Jelmer Vernooij
419547df76
r20637: Don't check for NULL pointers when the pointer is guaranteed to not be NULL
...
(if it is a ref pointer).
2007-10-10 14:37:19 -05:00
Jelmer Vernooij
f5dc1b47ec
r20567: Print proper errors with filename and line numbers in ParseExpr()
2007-10-10 14:37:01 -05:00
Jelmer Vernooij
006ab1d4a4
r19856: Use sptr as basis for full ptr implementation. Will add checks for duplicates later.
2007-10-10 14:28:26 -05:00
Jelmer Vernooij
324395afc7
r19752: Remove support for the `depends' attribute (use "import") instead.
2007-10-10 14:28:19 -05:00
Jelmer Vernooij
1ccab71cb8
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.
2007-10-10 14:24:57 -05:00
Jelmer Vernooij
de6198c893
r19546: fix number of bytes pushed when using switch_type() set to enum types.
...
die() on invalid used of enum_type_fn()
2007-10-10 14:24:48 -05:00
Jelmer Vernooij
91ae5a8033
r19541: Explicitly segfault when the API is being used incorrectly. Previously
...
this would've caused a silent premature return.
2007-10-10 14:24:46 -05:00
Jelmer Vernooij
d1364ef0cd
r18639: Get rid of the keepref support
2007-10-10 14:18:59 -05:00
Jelmer Vernooij
ab0a798c57
r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatible
2007-10-10 14:18:47 -05:00
Jelmer Vernooij
9dd6520240
r18270: Samba3 has _PUBLIC_ now.
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
b2018249b7
r18268: for samba3 define _PUBLIC_ empty
...
metze
2007-10-10 14:17:59 -05:00
Andrew Tridgell
76496c2f5e
r18254: reverted r18231
...
Jelmer, older versions of gcc don't support visibility("default"). See
for example the CentOS build here:
http://build.samba.org/?function=View+Build;host=lithium;tree=samba4;compiler=gcc;revision=18253
Is there some other way you can think of to do this?
2007-10-10 14:17:56 -05:00
Jelmer Vernooij
77043ebe25
r18231: Don't use _PUBLIC_ but use __attribute__ directly instead.
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
d0f0d4600a
r18228: Don't include Samba4-specific headers when building inside a Samba3 tree.
2007-10-10 14:17:53 -05:00
Stefan Metzmacher
b15e4c7cfa
r17889: allocate a valid element where the pointer can point to,
...
fix c++ warnings
metze
2007-10-10 14:16:52 -05:00
Gerald Carter
26a2fa97e4
r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar
2007-10-10 14:08:59 -05:00
Jelmer Vernooij
a7c9ec69b2
r15780: Fix indentation of deferred code ( fixed #3739 )
2007-10-10 14:08:19 -05:00
Jelmer Vernooij
030272e79b
r15778: Fix bug printing ref pointers.
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
bdc6dd3750
r15776: Don't generate ref pointers in Samba4-generated code. There is no point
...
in having pointers for outgoing data when you can already modify the top-level
element.
This can be overridden (temporarily) by specifying the new "keepref"
attribute. Once we've removed keepref from all IDL files, I'll remove this
attribute as well.
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
f10b38b824
r15327: Support 'nosize'. Also write prototypes for print and size functions that are manually written.
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
56eceeb322
r15324: Generate prototype even if the function itself is
...
written manually.
2007-10-10 14:05:16 -05:00
Jelmer Vernooij
03224dab11
r14867: Include <stdbool.h> in external compiles
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
a316b33057
r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere
2007-10-10 13:59:17 -05:00
Jelmer Vernooij
122d1d0249
r14692: Get rid of the obfuscation() attribute
2007-10-10 13:59:09 -05:00
Jelmer Vernooij
f4428db2f9
r14691: Fix printing elements with represent_as set
2007-10-10 13:59:09 -05:00
Jelmer Vernooij
31e847a084
r14690: Support represent_as in headers, enable represent_as() test (which works now)
2007-10-10 13:59:09 -05:00
Jelmer Vernooij
7bc72277b3
r14688: More work on represent_as(): output the right function calls, fix test.
2007-10-10 13:59:08 -05:00
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
3647bd3124
r14658: Include ndr_obfuscate.h when necessary
2007-10-10 13:59:05 -05:00
Jelmer Vernooij
765fd852e7
r14550: Fix tests
2007-10-10 13:58:44 -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
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
aac1b99b36
r13842: Make some more functions public.
2007-10-10 13:52:15 -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
832a1092c9
r12517: Don't generate empty init functions
2007-10-10 13:47:51 -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
e7ac6c708d
r12484: Initial work on supporting non-typedeffed types
2007-10-10 13:47:44 -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
f25358270d
r12463: Rename 'Samba' namespace to 'Samba4'
2007-10-10 13:47:42 -05:00