Commit graph

53614 commits

Author SHA1 Message Date
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