1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

162 Commits

Author SHA1 Message Date
Jelmer Vernooij
965633a5b4 r18482: Fix a couple of small issues in the generated server code.
(This used to be commit ddfe3c5443)
2007-10-10 14:18:36 -05:00
Jelmer Vernooij
ea50e4f30a r18478: Add missing declaration for status.
(This used to be commit 64909a0d69)
2007-10-10 14:18:35 -05:00
Jelmer Vernooij
6a2b541497 r18477: Finish server code generator for Samba 3.
(This used to be commit 4e2f200424)
2007-10-10 14:18:35 -05:00
Jelmer Vernooij
2fb4ecebc1 r18475: Start working on server code generator that uses libndr.
(This used to be commit aa1c550d37)
2007-10-10 14:18:35 -05:00
Jelmer Vernooij
0eb9794e9f r18471: Remove other Samba3 parser generator support as well - it's no
longer necessary as we can use libndr now.
(This used to be commit 22142a9f3d)
2007-10-10 14:18:34 -05:00
Jelmer Vernooij
e26ed8b3e2 r18470: Remove obsolete client generator code for Samba3 (we're now using the
new code that uses libndr)
(This used to be commit ea0ef1542f)
2007-10-10 14:18:34 -05:00
Jelmer Vernooij
7caf7839f5 r18270: Samba3 has _PUBLIC_ now.
(This used to be commit 9dd6520240)
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
28bd2665c1 r18268: for samba3 define _PUBLIC_ empty
metze
(This used to be commit b2018249b7)
2007-10-10 14:17:59 -05:00
Andrew Tridgell
5622eb1dee 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?
(This used to be commit 76496c2f5e)
2007-10-10 14:17:56 -05:00
Jelmer Vernooij
25819cfabc r18231: Don't use _PUBLIC_ but use __attribute__ directly instead.
(This used to be commit 77043ebe25)
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
433ec0ba66 r18228: Don't include Samba4-specific headers when building inside a Samba3 tree.
(This used to be commit d0f0d4600a)
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
4dff1f05f0 r18227: Recognize Samba3 in-tree builds.
(This used to be commit 5055430ddf)
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
c92781b333 r18194: Allow empty bitmap {} declarations.
(This used to be commit 084b5002b9)
2007-10-10 14:17:48 -05:00
Jelmer Vernooij
0329d755a7 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
(This used to be commit f7afa1cb77)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
1e0cb68263 r17889: allocate a valid element where the pointer can point to,
fix c++ warnings

metze
(This used to be commit b15e4c7cfa)
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
66314777f6 r17887: fix c++ warnings
metze
(This used to be commit ccef1f7290)
2007-10-10 14:16:51 -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
927cbf74ae r16824: Rename Ethereal -> Wireshark (patch from Joerg Mayer)
(This used to be commit a789aa468b)
2007-10-10 14:09:47 -05:00
Gerald Carter
e3a6c6be79 r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar
(This used to be commit 26a2fa97e4)
2007-10-10 14:08:59 -05:00
Jelmer Vernooij
03f520fd12 r15780: Fix indentation of deferred code (fixed #3739)
(This used to be commit a7c9ec69b2)
2007-10-10 14:08:19 -05:00
Jelmer Vernooij
8fef2c8122 r15778: Fix bug printing ref pointers.
(This used to be commit 030272e79b)
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
9727b061f3 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.
(This used to be commit bdc6dd3750)
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
fda645af50 r15652: Fix aliases mechanism (fixes #3710)
(This used to be commit 3e89ef0875)
2007-10-10 14:08:03 -05:00
Jelmer Vernooij
76aa75abc6 r15651: Add 'MANUAL' command in Ethereal conformance files. This allows overriding
individual functions for specific element levels without losing the other
functions for an element or the hf/ett fields allocated.

Fixes #3738.
(This used to be commit a3dbab619b)
2007-10-10 14:08:03 -05:00
Jelmer Vernooij
392e4b383c r15650: Fix perl warning when generating IDL for elements with no properties
(This used to be commit 038bbbcda5)
2007-10-10 14:08:03 -05:00
Jelmer Vernooij
2a9407fad3 r15593: Warn about [out] arguments that are not pointers. These can all be
fixed by adding [ref] pointers.

This will cause a lot of warnings to be outputted by pidl for now. I will
fix these gradually over the next few days.

We need to avoid [out] arguments that are not pointers because they are
not understood by other IDL compilers and don't work with some of
our output modules (Samba3, Samba3NDR and ethereal)
(This used to be commit c4ab021ee8)
2007-10-10 14:06:02 -05:00
Jelmer Vernooij
fde2d769eb r15591: Generate function calls correctly as well.
(This used to be commit b0439779b8)
2007-10-10 14:06:01 -05:00
Jelmer Vernooij
8d6249814f r15587: Generate stubs for the SWIG functions
(This used to be commit 746d0a7fa7)
2007-10-10 14:06:01 -05:00
Jelmer Vernooij
f9dd026355 r15585: Revive pidl's SWIG file generator. It now generates simple
object oriented wrappers for the interfaces (still need to fix
the actual function calls)
(This used to be commit bf5da20869)
2007-10-10 14:06:00 -05:00
Jelmer Vernooij
c65d2f9b1b r15576: Separate out Samba4 bits a bit more
(This used to be commit 77a2eb406e)
2007-10-10 14:05:59 -05:00
Jelmer Vernooij
664459a41f r15574: Keep information about which scalar types are references in a
separate data structure
(This used to be commit 0cb1906046)
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
55969efea3 r15474: Generate proper type declarations, fix headers
(This used to be commit 1405f59d55)
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
a3f2ed12b9 r15470: Write header file with prototypes for Samba3-Client-With-Samba4-NDR code.
(This used to be commit a2bb0b6012)
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
e81fd2e119 r15437: Add generator that creates Samba3 client code which uses Samba4's NDR
routines.
(This used to be commit 538be4a631)
2007-10-10 14:05:37 -05:00
Jelmer Vernooij
2a13a7f09f r15367: Fix unused function warnings in generated EJS code.
(This used to be commit 946a80298a)
2007-10-10 14:05:27 -05:00
Jelmer Vernooij
09ea8a9fd6 r15353: Don't dereference NULL pointer. Found by the IBM checker.
(This used to be commit 67d62fc556)
2007-10-10 14:05:24 -05:00
Jelmer Vernooij
1a4effad3d r15327: Support 'nosize'. Also write prototypes for print and size functions that are manually written.
(This used to be commit f10b38b824)
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
fc487fb552 r15324: Generate prototype even if the function itself is
written manually.
(This used to be commit 56eceeb322)
2007-10-10 14:05:16 -05:00
Jelmer Vernooij
0263ec1c89 r15260: Don't dereference NULL pointers to obtain array lengths - found by
the IBM checker
(This used to be commit a492cd4bd4)
2007-10-10 14:04:27 -05:00
Jelmer Vernooij
ddbd7bed65 r15220: Another attempt to fix the bug found by the IBM Checker
(This used to be commit 9f79bfc05d)
2007-10-10 14:04:19 -05:00
Jelmer Vernooij
a0f8ff3cbd r15202: Don't derefence NULL pointers - found by the IBM Checker
(This used to be commit f6a3e8b69d)
2007-10-10 14:04:16 -05:00
Jelmer Vernooij
1b22141c87 r14867: Include <stdbool.h> in external compiles
(This used to be commit 03224dab11)
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
42da534d66 r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere
(This used to be commit a316b33057)
2007-10-10 13:59:17 -05:00
Jelmer Vernooij
76ab420615 r14692: Get rid of the obfuscation() attribute
(This used to be commit 122d1d0249)
2007-10-10 13:59:09 -05:00
Jelmer Vernooij
8973ac8a39 r14691: Fix printing elements with represent_as set
(This used to be commit f4428db2f9)
2007-10-10 13:59:09 -05:00
Jelmer Vernooij
5d9ea9170d r14690: Support represent_as in headers, enable represent_as() test (which works now)
(This used to be commit 31e847a084)
2007-10-10 13:59:09 -05:00
Jelmer Vernooij
85e91438b1 r14688: More work on represent_as(): output the right function calls, fix test.
(This used to be commit 7bc72277b3)
2007-10-10 13:59:08 -05:00
Jelmer Vernooij
b6cae24de8 r14687: Start working on support for represent_as() and transmit_as() as
an alternative to subcontext()
(This used to be commit 744402160d)
2007-10-10 13:59:08 -05:00
Jelmer Vernooij
311d6f47c8 r14686: Fix pidl testsuite to run whenever there is a shared libary built
Samba present. Ignore tests that are known to fail for now.
(This used to be commit a7279f13f0)
2007-10-10 13:59:08 -05:00
Jelmer Vernooij
3c7df1118c r14658: Include ndr_obfuscate.h when necessary
(This used to be commit 3647bd3124)
2007-10-10 13:59:05 -05:00