Aleksey Bragin [Thu, 6 Jun 2013 21:54:00 +0000 (21:54 +0000)]
[KMTEST]
- Fix variables declarations, and don't mix 1/0 and TRUE/FALSE. Boolean was invented for that.
svn path=/trunk/; revision=59182
Aleksey Bragin [Thu, 6 Jun 2013 09:44:34 +0000 (09:44 +0000)]
[KMTEST]
- Constantine Belev: Fix a few bugs in the SeQueryInfoToken test. Now it does not crash in ReactOS anymore.
svn path=/trunk/; revision=59181
Aleksey Bragin [Wed, 5 Jun 2013 23:25:02 +0000 (23:25 +0000)]
[KMTEST]
- Fix formatting of FsRtlTunnel.c
- Add proper header.
svn path=/trunk/; revision=59180
Hermès Bélusca-Maïto [Wed, 5 Jun 2013 23:24:04 +0000 (23:24 +0000)]
[ROSAPPS]
Add 4 little tests for RtlDetermineDosPathNameType
svn path=/trunk/; revision=59179
Aleksey Bragin [Wed, 5 Jun 2013 23:16:14 +0000 (23:16 +0000)]
[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
Aleksey Bragin [Wed, 5 Jun 2013 22:50:57 +0000 (22:50 +0000)]
[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
Eric Kohl [Wed, 5 Jun 2013 22:08:53 +0000 (22:08 +0000)]
[NETAPI32]
Implement NetLocalGroupGetMembers. Level 0 support only. Will be tested and fixed when level 1 support will be added.
svn path=/trunk/; revision=59176
Jérôme Gardou [Wed, 5 Jun 2013 17:57:13 +0000 (17:57 +0000)]
[CMAKE]
- put all debug symbols (MSVC) in the same directory.
svn path=/trunk/; revision=59175
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
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
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
Pierre Schweitzer [Mon, 3 Jun 2013 17:41:34 +0000 (17:41 +0000)]
[RAPPS]
Update French translation
svn path=/trunk/; revision=59171
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
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
Amine Khaldi [Mon, 3 Jun 2013 11:43:40 +0000 (11:43 +0000)]
[KSPROXY]
* Exclude from build. Really. Honest.
svn path=/trunk/; revision=59168
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
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
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
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
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
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
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
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
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
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
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
James Tabor [Sun, 2 Jun 2013 20:45:51 +0000 (20:45 +0000)]
[WineTests]
- Sync to 1.5.31.
svn path=/trunk/; revision=59156
Timo Kreuzer [Sun, 2 Jun 2013 19:25:38 +0000 (19:25 +0000)]
[RTL]
Fix another warning
svn path=/trunk/; revision=59155
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
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
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
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
Hermès Bélusca-Maïto [Sun, 2 Jun 2013 18:44:50 +0000 (18:44 +0000)]
"bugzilla" --> Jira
svn path=/trunk/; revision=59150
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
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
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
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
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
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
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
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
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
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
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
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
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
Eric Kohl [Sat, 1 Jun 2013 23:10:10 +0000 (23:10 +0000)]
[NETAPI32]
Implement NetLocalGroupDel.
svn path=/trunk/; revision=59136
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Johannes Anderwald [Thu, 30 May 2013 18:40:19 +0000 (18:40 +0000)]
[PORTCLS]
- Silence traces
svn path=/trunk/; revision=59119
Eric Kohl [Thu, 30 May 2013 16:00:37 +0000 (16:00 +0000)]
[USRMGR]
Enable the call to NetLocalGroupAdd.
svn path=/trunk/; revision=59118
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
Johannes Anderwald [Thu, 30 May 2013 11:41:12 +0000 (11:41 +0000)]
[NETSHELL]
- Fix column width of listview
svn path=/trunk/; revision=59116
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Christoph von Wittich [Mon, 27 May 2013 17:35:15 +0000 (17:35 +0000)]
[newdev]
add stub for DiShowUpdateDevice
svn path=/trunk/; revision=59089
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
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
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
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
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
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