Compare commits

...

500 Commits

Author SHA1 Message Date
J. C. Jones
636be3987c Merge with trunk
svn path=/branches/vs_jc/; revision=59263
2013-06-20 00:42:13 +00:00
Hermès Bélusca-Maïto
8eccf8f3b5 Fix the fix of revision 59258. By the way, I forgot to say that this "feature" was introduced in revision 54107.
svn path=/trunk/; revision=59259
2013-06-19 00:00:19 +00:00
Hermès Bélusca-Maïto
70202f89b6 [WIN32K]
Make F12 key working again on ReactOS. The problem was that it was hardcoded for activating a debugger and since we currently didn't activated a debugger, then nothing happened when pressing F12.
This key is in fact the default key (under some assumptions) for the UserDebuggerHotKey option, which should be read from the registry. Temporarily disable the checking code until someone implements a proper code for that.

svn path=/trunk/; revision=59258
2013-06-18 23:51:14 +00:00
Hermès Bélusca-Maïto
895a9ab679 [WIN32K]
Check for NULL pointer returned by PEN_AllocPenWithHandle before dereferencing the returned pointer (the allocation function can return NULL in low memory conditions, leading to kernel crashes).

svn path=/trunk/; revision=59257
2013-06-18 22:14:50 +00:00
Eric Kohl
99f4087daa [NETAPI32]
NetUserGetInfo: Implement level 4.

svn path=/trunk/; revision=59256
2013-06-18 22:08:04 +00:00
Hermès Bélusca-Maïto
c4abf0b6cc [WIN32K]
Check for NULL pointer returned by COLORSPACEOBJ_AllocCSWithHandle before dereferencing the returned pointer (the allocation function can return NULL in low memory conditions, leading to kernel crashes).
Adapted from a patch from Aleksandar Andrejevic.
CORE-7317 #resolve #comment Fixed in revision r59255, cheers :D

svn path=/trunk/; revision=59255
2013-06-18 21:51:43 +00:00
Eric Kohl
29c077bd2b [NETAPI32]
- NetUserGetInfo: Implement level 11.
- NetUserSetInfo: Implement level 1024, 1025 and 1051.
- NetUserSetInfo: Support CountryCode and CodePage in level 2.
- NetUserSetInfo: Support CountryCode, CodePage and PrimaryGroupId in level 3.

svn path=/trunk/; revision=59254
2013-06-17 21:45:24 +00:00
Daniel Reimer
2cc2f1838f Fix sizes for German RC file.
Sync all sizes to be of the same size in every language to have a common look again!
Fix a size typo in nl-NL
Some languages need a overhaul badly! Especially Romanian really need to be shortened to not have such romans (See the word play?? ^^) for every string.

svn path=/trunk/; revision=59253
2013-06-17 21:18:50 +00:00
Amine Khaldi
842728981d [TELNET]
* Silence warnings.

svn path=/trunk/; revision=59252
2013-06-17 20:41:42 +00:00
Amine Khaldi
27fc57cd28 [EXT2FS]
* Silence warnings.

svn path=/trunk/; revision=59251
2013-06-17 16:33:21 +00:00
Daniel Reimer
523be793e6 Turkish translation update by Erdem Ersoy
CORE-7261 #resolve #comment Committed in revision r59250, thanks for help. Skipped wordpad, winhlp32 and write. These apps are wine synched and you need to send these patches to them, sorry.
CORE-7274 #resolve #comment Committed in revision r59249, thanks for help.

svn path=/trunk/; revision=59250
2013-06-17 00:26:48 +00:00
Daniel Reimer
753772532d Updated German Resource for usrmgr.
svn path=/trunk/; revision=59246
2013-06-16 23:30:09 +00:00
Daniel Reimer
dfe18aa00c Fix for r59242.
GCC does not even care here... sorry.

svn path=/trunk/; revision=59245
2013-06-16 22:49:04 +00:00
Daniel Reimer
d67db490fb advapi32: avicap32: fix missing allocation checks, and incorrect free calls by andygui
CORE-7197 #resolve #comment Committed in revision r59243, thanks for help

svn path=/trunk/; revision=59244
2013-06-16 22:15:28 +00:00
Daniel Reimer
30262ea0ce zlib: Sync to v1.2.8 by r3ddr4g0n
CORE-7217 #resolve #comment Committed in revision r59243, thanks for help

svn path=/trunk/; revision=59243
2013-06-16 22:08:36 +00:00
Daniel Reimer
0a65846d43 Right-to-Left mirroring fixes for various applications by Baruch Rutman
CORE-7015 #resolve #comment Committed in revision r59241, thanks for help.

svn path=/trunk/; revision=59242
2013-06-16 22:04:48 +00:00
Hermès Bélusca-Maïto
3e3200acef [KERNEL32]
- Change the argument types of both GetConsoleFontInfo() and SetConsoleFont() to be more complete. This research is based off of the examining of source code from the jockx-the-game project (licensed under a BSD license). Specifically, the files containing the functions are in both ConsoleFont.cpp and ConsoleFont.h:
  * http://code.google.com/p/jockx-the-game/source/browse/DamageCalc/ConsoleFont.cpp?r=a8ee04a8a8156de58754c4190f48435c32cfefaf
  * http://code.google.com/p/jockx-the-game/source/browse/DamageCalc/ConsoleFont.h?r=a8ee04a8a8156de58754c4190f48435c32cfefaf
- Since the code for jockx-the-game used a 0 for the boolean argument for GetConsoleFontInfo() in ConsoleFont.cpp, the patch creator currently doesn't know what the argument does exactly.
  **NOTE**: Using http://pages.videotron.com/lyra/PowerBASIC/ConsoleFont.html too, the patch committer (hbelusca) was able to deduce that the boolean has the same meaning as the bMaximumWindow parameter of the GetCurrentConsoleFont function (http://msdn.microsoft.com/en-us/library/windows/desktop/ms683176(v=vs.85).aspx).

Patch by Lee Schroeder, modified by me as explained above.
CORE-7015 #resolve #comment Committed in revision r, thanks :)

Extras:
- Fix the return type of GetCurrentConsoleFont
- Add both GetConsoleFontSize and GetCurrentConsoleFont prototypes (documented) to wincon.h

svn path=/trunk/; revision=59240
2013-06-16 21:35:18 +00:00
Eric Kohl
97cd0c3833 [USRMGR]
Enable the calls to NetUserSetInfo. We are now able to change user properties.

svn path=/trunk/; revision=59239
2013-06-16 21:26:04 +00:00
Daniel Reimer
bfe3f61696 logical 'and' applied to non-boolean constant
Reviewed by Thomas Faber and asked for commit, so blame him!
CORE-7207 #resolve #comment Fixed!

svn path=/trunk/; revision=59238
2013-06-16 20:37:04 +00:00
Eric Kohl
179b2acb7d [NETAPI32]
- BuildUserInfoBuffer: return password age
- SetUserInfo: set account control flags and implement level 1008

svn path=/trunk/; revision=59237
2013-06-16 20:07:29 +00:00
Amine Khaldi
692a6854bd [MESA32]
* Silence warnings.

svn path=/trunk/; revision=59236
2013-06-16 19:13:50 +00:00
Amine Khaldi
862eb61397 [FREETYPE]
* Silence the unused-but-set warnings. Dedicated to Thomas Faber.

svn path=/trunk/; revision=59235
2013-06-16 17:42:42 +00:00
Hermès Bélusca-Maïto
aa910aeae4 [KERNEL32]
- Simplify initialization of CONSOLE_START_INFO objects by also initializing their AppPath member in InitConsoleInfo.
- Add two members IconPath and IconIndex in the CONSOLE_START_INFO structure, to be used in a future work...

[HEADERS]
- CHAR_INFO* == PCHAR_INFO
- Add two informative comments for two fields of the CONSOLE_READOUTPUT structure (again, to be used in a future work...)

svn path=/trunk/; revision=59234
2013-06-16 17:16:33 +00:00
Eric Kohl
d00ff48b65 [LSASRV]
Fix uninitialized variable.
CORE-7303 #resolve #comment Fixed!

svn path=/trunk/; revision=59233
2013-06-16 16:24:45 +00:00
Amine Khaldi
9190ce5a77 [LOCALSPL_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59232
2013-06-16 14:36:02 +00:00
Amine Khaldi
86fb632442 [LOCALSPL]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59231
2013-06-16 14:35:12 +00:00
Amine Khaldi
a2949de657 [FONTVIEW]
* Restructure Display_OnPrint to eliminate allocating an unused variable and plug a leak.

svn path=/trunk/; revision=59230
2013-06-16 12:43:35 +00:00
Eric Kohl
78a3d923b6 [NTFS]
Fix indentation and coding style. No code changes!!!

svn path=/trunk/; revision=59229
2013-06-16 12:15:06 +00:00
Amine Khaldi
67115c45ed [QMGRPRXY]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59228
2013-06-16 11:11:48 +00:00
Amine Khaldi
1155b43932 [QMGR_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59227
2013-06-16 11:10:56 +00:00
Amine Khaldi
1794f4166f [QMGR]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59226
2013-06-16 11:10:20 +00:00
Amine Khaldi
2f922be30b [ATACTL]
* Add version information. By Lee Schroeder.
CR-16 CORE-6822

svn path=/trunk/; revision=59225
2013-06-16 10:58:55 +00:00
Johannes Anderwald
2146622d0f [VIDEOPRT]
- Check if there is a dma adapter
CORE-7181 #comment please retest

svn path=/trunk/; revision=59224
2013-06-16 09:17:29 +00:00
Eric Kohl
a08cf1e057 [NETAPI32]
- NetUserEnum, NetUserGetInfo: Query UserAllInformation instead of UserAccountInformation.
- BuildUserInfoBuffer: Return more information to the caller (UserComment, Parameters, UnitsPerWeek, LogonHours and LogonServer).
- FreeUserInfo: Free additional strings.

svn path=/trunk/; revision=59223
2013-06-15 22:22:15 +00:00
Eric Kohl
f3c35e6177 [NETAPI32]
- SetUserInfo: Implement level 2, 1003, 1006, 1007, 1009, 1011, 1012, 1013, 1014, 1052 and 1053.
- SetUserInfo: Ignore NULL-Strings.
- NetUserSetInfo: Enable implemented level.

svn path=/trunk/; revision=59222
2013-06-15 19:15:36 +00:00
Amine Khaldi
3d0929403b [DBGHELP]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59221
2013-06-15 11:57:55 +00:00
Johannes Anderwald
ca1b982148 [MMSYS]
- Implement audio selection button

svn path=/trunk/; revision=59220
2013-06-15 08:23:21 +00:00
Johannes Anderwald
24b5b19981 [MOUHID]
- Fix build 
[HIDUSB]
- Fix warnings

svn path=/trunk/; revision=59219
2013-06-15 06:34:38 +00:00
Johannes Anderwald
32a23aa9ab [HID]
- Fix function signatures
- Fix build

svn path=/trunk/; revision=59218
2013-06-15 06:24:03 +00:00
Johannes Anderwald
042a365171 [HIDPARSER, HIDPARSE, INCLUDE]
- Fix function signatures
CORE-7183 #comment fixed #resolve

svn path=/trunk/; revision=59217
2013-06-15 06:18:02 +00:00
Eric Kohl
d51f1d5cd8 [USRMGR]
Enable call to NetUserSetInfo. Now we can rename user accounts. 

svn path=/trunk/; revision=59216
2013-06-14 23:19:24 +00:00
Eric Kohl
939098c7f7 [NETAPI32]
- Implement NetUserSetInfo (levels 0, 1 and 3 only).
- Add level 0 support to SetUserInfo.

svn path=/trunk/; revision=59215
2013-06-14 22:31:38 +00:00
Eric Kohl
11b09b882b [SYSDM]
Fix a typo that was found by cppcheck.

svn path=/trunk/; revision=59214
2013-06-14 16:12:15 +00:00
Sylvain Petreolle
e0a991fc7e [DEVMGR]
Fix exceptions occuring because of missing parameters.

svn path=/trunk/; revision=59213
2013-06-14 09:11:25 +00:00
Hermès Bélusca-Maïto
d224604eef [CONSRV]
- Use a Unicode screen-buffer for the console.
- Fix some pointers miscalculations in Read/Write console output routines, which lead to character display problems sometimes.
CORE-7277 #resolve #comment Should be fixed in revision r59212. Thanks for your report :)

svn path=/trunk/; revision=59212
2013-06-14 01:10:43 +00:00
Hermès Bélusca-Maïto
3ada1fe593 [KERNEL32]
Code formatting only + member variable type fix.

svn path=/trunk/; revision=59211
2013-06-14 01:00:49 +00:00
Eric Kohl
e3115fafaf [NETAPI32]
Move the NETAPI_IsLocalComputer prototype to netapi32.h.

svn path=/trunk/; revision=59210
2013-06-13 21:20:45 +00:00
Eric Kohl
57ef5082cc [NETAPI32]
NetLocalGroupSetInfo: Implement level 1002.

svn path=/trunk/; revision=59209
2013-06-13 19:51:14 +00:00
Jérôme Gardou
8f14288280 [HIVESYS]
- Committed something unwanted, sorry.

svn path=/trunk/; revision=59208
2013-06-13 16:10:52 +00:00
Jérôme Gardou
7d5788a363 [INF]
- recognize PCI\CC_0000 as a valid ID for VBE adapters.
CORE-6773. #resolve #comment Should be fixed with r59207, thanks.

svn path=/trunk/; revision=59207
2013-06-13 15:09:45 +00:00
Eric Kohl
70cef33064 [NETAPI32]
NetLocalGroupSetInfo: Implement level 1.

svn path=/trunk/; revision=59206
2013-06-12 21:37:31 +00:00
Daniel Reimer
023c8e237d Update for some German resource files by zehnvor.
svn path=/trunk/; revision=59205
2013-06-11 22:21:49 +00:00
Eric Kohl
a9e5baaae1 [SAMSRV]
Fix group renaming code. It is not enough to set the name attribute. The domain object also need a new name-id mapping. Also fail if the new group name is already used by any account object in the domain.

svn path=/trunk/; revision=59204
2013-06-11 21:09:26 +00:00
Eric Kohl
37f7925a42 [USRMGR]
Enable the call to NetLocalGroupSetInfo. Now we can rename groups.

svn path=/trunk/; revision=59203
2013-06-10 19:27:45 +00:00
Eric Kohl
d61ff14f89 [NETAPI32]
Implement NetLocalGroupSetInfo (level 0 only).

svn path=/trunk/; revision=59202
2013-06-10 18:19:03 +00:00
James Tabor
9a3038538e [User32]
- Release capture if the scroll is not tracking events. This fixes CORE-7075.
- Minor sync porting to minimize differences.

svn path=/trunk/; revision=59201
2013-06-10 17:36:04 +00:00
Eric Kohl
d929b4bc83 [SAMSRV]
Fix alias renaming code. It is not enough to set the name attribute. The domain object also need a new name-id mapping. Also fail if the new alias name is already used by any account object in the domain.

svn path=/trunk/; revision=59200
2013-06-10 16:20:43 +00:00
Hermès Bélusca-Maïto
b968925f7a Code formatting only
svn path=/trunk/; revision=59199
2013-06-09 21:37:34 +00:00
Hermès Bélusca-Maïto
afa5295cd8 [CONSRV]
- Pressing the Shift key while copying text in the console, allows us to copy it without newlines (tested on Windows).
- When starting keyboard selection ("Marking"), put the cursor on top left of the console view.
- Improve key presses actions when being in selection mode (pressing ENTER when being in selection mode, copies the text and cancels selection mode, pressing ESC or Ctrl-C cancels the selection, etc...)
- Try to fix erratic context menu apparitions when being in Quick-Edit mode (caught by Javier Fernandez, aka. elhoir)

svn path=/trunk/; revision=59198
2013-06-09 19:03:53 +00:00
Sylvain Petreolle
d267ecd023 configure.sh:
Allow passing -D parameters to cmake.
Both -DVAR=value and -D VAR=value syntaxes are supported.

svn path=/trunk/; revision=59197
2013-06-09 13:47:01 +00:00
Amine Khaldi
e6e4ed5c15 [CMAKE]
* Update base addresses.
CORE-7262 #resolve

svn path=/trunk/; revision=59196
2013-06-09 10:47:20 +00:00
Eric Kohl
7d25cfad37 [NETAPI32]
Add level 3 support to NetLocalGroupAddMembers and NetLocalGroupDelMembers.

svn path=/trunk/; revision=59195
2013-06-09 09:40:24 +00:00
Timo Kreuzer
740772014c [NDK]
- Add NUMBER_POOL_LOOKASIDE_LISTS constant
- Add PAT MSR constants for amd64
- Add missing extern "C"
[NTOSKRNL]
- Fix pool lookaside list usage for 64 bit

svn path=/trunk/; revision=59194
2013-06-09 08:54:33 +00:00
Hermès Bélusca-Maïto
450943cf42 [KERNEL32]
- Fix IN/OUT declaration of parameters for GetFullPathNameA/W
- Fix a bad usage of GetFullPathNameW in the GetTempPathW API, where the source and destination buffer for GetFullPathNameW was the same (Yet another Wineism :(( ). On Windows, using the same buffer fills it with a garbled string. Avoid this behaviour on ReactOS too, because internally GetFullPathNameW calls RtlGetFullPathName_U, the latter zeroing-out the destination buffer before usage.

[RTL:PATH]
See comments of revision r59183 (and in particular, fix some ntdll:RtlDos* path functions).

svn path=/trunk/; revision=59193
2013-06-08 14:48:33 +00:00
Eric Kohl
2370b46e6f [NETAPI32]
Implement NetLocalGroupDelMember and NetLocalGroupDelMembers (level 0 only).

svn path=/trunk/; revision=59192
2013-06-08 14:41:56 +00:00
Eric Kohl
044ead4a8f [NETAPI32]
Implement NetLocalGroupAddMember and NetLocalGroupAddMember (level 0 only).

svn path=/trunk/; revision=59191
2013-06-08 13:47:34 +00:00
Eric Kohl
f0c9ed8f21 [NETAPI32]
NetLocalGroupGetMembers: Implement levels 2 and 3. Fixes netapi32:access winetest failures.

svn path=/trunk/; revision=59190
2013-06-08 11:04:18 +00:00
Aleksey Bragin
015d9d3a12 [KMTEST]
- Fix variable declaration placement.

svn path=/trunk/; revision=59189
2013-06-08 10:31:39 +00:00
Aleksey Bragin
881c40e133 [KMTEST]
- Implement simple KeDeviceQueue test by Moscow State Technical University students. Improvements are welcome.

svn path=/trunk/; revision=59188
2013-06-08 10:19:26 +00:00
Hermès Bélusca-Maïto
ac49c11d60 Fix code indentation
svn path=/trunk/; revision=59187
2013-06-07 23:50:44 +00:00
Eric Kohl
a37d2347c3 [NETAPI32]
Fix NetLocalGroupGetMembers and implement level 1. The netapi32:access winetest does not crash any more and group members appear in the user manager control panel.

svn path=/trunk/; revision=59186
2013-06-07 22:36:49 +00:00
Hermès Bélusca-Maïto
6922a068e7 [KERNEL32-RTL]
Fix return type and usage of RtlDetermineDosPathNameType_U, and use the declaration of RTL_PATH_TYPE in winternl.h instead of the wineism DOS_PATHNAME_TYPE.

See r59183 and 59184 for more information.

svn path=/trunk/; revision=59185
2013-06-07 20:40:34 +00:00
Sylvain Petreolle
d93b910537 Revert 59183 on hbelusca's request.
svn path=/trunk/; revision=59184
2013-06-07 09:36:37 +00:00
Hermès Bélusca-Maïto
917be25184 [KERNEL32-RTL]
Fix return type and usage of RtlDetermineDosPathNameType_U, and use the declaration of RTL_PATH_TYPE in winternl.h instead of the wineism DOS_PATHNAME_TYPE.

[RTL:PATH]
- Make usage of the IS_PATH_SEPARATOR(...) macro instead of automatically checking for L'\\' or L'/', and of OBJ_NAME_PATH_SEPARATOR when checking for L'\\' only or setting the character L'\\' (just code consistency only).

<Test fixes:>
- Fix a search loop and a check in RtlpWin32NTNameToNtPathName_U (a problem of setting the pointer *PartName via the variable p existed (always 1 character shift wrt. the expected result, and now *PartName is set to NULL even if p == NewBuffer).
- Zero out an optional parameter (if present) in RtlDosSearchPath_Ustr.
- Zero out the return buffer in RtlGetFullPathName_U (function from Wine).

Those fixes ^ correct the following tests:
* ntdll:RtlDosPathNameToNtPathName_U (58 errors to 4 errors remaining due to UNC path handling).
* ntdll:RtlDosSearchPath_U (9 errors to 6 errors remaining due to the fact that our RtlDosSearchPath_U doesn't throw exception on bad arguments because it checks the validity of its arguments (pointers especially), whereas on Windows it seems it doesn't happen to be the case).
* ntdll:RtlDosSearchPath_Ustr (4 errors to full success).
* ntdll:RtlGetFullPathName_U (31 errors to 8 errors).
* ntdll:RtlGetFullPathName_UstrEx (29 errors to 6 errors).

svn path=/trunk/; revision=59183
2013-06-07 01:25:57 +00:00
Aleksey Bragin
20770ec6a1 [KMTEST]
- Fix variables declarations, and don't mix 1/0 and TRUE/FALSE. Boolean was invented for that.

svn path=/trunk/; revision=59182
2013-06-06 21:54:00 +00:00
Aleksey Bragin
192f898958 [KMTEST]
- Constantine Belev: Fix a few bugs in the SeQueryInfoToken test. Now it does not crash in ReactOS anymore.

svn path=/trunk/; revision=59181
2013-06-06 09:44:34 +00:00
Aleksey Bragin
2b03ca813e [KMTEST]
- Fix formatting of FsRtlTunnel.c
- Add proper header.

svn path=/trunk/; revision=59180
2013-06-05 23:25:02 +00:00
Hermès Bélusca-Maïto
450ab7055a [ROSAPPS]
Add 4 little tests for RtlDetermineDosPathNameType 

svn path=/trunk/; revision=59179
2013-06-05 23:24:04 +00:00
Aleksey Bragin
73f6b44f85 [KMTEST]
- Add tests for SeQueryInformationToken NTAPI. By Moscow State Technical University students Constantine Belev, Denis Grishin, Egor Sinitsyn.
- Disabled from testbot because they bugcheck ReactOS (unimplemented functions bugcheck). Work in progress...

svn path=/trunk/; revision=59178
2013-06-05 23:16:14 +00:00
Aleksey Bragin
4b891e910a [KMTEST]
- Add tests for FsRtl Tunnel Cache APIs. By Moscow State Technical University students Arseny Ashuha, Marina Volosnikova and Denis Petkevich.
- Disabled from testbot because they bugcheck ReactOS (unimplemented functions bugcheck).

svn path=/trunk/; revision=59177
2013-06-05 22:50:57 +00:00
Eric Kohl
bc21f371e4 [NETAPI32]
Implement NetLocalGroupGetMembers. Level 0 support only. Will be tested and fixed when level 1 support will be added.

svn path=/trunk/; revision=59176
2013-06-05 22:08:53 +00:00
Jérôme Gardou
45d6f4dc1b [CMAKE]
- put all debug symbols (MSVC) in the same directory.

svn path=/trunk/; revision=59175
2013-06-05 17:57:13 +00:00
Jérôme Gardou
50ab8e88e3 [WIN32K]
- Don't crash if the focus message queue is NULL

svn path=/trunk/; revision=59174
2013-06-05 17:54:26 +00:00
Hermès Bélusca-Maïto
6a14b4a76e [RTL]
Revert r59165 because RtlPrefixUnicodeString may not behave exactly as what the original code did (but keep the command in comment). I also want how tests behave with the change.

svn path=/trunk/; revision=59173
2013-06-03 21:05:32 +00:00
Eric Kohl
4c073fdf30 [USRMGR]
Enable calls to NetLocalGroupDel and NetUserDel. Now we are able to add and remove groups and users.

svn path=/trunk/; revision=59172
2013-06-03 18:14:46 +00:00
Pierre Schweitzer
1b25f67165 [RAPPS]
Update French translation

svn path=/trunk/; revision=59171
2013-06-03 17:41:34 +00:00
Daniel Reimer
7d7c107864 Update Rapps to have a one click function to update the Database in the menus.
svn path=/trunk/; revision=59170
2013-06-03 15:13:30 +00:00
Daniel Reimer
892c2f22f6 The last one, I promise ^^
Sorted the languages chronological, fixed some typos and extended the containing DLLs information for the MS Runtime Packs to all languages.
Changed the MB and kB in the French section to Mo and ko if not already done anyway.
Removed some double existent language IDs.
(Thx to Pierre and Olaf for helping with French and Polish)

svn path=/trunk/; revision=59169
2013-06-03 14:11:29 +00:00
Amine Khaldi
1966a15861 [KSPROXY]
* Exclude from build. Really. Honest.

svn path=/trunk/; revision=59168
2013-06-03 11:43:40 +00:00
Sylvain Petreolle
270084ffe1 Revert 59161/59152 in order to fix the tests.
svn path=/trunk/; revision=59167
2013-06-03 10:36:39 +00:00
Daniel Reimer
c3b0baccec CORE-7095 #resolve #comment Thanks for help !
- Added as far as still recent.

ROSAPPS-259 #resolve #comment Thanks for help !
- Added + Modification to German translation.

ROSAPPS-258 #resolve #comment Thanks for help !
- Added + small consistency fixes in the patch file.

CORE-6948 #resolve #comment Thanks for help !
- Added + Modification to German translation.

CORE-7064 #resolve #comment Thanks for help !
- Added + German translation.

Additionally I added German translations where missing.

svn path=/trunk/; revision=59166
2013-06-03 08:42:16 +00:00
Hermès Bélusca-Maïto
b7f2a77833 [RTL]
Use RtlPrefixUnicodeString.

svn path=/trunk/; revision=59165
2013-06-02 22:51:24 +00:00
Hermès Bélusca-Maïto
b483880367 [RTL]
Clarify the code a bit, no logical changes.

svn path=/trunk/; revision=59164
2013-06-02 22:44:09 +00:00
Hermès Bélusca-Maïto
3326a5b566 [RTL]
Use RtlDowncaseUnicodeChar instead of towlower

svn path=/trunk/; revision=59163
2013-06-02 22:11:50 +00:00
Eric Kohl
b09df02972 [NETAPI32]
- Remove obsolete WINE code.
- Implement NetUserDel.

svn path=/trunk/; revision=59162
2013-06-02 21:53:52 +00:00
Amine Khaldi
fc446057f0 * I missed this in r59152. Spotted by Robert Naumann.
CORE-7257 #resolve #comment Thanks !

svn path=/trunk/; revision=59161
2013-06-02 21:40:32 +00:00
James Tabor
6a8f226011 [User32]
- Patch by Sergey Guralnik : Init standard scrollbars during WM_NCCREATE.
- Modified for ReactOS.

svn path=/trunk/; revision=59160
2013-06-02 20:52:54 +00:00
James Tabor
df325d1444 [User32]
- Sync port to 1.5.31.

svn path=/trunk/; revision=59159
2013-06-02 20:48:12 +00:00
James Tabor
c15f4a2c93 [User32]
- Sync port to 1.5.31.

svn path=/trunk/; revision=59158
2013-06-02 20:47:56 +00:00
James Tabor
fba7a5c3f9 [User32]
- Sync port to 1.5.31.

svn path=/trunk/; revision=59157
2013-06-02 20:47:12 +00:00
James Tabor
3f5d3a590a [WineTests]
- Sync to 1.5.31.

svn path=/trunk/; revision=59156
2013-06-02 20:45:51 +00:00
Timo Kreuzer
ca40cc0835 [RTL]
Fix another warning

svn path=/trunk/; revision=59155
2013-06-02 19:25:38 +00:00
Timo Kreuzer
a6ced69e11 [DDK/XDK]
- Change inclusion order. This is necessary when using VS static analyze, which requires IRQL level constants to be defined before IRQL annotations are used.
- Comment out 2 ASSERTS in amd64 specific code for now.
- Add cmtypes to ntddk.template.h to account, replacing the manually added structures

svn path=/trunk/; revision=59154
2013-06-02 19:15:35 +00:00
Amine Khaldi
7bd70fbbf1 [NEWCC]
* Lock address space while deleting the segment and then unlock it. Brought to you by Nikolay Borisov.
CORE-7220 #resolve

svn path=/trunk/; revision=59153
2013-06-02 19:12:22 +00:00
Amine Khaldi
be78cf16ca [KSPROXY]
* Exclude from build. We don't need it at the moment.

svn path=/trunk/; revision=59152
2013-06-02 19:08:33 +00:00
Timo Kreuzer
0bacae2af9 [PSDK]
- Add proper definition for DBG_UNREFERENCED_PARAMETER and DBG_UNREFERENCED_LOCAL_VARIABLE

[NTOSKRNL/RTL]
- Fix a number of warnings about unreferenced local variables
- Add 2 assertions that unmapping a section succeeds

svn path=/trunk/; revision=59151
2013-06-02 19:04:02 +00:00
Hermès Bélusca-Maïto
98fc7aa05b "bugzilla" --> Jira
svn path=/trunk/; revision=59150
2013-06-02 18:44:50 +00:00
Hermès Bélusca-Maïto
a295454749 We use Jira now, as our bug tracker.
Patch by André Guibert de Bruet
CORE-7219 #resolve #comment Committed in r59149, thanks ;)

svn path=/trunk/; revision=59149
2013-06-02 18:41:40 +00:00
Hermès Bélusca-Maïto
59abd42a24 [RTL-PATH]
- Fix hackish lower-casing instructions.
- Fix a DPRINT string specifier.
- Fix some string/pointer algebra.

Fixes 10 kernel32:FindFiles tests (all the "Test failed: Wrong last error. Expected 2, got 123" failures, where 123 == ERROR_INVALID_NAME).

CORE-6667 #commented "NoWine" patch committed in revision r59148.

svn path=/trunk/; revision=59148
2013-06-02 18:33:52 +00:00
Timo Kreuzer
e4cd39e255 [RTL]
- Fix a format specifier

[NTOSKRNL]
- Add a missing compiler memory barrier to KeIpiGenericCall
- Remove a pointless cast

svn path=/trunk/; revision=59147
2013-06-02 18:01:00 +00:00
Hermès Bélusca-Maïto
d313d838eb [APITESTS-KERNEL32]
Commit my FindFiles test.
ROSTESTS-84 #resolve #comment Committed in revision 59146.

svn path=/trunk/; revision=59146
2013-06-02 17:01:22 +00:00
Eric Kohl
f99fb70e9e [SAMSRV]
SampDeleteAccountDbObject: Fix the check of a returned status value. The old check caused a failure even though the returned value meant success.

svn path=/trunk/; revision=59145
2013-06-02 15:33:40 +00:00
Daniel Reimer
227f950f24 Retested all rapps download links and fixed all non working ones.
Fixed all sizes.
Updated FireFox and Thunderbird to the newest stables.
Same goes for LibreOffice and Apache OpenOffice.
Some more minor updates for a few apps.

svn path=/trunk/; revision=59144
2013-06-02 15:03:43 +00:00
Jérôme Gardou
91e26dba9d [WIN32K]
- Fix ExtCreateRegion implementation
CORE-4600 #comment Fixed in r59143. Thanks Giannis for the hint. #resolve

svn path=/trunk/; revision=59143
2013-06-02 14:30:48 +00:00
Johannes Anderwald
e7ffaab876 [UMPNPMGR]
- It is not an error when the client is already connected
- Fixes random driver installation failures

svn path=/trunk/; revision=59142
2013-06-02 12:59:06 +00:00
Jérôme Gardou
c51e3b4745 [NTOSKRNL/MM]
- Improve the stub for MEM_RESET case of NtAllocateVirtualMemory.
Fixes infinite loop for gecko-based application (including firefox19 and ReactOS/wine mshtml implementation)

svn path=/trunk/; revision=59141
2013-06-02 11:52:15 +00:00
Eric Kohl
e10dffc51f [SAMSRV]
SamrDeleteAlias: Dereference the AliasHandle parameter properly. All SamrDelete functions use a pointer to the handle. The other SamrDelete functions do it right.

svn path=/trunk/; revision=59140
2013-06-02 10:45:48 +00:00
Hermès Bélusca-Maïto
4bea75236e Hey Arch! Do not define NEWCC for now ! (look at http://git.reactos.org/?p=reactos.git&a=search&h=HEAD&st=grep&s=NEWCC ; spotted by Samuel Serapion)
svn path=/trunk/; revision=59139
2013-06-02 00:21:55 +00:00
Eric Kohl
72a299ef71 [NETAPI32]
NetLocalGroupGetInfo: Fix a bug in the alias search code. The function should search the account domain if no alias was found in the builtin domain, instead of returning an error. Fail only if the desired alias can not be found in both domains.

svn path=/trunk/; revision=59138
2013-06-01 23:42:01 +00:00
Johannes Anderwald
6bcb9bf333 [AUDIO]
- Support zero value tags
CORE-6890 #comment please retest

svn path=/trunk/; revision=59137
2013-06-01 23:16:08 +00:00
Eric Kohl
9eddf468b6 [NETAPI32]
Implement NetLocalGroupDel.

svn path=/trunk/; revision=59136
2013-06-01 23:10:10 +00:00
Hermès Bélusca-Maïto
1e2b31b8bc [KERNEL32-CONSRV]
- Implement SetConsoleCursor and ShowConsoleCursor (set the shape of the cursor, and show/hide it). It appears that SetConsoleCursor acts only on graphics screen buffers (tested on Windows).
  I personnaly think it's a limitation we can suppress, but at the moment I keep it.
- Implement SetConsoleMaximumWindowSize which does nothing else than returning TRUE but doesn't give any constraint on the maximum size of the console window (tested on Windows Server 2003).

See http://undoc.airesoft.co.uk/kernel32.dll/SetConsoleCursor.php , http://undoc.airesoft.co.uk/kernel32.dll/ShowConsoleCursor.php and http://undoc.airesoft.co.uk/kernel32.dll/SetConsoleMaximumWindowSize.php for more details.

Useful for the NTVDM interface !

[CONSRV:Gui frontend]
- Fix "Select all" action.
- Enable or disable "Copy" and "Paste" commands in the edition menu.

svn path=/trunk/; revision=59135
2013-06-01 22:49:50 +00:00
Thomas Faber
6c59bd48c4 [NTOS:IO]
- Do not dereference an unsafe ObjectAttributes pointer in IoCreateFile. Spotted by Aleksandar Andrejevic
(I'm removing the OriginalAttributes assignment completely because it's never used, and it generally makes no sense to copy this. ObOpenObjectByName already takes care of everything in attributes)
CORE-7167

svn path=/trunk/; revision=59134
2013-06-01 20:50:13 +00:00
Amine Khaldi
6dfd719ee8 [NTOSKRNL]
* Properly fail when the read pointer is out of the file. Brought to you by Sergey Chernov.
CORE-7249 #resolve #comment Committed in r59133. Thanks !

svn path=/trunk/; revision=59133
2013-06-01 18:47:11 +00:00
Hermès Bélusca-Maïto
60bd85ff6c [CMD]
COLOR builtin command of CMD does not format output color correctly.
When changing the color of the foreground of the console with the command "color 3" for instance,
the confirmation message "Color 3" appears whereas it should say "Color 03" as the number is output in 1-byte hexadecimal form.

Patch by Radek Liška

CORE-7246 #resolve #comment Committed in revision r59132. Thanks :)

svn path=/trunk/; revision=59132
2013-06-01 18:45:04 +00:00
Thomas Faber
cc1996b991 [CMAKE]
- Don't check for unsupported gcc 4.6
- Disable -Wmaybe-uninitialized. It's just not useful.

svn path=/trunk/; revision=59131
2013-06-01 16:24:07 +00:00
Sylvain Petreolle
2aec6ce58a Fix configure on *nixes.
Arch, don't use brackets, thats meant to execute something.

svn path=/trunk/; revision=59130
2013-05-31 21:27:50 +00:00
Hermès Bélusca-Maïto
6b811ad8f5 Finally,...
... use Ninja by default for compiling ReactOS !!

Users now have to do:

./configure

to use Ninja for building ReactOS.

The old method (using makefiles) is available by doing:

./configure Makefiles
(or: ./configure makefiles )

Tested by Amine and Sylvain (blame them ;) )

svn path=/trunk/; revision=59129
2013-05-31 21:04:28 +00:00
Amine Khaldi
eabdc48e8a [CABINET_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59128
2013-05-31 16:57:58 +00:00
Amine Khaldi
a811de5d38 [CABINET]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59127
2013-05-31 16:57:42 +00:00
Amine Khaldi
31500a3e7b [AVIFIL32_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59126
2013-05-31 16:38:50 +00:00
Amine Khaldi
637f9643ad [AVIFIL32]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59125
2013-05-31 16:38:30 +00:00
Giannis Adamopoulos
c928e73b43 [syssetup]
- Remove resource strings that are no longer in use. Shortcut translations should go to shortcuts.inf from now on

svn path=/trunk/; revision=59124
2013-05-31 15:12:08 +00:00
Giannis Adamopoulos
43f8d2f2fa [shortcuts.inf]
- Convert to utf16 because setupapi can't use utf8 files
- Fix the langid in each string section

svn path=/trunk/; revision=59123
2013-05-31 14:33:46 +00:00
Aleksey Bragin
82c90910e5 [PCIX]
- Fix parameters in KeSetEvent call. Spotted by Daniel Nespoulos.

svn path=/trunk/; revision=59122
2013-05-31 12:24:23 +00:00
Johannes Anderwald
2f4761af8f [SYSAUDIO]
- Handle case when device interface link is properly set 
[WDMAUD]
- Implement timer routine, which issues a work item
- Implement querying sysaudio if the audio device count has changed. In that case reinitialize the mmixer library
- No reboot is now more required after installing audio devices.

svn path=/trunk/; revision=59121
2013-05-30 22:07:40 +00:00
Thomas Faber
f166056c07 [PSEH2]
- Emulate a return from _SEH2EnterHandleTrylevel/_SEH2EnterFrameAndHandleTrylevel rather than directly jumping to the handler in case of an exception. This prevents us from invalidating compiler assumptions. Thanks to Timo.
Should fix GCC 4.7 bug with PSEH2 (CORE-7240).

svn path=/trunk/; revision=59120
2013-05-30 21:53:06 +00:00
Johannes Anderwald
78a214f52d [PORTCLS]
- Silence traces

svn path=/trunk/; revision=59119
2013-05-30 18:40:19 +00:00
Eric Kohl
65e80874df [USRMGR]
Enable the call to NetLocalGroupAdd.

svn path=/trunk/; revision=59118
2013-05-30 16:00:37 +00:00
Eric Kohl
ee2c76ec4d [NETAPI32]
NetLocalGroupEnum: Enumerate aliases (aka local groups) in the builtin and account domains.

svn path=/trunk/; revision=59117
2013-05-30 15:37:25 +00:00
Johannes Anderwald
7b94eec49d [NETSHELL]
- Fix column width of listview

svn path=/trunk/; revision=59116
2013-05-30 11:41:12 +00:00
Eric Kohl
c6a7c2e40c [SAMSRV]
- Create the None (aka Users) group upon setup.
- Add all users as members of the Users group.
- Add the Guest user as a member of the Guests alias.

svn path=/trunk/; revision=59115
2013-05-30 10:50:52 +00:00
Eric Kohl
7a98c62a09 [SAMSRV]
Get rid of SampOpenSamKey. Use SampRegOpenKey instead.

svn path=/trunk/; revision=59114
2013-05-30 08:51:32 +00:00
Johannes Anderwald
ff8f4a6ff9 [DXDIAG]
- Disable call to Direct3DCreate9 [HACK]
- Use the correct parent window handle when creating the system dialogs.
- Fix the next page button
- TODO: ReactOS needs to check whether a correct parent window handle was provided
- Fixes dxdiag tab problem

svn path=/trunk/; revision=59113
2013-05-30 08:12:13 +00:00
Hermès Bélusca-Maïto
8765fbb397 [KERNEL32-CONSRV]
- Implement ConsoleMenuControl; see http://undoc.airesoft.co.uk/kernel32.dll/ConsoleMenuControl.php for more information.
- Implement SetConsoleMenuClose; see http://www.mail-archive.com/harbour@harbour-project.org/msg27509.html (or http://harbour-devel.1590103.n2.nabble.com/Question-about-hb-gt-win-CtrlHandler-usage-td4670862i20.html ) for more information.

[CONSRV]
Remove two unneeded DPRINTs.

svn path=/trunk/; revision=59112
2013-05-30 00:50:03 +00:00
Christoph von Wittich
72eb8769a6 [dxdiag]
use unicode structures when using unicode functions

svn path=/trunk/; revision=59111
2013-05-29 20:36:22 +00:00
Giannis Adamopoulos
0094a5c00f [syssetup]
- Create shortcuts based on shortcuts.inf instead of hardcoding them
Note to translators: please make sure that all shortcut translations are correct. Several localized strings had to be copied by hand so there is the possibility that some errors exist

svn path=/trunk/; revision=59110
2013-05-29 20:33:11 +00:00
Eric Kohl
eeb6598d52 [SAMSRV]
Implement SamIFree_SAMPR_GET_GROUPS_BUFFER.

svn path=/trunk/; revision=59109
2013-05-29 20:21:42 +00:00
Giannis Adamopoulos
af5350237d - Add shortcuts.inf file that will be used by syssetup to create the shortcuts in second stage. In this way shortcuts and their folders won't be hardcoded in syssetup
svn path=/trunk/; revision=59108
2013-05-29 19:35:35 +00:00
Eric Kohl
4569c1ab96 [SAMSRV]
Set default group membership for new users.

svn path=/trunk/; revision=59107
2013-05-29 16:09:10 +00:00
Giannis Adamopoulos
6379d95ae2 [hivedef.inf]
- Fix the names of the colors and sizes of the classic theme. 
- Fixes CORE-7149

svn path=/trunk/; revision=59106
2013-05-29 13:23:27 +00:00
Giannis Adamopoulos
f808f35b12 [desk.cpl]
- If loading the name of a classic color fails, try to read it from the "LegacyName" value

svn path=/trunk/; revision=59105
2013-05-29 13:14:37 +00:00
Eric Kohl
e2b784bd7b [DISKPART]
* Simplified the help system
* Removed an unnecessary check in the help system that listed the first help entry 'active' no matter what was entered into the help system, even if the word is not in the list.
* Removed exit_main and rem_main functions since it took a little extra processing time and made the code a bit harder to read. Now it determines if the given command is rem or exit first before looking through the entire function list.
* Converted WCHAR* to LPWSTR to make it a bit easier to read.
* Add a title to the program to make it easier for the user to determine the name of the application currently running, especially if a large script is being used. 

Patch by Lee Schroeder.
Thanks!
CORE-7187 #resolve #comment Committed in r79104.

svn path=/trunk/; revision=59104
2013-05-29 11:40:43 +00:00
Amine Khaldi
10e6d3b971 [ADVPACK_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59103
2013-05-29 11:01:18 +00:00
Amine Khaldi
8b282e0026 [ADVPACK]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59102
2013-05-29 11:01:08 +00:00
Eric Kohl
d14ba6a267 [CMD]
Remove cmd_main(). Patch by Lee Schroeder.
Thanks!

CORE-7205 #resolve #comment Committed in r59101.

svn path=/trunk/; revision=59101
2013-05-29 10:56:25 +00:00
Hermès Bélusca-Maïto
318eca778f Let's try to fix GCC builds on Linux bots.
svn path=/trunk/; revision=59100
2013-05-29 00:44:18 +00:00
Hermès Bélusca-Maïto
7c2b066810 [CONSOLE.CPL-KERNEL32]
Fix some compilation warnings with MSVC.

[KERNEL32-CONSRV]
- Implement console graphics screen buffers, as described in http://blog.airesoft.co.uk/2012/10/things-ms-can-do-that-they-dont-tell-you-about-console-graphics/ .
  The idea is that the console server creates a memory shared section to be shared with the client console application (it increases performance). A mutex is used to "say" to the console server that he can repaint the screen. The function InvalidateConsoleDIBits is implemented too. The definition of the structure CONSOLE_GRAPHICS_BUFFER_INFO comes directly from the site.
- CreateConsoleScreenBuffer was modified to be able to create such buffers.
This is needed for a working NTVDM-like application.

[CONSRV]
- Rework the console buffer structures so that text-mode buffers and graphics-mode buffers can "inherit" from an "abstract" structure, CONSOLE_SCREEN_BUFFER. Add few helper functions for manipulating them.
- Reorganize the output code in "graphics.c" and "text.c" files to separate text-mode only code from graphics-mode only code, both in the console server and in the GUI front-end.

Other fixes:
- Fix mouse handling (left and right clicks when one goes away from the "Selection" mode); do not handle mouse signal when we reactivate the GUI front-end window by a click.
- Fix GetLargestConsoleWindowSize API in console server side. Now pressing Alt+F9 in Far Manager to "change" the "video" mode works correctly.

Finally:
- Start to implement a (fake, i.e. not using directly a VGA driver) console fullscreen mode. Currently Alt-Enter key presses call a stub which just alternates DPRINTing between "switch to fullscreen mode" and "switch to windowed mode".

Images here:
- Example of an application (a 16-bit emulator by Mysoft) which uses the console graphics screen-buffer functionality: http://img577.imageshack.us/img577/1693/mysoftemulatorargon.png
- A potpourri of console applications which use graphics screen-buffers: http://img571.imageshack.us/img571/6526/consoledelirium.png

Enjoy :)

svn path=/trunk/; revision=59099
2013-05-29 00:29:07 +00:00
Giannis Adamopoulos
7791dc4bd9 [uxtheme]
- Fix almost all of the (few) tests for uxtheme
- Do not allow opening or enumerating themes when the themes service is not running

svn path=/trunk/; revision=59098
2013-05-28 19:19:29 +00:00
Eric Kohl
bcb4136c3a [SAMSRV]
- SamrCreateUser2InDomain2: Set the logon hours attribute.
- Implement SamrConnect2.

svn path=/trunk/; revision=59097
2013-05-28 17:29:57 +00:00
Christoph von Wittich
cd06cd0637 [DEVMGR]
reboot instead of shutdown after driver update

svn path=/trunk/; revision=59096
2013-05-28 17:18:41 +00:00
Eric Kohl
7f37a7df7f [DEVMGR]
Add the driver update pushbutton to the remaining languages.

Please keep all languages synchronized!!!!!

svn path=/trunk/; revision=59095
2013-05-27 21:30:17 +00:00
Timo Kreuzer
5057af6764 [INCLUDE]
- Add some missing 64 bit intrinsics
- Fix a warning in intsafe.h
- Use SAL2 annotations in sspi.h
- Fix some annotations

svn path=/trunk/; revision=59094
2013-05-27 20:55:23 +00:00
Timo Kreuzer
9ec0fe4e61 [MKHIVE]
Fix build and silence MSVC warnings

svn path=/trunk/; revision=59093
2013-05-27 20:27:28 +00:00
Timo Kreuzer
30b1b2b577 [RTL]
Fix some annotations for bitmap code

svn path=/trunk/; revision=59092
2013-05-27 20:20:33 +00:00
Thomas Faber
a701847436 [CLASS2]
- Add symlink creation support for CDROM devices
[USBSTOR]
- Simply forward unsupported SCSI operations

Fixes USB CDROM support. CORE-6591 #resolve
Patch by Johannes "USB God" Anderwald.

svn path=/trunk/; revision=59091
2013-05-27 18:39:32 +00:00
Christoph von Wittich
7e7378f7c9 [devmgr]
add "update driver" button
not functional due to unimplemented DiShowUpdateDevice

svn path=/trunk/; revision=59090
2013-05-27 18:33:18 +00:00
Christoph von Wittich
9ba45bbf6b [newdev]
add stub for DiShowUpdateDevice

svn path=/trunk/; revision=59089
2013-05-27 17:35:15 +00:00
Eric Kohl
44352306db [SYSSETUP]
Set the administrator password (hash) in the SAM database as part of the 2nd stage setup.

svn path=/trunk/; revision=59088
2013-05-27 13:34:59 +00:00
Eric Kohl
019335405c [SAMSRV]
SampSetUserPassword:
- Update the password history only if the new password hash is not the empty password hash.
- Set the empty LM or NT password hash if the password is not present in order to keep both password hashes synchronized.

svn path=/trunk/; revision=59087
2013-05-27 12:48:59 +00:00
Johannes Anderwald
8c5db4e1bf [USBSTOR]
- Disable usbstor cbw debug print
CORE-7223 #resolve

svn path=/trunk/; revision=59086
2013-05-26 17:49:43 +00:00
Christoph von Wittich
d15cea5934 [advapi32]
return the required buffer size in case a temp buffer is used
fixes services tab in msconfig

svn path=/trunk/; revision=59085
2013-05-26 17:33:39 +00:00
Johannes Anderwald
c57a3c88a0 [USBSTOR]
- Hackplement IRP_MJ_POWER support
- Inspired by Thomas (Blame him ;))

svn path=/trunk/; revision=59084
2013-05-26 17:18:19 +00:00
Eric Kohl
41b3af8267 [SAMSRV]
Calculate NT and LM hashes of the empty password string and use them as default passwords hashes in new user accounts.

svn path=/trunk/; revision=59083
2013-05-26 10:48:54 +00:00
Eric Kohl
c5855337f5 [MSPORTS]
- Only use the first port base address for parallel port identification. ECP ports have a second base address that confused the identification code.
- Apply the same check to the serial port identification code because it can prevent potential malfunction. At least it doesn't hurt to be on the safe side.

svn path=/trunk/; revision=59082
2013-05-25 18:28:28 +00:00
Johannes Anderwald
6b5c8cd891 [USBSTOR]
- partly implement support for scsiop_mechanism command, not yet activated
- terminate request properly when it is not supported. Fixes leaking of irp requests

svn path=/trunk/; revision=59081
2013-05-24 19:02:28 +00:00
Johannes Anderwald
a2085a332c [HIDCLASS]
- Implement HidClass_Power
[USBCCGP]
- Remove superflous spaces
- Implement IRP_MJ_SYSTEM_CONTROL
- Fix bug in IRP_MJ_POWER handler
- Add driver unload routine
[USBEHCI,USBOHCI, USBUHCI]
- Support Win2k3 usbhub.sys, which uses null device handle for the root usb hub
- Based on a patch by Thomas Faber

svn path=/trunk/; revision=59080
2013-05-24 17:36:14 +00:00
Sylvain Petreolle
e29102f914 [FREELDR]
Take in account the boot disk in the number of detected disks.
It allows booting without a hard disk (e.g cdrom/floppy alone with an USB storage device)

svn path=/trunk/; revision=59079
2013-05-24 12:24:27 +00:00
Sylvain Petreolle
44787d9e81 [FREELDR]
Convert TABs to spaces, no code changes.

svn path=/trunk/; revision=59078
2013-05-24 12:20:13 +00:00
Eric Kohl
0b66765529 [RTL]
Comparison is always true due to limited range of data type.
Patch by Samuel Serapion.

CORE-7178 #resolve #comment Committed in r59077.

svn path=/trunk/; revision=59077
2013-05-24 12:10:12 +00:00
Eric Kohl
0bc3ffeb7b [RTL]
Comparison is always true due to limited range of data type. Patch by Samuel Serapion.

CORE-7177 #resolve #comment Committed in r59076.

svn path=/trunk/; revision=59076
2013-05-24 09:50:49 +00:00
Eric Kohl
c2b2763cba [NTOSKRNL]
SeValidSecurityDescriptor does not correctly check for invalid DACL revision numbers. Patch by Samuel Serapion.

CORE-7209 #resolve #comment Committed in r59075.

svn path=/trunk/; revision=59075
2013-05-24 09:07:46 +00:00
Amine Khaldi
5ad38a47d0 [GDIPLUS_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59074
2013-05-23 17:23:10 +00:00
Amine Khaldi
f1d5f64d5f [GDIPLUS]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59073
2013-05-23 17:23:00 +00:00
Amine Khaldi
5d69f70bd6 [WINDOWSCODECS_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59072
2013-05-23 16:40:21 +00:00
Amine Khaldi
f76f7f14bb [WINDOWSCODECS]
* Sync with Wine 1.5.26.
[PSDK]
* Update wincodec.idl.

svn path=/trunk/; revision=59071
2013-05-23 16:39:54 +00:00
Eric Kohl
a4283325e7 [NETAPI32]
- Add stubs for missing NetGroup functions.
- Update header file.

svn path=/trunk/; revision=59070
2013-05-23 15:20:29 +00:00
Eric Kohl
7f698415cf [SAMSRV]
Move some alias-specific code to alias.c, for later use by the setup code.

svn path=/trunk/; revision=59069
2013-05-23 09:42:25 +00:00
Eric Kohl
09bc88e829 [SAMSRV]
Rename internal setup functions in order to avoid naming conflicts.

svn path=/trunk/; revision=59068
2013-05-23 09:07:12 +00:00
Eric Kohl
d9be0574d8 [SAMSRV]
- Remove dead code.
- Use SampReg functions for access th the registry.
- Improve error handling in SampCreateDbObject and SampOpenDbObject functions.

svn path=/trunk/; revision=59067
2013-05-22 17:53:25 +00:00
Eric Kohl
8a56b68510 [SAMSRV]
- Move some helper functions to a separate file.
- Implement SamrRemoveMemberFromForeignDomain.

svn path=/trunk/; revision=59066
2013-05-22 13:56:49 +00:00
Amine Khaldi
d05faf138b [WINHTTP_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59065
2013-05-21 20:07:04 +00:00
Amine Khaldi
f3e41bd1fc [WINHTTP]
* Sync with Wine 1.5.26.
* Update winhttp_ros.diff.
[PSDK]
* Update winhttp.h.

svn path=/trunk/; revision=59064
2013-05-21 20:06:46 +00:00
Amine Khaldi
816b8786c8 [WININET_WINETEST]
* Improve the headers inclusion for urlcache.c.

svn path=/trunk/; revision=59063
2013-05-21 19:56:35 +00:00
Amine Khaldi
57540beb53 [WININET_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59062
2013-05-20 21:42:42 +00:00
Amine Khaldi
7f2d1fc323 [WININET]
* Sync with Wine 1.5.26.
* Update wininet_ros.diff.
[PSDK]
* Update wininet.h and winineti.h.

svn path=/trunk/; revision=59061
2013-05-20 21:42:26 +00:00
Thomas Faber
e73afacf0f [CMAKE]
- Produce a proper error when add_cd_file is used with an unknown folder
- Remove an rbuild-leftover in reactos.dff.in
- Update outdated build tool message in configure

svn path=/trunk/; revision=59058
2013-05-20 18:27:07 +00:00
Amine Khaldi
272029e3dc [APPWIZ]
* Update the German translation. By Robert Naumann.
CORE-7200 #resolve #comment Committed in r59057. Danke !

svn path=/trunk/; revision=59057
2013-05-20 18:25:05 +00:00
Eric Kohl
27ea634379 [WELCOME]
Adding RTL support for welcome.
Patch by Baruch Rutman.

CORE-7123 #resolve #comment Committed in revision 59056.

svn path=/trunk/; revision=59056
2013-05-20 18:10:30 +00:00
Hermès Bélusca-Maïto
f22dffe66a [CMD]
- Simplify CommandColor and document it. Checking whether one sets the same color for both foreground and background is now only checked inside SetScreenColor.
Based on a patch by Victor
CORE-7191 #resolve #comment Committed in rev.59055.

- Fix handling of /T:<color> option when starting cmd.exe
- Remove unneeded error string.

svn path=/trunk/; revision=59055
2013-05-20 17:43:37 +00:00
Sylvain Petreolle
b7693777d9 [CRT]
Import _wcslwr_s from Wine.


svn path=/trunk/; revision=59052
2013-05-20 16:28:43 +00:00
Eric Kohl
83a72b8196 [USRMGR]
Improve GUI interface. Patch by Lee Schreoder.
CORE-7078 #resolve #comment Committed in revision 59051.

svn path=/trunk/; revision=59051
2013-05-20 15:44:43 +00:00
Amine Khaldi
d02375a0e3 [MSHTML_WINETEST]
* Skip some tests that result in timeouts.
ROSTESTS-113 ROSTESTS-114

svn path=/trunk/; revision=59050
2013-05-20 11:17:23 +00:00
Johannes Anderwald
1b78db23f2 [HIDCLASS]
- Fix double irp completion bug in hidclass
- Hidclass now properly initializes and works in WinServer2003
- Tested excessively by Vic (Blame him ;))

svn path=/trunk/; revision=59049
2013-05-19 21:33:08 +00:00
Amine Khaldi
d0b02e62c0 [MSHTML_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59048
2013-05-19 21:22:21 +00:00
Amine Khaldi
aac49827b9 [MSHTML]
* Sync with Wine 1.5.26 and update Wine gecko package to 1.9.
[PSDK]
* Update mshtmdid.h and mshtml.idl.
[APPWIZ]
* Import the new way of handling Wine gecko package.
[BOOTDATA/PACKAGES]
* Account for the new Wine gecko package slipstreaming.

svn path=/trunk/; revision=59047
2013-05-19 21:21:20 +00:00
Amine Khaldi
8b7ebff253 [SYSSETUP]
* Register vbscript.dll.

svn path=/trunk/; revision=59046
2013-05-19 21:10:55 +00:00
Johannes Anderwald
5bb6bde9e2 [HIDCLASS]
- Remove assert

svn path=/trunk/; revision=59045
2013-05-19 19:05:38 +00:00
Johannes Anderwald
649ac591bb [MOUHID]
- Cleanup code 
- Fix distinguation between relative and absolute mice
- Tested by Timo (Blame him ;))

svn path=/trunk/; revision=59044
2013-05-19 17:29:15 +00:00
Amine Khaldi
deed915ead [PSDK]
* Update shdeprecated.idl.

svn path=/trunk/; revision=59043
2013-05-19 14:38:17 +00:00
Amine Khaldi
918b380a96 [UUID]
* Add CATID_SafeForInitializing and SID_VariantConversion.

svn path=/trunk/; revision=59042
2013-05-19 14:30:10 +00:00
Amine Khaldi
b4edec9989 [DXSDK]
* We no longer need amvideo.h.
* Update amvideo.idl.

svn path=/trunk/; revision=59041
2013-05-19 13:52:15 +00:00
Amine Khaldi
2841da1b46 [CMAKE]
* Add some missing order only dependencies.

svn path=/trunk/; revision=59040
2013-05-19 13:43:47 +00:00
Johannes Anderwald
b07d7ec92a [USB]
- Fix race condition for status change worker routine
CORE-7193 #resolve
- Tested by Thomas Faber (Blame him ;)

svn path=/trunk/; revision=59039
2013-05-18 20:16:50 +00:00
Eric Kohl
bbf97892df [RPCRT4]
Fix a bug that corrupted in-parameters when a remote function is called. If the in-parameter is an array of UNICODE_STRINGS, the bug terminates all strings at the length of the first string. For example, when LsaLookupNames is called in order to retrieve the SIDs of the "Guest" and "Administrator" users, the remote function received the strings "Guest" and "Admin".

The patch will be sent to the WINE project after a similar bug for out-parameters has been fixed too.

svn path=/trunk/; revision=59038
2013-05-18 19:19:27 +00:00
Amine Khaldi
6a814d763b [MSPAINT]
* Plug a handle leak. Fixed by Andre Guibert de Bruet.
CORE-7190 #resolve #comment Committed in r59036. Thanks !

svn path=/trunk/; revision=59036
2013-05-18 14:48:51 +00:00
Amine Khaldi
595488f92e [IERNONCE]
* Add to trunk, with a stubbed RunonceEx. Brought to you by Robert Naumann.
CORE-7194 #resolve #comment Committed in r59035. Cheers ;)

svn path=/trunk/; revision=59035
2013-05-18 14:41:18 +00:00
Amine Khaldi
dc4440b1fa [MSIEXEC]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59034
2013-05-18 13:53:18 +00:00
Amine Khaldi
29ce80cc72 [SYSSETUP]
* Register stdole2.tlb, stdole32.tlb and mshtml.tlb.
[BOOTDATA]
* Don't hardcode the typelib registration of stdole2.tlb and stdole32.tlb anymore.

svn path=/trunk/; revision=59030
2013-05-17 21:50:23 +00:00
Eric Kohl
9e2d4bb07a [SYSSETUP]
Revert revisions 59021 and 59020.

svn path=/trunk/; revision=59029
2013-05-17 21:44:27 +00:00
Amine Khaldi
ce296e920c [SYSSETUP]
* Add a way to register typelibs using the TypeLibraries section in syssetup.inf. Brought to you by Giannis Adamopoulos.

svn path=/trunk/; revision=59028
2013-05-17 21:40:46 +00:00
Amine Khaldi
5d953ac4b4 [MSHTML.TLB]
* Add the missing registration data.

svn path=/trunk/; revision=59027
2013-05-17 21:38:56 +00:00
Eric Kohl
6b01e30c53 [FASTFAT]
Reverted revisions 59023, 59022 and 58976.

svn path=/trunk/; revision=59026
2013-05-17 17:52:43 +00:00
Daniel Reimer
4af4bf4959 German Translation: shutdown, hostname, regedit, winhlp, cmd, explorer_new + some optimizations by zehnvor.
+ Added German resource for hostname to build process.

General overhaul of shutdown application to make texts fit better than before. Whoever thought CTEXT is a good idea... NO it's not. Changed to LTEXT as used at almost all other apps we have. This makes text ordering way simpler.

CORE-7148 #resolve #comment Resolved in revision 59025. Thanks for your help :D

svn path=/trunk/; revision=59025
2013-05-17 12:18:48 +00:00
Amine Khaldi
9ffdd562a1 [BROWSEUI]
* Fix ITravelLogClient::GetWindowData() definition (parameters) and correct its use.
* Account for tlogstg.h where the ITravelLogClient interface is now defined.
[PSDK]
* Import tlogstg.idl from Wine 1.5.26.
* Remove the now duplicated definitions from shobjidl.idl.
[UUID]
* Add tlogstg.idl.

svn path=/trunk/; revision=59024
2013-05-17 11:19:48 +00:00
Eric Kohl
1bb724b8c5 [FASTFAT]
Implement a special case for existing files which are opened using the FILE_OVERWRITE or FILE_OVERWRITE_IF file disposition: New file attributes must be ORed with the existing file attributes.

svn path=/trunk/; revision=59023
2013-05-16 23:41:43 +00:00
Eric Kohl
a6b8f0a353 [FASTFAT]
Allow only readonly, hidden, system and archive files attributes to be set for existing files. Other file attributes must be ignored.
This fixes several tests.

svn path=/trunk/; revision=59022
2013-05-16 21:21:46 +00:00
Eric Kohl
90810f42a4 [SYSSETUP]
Enable the restore privilege before the call to NtUnloadKey. Disable it immediately after the call to NtUnloadKey.

svn path=/trunk/; revision=59021
2013-05-15 22:01:07 +00:00
Eric Kohl
32504caff2 [SYSSETUP]
- Move set privilege code into a separate function.
- Set the restore privilege to make NtUnloadKey work properly.

svn path=/trunk/; revision=59020
2013-05-15 21:26:07 +00:00
Amine Khaldi
a875a3dbd5 [SHELL32]
* Process CPL_STARTWPARMSW and then CPL_DBLCLK when starting control panel applets.

svn path=/trunk/; revision=59019
2013-05-15 17:42:01 +00:00
Amine Khaldi
0af75befc5 [VBSCRIPT_WINETEST]
* Import from Wine 1.5.26.

svn path=/trunk/; revision=59018
2013-05-15 17:33:58 +00:00
Amine Khaldi
ae89b1ca95 [VBSCRIPT]
* Import from Wine 1.5.26.

svn path=/trunk/; revision=59017
2013-05-15 17:33:01 +00:00
Amine Khaldi
5e4681d91e [PSDK]
* Add some missing definitions in activscp.idl.

svn path=/trunk/; revision=59016
2013-05-15 17:28:21 +00:00
Sylvain Petreolle
85a5ed077a [RUNDLL32]
Rundll32 always returns 0.
Mike McCormack (mike at codeweavers dot com)

svn path=/trunk/; revision=59015
2013-05-15 12:41:25 +00:00
Eric Kohl
48107c0124 [MSV1_0]
AppendRidToSid: Copy the whole source SID into the destination SID.

svn path=/trunk/; revision=59014
2013-05-13 13:47:33 +00:00
Eric Kohl
ebe3a779b1 [LSASRV]
- LsapCheckLogonProcess: Open client process using the PROCESS_DUP_HANDLE access right because we need to duplicate the logon token back into the clients handle table.

svn path=/trunk/; revision=59013
2013-05-13 13:05:16 +00:00
Thomas Faber
5bd23c2e51 [HIDUSB]
- Unconfigure device, and don't leak memory

... okay, enough HID for now.

svn path=/trunk/; revision=59012
2013-05-12 19:03:02 +00:00
Thomas Faber
2f252b01ea [HID]
- Hidclass must delete the FDO, not the minidriver.

svn path=/trunk/; revision=59011
2013-05-12 18:51:11 +00:00
Thomas Faber
ab06a44464 [HIDUSB]
- Plug a memory leak in HidUsb_GetReportDescriptor
- Do not try to free in the middle of a pool block on IRP_MN_STOP_DEVICE
- Implement HidPower
- Do not access an IRP after completing it in HidCreate
- Do not waste a stack location in HidSystemControl

svn path=/trunk/; revision=59010
2013-05-12 18:24:12 +00:00
Thomas Faber
a5852729fa [HIDUSB]
- Use pool tagging

svn path=/trunk/; revision=59009
2013-05-12 17:59:14 +00:00
Thomas Faber
6c4c227878 [HIDCLASS]
- Get rid of HidClass_GetSystemAddress
- More minor fixes

svn path=/trunk/; revision=59008
2013-05-12 17:16:41 +00:00
Thomas Faber
ba151570a1 [HIDUSB]
- Remove unnecessary casts

svn path=/trunk/; revision=59007
2013-05-12 17:03:24 +00:00
Thomas Faber
1e777a48a7 [HIDUSB]
- The usual... fix some whitespace

svn path=/trunk/; revision=59006
2013-05-12 16:59:26 +00:00
Thomas Faber
9c5af92297 [HIDCLASS]
- Use pool tagging

svn path=/trunk/; revision=59005
2013-05-12 15:44:58 +00:00
Thomas Faber
bac0a3658f [HIDCLASS]
- Remove unnecessary casts
- Fix DllInitialize/DllUnload prototype

svn path=/trunk/; revision=59004
2013-05-12 15:31:01 +00:00
Thomas Faber
df2001250f [HIDCLASS]
- Fix some whitespace

svn path=/trunk/; revision=59003
2013-05-12 15:23:34 +00:00
Eric Kohl
e0936866ae [WINLOGON]
Wait for the LSA server to complete its initialization before initializing the GINA dll. This change is required because future changes to MSGINAs logon code will require access to the LSA.

svn path=/trunk/; revision=59002
2013-05-12 13:24:37 +00:00
Hermès Bélusca-Maïto
c3c6b6199f [CONSRV]
- Use new helpers ConsoleAllocHeap and ConsoleFreeHeap instead of RtlAllocateHeap and RtlFreeHeap, to be able to use also debug heaps etc...
- Initialize completely CONSOLE and CONSOLE_SCREEN_BUFFER structures to avoid using unitializing fields, that can be prone to bugs.
- Do not unnecessarily lock the per-process IO handles table.
- Validate the console pointers when calling SrvCloseHandle / SrvVerifyConsoleIoHandle / SrvDuplicateHandle (so that we are sure to do valid operations for console applications, and fail properly for GUI ones).

- Fix a bug caught by [TheFlash] which unveiled only on livecds (why??) as random CSR heap corruptions. It was caused by corrupting the heap by freeing invalid IO handles when freeing the handles table inherited by default when starting a console application. I reworked the initialization code a bit and the freeing code to fix this problem.
  This bug was diagnosed with the help of Thomas Faber's debug heap (see http://www.reactos.org/wiki/User:ThFabba/Debug_Heap ), that I've augmented a bit (with dumping functions when a heap block was found invalid).

- Now reenable the CSR heap usage.

CORE-7157 #resolve #comment Resolved in revision 59001. Thanks for your help :D

svn path=/trunk/; revision=59001
2013-05-12 00:20:15 +00:00
James Tabor
b256611e05 [Win32k]
- Thread ID to Thread Information.

svn path=/trunk/; revision=59000
2013-05-11 19:33:40 +00:00
James Tabor
6ca4c20d1b [Win32k]
- Cleanup and one fix.

svn path=/trunk/; revision=58999
2013-05-11 19:26:18 +00:00
Thomas Faber
647ff6e058 [KBDHID][MOUHID]
- Free the correct usage list buffer

svn path=/trunk/; revision=58998
2013-05-11 17:15:54 +00:00
Thomas Faber
a4659f29fb [HIDPARSER]
- Don't use a platform-dependent free function aka fix build

svn path=/trunk/; revision=58997
2013-05-11 15:51:37 +00:00
Thomas Faber
d070a9875a [HIDPARSE]
- Use pool tagging
- Avoid a cast

svn path=/trunk/; revision=58996
2013-05-11 15:41:22 +00:00
Thomas Faber
22eb29b7fb [HIDPARSE]
- Fix some whitespace

svn path=/trunk/; revision=58995
2013-05-11 15:39:50 +00:00
Thomas Faber
88b692d160 [KBDHID][MOUHID]
- Use pool tagging
- Remove unnecessary casts

svn path=/trunk/; revision=58994
2013-05-11 12:30:52 +00:00
Thomas Faber
aec2159f30 [KBDHID][MOUHID]
- Free device resources

svn path=/trunk/; revision=58993
2013-05-11 12:17:36 +00:00
Thomas Faber
22de130758 [KBDHID][MOUHID]
- Properly stub DispatchPower
- Implement DispatchSystemControl

svn path=/trunk/; revision=58992
2013-05-11 12:08:46 +00:00
Amine Khaldi
309a347ed1 [FS_REC]
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58991
2013-05-11 11:13:23 +00:00
Amine Khaldi
0e4da5b660 [FASTFAT]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58990
2013-05-11 11:03:12 +00:00
Thomas Faber
2775dd14a4 [KBDHID][MOUHID]
- Use switch instead of nested ifs
- Remove some unnecessary casts
- Fix some spacing issues

svn path=/trunk/; revision=58989
2013-05-11 10:23:54 +00:00
Amine Khaldi
8ba55e9b6f [CDFS]
* Fix the mismatch between sizeof and countof quantities in CdfsMakeFCBFromDirEntry.
* Properly account for '\\' and '\0'.
* Fix one more debug print specifier.

svn path=/trunk/; revision=58988
2013-05-11 09:52:37 +00:00
Amine Khaldi
1e4828d3f8 [CDFS]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58987
2013-05-11 09:24:31 +00:00
James Tabor
016d53260e [Win32k]
- ATI fixup CORE-6551.
- Giannis Adamopoulos fragment patch 18.

svn path=/trunk/; revision=58986
2013-05-10 22:28:18 +00:00
Timo Kreuzer
7647f53075 [SCSIPORT]
Fix a bug in size calculation that causes memory corruption on 64 bit
Fix some MSVC/x64 warnings

[UNIATA]
Fix some MSVC/x64 warnings

svn path=/trunk/; revision=58985
2013-05-10 19:46:50 +00:00
Timo Kreuzer
b70c15e6b4 [FREELDR]
Fix stack corruption.

svn path=/trunk/; revision=58984
2013-05-10 17:49:48 +00:00
Amine Khaldi
4353334b66 [PCMCIA]
* Add some function annotations.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58983
2013-05-10 10:30:21 +00:00
Amine Khaldi
bc3d063fc1 [PCIX]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58982
2013-05-10 10:22:01 +00:00
Amine Khaldi
39649f0dd6 [PCI]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58981
2013-05-09 21:24:16 +00:00
Amine Khaldi
bd9b579007 [KERNEL32]
* Avoid ini cache if file does not exist anymore. By Bruno Jesus.

svn path=/trunk/; revision=58980
2013-05-09 21:04:49 +00:00
Amine Khaldi
382d0c0257 [KERNEL32]
* Remove some unused variables. By Andrew Talbot.

svn path=/trunk/; revision=58979
2013-05-09 21:01:41 +00:00
Amine Khaldi
00a1eae887 [CRT]
* Fix some copy pasta (incorrect checks) in the locale code. By Samuel Serapion.
CORE-7176 #resolve

svn path=/trunk/; revision=58978
2013-05-09 20:46:54 +00:00
Amine Khaldi
1b4861392f [USER32]
* Fix some signed/unsigned mismatches. Brought to you by Victor Martinez.
CORE-7150 #resolve

svn path=/trunk/; revision=58977
2013-05-09 20:09:31 +00:00
Eric Kohl
bce782c971 [FASTFAT]
Allow only readonly, hidden, system and archive files attributes to be set for a new file. Other file attributes must be ignored.
This fixes several tests.

svn path=/trunk/; revision=58976
2013-05-09 15:03:51 +00:00
Amine Khaldi
4d9bf5c80a [ISAPNP]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58975
2013-05-09 14:06:21 +00:00
Hermès Bélusca-Maïto
91ef640fe5 Merge my current work done on the kd++ branch:
- FreeLdr is able now to load personalized Kernel Debugger Transport DLLs by reading at the kernel command line and interpreting the /DEBUGPORT=xxx entry (--> loads KDxxx.DLL dll in \SystemRoot\System32\).
  Therefore we can not only load the "default" kdcom.dll, but also 3rd-party ones such as kdbazis.dll from VirtualKD (from revision 58902).
- The GCC-compiled-only version of kdcom, containing legacy COM code, was removed and put directly along KDBG. It remains only a stub / template for future kdcom-like dlls. The MSVC-version remains untouched.
- Make those functions ^ use directly the CPORTLIB library.

svn path=/trunk/; revision=58974
2013-05-09 13:12:58 +00:00
Hermès Bélusca-Maïto
e2b54f3271 [NTOS]
Remove the kdbg-specific tags from the tag header and put them into the kdbg-specific header.

svn path=/branches/kd++/; revision=58973
2013-05-09 12:55:39 +00:00
Hermès Bélusca-Maïto
7712bdbae9 Sunc with trunk revision 58971.
svn path=/branches/kd++/; revision=58972
2013-05-09 12:36:15 +00:00
Hermès Bélusca-Maïto
1398bd62c8 [FREELDR]
- Fix dprints (be careful when "Status" variables are booleans).
- Don't fail when trying to load an non-existent KD transport dll.

svn path=/branches/kd++/; revision=58971
2013-05-08 17:52:16 +00:00
Hermès Bélusca-Maïto
0811c4fabe [KDROSDBG-NTOS]
Put the 3 helper COM functions into KDBG directly.

svn path=/branches/kd++/; revision=58970
2013-05-08 15:36:38 +00:00
Amine Khaldi
a1f6ab4391 [AFD]
* Mark SelectTimeout as a KDEFERRED_ROUTINE and fix its calling convention. This fixes a potential stack corruption.
* Brought to you by Nikolay Borisov and the MSVC static analyzer ;)
CORE-7171 #resolve

svn path=/trunk/; revision=58969
2013-05-08 12:12:15 +00:00
Amine Khaldi
689682751e [BEEP]
* Properly mark some unreferenced parameters as such.
[AFD]
* Properly fix a debug print specifier.

svn path=/trunk/; revision=58968
2013-05-08 11:55:37 +00:00
Amine Khaldi
8901f8a911 [AFD]
* Fix more debug print specifiers.

svn path=/trunk/; revision=58967
2013-05-08 11:33:13 +00:00
Amine Khaldi
90cb6ce333 [AFD]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.
* This fixes several warnings emitted by the MSVC static analyzer.
* Brought to you by Nikolay Borisov, with minor consistency styling changes by me.
CORE-7171

svn path=/trunk/; revision=58966
2013-05-08 10:55:46 +00:00
Amine Khaldi
018f811091 [XDK/DDK]
* The event parameter in IoBuildDeviceIoControlRequest is optional. Spotted by Nikolay Borisov.
CORE-7172 #resolve

svn path=/trunk/; revision=58965
2013-05-08 10:26:24 +00:00
Hermès Bélusca-Maïto
cbdc727f61 [KDROSDBG]
In fact, the kdcom used for KDBG (in GCC builds) is really a thin layer atop of CPORTLIB.
Remove extra code (remove also the KD_PORT_INFORMATION type) and replace it with calls to CPORTLIB functions.
Next step is to put all that thing into KDBG directly, as helper functions. Then, if one wants to make a really kdcom (as we have for MSVC builds), one has to refactor all KDBG.

svn path=/branches/kd++/; revision=58964
2013-05-07 00:14:36 +00:00
Eric Kohl
c1d4f2f390 [MSGINA]
Convert tabs to spaces. No code changes!

svn path=/trunk/; revision=58963
2013-05-06 21:43:03 +00:00
Pierre Schweitzer
bfe3492dc4 [KMTESTS:FSRTL]
Add comments

svn path=/trunk/; revision=58962
2013-05-06 11:24:55 +00:00
Pierre Schweitzer
c97cdd5dd9 [KMTESTS:FSRTL]
Add more tests for MCBs

svn path=/trunk/; revision=58961
2013-05-06 08:10:53 +00:00
Pierre Schweitzer
567881b593 [RTL]
Finally reenable RtlAcquirePrivilege and RtlReleasePrivilege now that they are fixed.

[KERNEL32]
Remove the hacks in SetSystemTime() and SetLocalTime() now that RtlAcquirePrivilege is working properly.

[SYSSETUP]
Remove the hack for privileges in SetSystemLocalTime() now that SetLocalTime() can properly acquire needed privilege.

CORE-7168 #comment Fixed with r58960 #resolve

svn path=/trunk/; revision=58960
2013-05-05 22:31:17 +00:00
Pierre Schweitzer
be5914df2f [RTL]
When we are impersonating, also set the flag, so that on release, we can kill it.
This hopefully fixes 2nd stage and the whole mess it was causing in privileges.

svn path=/trunk/; revision=58959
2013-05-05 22:19:54 +00:00
Hermès Bélusca-Maïto
a23361e756 [KDROSDBG]
Place the (unimplemented) real KD functions into a dedicated file and isolate ReactOS-specific port functions. They can go into a libary along KDBG !

svn path=/branches/kd++/; revision=58958
2013-05-05 21:57:42 +00:00
Hermès Bélusca-Maïto
dff2ca4ea0 [KDROSDBG]
Comment that part too, because it was in KdPortInitialize and here, it reported an invalid port. KdPortInUse is initialized by KDBG.

svn path=/branches/kd++/; revision=58957
2013-05-05 21:23:20 +00:00
Hermès Bélusca-Maïto
2a95385332 [KDROSDBG]
One can safely remove these forward declarations.

svn path=/branches/kd++/; revision=58956
2013-05-05 20:19:55 +00:00
Pierre Schweitzer
a330845fa1 [RTL]
Properly define the loop for privileges adjustement.
Spotted & fixed by Thomas.

svn path=/trunk/; revision=58955
2013-05-05 20:19:23 +00:00
Hermès Bélusca-Maïto
9d539e733e Legacy code from KdPortInitialize, which was put in KdPortInitializeEx, is deactivated because it was unusued (the actual code doesn't call KdPortInitialize).
svn path=/branches/kd++/; revision=58954
2013-05-05 20:05:50 +00:00
Pierre Schweitzer
648e8504fc [KERNEL32]
Also "fix" hack of RtlAcquirePrivilege in SetSystemTime(). Spotted by Thomas.

Note for syssetup/rtl/kernel32 devs:
Make it crystal clear that this is a hack and has to be deleted once RAP is fine.
Also note that for SetLocalTime() and 2nd stage, syssetup acquires the privilege itself
in SetSystemLocalTime() before calling SetLocalTime().
This will also have to be deleted once RAP is working fine. Otherwise it will keep failing:
it is not possible to acquire a privilege already held.

svn path=/trunk/; revision=58953
2013-05-05 20:01:14 +00:00
Hermès Bélusca-Maïto
4908927d8f Further remove legacy, now only 3 functions remain.
svn path=/branches/kd++/; revision=58952
2013-05-05 19:55:42 +00:00
Hermès Bélusca-Maïto
dc9e82b3b4 I said "remove" !!
svn path=/branches/kd++/; revision=58951
2013-05-05 19:38:12 +00:00
Hermès Bélusca-Maïto
d34fd5880d [KDROSDBG]
Remove further legacy exports (the aim is to obtain at least the same exports as kdcom).

svn path=/branches/kd++/; revision=58950
2013-05-05 19:36:05 +00:00
Pierre Schweitzer
9818ea06e5 [RTL]
Don't allocate an extra privilege entry when not required.
Still doesn't fix issue.

svn path=/trunk/; revision=58949
2013-05-05 19:24:25 +00:00
Hermès Bélusca-Maïto
f5e22351fb [KDROSDBG]
Remove some unneeded legacy.

svn path=/branches/kd++/; revision=58948
2013-05-05 19:21:03 +00:00
Hermès Bélusca-Maïto
a312f665c7 Small files renaming.
svn path=/branches/kd++/; revision=58947
2013-05-05 18:25:57 +00:00
Pierre Schweitzer
f96e0193f4 [RTL]
Add a few DPRINTs.
Fix a bug where last status was overrided in case of failure.
Still commented out...

svn path=/trunk/; revision=58946
2013-05-05 17:32:00 +00:00
Pierre Schweitzer
3c4b46ea62 [KERNEL32]
If you workaround RtlAcquirePrivilege, do it properly!
Will prevent bad address freeing...

svn path=/trunk/; revision=58945
2013-05-05 16:38:41 +00:00
Thomas Faber
5d4c6981e0 [HIDCLASS]
- Don't return inconsistent status values from HidClass_DeviceControl

svn path=/trunk/; revision=58944
2013-05-05 15:04:49 +00:00
Johannes Anderwald
bf9fa8056b [HID]
- Fix bug in irp completion handler
CORE-7069 

svn path=/trunk/; revision=58943
2013-05-05 14:51:27 +00:00
Johannes Anderwald
ed2e1fdfc9 [LIBUSB]
- Remove useless debug prints, which violate the spec
- Fix identation
CORE-7009 

svn path=/trunk/; revision=58942
2013-05-05 14:43:39 +00:00
Sylvain Petreolle
c6f4a6973a [FUSION]
Remove baseaddress to fix address conflicts.
Reenable creation of InstallRoot .NET key in its REG_SZ form.


svn path=/trunk/; revision=58941
2013-05-05 13:09:46 +00:00
Thomas Faber
5cd67c3c36 [KMTESTS:MM]
- Fix 64-bit warnings. Patch by Nikolay Borisov.
ROSTESTS-112 #resolve

svn path=/trunk/; revision=58940
2013-05-05 12:18:49 +00:00
Hermès Bélusca-Maïto
2cc6ced701 [CDMAKE]
Reset the "volume expiration date" and the "volume effective date". They are not used.
See http://wiki.osdev.org/ISO_9660#The_Primary_Volume_Descriptor for more information.

svn path=/trunk/; revision=58939
2013-05-05 10:18:52 +00:00
Pierre Schweitzer
d41a8557a3 [RTL]
Comment out RtlAcquirePrivilege & RtlReleasePrivilege for the moment.
It appears we are overflowing memory and thus corrupting registry, that breaks ReactOS install.
To be investigated...

svn path=/trunk/; revision=58938
2013-05-05 09:55:32 +00:00
Pierre Schweitzer
d4c38c2fe4 [RTL]
Implement RtlAcquirePrivilege and RtlReleasePrivilege.
Reviewed by Aleksey

svn path=/trunk/; revision=58937
2013-05-05 09:30:12 +00:00
Timo Kreuzer
6743a1174e {RTL]
- Implement RtlFillMemoryUlonglong
- Add missing bitmap64.c
- Fix 64bit bitmap code

svn path=/trunk/; revision=58936
2013-05-05 09:02:36 +00:00
Eric Kohl
e979b5ce8a [MSV1_0]
Add token data from the old logon code.

svn path=/trunk/; revision=58934
2013-05-05 00:53:25 +00:00
Eric Kohl
7934e35cdf [LSASRV]
Free additional data returned by calls to LsaApLogonUser/Ex/2.

svn path=/trunk/; revision=58933
2013-05-05 00:39:58 +00:00
Hermès Bélusca-Maïto
b914d7bd8e [CDMAKE]
ISO images generated by cdmake have invalid time and date.
Patch by Aleksandar Andrejevic, aka. [TheFlash]

CORE-7163 #resolve #comment Committed in revision r58932, thanks for the patch ;)

svn path=/trunk/; revision=58932
2013-05-04 22:15:26 +00:00
Hermès Bélusca-Maïto
819b46d5a8 [CONSRV]
Add heap diagnostic flags for the ConSrvHeap.

svn path=/trunk/; revision=58931
2013-05-04 21:03:27 +00:00
Amine Khaldi
800947d692 [PSDK]
* Add NT_CONSOLE_PROPS and NT_FE_CONSOLE_PROPS and fix EXP_SZ_LINK.
* Add SHELL_LINK_INFO_* and some Shell Link Extra Data structures (for IShellLinkDataList).
[USERINIT][CPLS][DLLS]
* Add the now necessary wincon.h inclusion.
* Brought to you by Dominik Hornung.
CORE-7162 #resolve #comment Committed in r58930. Danke !

svn path=/trunk/; revision=58930
2013-05-04 20:43:16 +00:00
Amine Khaldi
148e43e691 [CRT]
* Annotate sys/utime.h.

svn path=/trunk/; revision=58929
2013-05-04 20:42:43 +00:00
Amine Khaldi
074fd31218 [FUSION_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58928
2013-05-04 20:21:53 +00:00
Amine Khaldi
5ffb258f8a [FUSION]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58927
2013-05-04 20:21:39 +00:00
Hermès Bélusca-Maïto
554df0ecbf [CONSRV]
Hack: To try to uncover a heap corruption in CONSRV, use our own heap instead of the (default) CSR heap, so that we won't corrupt it and obtain strange bugs thrown by memory allocation in csrsrv.
Thanks to Aleksandar Andrejevic, aka. [TheFlash] for having seen that.
See CORE-7157 for more information.

svn path=/trunk/; revision=58926
2013-05-04 19:28:36 +00:00
Hermès Bélusca-Maïto
9c6d52c545 [CONSRV]
Be sure to use our local heap instead of the current application heap, to store the console title.
To simplify the code, I introduced helper functions based on well-known Rtl functions.

svn path=/trunk/; revision=58925
2013-05-04 15:31:19 +00:00
Jérôme Gardou
3b0611bcc9 [NTDLL_APITEST]
* Add tests for NtProtectVirtualMemory

svn path=/trunk/; revision=58924
2013-05-04 15:26:48 +00:00
Hermès Bélusca-Maïto
be14e6b7ce Code formatting only
svn path=/trunk/; revision=58923
2013-05-04 14:29:51 +00:00
Hermès Bélusca-Maïto
2e660923f1 [CSRSRV]
- Code simplification.
- Remove unneeded casts.
- Fix comments.

svn path=/trunk/; revision=58922
2013-05-04 14:27:09 +00:00
Olaf Siejka
51bd04ab2a [TRANSLATION]
- turkish translation update by Erdem Ersoy: CORE-7133;
- czech translation update by Radek Liska: CORE-6953;
- added polish translation of hostname;

svn path=/trunk/; revision=58921
2013-05-04 14:18:45 +00:00
Hermès Bélusca-Maïto
857fc1d093 Code reorganization only.
svn path=/trunk/; revision=58920
2013-05-04 14:04:35 +00:00
Pierre Schweitzer
2f8130c228 [KERNEL32]
Parameters of RtlAcquirePrivilege are not booleans

svn path=/trunk/; revision=58919
2013-05-04 09:23:52 +00:00
Thomas Faber
c15b763fbc [ATL]
- Simplify CComObject code. Fix warnings. Patch by Katayama Hirofumi MZ.
CORE-7105 #resolve

svn path=/trunk/; revision=58918
2013-05-04 08:39:05 +00:00
Thomas Faber
66675db02b [WININET_WINETEST]
- Hackfix hanging test. There's no benefit in having testbot take longer.
ROSTESTS-73 #comment Temporary timeout added in r58917 to prevent hanging.

svn path=/trunk/; revision=58917
2013-05-04 08:10:58 +00:00
Pierre Schweitzer
ec1a8a5a63 [NTOSKRNL]
Prevent potential double free in loop.
Fixes CID 732510

svn path=/trunk/; revision=58916
2013-05-03 19:31:03 +00:00
Jérôme Gardou
703a1db75e [PSDK]
* Add complete definition of KEY_INFORMATION_CLASS
[DDK]
 * Add KEY_NAME_INFORMATION structure declaration

svn path=/trunk/; revision=58915
2013-05-03 18:28:34 +00:00
Jérôme Gardou
3d8186b866 [ADVAPI32]
- SEH-ize access to the data buffer in RegSetValueExW.
Fixes winetest crash

svn path=/trunk/; revision=58914
2013-05-03 16:44:31 +00:00
Amine Khaldi
816d5dc335 [WIN32SS]
* Plug a leak in IntGdiAddFontResource(). Original fix by Katayama Hirofumi MZ with one more instance covered by Timo Kreuzer.
* Return 0 instead of status in the file mapping failure path. By Timo Kreuzer.

svn path=/trunk/; revision=58913
2013-05-03 09:57:19 +00:00
Amine Khaldi
f93d55e8a9 [CRT]
* Annotate tchar.h.

svn path=/trunk/; revision=58912
2013-05-02 17:09:34 +00:00
Amine Khaldi
b3a3a9d7ac [CRT]
* Annotate memory.h.

svn path=/trunk/; revision=58911
2013-05-02 14:21:18 +00:00
Pierre Schweitzer
d955789246 [NTOSKRNL]
This is C, use VOID
Spotted by Thomas Faber

svn path=/trunk/; revision=58910
2013-05-02 08:04:12 +00:00
Hermès Bélusca-Maïto
5e4bad7a5d [FREELDR]
Revert an unneeded modification.

svn path=/branches/kd++/; revision=58909
2013-05-01 22:36:42 +00:00
Eric Kohl
96970e7413 [NET]
Clean-up the new functions.
This should have been done by the author of the patch!

svn path=/trunk/; revision=58908
2013-05-01 21:54:40 +00:00
Eric Kohl
9aff77470a [LSASRV]
Implement logon token creation code.

svn path=/trunk/; revision=58907
2013-05-01 21:29:49 +00:00
Pierre Schweitzer
44099efad5 [NTOSKRNL]
Implement post stack overflow functions (i.e. FsRtlPostStackOverflow() and FsRtlPostPagingFileStackOverflow())


svn path=/trunk/; revision=58906
2013-05-01 20:53:15 +00:00
Hermès Bélusca-Maïto
719bfaafbc Code formatting only.
svn path=/branches/kd++/; revision=58905
2013-05-01 19:02:10 +00:00
Hermès Bélusca-Maïto
c02973e346 [DRIVERS]
The *REAL* kdcom is renamed... kdcom.

svn path=/branches/kd++/; revision=58904
2013-05-01 17:45:53 +00:00
Hermès Bélusca-Maïto
67850ad4f5 [DRIVERS]
- Move GCC-named kdcom to kdrosdbg.
- Remove an unneeded export file.

svn path=/branches/kd++/; revision=58903
2013-05-01 17:43:11 +00:00
Hermès Bélusca-Maïto
a57fa92c2f [FREELDR]
- Fix some function parameter types, so to avoid unuseful casts (from pointers to const strings to pointers to strings in particular).
- The big thing: make FreeLdr load personalized Kernel Debugger Transport DLLs by reading at the kernel command line and interpreting the /DEBUGPORT=xxx entry (--> loads KDxxx.DLL dll in \SystemRoot\System32\).
  So now, we can not only load the "default" kdcom.dll, but also 3rd-party ones such as kdbazis.dll from VirtualKD.
  Read http://www.nynaeve.net/?p=173 for a trick I used :
  "[...] Another enhancement that could be done Microsoft-side would be a better interface for replacing KD transport modules. Right now, due to the fact that ntoskrnl is static linked to KDCOM.DLL, the OS loader has a hardcoded hack that interprets the KD type in the OS loader options, loads one of the (hardcoded filenames) "kdcom.dll", "kd1394.dll", or "kdusb2.dll" modules, and inserts them into the loaded module list under the name "kdcom.dll". [...]".

svn path=/branches/kd++/; revision=58902
2013-05-01 17:12:56 +00:00
Amine Khaldi
279b9507fd [IEFRAME]
* Fix the Home button label. Brought to you by Andre Guibert de Bruet.
CORE-7144 #resolve #comment Thanks !

svn path=/trunk/; revision=58901
2013-05-01 16:00:36 +00:00
Eric Kohl
c4682b16cb [INCLUDE]
Add missing LSA_TOKEN_INFORMATION_NULL and LSA_TOKEN_INFORMATION_V1 types.

svn path=/trunk/; revision=58900
2013-05-01 13:44:24 +00:00
Pierre Schweitzer
1f1a1a9323 [NTOSKRNL]
Make post stack overflow functions use the same (unimplemented) helper function

svn path=/trunk/; revision=58899
2013-05-01 10:54:02 +00:00
Amine Khaldi
7ca3c9d2a7 [NET]
* Fix MSVC build.

svn path=/trunk/; revision=58898
2013-05-01 10:00:06 +00:00
Pierre Schweitzer
85c6b0f6b9 [NTOSKRNL]
Patch by Aleksey Bragin (he's not aware yet!):
Also implement FsRtlIs*InExpression prologue in FsRtlIsDbcsInExpression (adapted from Aleksey's work on FsRtlIsNameInExpression)
Also added support for Dbcs chars in it

svn path=/trunk/; revision=58897
2013-05-01 09:10:34 +00:00
Cameron Gutman
93ce06d95e [LWIP]
- Call tcp_shutdown() two different times for TX|RX shutdown to avoid the tcp_close() problem entirely
- Forcefully close the socket in LibTCPCloseCallback (not optimal, but good enough)

svn path=/trunk/; revision=58896
2013-04-30 09:33:40 +00:00
Cameron Gutman
a0d79bf7b9 [LWIP]
- Don't define mem_trim() to realloc() because mem_trim() must never move the buffer pointer
- Fix realloc() which was completely broken
- Properly handle a TX|RX shutdown

svn path=/trunk/; revision=58895
2013-04-30 08:16:29 +00:00
Ziliang Guo
82cd964e20 [NET]
Implementation of pause, continue, and help commands for net service application. Patch by theflash.
Core-7131 #resolve

svn path=/trunk/; revision=58894
2013-04-30 02:57:30 +00:00
Hermès Bélusca-Maïto
6cdfa4a25c [HOSTNAME]
Unicodify and add localization support.
Patch by Lee Schroeder, simplified by me.

CORE-7142 #resolve #comment Committed in revision r58893, thanks!

[REGEDIT]
"Neutralize" common resources.

svn path=/trunk/; revision=58893
2013-04-29 23:49:52 +00:00
Jérôme Gardou
ec8ff3a906 [NTOSKRNL/V86VDM]
- Merge the EFLAGS register instead of overwriting it when restoring it from a POPF call.

svn path=/trunk/; revision=58892
2013-04-29 16:17:46 +00:00
Amine Khaldi
bd3b0e8ef4 [LWIP]
* Update to 1.4.1. Brought to you by Samuel Serapion.
CORE-7140

svn path=/trunk/; revision=58891
2013-04-29 12:24:39 +00:00
Aleksey Bragin
463cb69720 [FSRTL]
- Reformat the code for better readability. Sacrifice 80 chars max line width in favor of a readable code (sorry, but when the indentation eats 12 chars, formulas for calculating sizes are hard to fit into less than 70 chars, and they become totally unreadable).

svn path=/trunk/; revision=58890
2013-04-29 10:28:58 +00:00
Aleksey Bragin
9dfddd39d2 [FSRTL]
- Start bringing sanity to FSRTL Large MCB implementation:
 * Get rid of the GET_LIST_HEAD macro and define a proper private struct to access its members. That's much more flexible,and that's how it's usually done in hundreds of other places in the kernel. Otherwise we might just forget about structs and invent macros to access individual virtual fields in a byte array :)
 * Going through the code (first, preliminary pass) and putting helper debug prints, especially when the code does not work as expected.
 * Move variables definitions to the beginning of the function (thus get rid of up to local vars being redifined up to 3x times within a single function).

svn path=/trunk/; revision=58889
2013-04-29 10:10:44 +00:00
Cameron Gutman
c715a8270e [NDIS]
- Queue the miniport worker only after a previous operation has completed

CORE-5734 #resolve #comment Fixed in r58888

svn path=/trunk/; revision=58888
2013-04-29 10:01:39 +00:00
Giannis Adamopoulos
177dae0796 [win32k]
- Initialize SM_CXSCREEN and SM_CYSCREEN metrics in co_IntInitializeDesktopGraphics
- Also move some code from IntCreatePrimarySurface to co_IntInitializeDesktopGraphics

svn path=/trunk/; revision=58887
2013-04-28 20:53:57 +00:00
Hermès Bélusca-Maïto
e1ef078741 Create this branch to work on loading of different Kernel-Debugger DLL providers, and see whether it is possible to move KDBG from ntoskrnl to a new DLL called, say, KDROSDBG.DLL.
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line):

/DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible.
/DEBUGPORT=FOO  --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...)
/DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port.

svn path=/branches/kd++/; revision=58883
2013-04-28 13:26:45 +00:00
Olaf Siejka
1a40619b16 [TRANSLATION]
- turkish translation update by Erdem Ersoy:  CORE-7025,CORE-7032,CORE-7033,CORE-7034,CORE-7071;
- italian translation update by Paolo Devoti: CORE-7122;
- use the same notepad caption title as in Windows 2003 for AHK test compatibility, patch by Edijs Kolesnikovics: CORE-7023;
- added polish translation of samsrv and wlanconf, updated polish translation of rapps, msgina, consrv, console and desk;
- convert msgina to compile resources for a defined language;

svn path=/trunk/; revision=58882
2013-04-28 11:07:07 +00:00
Thomas Faber
da2746c5cb [SHELL32]
- Use SHELL_LINK_HEADER instead of defining a local structure. Patch by Dominik Hornung (dominikhornung at gmx dot de).
CORE-7099

svn path=/trunk/; revision=58881
2013-04-28 09:58:55 +00:00
Thomas Faber
6b3b943c2e [PSDK]
- Add SHELL_LINK_HEADER structure. Update SHELL_LINK_DATA_FLAGS. Patch by Dominik Hornung (dominikhornung at gmx dot de).
CORE-7099

svn path=/trunk/; revision=58880
2013-04-28 09:49:09 +00:00
Thomas Faber
32bc439366 [BROWSEUI]
- Remove weird broken Get/SetWindowLongPtr wrapper functions (by Katayama Hirofumi MZ)
- Fix some casts
- Remove unnecessary ROS_Headers define

svn path=/trunk/; revision=58879
2013-04-28 09:09:57 +00:00
Thomas Faber
f2139d0242 [BROWSEUI:FORMATTING]
- Use spaces instead of tabs

svn path=/trunk/; revision=58878
2013-04-28 08:42:22 +00:00
Thomas Faber
d0ad4929d7 [BROWSEUI:FORMATTING]
- Improve coding style (break long lines, use C++ casts, add comments, ...). Patch by Katayama Hirofumi MZ.
COTE-7121

svn path=/trunk/; revision=58877
2013-04-28 07:49:41 +00:00
Hermès Bélusca-Maïto
ec77a7ee25 [KDCOM]
Add resource files for KDCOM and compile them.

svn path=/trunk/; revision=58876
2013-04-27 21:46:02 +00:00
Sylvain Petreolle
5ace783b87 [MKHIVE]
Set proper parent for registry keys.
Patch by theflash < theflash at sdf dot lonestar dot org >
CORE-7128 #resolve

svn path=/trunk/; revision=58875
2013-04-27 19:33:31 +00:00
Thomas Faber
76a1dccfe2 [KMTESTS:MM]
- Add tests for ZwAllocateVirtualMemory, ZwCreateSection, ZwMapViewOfSection. Patch by Nikolay Borisov (nib9 at aber dot ac dot uk).
- Some tests are currently skipped because they crash or assert on ROS: See ROSTESTS-107, ROSTESTS-108, ROSTESTS-109, ROSTESTS-110.
ROSTESTS-105 #resolve

svn path=/trunk/; revision=58874
2013-04-27 18:33:50 +00:00
Thomas Faber
4c309ccd7f [KMTESTS]
- Implement a mechanism for kmtests to retrieve information from user-mode. Patch by Nikolay Borisov (nib9 at aber dot ac dot uk).
- Currently supported function: QueryVirtualMemory
ROSTESTS-96 #resolve

svn path=/trunk/; revision=58873
2013-04-27 18:18:17 +00:00
Amine Khaldi
b74ef49f87 [DINPUT]
* Add missing psdk dependency for the dinput data formats library.

svn path=/trunk/; revision=58872
2013-04-27 14:56:43 +00:00
Amine Khaldi
66773cd55c [CMAKE]
* Don't set a default list of linked libraries, let us decide that ourselves. Fixes the recent VS build issues.

svn path=/trunk/; revision=58871
2013-04-27 13:53:29 +00:00
Sylvain Petreolle
f4aedab366 Import CredMarshalCredential and CredIsMarshaledCredential from wine.
ROSTESTS-97 #resolve

svn path=/trunk/; revision=58870
2013-04-27 12:37:33 +00:00
Amine Khaldi
d9576af780 [SHELL32]
* Silence a compiler warning. Spotted by Thomas Faber.

svn path=/trunk/; revision=58869
2013-04-27 09:40:27 +00:00
Thomas Faber
17d42ae2a9 [ADVAPI32]
- Properly stub some commonly used safer functions
CORE-6942 #resolve

svn path=/trunk/; revision=58868
2013-04-27 09:15:24 +00:00
Thomas Faber
03dfa33272 [ADVAPI32_APITEST]
- Add basic parameter tests for SaferIdentifyLevel
CORE-6942

svn path=/trunk/; revision=58867
2013-04-27 09:12:20 +00:00
Thomas Faber
d0becb5ee6 [PSDK]
- Replace winsafer.h with a usable version
CORE-6942

svn path=/trunk/; revision=58866
2013-04-27 09:01:02 +00:00
Thomas Faber
ce03d7b671 [BOOTDATA]
- Add Themes folder during setup. Patch by Lee Schroeder.
CORE-6987 #resolve

svn path=/trunk/; revision=58865
2013-04-27 08:18:15 +00:00
Thomas Faber
c568d4fd8b [KMTESTS:FSRTL]
- Rework FsRtlExpression test to be more maintainable by using a table. Patch by Víctor Martínez Calvo, a few comments by me.
CORE-7108 #resolve

svn path=/trunk/; revision=58864
2013-04-27 07:44:28 +00:00
Amine Khaldi
5326f4c7d9 [SHELL32]
* Fix the FVM_AUTO handing in CDefView::SetCurrentViewMode. Brought to you by Victor Martinez.
CORE-7126 #resolve

svn path=/trunk/; revision=58863
2013-04-26 23:05:51 +00:00
Amine Khaldi
46483ced1a [HAL]
* Account for the asm source files in all the HAL flavors. Should fix compiling them with VS (which regressed recently).

svn path=/trunk/; revision=58862
2013-04-26 22:31:07 +00:00
Sylvain Petreolle
0d8b699c25 [HIVESFT]
Fix opening of http,https and gopher URLs.


svn path=/trunk/; revision=58861
2013-04-26 14:15:28 +00:00
Amine Khaldi
86c4670f9f [SHELL32]
* Sync CommandLineToArgvW with Wine 1.5.26. Fixes issues spotted by Victor Martinez.
CORE-7125 #resolve

svn path=/trunk/; revision=58860
2013-04-26 12:10:27 +00:00
Thomas Faber
ab9ec0bd8c [KMTESTS:FSRTL]
- Enable running FsRtlMcb by hand

svn path=/trunk/; revision=58859
2013-04-26 09:31:12 +00:00
Pierre Schweitzer
43ee5e7b98 [NTOSKRNL]
Disable FsRtlMcb for the moment, as they crash, don't provide any useful and prevent the VBox testbot to properly run 

svn path=/trunk/; revision=58858
2013-04-26 06:47:42 +00:00
Hermès Bélusca-Maïto
634525fac4 Fix a check.
svn path=/trunk/; revision=58857
2013-04-25 23:16:19 +00:00
Hermès Bélusca-Maïto
0950be976a [ADVAPI32-SERVICES]
- Apply changes from http://code.reactos.org/cru/CR-30
- If an event object already exists, CreateEvent returns a valid handle to it. So that, if the returned handle is NULL, then automatically we are sure that it doesn't exist. Therefore remove unneeded checks.

svn path=/trunk/; revision=58856
2013-04-25 23:13:58 +00:00
Amine Khaldi
6f55066617 [SHELL32]
* Sync SH{Register,Revoke}DragDrop with Wine 1.5.26.

svn path=/trunk/; revision=58855
2013-04-25 23:04:00 +00:00
Amine Khaldi
472acf6982 [SHELL32]
* Sync DoEnvironmentSubst{A,W} with Wine 1.5.26. Fixes issues spotted by Victor Martinez.
CORE-7124 #resolve

svn path=/trunk/; revision=58854
2013-04-25 22:52:34 +00:00
Hermès Bélusca-Maïto
f892276e85 [PSDK]
Clarify the meaning of the parameters of MAKEWORD/MAKELONG

svn path=/trunk/; revision=58853
2013-04-25 22:20:00 +00:00
Jérôme Gardou
990171235d [NTOSKRNL]
- Handle VME for the PUSHF and POPF instruction in virtual mode
 - There is no reason to set interrupt flag when handling POPF
 - Fix a typo in POPF case : mask out the right variable
See http://www.rcollins.org/articles/vme1/ for reference

svn path=/trunk/; revision=58852
2013-04-25 21:29:59 +00:00
Amine Khaldi
b4fe8f646f [NTOSKRNL]
* Make sure that BaseAddress is at 64-k boundary in NtMapViewOfSection(). Fixes a couple NtMapViewOfSection tests.
* Brought to you by Zhan Jianyu (aka larmbr) with review and improvement by Timo.
CORE-7118 #resolve #comment A slightly improved fix was committed in r58851. Thanks ;)

svn path=/trunk/; revision=58851
2013-04-25 15:54:45 +00:00
Aleksey Bragin
a47024fcd7 [RTL]
- Apply similar fixes as in 58848 to RtlGetElementGenericTable (no need to make too fancy predecrements if they work incorrectly in this case when do/while loops were unnecessary at all).

svn path=/trunk/; revision=58850
2013-04-25 14:15:10 +00:00
Pierre Schweitzer
f6d5d2eb5d [KMTESTS:FSRTL]
Fix copy/paste mistakes

svn path=/trunk/; revision=58849
2013-04-25 10:08:05 +00:00
Aleksey Bragin
53f025c83e [RTL]
- Do not set result variable NodeOrParent in RtlpFindGenericTableNodeOrParent in case the generic table is empty, just returning TableEmptyTree is enough.
- Fix improper enumeration of generic tables nodes. The way they were done previously clearly shows that noone was actually testing these APIs and a simple mistake (do/while instead of while loop) led to a NULL pointer access. Thanks to Pierre for developing MCB tests which revealed this problem.
Rephrasing Vladimir Lenin: "Test, test and again test!"

svn path=/trunk/; revision=58848
2013-04-24 22:56:43 +00:00
Pierre Schweitzer
2840256492 [NTOSKRNL]
Reimplement (yes, once more...) all the DOS wildcards in FsRtlIs*InExpression().
This time with a better understanding of MSDN (doc can be sometimes quite cryptic...).
Which means that now the functions are passing all the tests and are even simpler.

svn path=/trunk/; revision=58847
2013-04-24 20:36:33 +00:00
Timo Kreuzer
a08eef8b31 [NTOSKRNL/AMD64]
- Add more required feature bits
- Initialize the PAT MSR
- Enable NX in EFER MSR

svn path=/trunk/; revision=58846
2013-04-24 20:28:45 +00:00
Giannis Adamopoulos
4d5fd81d67 [videoprt]
- Improve some debug messages

svn path=/trunk/; revision=58845
2013-04-24 17:51:44 +00:00
Pierre Schweitzer
4efe1428b9 [NTOSKRNL]
Really implement support for DOS_QM in FsRtlIs*InExpression()
Should fix some tests

svn path=/trunk/; revision=58844
2013-04-24 16:59:23 +00:00
Sylvain Petreolle
a1d7ffa2b1 [SYSSETUP]
Register ieframe during 2nd stage.


svn path=/trunk/; revision=58843
2013-04-24 16:46:52 +00:00
Pierre Schweitzer
18fa2986fc [NTOSKRNL]
Properly handle when we are at last dot in FsRtlIs*InExpression with DOS_STAR

svn path=/trunk/; revision=58842
2013-04-24 15:25:19 +00:00
Pierre Schweitzer
df801f3d4c [NTOSKRNL]
Fix a few tests with FsRtlIs*InExpression()

svn path=/trunk/; revision=58841
2013-04-24 14:21:26 +00:00
Pierre Schweitzer
8f3328160c [NTOSKRNL]
Fix null matching for empty string in FsRtlIsDbcsInExpression()

svn path=/trunk/; revision=58840
2013-04-24 12:18:28 +00:00
Amine Khaldi
4204d81772 [JSCRIPT]
* Add the typelib related registration data.
* Set the correct dependencies for the resource file.

svn path=/trunk/; revision=58839
2013-04-24 11:18:29 +00:00
Pierre Schweitzer
5d683f8f8f [KMTESTS:FSRTL]
Add tests for testing Large MCBs on Aleksey's request.
Currently, they fail (and even crash) on ReactOS.
Aleksey promised a bugfix!

svn path=/trunk/; revision=58838
2013-04-23 21:34:59 +00:00
Amine Khaldi
79ac1cc9a9 [HHCTRL.OCX]
* Add the typelib related registration data.
* Set the correct dependencies for the resource file.

svn path=/trunk/; revision=58837
2013-04-23 16:35:53 +00:00
Amine Khaldi
af2df13222 [IEFRAME]
* Add the typelib related registration data.
* Set the correct dependencies for the resource file.

svn path=/trunk/; revision=58836
2013-04-23 16:05:31 +00:00
Hermès Bélusca-Maïto
1707c78bfe [KDCOM]
Formatting change only (requested by Timo).

svn path=/trunk/; revision=58835
2013-04-23 00:48:49 +00:00
Hermès Bélusca-Maïto
1fda00d683 [KDCOM]
- Use stdlib.h header instead of declaring the atol function's prototype (caught by Jérôme).
- Clarify the loop in KdpSendPacket (by Timo).
NOTE: I also noticed that it was not this loop-change that fixed reconnection (see commit message of r58823), but one of the changes of revision r58822 (certainly the one in the KdpReceiveByte function) (ironically I said "Seems to fix..." since I noticed that change of behaviour when I was trying to play with the code in KdpSendPacket with modifications of r58822, but I didn't notice that in fact it happened with changes of r58822. It is only today that I constated that, during a revert of r58823 + test + a remark from Timo).

svn path=/trunk/; revision=58834
2013-04-23 00:41:45 +00:00
Pierre Schweitzer
dc93e99c9f [NTOSKRNL]
Properly handle (as Windows does) WC in case last dot was eaten in path name translation
Fixes last FindFile failing tests

svn path=/trunk/; revision=58833
2013-04-22 19:36:33 +00:00
Thomas Faber
4517988f68 [NTDLL_APITEST]
- Add test cases showing that RtlDosPathNameToNtPathName_U strips trailing dots

svn path=/trunk/; revision=58832
2013-04-22 19:09:12 +00:00
Giannis Adamopoulos
3c3d41fec8 [uxtheme]
- Do not apply non client metrics defined in the theme, while applying the theme. This is now done by desk.cpl
- Implement OpenThemeDataFromFile to let desk.cpl open a theme file and query the metrics stored in the theme file
- Make use of the HTHEME hTheme parameter in GetThemeSysBool, GetThemeSysColor, GetThemeSysFont, GetThemeSysInt, GetThemeSysSize and GetThemeSysString

svn path=/trunk/; revision=58831
2013-04-22 16:46:43 +00:00
Pierre Schweitzer
8fe345032d [NTOSKRNL]
Erratum for r58810.
Forgot to change that if...

svn path=/trunk/; revision=58830
2013-04-22 16:21:10 +00:00
Amine Khaldi
98eaba80bc [HHCTRL.OCX][IEFRAME]
* Add missing stdole2 dependency.
CORE-7087

svn path=/trunk/; revision=58829
2013-04-22 15:21:38 +00:00
Giannis Adamopoulos
6b33879457 [desk.cpl]
- Draw the classic theme preview if drawing the visual styles preview failed

svn path=/trunk/; revision=58828
2013-04-22 13:02:48 +00:00
Amine Khaldi
8f045a2888 [SHDOCVW]
* Add the shdocvw_v1.idl TYPELIB and WINE_REGISTRY resources.

svn path=/trunk/; revision=58827
2013-04-22 11:33:48 +00:00
Pierre Schweitzer
2b47f60899 [KMTEST:FSRTL]
Add a test that matches rosautotest.exe behavior

svn path=/trunk/; revision=58826
2013-04-22 06:49:01 +00:00
Hermès Bélusca-Maïto
b56283a15f [KDCOM]
- Code reorganization: put all the port control functions together.
- Little simplifications of some functions (from CORE-7106).

svn path=/trunk/; revision=58825
2013-04-22 00:28:16 +00:00
Hermès Bélusca-Maïto
5159da237d [KDCOM]
- Use the UCHAR type directly instead of using a typedef for defining BYTE.
- A little bit of header reorganization.

svn path=/trunk/; revision=58824
2013-04-21 23:56:15 +00:00
Hermès Bélusca-Maïto
6515d813b3 [KDCOM]
Seems to fix reconnection issues, in two lines.

svn path=/trunk/; revision=58823
2013-04-21 23:39:05 +00:00
Hermès Bélusca-Maïto
8aa27c3f4e [KDCOM]
- Directly use CpGetByte and Co. functions from the CPortLib since they are working ok.
- Remove unusued variables.

svn path=/trunk/; revision=58822
2013-04-21 23:23:30 +00:00
Thomas Faber
bc461d6fa9 [SHELL32]
- Style improvements by Katayama Hirofumi MZ and Edijs Kolesnikovičs

svn path=/trunk/; revision=58821
2013-04-21 22:10:36 +00:00
Eric Kohl
baf27d33b8 [MSV1_0]
Allocate a profile buffer and use it to return the user profile information to the caller.

svn path=/trunk/; revision=58820
2013-04-21 21:08:58 +00:00
Thomas Faber
76b9a203f2 [KMTESTS]
- Add a few more tests for FindFirstFile
- Silence kmtest debugging

svn path=/trunk/; revision=58819
2013-04-21 20:47:52 +00:00
Pierre Schweitzer
4e5c5772f1 [NTOSKRNL]
Nearly properly reimplement DOT_STAR in FsRtlIs*InExpression.
Should fix tests broken by hackfix

svn path=/trunk/; revision=58818
2013-04-21 20:34:17 +00:00
Pierre Schweitzer
e25146372d [NTOSKRNL]
Temp hackfix DOS_STAR to get rosautotest working again

svn path=/trunk/; revision=58817
2013-04-21 20:14:36 +00:00
Eric Kohl
3a18230542 [LSASRV]
Open the caller process using more access rights in order to be able to allocate memory in the callers address space and to be able to write into the allocated memory.

svn path=/trunk/; revision=58816
2013-04-21 20:05:26 +00:00
Eric Kohl
7029a8be32 [LSALIB]
- Fix LsaFreeReturnBuffer. It is used to free virtual memory instead of heap memory because Buffer is a pointer to a virtual memory buffer that has been allocated by an authentication package.
- Fix several DataLength calculations and a typo.

svn path=/trunk/; revision=58815
2013-04-21 19:44:54 +00:00
Pierre Schweitzer
c927959df8 [KERNEL32]
Implement support for WC translation to DOS so that they are correctly passed to FsRtlIs*InExpression()
Please retest issues CORE-5125 and CORE-7100

svn path=/trunk/; revision=58814
2013-04-21 19:01:09 +00:00
Thomas Faber
3e16da2604 [KMTESTS]
- Add a kernel32 test (I know right) to check how FindFirstFile* modifies wildcards
ROSTESTS-104 #resolve

svn path=/trunk/; revision=58813
2013-04-21 19:00:10 +00:00
Thomas Faber
a3ee37624f [KMTESTS]
- Add KmtSendWStringToDriver to easily send unicode strings to special-purpose drivers
- Add TESTENTRY_NO_EXCLUSIVE_DEVICE flag for non-exclusive devices in special-purpose drivers
ROSTESTS-104

svn path=/trunk/; revision=58812
2013-04-21 18:53:51 +00:00
Amine Khaldi
a8618f38c2 [SHDOCVW_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58811
2013-04-21 16:40:23 +00:00
Pierre Schweitzer
53db72e990 [NTOSKRNL]
Reimplement (& fix) handling of DOS_DOT in FsRtlIs*InExpression().
This fixes lots of failing tests

svn path=/trunk/; revision=58810
2013-04-21 15:53:59 +00:00
Giannis Adamopoulos
9870b21c66 [desk.cpl]
- Add missing file
- In desk.cpl we now use RegLoadMUIStringW however this function is introduced in vista. Since we don't have an official policy what to do in such cases I chose to create a local copy of this function here becasue it also lets us test desk.cpl in xp

svn path=/trunk/; revision=58809
2013-04-21 14:42:16 +00:00
Giannis Adamopoulos
303bb28fc4 [desk.cpl]
- Overhaul the appearance tab
- Fixed and tested to work almost flawlessly on windows xp and windows 7
- Implement selecting the size of a scheme
- Implement loading the scheme from a visual style and allow the user to customize it before applying the visual style
- Implement showing visual styles preview 
- Properly load and apply system metrics 
- Store the scheme in memory as NONCLIENTMETRICS and ICONMETRICS structs instead of arrays of sizes and fonts 
- Store the loaded themes in a list instead of a global array

- Now that this works great in windows, it also mean that we have to modify our colour schemes in the registry to
be in the same format with windows and also fix uxtheme to handle system metrics properly

svn path=/trunk/; revision=58808
2013-04-21 14:36:57 +00:00
Hermès Bélusca-Maïto
1408f94a8f [DESK]
Remove erroneous extra backslash characters in some strings.

svn path=/trunk/; revision=58807
2013-04-21 14:29:05 +00:00
Pierre Schweitzer
d7c9b59f0f [NTOSKRNL]
Allow ignoring all nullable matching wildcards at the end of the expression string when name is over in FsRtlIs*InExpression()
This fixes a few tests

svn path=/trunk/; revision=58806
2013-04-21 14:25:55 +00:00
Hermès Bélusca-Maïto
e214308f84 [CPORTLIB]
Add a #pragma once directive to forbid multiple inclusions of the same header.

[NTOSKRNL:KD64]
Code formatting only

svn path=/trunk/; revision=58805
2013-04-21 14:03:07 +00:00
Hermès Bélusca-Maïto
32d3d39193 [DESK]
Convert language files to Unicode.

svn path=/trunk/; revision=58804
2013-04-21 13:57:28 +00:00
Amine Khaldi
378d3e7b4f [IEXPLORE]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58803
2013-04-21 13:53:35 +00:00
Amine Khaldi
c28ad3b23e [SHDOCVW]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58802
2013-04-21 13:50:00 +00:00
Pierre Schweitzer
bc281af13f [KMTESTS:FSRTL]
Add more tests for FsRtlIs*InExpression()
Tested on w2k3 by Thomas

svn path=/trunk/; revision=58801
2013-04-21 13:47:54 +00:00
Amine Khaldi
65ef84b840 [EXPAND]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58800
2013-04-21 12:33:33 +00:00
Amine Khaldi
d5c3c87735 [WORDPAD]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58799
2013-04-21 12:29:02 +00:00
Giannis Adamopoulos
ade6d5011a [desk.cpl]
- Add a missing error check

svn path=/trunk/; revision=58798
2013-04-21 12:21:21 +00:00
Giannis Adamopoulos
78cb9a84f2 [desk.cpl]
- Formatting: Convert tabs to spaces
- No code changes

svn path=/trunk/; revision=58797
2013-04-21 12:00:37 +00:00
Amine Khaldi
d2577f2eff [PSDK]
* Sync some exdisp.idl changes with Wine.

svn path=/trunk/; revision=58796
2013-04-20 22:21:07 +00:00
Amine Khaldi
8bb57a6a8f [ACTXPRXY]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58795
2013-04-20 21:18:05 +00:00
Thomas Faber
2ab03b12af [EXPLORER_NEW]
- Open Date and Time Properties on double-click on the tray clock. Based on patch by Edijs Kolesnikovičs and Grégori Macário Harbs.
CORE-6860 #resolve

svn path=/trunk/; revision=58794
2013-04-20 19:34:32 +00:00
Eric Kohl
44de93b3cf [SAMSRV]
Add missing header file.

svn path=/trunk/; revision=58793
2013-04-20 19:21:37 +00:00
Eric Kohl
25006dfe30 [SAMSRV]
- Add string resources for SAM object names and comments.
- Use the string resources in the setup code.

svn path=/trunk/; revision=58792
2013-04-20 18:54:27 +00:00
Pierre Schweitzer
91a5c6ea10 [NTOSKRNL]
Also allow null matching at the end of the expression with * wc in FsRtlIs*InExpression()
This should fix a few tests

svn path=/trunk/; revision=58791
2013-04-20 16:49:53 +00:00
Pierre Schweitzer
4dea595eca [NTOSKRNL]
Allow null matching with * wc in FsRtlIs*InExpression()
This should fix a few tests

svn path=/trunk/; revision=58790
2013-04-20 14:10:10 +00:00
Pierre Schweitzer
301f9552c0 [KMTEST:FSRTL]
Fix assertion failure on checked builds

svn path=/trunk/; revision=58789
2013-04-20 12:54:38 +00:00
Pierre Schweitzer
13bb26cfcf [KMTEST:FSRTL]
Add more tests for FsRtlIsNameInExpression() by Victor Martinez
Also add these tests for FsRtlIsDbcsInExpression()
See CORE-5125 for more information

svn path=/trunk/; revision=58788
2013-04-20 12:24:57 +00:00
Hermès Bélusca-Maïto
d85de91071 [WINSRV]
Declare a helper as static.

svn path=/trunk/; revision=58787
2013-04-19 22:52:36 +00:00
Giannis Adamopoulos
f894411e39 [msgina]
- Promote some debug messages to errors in order to understand why trying to open the task manager from the loged on dialog sometimes fails

svn path=/trunk/; revision=58786
2013-04-19 09:59:50 +00:00
Giannis Adamopoulos
7aecedf790 [msgina]
- Switch to the winlogon desktop when we show the LogedOn dialog

svn path=/trunk/; revision=58785
2013-04-19 08:12:10 +00:00
Hermès Bélusca-Maïto
25aef73037 [PSDK]
Fix some declarations (checked against Windows PSDK and Arwinss, which showed me the Truth :P).

svn path=/trunk/; revision=58784
2013-04-18 22:13:50 +00:00
Amine Khaldi
00ac0d48b1 [IEFRAME]
* Import from Wine 1.5.26.
[PSDK]
* Import docobjectservice.idl and htiface.idl from Wine.
* Add some missing definitions in shlobj.h.
[UUID]
* Add docobjectservice.idl and htiface.idl to the list.
* Add CGID_DocHostCommandHandler.

svn path=/trunk/; revision=58783
2013-04-18 21:46:58 +00:00
Hermès Bélusca-Maïto
78e547c553 [CMAKE-scripts]
Indentation fixes, no code changes.

svn path=/trunk/; revision=58782
2013-04-18 21:19:09 +00:00
Giannis Adamopoulos
fd8944f799 [winlogon]
- Remove the big hack that made winlogon use only one desktop

svn path=/trunk/; revision=58781
2013-04-18 18:03:52 +00:00
Giannis Adamopoulos
fcf26e1d17 [win32k]
- When creating a new window, create it in the thread desktop and not in the active desktop

svn path=/trunk/; revision=58780
2013-04-18 17:54:39 +00:00
Giannis Adamopoulos
1ccf48b48a [thmsvc]
- Fix build

svn path=/trunk/; revision=58779
2013-04-18 17:22:52 +00:00
Giannis Adamopoulos
0754d3be29 [uxtheme]
- Stub OpenThemeDataFromFile and DrawNCPreview that will be used by desk.cpl in the future

svn path=/trunk/; revision=58778
2013-04-18 17:09:20 +00:00
Sylvain Petreolle
47dd7d36c1 [HIVESFT]
Fix RunOnce for iexplore.
iexplore is now correctly moved into %ProgramFiles%\Internet Explorer.

svn path=/trunk/; revision=58777
2013-04-18 12:14:47 +00:00
Amine Khaldi
39349fee62 [WINHLP32]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58776
2013-04-18 11:34:29 +00:00
Timo Kreuzer
6f32c8afee [NTOSKRNL]
Fix KiRaiseAssertion on amd64

svn path=/trunk/; revision=58775
2013-04-17 06:05:14 +00:00
Amine Khaldi
9e746b60f4 [DINPUT8]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58774
2013-04-16 20:33:34 +00:00
James Tabor
317d0908d3 [NtUser]
- Fix Silverlight installation splash, see CORE-7036 for details.

svn path=/trunk/; revision=58773
2013-04-15 23:13:41 +00:00
Hermès Bélusca-Maïto
fdceea406e [REACTOS]
Here is all the deprecated code: the old CSR as well as the new one which wasn't included; the ReactOS-specific win32csr and the csr module of win32k.

svn path=/trunk/; revision=58771
2013-04-15 19:46:07 +00:00
Hermès Bélusca-Maïto
599a7affa3 [REACTOS]
Merge of the ros-csrss branch created with a three-fold purpose:

- Use the new Windows-compatible Client-Server Runtime Subsystem (csrss + csrsrv)
written by Alex Ionescu to replace the old hacked one. Also the CSR client part,
residing in ntdll, is updated. Some work also done on the dlls side, which
communicate with CSR, namely kernel32.

- Replace our very old win32csr.dll CSR server by the collection basesrv.dll /
winsrv.dll as it is done under Windows.

- Since the console subsystem is (for historical purposes on Windows) the
only subsystem which exploits all the possibilities of the CSR, I decided to
put it in a new CSR dll called 'consrv.dll', even if on Windows it is included
together with other APIs inside the winsrv dll (since Windows NT 3.1 release)
(I took the name 'consrv' from the dll where it was included in Windows NT 3.1
beta from October 1991). Some work was also done on its internal architecture
(the external interface is of course unchanged for compatibility reasons) and a
two-layer approach was developed, using the existing idea of console functions +
GUI or TUI we already had in win32csr:
	* the "console server" which dialogs with the console applications,
and which maintains a list of all the created consoles.
	* different "front-ends" corresponding to where you want to output
the information (~= console hardware) (Work-In-Progress).
Another idea would be to make those front-ends dynamically-loadable (instead
of being compiled inside consrv).
- I also fixed some parts of the console properties dialog box.

More information can be found in http://www.reactos.org/archives/public/ros-dev/2013-April/016121.html

CORE-122 CORE-2510 CORE-7002 #resolve #comment Committed in revision r58xxx.

svn path=/trunk/; revision=58770
2013-04-15 19:32:00 +00:00
Amine Khaldi
192afa3ac1 [DINPUT_WINETEST]
* Import from Wine 1.5.26.

svn path=/trunk/; revision=58769
2013-04-15 19:31:42 +00:00
Amine Khaldi
f31ab09118 [DINPUT]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58768
2013-04-15 18:54:35 +00:00
Amine Khaldi
e7836734ab [CMAKE]
* Use PSEH2 again for TestBE (reverts 58603 and 58604).

svn path=/trunk/; revision=58767
2013-04-15 12:59:35 +00:00
Sylvain Petreolle
4c940f9e2e Addendum to r58764:
Remove MAX_PATH compatible definition and limits.h inclusion.


svn path=/trunk/; revision=58766
2013-04-14 20:54:33 +00:00
Timo Kreuzer
f26c89182f [LOG2LINES]
Try to fix build

svn path=/trunk/; revision=58765
2013-04-14 20:14:45 +00:00
Timo Kreuzer
38ddc8955e [LOG2LINES]
Use PATH_MAX instead of MAX_PATH. Patch by tower.

svn path=/trunk/; revision=58764
2013-04-14 19:49:34 +00:00
Timo Kreuzer
0d2f933c3c [RTL/MKHIVE]
Revert r58762 and apply a better fix.

svn path=/trunk/; revision=58763
2013-04-14 19:16:20 +00:00
Timo Kreuzer
6f902c327d [RTL]
Fix host tools build

svn path=/trunk/; revision=58762
2013-04-14 18:59:37 +00:00
Timo Kreuzer
75082f2302 [RTL]
Add support for RTL_BITMAP64 on x64 builds

svn path=/trunk/; revision=58761
2013-04-14 18:49:20 +00:00
Timo Kreuzer
6090c3ee06 [FREELDR]
When generating the memory descriptor list, do not map the pages at the same time, since that requires allocating page tables, which will alter the state of pages, that might already have been processed. Instead map everything beforehand. This has not had any impact on x86, since the pfn database initialization code mindlessly adds all mapped pages as valid, even if they were reported as free by the OS loader. But proper Mm code does not necessarily do this.

svn path=/trunk/; revision=58760
2013-04-14 18:41:54 +00:00
Timo Kreuzer
291e52f39e [WIN32K]
Calculate flRaster in GDIINFO flags after calling DrvEnablePDEV. Should fix CORE-7079

svn path=/trunk/; revision=58759
2013-04-14 17:17:44 +00:00
Sylvain Petreolle
881457ce32 [LOG2LINES]
Partly fix MSVC build.
Disable MSVC build for now.

svn path=/trunk/; revision=58757
2013-04-14 15:09:52 +00:00
Sylvain Petreolle
17ad27cc71 [HOST-TOOLS]
Add log2lines to build.


svn path=/trunk/; revision=58755
2013-04-14 14:18:34 +00:00
Amine Khaldi
18e14e7e3e [DSOUND]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58752
2013-04-13 23:33:54 +00:00
Amine Khaldi
58c8c13693 [PSDK]
* Import audioclient.idl and mmdeviceapi.idl from Wine and add them to the generated PSDK headers.
* Add missing WAVE_FORMAT_IEEE_FLOAT definition to mmreg.h.
* Import audiosessiontypes.h, devpkey.h and propkey.h from Wine.

svn path=/trunk/; revision=58751
2013-04-13 23:28:46 +00:00
Amine Khaldi
dfa9f630bb * Forgot the GCC case.
svn path=/trunk/; revision=58750
2013-04-13 22:42:50 +00:00
Amine Khaldi
78c8abf0e3 [PSDK]
* Add DECLSPEC_SELECTANY.

svn path=/trunk/; revision=58749
2013-04-13 22:35:13 +00:00
Hermès Bélusca-Maïto
c6990096ac [REACTOS]
Addendum to revision r58744.

CORE-7062 #comment the NDIS_** structures, albeit containing the "recieve" misspelling, must be kept as they are because we must be compatible with the Windows DDK. Indeed this one contains the misspelling. Blame Microsoft if they do not know how to write proper English or if they do not re-read what they are writing !!

svn path=/trunk/; revision=58748
2013-04-13 22:11:40 +00:00
Eric Kohl
5286e4fac2 [MSV1_0]
Retrieve all information about the user.

svn path=/trunk/; revision=58747
2013-04-13 21:50:54 +00:00
Hermès Bélusca-Maïto
2cb57b25b4 [ROSAPPS]
Correct spelling of "receive" throughout the codebase.
Patch by andygui.

CORE-7062 #resolve #comment Part for RosApps fixed in revision r58746.

svn path=/trunk/; revision=58746
2013-04-13 21:33:53 +00:00
Hermès Bélusca-Maïto
2dd6b556a9 [ROSTESTS]
Correct spelling of "receive" throughout the codebase.
Patch by andygui.

CORE-7062 #resolve #comment Part for RosTests fixed in revision r58745.

svn path=/trunk/; revision=58745
2013-04-13 21:33:03 +00:00
Hermès Bélusca-Maïto
157aa32663 [REACTOS]
Correct spelling of "receive" throughout the codebase.
Patch by andygui.

CORE-7062 #resolve #comment Fixed in revision r58744. Thanks :)

svn path=/trunk/; revision=58744
2013-04-13 21:28:10 +00:00
Eric Kohl
fda13e9c4c [SAMSRV]
Implement SamIFree_SAMPR_USER_INFO_BUFFER.

svn path=/trunk/; revision=58742
2013-04-13 21:04:54 +00:00
Eric Kohl
8bcbe27e41 [SAMSRV]
SamrCreateUserInDomain: Set default logon hours.

svn path=/trunk/; revision=58740
2013-04-13 17:59:40 +00:00
J. C. Jones
a31a4e75f4 this is a test of of this here thing.
svn path=/branches/vs_jc/; revision=58280
2013-02-03 19:44:52 +00:00
Amine Khaldi
aa77c87211 * Create a branch for JC's effort to manually maintain VS project files.
svn path=/branches/vs_jc/; revision=58100
2013-01-02 13:17:06 +00:00
24466 changed files with 7955063 additions and 143895 deletions

3
README
View File

@@ -27,3 +27,6 @@ See the media\doc subdirectory for some sparse notes.
4. Who is responsible
See the CREDITS file.
Hey, JC is just added some text to this file!!!

View File

@@ -36,4 +36,4 @@ add_subdirectory(taskmgr)
add_subdirectory(winhlp32)
add_subdirectory(winver)
add_subdirectory(wordpad)
add_subdirectory(write)
add_subdirectory(write)

View File

@@ -1,9 +1,6 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <windows.h>
#include <winioctl.h>
#include <stdlib.h>
#include <stdio.h>
//#include <ntdddisk.h>
//#include <ntddscsi.h>
#include <ntddscsi.h>
@@ -337,7 +334,7 @@ ata_send_scsi(
{
ULONG status;
PSCSI_PASS_THROUGH_WITH_BUFFERS sptwb;
//ULONG data_len = BufferLength;
ULONG data_len = BufferLength;
ULONG len;
len = BufferLength + offsetof(SCSI_PASS_THROUGH_WITH_BUFFERS, ucDataBuf);
@@ -1065,7 +1062,7 @@ ata_list(
{
char dev_name[64];
HANDLE h;
//BOOLEAN uniata_driven;
BOOLEAN uniata_driven;
if(bus_id == -1) {
for(bus_id=0; TRUE; bus_id++) {
@@ -1074,7 +1071,7 @@ ata_list(
}
return TRUE;
}
/*uniata_driven =*/ ata_adapter_info(bus_id, g_adapter_info);
uniata_driven = ata_adapter_info(bus_id, g_adapter_info);
sprintf(dev_name, "\\\\.\\Scsi%d:", bus_id);
h = ata_open_dev(dev_name);
if(!h)
@@ -1230,13 +1227,8 @@ ata_hide(
&to, sizeof(to),
NULL, 0,
&returned);
if(!status) {
printf("Delete failed\n");
} else {
printf("Device is detached\n");
}
ata_close_dev(h);
return status ? TRUE : FALSE;
return TRUE;
} // end ata_hide()
BOOLEAN
@@ -1294,7 +1286,7 @@ ata_scan(
FALSE);
}
ata_close_dev(h);
return status ? TRUE : FALSE;
return TRUE;
} // end ata_scan()
CHAR*
@@ -1661,7 +1653,7 @@ ata_power_mode(
NULL, 0, FALSE,
&senseData, &returned);
ata_close_dev(h);
return status ? TRUE : FALSE;
return TRUE;
} // end ata_power_mode()
int

View File

@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "precomp.h"
#include <precomp.h>
static GENERIC_MAPPING FileGenericMapping =
{

View File

@@ -1,4 +1,4 @@
#include <windef.h>
#include <windows.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Control ACLs Program\0"

View File

@@ -3,7 +3,7 @@ LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_HELP, "ファイルのアクセス制御リスト(ACL) を表示または変更します。\n\n\
IDS_HELP, "ファイルのアクセス制御リスト(ACL) を表 示または変更します。n\n\
CACLS ファイル名 [/T] [/E] [/C] [/G ユーザー名:アクセス権]\n\
[/R ユーザー名 [...]] [/P ユーザー名:アクセス権 [...]]\n\
[/D ユーザー名 [...]]\n\

View File

@@ -1,13 +1,10 @@
#ifndef _CACLS_PRECOMP_H
#define _CACLS_PRECOMP_H
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <windows.h>
#include <sddl.h>
#include <tchar.h>
#include <stdio.h>
#include "resource.h"
#endif /* _CACLS_PRECOMP_H */

View File

@@ -1,12 +1,8 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wingdi.h>
#include <winreg.h>
#include <windows.h>
#include <tchar.h>
//#include <stdio.h>
//#include <string.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <malloc.h>

View File

@@ -444,7 +444,7 @@ BEGIN
IDS_CONV_CONSUMPTION "Consumption (engines)"
IDS_CONV_CURRENCY "Συνάλλαγμα"
IDS_CONV_ENERGY "Ενέργεια"
IDS_CONV_LENGTH "Lengths"
IDS_CONV_LENGTH "Lenghts"
IDS_CONV_POWER "Δύναμη"
IDS_CONV_PRESSURE "Πίεση"
IDS_CONV_TEMPERATURE "Θερμοκρασία"

View File

@@ -448,7 +448,7 @@ BEGIN
IDS_CONV_CONSUMPTION "Consumption (engines)"
IDS_CONV_CURRENCY "Currencies"
IDS_CONV_ENERGY "Energy"
IDS_CONV_LENGTH "Lengths"
IDS_CONV_LENGTH "Lenghts"
IDS_CONV_POWER "Power"
IDS_CONV_PRESSURE "Pressure"
IDS_CONV_TEMPERATURE "Temperature"

View File

@@ -449,7 +449,7 @@ BEGIN
IDS_CONV_CONSUMPTION "Consumption (engines)"
IDS_CONV_CURRENCY "Currencies"
IDS_CONV_ENERGY "Energy"
IDS_CONV_LENGTH "Lengths"
IDS_CONV_LENGTH "Lenghts"
IDS_CONV_POWER "Power"
IDS_CONV_PRESSURE "Pressure"
IDS_CONV_TEMPERATURE "Temperature"

View File

@@ -1,5 +1,3 @@
#pragma once
#define IDS_STRING_LICENSE 1
#define IDS_MATH_ERROR 2
#define IDS_QUICKHELP 3
@@ -378,3 +376,4 @@
#define IDM_VIEW_BYTE 40018
#define IDM_VIEW_DWORD 40019
#define IDM_VIEW_CONVERSION 40020

View File

@@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <windef.h>
#include <winuser.h>
#include <windows.h>
#include "resource.h"
@@ -67,9 +66,6 @@ IDB_BITMAP_ROS BITMAP DISCARDABLE "res/ROS_logo.bmp"
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_HU_HU
#include "lang/hu-HU.rc"
#endif

View File

@@ -229,12 +229,12 @@ static void load_config(void)
/* Try to load last selected layout */
GetProfileString(TEXT("SciCalc"), TEXT("layout"), TEXT("0"), buf, SIZEOF(buf));
if (_stscanf(buf, TEXT("%lu"), &calc.layout) != 1)
if (_stscanf(buf, TEXT("%ld"), &calc.layout) != 1)
calc.layout = CALC_LAYOUT_STANDARD;
/* Try to load last selected formatting option */
GetProfileString(TEXT("SciCalc"), TEXT("UseSep"), TEXT("0"), buf, SIZEOF(buf));
if (_stscanf(buf, TEXT("%lu"), &tmp) != 1)
if (_stscanf(buf, TEXT("%ld"), &tmp) != 1)
calc.usesep = FALSE;
else
calc.usesep = (tmp == 1) ? TRUE : FALSE;

View File

@@ -1,8 +1,6 @@
#include <windef.h>
#include <winuser.h>
//#include <commctrl.h>
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View File

@@ -1,19 +1,14 @@
#ifndef __CHARMAP_PRECOMP_H
#define __CHARMAP_PRECOMP_H
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winreg.h>
#include <wingdi.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <windowsx.h>
#include <tchar.h>
//#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <commctrl.h>
#include <richedit.h>
#include "resource.h"
#define SIZEOF(_v) (sizeof(_v) / sizeof(*_v))

View File

@@ -1,5 +1,3 @@
#pragma once
#define IDC_STATIC -1
#define IDI_ICON 100

View File

@@ -24,9 +24,6 @@
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_ID_ID
#include "lang/id-ID.rc"
#endif

View File

@@ -5,5 +5,4 @@ add_subdirectory(hostname)
add_subdirectory(lodctr)
add_subdirectory(more)
add_subdirectory(reg)
add_subdirectory(taskkill)
add_subdirectory(xcopy)

View File

@@ -1,4 +1,5 @@
/*
/* $Id: dbgprint.c 24720 2006-11-11 16:07:35Z janderwald $
*
* PROJECT: ReactOS DbgPrint Utility
* LICENSE: GPL - See COPYING in the top level directory
* FILE: tools/dbgprint/dbgprint.c
@@ -7,11 +8,9 @@
* Christoph von Wittich (Christoph_vW@ReactOS.org)
*/
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <windows.h>
#include <tchar.h>
//#include <debug.h>
#include <debug.h>
#include <stdio.h>
int _tmain(int argc, TCHAR ** argv)

View File

@@ -1,13 +1,8 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wincon.h>
#include <windows.h>
#include <stdio.h>
#include <wchar.h>
#include <assert.h>
#include <locale.h>
#include "doskey.h"
#define MAX_STRING 2000

View File

@@ -1,4 +1,47 @@
#pragma once
#define IDS_HELP 0
#define IDS_INVALID_MACRO_DEF 1
#ifndef RC_INVOKED
#ifdef UNICODE
#define TNAME(x) x##W
#else
#define TNAME(x) x##A
#endif
/* Missing from include/psdk/wincon.h */
#ifndef ENABLE_INSERT_MODE
#define ENABLE_INSERT_MODE 0x20
#endif
#ifndef ENABLE_EXTENDED_FLAGS
#define ENABLE_EXTENDED_FLAGS 0x80
#endif
/* Undocumented APIs */
#ifndef AddConsoleAlias
BOOL WINAPI AddConsoleAliasA(LPSTR, LPSTR, LPSTR);
BOOL WINAPI AddConsoleAliasW(LPWSTR, LPWSTR, LPWSTR);
#define AddConsoleAlias TNAME(AddConsoleAlias)
#endif
#ifndef GetConsoleAliases
DWORD WINAPI GetConsoleAliasesA(LPSTR, DWORD, LPSTR);
DWORD WINAPI GetConsoleAliasesW(LPWSTR, DWORD, LPWSTR);
#define GetConsoleAliases TNAME(GetConsoleAliases)
#endif
#ifndef GetConsoleAliasesLength
DWORD WINAPI GetConsoleAliasesLengthA(LPSTR);
DWORD WINAPI GetConsoleAliasesLengthW(LPWSTR);
#define GetConsoleAliasesLength TNAME(GetConsoleAliasesLength)
#endif
#ifndef GetConsoleAliasExes
DWORD WINAPI GetConsoleAliasExesA(LPSTR, DWORD);
DWORD WINAPI GetConsoleAliasExesW(LPWSTR, DWORD);
#define GetConsoleAliasExes TNAME(GetConsoleAliasExes)
#endif
#ifndef GetConsoleAliasExesLength
DWORD WINAPI GetConsoleAliasExesLengthA(VOID);
DWORD WINAPI GetConsoleAliasExesLengthW(VOID);
#define GetConsoleAliasExesLength TNAME(GetConsoleAliasExesLength)
#endif
#endif /* RC_INVOKED */

View File

@@ -1,5 +1,4 @@
#include <windef.h>
#include <windows.h>
#include "doskey.h"
#define REACTOS_STR_FILE_DESCRIPTION "W32 doskey command\0"
@@ -18,15 +17,6 @@
#ifdef LANGUAGE_EN_US
#include "lang/en-US.rc"
#endif
#ifdef LANGUAGE_ES_ES
#include "lang/es-ES.rc"
#endif
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_IT_IT
#include "lang/it-IT.rc"
#endif
#ifdef LANGUAGE_PL_PL
#include "lang/pl-PL.rc"
#endif
@@ -42,3 +32,9 @@
#ifdef LANGUAGE_ZH_CN
#include "lang/zh-CN.rc"
#endif
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_ES_ES
#include "lang/es-ES.rc"
#endif

View File

@@ -27,21 +27,20 @@
#include <stdio.h>
#include <stdlib.h>
//#include <string.h>
//#include <ctype.h>
#include <string.h>
#include <ctype.h>
#include <windows.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
//#include <io.h>
#include <io.h>
#include <dos.h>
#include "resource.h"
/* Symbol definition */
#define MAX_STR 1024
/* This function prints out all lines containing a substring. There are some
* conditions that may be passed to the function.
*
@@ -252,3 +251,5 @@ main (int argc, char **argv)
*/
exit ( (ret ? 0 : 1) );
}

View File

@@ -1,7 +1,3 @@
#include <windef.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "W32 find command\0"
#define REACTOS_STR_INTERNAL_NAME "find\0"
#define REACTOS_STR_ORIGINAL_FILENAME "find.exe\0"

View File

@@ -1,5 +1,3 @@
#pragma once
#define IDS_USAGE 1000
#define IDS_NO_SUCH_FILE 1001
#define IDS_CANNOT_OPEN 1002

View File

@@ -1,3 +1,6 @@
#include <windows.h>
#include "resource.h"
// UTF-8
#pragma code_page(65001)
#ifdef LANGUAGE_BG_BG

View File

@@ -16,19 +16,17 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/*
/* $Id$
*
* COPYRIGHT : See COPYING in the top level directory
* PROJECT : ReactOS/Win32 get host name
* FILE : subsys/system/hostname/hostname.c
* PROGRAMMER: Emanuele Aliberti (ea@reactos.com)
*/
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
//#include <string.h>
#include <windef.h>
#include <winbase.h>
#include <string.h>
int main (int argc, char ** argv)
{
@@ -43,7 +41,7 @@ int main (int argc, char ** argv)
printf ("%s\n", ComputerName);
return EXIT_SUCCESS;
}
fprintf (stderr, "%s: Win32 error %lu.\n",
fprintf (stderr, "%s: Win32 error %ld.\n",
argv[0], GetLastError());
return EXIT_FAILURE;
}else{

View File

@@ -16,9 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <windows.h>
#include <loadperf.h>
int wmain(int argc, WCHAR *argv[])

View File

@@ -1,4 +1,5 @@
/*
/* $Id$
*
* MORE.C - external command.
*
* clone from 4nt more command
@@ -9,15 +10,10 @@
* use window size instead of buffer size.
*/
#include <stdio.h>
#include <windows.h>
#include <malloc.h>
#include <tchar.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wincon.h>
#include <stdio.h>
#include "resource.h"
static TCHAR szCont[128];

View File

@@ -1,4 +1,4 @@
#include <windef.h>
#include <windows.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "W32 more command\0"

View File

@@ -16,14 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winreg.h>
#include <wincon.h>
#include <windows.h>
#include <wine/unicode.h>
#include "reg.h"
static int reg_printfW(const WCHAR *msg, ...)

View File

@@ -18,9 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#pragma once
//#include <windef.h>
#include <windef.h>
/* Translation IDs. */
#define STRING_USAGE 101

View File

@@ -1,7 +1,6 @@
#include <windef.h>
//#include <commctrl.h>
//#include "reg.h"
#include <windows.h>
#include <commctrl.h>
#include "reg.h"
/* Define language neutral resources */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View File

@@ -1,3 +1,7 @@
#include <windows.h>
#include "reg.h"
/* Include localised resources */
// UTF-8
#pragma code_page(65001)
#ifdef LANGUAGE_BG_BG

View File

@@ -39,19 +39,11 @@
* 5 - Disk write error
*/
#include <stdio.h>
#include <stdlib.h>
//#include <tchar.h>
//#include <malloc.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winnls.h>
#include <wincon.h>
#include <windows.h>
#include <wine/debug.h>
//#include <wine/unicode.h>
#include <wine/unicode.h>
#include "xcopy.h"
WINE_DEFAULT_DEBUG_CHANNEL(xcopy);

View File

@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#pragma once
#include <windef.h>
/* Local #defines */

View File

@@ -6,13 +6,8 @@
* Colin Finck (mail@colinfinck.de)
*/
#include <windows.h>
#include <tchar.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winreg.h>
#include <shellapi.h>
#include "resource.h"
#define CCH_UINT_MAX 11

View File

@@ -1,3 +1 @@
#pragma once
#define IDI_MAINICON 100

View File

@@ -7,7 +7,7 @@
*/
#include "precomp.h"
//#include <d3d.h>
#include <d3d.h>
BOOL D3D7Test(HWND hWnd)
{

View File

@@ -7,7 +7,7 @@
*/
#include "precomp.h"
//#include <d3d8.h>
#include <d3d8.h>
BOOL D3D8Test(HWND hWnd)
{

View File

@@ -7,7 +7,7 @@
*/
#include "precomp.h"
//#include <d3d9.h>
#include <d3d9.h>
BOOL D3D9Test(HWND hWnd)
{

View File

@@ -1,5 +1,4 @@
#include <windef.h>
#include <winuser.h>
#include <windows.h>
#include <commctrl.h>
#include "resource.h"

View File

@@ -6,26 +6,18 @@
#define D3D_OVERLOADS
#include <stdio.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winsvc.h>
#include <wingdi.h>
#include <winnls.h>
#include <winver.h>
#include <winuser.h>
#include <windows.h>
#include <limits.h>
#include <mmsystem.h>
#include <setupapi.h>
#include <commctrl.h>
#include <ddraw.h>
#include <initguid.h>
#include <devguid.h>
#include <mmreg.h>
#include <wintrust.h>
#include <softpub.h>
#include <mscat.h>
#include "resource.h"
typedef struct

View File

@@ -1,6 +1,5 @@
// UTF-8
#pragma code_page(65001)
#ifdef LANGUAGE_BG_BG
#include "lang/bg-BG.rc"
#endif
@@ -19,12 +18,6 @@
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_IT_IT
#include "lang/it-IT.rc"
#endif
#ifdef LANGUAGE_JA_JP
#include "lang/ja-JP.rc"
#endif
@@ -37,6 +30,12 @@
#ifdef LANGUAGE_NB_NO
#include "lang/no-NO.rc"
#endif
#ifdef LANGUAGE_SK_SK
#include "lang/sk-SK.rc"
#endif
#ifdef LANGUAGE_SV_SE
#include "lang/sv-SE.rc"
#endif
#ifdef LANGUAGE_PL_PL
#include "lang/pl-PL.rc"
#endif
@@ -49,18 +48,12 @@
#ifdef LANGUAGE_RU_RU
#include "lang/ru-RU.rc"
#endif
#ifdef LANGUAGE_SK_SK
#include "lang/sk-SK.rc"
#endif
#ifdef LANGUAGE_SV_SE
#include "lang/sv-SE.rc"
#ifdef LANGUAGE_UK_UA
#include "lang/uk-UA.rc"
#endif
#ifdef LANGUAGE_TR_TR
#include "lang/tr-TR.rc"
#endif
#ifdef LANGUAGE_UK_UA
#include "lang/uk-UA.rc"
#endif
#ifdef LANGUAGE_ZH_CN
#include "lang/zh-CN.rc"
#endif

View File

@@ -19,13 +19,13 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <shellapi.h>
#include <setupapi.h>
#include <shlwapi.h>
#include <wine/unicode.h>
#include <wine/debug.h>
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(extrac32);

View File

@@ -27,16 +27,16 @@
#include <stdio.h>
#include <stdlib.h>
//#include <string.h>
//#include <ctype.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
//#include <io.h>
#include <string.h>
#include <ctype.h>
#include <windows.h>
#include <io.h>
#include <dos.h>
#include "resource.h"
/* Symbol definition */
#define MAX_STR 1024

View File

@@ -1,7 +1,3 @@
#include <windef.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "W32 findstr command\0"
#define REACTOS_STR_INTERNAL_NAME "findstr\0"
#define REACTOS_STR_ORIGINAL_FILENAME "findstr.exe\0"

View File

@@ -1,5 +1,3 @@
#pragma once
#define IDS_USAGE 1000
#define IDS_NO_SUCH_FILE 1001
#define IDS_CANNOT_OPEN 1002

View File

@@ -1,3 +1,6 @@
#include <windows.h>
#include "resource.h"
// UTF-8
#pragma code_page(65001)
#ifdef LANGUAGE_BG_BG

View File

@@ -20,6 +20,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <windows.h>
#include <stdio.h>
#include "display.h"
#define SPACING1 8
@@ -88,7 +91,7 @@ Display_DrawText(HDC hDC, DISPLAYDATA* pData, int nYPos)
GetTextMetrics(hDC, &tm);
swprintf(szCaption, L"%s%s", pData->szTypeFaceName, pData->szFormat);
TextOutW(hDC, 0, y, szCaption, (INT)wcslen(szCaption));
TextOutW(hDC, 0, y, szCaption, wcslen(szCaption));
y += tm.tmHeight + SPACING1;
/* Draw a seperation Line */
@@ -103,15 +106,15 @@ Display_DrawText(HDC hDC, DISPLAYDATA* pData, int nYPos)
SelectObject(hDC, pData->hCharSetFont);
GetTextMetrics(hDC, &tm);
swprintf(szCaption, L"abcdefghijklmnopqrstuvwxyz");
TextOutW(hDC, 0, y, szCaption, (INT)wcslen(szCaption));
TextOutW(hDC, 0, y, szCaption, wcslen(szCaption));
y += tm.tmHeight + 1;
swprintf(szCaption, L"ABCDEFGHIJKLMNOPQRSTUVWXYZ");
TextOutW(hDC, 0, y, szCaption, (INT)wcslen(szCaption));
TextOutW(hDC, 0, y, szCaption, wcslen(szCaption));
y += tm.tmHeight + 1;
swprintf(szCaption, L"0123456789.:,;(\"~!@#$%^&*')");
TextOutW(hDC, 0, y, szCaption, (INT)wcslen(szCaption));
TextOutW(hDC, 0, y, szCaption, wcslen(szCaption));
y += tm.tmHeight + 1;
/* Draw a seperation Line */
@@ -124,40 +127,18 @@ Display_DrawText(HDC hDC, DISPLAYDATA* pData, int nYPos)
for (i = 0; i < MAX_SIZES; i++)
{
SelectObject(hDC, pData->hFonts[i]);
TextOutW(hDC, 20, y, pData->szString, (INT)wcslen(pData->szString));
TextOutW(hDC, 20, y, pData->szString, wcslen(pData->szString));
GetTextMetrics(hDC, &tm);
y += tm.tmHeight + 1;
SelectObject(hDC, pData->hSizeFont);
swprintf(szSize, L"%d", pData->nSizes[i]);
TextOutW(hDC, 0, y - 13 - tm.tmDescent, szSize, (INT)wcslen(szSize));
TextOutW(hDC, 0, y - 13 - tm.tmDescent, szSize, wcslen(szSize));
}
SelectObject(hDC, hOldFont);
return y;
}
static int
CALLBACK
EnumFontFamProcW(
const LOGFONTW *lpelfe,
const TEXTMETRICW *lptm,
DWORD FontType,
LPARAM lParam)
{
PNEWTEXTMETRICW pntmw = (PNEWTEXTMETRICW)lptm;
PBOOL pfOpenType = (PBOOL)lParam;
if (FontType & TRUETYPE_FONTTYPE)
{
if (pntmw->ntmFlags & (NTM_TT_OPENTYPE | NTM_PS_OPENTYPE))
{
*pfOpenType = TRUE;
return FALSE;
}
}
return TRUE;
}
static LRESULT
Display_SetTypeFace(HWND hwnd, PEXTLOGFONTW pExtLogFont)
{
@@ -182,27 +163,12 @@ Display_SetTypeFace(HWND hwnd, PEXTLOGFONTW pExtLogFont)
pData->hCharSetFont = CreateFontIndirectW(&logfont);
/* Get font format */
// FIXME: Get the real font format (OpenType?)
SelectObject(hDC, pData->hCharSetFont);
GetTextMetrics(hDC, &tm);
if (tm.tmPitchAndFamily & TMPF_TRUETYPE)
if ((tm.tmPitchAndFamily & TMPF_TRUETYPE) == TMPF_TRUETYPE)
{
BOOL fOpenType = FALSE;
EnumFontFamiliesExW(hDC, &logfont,
EnumFontFamProcW, (LPARAM)&fOpenType, 0);
if (fOpenType)
swprintf(pData->szFormat, L" (OpenType)");
else
swprintf(pData->szFormat, L" (TrueType)");
}
else if (tm.tmPitchAndFamily & TMPF_VECTOR)
{
swprintf(pData->szFormat, L" (Vector)");
}
else
{
swprintf(pData->szFormat, L" (Raster)");
swprintf(pData->szFormat, L" (TrueType)");
}
for (i = 0; i < MAX_SIZES; i++)
@@ -418,7 +384,7 @@ Display_OnPrint(HWND hwnd)
TEXTMETRIC tm;
int copies, yPos;
DISPLAYDATA* pData;
pData = malloc(sizeof(DISPLAYDATA));
ZeroMemory(pData, sizeof(DISPLAYDATA));

View File

@@ -1,13 +1,5 @@
#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wingdi.h>
#include <commdlg.h>
/* Messages for the display class */
#define FVM_SETTYPEFACE WM_USER
#define FVM_SETSTRING (WM_USER + 1)

View File

@@ -104,14 +104,14 @@ WinMain (HINSTANCE hThisInstance,
OPENFILENAMEW fontOpen;
WCHAR szFileName[MAX_PATH] = L"";
HLOCAL dialogTitle = NULL;
/* Gets the title for the dialog box ready */
FormatString(FORMAT_MESSAGE_ALLOCATE_BUFFER,
NULL, IDS_OPEN, 0, (LPWSTR)&dialogTitle, 0, NULL);
/* Clears out any values of fontOpen before we use it */
ZeroMemory(&fontOpen, sizeof(fontOpen));
/* Sets up the open dialog box */
fontOpen.lStructSize = sizeof(fontOpen);
fontOpen.hwndOwner = NULL;
@@ -122,7 +122,7 @@ WinMain (HINSTANCE hThisInstance,
fontOpen.nMaxFile = MAX_PATH;
fontOpen.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
fontOpen.lpstrDefExt = L"ttf";
/* Opens up the Open File dialog box in order to chose a font file. */
if(GetOpenFileNameW(&fontOpen))
{
@@ -133,7 +133,7 @@ WinMain (HINSTANCE hThisInstance,
exiting the program altogether */
return 0;
}
LocalFree(dialogTitle);
}
else
@@ -142,7 +142,7 @@ WinMain (HINSTANCE hThisInstance,
fileName = argv[1];
g_fileName = fileName;
}
if (!AddFontResourceW(fileName))
{
ErrorMsgBox(0, IDS_ERROR, IDS_ERROR_NOFONT, fileName);
@@ -221,7 +221,7 @@ WinMain (HINSTANCE hThisInstance,
RemoveFontResourceW(argv[1]);
return (int)msg.wParam;
return msg.wParam;
}
static LRESULT
@@ -326,7 +326,7 @@ static LRESULT
MainWnd_OnInstall(HWND hwnd)
{
DWORD fontExists;
/* First, we have to find out if the font still exists. */
fontExists = GetFileAttributes((LPCSTR)g_fileName);
if (fontExists != 0xFFFFFFFF) /* If the file does not exist */
@@ -334,11 +334,11 @@ MainWnd_OnInstall(HWND hwnd)
ErrorMsgBox(0, IDS_ERROR, IDS_ERROR_NOFONT, g_fileName);
return -1;
}
//CopyFile(g_fileName, NULL, TRUE);
MessageBox(hwnd, TEXT("This function is unimplemented"), TEXT("Unimplemented"), MB_OK);
return 0;
}

View File

@@ -1,7 +1,4 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <shellapi.h>
#include <windows.h>
#include "resource.h"
#include "display.h"

View File

@@ -1,5 +1,4 @@
#include <windef.h>
#include <windows.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
@@ -20,7 +19,6 @@ END
// UTF-8
#pragma code_page(65001)
#ifdef LANGUAGE_BG_BG
#include "lang/bg-BG.rc"
#endif
@@ -36,12 +34,6 @@ END
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_IT_IT
#include "lang/it-IT.rc"
#endif
#ifdef LANGUAGE_LT_LT
#include "lang/lt-LT.rc"
#endif

View File

@@ -1,13 +0,0 @@
LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_INSTALL, "Installa"
IDS_PRINT, "Stampa"
IDS_STRING, ""
IDS_OPEN, "Open Font..."
IDS_ERROR, "Errore"
IDS_ERROR_NOMEM, "Memoria insufficiente per completare l'operazione."
IDS_ERROR_NOFONT, "Il file% 1 non è un file di origine valido."
IDS_ERROR_NOCLASS, "Impossibile avviare la classe."
END

View File

@@ -1,12 +1,12 @@
//2012.09.09 - Fulea Ștefan: update caused by r56898, corrections
//2011.10.17 - Fulea Ștefan: diacritics changes, other minor changes
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_INSTALL, "Inst&alează"
IDS_PRINT, "I&mprimă"
IDS_INSTALL, "Install"
IDS_PRINT, "Imprimare"
IDS_STRING, "Turubinele eoliene generează câțiva MJ (câțiva kW•h) în exces, acoperind și necesarul familiei. QY 1234567890"
IDS_OPEN, "Deschidere font…"
IDS_OPEN, "Open Font..."
IDS_ERROR, "Eroare"
IDS_ERROR_NOMEM, "Nu e destulă memorie pentru a încheia operația."
IDS_ERROR_NOFONT, "Fișierul «%1» este un fișier font deteriorat."

View File

@@ -1,4 +1,3 @@
#pragma once
#define IDS_ERROR 100
#define IDS_ERROR_NOMEM 101
@@ -13,3 +12,4 @@
#define IDS_CHARSLOWER 700
#define IDS_CHARSUPPER 701
#define IDS_SPECIALCHARS 702

View File

@@ -5,7 +5,6 @@
* PURPOSE: English Language File for Solitaire
* PROGRAMMERS: Daniel "EmuandCo" Reimer (reimer.daniel@freenet.de)
*/
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

View File

@@ -19,8 +19,8 @@ BEGIN
AUTORADIOBUTTON "1 枚ずつ取る(&O)", IDC_OPT_DRAWONE, 14, 19, 70, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "3 枚ずつ取る(&T)", IDC_OPT_DRAWTHREE, 14, 32, 70, 10
AUTOCHECKBOX "時間を表示する(&S)", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP | WS_DISABLED
AUTOCHECKBOX "ステータスバーを表示する(&T)", IDC_OPT_STATUSBAR, 7, 66, 64, 10, WS_TABSTOP
AUTOCHECKBOX "時間を表 示する(&S)", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP | WS_DISABLED
AUTOCHECKBOX "ステータスバーを表 示する(&T)", IDC_OPT_STATUSBAR, 7, 66, 64, 10, WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 35, 97, 50, 14
PUSHBUTTON "キャンセル", IDCANCEL, 101, 97, 50, 14
@@ -53,8 +53,8 @@ END
STRINGTABLE
BEGIN
IDS_SOL_NAME "ソリティア"
IDS_SOL_ABOUT "J Brown によるソリティア\n\nCardLib バージョン 1.0。"
IDS_SOL_NAME "ソ リティア"
IDS_SOL_ABOUT "J Brown によるソ リティア\n\nCardLib バージョン 1.0。"
IDS_SOL_QUIT "現在のゲームを終了しますか?"
IDS_SOL_WIN "おめでとう、あなたの勝ちです!"
IDS_SOL_DEAL "もう一度カードを配りますか?"

View File

@@ -1,94 +0,0 @@
/*
* PROJECT: Solitaire
* LICENSE: Freeware, permission to use under Public Domain
* FILE: base/applications/games/solitaire/lang/tr-TR.rc
* PURPOSE: Turkish Language File for Solitaire
* PROGRAMMERS: Daniel "EmuandCo" Reimer (reimer.daniel@freenet.de)
* TRANSLATOR: Erdem Ersoy (eersoy93)
*/
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
/* Dialogs */
IDD_OPTIONS DIALOGEX DISCARDABLE 0, 0, 186, 118
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
CAPTION "Ayarlar"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Kağıtlar", -1, 7, 7, 90, 40
AUTORADIOBUTTON "&Tekli çek", IDC_OPT_DRAWONE, 14, 19, 70, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "&Üçlü çek", IDC_OPT_DRAWTHREE, 14, 32, 70, 10
AUTOCHECKBOX "&Süreyi göster", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP | WS_DISABLED
AUTOCHECKBOX "&Durum çubuğu", IDC_OPT_STATUSBAR, 7, 66, 64, 10, WS_TABSTOP
DEFPUSHBUTTON "Tamam", IDOK, 35, 97, 50, 14
PUSHBUTTON "Vazgeç", IDCANCEL, 101, 97, 50, 14
END
IDD_CARDBACK DIALOGEX 6, 6, 186, 104
CAPTION "Deste Seç"
FONT 8, "MS Shell Dlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
BEGIN
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 26, 32
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 34, 7, 26, 32
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 64, 7, 26, 32
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 94, 7, 26, 32
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 124, 7, 26, 32
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 154, 7, 26, 32
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 46, 26, 32
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 34, 46, 26, 32
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 64, 46, 26, 32
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 94, 46, 26, 32
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 124, 46, 26, 32
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 154, 46, 26, 32
DEFPUSHBUTTON "Tamam", IDOK, 66, 84, 54, 13
PUSHBUTTON "Vazgeç", IDCANCEL, 126, 84, 54, 13
END
/* Strings */
STRINGTABLE
BEGIN
IDS_SOL_NAME "Solitaire"
IDS_SOL_ABOUT "Solitaire, J Brown tarafından yapılmıştır.\n\nCardLib sürümü: 1.0"
IDS_SOL_QUIT "Bu oyundan çıkmak ister misiniz?"
IDS_SOL_WIN "Tebrikler, kazandınız!"
IDS_SOL_DEAL "Tekrar dağıtılsın mı?"
END
/* Menus */
IDR_MENU1 MENU DISCARDABLE
BEGIN
POPUP "&Oyun"
BEGIN
MENUITEM "&Dağıt\tF2", IDM_GAME_NEW
MENUITEM SEPARATOR
MENUITEM "D&esteler...", IDM_GAME_DECK
MENUITEM "&Ayarlar...", IDM_GAME_OPTIONS
MENUITEM SEPARATOR
MENUITEM "&Çıkış", IDM_GAME_EXIT
END
POPUP "&Yardım"
BEGIN
MENUITEM "&Yardım Konuları\tF1", IDM_HELP_CONTENTS
MENUITEM "&Hakkında", IDM_HELP_ABOUT
END
END
/* Accelerator */
IDR_ACCELERATOR1 ACCELERATORS DISCARDABLE
BEGIN
VK_F1, IDM_HELP_CONTENTS, VIRTKEY, NOINVERT
VK_F2, IDM_GAME_NEW, VIRTKEY, NOINVERT
END

View File

@@ -1,4 +1,3 @@
#pragma once
/* Icon */
#define IDI_SOLITAIRE 100

View File

@@ -1,6 +1,4 @@
#include <windef.h>
#include <winuser.h>
#include <windows.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
@@ -36,9 +34,6 @@ IDI_SOLITAIRE ICON DISCARDABLE "solitaire.ico"
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_HU_HU
#include "lang/hu-HU.rc"
#endif
@@ -81,9 +76,6 @@ IDI_SOLITAIRE ICON DISCARDABLE "solitaire.ico"
#ifdef LANGUAGE_TH_TH
#include "lang/th-TH.rc"
#endif
#ifdef LANGUAGE_TR_TR
#include "lang/tr-TR.rc"
#endif
#ifdef LANGUAGE_UK_UA
#include "lang/uk-UA.rc"
#endif

View File

@@ -1,14 +1,11 @@
#define WIN32_NO_STATUS
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winuser.h>
#include <windows.h>
#include <commctrl.h>
#include <tchar.h>
#include <cardlib.h>
#include <stdio.h>
#include <stdlib.h>
#include "resource.h"
#include "cardlib.h"
extern CardWindow SolWnd;
extern TCHAR szAppName[];

View File

@@ -49,7 +49,7 @@ END
STRINGTABLE
BEGIN
IDS_SPI_NAME "スパイダ"
IDS_SPI_ABOUT "Gregor Schneider によるスパイダ ソリティア\n\nCardLib バージョン 1.0"
IDS_SPI_ABOUT "Gregor Schneider によるスパイダ ソ リティア\n\nCardLib バージョン 1.0"
IDS_SPI_QUIT "現在のゲームを終了しますか?"
IDS_SPI_WIN "おめでとう、あなたの勝ちです!"
IDS_SPI_DEAL "もう一度カードを配りますか?"

View File

@@ -1,86 +0,0 @@
/*
* PROJECT: Spider Solitaire
* LICENSE: See COPYING in top level directory
* FILE: base/applications/games/spider/lang/tr-TR.rc
* PURPOSE: Turkish Language File for Spider Solitaire
* TRANSLATOR: Erdem Ersoy (eersoy93)
*/
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
/* Dialogs */
IDD_CARDBACK DIALOGEX 6, 6, 186, 104
CAPTION "Deste Seç"
FONT 8, "MS Shell Dlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
BEGIN
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 26, 32
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 34, 7, 26, 32
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 64, 7, 26, 32
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 94, 7, 26, 32
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 124, 7, 26, 32
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 154, 7, 26, 32
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 46, 26, 32
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 34, 46, 26, 32
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 64, 46, 26, 32
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 94, 46, 26, 32
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 124, 46, 26, 32
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 154, 46, 26, 32
DEFPUSHBUTTON "Tamam", IDOK, 66, 84, 54, 13
PUSHBUTTON "Vazgeç", IDCANCEL, 126, 84, 54, 13
END
IDD_DIFFICULTY DIALOGEX DISCARDABLE 100, 100, 106, 80
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
CAPTION "Zorluk"
FONT 8, "MS Shell Dlg"
BEGIN
AUTORADIOBUTTON "Kolay: &Tek renk", IDC_DIF_ONECOLOR, 8, 10, 80, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "Orta: &İki renk", IDC_DIF_TWOCOLORS, 8, 23, 80, 10
AUTORADIOBUTTON "Zor: &Dört Renk", IDC_DIF_FOURCOLORS, 8, 36, 80, 10
DEFPUSHBUTTON "Tamam", IDOK, 8, 58, 40, 14
PUSHBUTTON "Vazgeç", IDCANCEL, 58, 58, 40, 14
END
/* Strings */
STRINGTABLE
BEGIN
IDS_SPI_NAME "Spider"
IDS_SPI_ABOUT "Spider Solitaire Gregor Schneider tarafından yapılmıştır.\n\nCardLib sürümü: 1.0"
IDS_SPI_QUIT "Bu oyundan çıkmak ister misiniz?"
IDS_SPI_WIN "Tebrikler, kazandınız!"
IDS_SPI_DEAL "Tekrar dağıtılsın mı?"
END
/* Menus */
IDR_MENU1 MENU DISCARDABLE
BEGIN
POPUP "&Oyun"
BEGIN
MENUITEM "&Yeni oyun\tF2", IDM_GAME_NEW
MENUITEM SEPARATOR
MENUITEM "&Desteler...", IDM_GAME_DECK
MENUITEM SEPARATOR
MENUITEM "&Çıkış", IDM_GAME_EXIT
END
POPUP "&Yardım"
BEGIN
MENUITEM "&Yardım Konuları\tF1", IDM_HELP_CONTENTS
MENUITEM "&Hakkında", IDM_HELP_ABOUT
END
END
/* Accelerator */
IDR_ACCELERATOR1 ACCELERATORS DISCARDABLE
BEGIN
VK_F1, IDM_HELP_CONTENTS, VIRTKEY, NOINVERT
VK_F2, IDM_GAME_NEW, VIRTKEY, NOINVERT
END

View File

@@ -1,5 +1,3 @@
#pragma once
/* Icon */
#define IDI_SPIDER 100
@@ -39,3 +37,4 @@
#define IDS_SPI_QUIT 1302
#define IDS_SPI_WIN 1303
#define IDS_SPI_DEAL 1304

View File

@@ -1,6 +1,4 @@
#include <windef.h>
#include <winuser.h>
#include <windows.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
@@ -24,9 +22,6 @@ IDI_SPIDER ICON DISCARDABLE "spider.ico"
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_HU_HU
#include "lang/hu-HU.rc"
#endif
@@ -57,9 +52,6 @@ IDI_SPIDER ICON DISCARDABLE "spider.ico"
#ifdef LANGUAGE_SV_SE
#include "lang/sv-SE.rc"
#endif
#ifdef LANGUAGE_TR_TR
#include "lang/tr-TR.rc"
#endif
#ifdef LANGUAGE_UK_UA
#include "lang/uk-UA.rc"
#endif

View File

@@ -1,13 +1,12 @@
#define WIN32_NO_STATUS
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <windows.h>
#include <commctrl.h>
#include <tchar.h>
#include <cardlib.h>
#include <stdio.h>
#include <stdlib.h>
#include "resource.h"
#include "cardlib.h"
#define DIFFICULTY_ONE_COLOR 1
#define DIFFICULTY_TWO_COLORS 2

View File

@@ -18,10 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#include <stdarg.h>
#include <windef.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "main.h"
#include "resource.h"

View File

@@ -2,8 +2,7 @@
* WineMine
* Turkish Language Support
*
* Copyright 2006 Fatih Aşıcı
* Copyright 2013 Erdem Ersoy (eersoy93)
* Copyright 2006 Fatih Aþýcý
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -23,40 +22,40 @@
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE BEGIN
IDS_APPNAME, "Mayın Tarlası"
IDS_APPNAME, "Wine Mayýn Tarlasý"
IDS_NOBODY, "Hiç kimse"
IDS_ABOUT, "Telif hakkı: Joshua Thielen, 2000"
IDS_ABOUT, "Telif hakký 2000, Joshua Thielen"
END
MENU_WINEMINE MENU
BEGIN
POPUP "&Seçenekler" BEGIN
MENUITEM "&Yeni\tF2", IDM_NEW
MENUITEM "&Yeni\tF2", IDM_NEW
MENUITEM SEPARATOR
MENUITEM "&Soru İmi", IDM_MARKQ
MENUITEM "&Soru Ýþareti", IDM_MARKQ
MENUITEM SEPARATOR
MENUITEM "&Başlangıç", IDM_BEGINNER
MENUITEM "&Orta", IDM_ADVANCED
MENUITEM "&İleri", IDM_EXPERT
MENUITEM "&Özel...", IDM_CUSTOM
MENUITEM "&Acemi", IDM_BEGINNER
MENUITEM "&Geliþmiþ", IDM_ADVANCED
MENUITEM "&Uzman", IDM_EXPERT
MENUITEM "&Özel", IDM_CUSTOM
MENUITEM SEPARATOR
MENUITEM "&Çıkış\tAlt+X", IDM_EXIT
MENUITEM "&Çýkýþ\tAlt+X", IDM_EXIT
END
POPUP "&Bilgi" BEGIN
MENUITEM "&En Kısa Süreler...", IDM_TIMES
MENUITEM "&Hakkında", IDM_ABOUT
MENUITEM "&En Kýsa Süreler", IDM_TIMES
MENUITEM "&Hakkýnda", IDM_ABOUT
END
END
DLG_TIMES DIALOGEX 0, 0, 160, 80
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
CAPTION "En Kısa Süreler"
CAPTION "En Kýsa Süreler"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "En Kısa Süreler", -1, 10, 10, 140, 45
LTEXT "Başlangıç", -1, 20, 20, 40, 8
LTEXT "Orta", -1, 20, 30, 40, 8
LTEXT "İleri", -1, 20, 40, 40, 8
GROUPBOX "En Kýsa Süreler", -1, 10, 10, 140, 45
LTEXT "Acemi", -1, 20, 20, 40, 8
LTEXT "Geliþmiþ", -1, 20, 30, 40, 8
LTEXT "Uzman", -1, 20, 40, 40, 8
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
@@ -71,9 +70,9 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
CAPTION "Tebrikler!"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Lütfen adınızı giriniz:", -1, 10, 10, 150, 10
LTEXT "Lütfen adýnýzý girin", -1, 10, 10, 150, 10
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
DEFPUSHBUTTON "Tamam", IDOK, 60, 40, 40, 15
DEFPUSHBUTTON "Tamam", IDOK, 60, 40, 40, 15
END
DLG_CUSTOM DIALOGEX 0, 0, 100, 100
@@ -81,12 +80,12 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
CAPTION "Özel Oyun"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Satırlar", -1, 5, 5, 30, 10
LTEXT "Satýrlar", -1, 5, 5, 30, 10
LTEXT "Sütunlar", -1, 5, 35, 30, 10
LTEXT "Mayınlar", -1, 5, 65, 30, 10
LTEXT "Mayýnlar", -1, 5, 65, 30, 10
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
DEFPUSHBUTTON "Tamam", IDOK, 40, 30, 50, 15
PUSHBUTTON "Vazgeç", IDCANCEL, 40, 50, 50, 15
DEFPUSHBUTTON "Tamam", IDOK, 40, 30, 50, 15
PUSHBUTTON "Ýptal", IDCANCEL, 40, 50, 50, 15
END

View File

@@ -1,3 +1,4 @@
/*
/*
* WineMine
* Ukrainian Language Support

View File

@@ -18,16 +18,13 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <wingdi.h>
#define WIN32_LEAN_AND_MEAN
#include <string.h>
#include <time.h>
#include <windows.h>
#include <stdlib.h>
#include <shellapi.h>
#include "main.h"
#include "resource.h"
@@ -108,7 +105,7 @@ static void LoadBoard( BOARD *p_board )
p_board->IsMarkQ = TRUE;
for( i = 0; i < 3; i++ ) {
wsprintf( key_name, "Name%u", i+1 );
wsprintf( key_name, "Name%d", i+1 );
size = sizeof( data );
if( RegQueryValueEx( hkey, key_name, NULL, &type,
(LPBYTE) data, &size ) == ERROR_SUCCESS )
@@ -118,7 +115,7 @@ static void LoadBoard( BOARD *p_board )
}
for( i = 0; i < 3; i++ ) {
wsprintf( key_name, "Time%u", i+1 );
wsprintf( key_name, "Time%d", i+1 );
size = sizeof( p_board->best_time[i] );
if( !RegQueryValueEx( hkey, key_name, NULL, &type,
(LPBYTE) &p_board->best_time[i], &size ) == ERROR_SUCCESS )

View File

@@ -16,9 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#pragma once
#include <winuser.h>
#include <windows.h>
#define BEGINNER_MINES 10
#define BEGINNER_COLS 9

View File

@@ -18,7 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#pragma once
#include <windef.h>
#include <winuser.h>
#define ID_TIMER 1000

View File

@@ -19,9 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include <winuser.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL
@@ -47,7 +44,6 @@ MINES BITMAP rc/mines.bmp
/* include localised resources */
// UTF-8
#pragma code_page(65001)
#ifdef LANGUAGE_BG_BG
#include "lang/bg-BG.rc"
#endif
@@ -72,9 +68,6 @@ MINES BITMAP rc/mines.bmp
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_IT_IT
#include "lang/it-IT.rc"
#endif

View File

@@ -1,4 +1,4 @@
//#include <windows.h>
#include <windows.h>
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS HTML Help Executable\0"
#define REACTOS_STR_INTERNAL_NAME "hh\0"
@@ -6,3 +6,4 @@
#include <reactos/version.rc>
2 ICON DISCARDABLE hh.ico

View File

@@ -1,6 +1,4 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <windows.h>
typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline);

View File

@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include <windows.h>
extern DWORD WINAPI IEWinMain(LPSTR, int);

View File

@@ -1,11 +1,7 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <winuser.h>
#include <winnls.h>
#include <winreg.h>
#include <wingdi.h>
#include <shellapi.h>
#include <tchar.h>
#include "resource.h"

View File

@@ -1,6 +1,5 @@
#include <windef.h>
#include "resource.h"
#include <windows.h>
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View File

@@ -1,5 +1,3 @@
#pragma once
/* Icons */
#define IDI_MAIN 100

View File

@@ -1,6 +1,5 @@
// UTF-8
#pragma code_page(65001)
#ifdef LANGUAGE_BG_BG
#include "lang/bg-BG.rc"
#endif
@@ -19,9 +18,6 @@
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_IT_IT
#include "lang/it-IT.rc"
#endif

View File

@@ -4,8 +4,8 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "セッションを終了します。\n\n\
/v\t\t実行中に詳細情報を表示します。\n\
/?\t\tこの情報を表示します。\n\n"
/v\t\t実行中に詳細情報を表 示します。\n\
/?\t\tこの情報を表 示します。\n\n"
IDS_LOGOFF_REMOTE, "リモート マシンのセッションを終了しています。"
IDS_LOGOFF_LOCAL, "このマシンの現在のセッションを終了しています。"

View File

@@ -1,5 +1,4 @@
#include <windef.h>
#include <windows.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Logoff Utility\0"

View File

@@ -1,16 +1,11 @@
#ifndef __SHUTDOWN_PRECOMP_H
#define __SHUTDOWN_PRECOMP_H
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <stdio.h>
//#include <stdlib.h>
#include <stdlib.h>
#include <windows.h>
#include <tchar.h>
//#include <reason.h> //shutdown codes
#include <reason.h> //shutdown codes
#include "resource.h"
// misc.c

View File

@@ -1,5 +1,3 @@
#pragma once
#define IDS_USAGE 1000
#define IDS_LOGOFF_REMOTE 1001
#define IDS_LOGOFF_LOCAL 1002

View File

@@ -1,72 +0,0 @@
/*
* PROJECT: ReactOS Magnifier
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/magnify/lang/tr-TR.rc
* PURPOSE: Turkish Language File for Magnifier
* TRANSLATOR: 2013 - Erdem Ersoy (eersoy93)
*/
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
IDC_MAGNIFIER MENU
BEGIN
POPUP "&Seçke"
BEGIN
MENUITEM "&Çıkış", IDM_EXIT
MENUITEM "&Ayarlar...", IDM_OPTIONS
MENUITEM SEPARATOR
MENUITEM "&Hakkında", IDM_ABOUT
END
END
IDC_MAGNIFIER ACCELERATORS
BEGIN
"?", IDM_ABOUT, ASCII, ALT
"/", IDM_ABOUT, ASCII, ALT
END
IDD_ABOUTBOX DIALOGEX 22, 17, 220, 75
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_CAPTION | WS_SYSMENU
CAPTION "Hakkında"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
ICON IDI_ICON,IDC_MYICON,14,9,20,20
LTEXT "Büyüteç: Sürüm 1.0",IDC_STATIC,49,10,119,8,SS_NOPREFIX
LTEXT "Telif Hakkı: 2007 - Marc Piulachs (marc.piulachs@codexchange.net)",IDC_STATIC,48,24,125,22
PUSHBUTTON "Tamam",IDOK,162,48,50,14
END
IDD_DIALOGOPTIONS DIALOGEX 0, 0, 153, 182
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Büyüteç Ayarları"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "Çıkış",IDOK,96,161,50,14
PUSHBUTTON "Yardım",IDC_BUTTON_HELP,38,161,50,14
LTEXT "Büyütme düzeyi:",IDC_STATIC,6,8,68,8
COMBOBOX IDC_ZOOM,72,6,63,66,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
GROUPBOX "İzleme",IDC_STATIC,7,25,139,59
GROUPBOX "Sunum",IDC_STATIC,7,87,139,57
CONTROL "Fare imlecini takip et",IDC_FOLLOWMOUSECHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,42,114,10
CONTROL "Düğme takımı odağını izle",IDC_FOLLOWKEYBOARDCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,54,114,10
CONTROL "Metin düzenlemesini izle",IDC_FOLLOWTEXTEDITINGCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,66,114,10
CONTROL "Renkleri ters çevir",IDC_INVERTCOLORSCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,102,114,10
CONTROL "Simge durumunda başlat",IDC_STARTMINIMIZEDCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,114,114,10
CONTROL "Büyüteci göster",IDC_SHOWMAGNIFIERCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,126,114,10
END
IDD_WARNINGDIALOG DIALOGEX 0, 0, 250, 97
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
CAPTION "ReactOS Büyüteç"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "Tamam",IDOK,193,76,50,14
ICON IDI_ICON,IDC_STATIC,7,17,20,20
LTEXT "Büyüteç, hafif görme engelli kullanıcıların en az çaba harcamaları için tasarlanmıştır. Görme engelli bir çok kullanıcı, günlük kullanım için bu aracı kullanmaya gereksinim duyacaktır.",IDC_STATIC,36,7,207,33
CONTROL "Bunu bir daha gösterme",IDC_SHOWWARNINGCHECK, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,43,80,137,10
END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Büyüteç"
END

View File

@@ -18,14 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winreg.h>
#include <wingdi.h>
#include <tchar.h>
//////////////////////////////////////////////////////////////////
#include <windows.h>
#include <commctrl.h>
#include <tchar.h>
#include <shellapi.h>
#include "resource.h"
extern int iZoom;

View File

@@ -1,7 +1,5 @@
#include <windef.h>
#include <winuser.h>
#include "resource.h"
#include "magnifier.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View File

@@ -1,5 +1,3 @@
#pragma once
#define IDC_STATIC -1
#define IDI_ICON 101

View File

@@ -1,6 +1,8 @@
#include <windows.h>
#include "resource.h"
// UTF-8
#pragma code_page(65001)
#ifdef LANGUAGE_BG_BG
#include "lang/bg-BG.rc"
#endif
@@ -16,9 +18,6 @@
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_IT_IT
#include "lang/it-IT.rc"
#endif
@@ -46,9 +45,6 @@
#ifdef LANGUAGE_SV_SE
#include "lang/sv-SE.rc"
#endif
#ifdef LANGUAGE_TR_TR
#include "lang/tr-TR.rc"
#endif
#ifdef LANGUAGE_UK_UA
#include "lang/uk-UA.rc"
#endif

View File

@@ -1,5 +1,6 @@
#include <windef.h>
/* $Id: sndvol32.rc 23239 2006-07-23 09:59:30Z janderwald $ */
#include <windows.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Management Console\0"

View File

@@ -1,10 +1,8 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <commctrl.h>
#include <tchar.h>
#include <windows.h>
#include <commctrl.h>
#include <shellapi.h>
#include <tchar.h>
#include "resource.h"
/* console.c */

View File

@@ -1,6 +1,8 @@
#include <windows.h>
#include "resource.h"
// UTF-8
#pragma code_page(65001)
#ifdef LANGUAGE_BG_BG
#include "lang/bg-BG.rc"
#endif
@@ -25,9 +27,6 @@
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_IT_IT
#include "lang/it-IT.rc"
#endif

View File

@@ -1,30 +0,0 @@
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
IDR_MAINMENU MENU
BEGIN
POPUP "&Kütük"
BEGIN
MENUITEM "&Aç...", IDM_OPEN_FILE
MENUITEM "&Kapat", IDM_CLOSE_FILE
MENUITEM SEPARATOR
MENUITEM "&Çıkış", IDM_EXIT
END
POPUP "&Yardım"
BEGIN
MENUITEM "&Hakkında", IDM_ABOUT
END
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_ALL_TYPES_FILTER "Tüm Desteklenen Dosyalar (*.wav, *.cda, *.mid, *.midi, *.avi)\0*.wav;*.cda;*.mid;*.midi;*.avi\0"
IDS_TOOLTIP_PLAY "Çal"
IDS_TOOLTIP_STOP "Durdur"
IDS_TOOLTIP_EJECT "Çıkar"
IDS_TOOLTIP_BACKWARD "Bir Önceki"
IDS_TOOLTIP_SEEKBACK "Geri Sar"
IDS_TOOLTIP_SEEKFORW "İleri Sar"
IDS_TOOLTIP_FORWARD "Bir Sonraki"
IDS_APPTITLE "ReactOS Çokluortam Oynatıcısı"
IDS_PLAY "Çal"
END

View File

@@ -1,11 +1,4 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wingdi.h>
#include <commdlg.h>
#include <shellapi.h>
#include <mmsystem.h>
#include <windows.h>
#include <commctrl.h>
#include <tchar.h>

View File

@@ -1,5 +1,4 @@
#include <windef.h>
#include <windows.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Multimedia Player\0"

View File

@@ -1,3 +1,6 @@
#include <windows.h>
#include "resource.h"
// UTF-8
#pragma code_page(65001)
#ifdef LANGUAGE_BG_BG
@@ -18,9 +21,6 @@
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
#ifdef LANGUAGE_IT_IT
#include "lang/it-IT.rc"
#endif
@@ -51,9 +51,6 @@
#ifdef LANGUAGE_SV_SE
#include "lang/sv-SE.rc"
#endif
#ifdef LANGUAGE_TR_TR
#include "lang/tr-TR.rc"
#endif
#ifdef LANGUAGE_UK_UA
#include "lang/uk-UA.rc"
#endif

View File

@@ -7,7 +7,7 @@
* 2011 Gregor Schneider <Gregor.Schneider@reactos.org>
*/
#include "precomp.h"
#include <precomp.h>
HWND hFreeLdrPage;
HWND hFreeLdrDialog;

Some files were not shown because too many files have changed in this diff Show More