1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

236 Commits

Author SHA1 Message Date
Jelmer Vernooij
362d4b14ae r20543: Merge some pidl bug fixes:
* C expressions that just started with a constant were erroneously flagged
   as being a constant.
 * 1-length variable names in expressions were broken.
(This used to be commit 44775a6ac4)
2007-10-10 14:36:51 -05:00
Jelmer Vernooij
f97f11eab2 r20511: Combine warnings/errors/fatal functions and move them to Parse::Pidl.
(This used to be commit 959adfd0a6)
2007-10-10 14:36:04 -05:00
Stefan Metzmacher
3c20e210de r20358: - fix ejs generated code for ipv4address
- (not Parse::Pidl::Typelist::scalar_is_reference($e->{TYPE}))
  is much more generic than ($e->{TYPE} ne "string")
  and handles ipv4address and other special types...

metze
(This used to be commit 02d2ce65e6)
2007-10-10 14:30:15 -05:00
Jelmer Vernooij
c8a5f304c6 r20299: Disable two new tests that are apparently broken.
(This used to be commit b3f64869fc)
2007-10-10 14:29:34 -05:00
Jelmer Vernooij
253c1bec46 r20298: Fix pidl tests (missing symlink..).
(This used to be commit ab3d573946)
2007-10-10 14:29:34 -05:00
Jelmer Vernooij
0bb6dacc16 r19868: Fix more tests.
(This used to be commit 01a4fb1b22)
2007-10-10 14:28:28 -05:00
Jelmer Vernooij
a2a151a046 r19866: Fix test compilation.
(This used to be commit 2a3196db9d)
2007-10-10 14:28:27 -05:00
Jelmer Vernooij
8d870db811 r19859: Reuse referrent ids when pushing full pointers (still need to
avoid pushing the referred object twice) and add test for full pointers.
(This used to be commit 1638c8d234)
2007-10-10 14:28:26 -05:00
Jelmer Vernooij
128fe5324b r19856: Use sptr as basis for full ptr implementation. Will add checks for duplicates later.
(This used to be commit 006ab1d4a4)
2007-10-10 14:28:26 -05:00
Stefan Metzmacher
203550d032 r19854: readd support for 'sptr' pointers, to work against windows servers
until jelmer commits his 'ptr' support

metze
(This used to be commit f5aa620b1b)
2007-10-10 14:28:25 -05:00
Jelmer Vernooij
55eaaa2238 r19845: Add warning for pointer_default_top()
(This used to be commit 3f0da2388d)
2007-10-10 14:28:24 -05:00
Jelmer Vernooij
108152dd6a r19842: Complain about unknown pointer types.
Fallback to "unique" when "ptr" is specified instead of failing.
(This used to be commit a1b6308b21)
2007-10-10 14:28:23 -05:00
Jelmer Vernooij
9d7d39d180 r19834: Prevent some inaccurate warnings.
(This used to be commit 21efd2bdb8)
2007-10-10 14:28:22 -05:00
Jelmer Vernooij
ce0c2236b9 r19830: Warn about non-ref top-level pointers.
(This used to be commit 78153200ac)
2007-10-10 14:28:21 -05:00
Jelmer Vernooij
de2ab46ad8 r19829: Update documentation.
(This used to be commit 9d3c3ce540)
2007-10-10 14:28:21 -05:00
Volker Lendecke
f4c4e0cf7f r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)

Nevertheless, Jelmer & Jerry, please take a look!

Thanks,

Volker
(This used to be commit 10dcaf89ed)
2007-10-10 14:28:20 -05:00
Jelmer Vernooij
5b05f5f5f1 r19752: Remove support for the `depends' attribute (use "import") instead.
(This used to be commit 324395afc7)
2007-10-10 14:28:19 -05:00
Jelmer Vernooij
e3ea863a3c r19751: Add some tests for parsing the "include", "import" and "importlib" statements.
(This used to be commit 3a850bda96)
2007-10-10 14:28:18 -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
e08bf809af r19572: Fix typo.
(This used to be commit 1836411390)
2007-10-10 14:24:54 -05:00
Jelmer Vernooij
a7b18e70dd r19562: Support returning simple scalars.
(This used to be commit 8bd12d3fdb)
2007-10-10 14:24:52 -05:00
Jelmer Vernooij
bdf1f0b0db r19561: Remove debug statement.
(This used to be commit 910b56e729)
2007-10-10 14:24:51 -05:00
Jelmer Vernooij
ae0219cd81 r19560: Fix handling of PARAM_VALUE.
(This used to be commit dde3d5342c)
2007-10-10 14:24:51 -05:00
Jelmer Vernooij
5b9f1b01ba r19559: Fix handling of types where the name isn't prefixed by the interface name.
Based on patch by Julien Kerihuel.
(This used to be commit 466e9c12a5)
2007-10-10 14:24:51 -05:00
Jelmer Vernooij
6031841dd8 r19557: Fix lookup table for WERROR.
Fix perl warnings when using NTSTATUS as return type.
(This used to be commit 577cd1625d)
2007-10-10 14:24:50 -05:00
Jelmer Vernooij
0f738f13f9 r19553: Add check for correct API usage.
(This used to be commit 9e2206ae99)
2007-10-10 14:24:49 -05:00
Jelmer Vernooij
77d1be3e8d r19547: Fix use of v1_enum on enums used in return types.
(This used to be commit dbae9b4e4e)
2007-10-10 14:24:48 -05:00
Jelmer Vernooij
d9862f2bc4 r19546: fix number of bytes pushed when using switch_type() set to enum types.
die() on invalid used of enum_type_fn()
(This used to be commit de6198c893)
2007-10-10 14:24:48 -05:00
Jelmer Vernooij
36b971bb3c r19545: Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel.
(This used to be commit 705cd03c53)
2007-10-10 14:24:47 -05:00
Jelmer Vernooij
4be0aa0d31 r19544: Fix case of 'warning'.
(This used to be commit 4f1f541837)
2007-10-10 14:24:47 -05:00
Jelmer Vernooij
70b8d2c8eb r19541: Explicitly segfault when the API is being used incorrectly. Previously
this would've caused a silent premature return.
(This used to be commit 91ae5a8033)
2007-10-10 14:24:46 -05:00
Volker Lendecke
af5e517521 r19219: Fix a memleak in the generated srv_code.
Fix a warning.

Implement the rng_fault_state return check.

After this (and Jeremy's fix) all Samba3-developers should do a 'make idl' and
do a complete rebuild.

Volker
(This used to be commit 0c0a861c8b)
2007-10-10 14:20:55 -05:00
Jeremy Allison
e461cfee2e r19208: Fix Samba3 pidl generation to remove memory leaks.
Jermey.
(This used to be commit 4b878578c2)
2007-10-10 14:20:54 -05:00
Gerald Carter
a22d785d7c r19049: Samba 3 client fixes
* Make sure to check for NULL pointers when dealing with
  [out,unique] before assigning valoues
* Detect RPC faults and return immediately
(This used to be commit c96dae478c)
2007-10-10 14:20:31 -05:00
Jelmer Vernooij
4d3434ff6e r18873: Use WERR_errors table rather than DOS_errors table for wireshark.
(This used to be commit 5a2e103ea0)
2007-10-10 14:20:17 -05:00
Jelmer Vernooij
d6e65c2318 r18767: Fix [ref] pointer in object oriented interfaces. Removes a
bunch of warnings when compiling dcom.idl.
(This used to be commit 6f6dd76146)
2007-10-10 14:19:09 -05:00
Jelmer Vernooij
d094a421d3 r18696: Zero initialize ref ptrs.
(This used to be commit 8de48f62e7)
2007-10-10 14:19:03 -05:00
Jelmer Vernooij
b9785235b4 r18693: Print debug info when DEBUGLEVEL >= 10 in the Samba3 code.
(This used to be commit d28ae3f70a)
2007-10-10 14:19:02 -05:00
Jelmer Vernooij
1463ca1d2b r18689: Initialize r.out in the server side code, in case the handler function
doesn't touch them.
(This used to be commit 2ac2c7ca60)
2007-10-10 14:19:02 -05:00
Jelmer Vernooij
cd9057a0bb r18639: Get rid of the keepref support
(This used to be commit d1364ef0cd)
2007-10-10 14:18:59 -05:00
Jelmer Vernooij
d9b4bdd5bb r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatible
(This used to be commit ab0a798c57)
2007-10-10 14:18:47 -05:00
Jelmer Vernooij
291c5ed53c r18559: [string] always applies to the last pointer
(This used to be commit 86b4624226)
2007-10-10 14:18:46 -05:00
Jelmer Vernooij
3e7cff6c00 r18554: Fix warnings about [out] arguments.
(This used to be commit caac6cf817)
2007-10-10 14:18:45 -05:00
Jelmer Vernooij
f78ff444e6 r18524: Pre-allocate out arguments.
(This used to be commit 0ee42669d3)
2007-10-10 14:18:42 -05:00
Jelmer Vernooij
df08af8418 r18523: Allow [out] on arrays as well as pointers, use in unixinfo.
(This used to be commit f67b4d58ac)
2007-10-10 14:18:42 -05:00
Jelmer Vernooij
5f68b76c4a r18522: It's probably not a good idea to use rpc_netdfs_init() as initialization
function name for _all_ RPC servers...
(This used to be commit 234272e39d)
2007-10-10 14:18:42 -05:00
Jelmer Vernooij
eb9a2757eb r18520: Add note about warnings on [out] arrays.
(This used to be commit 7a2afc3e0c)
2007-10-10 14:18:41 -05:00