Jelmer Vernooij
df9cebcb97
r25035: Fix some more warnings, use service pointer rather than service number in more places.
2007-10-10 15:05:43 -05:00
Andrew Bartlett
72ca8e3b2a
r23961: Allow SWAT to operate on x86_64 machines.
...
On machines with a 4 byte int, and a 8 byte pointer, the ESP could would fail.
The problem is that 0 != NULL. 0 is an int (4 bytes) and NULL is a
pointer (8), and this matters critically to varargs functions.
If a 0 was passed as the 'terminating' argument, then only 4 bytes
would be written to the stack, but va_arg(ap, char *) would try and
pull 8, reading uninitalised memory.
Andrew Bartlett
2007-10-10 15:01:11 -05:00
Stefan Metzmacher
04f19c054e
r23294: try to fix the build
...
metze
2007-10-10 14:53:09 -05:00
Derrell Lipman
0201baef46
r20444: WEB Application framework / SWAT.
...
We're now at the stage where the web application framework should build and
install automatically.
Derrell
2007-10-10 14:30:39 -05:00
Jelmer Vernooij
0eb6097305
r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
...
output in the testsuite rather than just True or False for a
set of tests.
The aim is to use this for:
* known failure lists (run all tests and detect tests that
started working or started failing). This
would allow us to get rid of the RPC-SAMBA3-* tests
* nicer torture output
* simplification of the testsuite system
* compatibility with other unit testing systems
* easier usage of smbtorture (being able to run one test
and automatically set up the environment for that)
This is still a work-in-progress; expect more updates over the next couple of
days.
2007-10-10 14:21:12 -05:00
Derrell Lipman
d48b2d8305
r19022: eliminate a warning
2007-10-10 14:20:29 -05:00
Derrell Lipman
f2f1918915
r19021: match the prototype for a trigger function
2007-10-10 14:20:29 -05:00
Derrell Lipman
917af234a8
r18925: Add current snapshot of the ejs-2.0 code. Tridge, will you be incorporating this?
2007-10-10 14:20:21 -05:00
Andrew Tridgell
eba6c84eff
r18301: I discovered how to load the warnings from a build farm build into
...
emacs compile mode (hint, paste to a file, and compile as "cat
filename").
This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
2007-10-10 14:18:04 -05:00
Stefan Metzmacher
07b014f770
r16010: deal with the case that int64,uint64 are already typedef'ed
...
metze
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
1250355909
r16002: fix the build on solaris
...
Patch from Bjoern Jacke, thanks!
metze
2007-10-10 14:08:48 -05:00
Jelmer Vernooij
12ba42de58
r15358: Fix some compiler warnings / type safety. Found by tcc
2007-10-10 14:05:25 -05:00
Jelmer Vernooij
c83e4b1665
r15321: Reduce the size of rewrite.m4 a bit more
2007-10-10 14:05:15 -05:00
Jelmer Vernooij
adc8a019b6
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
a5c87360a7
r14999: Remove more unused autoconf code
...
Simplify va_copy() replacement code a bit
2007-10-10 14:04:00 -05:00
Andrew Tridgell
68038ef566
r14984: marking mprBreakpoint() as a __noreturn__ function should reduce the
...
number of ejs errors from the IBM checker
2007-10-10 14:00:51 -05:00
Jelmer Vernooij
bccfddcafa
r14844: Support a stdbool.h replacement in lib/replace/
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
9c37f847d3
r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
2007-10-10 13:57:30 -05:00
Jelmer Vernooij
f87debeb12
r13944: Yet another round of splitups.
2007-10-10 13:52:31 -05:00
Jelmer Vernooij
b24f2583ed
r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
...
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
5cc44994fb
r11611: don't use unions without a instance name, not all compilers support that...
...
fix the build with cc on IRIX 6.5 us4
tridge: we should post this to the appweb maintainers, also with my
hex constant fix from a few weeks ago!
metze
2007-10-10 13:45:58 -05:00
Andrew Tridgell
b8694c58f5
r11456: fixed a ejs parser bug for delete() statements
2007-10-10 13:45:39 -05:00
Jelmer Vernooij
24e1030090
r11244: Relative path names in .mk files
2007-10-10 13:45:06 -05:00
Jelmer Vernooij
7fffc5c917
r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html )
2007-10-10 13:45:03 -05:00
Stefan Metzmacher
70cde83c13
r11084: - allow hex numbers with 'a'...'f' digits to be parsed
...
- parse hex numbers correct
tridge: how could we submit this to the upstream appweb library?
metze
2007-10-10 13:44:45 -05:00
Jelmer Vernooij
b53313dc51
r10586: Add MergedObject() builder. Default to Library() rather
...
then StaticLibrary()
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
4f0d7f75b9
r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
...
but final linking still fails (as does generating files asn1, et, idl and proto
files)
2007-10-10 13:38:30 -05:00
Jelmer Vernooij
200a8f6652
r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
...
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
2007-10-10 13:35:01 -05:00
Andrew Tridgell
b23bffcba6
r9600: fixed the intermittent failures we were getting with ejs in the build
...
farm.
2007-10-10 13:34:33 -05:00
Andrew Tridgell
84c756b25c
r9504: use some low level ejs hackery to give much better exception error messages in both
...
the web server and smbscript. We can now give backtraces for all internal asserts, not
just high level errors
2007-10-10 13:34:23 -05:00
Andrew Tridgell
3d6739eaa6
r9464: fixed a problem with child pointers copied into non-allocated mpr variables. We
...
now use the same free technique as is used for mpr strings, rather than relying on
being a child of the variable
2007-10-10 13:34:18 -05:00
Steve French
ae7b073af3
r9311: Missing null pointer check in ejsLib
...
Found by coverity
2007-10-10 13:33:23 -05:00
Andrew Tridgell
17679676d4
r9299: fixed the evaluation of pointer expressions that evaluate to boolean
2007-10-10 13:33:22 -05:00
Andrew Tridgell
a5b9e74a5c
r9183: more workarounds for the global variables in ejs. I will discuss getting rid of these
...
with the mbedthis people.
2007-10-10 13:31:29 -05:00
Andrew Tridgell
9f75bc3ca0
r9173: catch ep->local being NULL
2007-10-10 13:31:28 -05:00
Andrew Tridgell
ca6f049693
r9172: - fixed a nasty bug in the 'deep copy' mpr code that caused variables
...
called 'credentials' to not copy correctly (the bug was in handling
of chaining in the copy code
- ensure that C pointer variables are copied via a talloc reference so that
we can persist rpc pipes and credentials between sessions
2007-10-10 13:31:27 -05:00
Andrew Tridgell
80177b29f4
r8696: fixed ejs to more strictly follow the va_list rules. Might fix that
...
pesky panic on x86_64
2007-10-10 13:29:55 -05:00
Andrew Tridgell
c2f5884e2f
r8684: this should fix the panic on x86_64, and possibly alpha
2007-10-10 13:29:54 -05:00
Andrew Tridgell
bd4c388cd2
r8651: fixed a boolean expression bug (submitted upstream)
2007-10-10 13:29:50 -05:00
Andrew Tridgell
ed09e19794
r8631: give an error on incorrect argument count
2007-10-10 13:29:46 -05:00
Andrew Tridgell
a2266f6927
r8630: give a much nicer backtrace on assert() failures in ejs
...
I will submit this upstream
2007-10-10 13:29:46 -05:00
Andrew Tridgell
cabf638a31
r8599: null terminate the argv list in string C functions
2007-10-10 13:29:43 -05:00
Andrew Tridgell
6c9bf162af
r8562: small merge with upstream
2007-10-10 13:29:38 -05:00
Andrew Tridgell
57d7a585e8
r8483: switched our generated ejs rpc code over to the new OO interface. This
...
means we don't pollute the name space, and also makes for faster
startup times as we only create variables for the pipes that we use,
not all pipes
2007-10-10 13:23:08 -05:00
Andrew Tridgell
2a64ee4227
r8466: it is not portable to assert() a va_list (it breaks on alpha for example)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
ccc87eb8aa
r8461: fixed integer64 handling on bit endian platforms. The ejs code used
...
%Ld, which is an invalid format code.
This will probably cause problems on systems that don't have %lld, but
do have a working snprintf otherwise. We will need to expand the
snprintf configure test to make sure we replace snprintf on those
platforms
2007-10-10 13:23:05 -05:00
Andrew Tridgell
ab67c8b2b7
r8453: my solaris10 box doesn't have math.h
...
maybe sun isn't very good at maths?
2007-10-10 13:23:05 -05:00
Andrew Tridgell
3c4291e49a
r8451: samba4 finally builds on solaris 8 sparc with heimdal and ejs
...
its been a long haul ...
2007-10-10 13:23:04 -05:00
Andrew Tridgell
288c178d5f
r8405: update var.c from upstream
2007-10-10 13:22:58 -05:00
Andrew Tridgell
205ff9a82b
r8404: small upstream merges of appweb code
2007-10-10 13:22:58 -05:00