Commit graph

53636 commits

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