Christoph von Wittich [Thu, 22 Nov 2007 14:06:12 +0000 (14:06 +0000)]
fix memory corruption
svn path=/trunk/; revision=30672
Art Yerkes [Thu, 22 Nov 2007 12:10:08 +0000 (12:10 +0000)]
Fix prefast errors (submitted by Christoph Von Wittich)
1 Function was unused.
lock.c: Add missing null check.
svn path=/trunk/; revision=30671
Christoph von Wittich [Thu, 22 Nov 2007 11:54:26 +0000 (11:54 +0000)]
fix some PREfast warnings
svn path=/trunk/; revision=30670
Christoph von Wittich [Thu, 22 Nov 2007 11:48:43 +0000 (11:48 +0000)]
fix a PREfast warning
svn path=/trunk/; revision=30669
Christoph von Wittich [Thu, 22 Nov 2007 11:36:32 +0000 (11:36 +0000)]
fix some PREfast warnings
svn path=/trunk/; revision=30668
Christoph von Wittich [Thu, 22 Nov 2007 11:27:17 +0000 (11:27 +0000)]
fix msvc build by replacing DDKAPI with NTAPI (both __stdcall)
fix some format strings
svn path=/trunk/; revision=30667
Christoph von Wittich [Thu, 22 Nov 2007 11:12:39 +0000 (11:12 +0000)]
don't return a value in a void function
svn path=/trunk/; revision=30666
Aleksey Bragin [Thu, 22 Nov 2007 09:42:50 +0000 (09:42 +0000)]
Dmitry Chapyshev <lentind@yandex.ru>
- Add two include files from Wine, they will be needed for a DLL to be committed later.
svn path=/trunk/; revision=30665
Daniel Reimer [Thu, 22 Nov 2007 09:16:23 +0000 (09:16 +0000)]
German Translations for ipconfig, clb.dll and rasapi32.dll
tbd: modemui and appwiz
svn path=/trunk/; revision=30664
Aleksey Bragin [Thu, 22 Nov 2007 09:11:32 +0000 (09:11 +0000)]
Dmitry Chapyshev <lentind@yandex.ru>
- Add russian translation for screensavers.
svn path=/trunk/; revision=30663
Aleksey Bragin [Thu, 22 Nov 2007 09:06:12 +0000 (09:06 +0000)]
Dmitry Chapyshev <lentind@yandex.ru>
- Add more defines to ras.h and rasdlg.h
svn path=/trunk/; revision=30662
Thomas Bluemel [Thu, 22 Nov 2007 05:36:01 +0000 (05:36 +0000)]
Add a hack for SPI_GETKEYBOARDCUES
svn path=/trunk/; revision=30661
Thomas Bluemel [Thu, 22 Nov 2007 05:33:22 +0000 (05:33 +0000)]
Forward WM_UPDATEUISTATE to DefWindowProc
svn path=/trunk/; revision=30660
Thomas Bluemel [Thu, 22 Nov 2007 00:40:24 +0000 (00:40 +0000)]
- Support DT_PREFIXONLY and DT_HIDEPREFIX in DrawTextEx
- Support DSS_PREFIXONLY and DSS_HIDEPREFIX in DrawState
svn path=/trunk/; revision=30659
Thomas Bluemel [Thu, 22 Nov 2007 00:38:24 +0000 (00:38 +0000)]
Add missing definitions
svn path=/trunk/; revision=30658
Thomas Bluemel [Thu, 22 Nov 2007 00:09:21 +0000 (00:09 +0000)]
- Display cues and focus when hitting the ALT key.
- Simplify broadcasting the UI state change
svn path=/trunk/; revision=30657
Colin Finck [Wed, 21 Nov 2007 23:50:03 +0000 (23:50 +0000)]
Update mingw headers to version 3.13
Patch by encoded
I made the following modifications to the patch:
- excpt.h - Removed the inclusion of <windef.h>, it caused compilation problems and I don't see a need for it, also CRT headers shouldn't include PSDK headers at all
- tchar.h - Removed the file as it would most-probably interfere with our PSDK tchar.h and this shouldn't be a CRT header
- values.h - Removed the file, it has no real content
- varargs.h - Removed the file, it just contains a #include_next line to include the next available varargs.h, also #include_next directives aren't supported by MSVC
See issue #2736 for more details.
svn path=/trunk/; revision=30656
Colin Finck [Wed, 21 Nov 2007 22:41:24 +0000 (22:41 +0000)]
Get avtest to build again by adding the _NTDDK_ define
See issue #2220 for more details.
svn path=/trunk/; revision=30655
Christoph von Wittich [Wed, 21 Nov 2007 21:25:26 +0000 (21:25 +0000)]
fix some format strings
svn path=/trunk/; revision=30652
Christoph von Wittich [Wed, 21 Nov 2007 21:02:16 +0000 (21:02 +0000)]
SetDlgItemText doesn't like NULL
svn path=/trunk/; revision=30650
Christoph von Wittich [Wed, 21 Nov 2007 20:35:52 +0000 (20:35 +0000)]
fix some PREfast warnings
svn path=/trunk/; revision=30649
Colin Finck [Wed, 21 Nov 2007 20:23:15 +0000 (20:23 +0000)]
Bulgarian translations by Станев (sstpr AT narod DOT ru)
See issue #2838 for more details.
svn path=/trunk/; revision=30647
Christoph von Wittich [Wed, 21 Nov 2007 20:14:25 +0000 (20:14 +0000)]
fix some warnings
svn path=/trunk/; revision=30646
Aleksey Bragin [Wed, 21 Nov 2007 19:54:06 +0000 (19:54 +0000)]
Dmitry Chapyshev <lentind@yandex.ru>
- Add russian translation.
- Fix control's size (in all languages).
svn path=/trunk/; revision=30645
Thomas Bluemel [Wed, 21 Nov 2007 19:53:09 +0000 (19:53 +0000)]
Only update the UI state if the dialog is a top level window. If it is a client window (e.g. a property sheet or embedded dialog) we simply copy the UI state from the parent.
svn path=/trunk/; revision=30644
Christoph von Wittich [Wed, 21 Nov 2007 19:37:33 +0000 (19:37 +0000)]
set DRIVER_DISPATCH where needed
svn path=/trunk/; revision=30643
Christoph von Wittich [Wed, 21 Nov 2007 19:11:40 +0000 (19:11 +0000)]
fix condition
svn path=/trunk/; revision=30642
Christoph von Wittich [Wed, 21 Nov 2007 17:28:15 +0000 (17:28 +0000)]
fix a format string
svn path=/trunk/; revision=30641
Christoph von Wittich [Wed, 21 Nov 2007 17:20:36 +0000 (17:20 +0000)]
fix some format strings
svn path=/trunk/; revision=30640
Christoph von Wittich [Wed, 21 Nov 2007 17:18:25 +0000 (17:18 +0000)]
fix building with msvc
svn path=/trunk/; revision=30639
Christoph von Wittich [Wed, 21 Nov 2007 17:11:49 +0000 (17:11 +0000)]
don't assign DO_DIRECT_IO directly to DeviceObject->Flags
set DRIVER_DISPATCH where needed
svn path=/trunk/; revision=30638
Christoph von Wittich [Wed, 21 Nov 2007 17:08:21 +0000 (17:08 +0000)]
fix some format strings
svn path=/trunk/; revision=30637
Christoph von Wittich [Wed, 21 Nov 2007 16:50:07 +0000 (16:50 +0000)]
fix some format strings
svn path=/trunk/; revision=30636
Colin Finck [Wed, 21 Nov 2007 16:27:35 +0000 (16:27 +0000)]
Add the greek translation for comctl32 from Wine on request of Apostolos Alexiadis (djapal AT gmail DOT com)
He published it some months ago in bug 2464, then sent it to Wine and now it got applied there.
As I don't want to risk new regressions, I only imported the translation from Wine instead of doing a full winesync.
svn path=/trunk/; revision=30634
Christoph von Wittich [Wed, 21 Nov 2007 16:01:59 +0000 (16:01 +0000)]
don't assign DO_DIRECT_IO directly to DeviceObject->Flags
svn path=/trunk/; revision=30633
Colin Finck [Wed, 21 Nov 2007 15:58:33 +0000 (15:58 +0000)]
Italian translation for mstsc by Gabriel Ilardi (gabrielilardi AT hotmail DOT it)
See issue #2794 for more details.
svn path=/trunk/; revision=30632
Ged Murphy [Wed, 21 Nov 2007 15:58:00 +0000 (15:58 +0000)]
add some basic command line parsing
svn path=/trunk/; revision=30631
Christoph von Wittich [Wed, 21 Nov 2007 15:55:58 +0000 (15:55 +0000)]
fix format strings
svn path=/trunk/; revision=30630
Christoph von Wittich [Wed, 21 Nov 2007 15:53:31 +0000 (15:53 +0000)]
set DRIVER_CANCEL and DRIVER_DISPATCH where needed
svn path=/trunk/; revision=30629
Christoph von Wittich [Wed, 21 Nov 2007 15:46:38 +0000 (15:46 +0000)]
don't include crt
define STDCALL
svn path=/trunk/; revision=30628
Christoph von Wittich [Wed, 21 Nov 2007 15:40:41 +0000 (15:40 +0000)]
initialize Bios Parameter Block
fix building with msvc
svn path=/trunk/; revision=30627
Colin Finck [Wed, 21 Nov 2007 14:26:42 +0000 (14:26 +0000)]
Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2836 for more details.
svn path=/trunk/; revision=30625
Colin Finck [Wed, 21 Nov 2007 12:17:44 +0000 (12:17 +0000)]
Update information about shell32, it has been forked at Wine-
20071011
svn path=/trunk/; revision=30623
Christoph von Wittich [Wed, 21 Nov 2007 11:47:58 +0000 (11:47 +0000)]
adding back -enable-stdcall-fixup linkerflag
svn path=/trunk/; revision=30622
Aleksey Bragin [Wed, 21 Nov 2007 11:21:07 +0000 (11:21 +0000)]
- Slightly reformat.
svn path=/trunk/; revision=30621
Aleksey Bragin [Wed, 21 Nov 2007 11:18:15 +0000 (11:18 +0000)]
- Remove stupid and greatly broken "let's wait in a loop, while querying current time" by calls to KeDelayExecutionThread().
svn path=/trunk/; revision=30620
Aleksey Bragin [Wed, 21 Nov 2007 11:15:43 +0000 (11:15 +0000)]
- Implement some roothub URB handling, and generic URB completion (copied from EHCI's).
- Now OHCI is able to read ports statuses, and even discovers a low-speed device connected to the port, however port status clearing doesn't seem to work.
svn path=/trunk/; revision=30619
Christoph von Wittich [Wed, 21 Nov 2007 11:09:47 +0000 (11:09 +0000)]
fix some PREfast warnings
svn path=/trunk/; revision=30618
Christoph von Wittich [Wed, 21 Nov 2007 10:57:25 +0000 (10:57 +0000)]
don't try to free CurrentBuffer when allocation failed
svn path=/trunk/; revision=30617
Aleksey Bragin [Wed, 21 Nov 2007 09:51:03 +0000 (09:51 +0000)]
- Start implementing URB operations (so that at least roothub URB could come through).
svn path=/trunk/; revision=30616
Aleksey Bragin [Wed, 21 Nov 2007 09:18:32 +0000 (09:18 +0000)]
Andrey Korotaev <unC0Rr@inbox.ru>
- Fix inverted logic in fs recognizer, and some comment fixes.
See issue #2325 for more details.
svn path=/trunk/; revision=30615
Christoph von Wittich [Wed, 21 Nov 2007 09:13:33 +0000 (09:13 +0000)]
initialize FileName and SourceBuffer
svn path=/trunk/; revision=30614
Thomas Bluemel [Wed, 21 Nov 2007 09:12:20 +0000 (09:12 +0000)]
Make dialogs update the UI state
svn path=/trunk/; revision=30613
Thomas Bluemel [Wed, 21 Nov 2007 08:43:20 +0000 (08:43 +0000)]
Check SPI_GETKEYBOARDCUES to find out if we should process WM_CHANGEUISTATE and WM_UPDATEUISTATE
svn path=/trunk/; revision=30612
Thomas Bluemel [Wed, 21 Nov 2007 08:32:45 +0000 (08:32 +0000)]
Implement WM_QUERYUISTATE, WM_CHANGEUISTATE and WM_UPDATEUISTATE
svn path=/trunk/; revision=30611
Thomas Bluemel [Wed, 21 Nov 2007 05:35:33 +0000 (05:35 +0000)]
Store the internal window placement directly inside the WINDOW structure
svn path=/trunk/; revision=30610
Thomas Bluemel [Tue, 20 Nov 2007 23:15:49 +0000 (23:15 +0000)]
Optimize GetDesktopWindow() to read the information from the shared heap
svn path=/trunk/; revision=30609
Aleksey Bragin [Tue, 20 Nov 2007 22:45:48 +0000 (22:45 +0000)]
- Implement a port reset function.
- Fix a bug in get_dev_change function.
svn path=/trunk/; revision=30608
Aleksey Bragin [Tue, 20 Nov 2007 20:50:56 +0000 (20:50 +0000)]
- Implement init and start of OHCI controller (interrupts are still disabled, because corresponding code is not implemented).
- Implement stubbed HCD interface functions for OHCI.
- Add Endpoint Descriptor and Transfer Descriptor structs from Linux.
svn path=/trunk/; revision=30607
Christoph von Wittich [Tue, 20 Nov 2007 20:44:24 +0000 (20:44 +0000)]
SetupDiGetDeviceInstanceId returns size in characters not in bytes
svn path=/trunk/; revision=30606
Christoph von Wittich [Tue, 20 Nov 2007 20:05:38 +0000 (20:05 +0000)]
set TARGETTYPE=LIBRARY when fileext is dll
svn path=/trunk/; revision=30605
Thomas Bluemel [Tue, 20 Nov 2007 19:58:51 +0000 (19:58 +0000)]
Optimize TranslateMessage() to only call win32k for messages that need to be translated
svn path=/trunk/; revision=30604
James Tabor [Tue, 20 Nov 2007 19:56:57 +0000 (19:56 +0000)]
Removing old syscalls and updated related files. Old syscalls will be renamed for internal use.
svn path=/trunk/; revision=30603
Christoph von Wittich [Tue, 20 Nov 2007 19:35:40 +0000 (19:35 +0000)]
use sizeof(OBJECT_ATTRIBUTES) instead of sizeof(POBJECT_ATTRIBUTES) when probing ObjectAttributes for read
svn path=/trunk/; revision=30602
Christoph von Wittich [Tue, 20 Nov 2007 19:15:02 +0000 (19:15 +0000)]
add missing brackets in MmReserveSwapPages
svn path=/trunk/; revision=30601
Christoph von Wittich [Tue, 20 Nov 2007 19:10:42 +0000 (19:10 +0000)]
fix some format strings
svn path=/trunk/; revision=30600
Christoph von Wittich [Tue, 20 Nov 2007 16:05:59 +0000 (16:05 +0000)]
limit length of szValue to LF_FACESIZE to prevent a buffer overflow
initialize szValue
svn path=/trunk/; revision=30599
Christoph von Wittich [Tue, 20 Nov 2007 15:42:29 +0000 (15:42 +0000)]
define DDDKAPI - it isn't defined in WDK
svn path=/trunk/; revision=30598
Christoph von Wittich [Tue, 20 Nov 2007 15:26:17 +0000 (15:26 +0000)]
use ExAllocatePoolWithTag instead of ExAllocatePool
svn path=/trunk/; revision=30597
Aleksey Bragin [Tue, 20 Nov 2007 15:16:16 +0000 (15:16 +0000)]
- Add roothub status operations.
- Ports count is correctly detected now.
- Added all necessary stubs for HCD interface, so that usbdriver can work further.
svn path=/trunk/; revision=30596
Aleksey Bragin [Tue, 20 Nov 2007 13:51:59 +0000 (13:51 +0000)]
- Further develop OHCI init code (based on linux-2.6.14.3).
svn path=/trunk/; revision=30595
Aleksey Bragin [Tue, 20 Nov 2007 13:47:45 +0000 (13:47 +0000)]
- Fix build.
svn path=/trunk/; revision=30594
Aleksey Bragin [Tue, 20 Nov 2007 12:58:23 +0000 (12:58 +0000)]
- Implement more OHCI helper routines.
svn path=/trunk/; revision=30593
Aleksey Bragin [Tue, 20 Nov 2007 11:53:15 +0000 (11:53 +0000)]
- Don't create a possibility for CriticalRegion leakage (spotted by PREfast).
svn path=/trunk/; revision=30592
Art Yerkes [Tue, 20 Nov 2007 10:22:52 +0000 (10:22 +0000)]
We need to separate the idea of 'fully initialized' from 'ldr data structures
are present' so we can deal with early thread creation. This fixes cygwin.
svn path=/trunk/; revision=30591
Aleksey Bragin [Tue, 20 Nov 2007 10:17:34 +0000 (10:17 +0000)]
- Load symbols for NTOSKRNL and HAL as 1st and 2nd entries in LoadOrderList in LPB.
- Remove now unused symbol-loading function, silence an error message in rossym/frommem.c, since it's a normal situation now (if it's not in memory, then it's on disk and needs to be loaded).
svn path=/trunk/; revision=30590
Christoph von Wittich [Tue, 20 Nov 2007 08:12:33 +0000 (08:12 +0000)]
add missing STDCALL decorations
svn path=/trunk/; revision=30589
Christoph von Wittich [Tue, 20 Nov 2007 08:06:46 +0000 (08:06 +0000)]
remove the -enable-stdcall-fixup linkerflag
svn path=/trunk/; revision=30588
Christoph von Wittich [Tue, 20 Nov 2007 08:05:41 +0000 (08:05 +0000)]
adding back STDCALL decorations
svn path=/trunk/; revision=30587
Christoph von Wittich [Tue, 20 Nov 2007 08:05:20 +0000 (08:05 +0000)]
adding back STDCALL decorations
svn path=/trunk/; revision=30586
Christoph von Wittich [Tue, 20 Nov 2007 07:51:53 +0000 (07:51 +0000)]
autogenerate module definition files for msvc
svn path=/trunk/; revision=30585
James Tabor [Tue, 20 Nov 2007 05:31:21 +0000 (05:31 +0000)]
Sorry! revert the dump!
svn path=/trunk/; revision=30584
James Tabor [Tue, 20 Nov 2007 05:25:13 +0000 (05:25 +0000)]
Add IsObjectDead call and fixed the exceptions in gdiobj.
svn path=/trunk/; revision=30583
James Tabor [Tue, 20 Nov 2007 02:22:30 +0000 (02:22 +0000)]
Optimize and cleanup dcutil.
svn path=/trunk/; revision=30582
James Tabor [Tue, 20 Nov 2007 01:03:00 +0000 (01:03 +0000)]
Fix another missing dca set.
svn path=/trunk/; revision=30581
Colin Finck [Mon, 19 Nov 2007 20:35:46 +0000 (20:35 +0000)]
Commit the "write" translation, which wasn't committed in r30579
See issue #2832 for more details.
svn path=/trunk/; revision=30580
Daniel Reimer [Mon, 19 Nov 2007 20:05:05 +0000 (20:05 +0000)]
Patch: 2832 Ukrainian translation update (except the outdated downloader RC file) by temarezATyandex.ru
svn path=/trunk/; revision=30579
Christoph von Wittich [Mon, 19 Nov 2007 14:24:03 +0000 (14:24 +0000)]
don't crash on media change while accessing data
svn path=/trunk/; revision=30578
Christoph von Wittich [Mon, 19 Nov 2007 12:14:54 +0000 (12:14 +0000)]
don't crash when Buffer is NULL
svn path=/trunk/; revision=30577
Aleksey Bragin [Mon, 19 Nov 2007 11:26:52 +0000 (11:26 +0000)]
- Rewrite KdbSymProcessSymbols to use the KD_SYMBOLS_INFO structure kernel sends us. This removes the need for ugly names operations (maybe buggy!), and presents an elegant solution: just finding the needed module by its base address.
- As a result, ALL modules get their symbols loaded now.
- TODO: Remove KdbSymProcessBootSymbols(), it's used right now to load ntoskrnl and hal symbols during boot process.
svn path=/trunk/; revision=30576
James Tabor [Mon, 19 Nov 2007 10:36:23 +0000 (10:36 +0000)]
Fireball found one I missed.
svn path=/trunk/; revision=30575
Daniel Reimer [Mon, 19 Nov 2007 10:04:29 +0000 (10:04 +0000)]
Remove all trailing Spaces.
Change the Name shown for the ScreenSaver in the String to a more fitting one.
Add a German Resource.
svn path=/trunk/; revision=30574
James Tabor [Mon, 19 Nov 2007 07:41:11 +0000 (07:41 +0000)]
Add a test for VM address space when accessing user data.
svn path=/trunk/; revision=30573
James Tabor [Mon, 19 Nov 2007 02:48:25 +0000 (02:48 +0000)]
Move gdi functions to dcattr. Tested Qemu with AbiWord.
svn path=/trunk/; revision=30572
Marc Piulachs [Mon, 19 Nov 2007 01:26:33 +0000 (01:26 +0000)]
Add butterfiles OpenGL screen saver to build
svn path=/trunk/; revision=30571
Marc Piulachs [Mon, 19 Nov 2007 01:11:35 +0000 (01:11 +0000)]
Cool flying butterflies screen saver. It uses the new scrnsave library. All screen savers *should* be modified to use this library inset of replicating a large amount of code
Original work by Jeff Molofee tutorials (http://nehe.gamedev.net)
basically converted from C++ to C and adapted as a windows screensaver
svn path=/trunk/; revision=30570
Marc Piulachs [Mon, 19 Nov 2007 00:44:52 +0000 (00:44 +0000)]
add scrnsave to build
svn path=/trunk/; revision=30569
Marc Piulachs [Mon, 19 Nov 2007 00:35:39 +0000 (00:35 +0000)]
Move scrnsave to a more correct location as it's a static library part of MS DDK
svn path=/trunk/; revision=30568
Art Yerkes [Sun, 18 Nov 2007 23:59:48 +0000 (23:59 +0000)]
When doing NtAllocateVirtualMemory, you need to MEM_RELEASE if you intend to
free the memory, otherwise you'll get stray address space hanging around. This
was noticeable as a leak if you just left the command prompt sitting, because
every DC allocated to blink the cursor kept address space that was never freed.
svn path=/trunk/; revision=30567
Marc Piulachs [Sun, 18 Nov 2007 23:27:54 +0000 (23:27 +0000)]
This library is (hopefully) compatible with Microsoft's screen saver library.
svn path=/trunk/; revision=30566