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
Andrew Tridgell
ee65e43d4d
r900: when DEBUGLEVEL > 10 print the full deocde of all RPC calls in the server
2007-10-10 12:56:19 -05:00
Stefan Metzmacher
6123a1ee7c
r899: remove the weird shell patterns from the makerules
...
they slowdown the build
metze
2007-10-10 12:56:18 -05:00
Andrew Tridgell
20cc981e33
r894: use _t in generated pidl code
2007-10-10 12:56:18 -05:00
Stefan Metzmacher
2986c5f08c
r890: convert samba4 to use [u]int8_t instead of [u]int8
...
metze
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
af6f1f8a01
r889: convert samba4 to use [u]int16_t instead of [u]int16
...
metze
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
0e5517d937
r884: convert samba4 to use [u]int32_t instead of [u]int32
...
metze
2007-10-10 12:56:15 -05:00
Andrew Tridgell
9a9244a1c6
r873: converted samba4 to use real 64 bit integers instead of
...
structures. This was suggested by metze recently.
I checked on the build farm and all the machines we have support 64
bit ints, and support the LL suffix for 64 bit constants. I suspect
some won't support strtoll() and related functions, so we will
probably need replacements for those.
2007-10-10 12:56:14 -05:00
Stefan Metzmacher
ee32d29044
r807: compile with PICFLAG by default
...
(ask tridge why this is better than recompiling only the
files we need for libraries with PICFLAG)
metze
2007-10-10 12:53:51 -05:00
Tim Potter
c63cb50ca5
r806: Checkin of workarea - tridge gave me some good ideas today for a better
...
way to do this.
2007-10-10 12:53:51 -05:00
Stefan Metzmacher
e65b38b7ca
r767: add a $flags argument to the std_CC make rule generater
...
we may need this for compiling with -fPIC
metze
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
afbe692b47
r765: add SMB_INCLUDE_M4() macro as wrapper arround sinclude()
...
metze
2007-10-10 12:53:49 -05:00
Tim Potter
1517ef3a98
r759: Fix some perl warnings.
2007-10-10 12:53:49 -05:00
Tim Potter
f7b2315668
r757: Handle empty union arms (ala rid only entries in netlogon).
2007-10-10 12:53:49 -05:00
Tim Potter
1ece224c9a
r756: Handle default element in union.
2007-10-10 12:53:49 -05:00
Tim Potter
03863a2ca8
r753: Big reorganisation of everything - also fixes handling of dissectors
...
for structures.
Instead of trying to parse everything to produce output in the right
order, generate parser in two steps: 1) gather information and register
names, fields, types etc. 2) generate output using data from step 1.
2007-10-10 12:53:48 -05:00
Tim Potter
d162dcb52f
r750: Rename global $name -> $module.
...
Start working on parsing structs.
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
4a13cc22b4
r749: move the basic type checks
...
be more restrict if we don't have 'long long' or it's size is less than 8 bytes
(maybe only for a while, but if the build farm like it we may let it in forever
since the smb protocol really need 64 bit variables!)
metze
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
e8a11e441b
r748: get some more info about what the compilers in the build farm support
...
what we need is a test if the compiler does ANSI c99
metze
2007-10-10 12:53:48 -05:00
Tim Potter
e170d9c3dc
r746: Add entry in proto tree when we don't handle an IDL type.
...
Start parsing for parsing unions, structs and enums.
Don't display field type in display name.
2007-10-10 12:53:47 -05:00
Tim Potter
d6e30faeec
r744: A bunch of minor fixes. The ethereal pidl parser now dissects simple
...
samr calls - only the ones that take policy handles and uint32s.
2007-10-10 12:53:46 -05:00
Jelmer Vernooij
6857efaccc
r738: Use same error message format as is used by compilers when reporting
...
syntax errors (some editors parse these strings and jump to the erroneous
line directly)
2007-10-10 12:53:46 -05:00
Jelmer Vernooij
ca39c567ed
r736: Add list of supported and unsupported MIDL attributes
2007-10-10 12:53:46 -05:00
Stefan Metzmacher
b1161c4c83
r725: fix usage of $PERL to "$PERL" to handle perl -W correct
...
metze
2007-10-10 12:53:45 -05:00
Stefan Metzmacher
6289da6783
r703: only use $PERL -W when --enable-debug
...
metz
2007-10-10 12:53:44 -05:00
Stefan Metzmacher
03babc5af2
r701: change debug messages a bit
...
metze
2007-10-10 12:53:43 -05:00
Stefan Metzmacher
b6ac3021f2
r700: fix SMB_LIBRARY() to disable the lib by default
...
metze
2007-10-10 12:53:43 -05:00
Stefan Metzmacher
cfefe907cc
r696: fix formating
...
add pkg-config --libs-only-L to linker flags
metze
2007-10-10 12:53:43 -05:00
Stefan Metzmacher
2edc46eabe
r695: don't add libs andlinkerflags to STATIC_LIBRARY
...
metze
2007-10-10 12:53:43 -05:00
Stefan Metzmacher
bbec0b6c95
r691: add
...
--
make binary_smbd
make library_libldb
make module_ntvfs_simple
--
style make rules which depend on make basics, so make idl proto is called by them
metze
2007-10-10 12:53:43 -05:00
Stefan Metzmacher
dcef69dc54
r690: - ignore source/tags
...
- add support for shared libraries
- enable libldb shared lib when --enable-experimental
metze
2007-10-10 12:53:42 -05:00
Stefan Metzmacher
0fd558de79
r688: add --enable-experimental
...
use Data::Dumper for config.smb_build.dump
when --enable-debug
metze
2007-10-10 12:53:42 -05:00
Stefan Metzmacher
38fd7c5e1a
r687: add newline at eof
...
metze
2007-10-10 12:53:42 -05:00
Jelmer Vernooij
a63b704c36
r686: - Add SMB_EXT_LIB_FROM_PKGCONFIG()
...
- Build gregedit and registry_gconf again if the required libs are found (gconf and gtk)
2007-10-10 12:53:42 -05:00
Jelmer Vernooij
767ba7bd52
r682: Typo fixes
2007-10-10 12:53:42 -05:00
Stefan Metzmacher
9f6deb7d79
r680: fail directly when we notice that perl is not there
...
(we fail anyway)
metze
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
17bb581ab6
r679: fix make install
...
metze
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
3de5bf894e
r678: use ./config.smb_build.pl instead of config.smb_build.pl
...
metze
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
89c3780c15
r677: fix: '$' -> '\$'
...
metze
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
e7c9e56a5d
r674: use the same -I flags as before
...
metze
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
9312b9cd61
r671: fix make ./include/proto.h
...
metze
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
3f942ac521
r670: add make everything
...
metze
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
eae450f219
r667: remove Data::Dumper dependecy
...
metze
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
fcab9867f9
r666: readd 'make etags' and 'make ctags'
...
metze
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
c78a2ddb28
r665: merge over the new build system from my tmp branch
...
to the main SAMBA_4_0 tree.
NOTE: that it's not completely ready, but it's functional:-)
metze
2007-10-10 12:53:36 -05:00
Stefan Metzmacher
8e2c08f8c7
r641: readd 'use dump;'
...
metze
2007-10-10 12:51:56 -05:00
Stefan Metzmacher
8735a393c1
r638: remove unused dependency to Data::Dumper and dump
...
(fix some build farm hosts)
metze
2007-10-10 12:51:56 -05:00
Tim Potter
3d4148c07c
r617: Sync some minor updates with repository:
...
- start handing idl string types
- comments
- generate field types
- code to select field types and bases
2007-10-10 12:51:52 -05:00
Tim Potter
209f5a25a9
r604: Better dumping of in,out,ref properties.
2007-10-10 12:51:50 -05:00
Tim Potter
0c1069b56e
r602: Autogenerated packet-dcerpc-samr.c now compiles!
2007-10-10 12:51:50 -05:00