summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs/winreg.js
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11458: fixed our ejs smbscript interfaces to use arrays where appropriate. InAndrew Tridgell1-10/+3
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-10r11285: fixed winreg.js for the recent change to winreg.idlAndrew Tridgell1-2/+2
(This used to be commit 27f46b4f18346ea03d8626a380e417b00f7a88d1)
2007-10-10r9568: updated the winreg js library for CreateKey, and add a --createkeyAndrew Tridgell1-6/+41
option to the winreg tool (This used to be commit 881452c7b7cc00222328f743c2c0c4ece39f4c96)
2007-10-10r9497: - converted the winreg library to a more OO style of interfaceAndrew Tridgell1-30/+63
- added a reg.typestring() method that returns a string representation of a type (This used to be commit 47cf409cdf501fc3e2b0c65688a9ef1d702278a5)
2007-10-10r9355: return the EnumKey and EnumValue list we have so far when we get a ↵Andrew Tridgell1-4/+4
rpc fault (This used to be commit 3a9c63923fbb21dfb8e5fc549dde8fad8cb8f354)
2007-10-10r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValueAndrew Tridgell1-17/+110
calls. The previous IDL was just a workaround for the limitations of our older rpc infrastructure. Now that Jelmer has added much improved string support using the charset keyword we can correctly implemenent the unusual winreg string buffers. Jelmer, note the little comment I put on winreg_StringBuf() about why I couldn't use [value()] for the length field. This also fixes EnumKey() and EnumValue() to use NTTIME fields for the last_changed_time. I don't know why we were using a pair of uint32's, as it is just a NTTIME. (This used to be commit 8354b016122cc4f3cff042b3ada1de07e1614eb7)
2007-10-10r9218: make the winreg library code handle arbitrary paths more efficientlyAndrew Tridgell1-16/+38
and more conveniently (caller doesn't need to know the hive names now) (This used to be commit dadd7e22fb439f7b18c429a95c75902e4741ba8d)
2007-10-10r9159: abstract the winreg js functions into a nice library interfaceAndrew Tridgell1-0/+115
(This used to be commit 5e398700627fb2c16bf39b9c851f640f5412c7d4)