summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls_sys.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11458: fixed our ejs smbscript interfaces to use arrays where appropriate. InAndrew Tridgell1-1/+1
js arrays are a special type of object where the length property is automatic, and cannot be modified manually. Our code was manually setting length, which made it abort when someone passed in a real ejs array. To fix this we need to create real arrays instead of objects, and remove the code that manually sets the length (This used to be commit ebdd1393fde44a0a35446d1a922d29a7c1769ba7)
2007-10-10r11171: fix the buildStefan Metzmacher1-1/+2
metze (This used to be commit 0d948cf430f34757a17170cdd26ac6b87341a75f)
2007-10-10r11086: add sys.unix2nttime() functionStefan Metzmacher1-0/+17
metze (This used to be commit a3abf10d431f82b12b0795d5bc217c8ec3ce89f7)
2007-10-10r11085: as ejs doesn't support '&' '|' bitwise AND and OR,Stefan Metzmacher1-0/+47
we need some helper functions for this metze (This used to be commit e27e36909d367748fc653ddc0fd1c699b77780e9)
2007-10-10r10914: moved the ldap time string functions into ldb so they can be used byAndrew Tridgell1-1/+2
the time attribute handling functions (This used to be commit 93c296d52718e77f8b702e1721b548eaadc56c76)
2007-10-10r9813: Conver testsuite for samba3sam module to EJSJelmer Vernooij1-3/+3
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)
2007-10-10r8637: added sys.stat() and sys.lstat() callsAndrew Tridgell1-0/+71
(This used to be commit 5dbdf4fb3317964541339615b7ecbf174a2dc00b)
2007-10-10r8635: make object inheritance with the builtin objects easy by allowingAndrew Tridgell1-13/+12
callers to optionally supply an existing object to add the properties to. So you can do: var rpc = samr_init(); lsa_init(rpc); and you end up with 'rpc' having both the samr and lsa functions and constants available. (This used to be commit 6a1ed328e27769bd52899fc2437a43fc17104eff)
2007-10-10r8582: added sys.httptime() call, to display a NTTIME as a http time stringAndrew Tridgell1-0/+19
(This used to be commit 632f7bbe3e81af1ee89301765f8bfb72d4c9f3d7)
2007-10-10r8484: switched the sys_*() calls to the OO interfaceAndrew Tridgell1-8/+22
tim, do you want to do the cli_*() calls now? (This used to be commit 9991e924e9dacec663a5d040ccfc878927fc3afa)
2007-10-10r8399: move the ejs and esp code closer to the directory layout used by theAndrew Tridgell1-1/+1
upstream sources. This makes it much easier to keep it up to date. I will separate out the mpr code into lib/appweb/mpr next (This used to be commit 52db7a052baeb0f11361ed69b71cb790039e3cc9)
2007-10-10r8340: - added sys_gmtime()Andrew Tridgell1-0/+91
- added sys_unlink() - added sys_file_load() and sys_file_save() - use mprString() instead of mprCreateStringVar() to cope with NULL strings - removed smbcalls_irpc.c as its not needed any more - allow ldbAdd() and ldbModify() to take multiple ldif records - added a sprintf() function to ejs. Quite complex, but very useful! (This used to be commit 625628a3f6e78349d2240ebcc79081f350672070)
2007-10-10r8337: - use 64 bit access functions in ejs callsAndrew Tridgell1-0/+95
- added access to smbd random functions - fixed ordering in join() - added sys_interfaces(), sys_hostname(), sys_nttime() and sys_ldaptime() (This used to be commit 28c1a1f3c0cd2f8228fd8c3c695ab6f45226fa3f)