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

259 Commits

Author SHA1 Message Date
Stefan Metzmacher
fef597a76c r1483: build dynconfig.c also with PICFLAGS
metze
2007-10-10 12:57:34 -05:00
Andrew Tridgell
910ca17486 r1464: the recent build changes completely lost the speed advantage of using
PCH (in fact, it meant that PCH was a slowdown, not a speedup). To
gain speed with PCH you must ensure that the .gch file is compiled
with _exactly_ the same options as the normal object files.

this fixes the .gch build options
2007-10-10 12:57:32 -05:00
Andrew Bartlett
54c3d98baf r1458: Add a new configure option, to make it possible to both find errors,
and compile with gtk.

The --enable-developer option was just too noisy with buggy GTK headers.

Andrew Bartlett
2007-10-10 12:56:58 -05:00
Stefan Metzmacher
afe2efd143 r1377: add examples for config.mk sections
so you want/need to use the new build system
just look at the top of build/smb_build/public.m4

and look at the examples in the rest of the tree

metze
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
4422547711 r1323: allow '-' in IDENTIFIERS
accept '--' comments

implement the
<name> DEFINITIONS ::=

BEGIN
...
END

syntax

metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
52674db282 r1321: find the '::=' directly by th lexer
metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
d752eb660f r1310: one more #line statement
metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
390c03b929 r1309: use #line 1 "filename.pl"
(for better bug tracking)

when generating config.smb_build.pl

metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
4daf1bafc7 r1308: move smb_panic() to lib/fault.c
merge the backtrace stuff from 3.0

metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
1727ef2bb9 r1307: remove unused stuff from pasn1
metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
ddcaf7b63a r1306: commit the first steps of my ASN.1 compiler
called 'pasn1', it works like 'pidl'

and we may can autogenerate ASN.1 code out of it.
(NOTE: the complete LDAP ASN.1 definition is in the RFC 2251,
 and maybe some others too :-)

I'm not completly shure if we'll use it in future,
but I commit it so that it won't be lost...

metze
2007-10-10 12:56:49 -05:00
Tim Potter
de5984c956 r1268: varient -> variant 2007-10-10 12:56:46 -05:00
Tim Potter
bf8e255d2e r1174: Remove $var_prefix parameter for all functions. We don't need it for
ethereal.
2007-10-10 12:56:43 -05:00
Tim Potter
53313775a8 r1167: Misc cleanups:
- shorten COL_INFO message
  - make parser error messages prettier
  - separate variable declarations from function body with newline
  - only generate variables for requests/responses when they have the
    in/out property
2007-10-10 12:56:43 -05:00
Tim Potter
904de85c88 r1166: Convert (commented out) ndr_pull_error() calls into proto_tree_add_text()
calls so egregious parse errors are displayed in the ethereal gui.
2007-10-10 12:56:43 -05:00
Tim Potter
d3183d781e r1164: Whoops - remove debugging printfs and Data::Dumper reference.
Give unions their own subtree as well as structures.
2007-10-10 12:56:42 -05:00
Tim Potter
1d29a4fd87 r1162: Give each struct it's own subtree in the ethereal gui. Much more
readable!
2007-10-10 12:56:42 -05:00
Tim Potter
a6c95fbd6f r1160: Some minor cosmetic fixes to make the generated code look nicer. 2007-10-10 12:56:41 -05:00
Tim Potter
80bc9c9c59 r1159: Implement functions to dissect 64-bit values (nttime, hyper_t, int64,
uint64).

Rename parameter e_ndr to ndr.
2007-10-10 12:56:41 -05:00
Tim Potter
80f1445507 r1158: Fix bug in dissection of array count. Arrays mostly work now with the
exception of a union related bug.
2007-10-10 12:56:41 -05:00
Tim Potter
c194f2cf07 r1153: We can now dissect security descriptors. 2007-10-10 12:56:41 -05:00
Tim Potter
f29fb9a3fc r1152: Checkin of workarea. The parser can now dissect a big chunk of the samr
operations.  Security descriptors and unions are still left to do.
2007-10-10 12:56:41 -05:00
Andrew Tridgell
60838a0f94 r1149: fixed the handling of NDR_SET_VALUES in the debug print of rpc structures in the generated rpc server code 2007-10-10 12:56:41 -05:00
Andrew Tridgell
0a67b9c324 r1148: fixed a minor formatting error in generated code 2007-10-10 12:56:41 -05:00
Andrew Tridgell
ad3324a79c r1133: - add ndr_pull_ptr() as a separate call instead of ndr_pull_uint32()
(useful for debugging IDL)

- fixed a couple of places that auto-generate incorrect printf style arguments
  for ndr_pull_error()
2007-10-10 12:56:39 -05:00
Tim Potter
b3bc3d2ef4 r1100: Comment out functions that we now get from other sources (misc.idl and
lsarpc.idl).

Add stub for ndr_pull_relative() function.
2007-10-10 12:56:38 -05:00
Tim Potter
19442e07d0 r1099: Set $module variable to name of module.
Only generate code for module registration if we could find a UUID.

Tweaks to get [relative] compiling.
2007-10-10 12:56:38 -05:00
Tim Potter
5c3c3d3e72 r1083: Generate prototypes for structs and unions marked "public" in the idl.
Delete various hacks to work around not doing this before.
2007-10-10 12:56:37 -05:00
Stefan Metzmacher
798cbed5a3 r1073: import DYNEXP flags to smb_build
and use @{$SMB_BUILD_CTX->{BUILD_ENV}{LD}{DYNEXP}} for the flags

I'll use this for all vars which are currently using AC_SUBST(),
so we can skip Makefile.in...

(this should fix the build on us4...)

metze
2007-10-10 12:56:36 -05:00
Andrew Tridgell
55e0b014fe r1048: - moved the schannel definitions into a separate schannel.idl
- added server side support for schannel type 23. This allows WinXP to establish a schannel connection
  to Samba4 as an ADS DC

- added client side support for schannel type 23, but disabled it as currently the client
  code has now way of getting the fully qualified domain name (which is needed)

- report dcerpc faults in the server code in the log
2007-10-10 12:56:34 -05:00
Tim Potter
f18dc9eb88 r1047: Now samr eparser compiles, links and doesn't crash ethereal. 2007-10-10 12:56:34 -05:00
Tim Potter
7ff7737832 r1045: Wow - we actually compile (but not link) the autogenerated parser from
samr.  The array handling is a bit of a mess though.
2007-10-10 12:56:34 -05:00
Jelmer Vernooij
0209dce1eb r1037: Always export all symbols 2007-10-10 12:56:33 -05:00
Jelmer Vernooij
8238acef47 r1036: Get module initialisation function correct when building shared 2007-10-10 12:56:31 -05:00
Jelmer Vernooij
7949dc25ab r1035: Support shared modules again 2007-10-10 12:56:31 -05:00
Andrew Tridgell
dffe916516 r1014: change the handling of r->out to auto-zero the structure, and auto-copy
in,out,ref vars
2007-10-10 12:56:26 -05:00
Stefan Metzmacher
20f848aeef r1006: print out the SVN revision by configure,
so that the build farm can use it

metze
2007-10-10 12:56:26 -05:00
Tim Potter
fc3c5d6fab r1003: Removed e_ndr stuff - too verbose.
Merged across populating %needed with hf index members for functions
from old version of eparser.
2007-10-10 12:56:25 -05:00
Tim Potter
595b6e0f2c r1002: Add helper files for eparser output. 2007-10-10 12:56:25 -05:00
Tim Potter
60942eaa3a r987: Start replacing ndr_* functions with e_ndr_* and removing stuff related
to storing data in structure members.
2007-10-10 12:56:25 -05:00
Tim Potter
8ad93f03d6 r986: Attempt #3 at eparser. This time use the 'pull' code as a base as it's
closer to what ethereal does.  Also try to keep as much of the generated
structure wrt pointers/structs/alignment as possible.
2007-10-10 12:56:24 -05:00
Tim Potter
12c7d3a464 r985: Add stub function for dumping enums to prevent perl warnings in eparser. 2007-10-10 12:56:24 -05:00
Stefan Metzmacher
e2a322aa11 r970: - remove unused wchar_t check
- move immediate structures check to the compiler checks

metze
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
5357700fc5 r969: remove some unused checks
metze
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
9fa83ca022 r968: use sinlcude() and no function, that's more portable between
autoconf versions

metze
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
2d109074e8 r967: move some configure checks to seperate files
metze
2007-10-10 12:56:24 -05:00
Jelmer Vernooij
3df8ff6cf1 r955: Update debian package rules... builds now 2007-10-10 12:56:22 -05:00
Tim Potter
877f7c32a8 r954: Start working on typedef parsing. 2007-10-10 12:56:22 -05:00
Tim Potter
8225a3245a r953: Remove unused Pull and Print parse functions. Remove Push from
remaining parse function names.

Add some debug comments in parser output to aid in debugging.
2007-10-10 12:56:22 -05:00
Tim Potter
6739cd5fdd r948: Tridge suggested that the best way to write the ethereal parser is to
base it on the generator for the ndr pull/push code rather than trying
to get all the alignment and other junk sorted out by hand.

This commit (nearly) gets eparser to the same state it previously was
but based on parser.pm.  We correctly parse simple types, strings and
sids.
2007-10-10 12:56:21 -05:00