reactos.git
10 years ago[WIN32K]
Jérôme Gardou [Wed, 5 Jun 2013 17:54:26 +0000 (17:54 +0000)]
[WIN32K]
 - Don't crash if the focus message queue is NULL

svn path=/trunk/; revision=59174

10 years ago[RTL]
Hermès Bélusca-Maïto [Mon, 3 Jun 2013 21:05:32 +0000 (21:05 +0000)]
[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

10 years ago[USRMGR]
Eric Kohl [Mon, 3 Jun 2013 18:14:46 +0000 (18:14 +0000)]
[USRMGR]
Enable calls to NetLocalGroupDel and NetUserDel. Now we are able to add and remove groups and users.

svn path=/trunk/; revision=59172

10 years ago[RAPPS]
Pierre Schweitzer [Mon, 3 Jun 2013 17:41:34 +0000 (17:41 +0000)]
[RAPPS]
Update French translation

svn path=/trunk/; revision=59171

10 years agoUpdate Rapps to have a one click function to update the Database in the menus.
Daniel Reimer [Mon, 3 Jun 2013 15:13:30 +0000 (15:13 +0000)]
Update Rapps to have a one click function to update the Database in the menus.

svn path=/trunk/; revision=59170

10 years agoThe last one, I promise ^^
Daniel Reimer [Mon, 3 Jun 2013 14:11:29 +0000 (14:11 +0000)]
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

10 years ago[KSPROXY]
Amine Khaldi [Mon, 3 Jun 2013 11:43:40 +0000 (11:43 +0000)]
[KSPROXY]
* Exclude from build. Really. Honest.

svn path=/trunk/; revision=59168

10 years agoRevert 59161/59152 in order to fix the tests.
Sylvain Petreolle [Mon, 3 Jun 2013 10:36:39 +0000 (10:36 +0000)]
Revert 59161/59152 in order to fix the tests.

svn path=/trunk/; revision=59167

10 years agoCORE-7095 #resolve #comment Thanks for help !
Daniel Reimer [Mon, 3 Jun 2013 08:42:16 +0000 (08:42 +0000)]
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

10 years ago[RTL]
Hermès Bélusca-Maïto [Sun, 2 Jun 2013 22:51:24 +0000 (22:51 +0000)]
[RTL]
Use RtlPrefixUnicodeString.

svn path=/trunk/; revision=59165

10 years ago[RTL]
Hermès Bélusca-Maïto [Sun, 2 Jun 2013 22:44:09 +0000 (22:44 +0000)]
[RTL]
Clarify the code a bit, no logical changes.

svn path=/trunk/; revision=59164

10 years ago[RTL]
Hermès Bélusca-Maïto [Sun, 2 Jun 2013 22:11:50 +0000 (22:11 +0000)]
[RTL]
Use RtlDowncaseUnicodeChar instead of towlower

svn path=/trunk/; revision=59163

10 years ago[NETAPI32]
Eric Kohl [Sun, 2 Jun 2013 21:53:52 +0000 (21:53 +0000)]
[NETAPI32]
- Remove obsolete WINE code.
- Implement NetUserDel.

svn path=/trunk/; revision=59162

10 years ago* I missed this in r59152. Spotted by Robert Naumann.
Amine Khaldi [Sun, 2 Jun 2013 21:40:32 +0000 (21:40 +0000)]
* I missed this in r59152. Spotted by Robert Naumann.
CORE-7257 #resolve #comment Thanks !

svn path=/trunk/; revision=59161

10 years ago[User32]
James Tabor [Sun, 2 Jun 2013 20:52:54 +0000 (20:52 +0000)]
[User32]
- Patch by Sergey Guralnik : Init standard scrollbars during WM_NCCREATE.
- Modified for ReactOS.

svn path=/trunk/; revision=59160

10 years ago[User32]
James Tabor [Sun, 2 Jun 2013 20:48:12 +0000 (20:48 +0000)]
[User32]
- Sync port to 1.5.31.

svn path=/trunk/; revision=59159

10 years ago[User32]
James Tabor [Sun, 2 Jun 2013 20:47:56 +0000 (20:47 +0000)]
[User32]
- Sync port to 1.5.31.

svn path=/trunk/; revision=59158

10 years ago[User32]
James Tabor [Sun, 2 Jun 2013 20:47:12 +0000 (20:47 +0000)]
[User32]
- Sync port to 1.5.31.

svn path=/trunk/; revision=59157

10 years ago[WineTests]
James Tabor [Sun, 2 Jun 2013 20:45:51 +0000 (20:45 +0000)]
[WineTests]
- Sync to 1.5.31.

svn path=/trunk/; revision=59156

10 years ago[RTL]
Timo Kreuzer [Sun, 2 Jun 2013 19:25:38 +0000 (19:25 +0000)]
[RTL]
Fix another warning

svn path=/trunk/; revision=59155

10 years ago[DDK/XDK]
Timo Kreuzer [Sun, 2 Jun 2013 19:15:35 +0000 (19:15 +0000)]
[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

10 years ago[NEWCC]
Amine Khaldi [Sun, 2 Jun 2013 19:12:22 +0000 (19:12 +0000)]
[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

10 years ago[KSPROXY]
Amine Khaldi [Sun, 2 Jun 2013 19:08:33 +0000 (19:08 +0000)]
[KSPROXY]
* Exclude from build. We don't need it at the moment.

svn path=/trunk/; revision=59152

10 years ago[PSDK]
Timo Kreuzer [Sun, 2 Jun 2013 19:04:02 +0000 (19:04 +0000)]
[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

10 years ago"bugzilla" --> Jira
Hermès Bélusca-Maïto [Sun, 2 Jun 2013 18:44:50 +0000 (18:44 +0000)]
"bugzilla" --> Jira

svn path=/trunk/; revision=59150

10 years agoWe use Jira now, as our bug tracker.
Hermès Bélusca-Maïto [Sun, 2 Jun 2013 18:41:40 +0000 (18:41 +0000)]
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

10 years ago[RTL-PATH]
Hermès Bélusca-Maïto [Sun, 2 Jun 2013 18:33:52 +0000 (18:33 +0000)]
[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

10 years ago[RTL]
Timo Kreuzer [Sun, 2 Jun 2013 18:01:00 +0000 (18:01 +0000)]
[RTL]
- Fix a format specifier

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

svn path=/trunk/; revision=59147

10 years ago[APITESTS-KERNEL32]
Hermès Bélusca-Maïto [Sun, 2 Jun 2013 17:01:22 +0000 (17:01 +0000)]
[APITESTS-KERNEL32]
Commit my FindFiles test.
ROSTESTS-84 #resolve #comment Committed in revision 59146.

svn path=/trunk/; revision=59146

10 years ago[SAMSRV]
Eric Kohl [Sun, 2 Jun 2013 15:33:40 +0000 (15:33 +0000)]
[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

10 years agoRetested all rapps download links and fixed all non working ones.
Daniel Reimer [Sun, 2 Jun 2013 15:03:43 +0000 (15:03 +0000)]
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

10 years ago[WIN32K]
Jérôme Gardou [Sun, 2 Jun 2013 14:30:48 +0000 (14:30 +0000)]
[WIN32K]
 - Fix ExtCreateRegion implementation
CORE-4600 #comment Fixed in r59143. Thanks Giannis for the hint. #resolve

svn path=/trunk/; revision=59143

10 years ago[UMPNPMGR]
Johannes Anderwald [Sun, 2 Jun 2013 12:59:06 +0000 (12:59 +0000)]
[UMPNPMGR]
- It is not an error when the client is already connected
- Fixes random driver installation failures

svn path=/trunk/; revision=59142

10 years ago[NTOSKRNL/MM]
Jérôme Gardou [Sun, 2 Jun 2013 11:52:15 +0000 (11:52 +0000)]
[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

10 years ago[SAMSRV]
Eric Kohl [Sun, 2 Jun 2013 10:45:48 +0000 (10:45 +0000)]
[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

10 years agoHey Arch! Do not define NEWCC for now ! (look at http://git.reactos.org/?p=reactos...
Hermès Bélusca-Maïto [Sun, 2 Jun 2013 00:21:55 +0000 (00:21 +0000)]
Hey Arch! Do not define NEWCC for now ! (look at git.reactos.org/?p=reactos.git&a=search&h=HEAD&st=grep&s=NEWCC ; spotted by Samuel Serapion)

svn path=/trunk/; revision=59139

10 years ago[NETAPI32]
Eric Kohl [Sat, 1 Jun 2013 23:42:01 +0000 (23:42 +0000)]
[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

10 years ago[AUDIO]
Johannes Anderwald [Sat, 1 Jun 2013 23:16:08 +0000 (23:16 +0000)]
[AUDIO]
- Support zero value tags
CORE-6890 #comment please retest

svn path=/trunk/; revision=59137

10 years ago[NETAPI32]
Eric Kohl [Sat, 1 Jun 2013 23:10:10 +0000 (23:10 +0000)]
[NETAPI32]
Implement NetLocalGroupDel.

svn path=/trunk/; revision=59136

10 years ago[KERNEL32-CONSRV]
Hermès Bélusca-Maïto [Sat, 1 Jun 2013 22:49:50 +0000 (22:49 +0000)]
[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

10 years ago[NTOS:IO]
Thomas Faber [Sat, 1 Jun 2013 20:50:13 +0000 (20:50 +0000)]
[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

10 years ago[NTOSKRNL]
Amine Khaldi [Sat, 1 Jun 2013 18:47:11 +0000 (18:47 +0000)]
[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

10 years ago[CMD]
Hermès Bélusca-Maïto [Sat, 1 Jun 2013 18:45:04 +0000 (18:45 +0000)]
[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

10 years ago[CMAKE]
Thomas Faber [Sat, 1 Jun 2013 16:24:07 +0000 (16:24 +0000)]
[CMAKE]
- Don't check for unsupported gcc 4.6
- Disable -Wmaybe-uninitialized. It's just not useful.

svn path=/trunk/; revision=59131

10 years agoFix configure on *nixes.
Sylvain Petreolle [Fri, 31 May 2013 21:27:50 +0000 (21:27 +0000)]
Fix configure on *nixes.

Arch, don't use brackets, thats meant to execute something.

svn path=/trunk/; revision=59130

10 years agoFinally,...
Hermès Bélusca-Maïto [Fri, 31 May 2013 21:04:28 +0000 (21:04 +0000)]
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

10 years ago[CABINET_WINETEST]
Amine Khaldi [Fri, 31 May 2013 16:57:58 +0000 (16:57 +0000)]
[CABINET_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59128

10 years ago[CABINET]
Amine Khaldi [Fri, 31 May 2013 16:57:42 +0000 (16:57 +0000)]
[CABINET]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59127

10 years ago[AVIFIL32_WINETEST]
Amine Khaldi [Fri, 31 May 2013 16:38:50 +0000 (16:38 +0000)]
[AVIFIL32_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59126

10 years ago[AVIFIL32]
Amine Khaldi [Fri, 31 May 2013 16:38:30 +0000 (16:38 +0000)]
[AVIFIL32]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59125

10 years ago[syssetup]
Giannis Adamopoulos [Fri, 31 May 2013 15:12:08 +0000 (15:12 +0000)]
[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

10 years ago[shortcuts.inf]
Giannis Adamopoulos [Fri, 31 May 2013 14:33:46 +0000 (14:33 +0000)]
[shortcuts.inf]
- Convert to utf16 because setupapi can't use utf8 files
- Fix the langid in each string section

svn path=/trunk/; revision=59123

10 years ago[PCIX]
Aleksey Bragin [Fri, 31 May 2013 12:24:23 +0000 (12:24 +0000)]
[PCIX]
- Fix parameters in KeSetEvent call. Spotted by Daniel Nespoulos.

svn path=/trunk/; revision=59122

10 years ago[SYSAUDIO]
Johannes Anderwald [Thu, 30 May 2013 22:07:40 +0000 (22:07 +0000)]
[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

10 years ago[PSEH2]
Thomas Faber [Thu, 30 May 2013 21:53:06 +0000 (21:53 +0000)]
[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

10 years ago[PORTCLS]
Johannes Anderwald [Thu, 30 May 2013 18:40:19 +0000 (18:40 +0000)]
[PORTCLS]
- Silence traces

svn path=/trunk/; revision=59119

10 years ago[USRMGR]
Eric Kohl [Thu, 30 May 2013 16:00:37 +0000 (16:00 +0000)]
[USRMGR]
Enable the call to NetLocalGroupAdd.

svn path=/trunk/; revision=59118

10 years ago[NETAPI32]
Eric Kohl [Thu, 30 May 2013 15:37:25 +0000 (15:37 +0000)]
[NETAPI32]
 NetLocalGroupEnum: Enumerate aliases (aka local groups) in the builtin and account domains.

svn path=/trunk/; revision=59117

10 years ago[NETSHELL]
Johannes Anderwald [Thu, 30 May 2013 11:41:12 +0000 (11:41 +0000)]
[NETSHELL]
- Fix column width of listview

svn path=/trunk/; revision=59116

10 years ago[SAMSRV]
Eric Kohl [Thu, 30 May 2013 10:50:52 +0000 (10:50 +0000)]
[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

10 years ago[SAMSRV]
Eric Kohl [Thu, 30 May 2013 08:51:32 +0000 (08:51 +0000)]
[SAMSRV]
Get rid of SampOpenSamKey. Use SampRegOpenKey instead.

svn path=/trunk/; revision=59114

10 years ago[DXDIAG]
Johannes Anderwald [Thu, 30 May 2013 08:12:13 +0000 (08:12 +0000)]
[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

10 years ago[KERNEL32-CONSRV]
Hermès Bélusca-Maïto [Thu, 30 May 2013 00:50:03 +0000 (00:50 +0000)]
[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

10 years ago[dxdiag]
Christoph von Wittich [Wed, 29 May 2013 20:36:22 +0000 (20:36 +0000)]
[dxdiag]
use unicode structures when using unicode functions

svn path=/trunk/; revision=59111

10 years ago[syssetup]
Giannis Adamopoulos [Wed, 29 May 2013 20:33:11 +0000 (20:33 +0000)]
[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

10 years ago[SAMSRV]
Eric Kohl [Wed, 29 May 2013 20:21:42 +0000 (20:21 +0000)]
[SAMSRV]
Implement SamIFree_SAMPR_GET_GROUPS_BUFFER.

svn path=/trunk/; revision=59109

10 years ago- Add shortcuts.inf file that will be used by syssetup to create the shortcuts in...
Giannis Adamopoulos [Wed, 29 May 2013 19:35:35 +0000 (19:35 +0000)]
- 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

10 years ago[SAMSRV]
Eric Kohl [Wed, 29 May 2013 16:09:10 +0000 (16:09 +0000)]
[SAMSRV]
Set default group membership for new users.

svn path=/trunk/; revision=59107

10 years ago[hivedef.inf]
Giannis Adamopoulos [Wed, 29 May 2013 13:23:27 +0000 (13:23 +0000)]
[hivedef.inf]
- Fix the names of the colors and sizes of the classic theme.
- Fixes CORE-7149

svn path=/trunk/; revision=59106

10 years ago[desk.cpl]
Giannis Adamopoulos [Wed, 29 May 2013 13:14:37 +0000 (13:14 +0000)]
[desk.cpl]
- If loading the name of a classic color fails, try to read it from the "LegacyName" value

svn path=/trunk/; revision=59105

10 years ago[DISKPART]
Eric Kohl [Wed, 29 May 2013 11:40:43 +0000 (11:40 +0000)]
[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

10 years ago[ADVPACK_WINETEST]
Amine Khaldi [Wed, 29 May 2013 11:01:18 +0000 (11:01 +0000)]
[ADVPACK_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59103

10 years ago[ADVPACK]
Amine Khaldi [Wed, 29 May 2013 11:01:08 +0000 (11:01 +0000)]
[ADVPACK]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=59102

10 years ago[CMD]
Eric Kohl [Wed, 29 May 2013 10:56:25 +0000 (10:56 +0000)]
[CMD]
Remove cmd_main(). Patch by Lee Schroeder.
Thanks!

CORE-7205 #resolve #comment Committed in r59101.

svn path=/trunk/; revision=59101

10 years agoLet's try to fix GCC builds on Linux bots.
Hermès Bélusca-Maïto [Wed, 29 May 2013 00:44:18 +0000 (00:44 +0000)]
Let's try to fix GCC builds on Linux bots.

svn path=/trunk/; revision=59100

10 years ago[CONSOLE.CPL-KERNEL32]
Hermès Bélusca-Maïto [Wed, 29 May 2013 00:29:07 +0000 (00:29 +0000)]
[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

10 years ago[uxtheme]
Giannis Adamopoulos [Tue, 28 May 2013 19:19:29 +0000 (19:19 +0000)]
[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

10 years ago[SAMSRV]
Eric Kohl [Tue, 28 May 2013 17:29:57 +0000 (17:29 +0000)]
[SAMSRV]
- SamrCreateUser2InDomain2: Set the logon hours attribute.
- Implement SamrConnect2.

svn path=/trunk/; revision=59097

10 years ago[DEVMGR]
Christoph von Wittich [Tue, 28 May 2013 17:18:41 +0000 (17:18 +0000)]
[DEVMGR]
reboot instead of shutdown after driver update

svn path=/trunk/; revision=59096

10 years ago[DEVMGR]
Eric Kohl [Mon, 27 May 2013 21:30:17 +0000 (21:30 +0000)]
[DEVMGR]
Add the driver update pushbutton to the remaining languages.

Please keep all languages synchronized!!!!!

svn path=/trunk/; revision=59095

10 years ago[INCLUDE]
Timo Kreuzer [Mon, 27 May 2013 20:55:23 +0000 (20:55 +0000)]
[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

10 years ago[MKHIVE]
Timo Kreuzer [Mon, 27 May 2013 20:27:28 +0000 (20:27 +0000)]
[MKHIVE]
Fix build and silence MSVC warnings

svn path=/trunk/; revision=59093

10 years ago[RTL]
Timo Kreuzer [Mon, 27 May 2013 20:20:33 +0000 (20:20 +0000)]
[RTL]
Fix some annotations for bitmap code

svn path=/trunk/; revision=59092

10 years ago[CLASS2]
Thomas Faber [Mon, 27 May 2013 18:39:32 +0000 (18:39 +0000)]
[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

10 years ago[devmgr]
Christoph von Wittich [Mon, 27 May 2013 18:33:18 +0000 (18:33 +0000)]
[devmgr]
add "update driver" button
not functional due to unimplemented DiShowUpdateDevice

svn path=/trunk/; revision=59090

10 years ago[newdev]
Christoph von Wittich [Mon, 27 May 2013 17:35:15 +0000 (17:35 +0000)]
[newdev]
add stub for DiShowUpdateDevice

svn path=/trunk/; revision=59089

10 years ago[SYSSETUP]
Eric Kohl [Mon, 27 May 2013 13:34:59 +0000 (13:34 +0000)]
[SYSSETUP]
Set the administrator password (hash) in the SAM database as part of the 2nd stage setup.

svn path=/trunk/; revision=59088

10 years ago[SAMSRV]
Eric Kohl [Mon, 27 May 2013 12:48:59 +0000 (12:48 +0000)]
[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

10 years ago[USBSTOR]
Johannes Anderwald [Sun, 26 May 2013 17:49:43 +0000 (17:49 +0000)]
[USBSTOR]
- Disable usbstor cbw debug print
CORE-7223 #resolve

svn path=/trunk/; revision=59086

10 years ago[advapi32]
Christoph von Wittich [Sun, 26 May 2013 17:33:39 +0000 (17:33 +0000)]
[advapi32]
return the required buffer size in case a temp buffer is used
fixes services tab in msconfig

svn path=/trunk/; revision=59085

10 years ago[USBSTOR]
Johannes Anderwald [Sun, 26 May 2013 17:18:19 +0000 (17:18 +0000)]
[USBSTOR]
- Hackplement IRP_MJ_POWER support
- Inspired by Thomas (Blame him ;))

svn path=/trunk/; revision=59084

10 years ago[SAMSRV]
Eric Kohl [Sun, 26 May 2013 10:48:54 +0000 (10:48 +0000)]
[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

10 years ago[MSPORTS]
Eric Kohl [Sat, 25 May 2013 18:28:28 +0000 (18:28 +0000)]
[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

10 years ago[USBSTOR]
Johannes Anderwald [Fri, 24 May 2013 19:02:28 +0000 (19:02 +0000)]
[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

10 years ago[HIDCLASS]
Johannes Anderwald [Fri, 24 May 2013 17:36:14 +0000 (17:36 +0000)]
[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

10 years ago[FREELDR]
Sylvain Petreolle [Fri, 24 May 2013 12:24:27 +0000 (12:24 +0000)]
[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

10 years ago[FREELDR]
Sylvain Petreolle [Fri, 24 May 2013 12:20:13 +0000 (12:20 +0000)]
[FREELDR]
Convert TABs to spaces, no code changes.

svn path=/trunk/; revision=59078

10 years ago[RTL]
Eric Kohl [Fri, 24 May 2013 12:10:12 +0000 (12:10 +0000)]
[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

10 years ago[RTL]
Eric Kohl [Fri, 24 May 2013 09:50:49 +0000 (09:50 +0000)]
[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

10 years ago[NTOSKRNL]
Eric Kohl [Fri, 24 May 2013 09:07:46 +0000 (09:07 +0000)]
[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