Magnus Olsen [Thu, 1 Mar 2007 19:13:29 +0000 (19:13 +0000)]
NtGdiGetObject
1. fixed one BSD it does show bluescreen when the buffer are too small
2. fixed some bugs in calculation of different GdiObject sized
svn path=/trunk/; revision=25935
Ged Murphy [Wed, 28 Feb 2007 23:43:12 +0000 (23:43 +0000)]
- call undocumented functions directly when building with MSVC and the MS PSDK
- fixes building with MSVC
note, this can be removed when bulding ROS with MSVC isn't reliant on the MS PSDK
svn path=/trunk/; revision=25932
Eric Kohl [Wed, 28 Feb 2007 22:49:34 +0000 (22:49 +0000)]
Add code to support font size changes.
svn path=/trunk/; revision=25931
Eric Kohl [Wed, 28 Feb 2007 20:44:47 +0000 (20:44 +0000)]
Use wsprintf() to convert an integer to a string instead of abusing a hidden edit control.
svn path=/trunk/; revision=25930
Alex Ionescu [Wed, 28 Feb 2007 20:43:13 +0000 (20:43 +0000)]
- Make usetup ""work"" on systems with ~28MB+ RAM. Due to an unknown bug (in usetup or Mm, file copies during setup don't get flushed until memory reaches about 42-47% remaining. At this point, if enough memory is available, no more memory will be allocated, even though more files are being copied. On systems with < 48MB, the system will not usually flush pages fast enough to keep the memory at ~42-47%. We ""fix"" this by adding a delay to each file copy as long as free memory is below 40%.
- Also added 3 progress bars during memory transfers to show the status of the memory.
svn path=/trunk/; revision=25929
Alex Ionescu [Wed, 28 Feb 2007 19:04:27 +0000 (19:04 +0000)]
- More refactoring of FreeLDR/SetupLDR PE Loader Code to remove some hacks.
- Don't double-free some entries when failing to load a boot driver. This would cause a crash when pciide couldn't load (since we don't yet import drivers in FreeLDR, and pciide needs pciidex). Thanks to encoded for reporting it.
- We now free boot driver memory again since it's safe to do so again. This should reduce memory requirements even more.
svn path=/trunk/; revision=25928
Alex Ionescu [Wed, 28 Feb 2007 17:48:44 +0000 (17:48 +0000)]
- Properly load drivers using new method describred previously (read from disk into temporary allocated buffer, then map into allocated memory, then free disk buffer).
- FreeLDR doesn't relocate nor map imports for drivers yet..still needs testing/fixes.
svn path=/trunk/; revision=25927
Sylvain Petreolle [Wed, 28 Feb 2007 14:24:17 +0000 (14:24 +0000)]
forget to add 2 files
svn path=/trunk/; revision=25926
Sylvain Petreolle [Wed, 28 Feb 2007 14:15:31 +0000 (14:15 +0000)]
french translations updates
svn path=/trunk/; revision=25925
Saveliy Tretiakov [Wed, 28 Feb 2007 13:25:50 +0000 (13:25 +0000)]
Update testapp
svn path=/trunk/; revision=25924
Saveliy Tretiakov [Wed, 28 Feb 2007 13:23:51 +0000 (13:23 +0000)]
WM_INPUTLANGCHANGE is sent not posted.
svn path=/trunk/; revision=25923
Saveliy Tretiakov [Wed, 28 Feb 2007 13:21:48 +0000 (13:21 +0000)]
Make ntuser locks use eresource instead of mutex.
Fix corresponding FIXME in class.c
svn path=/trunk/; revision=25922
Timo Kreuzer [Wed, 28 Feb 2007 13:21:09 +0000 (13:21 +0000)]
EnumChildWindows:
- if hWndParent == NULL: call EnumWindows
- else use bChildren = TRUE
svn path=/trunk/; revision=25921
Timo Kreuzer [Wed, 28 Feb 2007 13:19:00 +0000 (13:19 +0000)]
NtUserBuildHwndList:
- handle bChildren
- remove some code duplication
svn path=/trunk/; revision=25920
Saveliy Tretiakov [Wed, 28 Feb 2007 13:17:34 +0000 (13:17 +0000)]
Andrey Janzen (virus126):
echo %date% on windows >=XP return '24.02.2007', not 'Sut 24.02.2007'
fix & implement dynamic buffer
svn path=/trunk/; revision=25919
Dominique Cote [Wed, 28 Feb 2007 04:09:16 +0000 (04:09 +0000)]
Added test functions for fsrtl lib
svn path=/trunk/; revision=25918
KJK::Hyperion [Wed, 28 Feb 2007 00:22:08 +0000 (00:22 +0000)]
modified include/reactos/libs/pseh/framebased.h
modified lib/pseh/framebased.c
- _SEH_ENABLE_TRACE now obsolete; _SEH_ENABLE_TRACE_LIB renamed to _SEH_ENABLE_TRACE now that the name is available again. Yay open source development model and yay me
svn path=/trunk/; revision=25917
KJK::Hyperion [Wed, 28 Feb 2007 00:16:38 +0000 (00:16 +0000)]
modified framebased.h
- don't enable a random tracing level when the library is built for tracing but an application is not. Fastest bugfix ever
svn path=/trunk/; revision=25916
KJK::Hyperion [Wed, 28 Feb 2007 00:04:36 +0000 (00:04 +0000)]
modified include/reactos/libs/pseh/framebased.h
- final reformatting/cleanup fixes
- fixed regression introduced in 25908
modified include/reactos/libs/pseh/framebased.h
modified include/reactos/libs/pseh/framebased/internal.h
modified lib/pseh/framebased.c
- per-frame tracing support for PSEH. Prints detailed debugging traces with DbgPrint when enabled. New defines _SEH_ENABLE_TRACE, _SEH_ENABLE_TRACE_LIB and _SEH_DO_DEFAULT_TRACING, new macros _SEH_EnableTracing() and _SEH_DisableTracing(), new constants _SEH_DO_TRACE_XXX. Please test it
See issue #2069 for more details.
svn path=/trunk/; revision=25915
Dmitry Gorbachev [Tue, 27 Feb 2007 18:17:26 +0000 (18:17 +0000)]
Undo 25911
svn path=/trunk/; revision=25913
Dmitry Gorbachev [Tue, 27 Feb 2007 16:51:19 +0000 (16:51 +0000)]
Update Russian translations.
svn path=/trunk/; revision=25912
Dmitry Gorbachev [Tue, 27 Feb 2007 00:04:43 +0000 (00:04 +0000)]
Indonesian translation by Zaenal Mutaqin
svn path=/trunk/; revision=25911
Dominique Cote [Mon, 26 Feb 2007 20:22:55 +0000 (20:22 +0000)]
Added:
FsRtlPrepareMdlWriteDev()
FsRtlMdlWriteCompleteDev()
FsRtlPrepareMdlWrite()
FsRtlMdlWriteComplete()
svn path=/trunk/; revision=25910
KJK::Hyperion [Mon, 26 Feb 2007 15:55:43 +0000 (15:55 +0000)]
Reformatted, for real
svn path=/trunk/; revision=25909
KJK::Hyperion [Mon, 26 Feb 2007 15:32:19 +0000 (15:32 +0000)]
modified include/reactos/libs/pseh/framebased.h
Removed some bad optimization ideas that never worked anyway. If you want optimization, use the uglier _SEHX macros. If you enjoy several huge, non-optimizable nested loops in all of your functions, just keep using the _SEH form
deleted include/reactos/libs/pseh/native.h
deleted include/reactos/libs/pseh/prettybased.h
Deleted some really bad ideas that nobody used or maintained anyway
All and all else
Reformatted. Goodbye one-space indentation, hello tabs
svn path=/trunk/; revision=25908
Dmitry Gorbachev [Mon, 26 Feb 2007 14:37:09 +0000 (14:37 +0000)]
Indonesian translation (Zaenal Mutaqin)
svn path=/trunk/; revision=25907
Dmitry Gorbachev [Sun, 25 Feb 2007 22:45:32 +0000 (22:45 +0000)]
Indonesian translation (Zaenal Mutaqin)
svn path=/trunk/; revision=25906
Eric Kohl [Sun, 25 Feb 2007 21:58:20 +0000 (21:58 +0000)]
- Sort font names alphabetically.
- Enable the user to choose fonts.
svn path=/trunk/; revision=25905
Saveliy Tretiakov [Sat, 24 Feb 2007 18:16:50 +0000 (18:16 +0000)]
Fix installname
svn path=/trunk/; revision=25902
Magnus Olsen [Sat, 24 Feb 2007 13:58:25 +0000 (13:58 +0000)]
adding -dump as param to dumping out all struct and data
svn path=/trunk/; revision=25901
Magnus Olsen [Sat, 24 Feb 2007 13:32:09 +0000 (13:32 +0000)]
adding more testcase for NtGdiDdQueryDirectDrawObject
svn path=/trunk/; revision=25900
Magnus Olsen [Sat, 24 Feb 2007 12:24:31 +0000 (12:24 +0000)]
adding more testcase for NtGdiDdQueryDirectDrawObject
svn path=/trunk/; revision=25899
Saveliy Tretiakov [Sat, 24 Feb 2007 12:00:43 +0000 (12:00 +0000)]
kbdse.dll -> kbdsw.dll
svn path=/trunk/; revision=25898
Saveliy Tretiakov [Fri, 23 Feb 2007 20:05:39 +0000 (20:05 +0000)]
Andrey Janzen (virus126):
- Fix warning when using FEATURE_UNIX_FILENAME_COMPLETION.
- Make unix-style completion work correctly.
- Make %time% return milliseconds/10.
svn path=/trunk/; revision=25896
Saveliy Tretiakov [Fri, 23 Feb 2007 19:52:00 +0000 (19:52 +0000)]
Andrey Janzen (virus126):
Replace numbers by constants in all translations.
Fixes bug 2065.
svn path=/trunk/; revision=25895
Alex Ionescu [Fri, 23 Feb 2007 19:48:25 +0000 (19:48 +0000)]
- Update FreeLDR PE Loading to actually use its Mm routines to allocate a buffer to read an image file into, then to allocate the actual load base and use the same code as in sysldr.c right now to PE-load the image into memory, then free the original read buffer. Not yet enabled for drivers!
- This means that:
- 1) FreeLDR now keeps memory accounting information for the image files it loads, instead of us randomly writing to memory.
- 2) We now skip sections marked as NO_LOAD. The kernel already re-mapped drivers doing this, but it didn't remap the kernel/hal, plus we still had to map the drivers once in FreeLDR, so we're saving a meg+ of kernel memory.
svn path=/trunk/; revision=25894
Saveliy Tretiakov [Fri, 23 Feb 2007 18:41:48 +0000 (18:41 +0000)]
Update keyboard layout names. Add "Layout Id" key for Us-Dvorak. Rename kbdse.dll to kbdsw.dll
svn path=/trunk/; revision=25893
Alex Ionescu [Fri, 23 Feb 2007 15:35:14 +0000 (15:35 +0000)]
- Load the driver image file with OBJ_KERNEL_HANDLE, and don't use FILE_SYNCHRONOUSIO_NONALERT, since we can use async access since the data is now being mapped instead of read.
svn path=/trunk/; revision=25892
Alex Ionescu [Fri, 23 Feb 2007 15:31:45 +0000 (15:31 +0000)]
- Add a new member to MM_IMAGE_SECTION_OBJECT to hold the size of the mapped image file.
- Finally load driver images like human beings, as actual image section objects instead of random memory that we allocate and manually "load" using unsafe and crappy PE memory copies. We now use KJK's integer-safe and properly documented/implemented loader for image sections that is already used for processes and other user-mode images.
- Implement MiLoadImageSection for the task above and remove all the deprecated code that did the previous hackloading.
svn path=/trunk/; revision=25891
Saveliy Tretiakov [Fri, 23 Feb 2007 09:35:32 +0000 (09:35 +0000)]
Move primary language selection from Input Locale page to General page.
svn path=/trunk/; revision=25890
Saveliy Tretiakov [Fri, 23 Feb 2007 08:56:32 +0000 (08:56 +0000)]
Update testapp
svn path=/trunk/; revision=25889
Saveliy Tretiakov [Fri, 23 Feb 2007 08:21:29 +0000 (08:21 +0000)]
Add KLF_SHIFTLOCK and KLF_RESET
svn path=/trunk/; revision=25888
Saveliy Tretiakov [Fri, 23 Feb 2007 08:20:33 +0000 (08:20 +0000)]
Fix warnings.
svn path=/trunk/; revision=25887
Alex Ionescu [Fri, 23 Feb 2007 07:56:01 +0000 (07:56 +0000)]
- Get rid of LdrGetModuleObject, since MmLoadSystemImage will now return the existing module object in case it has already been loaded, get rid of LdrGetProcedureAddress, it doesn't belong in the kernel. Move MmGetSystemRoutineAddress from mm.c to sysldr.c and rewrite it to use MiFindExportedRoutineByName instead.
- Remove /ldr ntoskrnl directory, since this module is finally gone.
- Make PsInit code search for ntdll lookups using LookupEntryPoint internal function, instead of LdrGetProcedureAddress. Same code but done with recursion instead, and internal to this module (remove ANSI_STRINGs since we don't need them anymore).
svn path=/trunk/; revision=25886
Alex Ionescu [Fri, 23 Feb 2007 07:13:19 +0000 (07:13 +0000)]
- Merge DbgUnLoadImageSymbols from KD branch.
- Rename LdrUnloadModule to MmUnloadSystemImage and:
- Use MmSystemLoadLock.
- Take into consideration the import list.
- Honour load count.
- Unload symbols if really unloading the image.
- Dereference and clear imports.
- Do proper LdrEntry cleanup.
- Stub MiDereferenceImports and MmCallDllInitialize.
- Implement MiLocateExportName and MiClearImports.
- We don't yet fully support reference counting imports...this is still TBD.
svn path=/trunk/; revision=25885
Alex Ionescu [Fri, 23 Feb 2007 06:59:10 +0000 (06:59 +0000)]
- Fix build.
svn path=/trunk/; revision=25884
Alex Ionescu [Fri, 23 Feb 2007 05:39:42 +0000 (05:39 +0000)]
- Fix MmCreateImageSection to use previous mode instead of hardcoding UserMode.
- Implement MiProcessLoaderEntry for adding/removing entries on the PsLoadedModuleList.
- Move MmLoadSystemImage from loader.c to sysldr.c
- Update MmLoadSystemImage:
- Use MmSystemLoadLock.
- Support returning the entry for an already-loaded image, instead of loading it twice.
- Use Section APIs to map the image... we're still doing a dirty ZwReadFile hack, but at least now we can depend on the PE code to validate the image (so removed the hardcoded validation).
- Add more generic cleanup got so we can just jump to it.
- Add more stub code and detection code for upcoming features.
svn path=/trunk/; revision=25883
Dmitry Gorbachev [Fri, 23 Feb 2007 01:42:52 +0000 (01:42 +0000)]
Indonesian translation by Zaenal Mutaqin (ade999 at gmail dot com)
svn path=/trunk/; revision=25882
Alex Ionescu [Thu, 22 Feb 2007 20:55:02 +0000 (20:55 +0000)]
- Move some Mm routines from pe.c to sysldr.c where they belong.
- Create and initialize Mm Loader lock.
- Re-arrange some code in MmLoadSystemImage, no code changes yet.
- Add new LDRP_ flags for LDR_DATA_TABLE_ENTRY to the NDK.
svn path=/trunk/; revision=25881
Saveliy Tretiakov [Thu, 22 Feb 2007 19:43:27 +0000 (19:43 +0000)]
Handle WM_INPUTLANGCHANGE and WM_INPUTLANGCHANGEREQUEST in DefWindowProc.
svn path=/trunk/; revision=25880
Saveliy Tretiakov [Thu, 22 Feb 2007 19:41:10 +0000 (19:41 +0000)]
NtUserLoadKeyboardLayoutEx: Support KLF_REORDER and KLF_ACTIVATE.
NtUserActivateKeyboardLayout: Support HKL_NEXT, HKL_PREV, KLF_REORDER.
svn path=/trunk/; revision=25879
Magnus Olsen [Thu, 22 Feb 2007 19:21:10 +0000 (19:21 +0000)]
win32k dx test are now compatible with all Windows and ReactOS that got a d3d8thk.dll file
rember that file are diffent for Windows 2000 and Windows XP/2003 ReactOS d38thk.dll are Windows XP/2003 compatible.
svn path=/trunk/; revision=25878
Magnus Olsen [Thu, 22 Feb 2007 19:10:40 +0000 (19:10 +0000)]
Move d3d8thk.h for it being use for apps that need todo win32k syscall for directx graphice part
svn path=/trunk/; revision=25877
Sylvain Petreolle [Thu, 22 Feb 2007 18:48:01 +0000 (18:48 +0000)]
fix build
svn path=/trunk/; revision=25876
Alex Ionescu [Thu, 22 Feb 2007 18:30:50 +0000 (18:30 +0000)]
- Rename LdrLoadModule to MmLoadSystemImage and change prototype. No code change except update callers and return ImageBaseAddress parameter when requested.
svn path=/trunk/; revision=25875
Alex Ionescu [Thu, 22 Feb 2007 18:02:53 +0000 (18:02 +0000)]
- Improve LdrGetModuleObject (in FreeLDR) to handle partial names too, so NTOSKRNL will still match NTOSKRNL.EXE. This is needed for forwarder support.
- Implement LdrPEFixupForward in FreeLDR and update LdrPEGetExportByName to use it, so that FreeLDR can now parse import tables with forwarders.
- Add call to MmInitSystem for Phase 0 in ExpInitializeExecutive.
- Completely redesign the way boot drivers are handled. They're now re-mapped during Phase 0 MmInit (part of the re-mapping is a hack until FreeLDR 2.5 is ready) and the IoMgr only does I/O stuff, not PE loading anymore (this is only half-true, we still process imports until FreeLDR 2.5 is done).
- Also re-design the way the module list head is initialized and used. LdrInit1 is now gone, Phase 0 MmInit now handles initializing it and copying boot loader data to it.
- Some code is still missing and functions still need to be improved.
- When FreeLDR 2.5 is ready some of the hacks will go away, they're #ifed for now to make it easy to switch.
svn path=/trunk/; revision=25874
Alex Ionescu [Thu, 22 Feb 2007 00:01:52 +0000 (00:01 +0000)]
- Rename ModuleListHead to PsLoadedModulesList.
- Start implementing some routines of the Mm SysLdr. Implemented MiSnapThunk and most of MiResolveImageReferences. The SysLdr has a lot of restrictions that the typical Ldr in user-mode doesn't, as well as manages imports and reference counts them, so the code can't be shared with ntdll's Ldr (this is also why real NT doesn't have an Ldr component, and this is in Mm).
- Fix some PE Header types that were wrong in our PSDK.
svn path=/trunk/; revision=25872
Magnus Olsen [Wed, 21 Feb 2007 22:19:31 +0000 (22:19 +0000)]
adding a helper intEnableDriver it will be use for enable the dx driver for the graphice card.
rewrote NtGdiDdQueryDirectDrawObject so it only copy the cache data only. This will speed up allot. we only need call on NtGdiDdCreateDirectDrawObject yo setup the whole cache and enable the drv with the helper functions. the NtGdiDdQueryDirectDrawObject will be faster like this. using RtlCopyMemory insted for RtlMemMove and allot other change in it. adding _SEH to NtGdiDdQueryDirectDrawObject so user can not crash it any longer.
svn path=/trunk/; revision=25870
Timo Kreuzer [Wed, 21 Feb 2007 22:04:59 +0000 (22:04 +0000)]
Silence some warnings
svn path=/trunk/; revision=25869
Alex Ionescu [Wed, 21 Feb 2007 18:43:57 +0000 (18:43 +0000)]
- Implement ExpQueryModuleInformation to handle SystemModuleInformation, instead of LdrpQueryModleInformation. This version properly fills out all the data required and also supports (but doesn't yet handle) user-mode modules.
- Start work on supporting NT-compatible System Loader that properly fills out LDR_DATA_TABLE_ENTRY and handles imports correctly. Modified LdpPEProcessModule to properly build the data table entry and create the base name and directory name.
- Add stub for MiResolveImageRefernces.
svn path=/trunk/; revision=25868
Dmitry Gorbachev [Wed, 21 Feb 2007 18:23:59 +0000 (18:23 +0000)]
Thai translation (Sumath Aowsakulsutthi)
svn path=/trunk/; revision=25867
Dmitry Gorbachev [Wed, 21 Feb 2007 18:22:30 +0000 (18:22 +0000)]
Thai translation (Sumath Aowsakulsutthi)
svn path=/trunk/; revision=25866
Dmitry Gorbachev [Wed, 21 Feb 2007 18:22:11 +0000 (18:22 +0000)]
Thai translation by Sumath Aowsakulsutthi (punth1 at gmail dot com)
svn path=/trunk/; revision=25865
Dmitry Gorbachev [Wed, 21 Feb 2007 11:41:17 +0000 (11:41 +0000)]
Fix Italian resource file
svn path=/trunk/; revision=25863
Alex Ionescu [Wed, 21 Feb 2007 02:46:30 +0000 (02:46 +0000)]
- Properly implement SystemLoadGdiDriverInformation.
- Properly implement SystemExtendServiceTableInformation, except that the SE_LOAD_DRIVER_PRIVILEGE check is currently disabled since our smss doesn't acquire it (and we should therefore ban it from loading win32k.sys...).
- Delete LdrpLoadImage, LdrpUnlaodImage, LdrpLoadAndCallImage.
svn path=/trunk/; revision=25862
Alex Ionescu [Wed, 21 Feb 2007 01:57:02 +0000 (01:57 +0000)]
- Cleanup loader.c and comment some public routines (no code change).
- Temporarily remove routines to set per-page protection (this doesn't really break anything, just makes the OS less secure).
svn path=/trunk/; revision=25861
Alex Ionescu [Tue, 20 Feb 2007 20:02:52 +0000 (20:02 +0000)]
- Get rid of a bunch of multiboot crap FreeLDR was still doing for ReactOS.
- Remove some of the sixtuplicated routines to load a PE file. We're now down to a single function which takes an ImageType parameter for DLL/EXE/SYS, but even this is still temporary as the parameter will soon go away.
- We now load drivers in the same nice way that we load the kernel and DLLs, but we don't yet process their imports and relocate them in FreeLDR, because FreeLDR doesn't handle forwarders yet.
- We don't need a large hack in KiRosPrepareForSystemStartup anymore since the driver base addresses are now proper.
- Don't free boot-drivers anymore, since we'll load them in place soon.
- Don't load bootvid twice.
- Remove PAE stuff in FreeLDR since we don't support PAE anyway in the kernel and when we do, might as well implement it cleanly instead of relying on the broken FreeLDR stuff.
svn path=/trunk/; revision=25860
Ged Murphy [Mon, 19 Feb 2007 23:56:16 +0000 (23:56 +0000)]
add chars to the edit box when either double clicked or the select button is hit
svn path=/trunk/; revision=25848
Eric Kohl [Mon, 19 Feb 2007 16:12:38 +0000 (16:12 +0000)]
Enable the user to set the size of captions, caption buttons, menu bars and croll bars.
svn path=/trunk/; revision=25844
Dmitry Gorbachev [Mon, 19 Feb 2007 13:20:09 +0000 (13:20 +0000)]
Fix a bug
svn path=/trunk/; revision=25842
Thomas Bluemel [Mon, 19 Feb 2007 13:15:28 +0000 (13:15 +0000)]
Minor fixes, thanks Ged
svn path=/trunk/; revision=25841
Saveliy Tretiakov [Sun, 18 Feb 2007 16:35:09 +0000 (16:35 +0000)]
Patch from Preston:
fix bug 1918 "Keyboard config unavailable".
svn path=/trunk/; revision=25834
Eric Kohl [Sat, 17 Feb 2007 21:40:39 +0000 (21:40 +0000)]
Reenable the preview control notification. The user can now select the GUI item clicking it in the preview control.
svn path=/trunk/; revision=25832
Saveliy Tretiakov [Sat, 17 Feb 2007 15:46:25 +0000 (15:46 +0000)]
Patch by Alexey Zavyalov (Generex).
Implement SetLocaleInfoA, SetLocaleInfoW.
svn path=/trunk/; revision=25831
Saveliy Tretiakov [Sat, 17 Feb 2007 15:33:57 +0000 (15:33 +0000)]
Patch by Andrey Janzen (virus126).
Fix copy\paste bug in calc.
svn path=/trunk/; revision=25830
Magnus Olsen [Sat, 17 Feb 2007 15:01:01 +0000 (15:01 +0000)]
adding file dump.c it contain printf stuff to dump some struct to the screen it can make debuging more easy. but if u build reactos with DBG=0 you will not see the dump of the stuct I mabe will add a option to it when u start this tools so it dump data when u use the options.
svn path=/trunk/; revision=25829
Thomas Bluemel [Sat, 17 Feb 2007 09:32:33 +0000 (09:32 +0000)]
- Move around definitions to make the code a bit more modular
- Use an about menu instead of an button
svn path=/trunk/; revision=25828
Ged Murphy [Sat, 17 Feb 2007 00:23:53 +0000 (00:23 +0000)]
add to bootcd to highlight the paint issue
svn path=/trunk/; revision=25827
Ged Murphy [Sat, 17 Feb 2007 00:22:21 +0000 (00:22 +0000)]
add to build
svn path=/trunk/; revision=25826
Ged Murphy [Sat, 17 Feb 2007 00:13:35 +0000 (00:13 +0000)]
- halfplement charmap.exe
- tested in ROS, by no means perfect but we cant least see the various glyphs within a font
- this app highlights an issue with our paint code (not yet investigated)
svn path=/trunk/; revision=25825
Magnus Olsen [Fri, 16 Feb 2007 20:14:24 +0000 (20:14 +0000)]
adding more test case for test_NtGdiDdQueryDirectDrawObject not complete yet
svn path=/trunk/; revision=25824
Sylvain Petreolle [Fri, 16 Feb 2007 16:57:09 +0000 (16:57 +0000)]
fix include file case
svn path=/trunk/; revision=25817
Magnus Olsen [Fri, 16 Feb 2007 16:48:54 +0000 (16:48 +0000)]
fixed all dam warings before some start nag on me
svn path=/trunk/; revision=25816
Magnus Olsen [Fri, 16 Feb 2007 16:43:27 +0000 (16:43 +0000)]
adding a NULL test for NtGdiDdQueryDirectDrawObject
svn path=/trunk/; revision=25815
Magnus Olsen [Fri, 16 Feb 2007 16:27:46 +0000 (16:27 +0000)]
-- Rewrite how we should do syscall now we define the syscall number in a include files. if we getting syscall table for another windows version and sp we can simple adding it to a another include file and use that file to run other that windows. rember the syscall table is diffent in all version of windows and reactos. if u compile this version in vs u will only be avail run it in windows 2000 sp4 and not under any windows version.
-- add one more testcase (NtGdiDdDeleteDirectDrawObject)
-- start adding thrid testcase (NtGdiDdQueryDirectDrawObject), this one will take bit longer to completed but I add a stub for it for now.
svn path=/trunk/; revision=25814
Maarten Bosma [Fri, 16 Feb 2007 11:07:28 +0000 (11:07 +0000)]
Lester Kortenhoeven (lester(at)kortenhoeven(dot)de):
* CP_ACP changed into CP_UTF8
* removed unnecessary code in xml.c
* fix memory leak
* add more programs
svn path=/trunk/; revision=25812
Hervé Poussineau [Thu, 15 Feb 2007 20:39:33 +0000 (20:39 +0000)]
Set correct value for Characteristics (tested by Colin_Finck on IRC)
svn path=/trunk/; revision=25810
Eric Kohl [Thu, 15 Feb 2007 20:24:38 +0000 (20:24 +0000)]
- Declare local functions static and get rid of prototypes by moving functions around.
- Clean up the code. No changes to the functionality.
svn path=/trunk/; revision=25809
Alex Ionescu [Thu, 15 Feb 2007 17:44:04 +0000 (17:44 +0000)]
- Small placeholder change for future Cm code:
- Added newcm.c which will contain some new Cm code part of the Cm Rewrite but not in the rewrite branch (used solely for supporting CmGetSystemControlValues).
- Added System Control Vector which supports all the registry flags that Windows 2003 SP1 supports as well.
- The most important part of this support, at least for us, is to get boot-time time zone support working properly. We can worry about the other options later.
- Update KrnlFun for previous DPC/HAL fixes.
svn path=/trunk/; revision=25806
Hervé Poussineau [Thu, 15 Feb 2007 17:34:26 +0000 (17:34 +0000)]
Add missing 'Characterists' registry key for netcards. Fixes part of bug 2034
svn path=/trunk/; revision=25805
Eric Kohl [Thu, 15 Feb 2007 14:12:36 +0000 (14:12 +0000)]
- Enable/disable the size updown control when another window item is selected.
- Remove the text when the size edit control gets disabled.
- Disable the secondary color for the window item.
svn path=/trunk/; revision=25804
Dmitry Gorbachev [Thu, 15 Feb 2007 10:57:38 +0000 (10:57 +0000)]
- fix "keyboard does not respond" bug on Biostar board (thanks to Peter Krawies)
- fix printf()
svn path=/trunk/; revision=25803
Alex Ionescu [Wed, 14 Feb 2007 20:50:46 +0000 (20:50 +0000)]
- You all s^H^H^H^H^H^H^H^H^H Fix build error.
svn path=/trunk/; revision=25802
Alex Ionescu [Wed, 14 Feb 2007 20:47:43 +0000 (20:47 +0000)]
- Linux sucks
svn path=/trunk/; revision=25801
Alex Ionescu [Wed, 14 Feb 2007 20:30:33 +0000 (20:30 +0000)]
- Fixup and enable my new HAL IRQL implementation from a couple of months ago, and remove the temporary Mm hacks from Dmitry Gorbachev, since DPCs don't interrupt DISPATCH_LEVEL Code anymore.
- This fixes a critical system malfunction and architectural bug, as well as speeds up ReactOS incredibly -- setup takes seconds again, and boot is almost instantenous (except the Explorer loading bug).
- Proper fix for bootvid regression that Aleksey "Fixed". Video mode is now properly setup wether in setup or non-setup mode, so bootvid works again.
- Enable bootvid in freeldr.ini, currently using only /SOS mode since full-screen logo isn't implemented yet.
svn path=/trunk/; revision=25800
Alex Ionescu [Wed, 14 Feb 2007 17:51:48 +0000 (17:51 +0000)]
Object Manager fixes based on bug reports from Aleksey Bragin:
- ObpReferenceProcessObjectByHandle:
- Remove PAGED_CODE
- Use InterlockedIncrement instead of InterlockedExchangeAdd.
- ObpInsertHandleCount: Fix calculation of the handle database size, fixing potential pool corruption/overwrite situations.
- ObpChargeQuotaForObject: Write proper code for charging the quota.
- ObpDecrementHandleCount:
- Get ObjectType from caller instead of doing the extra operation.
- If there's no handle database, then don't setup a handle entry.
- ObpIncrementHandleCount is PAGED_CODE.
- ObpCloseHandle: Do proper logic for determining if we should raise an exception, fail, or bugcheck the system when an invalid handle is being closed.
- ObpSetHandleAttributes:
- Not PAGED_CODE.
- Allow operations on kernel objects.
- Use the Access Protect Close Bit in the GrantedAccess instead of an OBJ_PROTECT flag in the ObAttributes.
- ObpCloseHandleCallback: Sweep/Enumerate Routines are BOOLEAN, not VOID.
- ObDuplicateObject:
- Clear the audit mask if auditing isn't set.
- Always duplicate OBJ_AUDIT_OBJECT_CLOSE if it's set.
- Clear the handle entry before writing it.
- Always propagate ACCESS_SYSTEM_SECURITY as a desired access.
- ObFindHandleForObject: Use ObReferenceProcessHandleTable instead of directly accessing the pointer.
- ObInsertObject: Dereference symbolic links when they collide during an insert, since a reference was already added.
- NtDuplicateObject: Clear out the TargetHandle to assume failure.
- ObpCaptureObjectName: Use RtlCopyMemory which is faster.
- ObpAllocateObject: Fix check for quota usage.
- ObCreateObjectType:
- Make sure that the object type name is wchar-aligned.
- Add support for LPC Waitable Ports.
- Initialize Object Locks.
svn path=/trunk/; revision=25799
Saveliy Tretiakov [Wed, 14 Feb 2007 13:00:38 +0000 (13:00 +0000)]
Post WM_INPUTLANGCHANGE to thread's focus windows when keyboard layout is changed.
svn path=/trunk/; revision=25798
Saveliy Tretiakov [Tue, 13 Feb 2007 19:50:06 +0000 (19:50 +0000)]
- Make NtUserLoadKeyboardLayoutEx accept 6 params
- Always get default locale from ntoskrnl
- Fix some small bugs
svn path=/trunk/; revision=25797
Magnus Olsen [Mon, 12 Feb 2007 21:23:32 +0000 (21:23 +0000)]
small prepare for rished20 sync for wine. so the sync goes allot easy
update richedit.h
adding tom.h <- from wine cvs 11/2-2007 the tom.idl does not exists in windows ?
svn path=/trunk/; revision=25796
Magnus Olsen [Mon, 12 Feb 2007 18:37:05 +0000 (18:37 +0000)]
patch from Physicus, implement TOOLTIPS_NotifyFormat, it now retrurn the type of the string if it unicode or ansi.
before it did not return any type at all. it did a heap crash from downloader mangers when it try figout what type
of sting the toolstips use. it is tested in 0.3.1 and not whole implemnent is tested yet. it should be right for all
case.
svn path=/trunk/; revision=25794