Commit graph

73 commits

Author SHA1 Message Date
Andrej Mitrovic
aaa6854eb7 Fixes Issue 9373 - Add deprecation messages to Phobos. 2013-01-23 02:44:08 +01:00
Andrei Alexandrescu
49e4bb0ef0 Merge pull request #406 from denis-sh/get-rid-of-win9x-support
Get rid of win9x support
2012-02-18 12:32:37 -08:00
Denis Shelomovskij
8a92201226 Fix minor memory wasting in std.windows.registry 2012-02-10 14:28:14 +04:00
Denis Shelomovskij
4d451796fe Fix unsafe *A function using
* Supersede unsafe ExpandEnvironmentStringsA using by its *W version
* Remove an outdated commented out function
* Remove std.windows.charset import which have become unnecessary
2012-02-10 14:28:14 +04:00
Denis Shelomovskij
f01bcb71f5 Remove unnecessary stuff from std.windows.registry
* remove stuff which have become unnecessary because of previous commit from std.windows.registry
2012-02-10 14:28:13 +04:00
Denis Shelomovskij
99ab2b6175 Remove __file.d and it's using
* remove `useWfuncs` using
* remove std.__file using
* remove __file.d
* remove variables which have become unnecessary
* remove std.windows.charset import and alias in file.d
2012-02-10 14:27:34 +04:00
qchikara
6a768c3c41 error message fix:"Value" to "Key" 2012-02-09 15:19:31 +09:00
qchikara
539ff6a68b Issue 7460 - std.windows.registry reports a false exception message 2012-02-09 15:17:01 +09:00
Jonathan M Davis
2027b144b6 Merge pull request #403 from venix1/Win64
Win64 changes from MinGW64
2012-01-25 23:54:36 -08:00
Walter Bright
5ad3dafd10 fix Issue 4295 - IID_IUnknown symbol undefined in phobos.lib 2012-01-23 18:05:21 -08:00
Daniel Green
bc453c2a0e Win64 changes from MinGW64 2012-01-22 23:06:34 -05:00
Walter Bright
380ae65511 remove empty statements 2011-12-29 00:05:45 -08:00
k-hara
c9c8e594db Move static ctor/dtor into internal module to avoid cycle dependency. 2011-10-03 03:55:51 +09:00
k-hara
1fba4c385d Registry is now final class with @disable this() 2011-10-03 03:34:50 +09:00
k-hara
54b65ba227 Apply improvements from the review comments.
- Use std.utf.toUTF16z
- Fix array operations
- Add next parameter for exceptions constructors
- Remove unused code
- Put the brace on its own line
- Fix conditional compilation with endian
- Move default case to the last of a switch block
- Add more @safe pure
- Fix ddoc comments.
- Change auto to immutable
- Add enforceSucc, and use enforce family
- Change uint to size_t around indexing
2011-10-03 03:34:49 +09:00
k-hara
5dbc7371cc Restore useWfuncs certainly. 2011-10-02 18:43:48 +09:00
k-hara
cb122aeea8 Cleanup ddoc 2011-10-02 18:43:48 +09:00
k-hara
baaae771e6 Change to use *W functions 2011-10-02 18:43:48 +09:00
k-hara
adbb5a58eb Change private function names more generic. 2011-10-02 18:43:47 +09:00
k-hara
a50c08acae Add file and line in Win32Exception and RegistryException 2011-10-02 18:43:47 +09:00
kai
896e0b5c5f Fixed last merge conflict. 2011-09-08 08:27:40 +02:00
kai
3001d9cfaf Resolved some review issues
- Reduced number of imports
- Removed a template argument
- Fixed a local-dependent unit test
2011-09-08 07:56:09 +02:00
kai
0a5c6ee23c Cleanup of registry access 2011-09-08 07:54:13 +02:00
Daniel Murphy
0c954d3c48 Fix code relying on bug 3797 2011-09-02 19:09:08 +10:00
Daniel Murphy
1590a5cc38 Issue 6572 - Deprecate typedef
Remove use of deprecated typedef from phobos.  This mostly consists of changing typedef to alias, and disabling unittests that require typedef.  One change to std.registry is needed to work around a bug in typedef (6571).
2011-08-30 13:22:10 +10:00
dsimcha
c732c95b16 Fix Windows build. Is all this casting right? 2011-08-29 19:02:09 -04:00
dsimcha
8ad5c37774 Revert "Fix Windows build."
This reverts commit 752a26393e.

This whole build break on Windows thing is a lot more non-trivial than I thought.  Reverting the last commit.  I'll be back with a pull request, since this is clearly something that does need to be thoroughly tested and reviewed.
2011-08-29 18:42:44 -04:00
David Simcha
752a26393e Fix Windows build. 2011-08-30 00:33:33 -03:00
Daniel Green
dcbfae3364 Merge GDC Win64 changes. 2011-08-14 00:52:10 -04:00
Denis Shelomovskij
df48478dba Added FreeLibrary call in a module destructor 2011-07-14 01:04:38 +03:00
Denis Shelomovskij
43beb7e871 Merge branch 'master' of https://github.com/D-Programming-Language/phobos.git into patch-1
Conflicts:
	std/windows/registry.d
2011-07-13 11:24:42 +03:00
Denis
3f44725413 Another fixes 2011-06-28 23:37:50 -07:00
Denis
1b5999e731 Fixes (thanks for jmdavis) 2011-06-28 23:32:30 -07:00
kai
407c10a071 Hide some implementation details 2011-06-03 19:47:32 +02:00
denis-sh
8100baf7b6 Added thread-safe (I hope) and Windows 2000-safe support for WoW64 keys. 2011-05-29 04:49:20 -07:00
Andrej Mitrovic
fece9440b1 Replaced unsafe cast to string with a duplication call. There's no way around this unless this module is redesigned. 2011-05-25 03:42:09 +02:00
denis-sh
486032820c Edited std/windows/registry.d via GitHub 2011-05-05 10:45:12 -07:00
denis-sh
58b2509fac Added KEY_WOW64_32KEY and KEY_WOW64_64KEY flags support to deleteKey function. Advapi32.dll will be loaded if necessary. 2011-05-05 10:41:09 -07:00
denis-sh
cc1b5e9abb Issue 5888 fix - createKey and getKey in registry.d always use KEY_ALL_ACCESS 2011-05-04 23:42:07 -07:00
Don Clugston
84477a5d3e Move Boost copyright declaration from ddoc to normal comment. Fixes ugly ddoc output. 2010-11-24 19:34:47 +00:00
Walter Bright
b8ce58ccd1 detab sources 2010-08-23 02:14:45 +00:00
Masahiro Nakagawa
cab2b77249 opApply's delegate needs to be 'scope' for avoiding heap allocation 2010-05-18 10:58:01 +00:00
Walter Bright
53a3eec534 invariant => immutable 2010-05-05 22:19:49 +00:00
Walter Bright
e790058bf4 invariant => immutable 2010-05-05 18:25:44 +00:00
Sean Kelly
9be950356b Converted "static this" to "shared static this" where appropriate. 2010-03-09 03:54:06 +00:00
Walter Bright
26988249b7 inout to ref 2009-12-19 07:47:36 +00:00
Sean Kelly
747f3cf1e4 Changed Phobos to use the Boost license. Currently, all public domain modules and all licensed modules by Walter, Andrei, Bartosz, and Don have been changed to use this license (excepting std.c, for the moment). Ideally, all Phobos modules will eventually be distributed under this license, which means obtaining permission from a few more authors, deleting, or rewriting some modules.
Removed std.openrj.
2009-09-16 18:19:51 +00:00
Don Clugston
c71920b5f0 Bare minimum changes to allow Phobos to compile in Windows. (Segfaults running unittest, though. I managed to coax an error message out of it. std\algorithm.d(575) Error: cannot modify const). 2009-04-07 20:17:17 +00:00
Andrei Alexandrescu
6ec5113812 minor 2009-04-06 05:44:56 +00:00
Andrei Alexandrescu
a394eddf1d minor 2009-04-06 05:44:13 +00:00