Commit graph

52551 commits

Author SHA1 Message Date
Amine Khaldi 482bde30b5 * Addendum to r58141.
svn path=/trunk/; revision=58142
2013-01-08 20:34:19 +00:00
Amine Khaldi 8ca80bb2cb * Visual Studio IDE support bringup. We can now even compile bootcd/livecd...etc straight from the IDE.
* For anyone who wants to work only on a certain module (or a set of modules), you can add "project(module)" to the related CMake file. This will generate a solution that contains all the required dependencies needed to compile only that module, without having to open a huge solution with 900+ projects.
* We'll create a wiki page to explain how to use this in detail.
* Dedicated to all VS users. Have fun ;)

svn path=/trunk/; revision=58141
2013-01-08 20:33:08 +00:00
Hermès Bélusca-Maïto 65de4100f6 Precision: r58138 was part 2a/3 of my changes.
[KERNEL32-RAMDISK]
Continue to use the new debugging macros introduced in r58132.

Part 2b/3

svn path=/trunk/; revision=58140
2013-01-08 00:35:26 +00:00
Timo Kreuzer 15eb0fd332 [SAL]
Try to fix MSVC analyze

svn path=/trunk/; revision=58139
2013-01-07 22:40:52 +00:00
Hermès Bélusca-Maïto 126cb7dacd [NTOSKRNL-CMLIB]
Continue to use the new debugging macros introduced in r58132.

svn path=/trunk/; revision=58138
2013-01-07 22:11:06 +00:00
Hermès Bélusca-Maïto 861e9a0a55 [REACTOS]
I hope this solution will work *sigh*

svn path=/trunk/; revision=58137
2013-01-06 23:50:52 +00:00
Hermès Bélusca-Maïto 2ee69a3c10 [REACTOS]
Attempt to fix compilation by lying at NDK.

svn path=/trunk/; revision=58136
2013-01-06 23:42:25 +00:00
Hermès Bélusca-Maïto 959e4790c6 [REACTOS]
- Fix the debugging macros I've introduced in r58132; in particular do not use while(true); for forbidding the user to continue execution, but instead raise an exception with EXCEPTION_NONCONTINUABLE flag (included when called RtlRaiseStatus).
- Adjust the definition of RtlRaiseStatus (in kernel-mode it is ExRaiseStatus which is used).

svn path=/trunk/; revision=58135
2013-01-06 23:29:05 +00:00
Olaf Siejka 6d9be19636 [TRANSLATION]
- romanian translation update by Stefan Fulea; CORE-6718
- fix for japaneese cmd translation by Tomoya Kitagawa; CORE-6820
- polish translation update of desk and input;

svn path=/trunk/; revision=58134
2013-01-06 22:38:20 +00:00
Thomas Faber 235fde5f97 [RTL]
- Use correct registry value names for time zone information

svn path=/trunk/; revision=58133
2013-01-06 20:52:02 +00:00
Hermès Bélusca-Maïto 34daa9e99c [REACTOS]
Introduce four new debugging macros, ERROR_DBGBREAK, ERROR_FATAL, UNIMPLEMENTED_DBGBREAK, UNIMPLEMENTED_FATAL (and two helpers, __NOTICE and __ERROR_DBGBREAK).
They are designed to display on the debug-log a printf-like user-defined message and to break into the debugger.
- The *_DBGBREAK macros break only into the debugger and allow to continue (they don't hang).
- The *_FATAL macros break into the debugger and then halt the execution.

(Based on an idea of Aleksey Bragin, see the ros-dev mailing list about the while(true) --> assert(false); changes).

[NTOSKRNL]
Use these macros instead of ASSERT(FALSE); introduced in revisions r58110, r58111 and r58112 to replace while(TRUE); halts.

Part 1/3

svn path=/trunk/; revision=58132
2013-01-06 18:47:39 +00:00
Thomas Faber 04c2d31986 [RPCRT4][SHDOCVW]
- Add missing __WINESRC__ definitions. Fixes some warnings.
CORE-6784 #resolve

svn path=/trunk/; revision=58131
2013-01-06 14:32:46 +00:00
Eric Kohl 0adc421511 [NETAPI32]
- NetUserGetInfo: Add Support for info level 23.
- Convert UserAccountControl flags to user info flags and convert last logon, last logoff and account expires time.

svn path=/trunk/; revision=58130
2013-01-06 14:24:40 +00:00
Eric Kohl 79d2fc2c7a [PSDK]
Add missing types USER_INFO_4 and USER_INFO_23.

svn path=/trunk/; revision=58129
2013-01-06 13:22:47 +00:00
Eric Kohl e31ab5ce32 [SAMSRV]
SAM Setup: Set the UserAccountControl flags when user accounts are created.

svn path=/trunk/; revision=58128
2013-01-06 13:03:01 +00:00
Thomas Faber 40d30b8b21 [EXPLORER_NEW]
- Open run dialog when Win+R was pressed. Patch by Edijs Kolesnikovičs.
CORE-6863 #resolve

svn path=/trunk/; revision=58127
2013-01-06 12:04:48 +00:00
Thomas Faber d655fccbd2 [TIMEDATE]
- Correctly show current time zone name even if no daylight saving settings are set. Patch by Lee Schroeder.
CORE-6803 #resolve #comment Fixed, thanks. Sorry for the long wait.

svn path=/trunk/; revision=58126
2013-01-06 11:37:11 +00:00
Eric Kohl dc303b40f8 [NETAPI32]
Fix indentation. No code changes!

svn path=/trunk/; revision=58125
2013-01-06 10:45:46 +00:00
Thomas Faber 81f292a1fe [EXPLORER_NEW]
- Move "Show window previews (thumbnails)" option to advanced tab, as it doesn't exist in Windows. Patch by Edijs Kolesnikovičs.
CORE-6840 #resolve

svn path=/trunk/; revision=58124
2013-01-06 10:36:49 +00:00
Thomas Faber 6effe35b24 [EXPLORER_NEW]
- Plug a memory leak in IDropTargetImpl
- Do not allocate 64x the required space in TaskSwitchWnd_AllocTaskItem
- Properly free and unregister the tray window
- Fix a few more style issues

svn path=/trunk/; revision=58123
2013-01-06 10:12:39 +00:00
Thomas Faber b9a482f6fd [EXPLORER_NEW]
- Correctly load and save advanced setting(s). Patch by Edijs Kolesnikovičs.
CORE-6835 #resolve

svn path=/trunk/; revision=58122
2013-01-06 10:08:10 +00:00
Eric Kohl 638a8ff859 [NETAPI32]
Add information level 2 and 3 for NetUserEnum and NetUserGetInfo.

svn path=/trunk/; revision=58118
2013-01-05 21:04:54 +00:00
Eric Kohl f7dbb49d4c [SAMSRV]
Implement SamrQueryInformationUser.UserParametersInformation and set the Parameters attribute when a new user is created.

svn path=/trunk/; revision=58117
2013-01-05 20:30:06 +00:00
Timo Kreuzer 6790ef337f [WIN32K]
In NtGdiStretchDIBitsInternal check early for info dc / mem dc without surface, only allocate memory and copy bits if the caller actually passed bits (they are optional), free the allocation, when an exception happens instead of leaking the memory.

svn path=/trunk/; revision=58116
2013-01-05 19:57:59 +00:00
Aleksey Bragin 5cd0165757 [REACTOS]
- Happy New Year! This one is better than r54799 which is a good progress!

svn path=/trunk/; revision=58115
2013-01-05 11:05:23 +00:00
Hermès Bélusca-Maïto 9cde74e38c [TASKMGR]
Fix a misspelling in French translation.

svn path=/trunk/; revision=58113
2013-01-04 13:26:34 +00:00
Hermès Bélusca-Maïto 8f7be5bbc8 while (TRUE); (when something is unimplemented) ---> ASSERT(FALSE); // while (TRUE); and in some cases, return an adequate value.
Part 2/2

Some while(true); remain in our code, however not in critical regions.

svn path=/trunk/; revision=58112
2013-01-04 12:54:39 +00:00
Hermès Bélusca-Maïto 4c4fd151f2 while (TRUE); (when something is unimplemented) ---> ASSERT(FALSE); // while (TRUE); (unless we deal with a 'noreturn' function),
and in some cases, return an adequate value. In some places however, I add an ASSERT(FALSE); before keeping the while (TRUE); in critical regions.

(Only x86, as well as in r58110). More ASSERTS (in debug mode) or BSODs may appear, instead of having hung threads.

Part 1-bis/2

svn path=/trunk/; revision=58111
2013-01-04 12:31:46 +00:00
Hermès Bélusca-Maïto b70845423e while (TRUE); (when something is unimplemented) ---> ASSERT(FALSE); // while (TRUE); (unless we deal with a 'noreturn' function),
and in some cases, return an adequate value.

Part 1/2

svn path=/trunk/; revision=58110
2013-01-04 11:47:19 +00:00
Timo Kreuzer a65f18771b [WIN32K]
Implement DC_hSelectFont, use it from NtGdiSelectFont and GdiFlushUserBatch. Make sure plfnt is != NULL before dereferencing it in "TEXTOBJ_LockText"

svn path=/trunk/; revision=58109
2013-01-04 11:02:43 +00:00
Timo Kreuzer fd43db5558 [NTOSKRNL]
Implement protection changing in NtAllocateVirtualMemory. 
Fixes "Assertion 'ChangeProtection == FALSE' failed"

svn path=/trunk/; revision=58108
2013-01-04 01:06:51 +00:00
Timo Kreuzer 5b8fa09fc2 [INCLUDE]
Delete obsolete files

svn path=/trunk/; revision=58106
2013-01-03 20:56:00 +00:00
Timo Kreuzer 1510c13569 [WIN32K]
Handle references to DC selected fonts, so we don't leak them or use fonts that are already deleted.

svn path=/trunk/; revision=58102
2013-01-03 08:45:00 +00:00
Timo Kreuzer eb2bbd0d4b [WIN32K]
Revert the revert from r58091 and apply a correct fix (passed parameters to RECTL_vSetRect() in wrong order)

svn path=/trunk/; revision=58101
2013-01-02 14:52:34 +00:00
Timo Kreuzer aeb1964acb [GDI32]
Set correct last error code in GetClipRgn. Fixes regression from r58089.


svn path=/trunk/; revision=58099
2013-01-02 10:54:54 +00:00
Eric Kohl 0fea31f7a2 [NETAPI32]
NetUserGetLocalGroups: Replace the simulation by a working implementation.

svn path=/trunk/; revision=58095
2013-01-01 22:54:39 +00:00
Eric Kohl cb52c27133 [SAMSRV]
SamrGetAliasMembership:
- Change requrred access right from DOMIN_LOOKUP to DOMAIN_GET_ALIAS_MEMBERSHIP.
- Handle the case properly where a user is not a member of any alias.
- Retrieve an alias members RID correctly.

svn path=/trunk/; revision=58094
2013-01-01 22:04:41 +00:00
Eric Kohl 23e600a0d7 [SAMLIB]
Ensure that optional parameters are handled properly.

svn path=/trunk/; revision=58093
2013-01-01 21:12:38 +00:00
Hermès Bélusca-Maïto 3441210764 [SHELL32]
Fix untitled Run dialog in some languages. I wonder why it was as it since ages, in some languages but not in anothers.

svn path=/trunk/; revision=58092
2013-01-01 19:49:55 +00:00
Timo Kreuzer 7dd6427e00 [WIN32K]
Partly revert r57691. Fixes messed up icons in 32bpp.

svn path=/trunk/; revision=58091
2013-01-01 19:41:20 +00:00
Hermès Bélusca-Maïto 9792217df9 [REGEDIT]
- Revert lstrcpynW --> wcsncpy changes from r57471 back to lstrcpynW because this function automatically NULL-terminate strings
  (but I wonder if there is a replacement of lstrcpynW which has all its functionalities, in the CRT). This fixes address loading
  after editing it in the address bar. Caught by Edijus ;)
- Unicodize a little bit more regedit.

svn path=/trunk/; revision=58090
2013-01-01 19:38:47 +00:00
Timo Kreuzer d225c3c957 [WIN32K]
- In NtGdiGetRandomRgn use the region pointers directly, instead of getting their handles. These regions might not even have a handle.
- Fix last error code

svn path=/trunk/; revision=58089
2013-01-01 19:23:30 +00:00
Hermès Bélusca-Maïto 968788ebd8 [NTOSKRNL]
Display both on the screen and on the debug console that an invalid debug service was called.

svn path=/trunk/; revision=58088
2013-01-01 16:42:07 +00:00
Hermès Bélusca-Maïto 408db391be [REGEDIT]
- Use REG_OPTION_NON_VOLATILE instead of 0 in RegCreateKeyEx.
- Do not rename keys when they have the same name, case-insensitive (as Windows does), fix for r58079 / CORE-6205.

svn path=/trunk/; revision=58087
2013-01-01 16:06:02 +00:00
Hermès Bélusca-Maïto f4019db7f8 Fix comment
svn path=/trunk/; revision=58086
2013-01-01 14:57:12 +00:00
Hermès Bélusca-Maïto ae0b2b2e35 [REGEDIT]
Fix totally broken InfoMessageBox function. ~=~=\|/ **** Happy New Year 2013 !!!! **** \|/=~=~

svn path=/trunk/; revision=58085
2013-01-01 14:55:53 +00:00
Thomas Faber 7ea8822b24 [KERNEL32]
- Fix escape sequence parsing in CreateProcessInternalW. Patch by Vincenzo Cotugno.

svn path=/trunk/; revision=58084
2013-01-01 14:18:27 +00:00
Johannes Anderwald f7c2bc2e7f [SETUP][SYSSETUP]
- Restore focus after closing GPL window
- Patch by vort
CORE-6837 #resolve #comment fixed in rev 58083

svn path=/trunk/; revision=58083
2013-01-01 12:12:19 +00:00
Timo Kreuzer 5b8a6dd3cc [WIN32K]
Rewrite EngMulDiv.

svn path=/trunk/; revision=58082
2013-01-01 12:09:53 +00:00
Timo Kreuzer 46da747829 [WIN32K]
Exchange fields individually in PDEVOBJ_vSwitchPdev() instead of duplicating a full PDEV structure on the stack. This saves a lot of stack space.

svn path=/trunk/; revision=58081
2013-01-01 11:57:58 +00:00