At the current state, there is no reason for them to be automatically added by rbuild.
- Add back NTOSKRNL_SHARED as well, it's not the same value for i386 and PPC
- Remove SILLY_DEFINE :D
svn path=/branches/rbuild/; revision=32459
- Introduced a new module type (Package). Allows us to apply logic like manipulate or conditional include/exclude a group of files that represent altogether an entity. (It will be used when auto generating packages file)
svn path=/branches/rbuild/; revision=32445
- Rename GetArchCdPath to GetArchCdRoot to be consistent with the name of the define in "architecture.h".
- Add ARM to the rbuild architecture list (needed when the branch will be merged back to trunk).
svn path=/branches/rbuild/; revision=32394
- Make freeldr and usetup use this path, so the Boot-CD and Live-CD become bootable again.
- Change the boot sectors to search for the loader in the "I386" directory.
- Rename GetArch() to GetArchName(), also add GetArchCdPath() for getting the root architecture path on the CD in rbuild.
- Skip creating the "Profiles" directory and its subdirectories.
The Live-CD works flawlessy without it and its content is completely ignored by Explorer anyway.
- Create the "CREDITS" file in the root "reactos" directory, people expect it there. Remove our current "CREDITS" file.
- Fix indentation of "creditsgenerator.cpp"
svn path=/branches/rbuild/; revision=31700
* removed NTOSKRNL_SHARED and move it back to the mingw backend, no reason to be a property
* cleanup obsolete code
* create more correct auto-generated include/manifest files
svn path=/branches/rbuild/; revision=31154
- Added a description field to the "buildfamily" element
- Added a check to ensure only valid module types use the "family" element.
svn path=/branches/rbuild/; revision=30472
Introduced the concept of module "family" and "buildfamilies"
Any module can belong to an N number of families for example the 'calc' win32 gui module:
<module name="calc" type="win32gui" installbase="system32" installname="calc.exe">
(..)
<family>applications</family>
<family>guiapplications</family>
(..)
and the 'solitaire' win32 gui module:
<module name="sol" type="win32gui" installbase="system32" installname="sol.exe" unicode="no" allowwarnings="true">
(..)
<family>applications</family>
<family>guiapplications</family>
<family>games</family>
(..)
now is possible to type on the rosbe console:
>make applications (calc and sol and all its dependencies will be build)
>make applications_clean (calc and sol clean target will be executed)
>make games (sol and any other member of the games family will be build)
It works in conjunction with the new \buildfamilies.rbuild. In a properly tagged codebase the developer has the option to build only the parts of the operating system he is currently working on without having to clean and recompile the whole codebase every time. All required dependencies will be also automatically compiled.
svn path=/branches/rbuild/; revision=30469
- Remove the now unneeded "authors.c" file from shell32
- To get this to build, I also needed to merge-in the changed "include/reactos/version.rc" file from r29924 (forgot that in my previous commit)
- Fix the indentation of the "creditsgeneratorenerator.cpp" file and add a newline at the end of the autogenerated file to make GCC happy
svn path=/branches/rbuild/; revision=30082
- Modifed the InstallBase from the BootStrap element to be relative to the bootstrap folder, for example the usetup bootstrap:
<bootstrap installbase="system32" nameoncd="smss.exe" />
will be created in :
(CD)\i386\system32\smss.exe on a I386 build and
(CD)\ppc\system32\smss.exe on a powerpc build
- Introduced a new element "bootstrapfile" equivalent to the bootstrap for module target but applied to regular files for example :
<bootstrapfile>hivecls.inf</bootstrapfile>
will be placed in :
(CD)\i386\hivecls.inf on a I386 build and
(CD)\ppc\hivecls.inf on a powerpc build
- Moved the "loader" folder from cd root to the bootstrap cd folder (this will require a modification in isoboot.asm). Every architecture will have its
bootloader code in (CD)\(BootStrapFolder)\loader
With this changes we will be able to place complete installation for more than one architecture in the same cd .Only one of the architectures will be able to
be booted by default but we can include the cdmake utility + some .bat files in a (CD)\tools folder so the user can download the official CD with all
supported architectures and create a bootable boot CD for a particular architecture. cool huh?
============================================
- Consity and explicty declare install folders , use the same ID that this folders have on Windows , we will use it later to validate InstallBase attributes
and during setup
svn path=/branches/rbuild/; revision=30072
- Autogenerate CREDITS file in intermediate folder (for now)
- More work on authors/contributors
- Various other fixes
PS: Add your information to contributors.rbuild , don't be shy!
svn path=/branches/rbuild/; revision=30017
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
- Experimental support to autogenerate rsrc.rc equivalent and platform dependent manifest.xml to intermediate folder
- Add preliminary support to track authors/contributors/developers/translators for each module. It can be useful to autogenerate uptodate \CREDITS file , module/authors reports (see for example: http://www.codexchange.net/rosdoc/authors.htm or http://www.codexchange.net/rosdoc/eventvwr.htm) or even source code for modules like notevil
note: I added some developers as sample , feel free to add your information to contributors.rbuild using current information as template
svn path=/branches/rbuild/; revision=29920
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
- 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
- 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
- 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
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
- Fix a bug in CmpInitializeHive which was calling HvInitializeHive with inverted params.
- Fix some host header issues.
svn path=/trunk/; revision=29879
- make the background menu use owner drawn items to show icon (icon not yet shown)
- let the shell item menu also accept owner drawn images
- this makes winrar shellextension appear however the language is _not_ correct in most cases and executing a command is at your own risk :)
svn path=/trunk/; revision=29808
Auto generate part of the module's most common resources , currently things like manifest.xml , defines like REACTOS_VERSION_DLL and specially localizations are created and synchronized by hand.
Now module localizations are created in a declarative way which makes trivial tasks like listing non existent or outdated language localizations in real time for example : http://www.codexchange.net/rosdoc/localizations.htm .No more rsrc.rc required as it is now auto generated on the intermediate folder.
Still work in progress so would like to hear your ideas or comments , specially those from translators.
svn path=/branches/rbuild/; revision=29785
All resource files contain the same elements now, so translators know what they have to translate.
If elements are added or changed, please do that for all translations now to avoid such a mess in the future.
svn path=/trunk/; revision=29781
- Move all language-dependent resource files to a "lang" subdirectory and rename them appropriately
- Rename "shres.rc" to "shell32.rc"
- Make all translations consistent, if some elements were missing I copied the english ones. Also use a consistent indentation.
All resource files from "bg-BG.rc" to "fi-FI.rc" (alphabetically) should be consistent now, I'll do the rest later.
- Fix some mistakes in the german translation
svn path=/trunk/; revision=29753
- Use a consistent indentation in all resource files
- Change the metrics of some controls to make the full text visible
- Add a manifest file to enable visual styles
See issue #2758 for more details.
svn path=/trunk/; revision=29728
- Fully implement tapiui.dll, compatible with Windows.
- Icons come from SUSE's yast2-industrial; 203,202.ico and 301,302.bmp are done by me based on Tango.
svn path=/trunk/; revision=29714
- add static context menu entry (under windows xp sp2 it is defined under ".lnk", however this is a little mess to define static handlers in one place and dynamic in another)
svn path=/trunk/; revision=29679
- it uses the key shellex\ContextMenuHandlers\{CLSID} to load extensions
- make SHCreateDefaultContextMenu use default IContextMenu implementation
- TBD for static IContextMenu extensions and for creating a new object of that type (ShellNew)
- code currently if 0' out
svn path=/trunk/; revision=29676
Now Solitaire collects all the cards from the deck in the 1-card-mode like Windows Solitaire does.
- Make it possible to use CS_EI_CIRC (the O sign) and CS_EI_X (the X sign) as empty images for a deck.
Actually make use of CS_EI_CIRC for the Solitaire deck.
svn path=/trunk/; revision=29663
Fix trap handler a bit, allowing setting of MSR.
Make packet code work properly when serial output is interrupted by a packet
from gdb.
svn path=/trunk/; revision=29658
- NtSetInformationFile() could be done before asynchronously called NtWriteFile is completed. Fix this by sending the synchronous flag.
- Check return status of the second NtSetInformationFile() call.
See issue #2071 for more details.
svn path=/trunk/; revision=29629
- Get rid of hardcoded path to downloader.xml, it properly gets the path now. Also changed the logic slightly: now the file is firstly being searched in the local folder, and only then in system32.
- Do a Settings dialog (choose a directory where to download files to, if a user wants to remove installation files after the app has been installed), all options are stored / loaded from the registry. Only the "Update server" option does not work now.
- A few GUI/designs fixes and improvements, now it looks better.
- Add a button for Settings in the main waindow.
- Fixed code formatting in a few places.
- Change bitmap to icons on the Update and Help buttons, imho it's the proper way.
- Add 3 new categories to the list.
- Other misc fixes.
- All translated resources are updated, so no translations are lost!
svn path=/trunk/; revision=29614
Fix reported kernel address returned to reactos.c
Make MachVtbl fully formed for all subarch
Add simple gdb stub at this layer, wired to exception handlers
Simplify and unkludge trap handlers
Adapt trap frame to gdb style
Add proper swapping to image.c
Adapt other code for the more general trap handler now available in ppcmmu.
svn path=/trunk/; revision=29588
- Don't use some values, which are based on hardcoded card metrics. Compute them using the #define's for the borders and the card metrics instead.
This way we can use the Bavarian cards.dll (cardsbav) now and theoretically cards in any size :-)
- Set the minimum window height and width by computing the size of all used elements using the new #define's and the card metrics.
- Some indentation changes
svn path=/trunk/; revision=29570
I renamed the "kbdcz" files from the patch to "kbdcz1" to match the name of this DLL under Windows
See issue #2720 for more details.
svn path=/trunk/; revision=29564
- Improved the fix by actually applying the mask prepared earlier during kernel init (this is a more proper way to clear reserved bits of mxcsr).
- SSE/SSE2/etc is not broken anymore.
See issue #2748 for more details.
svn path=/trunk/; revision=29558
- Remove all this VS stuff from the english resource file
- Move the icons to "rsrc.rc" as they will be shared between all translations
- Fix a typo
svn path=/trunk/; revision=29548
The icons were taken from the comctl32.dll.
I did not add it to the "reactos.dff" as ReactOS doesn't support Event Logs yet.
See issue #2602 for more details.
svn path=/trunk/; revision=29547
- Fixed problem with dcattr read and write access in user mode.
- Dcattr data only flows from Kernel to User ATM.
- Cleaned up code.
- Enable GetDCObject for testing.
- Tested with Qemu both Linux and XP, and real hardware.
svn path=/trunk/; revision=29546
- implement _ILIsBitBucket function
- implement a IContextMenu for recycle bin interface but is currently unused see notes shv_item_cmenu.c
- implement recycle property dialog resources in vista style
svn path=/trunk/; revision=29537
- Make the "Information" tab work.
- Improve overall applet's behavior (more correct and more "smart").
- Fixed a bug when switching between tabs.
- Small improvements in the UI, other small fixes.
- If no apps or no updates are installed, then the controls in the respective tabs will be grayed out, and a respective information message will be shown instead of the empty list.
svn path=/trunk/; revision=29532
- Fix the msvcrt exception (because vlc first calls _getmainargs. This function sets the __argc to 1. Afterwards vlc calls again __wgetmainargs where __argc is now one. When entering the function _wadd, it doesnot allocate the __wargv because __argc is 1. Therefore it crashes).
See issue #821 for more details.
svn path=/trunk/; revision=29531
Fixed tons of coordinates and sizes to fit all Text of the German and English Translation into the Buttons, Checkboxes and Text Fields.
Moved some stuff to better fit into the Dialog.
I mainly kept Johannes's nice small format for the Shortcut etc Dialogs, because it looks nice. This only helps to fit in the Text.
svn path=/trunk/; revision=29521
- this function will be used to determine wether expiration alarms are active. If qemu dies or terminates unexpectly, this function will check if it was before an timeout. In that case alarms will be active. Note: if qemu is killed purposely, OsSupport::cancelAlarms must be called to prevent automatic termination of sysreg process
svn path=/trunk/; revision=29509
- Update the address of the Free Software Foundation.
Stefan Leichter <Stefan.Leichter@camline.com>
- Fix the file version string of the version resource.
svn path=/trunk/; revision=29506
Updated the German RC File of shell32.dll and fixed a typo in the English one. (Nice Work with your new Dialogs For Shortcuts and co, Johannes :-))
svn path=/trunk/; revision=29504
- Switch to using 'long' for INT_PTR type for 64-bit compatibility.
Andrew Talbot <Andrew.Talbot@talbotville.com>
- Exclude unused headers.
Hans Leidekker <hans@it.vu.nl>
- Win64 printf format warning fixes.
James Hawkins <truiken@gmail.com>
- Remove redundant NULL checks before SHFree.
Jonathan Ernst <jonathan@ernstfamily.ch>
- Update the address of the Free Software Foundation.
------------------------
- readd ReactOS changes (the properties menu item was removed, readd it + code to show properties dialogs)
svn path=/trunk/; revision=29499
- Update the address of the Free Software Foundation.
Andrew Talbot <Andrew.Talbot@talbotville.com>
- Exclude unused headers.
Aric Stewart <aric@codeweavers.com>
- Update the debug functions to handle Unicode value pidl.
- Add _ILIsUnicode as a simple pidl test.
Michael Stefaniuc <mstefani@redhat.de>
- The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility.
Hans Leidekker <hans@it.vu.nl>
- Win64 printf format warning fixes.
svn path=/trunk/; revision=29492
- Exclude unused headers.
Hans Leidekker <hans@it.vu.nl>
- Add a stub implementation for SHMapIDListToImageListIndexAsync.
Jonathan Ernst <jonathan@ernstfamily.ch>
- Update the address of the Free Software Foundation.
Martin Fuchs <martin-fuchs@gmx.net>
- Fix folder icon index when read from registry.
- Change "DWORD dwNr" into "int icon_idx" at several places.
-----------------------------------------
ReactOS specific:
- PrivateExtractIconW is an undocumented user32 function. Dynamically get the function with GetProcAddress at runtime (readd)
svn path=/trunk/; revision=29488
shfldr_mycomp.c:
Rob Shearman <rob@codeweavers.com>
Return Unicode strings from all of the IShellFolder::GetDisplayNameOf functions in not running in Win9x mode.
Hans Leidekker <hans@it.vu.nl>
shell32: Win64 printf format warning fixes.
James Hawkins <truiken@gmail.com>
janitorial: Remove redundant NULL checks before SHFree.
Robert Shearman <rob@codeweavers.com>
shell32: Convert ISF_MyComputer_fnGetDisplayNameOf to Unicode.
--------------------------------------------------
- ReactOS specific:
- return always in unicode
svn path=/trunk/; revision=29487
autocomplete.c:
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers Constify some variables.
-----------------------------------------------------
dde.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
dragdrophelper.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
-----------------------------------------------------
enumidlist.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
-----------------------------------------------------
enumidlist.h:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
shellreg.c:
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
Detlef Riekenberg <wine.dev@web.de>
Implement SHRegQueryValueA with RegQueryValueA.
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
shellstring.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
-----------------------------------------------------
shlfsbind.c
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
shell32: Win64 printf format warning fixes.
Andrew Talbot <Andrew.Talbot@talbotville.com>
shell32: Exclude unused headers.
-----------------------------------------------------
shlmenu.c:
Dmitry Timoshkov <dmitry@codeweavers.com>
Switch to using 'long' for INT_PTR type for 64-bit compatibility.
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
James Hawkins <truiken@gmail.com>
janitorial: Remove redundant NULL checks before SHFree.
Francois Gouget <fgouget@free.fr>
Fix spelling of a local variable.
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
shpolicy.c:
Dmitry Timoshkov <dmitry@codeweavers.com>
Make some data static and const.
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
svn path=/trunk/; revision=29485
- Add two checks for infinite loops. The latter gets triggered in some cases, a memory overwrite is suspected, or a race condition.
svn path=/trunk/; revision=29471
- Modify/Remove action: Wait for the process completion and only then become active again (like Windows' AppWiz does)
- Move Updates to another tab
- Move all include directives to appwiz.h
- Add context menu for applications list
- Slightly change this applet's design
- Add an icon for ReactOS setup and Update tabs
- Add a working Download! button. This button is active only if Download!.exe exists in system32 directory when appwiz.cpl starts
- Other small changes
svn path=/trunk/; revision=29458
- rewrite line extraction (currently if'0)
- add Wine gettimeofday implementation (currently if'0)
- apply sources changes to SymbolFile class
- remove unicode support class
- fix a bug in the createProcess version for windows hosts which randomly led to invalid boot hdd error messages
svn path=/trunk/; revision=29450
- Make dbghelp.dll use strtoui64 instead. Another solution would be to add it to libwine, but it will make code duplication even worse (strtoull is already implemented in two places).
svn path=/trunk/; revision=29440
- Add some more dialogs to input.dll, and even some functionality, but it still needs a lot of work.
- Add input.dll and systeminfo.exe to the bootcd
svn path=/trunk/; revision=29416
- Fix a typo in the russian translation of taskmgr.
- Improve explorer icons (as usual, remove 4bits, add 16bits, and very slightly edit).
- Add some missing icons to setupapi.dll.
svn path=/trunk/; revision=29415
are indeed still stubs or WIP code.
Some people have been interested in helping out from some time and I'm sorry
I haven't been able to do this merge finally for a while.
svn path=/trunk/; revision=29407
- Change listbox to listview
- Draw icons
- Add a find bar (it works, but will work better in future)
- "Install" button moved to a separate tab, also buttons "Download!" and "Find in the Internet" are added there too
- Applet's width increased
- "Modify/Remove" button will become active only when an application is selected
svn path=/trunk/; revision=29381
- the drive share dialog is implemented in rshx32.dll
- the contigent dialog is implemented in dskquoui.dll
- start implementing german general drive dialog
svn path=/trunk/; revision=29345
- KeRosDumpStackFrames is fixed so that if the EIP can't be found in a module list, it's still displayed (just without the module name). Previously the EIP would not be shown, resulting in code running on the heap/stack/somewhere else not being shown as part of the trace.
svn path=/trunk/; revision=29332
- wrap all usermode read/writes in seh
- make it more compatible with XP. We now pass all current GetDIBits tests and win32k tests
svn path=/trunk/; revision=29326
- Add one more DPRINT() to show the size of Device Extension miniport has asked for.
See issue #2672 for more details.
svn path=/trunk/; revision=29325
- VMWare's video driver now calls VideoPortCreateSecondaryDisplay(), without much success though (it's unimplemented).
svn path=/trunk/; revision=29323
This is necessary as the "Name" column is currently greyed out in the Column Settings dialog, so the user should have no possibility to change that.
Patch by Carlo Bramini (carlo DOT bramix AT libero DOT it)
See issue #2217 for more details.
svn path=/trunk/; revision=29318
- Add smartpdf to the "directory.rbuild" of rosapps (but commented out, as I'm not sure if it builds well for everyone now)
svn path=/trunk/; revision=29316
* Fixed updating tree view when renaming a key
* Fixed a tree view refresh bug
* Proper updating of the tree view when deleting keys
svn path=/trunk/; revision=29309
return STATUS_INVALID_HANDLE if user-mode tries to reference a
kernel-mode handle.
- ObReferenceObjectByHandle: Properly validate process/thread access
rights before giving a reference to the caller.
- Fix definition of "SizeOfHandle" macro in the handle table
implementation. Fixes handle leaks at process rundown, handle
allocation, and problems with processes that use more than 512
handles.
- Remove checks for "VALID_INHERIT_FLAGS". These flags have nothing to
do with handle table entries and shouldn't appear in them. Please fix
callers if they're attempting to send inherit flags as access masks.
- Thanks to Alex! :)
svn path=/trunk/; revision=29304
- Remove the files I imported from the boot/freeldr/freeldr/math directory for adding 64-bit division support and use the -lgcc linker flag instead like it's done in ntoskrnl
svn path=/trunk/; revision=29297
* sumatrapdf - vendor import
* everything compiles (libjpeg, poppler, fitz, sumatrapdf)
* does NOT link
(remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it)
svn path=/trunk/; revision=29295
- Fix a bug in id_dma.cpp on line 1261: This probably shouldn't be an assignment, but a check, otherwise all ATI chips will be treated as Silicon Image chips
svn path=/trunk/; revision=29288
- Make building with QUEUE_STATISTICS possible
- Fix the best_c check. As best_c is a ULONG variable, you cannot check for -1
svn path=/trunk/; revision=29287
I still disabled building the driver, so someone else can test it first.
- The i386.h, libgcc2.c, libgcc2.h, longlong.h and powerpc.h files were taken from the boot/freeldr/freeldr/math directory.
They are used for 64-bit division support
- Created a directory "ros_glue" for all this stuff, moved the ros_glue.cpp file there
- Imported the three functions MOV_DD_SWP (the i486 version), MOV_DW2DD_SWP and MOV_DW_SWP from the misc_i386.cpp file of CrossNt into the ros_glue_asm.s file
svn path=/trunk/; revision=29285
- Start changing CrNt to actual ReactOS functions (no need for supporting different versions / importing CrossNT lib).
svn path=/trunk/; revision=29280
- Fix some #else BLAH / #endif BLAH warnings.
- Change SYSTEM_INFORMATION_CLASS structure by what we have in NDK (duplication for now).
svn path=/trunk/; revision=29276
- Fix typo in MMWSL.
- Add RtlRandom to NDK.
- Add MEMORY_PRIORITY values to NDK.
- Add KeAcquireSpinLockRaiseToSynch to NDK.
- Make MmInitializeProcessAddressSpace take two more parameters: one to specify flags, such as large page support, and another one to define the process being cloned, when fork() support will be added.
- Add KeInvalidAccessAllowed to deal with page faults in the special S-List code. The assembly code currently handles simple faults, but our MmAccessFault handler needs to start verifying the fault too.
- Mark LoaderReserve pages as LoaderFree, it seems they end up this way in Windows.
- Use MmNumberOfPhysicalPages instead of MmStats.NrTotalPages.
All NDK changes are discussed with Alex.
svn path=/trunk/; revision=29254
- Fix bugs in RtlUnwind and RtlExceptionDispatch which assumed the DPC stack size was 4KB instead of 12KB.
- Fix multiple bugs in RtlpGetStackLimits and seure it against bugchecks. Properly detect DPC or invalid stacks.
- PsConvertToGuiThread should acquire a guarded region, not a critical section, to stop all APCs.
- Fix bug in bugzilla reporting which was making things crash.
- Unlock address space before raising to HIGH_LEVEL in KeBugCheck.
- Display blue screen at APC_LEVEL, to avoid the assertion in procobj.c when trying to attach to csrss. This should fix the recursive bugchecking when the GUI is up, and also take down the GUI properly. The fix is a hack.
- Fix bogus implementation of IoGetStackLimits and make it work properly.
- Make MmCreateKernelStack return the base of the stack, not the limit, and fix all callers appropriately.
- Remove svn:needs-lock properties of various files, whose contents either changes too often or whose contents is definately clean.
Bugreports and information - by Alex.
svn path=/trunk/; revision=29244
- Add UNIMPLEMENTED into ScsiPortGetBusData() when it's called with Length = 0. Does not happen so far, when tested with BusLogic.sys in our tree.
svn path=/trunk/; revision=29241
- Do Address Space initialization as per "Windows Internals II" slides, either for the Boot, System, Cloned User or New User Process cases.
- Rename MmCreateProcessAddressSpace to MmInitializeProcessAddressSpace, and MmCopyMmInfo to MmCreateProcessAddressSpace. What ReactOS did is correct as per "Windows Internals II", but the names were inverted.
- Clone the Object Table if we are the boot process, and only initialize part of the address space (since we don't need things like guard page, TEB, etc), however, do initialize and map the shared user data section.
- Make the initial system process and idle process share the same page directory instead of creating a new one.
- Use the same priority class as the parent process, if the process was in the idle or below-normal priority class.
- Only duplicate handles if the caller requested it, instead of always duplicating the process's handles!
- Generate a null image file name for system processes.
- Rename ObpCreateHandleTable to ObInitProcess and better handle race and out-of-memory conditions. Detect if auditing required, but don't do anything about it.
- Initialize the Idle/System process address space much earlier in the boot process, in MmInitSystem.
Thanks to Alex for providing various information, and answering all my questions.
svn path=/trunk/; revision=29223
- Fix MM_EXTEND_INFO definition.
- Fix MMWSLE definition.
- Fix EPROCESS definition.
- Add quota functions to NDK.
- Add one more parameter to PspMapSystemDll to support mapping large pages.
- Don't make the quota functions do anything for the system process.
- Add page file quota functions.
- Other misc small fixes.
svn path=/trunk/; revision=29214
- Add KeAcquireQueuedSpinLock / KeAcquireReleaseQueuedSpinLock, RtlCompareMemoryUlong definitions missing from IFS.
- Add actual section object definition to NDK
- More NDK fixes
- Fix incorrect definition of MMPTE_LIST
- Fix incorrect prototype of NtFlushVirtualMemory
- Fix incorrect prototypes of KeAcquire / ReleaseQueuedSpinLock
- Add a second parameter to MmCreateKernelStack to select the NUMA node on which the stack should be allocated
- Avoid usage of PROS_SECTION_OBJECT in Ps where possible
- Unimplement PsChargeProcessQuota. It was not working right
- Use PFN_NUMBER defined in DDK instead of PFN_TYPE internal ROS Type.
svn path=/trunk/; revision=29188
Fix : RemoveFontResourceW : let it call to RemoveFontResourceExW
Fix : a comment in SetWorldTransform
Fix : Redirect STROBJ_bEnum@12 to win32k
Fix : Redirect STROBJ_bEnumPositionsOnly@12 to win32k
Fix : Redirect STROBJ_bGetAdvanceWidths@16 to win32k
Fix : Redirect STROBJ_dwGetCodePage@4 to win32k
Fix : Redirect STROBJ_vEnumStart@4 to win32k
Fix : Redirect SetFontEnumeration to win32k
Fix : Redirect SetMagicColors to win32k
Fix : Redirect SetSystemPaletteUse to win32k
Fix : Redirect SetVirtualResolution@20 to win32k
Fix : PtInRegion : Make smaller code in gdi32 for sharememory/metadc
Fix : RectInRegion : Make smaller code in gdi32 for sharememory/metadc
Fix : SetBrushOrgEx : Make smaller code in gdi32 for sharememory/metadc
Fix : SetDIBits : Make smaller code in gdi32 for sharememory/metadc
Fix : SetGraphicsMode : Make smaller code in gdi32 for sharememory/metadc
Implement RemoveFontResourceExA : it is partly implement it miss flags, and pdv and we also need fix win32k
Implement RemoveFontResourceExW : it is partly implement it miss flags, and pdv and we also need fix win32k
and more stuff
svn path=/trunk/; revision=29154
According to someone in the bug report, this is the behaviour used under Windows XP.
See issue #1461 for more details.
svn path=/trunk/; revision=29143
Also fixed the sublang in the catalan "msconfig" resource file (thx to EmuandCo :-P)
See issue #2662 for more details.
svn path=/trunk/; revision=29125
- On windows deleted objects have a KernelData value != NULL, so don't check for that when validating a handle, instead check if the type field in the upper 16 bits is 0
svn path=/trunk/; revision=29123
- Implement ValidateHandle.
- Copied handle_to_entry and header information from win32k. Yes I know, duplication etc. Just for now.
- Add tested validation object types and as per revision 29105. Those object types now match.
- In dllmain.c, the gHandleTable pointer is set from Win32k GetW32ProcessInfo.
- Tested it, failed. The pointer does match with win32k gHandleTable.
svn path=/trunk/; revision=29121
- The debug object created by NtCreateDebugObject() is restricted to DEBUG_OBJECT_WAIT_STATE_CHANGE, change to DEBUG_OBJECT_ALL_ACCESS.
See issue #2310 for more details.
svn path=/trunk/; revision=29115
solution. ReactOS does not currently have RegisterDeviceNotification
implemented so if this function fails the audio service will still run
but won't receive plug and play event notifications (this is a temporary
hack.)
Service now starts but won't find any devices (we don't have any yet!)
svn path=/trunk/; revision=29108
KSCATEGORY_AUDIO. Also detects existing audio devices in addition to
dealing with device arrivals. Slight code tidy-up. Also added additional
GUIDs to ks.h and ksmedia.h
svn path=/trunk/; revision=29106
- Add thread information pointer to the user handle entry. This will be useful for checking handles, if the handle is not part of the current thread.
- Add a test to make sure the current process passes the gHandleTable pointer to user32.
- These changes are important for allowing User32 to read-only the handle object information. Not 100% compatible, we need NtUserProcessConnect and CsrClientConnectToServer. Need a full understanding how they both work with User32.
Ref:
- https://www.microsoft.com/msj/0397/hood/hood0397.aspx
- http://www.winterdom.com/dev/ui/wnd.html
svn path=/trunk/; revision=29105
(XP) it now detects when new devices have been attached. This
information is shared via a mapped file. I have also written a utility
to read the contents of the mapped file (this is not included - further
work is required).
Added a few missing #defines to dbt.h and also reformatted some of the
WinMM code so it was clearer to read.
svn path=/trunk/; revision=29100
Exclude relocation. We'll be situated properly by the ELF layer anyway, and
it's x86 specific.
Tweak definitions in _mingw.h
svn path=/trunk/; revision=29072
- Don't include files that aren't in the source directory to the project generation.
- Fix tab indentation in generated files.
svn path=/trunk/; revision=29065
- read default waveout device (thanks to Silverbade)
- improve volume dialog proc
- update all languages resources which current code changes
svn path=/trunk/; revision=29058
The added '<include base="ntoskrnl" root="intermediate">include</include>' line in "ntoskrnl.rbuild" was left out, as this include path is already added through the "ntoskrnl.h" precompiled header. (thanks to Hervé for figuring this out)
I applied patches 1904 and 1905 of the Bugzilla bug entry.
See issue #2649 for more details.
svn path=/trunk/; revision=29056
- Copy the "pshpack*.h", "poppack.h" and "typedefs_host.h" (renamed to "typedefs.h") files to this directory
- Modify the Makefiles of cmlib_host, inflib_host, mkhive, unicode, wmc and wrc to remove the "include/psdk" dependency
- Remove the inclusion of "ntstatus.h" in cmlib_host and mkhive
svn path=/trunk/; revision=29042
- This fixes the problem where a service name created via CreateService (reg key name) can be different than the one supplied in the call to StartServiceCtrlDispatcher. Windows can still start services in this situation, previously we would fail to find the right service.
svn path=/trunk/; revision=29014
from the registry 'Drivers' and 'Drivers32' keys, as Windows does. Also
silenced the beep-MIDI driver (which is supported by winmm! - but
doesn't seem to do much, at least under vmware.)
Added some Drivers32 entries to be loaded by default, to the hivesft.inf
file.
svn path=/trunk/; revision=29011
<20><><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><20><><EFBFBD><EFBFBD><EFBFBD>: R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/R user Revoke specified user's access rights (only valid with /E).\n\
<20><><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><20><><EFBFBD><EFBFBD><EFBFBD>: N <20><><EFBFBD><EFBFBD><EFBFBD>\n\
R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/D user <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<20><><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><20><><EFBFBD><EFBFBD><EFBFBD>: R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/R user Revoke specified user's access rights (only valid with /E).\n\
<20><><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><20><><EFBFBD><EFBFBD><EFBFBD>: N <20><><EFBFBD><EFBFBD><EFBFBD>\n\
R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/D user <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
MORE < [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:][<5B><><EFBFBD>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD>\n\
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> | MORE \n\
MORE [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:][<5B><><EFBFBD>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD>\n\n\
CardStackdragstack;//cards which we might be dragging
@@ -167,14 +167,14 @@ private:
// Used for mouse-dragging / moving cards
//
intiNumDragCards;
intmousexoffset;
intmousexoffset;
intmouseyoffset;
intoldx;
intoldy;
intnDragCardWidth;
intnDragCardHeight;
HDChdcBackGnd;
HBITMAPhbmBackGnd;
HDChdcDragCard;
@@ -183,7 +183,7 @@ private:
intnNumApparentCards;
intnThreedCount;
boolfVisible;
intnFlashCount;
boolfFlashVisible;
UINTuFlashTimer;
@@ -197,10 +197,10 @@ private:
UINTuDragRule;
UINTuDropRule;
//
// Stack callback support
//
//
pCanDragProcCanDragCallback;
pCanDropProcCanDropCallback;
pClickProcClickCallback;
@@ -209,7 +209,7 @@ private:
pRemoveProcRemoveCallback;
//locking mechanism to prevent user dragging etc
HANDLEmxlock;
HANDLEmxlock;
};
#endif
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.