Colin Finck [Mon, 29 Oct 2007 21:42:29 +0000 (21:42 +0000)]
Revert hpoussin's commit in r29960 to unbreak build.
Most of *our* stuff has separated host/target headers now, but the Wine-shared components still include headers from include/reactos/wine.
And these headers (like "winnt.h" in that directory) include our headers from include/psdk themselves, which are meant to be used for target components, but not for host tools.
This needs to be fixed first, before we can remove this hack.
svn path=/trunk/; revision=29964
Colin Finck [Mon, 29 Oct 2007 21:30:02 +0000 (21:30 +0000)]
Move cylfrac, matrix, scrmsave and starfield to rosapps as proposed on the mailing list. New screensavers should only go there now.
I created an "applications/screensavers" directory for that, eventually rosapps should get a similar directory structure to reactos.
Also changed the appropriate parts in reactos.dff.
svn path=/trunk/; revision=29961
Hervé Poussineau [Mon, 29 Oct 2007 20:47:47 +0000 (20:47 +0000)]
Remove unneeded hack because host tools don't use target headers anymore
svn path=/trunk/; revision=29960
Aleksey Bragin [Mon, 29 Oct 2007 18:05:54 +0000 (18:05 +0000)]
- Actually create KCB where needed.
svn path=/trunk/; revision=29958
Aleksey Bragin [Mon, 29 Oct 2007 16:49:54 +0000 (16:49 +0000)]
So, finally, do that right... (re. 29956).
svn path=/trunk/; revision=29957
Gregor Brunmar [Mon, 29 Oct 2007 16:42:36 +0000 (16:42 +0000)]
Removed debug spamming from previous checkin
svn path=/trunk/; revision=29956
Hervé Poussineau [Mon, 29 Oct 2007 14:47:48 +0000 (14:47 +0000)]
Don't crash when starting a 2nd GUI application when booted in console mode
svn path=/trunk/; revision=29955
Aleksey Bragin [Mon, 29 Oct 2007 14:44:26 +0000 (14:44 +0000)]
- Merge KCB/NCB code (and related delay alloc/free implementation) from cm-rewrite branch. Only "used" in one call so it shouldn't affect anything.
svn path=/trunk/; revision=29954
Ged Murphy [Mon, 29 Oct 2007 13:34:51 +0000 (13:34 +0000)]
we don't need the 0xff
svn path=/trunk/; revision=29953
Ged Murphy [Mon, 29 Oct 2007 13:29:26 +0000 (13:29 +0000)]
speed up the DrawIconEx alpha maths a little bit
svn path=/trunk/; revision=29952
Hervé Poussineau [Mon, 29 Oct 2007 12:54:47 +0000 (12:54 +0000)]
Display status window only if it is not a console boot
svn path=/trunk/; revision=29951
Ged Murphy [Mon, 29 Oct 2007 12:15:55 +0000 (12:15 +0000)]
change text to something meaningful
svn path=/trunk/; revision=29950
Hervé Poussineau [Mon, 29 Oct 2007 12:13:45 +0000 (12:13 +0000)]
Remove debug message
svn path=/trunk/; revision=29949
Hervé Poussineau [Mon, 29 Oct 2007 11:55:06 +0000 (11:55 +0000)]
Rename console boot switch to CONSOLE
svn path=/trunk/; revision=29948
Hervé Poussineau [Mon, 29 Oct 2007 11:00:31 +0000 (11:00 +0000)]
Add a virtual function table for UI, as already done for machine functions.
This leads to simplification of initialization phase, remove some corner cases and (now) unneeded variables.
This also lead to always have a UI to display messages (even maybe as simple as a printf() )
svn path=/trunk/; revision=29947
Hervé Poussineau [Mon, 29 Oct 2007 10:59:10 +0000 (10:59 +0000)]
Initialize CurrentDirectory before sending it to CreateProcessAsUserW()
svn path=/trunk/; revision=29946
Art Yerkes [Sun, 28 Oct 2007 23:23:51 +0000 (23:23 +0000)]
lower IRQL at appropriate time.
svn path=/trunk/; revision=29945
Aleksey Bragin [Sun, 28 Oct 2007 22:38:20 +0000 (22:38 +0000)]
- Include config/cm.h for cm based code, and remove all duplicated types and prototypes.
- Get rid of EREGISTRY_HIVE, and use CMHIVE instead. Although the current ReactOS code doesn't make use of any of the functionality it offers, it's compatible with EREGISTRY_HIVE (our version was a subset) and allows us to get rid of another ros-specifc type, as well as being able to merge code from the cm-branch much more easily.
- Merge cmwraprs.c from the cm-branch, since the only differences were the filehandle fields in EREGISTRY_HIVE vs CMHIVE.
- Enable the #if'ed out code in cminit.c since it now applies to CMHIVE.
svn path=/trunk/; revision=29944
Aleksey Bragin [Sun, 28 Oct 2007 21:31:46 +0000 (21:31 +0000)]
- Move registry shareable types (not internal to ntoskrnl's configuration manager) to cmdata.h, so that freeldr/mkhive can access them too.
- Remove all the ReactOS-specific versions of those types.
- Change all code referencing the ReactOS-specific versions to use the real NT versions, and fix any related code to properly use the new fields.
svn path=/trunk/; revision=29943
James Tabor [Sun, 28 Oct 2007 21:12:11 +0000 (21:12 +0000)]
Sorry I did not want to change that part of the object.
svn path=/trunk/; revision=29942
Thomas Bluemel [Sun, 28 Oct 2007 20:52:21 +0000 (20:52 +0000)]
Fix console painting bugs
svn path=/trunk/; revision=29941
James Tabor [Sun, 28 Oct 2007 20:50:31 +0000 (20:50 +0000)]
Use DC object member hHmgr instead of hSelf. hSelf is used for MemoryDC and SaveDC.
svn path=/trunk/; revision=29940
Thomas Bluemel [Sun, 28 Oct 2007 20:07:28 +0000 (20:07 +0000)]
optimize FrameRgn for simple rectangular regions
svn path=/trunk/; revision=29938
Martin Fuchs [Sun, 28 Oct 2007 16:21:06 +0000 (16:21 +0000)]
disable PHP search in Doxy docu, enable caller graphs and extract all
svn path=/trunk/; revision=29931
Martin Fuchs [Sun, 28 Oct 2007 16:19:37 +0000 (16:19 +0000)]
disable PHP search in Doxy docu
svn path=/trunk/; revision=29930
Gregor Brunmar [Sun, 28 Oct 2007 14:13:03 +0000 (14:13 +0000)]
Made each service have its own pipe name as done in Windows
svn path=/trunk/; revision=29929
Art Yerkes [Sun, 28 Oct 2007 12:31:10 +0000 (12:31 +0000)]
Fix memory map to kernel mode.
Allow prep serial in kdcom (and stop clobbering the data miss handler).
Clean up boot mapping a bit.
Silence some boot time spam.
Enable not present page handler (yes, this routing actually works).
Scan physical memory on the (virtually 100%) chance that open firmware will
somehow have a buggy implementation of the memory object, or we're on prep
hardware.
Initialize syscall trap early, so we can do DbgPrint.
svn path=/trunk/; revision=29928
Timo Kreuzer [Sat, 27 Oct 2007 23:37:08 +0000 (23:37 +0000)]
user32:
- implement User32InitializeImmEntryTable() stub
- implement _assert() to remove reference to msvcrt.dll
todo: remove references to advapi32 and imm32. user32 should only link to ntdll, kernel32 and gdi32.
The goal is to make it at least load on windows.
svn path=/trunk/; revision=29926
Colin Finck [Sat, 27 Oct 2007 21:37:32 +0000 (21:37 +0000)]
Import the new code for showing floating point values with the correct decimal separator from shell32.
sysdm.cpl now shows the processor speed and RAM size values with the correct decimal separator based on the current locale.
svn path=/trunk/; revision=29925
Colin Finck [Sat, 27 Oct 2007 21:02:34 +0000 (21:02 +0000)]
- Implement a new ShellAbout dialog, which looks more like the Windows one. Uses the ReactOS Logo bitmap from base/setup/welcome/res.
The "Authors" button in the dialog currently highlights a redrawing bug in ReactOS (tracked in bug 2769).
- Define default strings in include/reactos/version.rc, which shouldn't be overwritten by applications.
These strings can later be used i.e. in resource files like it's done in shell32 now.
svn path=/trunk/; revision=29924
Johannes Anderwald [Sat, 27 Oct 2007 20:48:45 +0000 (20:48 +0000)]
- fix a bug
svn path=/trunk/; revision=29923
Marc Piulachs [Sat, 27 Oct 2007 20:31:25 +0000 (20:31 +0000)]
Update shell32 spanish localization
svn path=/trunk/; revision=29922
Johannes Anderwald [Sat, 27 Oct 2007 20:09:38 +0000 (20:09 +0000)]
- start implementing "Open With" shell extension
- see http://windowsxp.mvps.org/OpenWith.htm
svn path=/trunk/; revision=29921
Colin Finck [Sat, 27 Oct 2007 19:31:40 +0000 (19:31 +0000)]
Portuguese (Brazilian) translation for sndvol32 by Mateus de Lima (mateusloliveira AT hotmail DOT com)
See issue #2768 for more details.
svn path=/trunk/; revision=29919
Colin Finck [Sat, 27 Oct 2007 17:36:40 +0000 (17:36 +0000)]
Added and updated Slovak translations for the screensavers by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=29918
Hervé Poussineau [Sat, 27 Oct 2007 16:38:14 +0000 (16:38 +0000)]
Silent debug message
svn path=/trunk/; revision=29917
Martin Fuchs [Sat, 27 Oct 2007 10:32:43 +0000 (10:32 +0000)]
update Doxyfile to current format
svn path=/trunk/; revision=29913
Martin Fuchs [Sat, 27 Oct 2007 10:31:28 +0000 (10:31 +0000)]
update Doxyfile to current format
svn path=/trunk/; revision=29912
Daniel Reimer [Sat, 27 Oct 2007 09:16:15 +0000 (09:16 +0000)]
German Translation Update for 3DText. Some size fixes for the text boxes
svn path=/trunk/; revision=29911
Thomas Bluemel [Sat, 27 Oct 2007 04:00:25 +0000 (04:00 +0000)]
Display a list of all leaked memory blocks when terminating
svn path=/trunk/; revision=29910
Thomas Bluemel [Sat, 27 Oct 2007 03:13:37 +0000 (03:13 +0000)]
Fix memory leaks/wrong heap usage by replacing calls to _tcsdup with cmd_dup
svn path=/trunk/; revision=29909
Timo Kreuzer [Sat, 27 Oct 2007 01:47:38 +0000 (01:47 +0000)]
2nd try to fix build
svn path=/trunk/; revision=29908
Timo Kreuzer [Sat, 27 Oct 2007 01:41:23 +0000 (01:41 +0000)]
try to fix linux build
svn path=/trunk/; revision=29907
Marc Piulachs [Sat, 27 Oct 2007 00:11:32 +0000 (00:11 +0000)]
forgot to commit this file. Add 3dtext to the build
svn path=/trunk/; revision=29906
Marc Piulachs [Fri, 26 Oct 2007 22:46:23 +0000 (22:46 +0000)]
Update/Fix spanish localizations
svn path=/trunk/; revision=29905
Marc Piulachs [Fri, 26 Oct 2007 22:34:42 +0000 (22:34 +0000)]
Very simple OpenGL 3D text screensaver similar to the windows one.
Original work by Jeff Molofee tutorials (http://nehe.gamedev.net)
basically converted from C++ to C and adapted as a windows screensaver
Not added to reactos.dff for now because opengl seems to be broken again
See issue #2755 for more details.
svn path=/trunk/; revision=29904
Timo Kreuzer [Fri, 26 Oct 2007 22:08:53 +0000 (22:08 +0000)]
UserScrollDC: 2nd try to fix the invalidated region. desk.cpl looks ok now and in my tests all worked like on XP, also fix the returned invalidated rect (don't use NtGdiGetClipBox)
NtUserScrollDC: return the region type
NtUserScrollwindowEx: fix the default clip region
svn path=/trunk/; revision=29903
Aleksey Bragin [Fri, 26 Oct 2007 20:59:42 +0000 (20:59 +0000)]
- Define LIST_ENTRY functions as part of host headers, instead of mkhive-specific defines.
- Use CM_KEY_CONTROL_BLOCK when communicating with new CM implementation ("config"). CM now builds a dummy KCB so that the functions in "config" can go around their business with KCB without needing to know what a ros-specific PKEY_OBJECT is.
svn path=/trunk/; revision=29902
Marc Piulachs [Fri, 26 Oct 2007 16:19:52 +0000 (16:19 +0000)]
Implement Infs.Always section parsing to syssetup. Thanks to hpoussin for his suggestions
svn path=/trunk/; revision=29901
Hervé Poussineau [Fri, 26 Oct 2007 15:32:04 +0000 (15:32 +0000)]
Add a SourceDiskFiles section in txtsetup.sif, instead of hardcoding a list of drivers in freeldr
svn path=/trunk/; revision=29900
Aleksey Bragin [Fri, 26 Oct 2007 09:02:24 +0000 (09:02 +0000)]
- Both calls to LpcpMoveMessage must be guarded with SEH.
See issue #2243 for more details.
svn path=/trunk/; revision=29896
Aleksey Bragin [Fri, 26 Oct 2007 08:48:04 +0000 (08:48 +0000)]
- Make behavior consistent: if there is no relocation information, return SUCCESS in both possible cases.
See issue #2268 for more details.
svn path=/trunk/; revision=29895
Art Yerkes [Fri, 26 Oct 2007 06:37:52 +0000 (06:37 +0000)]
Remaining fixes from branch transition. MmuTurnOn, now with GDB stub.
svn path=/trunk/; revision=29894
James Tabor [Fri, 26 Oct 2007 02:07:33 +0000 (02:07 +0000)]
ScrollDC From my notes 08/16/2003:
- Wine testing was not enough. If dx & dy are zero and hrgn and lprc are used or not zero. The Rect for hrgn and lprc are set zero w/o NtUserScrollDC being called. It just returns TRUE.
- If HDC is zero it will return FALSE and not call NtUserScrollDC.
svn path=/trunk/; revision=29893
Ged Murphy [Thu, 25 Oct 2007 23:23:53 +0000 (23:23 +0000)]
fix use of globals introduced in r29883
svn path=/trunk/; revision=29891
Timo Kreuzer [Thu, 25 Oct 2007 23:10:50 +0000 (23:10 +0000)]
UserScrollDC:
- rename rcScroll to rcClip
- simplify calculation of source point
- fix calculation of invalidated region
svn path=/trunk/; revision=29890
Timo Kreuzer [Thu, 25 Oct 2007 23:06:50 +0000 (23:06 +0000)]
remove ToUnicode() stub from win32k
svn path=/trunk/; revision=29889
Timo Kreuzer [Thu, 25 Oct 2007 23:03:04 +0000 (23:03 +0000)]
fix error check
svn path=/trunk/; revision=29888
Daniel Reimer [Thu, 25 Oct 2007 21:47:33 +0000 (21:47 +0000)]
Fix Build. Someone forgot to remove some +, when he copy pasted from a diff.
svn path=/trunk/; revision=29887
Johannes Anderwald [Thu, 25 Oct 2007 19:40:27 +0000 (19:40 +0000)]
- Draw color quality indicator in Display Properties -> Settings
- patch by Vytis Girdzijauskas, "CMan", cman[at]cman[dot]us
See issue #2762 for more details.
svn path=/trunk/; revision=29883
Johannes Anderwald [Thu, 25 Oct 2007 19:25:40 +0000 (19:25 +0000)]
Hwang YunSong() <hys545@dreamwiz.com>
- Updated Korean resource.
Timo Kreuzer
- check if theres a current IDrapDropTarget interface and only then perform actions on it
See issue #1211 for more details.
svn path=/trunk/; revision=29882
Colin Finck [Thu, 25 Oct 2007 17:28:30 +0000 (17:28 +0000)]
- Add a Ukrainian translation for eventvwr by Rostislav Zabolotny (rstzab AT yandex DOT ru).
I modified it a bit to reflect the current changes, since it was created from an older revision.
- Add a common header to all translations
- Fix the dialog metrics of the About dialog in the Russian translation
See issue #2764 for more details.
svn path=/trunk/; revision=29880
Aleksey Bragin [Thu, 25 Oct 2007 15:53:51 +0000 (15:53 +0000)]
- Update cmlib interface to NT 5.2.
- Fix a bug in CmpInitializeHive which was calling HvInitializeHive with inverted params.
- Fix some host header issues.
svn path=/trunk/; revision=29879
Mike Nordell [Thu, 25 Oct 2007 14:56:30 +0000 (14:56 +0000)]
[COMMENTS] Redundant comments removed.
svn path=/trunk/; revision=29878
James Tabor [Thu, 25 Oct 2007 12:38:15 +0000 (12:38 +0000)]
Fix icon title class descriptor for ReactOS.
svn path=/trunk/; revision=29876
Mike Nordell [Thu, 25 Oct 2007 12:31:55 +0000 (12:31 +0000)]
Quota cleanup. IRQL verfications for public functions. Still macro-protected and defaults to disabled.
svn path=/trunk/; revision=29875
Hervé Poussineau [Thu, 25 Oct 2007 10:28:19 +0000 (10:28 +0000)]
Add traces
Do not crash in IExtractIconW::GetIconLocation if out pointers are NULL
svn path=/trunk/; revision=29872
James Tabor [Thu, 25 Oct 2007 02:25:53 +0000 (02:25 +0000)]
Sync with Wine: Static controls.
svn path=/trunk/; revision=29864
Marc Piulachs [Thu, 25 Oct 2007 01:21:44 +0000 (01:21 +0000)]
fix cat.exe > tcat.exe executable filename
svn path=/trunk/; revision=29862
Marc Piulachs [Thu, 25 Oct 2007 01:15:21 +0000 (01:15 +0000)]
Build files updates and fixes
svn path=/trunk/; revision=29860
Colin Finck [Wed, 24 Oct 2007 20:26:13 +0000 (20:26 +0000)]
Replace "LTEXT ... SS_CENTER" by a simple "CTEXT"
svn path=/trunk/; revision=29856
Mike Nordell [Wed, 24 Oct 2007 13:33:19 +0000 (13:33 +0000)]
Interlocked add/sub for quota. Still disabled code.
svn path=/trunk/; revision=29853
James Tabor [Wed, 24 Oct 2007 11:19:30 +0000 (11:19 +0000)]
- Implement NtUserGetComboBoxInfo and use it in GetComboBoxInfo.
- Use Shared locks.
svn path=/trunk/; revision=29849
Hervé Poussineau [Wed, 24 Oct 2007 07:49:40 +0000 (07:49 +0000)]
Better check of GetWindowsDirectory() return value
svn path=/trunk/; revision=29846
Hervé Poussineau [Wed, 24 Oct 2007 07:45:44 +0000 (07:45 +0000)]
Duplicate the user token before calling CreateProcessAsUser()
See issue #2569 for more details.
svn path=/trunk/; revision=29845
Art Yerkes [Wed, 24 Oct 2007 03:34:58 +0000 (03:34 +0000)]
Remove extra var.
svn path=/trunk/; revision=29842
Art Yerkes [Wed, 24 Oct 2007 02:23:54 +0000 (02:23 +0000)]
React to changes in rbuild with regard to definitions. These are now
conditionally done in rosbe-ppc's gcc wrapper.
svn path=/trunk/; revision=29841
James Tabor [Wed, 24 Oct 2007 02:03:56 +0000 (02:03 +0000)]
Update NtUserGetComboBoxInfo header info.
svn path=/trunk/; revision=29840
James Tabor [Wed, 24 Oct 2007 01:04:06 +0000 (01:04 +0000)]
- Sync to Wine: Listbox controls
- Implement NtUserGetListBoxInfo and GetListBoxInfo. Fix header entry.
- Add LB_GETLISTBOXINFO to psdk.
svn path=/trunk/; revision=29839
Gregor Brunmar [Tue, 23 Oct 2007 21:47:18 +0000 (21:47 +0000)]
Made r29837 readable
svn path=/trunk/; revision=29838
Gregor Brunmar [Tue, 23 Oct 2007 21:42:03 +0000 (21:42 +0000)]
Added RtlCopySecurityDescriptor
svn path=/trunk/; revision=29837
Aleksey Bragin [Tue, 23 Oct 2007 19:19:06 +0000 (19:19 +0000)]
- Revert 29702 (IopParseDeviceHack is still required in 1st stage, and the Real Bug is at some other place, so no need in masking it away by doing calls which avoid buggy operation).
svn path=/trunk/; revision=29834
Marc Piulachs [Tue, 23 Oct 2007 15:24:40 +0000 (15:24 +0000)]
- various fixes to the spanish language resources
svn path=/trunk/; revision=29831
Hervé Poussineau [Tue, 23 Oct 2007 14:26:53 +0000 (14:26 +0000)]
IExtractIcon::GetIconLocation is not documented to support a NULL pointer as last parameter
svn path=/trunk/; revision=29830
Marc Piulachs [Tue, 23 Oct 2007 13:25:26 +0000 (13:25 +0000)]
- Added a new start menu folder "Accessibility" (IDS_SYS_ACCESSIBILITY)
- Install magnify on the start menu
See issue #2742 for more details.
svn path=/trunk/; revision=29829
Mike Nordell [Tue, 23 Oct 2007 12:31:21 +0000 (12:31 +0000)]
Unbreak build (unused local var's warnings when not using the quota code).
svn path=/trunk/; revision=29828
Mike Nordell [Tue, 23 Oct 2007 11:08:18 +0000 (11:08 +0000)]
[FORMATTING] Consistency.
svn path=/trunk/; revision=29827
Mike Nordell [Tue, 23 Oct 2007 10:05:40 +0000 (10:05 +0000)]
First small attempt at implementing process memory quota. Currently disabled without explicit code modification (enabled by macro) to not modify behaviour of trunk.
svn path=/trunk/; revision=29826
Mike Nordell [Tue, 23 Oct 2007 09:49:16 +0000 (09:49 +0000)]
[FORMATTING] Tab -> spc consistency.
svn path=/trunk/; revision=29825
Hervé Poussineau [Tue, 23 Oct 2007 09:43:23 +0000 (09:43 +0000)]
When creating the context menu, take care of attributes returned by the shell folder implementation
svn path=/trunk/; revision=29824
Hervé Poussineau [Tue, 23 Oct 2007 09:09:46 +0000 (09:09 +0000)]
Use SHCreateDefaultExtractIcon to simplify code
svn path=/trunk/; revision=29823
Hervé Poussineau [Tue, 23 Oct 2007 09:01:39 +0000 (09:01 +0000)]
Implement SHCreateDefaultExtractIcon
Export SHCreateDefaultContextMenu
svn path=/trunk/; revision=29822
Aleksey Bragin [Tue, 23 Oct 2007 08:32:19 +0000 (08:32 +0000)]
- Add a bit more debug traces, like the previous implementation had.
svn path=/trunk/; revision=29821
Hervé Poussineau [Tue, 23 Oct 2007 08:30:39 +0000 (08:30 +0000)]
Fix some svn properties
svn path=/trunk/; revision=29819
Hervé Poussineau [Tue, 23 Oct 2007 08:27:48 +0000 (08:27 +0000)]
Do not mix ReactOS and Wine debug style
svn path=/trunk/; revision=29818
Hervé Poussineau [Tue, 23 Oct 2007 08:25:53 +0000 (08:25 +0000)]
Code refactoring to be able to handle installation of network protocols/services/clients
svn path=/trunk/; revision=29817
Hervé Poussineau [Tue, 23 Oct 2007 08:22:02 +0000 (08:22 +0000)]
No need to define __USE_W32API
svn path=/trunk/; revision=29816
Hervé Poussineau [Tue, 23 Oct 2007 08:12:28 +0000 (08:12 +0000)]
No need to define __USE_W32API
svn path=/trunk/; revision=29815
Hervé Poussineau [Tue, 23 Oct 2007 07:53:02 +0000 (07:53 +0000)]
__USE_W32API is always defined nowadays
svn path=/trunk/; revision=29814
James Tabor [Tue, 23 Oct 2007 06:13:16 +0000 (06:13 +0000)]
Sync with Wine: Combo controls. Checked Button and no changes.
svn path=/trunk/; revision=29813