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

271 Commits

Author SHA1 Message Date
Jelmer Vernooij
2669f2c8ad r21340: Fix warning undef 2007-10-10 14:48:15 -05:00
Jelmer Vernooij
4a5b62ad62 r21338: Fix handling of top-level arrays for the Samba 3 client code. This doesn't
fix the winreg code yet (as that's an array on top of a pointer), but at least
it gets us closer.

Also added a couple of tests for the Samba 3 client code.
2007-10-10 14:48:15 -05:00
Jelmer Vernooij
8212a3b8e0 r21332: Fix bug in pidl that prevented value(0) from working. Bug reported by metze. 2007-10-10 14:48:14 -05:00
Jelmer Vernooij
07652f65ce r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
2007-10-10 14:48:04 -05:00
Jelmer Vernooij
025597a359 r21260: Fix regex. 2007-10-10 14:44:55 -05:00
Jelmer Vernooij
84c15158b9 r21254: Fix running the testsuite outside pidl/ 2007-10-10 14:44:54 -05:00
Jelmer Vernooij
1aecba7100 r21253: Merge some pidl fixes:
* Add tests for wireshark dissector generator
 * Add tests for the header code
 * Some cleanups
 * Fix handling of elements without [in] or [out]
2007-10-10 14:44:54 -05:00
Jelmer Vernooij
37c0da541e r21222: Merge a couple of pidl fixes:
* Pidl will now warn when trying to use pointers as integers in expressions.
* "subcontext()" is now marked as deprecated. The alternatives,
  transmit_as() / represent_as() should be available soon.
* More tests.
* Remove some unused code in smbtorture.
2007-10-10 14:44:48 -05:00
Jelmer Vernooij
30a06273d2 r21075: Generate parameters in structs for the server side Samba 3 code. The current code in Samba 3 is already generated using this pidl patch. 2007-10-10 14:44:28 -05:00
Jelmer Vernooij
9da63e362c r20967: Allow pidl tests to work with gcov 2007-10-10 14:44:04 -05:00
Jelmer Vernooij
6bada0dcf0 r20942: Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument. 2007-10-10 14:43:57 -05:00
Jelmer Vernooij
76c78b0339 r20850: Prefix all server calls with dcesrv_ 2007-10-10 14:43:39 -05:00
Jelmer Vernooij
10ca65bd78 r20836: Use real type name, to fix compilation with -WC++-compat 2007-10-10 14:43:38 -05:00
Jelmer Vernooij
b967f5851f r20834: No longer generate extra pointers for top-level [out] unique pointers. 2007-10-10 14:43:38 -05:00
Jelmer Vernooij
3cc299dbbe r20830: merge mgmt work 2007-10-10 14:43:37 -05:00
Jelmer Vernooij
7e6357f213 r20746: Don't report each individual test in test_smbclient as a single testsuite.
Create separate directory for blackbox tests.
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
3dfcd9f807 r20688: Use argv[0] equivalent of perl. 2007-10-10 14:40:23 -05:00
Jelmer Vernooij
5d09131cc8 r20675: Fix installation. 2007-10-10 14:40:19 -05:00
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
3ddc767727 r20633: Add another test, fix warnings. 2007-10-10 14:37:18 -05:00
Jelmer Vernooij
ded25eca70 r20631: Add some tests for the ndr parser. 2007-10-10 14:37:18 -05:00
Jelmer Vernooij
203076129b r20625: Fix couple of warnings. 2007-10-10 14:37:17 -05:00
Stefan Metzmacher
895416c220 r20573: fix handling of pointers handling to elements with the charset property
metze
2007-10-10 14:37:04 -05:00
Jelmer Vernooij
1618921a7e r20571: fix '' case 2007-10-10 14:37:03 -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
a4d6e340cd r20564: Regenerate. 2007-10-10 14:36:58 -05:00
Jelmer Vernooij
d3146f3bcd 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 :-)
2007-10-10 14:36:58 -05:00
Jelmer Vernooij
26853d7d99 r20562: Start building expr parser. Add separate copy of Yapp::Driver
rather than including it in each individual parser.
2007-10-10 14:36:57 -05:00
Jelmer Vernooij
7e7fdb01d3 r20561: Add parser for subexpressions used in IDL attributes. 2007-10-10 14:36:57 -05:00
Jelmer Vernooij
0ba52e459b r20556: Add more tests to make sure nothing breaks when I replace the ParseExpr code. 2007-10-10 14:36:55 -05:00
Jelmer Vernooij
9f794c55a6 r20550: Use standard error mechanism in parser.
Make sure errors are reported correctly.
2007-10-10 14:36:53 -05:00
Jelmer Vernooij
30d721569f r20548: Remove unnecessary "use lib", fix warnings. 2007-10-10 14:36:52 -05:00
Jelmer Vernooij
2d960d4d7b r20547: Add tests for expected errors/warnings. 2007-10-10 14:36:51 -05:00
Jelmer Vernooij
ae9b0895e8 r20545: Fix is_constant(). 2007-10-10 14:36:51 -05:00
Jelmer Vernooij
44775a6ac4 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.
2007-10-10 14:36:51 -05:00
Jelmer Vernooij
959adfd0a6 r20511: Combine warnings/errors/fatal functions and move them to Parse::Pidl. 2007-10-10 14:36:04 -05:00
Stefan Metzmacher
02d2ce65e6 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
2007-10-10 14:30:15 -05:00
Jelmer Vernooij
b3f64869fc r20299: Disable two new tests that are apparently broken. 2007-10-10 14:29:34 -05:00
Jelmer Vernooij
ab3d573946 r20298: Fix pidl tests (missing symlink..). 2007-10-10 14:29:34 -05:00
Jelmer Vernooij
01a4fb1b22 r19868: Fix more tests. 2007-10-10 14:28:28 -05:00
Jelmer Vernooij
2a3196db9d r19866: Fix test compilation. 2007-10-10 14:28:27 -05:00
Jelmer Vernooij
1638c8d234 r19859: Reuse referrent ids when pushing full pointers (still need to
avoid pushing the referred object twice) and add test for full pointers.
2007-10-10 14:28:26 -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
Stefan Metzmacher
f5aa620b1b r19854: readd support for 'sptr' pointers, to work against windows servers
until jelmer commits his 'ptr' support

metze
2007-10-10 14:28:25 -05:00
Jelmer Vernooij
3f0da2388d r19845: Add warning for pointer_default_top() 2007-10-10 14:28:24 -05:00
Jelmer Vernooij
a1b6308b21 r19842: Complain about unknown pointer types.
Fallback to "unique" when "ptr" is specified instead of failing.
2007-10-10 14:28:23 -05:00
Jelmer Vernooij
21efd2bdb8 r19834: Prevent some inaccurate warnings. 2007-10-10 14:28:22 -05:00
Jelmer Vernooij
78153200ac r19830: Warn about non-ref top-level pointers. 2007-10-10 14:28:21 -05:00
Jelmer Vernooij
9d3c3ce540 r19829: Update documentation. 2007-10-10 14:28:21 -05:00