1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

198 Commits

Author SHA1 Message Date
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 6f6dd761460e063eda3c1d0706358cb336c181fd)
2007-10-10 14:19:09 -05:00
Jelmer Vernooij
d094a421d3 r18696: Zero initialize ref ptrs.
(This used to be commit 8de48f62e7840431fe5bfbb1c61daaafcf421ff1)
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 d28ae3f70ad4f6b09780e600ecb98c39cc62fd24)
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 2ac2c7ca60c70d70a07162c63bfb492c74816c7c)
2007-10-10 14:19:02 -05:00
Jelmer Vernooij
cd9057a0bb r18639: Get rid of the keepref support
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
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 ab0a798c57564901f0adcd8aedc1ef0928e79edd)
2007-10-10 14:18:47 -05:00
Jelmer Vernooij
291c5ed53c r18559: [string] always applies to the last pointer
(This used to be commit 86b4624226d6e72645221cadb8669b0f1aba0903)
2007-10-10 14:18:46 -05:00
Jelmer Vernooij
3e7cff6c00 r18554: Fix warnings about [out] arguments.
(This used to be commit caac6cf817b09c864554e992f89437f6205b948b)
2007-10-10 14:18:45 -05:00
Jelmer Vernooij
f78ff444e6 r18524: Pre-allocate out arguments.
(This used to be commit 0ee42669d3a5ec062ec14ecda94342b0df519964)
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 f67b4d58acd2c3746e5ffeffa804e888ca3c49a5)
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 234272e39d7dc79f5e7e0399aebf5681a92981b2)
2007-10-10 14:18:42 -05:00
Jelmer Vernooij
eb9a2757eb r18520: Add note about warnings on [out] arrays.
(This used to be commit 7a2afc3e0c0e8c0e9360805e8b4326e257b1e9dc)
2007-10-10 14:18:41 -05:00
Jelmer Vernooij
965633a5b4 r18482: Fix a couple of small issues in the generated server code.
(This used to be commit ddfe3c54439eb76327608e04df9381621ab875b8)
2007-10-10 14:18:36 -05:00
Jelmer Vernooij
ea50e4f30a r18478: Add missing declaration for status.
(This used to be commit 64909a0d69a938e96f7a04b4288ca851fb8fe18a)
2007-10-10 14:18:35 -05:00
Jelmer Vernooij
6a2b541497 r18477: Finish server code generator for Samba 3.
(This used to be commit 4e2f20042448721ba1df5bbbb77710e155f23953)
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 aa1c550d371c5874668baf06be7168c85dc5d48b)
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 22142a9f3d5e759742c79a591413e5e8af04b22f)
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 ea0ef1542f78e3a58d86b5693ec17c145050526b)
2007-10-10 14:18:34 -05:00
Jelmer Vernooij
7caf7839f5 r18270: Samba3 has _PUBLIC_ now.
(This used to be commit 9dd6520240fbe3ea8126845a1fa2bdea35c7c4ac)
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
28bd2665c1 r18268: for samba3 define _PUBLIC_ empty
metze
(This used to be commit b2018249b7da4155dde963bf118d4636864b0343)
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 76496c2f5e37b735e0b303ae20824c92bfa30974)
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 77043ebe25dcca2a6b1a37d3b6095e9c434652d9)
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 d0f0d4600acad71ea4993f4e356735433d9bc5f0)
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
4dff1f05f0 r18227: Recognize Samba3 in-tree builds.
(This used to be commit 5055430ddfca02a962827bbedf7fbd9987992953)
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
c92781b333 r18194: Allow empty bitmap {} declarations.
(This used to be commit 084b5002b9a8c9790ce81480fe26d57e52789dbb)
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 f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
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 b15e4c7cfa4df3dc429945e4d330a8a9766eb1a6)
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
66314777f6 r17887: fix c++ warnings
metze
(This used to be commit ccef1f729089939b9250f1b177d5241f8baaa5eb)
2007-10-10 14:16:51 -05:00
Stefan Metzmacher
3d3bd93403 r17305: allow 'declare [...] union foo;'
metze
(This used to be commit 15d37004b70d097a1431fb4d41fef363ed654ac7)
2007-10-10 14:15:10 -05:00
Jelmer Vernooij
927cbf74ae r16824: Rename Ethereal -> Wireshark (patch from Joerg Mayer)
(This used to be commit a789aa468b2b2b631289dd65888b352de46ad900)
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 26a2fa97e4c819e630bc9b50e11c8d5328c7b8c8)
2007-10-10 14:08:59 -05:00
Jelmer Vernooij
b3a98698ff r15893: Update TODO
(This used to be commit 446c4a175f1ce925a4882c32b189ac9237ed584b)
2007-10-10 14:08:38 -05:00
Jelmer Vernooij
aecb20a264 r15892: Remove the COM management code - DCOM should be
based on Mono and its' COM support and utilize Samba's DCE/RPC + ORPC code
instead of having our own COM implementation in Samba, which is too much
work to implement and harder to code (C).

This only removes some of the code that I started working on to implement
the bits of COM I thought were needed to support DCOM from just Samba. This
code has never functioned properly, contains a couple of nasty hacks and
there should be no reason to pick it up again later, the processes are all
documented in the DCOM whitepaper.

This does NOT remove the marshalling code for the ORPC code or the torture
code that tested some of the ORPC code.
(This used to be commit 11df14219bf0b35329b293cae3234e064aabde54)
2007-10-10 14:08:37 -05:00
Jelmer Vernooij
03f520fd12 r15780: Fix indentation of deferred code (fixed #3739)
(This used to be commit a7c9ec69b229db1b9c93b97133601231a2995c1b)
2007-10-10 14:08:19 -05:00
Jelmer Vernooij
8fef2c8122 r15778: Fix bug printing ref pointers.
(This used to be commit 030272e79b621c2c54354f4c89cc25c202d2dbbc)
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 bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
fda645af50 r15652: Fix aliases mechanism (fixes #3710)
(This used to be commit 3e89ef0875c5c8ccaafa9694d27a8043930127e6)
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 a3dbab619bf8fdef002b8e31956e99226bc20e94)
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 038bbbcda50d8284c56dbdc3a70214ba6202595e)
2007-10-10 14:08:03 -05:00
Jelmer Vernooij
589920ebc0 r15648: Update MANIFEST to install Samba3 code generators.
(This used to be commit e679971903b59cc90f0a5eca7bbe8d9a5c503d73)
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 c4ab021ee8d93aa74f15deebf64a366b33b7bb9f)
2007-10-10 14:06:02 -05:00
Jelmer Vernooij
fde2d769eb r15591: Generate function calls correctly as well.
(This used to be commit b0439779b8eba68680cfd49ea2364affc739300e)
2007-10-10 14:06:01 -05:00
Jelmer Vernooij
8d6249814f r15587: Generate stubs for the SWIG functions
(This used to be commit 746d0a7fa7a43685e6ebb4877bb5459101e51ed1)
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 bf5da20869eae29aea92386cbb13413b507fc55f)
2007-10-10 14:06:00 -05:00
Jelmer Vernooij
c65d2f9b1b r15576: Separate out Samba4 bits a bit more
(This used to be commit 77a2eb406e2b108089d3621194f9b86328a3e774)
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 0cb1906046c8e4ad105ad4a47740f94f30f5d6db)
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
55969efea3 r15474: Generate proper type declarations, fix headers
(This used to be commit 1405f59d5501319c7d08861e19165e012c4bc3a9)
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 a2bb0b6012b14787825a9cd5f33e2c0e989b65a7)
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 538be4a6319b6f8235ed450740784104671ab0b5)
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 946a80298ad58e7b8ba9608a840154ee4a790da7)
2007-10-10 14:05:27 -05:00