Commit graph

22997 commits

Author SHA1 Message Date
Alex Ionescu 9bb38bc012 - Apologies, forgot these two files for the Dbgk patch.
- Adds PsNtDllPathName constant string since we use it in two place (PsLocateSystemDll and DbgkpCreateThread).
- Adds PsImageNotifyEnabled boolean flag and sets it to true (although it should only be when a routine is installed, but ROS doesn't do this yet.

svn path=/trunk/; revision=24733
2006-11-12 22:36:21 +00:00
Alex Ionescu 29a0679654 - Implement MmAddVerifierThunks, MmIsDriverVerifying, MmIsVerifierEnabled.
- Not used by anything, these are for 3rd-party drivers and Driver Verifier.

svn path=/trunk/; revision=24732
2006-11-12 22:34:28 +00:00
Alex Ionescu 00418f00bf - Fix flags in DbgkpSectionToFileHandle
- Implement DbgkpCreateThread.
- Implement DbgkpSetProcessDebugObject.

svn path=/trunk/; revision=24731
2006-11-12 22:33:04 +00:00
Alex Ionescu 5415ad9497 - Cleanup fastio.c
- Implement FsRtlMdlReadDev (this function is not called, no risk of regressions).
- Move FsRtlAcquireFileExclusive and FsRtlReleaseFileExclusive from filelock.c to fastio.c.
- Bugfix these functions to actually call FsRtlEnter/ExitFileSystem.
- Huge cleanusp of filelock.c, but no code changes, except the usage of some simpler macros provided by NTIFS.H (with equivalent code).

svn path=/trunk/; revision=24730
2006-11-12 22:31:45 +00:00
Alex Ionescu 49c35d197f - Add CcFastMdlReadWait extern to ntifs.h
- Add FsRtlCompleteRequest macro to ntifs.h
- Add LDRP_DRIVER_VERIFYING flag to ldrtypes.h
- Add MM_DRIVER_VERIFIER_DATA and DRIVER_SPECIFIED_DRIVER_THUNKS to mmtypes.h
- Add MAXLONGLONG to ntdef.h.

svn path=/trunk/; revision=24729
2006-11-12 22:27:10 +00:00
Ged Murphy c77ef10192 - fix a bug freeing memory for floating windows.
- ShowHideWindow needs no more than a Window handle

svn path=/trunk/; revision=24728
2006-11-12 20:13:39 +00:00
Johannes Anderwald 48e98be889 - add dbgprint tool as optional tool
svn path=/trunk/; revision=24727
2006-11-12 13:37:02 +00:00
Art Yerkes 4f1dd7e361 Broaden a lock to prevent a race for completion of the receive IRP. Fixes
some crashes while receiving from a fast remote host under load.

svn path=/trunk/; revision=24726
2006-11-12 10:01:56 +00:00
Eric Kohl 250bddf673 Fix a typo in the library name. kbdv.dll -> kbddv.dll
svn path=/trunk/; revision=24725
2006-11-11 21:29:10 +00:00
Johannes Anderwald dff9cbd270 - fix typo, identation, grammar in multiple german resource files
- patch by maku
See issue #1847 for more details.

svn path=/trunk/; revision=24724
2006-11-11 21:13:38 +00:00
Johannes Anderwald b32dec065a - fix text box alignment
- spotted by Coviti
- patch by Coviti

See issue #1860 for more details.

svn path=/trunk/; revision=24723
2006-11-11 20:53:52 +00:00
Eric Kohl ff30ee9de7 KbdLayerDescriptor is a STDCALL function.
svn path=/trunk/; revision=24722
2006-11-11 20:33:06 +00:00
Johannes Anderwald 89655cd6a2 - use dbgprint tool to output debug messages
svn path=/trunk/; revision=24721
2006-11-11 16:41:52 +00:00
Johannes Anderwald ee8ad2c335 - add a primitive tool to output text via DbgPrint
svn path=/trunk/; revision=24720
2006-11-11 16:07:35 +00:00
Aleksey Bragin d112ca4391 Make SystemConfigurationDataQueryRoutine() store information about as many drives as needed (previous version of the code did the same).
Fixes "no partitions list" bug in usetup introduced in 24718.

svn path=/trunk/; revision=24719
2006-11-11 13:17:58 +00:00
Hervé Poussineau eb77bd4e85 - Set correct flags when calling Nt* functions during file copy
- Fix reading of disks parameter in registry
- Keep FS name in unicode instead of char
- Don't hardcode more than once ReactOS directory on bootcd ('\reactos')
- Get screen dimensions only once (at startup)
- General cleanup (warnings...)
- Do some actions only if __REACTOS__ if defined. (I'm currently using them to debug usetup)

svn path=/trunk/; revision=24718
2006-11-10 21:00:24 +00:00
Hervé Poussineau 7885d994ff Move some files to subdirectories. No code change.
svn path=/trunk/; revision=24717
2006-11-10 18:20:00 +00:00
Johannes Anderwald 59ec217f00 - add a sample bootchecking script (running after 3rd boot)
- to enable 
1. copy testboot.bat.sample to testboot.bat
2. uncomment GuiRunOnce section in unattend.inf
3. add "cmd.exe /C %SystemRoot%\bin\testboot.bat"

svn path=/trunk/; revision=24714
2006-11-10 13:03:30 +00:00
James Tabor 065806e5f1 Sync up PATH_Arc and PATH_Ellipse with Wine.
svn path=/trunk/; revision=24713
2006-11-10 12:50:34 +00:00
Johannes Anderwald 445e9e71b5 - add documentation for GuiRunOnce
svn path=/trunk/; revision=24712
2006-11-10 11:17:17 +00:00
Johannes Anderwald 037bd166bc - implement a GuiRunOnce section for unatttended setup
- with this we launch programs after 3rd boot (programs / scripts)
- another a little step for sysreg :)

svn path=/trunk/; revision=24711
2006-11-10 11:16:38 +00:00
Ged Murphy d22e48600b The one that got away...
...add file with the code for writing the font data

svn path=/trunk/; revision=24710
2006-11-09 20:45:52 +00:00
Ged Murphy f5fe947177 - add some font data to the combo boxes
svn path=/trunk/; revision=24709
2006-11-09 20:28:29 +00:00
Ged Murphy f56d1e28ca don't force usage of warning.h as it breaks building on msvc unless the WDK is installed.
svn path=/trunk/; revision=24708
2006-11-09 18:47:05 +00:00
Saveliy Tretiakov 0b70008f89 For windows with WS_EX_DLGMODALFRAME sysmenu can be opened only by right mouse click ( new fix, no movable buttons in calculator)
svn path=/trunk/; revision=24707
2006-11-09 18:34:36 +00:00
Hervé Poussineau 9f9c29b952 Correctly clear DO_DEVICE_INITIALIZING flag
See issue #1862 for more details.

svn path=/trunk/; revision=24706
2006-11-09 12:38:40 +00:00
Johannes Anderwald 534b73b00f - revert part of 24701 as requested on ml
"It's plain wrong to set eol-style:native for files of type .dsp, *.dsw, *.vcproj, *.sln and some other files like chinese resource scripts"

svn path=/trunk/; revision=24705
2006-11-09 06:58:56 +00:00
James Tabor 8110686c9c Incremental changes, adding new Create and Delete DC functions and support structures.
svn path=/trunk/; revision=24704
2006-11-09 01:45:42 +00:00
Ged Murphy 73ce7bc885 - create a pretty combobox custom control which resembles the one in MS Office as the standard Windows/ReactOS combo box is ugly
- change ShowHideWindow to make it more reliable
- fix the second combobox positioning within the text toolbar
- hide all windows except the toolbar at startup (these will eventually be read from the registry)

svn path=/trunk/; revision=24703
2006-11-08 19:27:57 +00:00
Ged Murphy 329371d730 - fix drawing on the memory device to be the same as the screen, not that it really matters as it's just test code, but it's always nice to have correct test code ;)
- change typo for compilation unit name

svn path=/trunk/; revision=24702
2006-11-08 17:37:30 +00:00
Johannes Anderwald 9b71253be1 set most of trunk svn property eol-style:native
svn path=/trunk/; revision=24701
2006-11-08 11:47:44 +00:00
Alex Ionescu 6ba0dad7f1 - Remove WRITE/READ_REG_XXX functions written in C and write them in optimized assembly (no stack usage).
- Also flush posted write buffers during WRITE_XXX operations.

svn path=/trunk/; revision=24699
2006-11-07 14:44:32 +00:00
Johannes Anderwald 7fa7aee0e8 - this should go to the debug port but not to the screen
svn path=/trunk/; revision=24698
2006-11-07 00:12:24 +00:00
Johannes Anderwald 4a941a0b25 - improve namedpipe_reader parsing of lines code
- it should now be able handle partial / full lines

svn path=/trunk/; revision=24697
2006-11-06 23:50:03 +00:00
Johannes Anderwald 19c938e607 - fix a devasting bug (introduced by me)
Sorry JaixBly...

svn path=/trunk/; revision=24694
2006-11-06 11:03:57 +00:00
Aleksey Bragin cf213c0fc9 Revert 24074 by Saveliy Tretiakov until correct fix available. Fixes bug with moveable calculator buttons.
svn path=/trunk/; revision=24693
2006-11-06 10:20:40 +00:00
Christoph von Wittich 24fa497955 added missing copyright information
svn path=/trunk/; revision=24692
2006-11-05 22:55:11 +00:00
Christoph von Wittich 076aef2fb0 implemented timeout settings on startup and recovery page
svn path=/trunk/; revision=24691
2006-11-05 22:53:48 +00:00
Magnus Olsen 5b6863ed96 1. Fixed some vc warings and fault
2. Implement AcquireDDThreadLock, ReleaseDDThreadLock (does not working as it should yet)
3. Start making ddraw thread safe
4. Fixed some mirors bugs

svn path=/trunk/; revision=24690
2006-11-05 21:19:53 +00:00
Peter Ward 556dd785d7 - Added missing variable for the SMP build, noticed by Usurp.
- Trimmed trailing white-space.

svn path=/trunk/; revision=24689
2006-11-05 21:00:42 +00:00
Johannes Anderwald 69722e926c - read lines into a vector of string lines
- move os specific functions into an own file 
- fix a bug in command line options parsing
- add function for converting ansi2Unicode

svn path=/trunk/; revision=24688
2006-11-05 20:51:02 +00:00
Alex Ionescu 8be06d0e3b - Add hal.h from TinyKRNL containing internal definitions for fstub (MBR, Partiton Table, Partition Table Entry, Layout structures) and helper macros. Some structures come from disk.sys sample in the DDK.
svn path=/trunk/; revision=24687
2006-11-05 20:44:38 +00:00
Alex Ionescu 3065170214 - disk.sys: Don't fail IOCTL_GET_PARTITION_INFO for Partition 0. This is perfectly valid (and needed for some code I'll add later).
- IopGetDiskInformation: Treat the partition buffer as a simple PULONG array.
- KeUpdateSystemTime: Fix memory addressing to silence GAS compile-time warning.

svn path=/trunk/; revision=24686
2006-11-05 20:43:07 +00:00
Alex Ionescu 6e282d4611 - Simplify LPC Message allocation with an LpcpAllocateFromPortZone macro.
- Move LPC Macros/inlines to lpc_x.h
- Implement LpcRequestPort.
- Fix a bug in CsrTerminateProcess which was setting up incorrect sizes for the LPC message.
- Add some debug output to csrss.
- NTLPC works perfectly now, except for a bug on shutdown which doesn't properly close LPC processes.

svn path=/trunk/; revision=24685
2006-11-05 20:31:35 +00:00
Alex Ionescu fb3a3c8a7f - Fix boot.
- Fix GUI boot (bootvid).
- Fix cmlib bug.

svn path=/trunk/; revision=24684
2006-11-05 20:28:59 +00:00
James Tabor a57cbd2aa5 Part of the Win32k User32 Compatibility Project.
- Create IntLoadKeyboardLayout
- Code assimilated from win32k ntuser keyboard.c and Wine.
- Process and load a new keyboard layout.
- Creates the HKL for processing in NtUserLoadKeyboardLayoutEx.
- Load and computes module offset so NtUserLoadKeyboardLayoutEx can process it (read it in), load (EngLoadImage) and set the table entry point. This data is saved in a new structure connected to a list of keyboard layouts that was created during win32k init.


svn path=/trunk/; revision=24683
2006-10-30 19:38:37 +00:00
Alex Ionescu f176b46108 - In my fear of accidentally comitting NTLPC = 1, I forgot to make the initial NTLPC = 0 commit, so LPC was never getting compiled at all. This fixes it.
svn path=/trunk/; revision=24682
2006-10-30 19:20:08 +00:00
Alex Ionescu 5134659f32 - Properly initialize the Port Message header in NTDLL's Csr Routines and Win32k's as well.
- It is now possible to boot into GUI and use the Command Line/Console (heavy LPC user) in NTLPC mode.
- NTLPC is still disabled in trunk however, because there are still bugs and missing functionality.

svn path=/trunk/; revision=24681
2006-10-30 19:12:17 +00:00
Alex Ionescu f886617372 - Use Emanuelle's design for SMSS's LPC Code in CSRSS as well so that it can be portable between ROS LPC and NT LPC.
svn path=/trunk/; revision=24680
2006-10-30 18:45:22 +00:00
Alex Ionescu 6dc99e73a2 - Fix incorrect parameter shuffle in NtAcceptConnectPort. CSRSS now initializes properly and kernel32 gets loaded, but fails when connecting.
svn path=/trunk/; revision=24679
2006-10-30 17:04:49 +00:00