Royce Mitchell III [Sat, 19 Mar 2005 01:37:47 +0000 (01:37 +0000)]
fix warning that is really a bug - from looking at the code, wDevID, is a UINT, not a UINT_16
svn path=/trunk/; revision=14185
Alex Ionescu [Fri, 18 Mar 2005 23:26:44 +0000 (23:26 +0000)]
Implement timer expiring too fast for KeDelayExecutionThread. Dedicated to filip
svn path=/trunk/; revision=14184
Martin Fuchs [Fri, 18 Mar 2005 23:00:54 +0000 (23:00 +0000)]
register ourselved as task manager window to make the RegisterShellHookWindow() call working [thanks to Filip :)]
svn path=/trunk/; revision=14183
Martin Fuchs [Fri, 18 Mar 2005 20:34:01 +0000 (20:34 +0000)]
cleanup of latest RegisterShellHookWindow() changes
svn path=/trunk/; revision=14182
Gunnar Dalsnes [Fri, 18 Mar 2005 19:36:36 +0000 (19:36 +0000)]
-remove incorrect handle count check when deleting files
-reformat code
svn path=/trunk/; revision=14181
Hervé Poussineau [Fri, 18 Mar 2005 19:00:48 +0000 (19:00 +0000)]
Fix a warning with some compilers about non-initialized variable.
This can't really happen in real execution, but let's be the compiler happy ;)
svn path=/trunk/; revision=14180
Hervé Poussineau [Fri, 18 Mar 2005 17:45:59 +0000 (17:45 +0000)]
Don't double-define STATUS_ARRAY_BOUNDS_EXCEEDED
svn path=/trunk/; revision=14179
Hervé Poussineau [Fri, 18 Mar 2005 16:51:39 +0000 (16:51 +0000)]
Implement partly IoReportResourceForDetection() and IoReportDetectedDevice(), just enough to support serial driver
svn path=/trunk/; revision=14178
Hervé Poussineau [Fri, 18 Mar 2005 16:01:35 +0000 (16:01 +0000)]
Implement legacy detection (it should be able to detect the first two serial ports)
Implement reading by polling (expect lots of bugs!)
Use receive and send queues
Better handling of some IRPs
Lots of small bugs fixes
svn path=/trunk/; revision=14177
Thomas Bluemel [Fri, 18 Mar 2005 13:52:21 +0000 (13:52 +0000)]
can't receive the cid from a KTHREAD structure, fixes compiling with debugging enabled
svn path=/trunk/; revision=14176
Alex Ionescu [Fri, 18 Mar 2005 07:19:30 +0000 (07:19 +0000)]
Update ETHREAD fields and termination port stucture to XP, and do necessary code changes. This makes reaping even faster. It's 2:30am, i hope there's no bugs ;-)
svn path=/trunk/; revision=14175
Alex Ionescu [Fri, 18 Mar 2005 05:53:04 +0000 (05:53 +0000)]
Thread/Process Termination/Repeaing Rewrite + Fixes
---------------------------------------------------
- ps/cid.c:
* Moved CID Lookup functions here
- ps/security.c:
* Moved all security related functions here. Makes other files neater and security functions
easier to locate.
- ps/thread.c:
* Moved most of the Thread Scheduling/Dispatching code that belongs in the Kernel to /ke and
renamed functions from Ps to Ki.
* Implemented PsIsSystemThread.
* Removed Reaper Thread Init (now obsolete).
* Renamed PiDeleteThread to PspDeleteThread.
* Moved Thread State functions from tinfo.c to here.
- ps/process.c:
* Removed Query/Set Process functions and moved to ps/query.c
* Renamed PiDeletePRocess to PspDeleteProcess
* Removed obsoleted Process Termination functions, moved persistent one to kill.c
- ps/create.c:
* Moved the security APIs to security.c
* Correctly implemented PsCreateSystemThread to actually create system threads.
- ps/suspend.c
* Rewrote Nt Executive functions to use Kernel functions.
* Moved Ps* Routines into ke/kthread.c and fixed them. The implementation was wrong in
some aspects, especially the issue of the APC looping around the KeWaitXxx call and the
fact that the routines excluded/ignored the FreezeCount.
- ps/debug.c
* Fixed completely broken implementation of Get/SetThreadContext. The old version crashed
when called and did not work at all. Suspend Regression test now works.
* Moved Context<->TrapFrame functions to ke/i386/
* Combined Set/GetThreadContext APCs into a single one, and used special context structure.
- ps/query.c:
* Moved Thread/Process Query/Set Routines here.
- ps/tinfo.c:
* Removed.
- ps/kill.c
* Removed complicated Process Termination semantics and useless Attach/Detach in favor for
a much more lightweight function which performs the same tasks as before and actually works.
TaskManager can now terminate foreign processes.
* Rewrote Thread Reaping to use the HyperCritical Work Queue instead of manually controlled
thread. This results in much less code as well as an increase in speed and less micro
management. The reaper is PspReapRoutine. Closing CMD.EXE now works properly without
requiring masks that were added as hacks to allow it.
* Renamed PiTerminateProcessThreads to PspTerminateProcessThreads. Fixed it to work with new
termination code.
* Added PspDeleteProcess to handle Process Object deletion. Kills the CID Handle here as done
by Hartmut.
* Added PspDeletethread here.
* Renamed and rewrote PsTerminateCurrentThread to PspExitThread. Used NT Implementation out-
lined in Windows Internals, Chapter 13. Uses less locks, a more concise order of actions,
actually parses the Termination Ports, handles Dbgk notification. Timers are now rundown,
and Mutex rundown is in a dedicated Kernel function. Final termination handled by KeTerminate
Thread as documented.
* Renamed PsTerminateOtherThread to PspTerminateThreadByPointer and modified implementation to
be compatible with the changes above.
* Renamed and regrouped Process Termination into PspExitProcess. Also implemented as described
above, and moved each subsystem specific termination helper into its own subsytem.
* Improved NtTerminateProcess and added more debugging messages.
* Improved NtTerminateThread and added check against System Thread and made it compatible with
new implementation.
* Corrected PsTerminateSystemThread now that we support System Threads.
* Corrected NtRegisterThreadTerminatePort to use same structure name as on windows for the
port, and added tag to pool allocation (documented in pooltag.txt)
include/internal/*.h:
* Defined Scheduler Functions and misc new functions or renamed functions.
ke/apc.c:
* Fixed critical bug where APCs were not delivered at all if the thread wastion and cancels any timers that are associated
to a thread, as well as their APCs and DPCs.
REGRESSIONS FOUND: NONE
BUGS/REGRESSIOSN FIXED:
* Thread/Get Set Context now works.
* Suspend Regression test now works.
* Task manager can now kill foreign processes, even hung ones (like it should).
* ExitProcess/closing cmd.exe with the 'x' button now works correctly without hacks.
KNOWN ISSUES: I left a bit of a mess in the headers and some stuff still needs to be moved into the right
places. I just wanted to have this first part ready first, so that it won't get too big.
svn path=/trunk/; revision=14174
Art Yerkes [Fri, 18 Mar 2005 03:26:12 +0000 (03:26 +0000)]
Added simple dword OID query to lan.
Correct oper status, admin status and type settings in iinfo.
Small fixes in lan.c for adapter name.
svn path=/trunk/; revision=14173
Art Yerkes [Fri, 18 Mar 2005 02:56:29 +0000 (02:56 +0000)]
Don't let sign extension mess us up here.
svn path=/trunk/; revision=14172
Filip Navara [Fri, 18 Mar 2005 02:10:50 +0000 (02:10 +0000)]
- Correctly initialize the standard handles for console-less applications.
- Simplify _isatty and fix it to not set the errno for "invalid" handles.
svn path=/trunk/; revision=14171
Steven Edwards [Fri, 18 Mar 2005 00:56:34 +0000 (00:56 +0000)]
Lined up Buttons.
Removed my broken attempt at understaind comboboxes.
Cleaned up WM_INITDIALOG.
svn path=/trunk/; revision=14170
Filip Navara [Thu, 17 Mar 2005 23:52:28 +0000 (23:52 +0000)]
It's not exactly wise to call GetFileTime and CloseHandle with invalid handle, so don't do it.
svn path=/trunk/; revision=14169
Filip Navara [Thu, 17 Mar 2005 23:16:12 +0000 (23:16 +0000)]
Don't try to release mutex with NULL handle. Also prevent releasing the same mutex twice.
svn path=/trunk/; revision=14168
Filip Navara [Thu, 17 Mar 2005 22:40:19 +0000 (22:40 +0000)]
Don't try to duplicate NULL handles.
svn path=/trunk/; revision=14167
Filip Navara [Thu, 17 Mar 2005 22:00:19 +0000 (22:00 +0000)]
(GDIOBJ_SetOwnership): Don't try to decrease the GDI object counter for global handles since they're not associated with process.
svn path=/trunk/; revision=14166
Magnus Olsen [Thu, 17 Mar 2005 20:15:44 +0000 (20:15 +0000)]
more stuff for ddraw.dll not tested yet.
svn path=/trunk/; revision=14165
Hartmut Birr [Thu, 17 Mar 2005 19:35:16 +0000 (19:35 +0000)]
Don't close the handle if the write back does fail (in NtOpenProcessTokenEx).
svn path=/trunk/; revision=14164
Steven Edwards [Thu, 17 Mar 2005 19:03:55 +0000 (19:03 +0000)]
Dedicated to Alex.
I give to you "The ReactOS License Manager"
No its just a dummy dialog I wrote to learn how to make
Control Panel Applets. Please don't implement this.
svn path=/trunk/; revision=14163
Hartmut Birr [Thu, 17 Mar 2005 18:51:20 +0000 (18:51 +0000)]
- Moved the deleting of the process id from PiTerminateProcess to PiDeleteProcessWorker.
- Checked the status at the end of NtOpenProcessTokenEx.
svn path=/trunk/; revision=14162
Aleksey Bragin [Thu, 17 Mar 2005 16:09:12 +0000 (16:09 +0000)]
One more assert added, but unfortunately it isn't triggered currently...
svn path=/trunk/; revision=14161
Filip Navara [Thu, 17 Mar 2005 13:17:05 +0000 (13:17 +0000)]
- Don't try to kill non-existing timers.
- Close dialog using EndDialog instead of DestroyWindow.
svn path=/trunk/; revision=14160
Filip Navara [Thu, 17 Mar 2005 13:07:28 +0000 (13:07 +0000)]
Now that CSRSS is getting unloaded we must unregister the primitive message queue when it's about to be destroyed.
svn path=/trunk/; revision=14159
Gunnar Dalsnes [Thu, 17 Mar 2005 00:31:40 +0000 (00:31 +0000)]
scanf: fix handling of %n token
svn path=/trunk/; revision=14157
Gunnar Dalsnes [Wed, 16 Mar 2005 23:59:41 +0000 (23:59 +0000)]
scanf: fix handling of %n token
svn path=/trunk/; revision=14154
Robert Kopferl [Wed, 16 Mar 2005 23:51:26 +0000 (23:51 +0000)]
To do once more a little piece os2ss
svn path=/trunk/; revision=14153
Magnus Olsen [Wed, 16 Mar 2005 23:23:44 +0000 (23:23 +0000)]
add regsvr.c from wine as frist implement of ddraw.
so it can registrate it selv into the register.
svn path=/trunk/; revision=14152
Magnus Olsen [Wed, 16 Mar 2005 23:21:00 +0000 (23:21 +0000)]
small change to start to implement ddraw.dll
svn path=/trunk/; revision=14151
Magnus Olsen [Wed, 16 Mar 2005 23:17:33 +0000 (23:17 +0000)]
small change to start to implement ddraw.dll
svn path=/trunk/; revision=14150
Gé van Geldorp [Wed, 16 Mar 2005 22:52:55 +0000 (22:52 +0000)]
Add riched20.dll, msi.dll and msiexec.exe to bootcd
svn path=/trunk/; revision=14149
Hervé Poussineau [Wed, 16 Mar 2005 22:27:47 +0000 (22:27 +0000)]
Better NtUserEnumDisplayDevices stub
svn path=/trunk/; revision=14148
Hervé Poussineau [Wed, 16 Mar 2005 22:19:12 +0000 (22:19 +0000)]
Implement resolution and color depth selection.
Applying new settings doesn't work due to unimplemented NtUserChangeDisplaySettings
svn path=/trunk/; revision=14147
Gé van Geldorp [Wed, 16 Mar 2005 22:18:42 +0000 (22:18 +0000)]
Fix eol-style
svn path=/trunk/; revision=14146
Filip Navara [Wed, 16 Mar 2005 21:28:21 +0000 (21:28 +0000)]
Initialize the pGdiInfo->flRaster field to zero.
svn path=/trunk/; revision=14145
Klemens Friedl [Wed, 16 Mar 2005 21:18:33 +0000 (21:18 +0000)]
Mindflyer, a.k.a. mf <mf@mufunyo.net>
alternative icon files
* mycomputer icon
* terminal icon
svn path=/trunk/; revision=14144
Filip Navara [Wed, 16 Mar 2005 21:03:51 +0000 (21:03 +0000)]
Fix some logic in port management code.
svn path=/trunk/; revision=14143
Thomas Bluemel [Wed, 16 Mar 2005 20:36:02 +0000 (20:36 +0000)]
Rouven Wessling <rouven@rouvenwessling.de>:
calc:
- fixed spelling mistakes
ncpa, aclui:
- German translation
svn path=/trunk/; revision=14142
Filip Navara [Wed, 16 Mar 2005 20:13:55 +0000 (20:13 +0000)]
Ulrich Czekalla <ulrich@codeweavers.com>
Set WS_EX_CONTROLPARENT when dialog has DS_CONTROL.
Mike McCormack <mike@codeweavers.com>
Strip WS_CAPTION and WS_SYSMENU for child dialogs.
svn path=/trunk/; revision=14141
Aleksey Bragin [Wed, 16 Mar 2005 19:27:45 +0000 (19:27 +0000)]
Ivan Semenoff <ivans77@mail.ru>
Fixed a bug in RtlClearBits (asserting if startingindex+count is more than size, instead of silently continuing processing).
svn path=/trunk/; revision=14140
Hervé Poussineau [Wed, 16 Mar 2005 19:24:41 +0000 (19:24 +0000)]
Saveliy Tretiakov <saveliyt@mail.ru>
- Only one file may be open on a port at any given time
- Implemented IOCTL_SERIAL_GET_STATS and IOCTL_SERIAL_CLEAR_STATS
svn path=/trunk/; revision=14139
Gé van Geldorp [Wed, 16 Mar 2005 17:30:11 +0000 (17:30 +0000)]
Reapply Wine-
20050310 changes, this time with the changes
to the include files. Where's CIS when you need it :P
svn path=/trunk/; revision=14138
Gregor Anich [Wed, 16 Mar 2005 16:25:54 +0000 (16:25 +0000)]
Rename patch to binpatch in apps/utils
svn path=/trunk/; revision=14137
Gregor Anich [Wed, 16 Mar 2005 16:24:20 +0000 (16:24 +0000)]
Rename patch to binpatch.
svn path=/trunk/; revision=14136
Gregor Anich [Wed, 16 Mar 2005 14:01:52 +0000 (14:01 +0000)]
Simple patch-creation tool (not much tested, but should work)
svn path=/trunk/; revision=14135
Hervé Poussineau [Wed, 16 Mar 2005 12:33:26 +0000 (12:33 +0000)]
Revert revision 14118 changes
svn path=/trunk/; revision=14134
Magnus Olsen [Wed, 16 Mar 2005 11:50:24 +0000 (11:50 +0000)]
implemnet NtGdiDdGetDriverInfo and NtGdiDdWaitForVerticalBlank
it is untested.
svn path=/trunk/; revision=14133
Hervé Poussineau [Wed, 16 Mar 2005 11:26:14 +0000 (11:26 +0000)]
Christoph von Wittich <Christoph@ApiViewer.de>
Added Unicode support and fixes cannot compile problem
svn path=/trunk/; revision=14132
Gé van Geldorp [Wed, 16 Mar 2005 09:45:26 +0000 (09:45 +0000)]
Thomas Larsen <sikker2004@yahoo.com>
- Danish Translation
svn path=/trunk/; revision=14131
Gé van Geldorp [Wed, 16 Mar 2005 09:42:40 +0000 (09:42 +0000)]
Thomas Larsen <sikker2004@yahoo.com>
- Danish translation
svn path=/trunk/; revision=14130
Gé van Geldorp [Wed, 16 Mar 2005 09:22:30 +0000 (09:22 +0000)]
Thomas Larsen <sikker2004@yahoo.com>
- updated danish language
svn path=/trunk/; revision=14129
Gé van Geldorp [Wed, 16 Mar 2005 09:19:12 +0000 (09:19 +0000)]
Thomas Larsen <sikker2004@yahoo.com>
- added danish language
svn path=/trunk/; revision=14128
Gé van Geldorp [Wed, 16 Mar 2005 09:16:13 +0000 (09:16 +0000)]
Thomas Larsen <sikker2004@yahoo.com>
- added danish language
svn path=/trunk/; revision=14127
Gé van Geldorp [Wed, 16 Mar 2005 09:13:28 +0000 (09:13 +0000)]
Thomas Larsen <sikker2004@yahoo.com>
- added danish language
svn path=/trunk/; revision=14126
Gé van Geldorp [Wed, 16 Mar 2005 09:10:23 +0000 (09:10 +0000)]
Thomas Larsen <sikker2004@yahoo.com>
- added danish language
svn path=/trunk/; revision=14125
Art Yerkes [Wed, 16 Mar 2005 09:02:07 +0000 (09:02 +0000)]
consw has not been needed for a long time.
svn path=/trunk/; revision=14124
Gé van Geldorp [Wed, 16 Mar 2005 08:34:44 +0000 (08:34 +0000)]
Update status
svn path=/trunk/; revision=14120
Gé van Geldorp [Wed, 16 Mar 2005 07:51:01 +0000 (07:51 +0000)]
Sync to Wine-
20050310:
Michael Jung <mjung@iss.tu-darmstadt.de>
- Beginning of a shell namespace extension to browse the unix
filesystem.
- Fixed parsing of ITEMIDLIST in InitializeTreeView.
- Added some documentation.
- Fixed a crash occuring when the user double-clicks a leaf item.
Dimitrie O. Paun <dpaun@rogers.com>
- Add support for .exe's with exported functions.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
- Add the -noname flag to match the Platform SDK.
- Don't hardcode ordinals if which are not hardcoded on Windows.
Juan Lang <juan_lang@yahoo.com>
- Convert more API calls to Unicode.
- Convert tabs to space, wrap long lines, make indenting consistent.
- Convert a few calls to Unicode.
Mike McCormack <mike@codeweavers.com>
- handle IFileSystemBindData in ISF_Desktop_fnParseDisplayName
- more Unicode conversion
- handle IFileSystemBindData in IShellFolder::ParseDisplayName
- convert IShellFolder::ParseDisplayName to use Unicode
- Remove tabs and make formatting consistent.
- Reindent some code to improve readability.
- Define some extra SHFGI values.
- Remove tabs and reformat.
- Use lstrcmpiA in preference to strcasecmp.
- Make lstr* functions inline inside Wine.
- implement loading and saving of MSI advertised shortcut info
- make more test cases pass
- read and write the location block
- improve the binary compatibility of lnk files
- Cleanup, create unicode versions of _ILCreateFromPath,
_ILCreateGuidFromStr, and _ILCreateFromFindData.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Documentation spelling fixes.
Hans Leidekker <hans@it.vu.nl>
- Revert wrong -noname markup for Drag*, DoEnvironmentSubst and
SHGetNewLinkInfo{A,W}.
- Also mark stub exports -noname when they are exported by ordinal
only on win98/2k.
- Implementation level stubs for SheChangeDirA, SheGetDirA,
SHHelpShortcuts_RunDLL{A,W}.
- New spec file stubs for Control_RunDLLAsUserW,
FixupOptionalComponents, OCInstall, SHChangeNotifySuspendResume,
SHCreateProcessAsUserW, SHExtractIconsW,
SHInvokePrinterCommand{A,W}, SHIsFileAvailableOffline,
SHLoadNonloadedIconOverlayIdentifiers, SHPathPrepareForWrite{A,W},
ShellExec_RunDLL{,A,W}, SHGetIconOverlayIndex{A,W}.
- Mark exports -noname when they are exported by ordinal only on
win98/2k.
Marcelo Duarte <wine-devel@bol.com.br>
- Update the resources for Portuguese.
Filip Navara <xnavara@volny.cz>
- Don't crash if ShellFolder doesn't implement the IID_ISFHelper
interface.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
- Convert winemenubuilder to unicode.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
Marcus Meissner <marcus@jet.franken.de>
- Output some more informations.
- Mark one global variable static.
Huw Davies <huw@codeweavers.com>
- SetPath("") should return S_OK.
SetPath("nonexistent_path") should return S_FALSE.
- Don't prepend '\\' to the subkey name.
Joris Huizer <jorishuizer@planet.nl>
- renamed file_operation_delete and to shfileops_delete
- renamed file_operation_checkFlags to shfileops_check_flags
- added helper function shfileops_do_operation()
- added helper function shfileops_get_parent_attr()
- added helper function shfileops_get_parent_attr2()
- various cleanups in SHFileOperationW using these functions
Ge van Geldorp <gvg@reactos.com>
- Error numbers >= 32 are to be expected.
svn path=/trunk/; revision=14118
Alex Ionescu [Wed, 16 Mar 2005 03:12:32 +0000 (03:12 +0000)]
Fix dillo/vncviewer regressions (semaphore bug). thanks to art and waxdragon for notifying me of the regressions.
svn path=/trunk/; revision=14117
Gé van Geldorp [Tue, 15 Mar 2005 23:47:13 +0000 (23:47 +0000)]
Don't crash when debugger asks for invalid memory location
svn path=/trunk/; revision=14116
Filip Navara [Tue, 15 Mar 2005 23:33:54 +0000 (23:33 +0000)]
Accidently forgot to disable the debug messages.
svn path=/trunk/; revision=14115
Filip Navara [Tue, 15 Mar 2005 23:27:36 +0000 (23:27 +0000)]
Don't use uninitialized variable in FdoQueryBusRelations.
svn path=/trunk/; revision=14114
Filip Navara [Tue, 15 Mar 2005 23:02:51 +0000 (23:02 +0000)]
Fix broken logic in PoInit.
svn path=/trunk/; revision=14113
Filip Navara [Tue, 15 Mar 2005 23:02:12 +0000 (23:02 +0000)]
Set the ACPI flag in loader block *after* performing the ACPI detection.
svn path=/trunk/; revision=14112
Gregor Anich [Tue, 15 Mar 2005 22:26:12 +0000 (22:26 +0000)]
Improve the WNDOBJ implementation a bit... There are still some problems with the visible area when a window is overlapped by another one...
svn path=/trunk/; revision=14111
Gé van Geldorp [Tue, 15 Mar 2005 22:14:22 +0000 (22:14 +0000)]
Don't disable debugging just because we want the debug
prints to go to the screen or serial port
svn path=/trunk/; revision=14110
Gregor Anich [Tue, 15 Mar 2005 22:07:05 +0000 (22:07 +0000)]
Allow mapping of MDLs which describe I/O memory (device memory) into usermode. I hope the changes are correct :-/
svn path=/trunk/; revision=14109
Filip Navara [Tue, 15 Mar 2005 22:06:41 +0000 (22:06 +0000)]
Don't access the Irp->User* fields in NpfsSignalAndRemoveListeningServerInstance. The I/O manager will safely do that for us.
svn path=/trunk/; revision=14108
Gé van Geldorp [Tue, 15 Mar 2005 21:46:14 +0000 (21:46 +0000)]
Aric Stewart <aric@codeweavers.com>
- The values are quoted and spaces added, so having spaces in the
properties results in spaces in the values which is incorrect.
svn path=/trunk/; revision=14107
Gé van Geldorp [Tue, 15 Mar 2005 21:44:42 +0000 (21:44 +0000)]
Sync to Wine-
20050310:
Jeremy White <jwhite@codeweavers.com>
- Aggressively round up to the proper alignment when reporting position
on streams where we are converting up.
- When we are converting from one sample rate to another, we do have to
adjust when calculating TIME_SAMPLES.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
Robert Reif <reif@earthlink.net>
- Added parameter checking to timeGetDevCaps.
- Added timer tests.
Christian Costa <titan.costa@wanadoo.fr>
- Added some more cases to MCI_MapMsgAtoW.
- Fixed offsets calculations.
svn path=/trunk/; revision=14106
Steven Edwards [Tue, 15 Mar 2005 21:39:07 +0000 (21:39 +0000)]
Use the new ReactOS icon for the boot cd.
svn path=/trunk/; revision=14105
Gé van Geldorp [Tue, 15 Mar 2005 21:38:57 +0000 (21:38 +0000)]
Francois Gouget <fgouget@free.fr>
- Add a comment explaining why CDLGetLongPathName[AW] and
IsJITInProgress have hardcoded ordinals.
svn path=/trunk/; revision=14104
Gé van Geldorp [Tue, 15 Mar 2005 21:36:47 +0000 (21:36 +0000)]
Sync to Wine-
20050310:
Dmitry Timoshkov <dmitry@codeweavers.com>
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Documentation spelling fixes.
Thomas Weidenmueller <wine-patches@reactsoft.com>
- Forward to user32 when appropriate.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
svn path=/trunk/; revision=14103
Gé van Geldorp [Tue, 15 Mar 2005 21:30:32 +0000 (21:30 +0000)]
Sync to Wine-
20050310:
Jonathan Ernst <Jonathan@ErnstFamily.ch>
- Add French resources.
Henning Gerhardt <henning.gerhardt@web.de>
- Add/updated German resources.
Marcelo Duarte <wine-devel@bol.com.br>
- Update the resources for Portuguese.
- Use "MS Shell Dlg" everywhere except for Japanese.
Juan Lang <juan_lang@yahoo.com>
- Fix a crash if the Mozilla ActiveX control doesn't implement
DllCanUnloadNow.
svn path=/trunk/; revision=14102
Gunnar Dalsnes [Tue, 15 Mar 2005 19:40:22 +0000 (19:40 +0000)]
fixed GetTempFileNameA/W by ripping from wine
impl. GetLongPathNameA/W by ripping from wine
impl. EnumResourceNamesA/W by ripping from wine
Use common routines for filename A2W/W2A conversion (wine inspired)
impl. ReadDirectoryChangesW (kmode part is not workin yet)
fixed RtlSetCurrentDirectory_U (dont convert to long path)
svn path=/trunk/; revision=14101
Hartmut Birr [Tue, 15 Mar 2005 17:38:54 +0000 (17:38 +0000)]
On smp machines, unmap all low memory pages (except page 2 and 3).
svn path=/trunk/; revision=14100
Hartmut Birr [Tue, 15 Mar 2005 17:35:27 +0000 (17:35 +0000)]
Prevent from accessing DpcEvent in the KPCR structure, because it is currently a NULL pointer.
svn path=/trunk/; revision=14099
Filip Navara [Tue, 15 Mar 2005 15:58:36 +0000 (15:58 +0000)]
Fix debug messages.
svn path=/trunk/; revision=14098
Filip Navara [Tue, 15 Mar 2005 15:57:45 +0000 (15:57 +0000)]
Cleanup misleading code.
svn path=/trunk/; revision=14097
Hervé Poussineau [Tue, 15 Mar 2005 14:47:41 +0000 (14:47 +0000)]
Disable serial driver as it is in conflit with sermouse and debug output
svn path=/trunk/; revision=14096
Gé van Geldorp [Tue, 15 Mar 2005 11:38:15 +0000 (11:38 +0000)]
Sync to Wine-
20050310:
Americo Jose Melo <mmodem00@netvisao.pt>
Francois Gouget <fgouget@codeweavers.com>
- Translate the Wine resources to Portuguese.
Alex Villacfs Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
Juan Lang <juan_lang@yahoo.com>
- Implement SetupDiGetClassDevsA/W, SetupDiEnumDeviceInterfaces,
SetupDiDestroyDeviceInfoList, and SetupDiGetDeviceInterfaceDetailA for
serial ports.
Hans Leidekker <hans@it.vu.nl>
- Don't use utf8 in rc files.
Ge van Geldorp <gvg@reactos.com>
- eol-style fixes
svn path=/trunk/; revision=14094
Gé van Geldorp [Tue, 15 Mar 2005 09:22:34 +0000 (09:22 +0000)]
Sync to Wine-
20050310:
Alexandre Julliard <julliard@winehq.org>
- Avoid spaces before preprocessor directives, that's not portable.
Robert Shearman <rob@codeweavers.com>
- Add a stub implementation of RpcImpersonateClient.
- More tracing, particularly on error paths.
- ERROR_IO_PENDING is expected, so don't return an error.
Mike Hearn <mh@codeweavers.com>
- Suppress some useless warnings in the RPC runtime, and make a few
TRACEs that were reporting problems into WARNs.
svn path=/trunk/; revision=14093
Gé van Geldorp [Tue, 15 Mar 2005 09:08:16 +0000 (09:08 +0000)]
Sync to Wine-
20050310:
Mike McCormack <mike@codeweavers.com>
- Forward the RichEdit 1.0 control to the RichEdit 2.0 control.
- Don't clear ES_AUTO[HV]SCROLL in the edit control created by
richedit.
- Remove unused declaration.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Jason Edmeades <us@the-edmeades.demon.co.uk>
- Make the edit field created from a richedit control which was created
with ES_DISABLENOSCROLL, not have the ES_NUMBER style and hence accept
alphanumeric input.
svn path=/trunk/; revision=14092
Gé van Geldorp [Tue, 15 Mar 2005 09:04:29 +0000 (09:04 +0000)]
Sync to Wine-
20050310:
import
svn path=/trunk/; revision=14091
Gé van Geldorp [Tue, 15 Mar 2005 09:01:28 +0000 (09:01 +0000)]
Make room for vendor import
svn path=/trunk/; revision=14090
Gé van Geldorp [Tue, 15 Mar 2005 08:10:52 +0000 (08:10 +0000)]
Sync to Wine-
20050310:
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
- eol-style stuff
svn path=/trunk/; revision=14088
James Tabor [Tue, 15 Mar 2005 00:23:19 +0000 (00:23 +0000)]
eol-style native
svn path=/trunk/; revision=14086
Gé van Geldorp [Mon, 14 Mar 2005 23:44:13 +0000 (23:44 +0000)]
Sync to Wine-
20050310:
Jacek Caban <jack@itma.pwr.wroc.pl>
- Implemented GetRecordInfoFromTypeInfo and GetRecordInfoFromGuid.
- Beginnig implementation of IRecordInfo.
- More implementation of IRecordInfo.
Maxime Bellenge <maxime.bellenge@laposte.net>
- Implements OleLoadPicturePath.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Use variant macros instead of accessing the union directly.
- Documentation spelling fixes.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Implement OleFontImpl_QueryTextMetrics.
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
Marcelo Duarte <wine-devel@bol.com.br>
- Update the resources for Portuguese.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Add a stub for OleLoadPicturePath().
Huw Davies <huw@codeweavers.com>
- The typelib cache should take the typelib resource index into
account.
Mike Hearn <mh@codeweavers.com>
- Allow loading of builtin typelibs.
Marcus Meissner <marcus@jet.franken.de>
- Check for overflows with ClrUsed.
svn path=/trunk/; revision=14085
Gé van Geldorp [Mon, 14 Mar 2005 23:25:39 +0000 (23:25 +0000)]
Sync to Wine-
20050310
svn path=/trunk/; revision=14084
Gé van Geldorp [Mon, 14 Mar 2005 23:17:44 +0000 (23:17 +0000)]
Sync to Wine-
20050310:
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Documentation spelling fixes.
Mike McCormack <mike@codeweavers.com>
- Implement and test IPropertySetStorage.
- Fix more incorrect uses of STGM_ enumerations.
- Add struct StorageBaseImpl at the start of derived structures instead
of trying to keep the first members the same.
- StgOpenStorage shouldn't open zero length storage files.
- Shared reading of storage files requires STGM_TRANSACTED.
- Test and fix grfMode handling in StgOpenDocfile.
- Implement StgSetTimes.
Robert Shearman <rob@codeweavers.com>
- Better tracing.
- Small cleanup of creation functions.
- Rename apartment functions to become more object-oriented.
- Rename register_ifstub to marshal_object to more accurately describe
what it does.
- Add new function, apartment_getoxid, to prepare for a possible
future patch where remoting is started on demand.
- Move marshaling state machine into stub manager from ifstub.
- Add additional needed states for table-weak marshaling, as shown by
tests.
- Protect external reference count from underflows/overflows.
- Make COM use the RPC runtime as the backend for RPC calls. Based on a
patch by Ove Ksven.
- Invoke objects in STA's in the correct thread by sending messages to
the hidden apartment window.
- Use I_RpcGetBuffer, instead of our own buffer routines to fix an
occasional test crash caused by heap corruption.
- Zero the memory block passed to RpcServerRegisterIfEx so we don't
pass garbage in some of the fields we don't fill in.
- Return the correct error code from create_server and fix two handle
leaks.
- TODO update.
- Remove cruft left over from previous RPC backend implementation in
the apartment structure.
- Don't pass an IPID by value for proxy_manager_create_ifproxy.
- Disable more of RPC_UnregisterInterface to prevent the RPC runtime
using freed memory.
- Rename various external RPC backend functions so that they all have
the same "RPC_" prefix.
- Reduce the timeout of the function that connects to a local server
to 30s, like native.
- Make each ifproxy have its own channel buffer to fix a bug where a
proxy with multiple interfaces could invoke the wrong stub buffer on
the server.
- The Global Interface Table should do table-strong marshaling instead
of normal marshaling so that an interface can be retrieved more than
one time.
Mike Hearn <mh@codeweavers.com>
- Avoid infinite loop when doing a typelib marshalled
IUnknown::QueryInterface by only doing an extra QI if requested IID is
not equal to marshalled IID.
Rob Shearman <rob@codeweavers.com>
Mike Hearn <mh@codeweavers.com>
- Add re-entrancy tests to the test suite.
- Run RPCs on a new thread client side so we can pump the message
loop.
Juan Lang <juan_lang@yahoo.com>
- Fix the calling convention of DllCanUnloadNow.
- Move vtbl to end of file and get rid of unnecessary prototypes.
- Implement StgCreatePropSetStg.
Joris Huizer <jorishuizer@planet.nl>
- A few memory checks avoiding memory leaks.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Paul Vriens <Paul.Vriens@xs4all.nl>
- Added some TRACE statements.
svn path=/trunk/; revision=14083
Gé van Geldorp [Mon, 14 Mar 2005 22:56:02 +0000 (22:56 +0000)]
Sync to Wine-
20050310
svn path=/trunk/; revision=14082
Gé van Geldorp [Mon, 14 Mar 2005 22:54:57 +0000 (22:54 +0000)]
Sync to Wine-
20050310:
Ulrich Czekalla <ulrich@codeweavers.com>
- Add support for radio buttons.
- Allocate space for terminating null.
- Fix a memory leak.
- Prevent accessing freed memory in failure case.
Mike McCormack <mike@codeweavers.com>
- Add a border to the edit control, add some more controls.
- Implement SQL delete query.
- Move product, feature and component enumeration functions to
registry.c.
- Make sure strings are null terminated.
- Fix up the summary information code a little.
- Allow MsiViewExecute to be called twice on the same query.
- Implement MsiDatabaseGetPrimaryKeys.
- MsiGetComponentPath should allow null pointers for pcchBuf and
lpPathBuf.
- Remove const declaration from non-const function.
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Added MSI Spanish resources.
Juan Lang <juan_lang@yahoo.com>
- Implement MsiEnumRelatedProducts.
- make sure msihandle2msiinfo is correctly matched with msiobj_release
- don't do redundant NULL checks
- Don't hardcode windows or system directories, correct a typo.
- Fix a regression in AppSearch.
Jonathan Ernst <Jonathan@ErnstFamily.ch>
- Add French resources.
Henning Gerhardt <henning.gerhardt@web.de>
- Add/updated German resources.
Marcelo Duarte <wine-devel@bol.com.br>
- Update the resources for Portuguese.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Alexandre Julliard <julliard@winehq.org>
- Avoid spaces before preprocessor directives, that's not portable.
Aric Stewart <aric@codeweavers.com>
- Text reformatting patch to clean up all the static strings.
- Implement the action RegisterFonts.
- Add the ExecuteAction handler.
- Store the keypath, and do refcounting and registration of SharedDLLs.
- Fix a bug with handing dword values in the registry.
- Fix bugs with writing registry keys where value == NULL.
- Make use of msidefs.h.
- Lay some groundwork for uninstalls.
- Update the installed state for components during CostFinalize. Laying
groundwork to be able to start processing uninstall logic as well.
- Fixed problems with my code for finding the PackageCode.
- Stubs for MsiUseFeature.
- Do some basic work with registry component paths.
- Make sure formats like [\\]] and [\\[] work properly.
Steven Edwards <steven@codeweavers.com>
- Correct typo.
Marcus Meissner <marcus@jet.franken.de>
- Output some more informations.
- Mark one global variable static.
svn path=/trunk/; revision=14081
Emanuele Aliberti [Mon, 14 Mar 2005 22:38:12 +0000 (22:38 +0000)]
SMDLL + SMLIB (static code in SMSS.EXE)
SM now self registers for IMAGE_SUBSYSTEM_NATIVE.
svn path=/trunk/; revision=14080
Gé van Geldorp [Mon, 14 Mar 2005 22:28:58 +0000 (22:28 +0000)]
Sync to Wine-
20050310:
Marcelo Duarte <wine-devel@bol.com.br>
- Use "MS Shell Dlg" everywhere except for Japanese.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
svn path=/trunk/; revision=14079
Gé van Geldorp [Mon, 14 Mar 2005 22:24:35 +0000 (22:24 +0000)]
Sync to Wine-
20050310:
Alexandre Julliard <julliard@winehq.org>
- Make sure to always pass valid QS_* flags to
MsgWaitForMultipleObjects.
Christian Costa <titan.costa@wanadoo.fr>
- Implemented GetProperty method for keyboard device.
svn path=/trunk/; revision=14078
Gé van Geldorp [Mon, 14 Mar 2005 22:21:18 +0000 (22:21 +0000)]
Sync to Wine-
20050310:
Marcelo Duarte <wine-devel@bol.com.br>
- Update the resources for Portuguese.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Documentation spelling fixes.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
Troy Rollo <wine@troy.rollo.name>
- Fix stack object overrun when an application calls ChooseFontA.
Mike Hearn <mh@codeweavers.com>
- Respect the flags member of the CHOOSEFONT structure, and don't
attempt to process bogus strings.
svn path=/trunk/; revision=14077
Hervé Poussineau [Mon, 14 Mar 2005 21:30:25 +0000 (21:30 +0000)]
Add registry entries for serial driver
svn path=/trunk/; revision=14075