Patrik Svestka <patrik.svestka@gmail.com> [Mon, 10 Dec 2018 16:20:36 +0100] rev 23612
Issue #250: methods that need predefined nameBuffer now detect it automatically via RegQueryInfoKey
All methods that needed a predefined nameBuffer, nameSize size now detect it automatically via RegQueryInfoKey by checking the stored name sizes first
and then setting the buffer sizes appropriately
The affected methods are:
- valueNameAtIndex:
- subKeyNameAndClassAtIndex:
- subKeyAtIndex:
minor refactoring
- remoteKeyOnHost: - changed hostName to hostNameString to indicate that the parameter must be a string
- valueNamed: - - changed name to nameString to indicate that the parameter must be a string
Patrik Svestka <patrik.svestka@gmail.com> [Fri, 07 Dec 2018 09:42:38 +0100] rev 23611
Issue #250: removed a name isString check in valueNamed:
Patrik Svestka <patrik.svestka@gmail.com> [Thu, 06 Dec 2018 15:08:54 +0100] rev 23610
Issue #250: refix of subKeyAtIndex: method to get only subKeyName as indicated by its name
Patrik Svestka <patrik.svestka@gmail.com> [Wed, 05 Dec 2018 13:03:24 +0100] rev 23609
Issue #250: Convert all Windows registry methods to use Unicode API
All methods are now unicode only
Fixed reading of unicode name and values from registry via valueNamed:
- Added a REG_QWORD registry type (64bit number)
- Added regression tests for the changes at RegressionTests::Win32OperatingSystemTest
- removed all ASCII only reading -> only unicode version is now supported
- replaced while(*cp++) itteration with wide-string search (wcschr) - faster & clear intent
- added a character limit read to count the string lenght (REG_MULTI_SZ)
- clearing the pointer after usage
- renamed a method parameter aValueName to just name
- added a nameUtf16Z which formats the input name into Unicode16String with terminating NULL
- Added a comment on registry size limitations at #valueNamed:put:
The #valueNameAtIndex: - The method is used at (all these now support unicode):
- #valueNames - replaced nextPut: with nextPutUnicode:
- #valueNamesAndValuesDo:
- #valueNamesDo:
The #subKeyAtIndex: - The method is used at (all these now support unicode):
- #subKeysDo:
- #allSubKeysDo:
Others fixed:
- #subKeyNameAndClassAtIndex:
- #remoteKeyOnHost: - - added a hostNameUtf16Z which formats the input name into Unicode16String with terminating NULL
- checking if registry value name is a string if not return nil and print message into transcript
- defaultValue can be now used - reading a (default) value from a reagistry Key
Claus Gittinger <cg@exept.de> [Thu, 17 Jan 2019 12:53:50 +0100] rev 23608
#FEATURE by cg
class: UserPreferences
added:
#useBuiltinJVM
#useBuiltinJVM:
Stefan Vogel <sv@exept.de> [Wed, 16 Jan 2019 17:08:36 +0100] rev 23607
#BUGFIX by stefan
class: UnixOperatingSystem class
changed:
#getDiskInfoOf:
#getMountedVolumes
Find df command also in /bin (additional to /usr/bin)
Stefan Vogel <sv@exept.de> [Wed, 16 Jan 2019 14:30:50 +0100] rev 23606
#BUGFIX by stefan
class: Filename class
changed: #applicationDataDirectoryFor:
same again
Stefan Vogel <sv@exept.de> [Wed, 16 Jan 2019 14:24:36 +0100] rev 23605
#BUGFIX by stefan
class: Filename class
changed: #applicationDataDirectoryFor:
fallback if home directory (in linux) is not writable
(applies to Docker).
sr [Wed, 16 Jan 2019 11:44:41 +0100] rev 23604
#BUGFIX by sr
class: PCFilename
changed: #isHidden
Claus Gittinger <cg@exept.de> [Mon, 14 Jan 2019 18:44:32 +0100] rev 23603
#FEATURE by cg
class: CharacterArray
allow placeHolders without parentheses
(default is false, for backward compatibility)
added: #expandPlaceholders:with:ignoreNumericEscapes:requireParentheses:on:
changed:
#expandPlaceholders:with:ignoreNumericEscapes:on:
#expandPlaceholders:with:on: