Compare commits

...

346 Commits

Author SHA1 Message Date
Thomas Faber
245051f2bf [CLT2012]
- Fix directory creation in first stage
- Avoid relocation of syssetup

svn path=/branches/ros-branch-0_3_14-clt2012/; revision=56139
2012-03-13 09:04:26 +00:00
Thomas Faber
4cb64ace63 [CLT2012]
- Remove the outdated USB driver

svn path=/branches/ros-branch-0_3_14-clt2012/; revision=56138
2012-03-13 00:08:45 +00:00
Thomas Faber
05577a9a89 [CLT2012]
- Include the Lautus visual style by Pisarz (as a blob for now), and enable it by default

svn path=/branches/ros-branch-0_3_14-clt2012/; revision=56136
2012-03-12 22:50:39 +00:00
Thomas Faber
7f2624f282 [CLT2012]
- Add CLT wallpaper based on Angelus_ReactOS7_Dark_4-3

svn path=/branches/ros-branch-0_3_14-clt2012/; revision=56134
2012-03-12 16:06:54 +00:00
Thomas Faber
77b07c3a96 [CLT2012]
- Partly revert r53422 to allow hybrid CD booting again. Thanks to Giannis.

svn path=/branches/ros-branch-0_3_14-clt2012/; revision=56123
2012-03-11 21:09:16 +00:00
Thomas Faber
76a461dd16 [CLT2012]
- Add hybrid CD tools by Colin. See r51077, r46059

svn path=/branches/ros-branch-0_3_14-clt2012/; revision=56101
2012-03-10 09:41:41 +00:00
Thomas Faber
18ac12569f [CLT2012]
- Adjust the CD root readme.txt for CLT
- Add CD options to welcome.exe
- Taken from previous years, see r51078, r46065

svn path=/branches/ros-branch-0_3_14-clt2012/; revision=56100
2012-03-10 09:38:41 +00:00
Thomas Faber
ee9c5e2290 [CLT2012]
- Change version to 0.3.14-CLT2012

svn path=/branches/ros-branch-0_3_14-clt2012/; revision=56095
2012-03-09 19:28:53 +00:00
Cameron Gutman
5a288c9f90 [NTOSKRNL]
- Add an assertion to catch a bug in the I/O manager

svn path=/trunk/; revision=56093
2012-03-08 23:02:45 +00:00
Stefan Ginsberg
ad0cb34f20 - Addendum to 56090.
svn path=/trunk/; revision=56092
2012-03-08 09:23:24 +00:00
Stefan Ginsberg
12d6452264 Build fix from the cmake noob.
svn path=/trunk/; revision=56091
2012-03-08 09:20:31 +00:00
Stefan Ginsberg
1016fc25ff - Fix DBG macro AGAIN which got broken during the switch to cmake. Checked build: DBG = 1, free build: DBG = 0. Noobs.
svn path=/trunk/; revision=56090
2012-03-08 09:18:28 +00:00
Cameron Gutman
a7caca2e37 [NTOSKRNL]
- Release the IO database lock before unloading the device (and driver too) to prevent deadlocks

svn path=/trunk/; revision=56089
2012-03-08 03:02:28 +00:00
Cameron Gutman
e0c8eedd51 [NTOSKRNL]
- Fix broken reference counting and dereferencing the wrong device object

svn path=/trunk/; revision=56088
2012-03-08 02:58:21 +00:00
Cameron Gutman
592be28128 [NTOSKRNL]
- Dereference the correct device object (the one who asked for shutdown notification) instead of whatever happens to be on the top of the device stack
- Fix flag issues

svn path=/trunk/; revision=56087
2012-03-08 02:43:47 +00:00
James Tabor
f3bea9c548 [Screen Savers]
- CMake it! MazeScr is skipped for now.

svn path=/trunk/; revision=56086
2012-03-08 02:02:58 +00:00
Jérôme Gardou
63fa6d040d [DAMN_IT]
- addendum to r56081

svn path=/trunk/; revision=56082
2012-03-07 21:46:15 +00:00
Jérôme Gardou
4bdb6a42f2 [CMAKE]
* unify spec2def and add_importlib_target
* use module name instead of spec file name for deciding importlib target name

svn path=/trunk/; revision=56081
2012-03-07 21:21:27 +00:00
Pierre Schweitzer
92de8cffa3 [HALX86]
Fix halx86 release build

svn path=/trunk/; revision=56080
2012-03-07 21:19:30 +00:00
Pierre Schweitzer
b603bd5a6b [WIN32CSR]
Fix win32csr release build

svn path=/trunk/; revision=56079
2012-03-07 21:18:59 +00:00
Pierre Schweitzer
56f5b39130 [WIN32K]
Fix win32k release build

svn path=/trunk/; revision=56078
2012-03-07 21:18:30 +00:00
Pierre Schweitzer
388562e5ec [DDK]
Fix release build?

svn path=/trunk/; revision=56077
2012-03-07 19:46:16 +00:00
Rafal Harabien
e7b9093f5c [FREELDR]
- Try to fix release build

svn path=/trunk/; revision=56076
2012-03-07 13:47:38 +00:00
Rafal Harabien
b44e551110 [SHELL32]
- Improve drive properties dialog. Patch by Edijs Kolesnikovičs <terminedijs at yahoo dot com>
See issue #6833 for more details.

svn path=/trunk/; revision=56075
2012-03-07 13:34:10 +00:00
Rafal Harabien
10450502d4 [SHELL32]
- Improve file properties dialog. Patch by Edijs Kolesnikovičs <terminedijs at yahoo dot com>
See issue #6829 for more details.

svn path=/trunk/; revision=56074
2012-03-07 13:25:45 +00:00
Pierre Schweitzer
034c8a3379 [NTOSKRNL]
Fix wrong sizeof usage with performance counters

svn path=/trunk/; revision=56073
2012-03-07 07:38:31 +00:00
Rafal Harabien
0f6c290bfa [WIN32K]
- When using output rect clipping results in input rect, scale them to input rect size. Fixes gdiplus:graphics winetest crash.

svn path=/trunk/; revision=56072
2012-03-07 00:24:14 +00:00
Cameron Gutman
f184a271ca [NTOSKRNL]
- Hack IopDeleteDriver to workaround the boot driver unloading bugs I mailed ros-dev about
- Should fix KVM testbot

svn path=/trunk/; revision=56071
2012-03-07 00:14:13 +00:00
Cameron Gutman
e97f05f899 [NTOSKRNL]
- Don't zero a page again that is already zeroed

svn path=/trunk/; revision=56070
2012-03-07 00:01:51 +00:00
Cameron Gutman
092d67d890 [NTOSKRNL]
- Fix the unload path
- This does expose some bugs: 2 cont-able assertions in ARM3 after unplugging a USB storage device (during usbstor unload), HID unload doesn't seem to work correctly (somebody still has references to the devices), other issues may pop up too

svn path=/trunk/; revision=56069
2012-03-06 22:50:13 +00:00
Cameron Gutman
ca8ba290ce [NTOSKRNL]
- Cleanup device removal/unloading
- Should not have any behavior changes yet

svn path=/trunk/; revision=56068
2012-03-06 22:36:27 +00:00
Cameron Gutman
ccae886429 [MOUCLASS][KBDCLASS]
- Fix a file object reference leak on legacy enumerated keyboard and mouse port drivers

svn path=/trunk/; revision=56067
2012-03-06 22:20:02 +00:00
Cameron Gutman
8fb6abbc24 [NTOSKRNL]
- Fix yet another major device object reference leak (1 per power IRP)

svn path=/trunk/; revision=56066
2012-03-06 22:06:44 +00:00
Cameron Gutman
2a70af6641 [NTOSKRNL]
- Fix a major device object reference leak (1 per PnP IRP)

svn path=/trunk/; revision=56065
2012-03-06 21:58:29 +00:00
Cameron Gutman
bb4fbc5ac7 [USBCCGP]
- Add a DriverUnload handler as required by WDM spec

svn path=/trunk/; revision=56064
2012-03-06 21:24:36 +00:00
Cameron Gutman
f706d2ed15 [NTOSKRNL]
- Fix several driver object reference leaks
- Fix a kmtest regarding previously loaded drivers
- Part 1 of getting PnP driver unload to work properly

svn path=/trunk/; revision=56063
2012-03-06 21:07:25 +00:00
Timo Kreuzer
6ca9e86d16 [WIN32K]
Initialize the DC's CombinedClip when creating the DC. Fixes a crash caused by Explorer++

svn path=/trunk/; revision=56061
2012-03-06 10:33:28 +00:00
Stefan Ginsberg
5001cb2608 - Stop using ObfXXX and IofXXX in C code. This is bad style. Always use the non-f versions in C code.
- Fix the way we undefined IoCallDriver and IoCompleteRequest so existing and future code in irp.c will use the correct function when using the Io* versions.
Part 1 of 2.

svn path=/trunk/; revision=56060
2012-03-05 20:43:47 +00:00
Jérôme Gardou
44ea840535 There are days like that, when you'd better refrain from commit anything.
svn path=/trunk/; revision=56059
2012-03-05 20:34:50 +00:00
Jérôme Gardou
a0e5de9deb [UXTHEME]
- fix a few winetest
Patch by Ben Pye (bfhben __ gmail __ com)

svn path=/trunk/; revision=56058
2012-03-05 20:21:43 +00:00
Rafal Harabien
2181eb4926 [CMAKE]
- Fix GCC warnings when building cmlib

svn path=/trunk/; revision=56057
2012-03-05 20:20:50 +00:00
Rafal Harabien
6e4c0662ea [GDIPLUS_WINETEST]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=56056
2012-03-05 20:18:32 +00:00
Rafal Harabien
4ecb1c4ca7 [GDIPLUS]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=56055
2012-03-05 20:17:42 +00:00
Jérôme Gardou
a9d90422fd first cause of broken commits: the headers. Addendum r56048
svn path=/trunk/; revision=56054
2012-03-05 20:08:08 +00:00
Rafal Harabien
ea7b00c53e [HIDPARSER]
- Implement translating customer page to scan-codes

svn path=/trunk/; revision=56053
2012-03-05 19:58:43 +00:00
Cameron Gutman
0c5896f63f [NTOSKRNL]
- Assert that the PFN lock is held during MmReferencePage
- Assert that the PFN lock is not held during MmFreeMemoryArea

svn path=/trunk/; revision=56052
2012-03-05 19:54:00 +00:00
Cameron Gutman
cfb8d5658b [NEWCC]
- Check that the memory area is not being deleted before using it

svn path=/trunk/; revision=56051
2012-03-05 19:48:24 +00:00
Cameron Gutman
d78bbd2aab [NTOSKRNL]
- Fix incorrect placement of the PDE freeing code which caused a deadlock to occur if a low memory condition was indicated by ARM3

svn path=/trunk/; revision=56050
2012-03-05 19:40:44 +00:00
Cameron Gutman
9973fe86bf [NEWCC]
- Hold the PFN lock when referencing pages

svn path=/trunk/; revision=56049
2012-03-05 19:29:39 +00:00
Jérôme Gardou
4a78d2e988 [CABINET]
- Really use random temporary file name

svn path=/trunk/; revision=56048
2012-03-05 19:18:19 +00:00
Cameron Gutman
18a6ac6ae4 [NEWCC]
- Don't allow a locked page to be paged out

svn path=/trunk/; revision=56047
2012-03-05 19:15:15 +00:00
Rafal Harabien
76f7011ac8 [HIDPARSER]
- Fix scan-codes for PrintScreen and PauseBreak

svn path=/trunk/; revision=56046
2012-03-05 19:07:01 +00:00
Jérôme Gardou
c3d23e2e30 [CABINET]
- always close the cabinet after being done, even of case of failure.

svn path=/trunk/; revision=56045
2012-03-05 18:51:05 +00:00
Cameron Gutman
97fa0caa77 [NEWCC]
- Revert 56043

svn path=/trunk/; revision=56044
2012-03-05 18:50:12 +00:00
Cameron Gutman
5ebff54d57 [NEWCC]
- Turn NewCC on temporarily for some testing
- Patchbot is broken so I had to do it this way :(

svn path=/trunk/; revision=56043
2012-03-05 18:42:40 +00:00
Jérôme Gardou
8cad601e40 [CABINET]
- always test your code before commiting, I'm sure I already told you that.

svn path=/trunk/; revision=56042
2012-03-05 18:37:33 +00:00
Jérôme Gardou
f14cc87389 [CABMAN]
- Try to fix some drama

svn path=/trunk/; revision=56041
2012-03-05 18:22:36 +00:00
Cameron Gutman
9234774efe [NEWCC]
- Tag NewCC sections as ROS section objects so they don't get pulled into ARM3 code paths

svn path=/trunk/; revision=56040
2012-03-05 17:35:07 +00:00
Sir Richard
e4e166e6ae [NTOS]: Use ARM3 sections for the NLS mapping -- excercises both the system mapping as well as the per-process mapping. WorksForMe(c). Hopefully things will be better than last time now, and their usage can increase.
svn path=/trunk/; revision=56039
2012-03-05 17:10:51 +00:00
Cameron Gutman
4e9be483ad [NTOSKRNL]
- Use ARM3 hyperspace mapping calls instead of the legacy RosMm API

svn path=/trunk/; revision=56038
2012-03-05 17:08:02 +00:00
Rafal Harabien
e6c3edf112 [KBDHID][HIDPARSER]
- Fix extended keys (scan-codes prefixed with E0) translation. Fixes Win-key.

svn path=/trunk/; revision=56037
2012-03-05 17:07:15 +00:00
Cameron Gutman
676849ab0b [NTOS]
- Fix a broken assertion

svn path=/trunk/; revision=56036
2012-03-05 16:48:26 +00:00
Sir Richard
d124bde10c Two Part Patch which fixes ARM3 Section Support (not yet enabled). This had been enabled in the past for testing and resulted in bizare crashes during testing. The amount of fixing required should reveal why:
Part 1: Page Fault Path Fixes
[NTOS]: As an optimization, someone seems to have had changed the MiResolveDemandZeroFault prototype not to require a PTE, and to instead take a protection mask directly. While clever, this broke support for ARM3 sections, because the code was now assuming that the protection of the PTE for the input address should be used -- while in NT Sections we instead use what are called ProtoType PTEs. This was very annoying to debug, but since the cause has been fixed, I've reverted back to the old convention in which the PTE is passed-in, and this can be a different PTE than the PTE for the address, as it should be.
[NTOS]: Due to the reverting of the original path, another optimization, in which MiResolveDemandZeroFault was being called directly instead of going through MiDispatchFault and writing an invalid demand-zero PDE has also been removed. PDE faults are now going through the correct, expected path.
[NTOS]: MiResolveDemandZeroFault was always creating Kernel PTEs. It should create User PTEs when necessary.
[NTOS]: MiDeletePte was assuming any prototype PTE is a forked PTE. Forked PTEs only happen when the addresses in the PTE don't match, so check for that too.
Part 2: ARM3 Section Object Fixes
[NTOS]: Fix issue when trying to make both ROS_SECTION_OBJECTs and NT's SECTION co-exist. We relied on the *caller* knowing what kind of section this is, and that can't be a good idea. Now, when the caller requests an ARM3 section vs a ROS section, we use a marker to detect what kind of section this is for later APIs.
[NTOS]: For section VADs, we were storing the ReactOS MEMORY_AREA in the ControlArea... however, the mappings of one individual section object share a single control area, even though they have multiple MEMORY_AREAs (one for each mapping). As such, we overwrote the MEMORY_AREA continously, and at free-time, double or triple-freed the same memory area.
[NTOS]: Moved the MEMORY_AREA to the "Banked" field of the long VAD, instead of the ControlArea. Allocate MMVAD_LONGs for ARM3 sections for now, to support this. Also, after deleting the MEMORY_AREA while parsing VADs, we now use a special marker to detect double-frees, and we also use a special marker to make sure we have a Long VAD as expected.

svn path=/trunk/; revision=56035
2012-03-05 16:41:46 +00:00
Stefan Ginsberg
5219e590b0 [NTOS]
- Fix handling of command strings in KdpTrap.

svn path=/trunk/; revision=56034
2012-03-05 14:52:03 +00:00
Cameron Gutman
b244ec1114 [USBSTOR]
- Deny removal to fix a race with the legacy disk class driver

svn path=/trunk/; revision=56033
2012-03-05 14:42:05 +00:00
Stefan Ginsberg
9816f534ee [PSDK]
- Update DBGKD_MAJOR_TYPES. Dedicated to Alex ;)

svn path=/trunk/; revision=56031
2012-03-05 13:02:21 +00:00
Stefan Ginsberg
bb50e00be0 [XDK]
- Forgot this one in 55840

svn path=/trunk/; revision=56029
2012-03-05 12:57:08 +00:00
Stefan Ginsberg
549d8709b3 [FREELDR]
- Give freeldr its own RtlAssert to avoid linking to the one in rtl. Makes it possible to use the DbgPrompt version (currently #if 0-ed) of RtlAssert in ntdll/ntos without breaking freeldr linking.

svn path=/trunk/; revision=56028
2012-03-05 12:50:08 +00:00
Kamil Hornicek
caefd349c5 [TRANSLATION]
- Follow-up to r55891.
- Resource cleanup.

svn path=/trunk/; revision=56027
2012-03-05 11:13:13 +00:00
Art Yerkes
d9d0e1ad2a [FSRTL]
Fix my lock implementation to a degree.
- Have a single list associated with the CSQ.
- Remove some confusion from when the lock information was a
generic table.
- Make the compare function not be confused by attempts to
give strange offsets and lengths.
- Make the uninitialize function complete all lock requests
as specified.
- Remove my unneeded attempt to shoehorn in an eresource.

svn path=/trunk/; revision=56026
2012-03-05 09:49:06 +00:00
Art Yerkes
bd9aa57445 [NEWCC]
Use the same method pagefile.c does to read in a page without mapping it.

svn path=/trunk/; revision=56025
2012-03-05 04:34:06 +00:00
Art Yerkes
4d698f45aa [NEWCC]
Fix paging out.
- We know we're in a wait entry in the section.  What we really want to know
is if it's safe to evict this address space when withdrawing the mappings.
- We don't want to corrupt our wait entry in the section page table to keep
accumulating dirty state into the page out process until it's time to finally
evict.

svn path=/trunk/; revision=56024
2012-03-05 02:20:22 +00:00
Art Yerkes
1490d48263 [NEWCC]
Prevent us from recording an impossible dirty swap entry in the section page table.

svn path=/trunk/; revision=56023
2012-03-05 01:52:47 +00:00
Cameron Gutman
ea50be62a0 [NEWCC]
- Add missing wait entry handling

svn path=/trunk/; revision=56022
2012-03-04 23:45:16 +00:00
Pierre Schweitzer
3f0a38fdc9 [RAMDISK]
Implement RamdiskRemoveBusDevice.
Stubplement RamdiskDeleteDiskDevice.
Use them in RamdiskPnp.

svn path=/trunk/; revision=56021
2012-03-04 23:08:33 +00:00
Cameron Gutman
c257a48ec6 [NTOSKRNL]
- Kill this straggler from last commit

svn path=/trunk/; revision=56020
2012-03-04 22:45:46 +00:00
Jérôme Gardou
24b9fc3fe0 [NTOSKRNL/MM]
- do not initialize idle process address space lock twice

svn path=/trunk/; revision=56019
2012-03-04 22:39:15 +00:00
Cameron Gutman
50e1500799 [NTOSKRNL]
- Consolidate most of the PDE reference counting code into the arch-specific RosMm folder where it belongs

svn path=/trunk/; revision=56018
2012-03-04 22:31:30 +00:00
Rafal Harabien
41364b7c5a [EXPLORER-NEW]
- Add more items to taskbar popup menu. Patch by Edijs Kolesnikovičs <terminedijs at yahoo dot com>
See issue #6242 for more details.

svn path=/trunk/; revision=56017
2012-03-04 22:07:27 +00:00
Pierre Schweitzer
8fdf9b6765 [RAMDISK]
Implement RamdiskScsi, RamdiskSystemControl, RamdiskPower

svn path=/trunk/; revision=56016
2012-03-04 21:42:16 +00:00
Cameron Gutman
4350714766 [NEWCC]
- Turn off a bit more debugging so NewCC is largely quiet unless there's a problem

svn path=/trunk/; revision=56015
2012-03-04 21:36:34 +00:00
Cameron Gutman
28a5fcc313 [NTOSKRNL]
- Fix a major bug in the failure path of IoCreateDevice that would cause corruption of kernel memory if IopCreateVpb failed

svn path=/trunk/; revision=56014
2012-03-04 21:18:01 +00:00
Rafal Harabien
f8ada9b34d [SHELL32]
- Fix folder properties dialog. Patch by Edijs Kolesnikovičs <terminedijs at yahoo dot com>
See issue #6832 for more details.

svn path=/trunk/; revision=56013
2012-03-04 20:58:37 +00:00
Jérôme Gardou
5b9d2a760e [NTOSKRNL/MM]
- initialize VmWorkingSet pointer for system process.
Should fix random crashes when paging out.

svn path=/trunk/; revision=56012
2012-03-04 20:30:42 +00:00
Rafal Harabien
8a1d72a7cd [SHELL32]
- Improve shortcut properties dialog. Patch by Edijs Kolesnikovičs <terminedijs at yahoo dot com>
See issue #6848 for more details.

svn path=/trunk/; revision=56011
2012-03-04 20:28:29 +00:00
Sir Richard
61dab06b71 [NTOS]: For debugging only, want to see what is excercising MmAllocatePagesForMdl. The way I wrote this seems broken, but I can't find anything to test it with.
svn path=/trunk/; revision=56010
2012-03-04 19:51:22 +00:00
Pierre Schweitzer
4f16fa360c [RAMDISK]
Implement RamdiskFlushBuffers, RamdiskUnload

svn path=/trunk/; revision=56009
2012-03-04 19:48:09 +00:00
Kamil Hornicek
b9862648ef [WIN32K]
Take the "unsignedness" of the index into account.

svn path=/trunk/; revision=56007
2012-03-04 19:20:25 +00:00
Pierre Schweitzer
300da180c0 [RAMDISK]
Implement RamdiskSetPartitionInfo and make use of it
Also use RamdiskGetPartitionInfo in RamdiskWorkerThread

svn path=/trunk/; revision=56002
2012-03-04 18:32:07 +00:00
Jérôme Gardou
75e0ec3feb [NTOSKRNL]
- fix code assuming System process pointer is never NULL, which is the case when we're creating it.

svn path=/trunk/; revision=56001
2012-03-04 17:57:44 +00:00
Sir Richard
645e6a793a [MEGAPERF]: This build introduces the following performance boosts:
- Using a dead stack lookaside list for up to 5 dead kernel thread stacks. 1500% improvement when rapidly destroying/creating threads, such as during second stage setup and many winetests.
- Using a free pool page lookaside list for up to 12 free non-paged or paged pool pages. 800% improvement when allocating big pages from the pool, as well as during pool expansion.
- Using a bucketized per-processor and local list (in the KPRCB) for block sizes between 1 and 32 bytes. 1000% improvement when rapidly allocating/freeing small pool allocations, and 8x reduction in pool fragmentation.

svn path=/trunk/; revision=56000
2012-03-04 17:56:00 +00:00
Sir Richard
6c3e9221be [NTOS]: Drop a reference count to the page table in MiDeleteSystemPageableVm as ARM3 now owns PDEs. This helps out yet again to free a little bit of extra RAM up.
svn path=/trunk/; revision=55999
2012-03-04 17:42:56 +00:00
Timo Kreuzer
e3e2689cbf [GENDIB]
- Generate ansi style indentation
- Fix signed/unsigned MSVC warnings in generated code

svn path=/trunk/; revision=55998
2012-03-04 13:33:07 +00:00
Timo Kreuzer
10dabf2876 [GENDIB]
Fix formatting

svn path=/trunk/; revision=55997
2012-03-04 13:06:02 +00:00
Pierre Schweitzer
d2e6e7b9d0 [NTOSKRNL]
Comment out two overzealous ASSERTs

svn path=/trunk/; revision=55996
2012-03-04 12:52:02 +00:00
Timo Kreuzer
354085c7e8 [WIN32K]
Fix build 2

svn path=/trunk/; revision=55995
2012-03-04 12:01:59 +00:00
Timo Kreuzer
3159c6f62f [WIN32K]
Fix build

svn path=/trunk/; revision=55994
2012-03-04 11:43:08 +00:00
Timo Kreuzer
a508886eb0 [WIN32K]
- Fix a possible integer overflow in NtGdiCreateBitmap
- Don't cast length of LARGE_STRING (ULONG) to USHORT, instead truncate to MAXUSHORT. This is still hacky, but better than before.
- Fix MSVC warnings

svn path=/trunk/; revision=55993
2012-03-04 11:32:43 +00:00
Johannes Anderwald
a5bdcfa727 [LIBUSB]
- Fix bug while scanning endpoint descriptors
- Do not assume interface info has the correct number of pipes set
- Fix alternate interface handling
- Tested in VBox + USB Audio Device

svn path=/trunk/; revision=55992
2012-03-04 11:07:13 +00:00
Sir Richard
9bb1ba5ee4 [NTOS]: If the address space is exhausted, don't ASSERT, simply return failure just as Windows does. Should fix the last of the ASSERTions on TestBot.
Next step is to support VirtualProtect/Query correctly.

svn path=/trunk/; revision=55991
2012-03-04 07:04:42 +00:00
Sir Richard
83a2328786 [NTOS]: Blimey this was a hard one. When using the reserved flag to request 1MB in a new process (which is used for starting SMSS and CSRSS), we must request 1MB - 256 bytes (or any number, actually) to offset the fact that with a base address of 0x4, a 1MB region gets us at 0x100FFF, and not 0xFFFF, because Windows computes ending address *before* alignment, and then returns a new region size for you (so if you pass in 1MB, you get 1MB + 4096KB). In Win32csr, when the code is trying to release 1MB, this ended up in our "Case A", because it would still leave a page in the VAD. Fixed rtl to request just shy off a MB. Verified on Windows as well.
[NTOS]: The fix above was due to fixing "EndingAddress" which was being initialized to zero too late (after writing to it!). This caused allocations with a fixed base address that were already on top of another allocation not to be seen as a conflict, then we tried inserting a VAD and received an ASSERT saying we've already found a VAD there. After fixing the sizing code, the bug above creeped up.
Whoever wrote the NtFreeVirtualMemory test is a godsend. It has been nailing bug after bug in the VAD implementation. Thank you.

svn path=/trunk/; revision=55990
2012-03-04 06:42:49 +00:00
Johannes Anderwald
acb68dc20d [KS]
- Fix property item merge in KsMergeAutomationTable

 

svn path=/trunk/; revision=55989
2012-03-04 04:44:48 +00:00
Sir Richard
4411be35e7 [NTOS]: Release the *right* lock. "Fix the fix" as the yuppies say.
svn path=/trunk/; revision=55988
2012-03-04 03:18:47 +00:00
Alex Ionescu
26b48236fb [WIN32K]: Should fix usb/livecd failure reported by igorko. bug 6696..or something?
svn path=/trunk/; revision=55987
2012-03-04 03:06:20 +00:00
Alex Ionescu
a604834220 [SMSS]: No longer fail on invalid known DLL checksum until I can fix the loader API.
svn path=/trunk/; revision=55986
2012-03-04 03:00:01 +00:00
Sir Richard
4c07bf2fcd [NTOS]: Don't keep the address space locked when failing in NtFreeVirtualMemory. Dang this testbot is good at catching those bugs.
svn path=/trunk/; revision=55985
2012-03-04 02:56:16 +00:00
Johannes Anderwald
0e20c445f1 [KS]
- Handle custom sized nodes

svn path=/trunk/; revision=55984
2012-03-04 02:39:37 +00:00
Johannes Anderwald
0b301f3da8 [USBHUB]
- Implement retrieving USB_BUS_INTERFACE_USBDI_GUID interface
[KS]
- Add PnP hack for IoSetDeviceInterfaceState

svn path=/trunk/; revision=55983
2012-03-04 02:17:13 +00:00
Sir Richard
9732b09bc6 [NTOS]: Delete anonmem.c and move the ARM3-compatible code to ARM3/virtual.c. Whatever remained is for sections only, so move it to mm/section.c
[NTOS]: Fix some broken assertions in NtFreeVirtualMemory. Lesson: Do not try to "optimize" Microsoft's ASSERTs.

svn path=/trunk/; revision=55982
2012-03-04 02:03:46 +00:00
Sir Richard
2d534ce868 [RTL]: Sorry, forgot this critical part of the VAD commit.
svn path=/trunk/; revision=55981
2012-03-04 00:47:20 +00:00
Cameron Gutman
79dd33a566 [UNIATA]
- Try to fix KVM testbot

svn path=/trunk/; revision=55980
2012-03-03 23:13:21 +00:00
Cameron Gutman
2b71ec3e05 [USETUP]
- Turn off debugging
- Fix the checkpoint print so it doesn't happen anytime a usetup progress bar reaches 50%

svn path=/trunk/; revision=55979
2012-03-03 23:04:10 +00:00
Cameron Gutman
6b93fbc2de [STORAGE]
- Back by popular demand, the storage driver to end all storage drivers, uniata!
- I had forgotten how many issues atapi had itself and the hardware compatibility improvement (if there was one) was offset by lack of features

svn path=/trunk/; revision=55978
2012-03-03 22:46:04 +00:00
Sir Richard
08e91a3df6 [NTOS]: Implement VAD-based Virtual Memory Management. MEMORY_AREA_VIRTUAL_MEMORY is gone. Tested for 3 days with various experiments and handled all the cases and issues that appeared. Some code paths are not implemented because they were not encountered. Will consider implementing them if anything breaks -- note however that those code paths were not handled in RosMM either, so no new regressions are expected.
Hoping this will work on other configurations other than just my test virtual machine. If so, it is a big day in Mm history. Only sections and cache still use the old Mm functionality. I -will- revert this if all hell breaks loose.

svn path=/trunk/; revision=55977
2012-03-03 22:34:35 +00:00
Cameron Gutman
297eb4a462 [USBCCGP]
- Implement support for getting string descriptors (may need more work)
- USB mass storage devices which are part of a composite device now initialize

svn path=/trunk/; revision=55976
2012-03-03 21:23:04 +00:00
Hervé Poussineau
3e4f41c5e9 ntoskrnl: fix pointer dereference before testing for it
svn path=/trunk/; revision=55975
2012-03-03 21:11:42 +00:00
Timo Kreuzer
f99547ad97 [PSDK] Add missing definitions to wingdi.h
[WIN32K] Fix MSVC warnings

svn path=/trunk/; revision=55974
2012-03-03 20:57:42 +00:00
Hervé Poussineau
b541b98d59 freeldr/pxe: remove some traces
svn path=/trunk/; revision=55973
2012-03-03 20:57:17 +00:00
Hervé Poussineau
22f20d79fc Revert most of r53392 effects.
When IoReportDetectedDevice() creates a PDO, the PDO is in no way related to the DriverObject given to the function.
Driver calling IoReportDetectedDevice() should then ensure that it attachs a FDO on top of this PDO.

svn path=/trunk/; revision=55972
2012-03-03 20:39:51 +00:00
Cameron Gutman
85f9f9e518 [LIBUSB]
- Don't assert that the clear stall will complete successfully since it may be sent for a removal
- Fixes removal surprise removal of HID devices

svn path=/trunk/; revision=55971
2012-03-03 20:17:29 +00:00
Timo Kreuzer
fed10df057 [WIN32K]
- Fix a memory leak in EngUnloadImage
- add an ASSERT

svn path=/trunk/; revision=55970
2012-03-03 20:00:51 +00:00
Kamil Hornicek
40a8a3c833 [TRANSLATION]
Dll/cpl UTF-8 conversion patch by Elton Chung.
See issue #6333 for more details.

svn path=/trunk/; revision=55969
2012-03-03 19:29:06 +00:00
Johannes Anderwald
487dd93eed [USBCCGP]
- Handle IRP_MN_QUERY_INTERFACE

svn path=/trunk/; revision=55968
2012-03-03 18:37:23 +00:00
Johannes Anderwald
cc99088ec9 [LIBUSB]
- Fix infinite loop

svn path=/trunk/; revision=55967
2012-03-03 15:16:43 +00:00
Johannes Anderwald
530db30b69 [USBCCG]
- Remove hacks
- Include alternate interface descriptors in the configuration descriptor

svn path=/trunk/; revision=55966
2012-03-03 15:08:28 +00:00
Johannes Anderwald
13daf0dd8a [USBD]
- Rewrite broken USBD_CreateConfigurationRequestEx
- It did not calculate the required urb size correctly 
- It did not store the correct number of provided interfaces
- Length of each interface information was wrong

svn path=/trunk/; revision=55965
2012-03-03 14:41:12 +00:00
Johannes Anderwald
ccdeb596e1 [USBHUB]
- Handle retrieving string descriptors failure

svn path=/trunk/; revision=55964
2012-03-03 11:38:37 +00:00
Cameron Gutman
6a0de53856 - Enable debugging for testbot
svn path=/trunk/; revision=55963
2012-03-02 20:49:53 +00:00
Johannes Anderwald
3436355fe0 [NDK]
- Add missing definitions

svn path=/trunk/; revision=55962
2012-03-02 20:08:51 +00:00
Johannes Anderwald
a3a80c53a9 [USBUHCI]
- Load USBUHCI during 1st stage setup

svn path=/trunk/; revision=55961
2012-03-02 18:30:46 +00:00
Johannes Anderwald
9c2012dd56 [USBEHCI]
- Check if allocation of queue heads failed
- Implement removing of completed queue head

svn path=/trunk/; revision=55960
2012-03-02 18:26:08 +00:00
Cameron Gutman
ae6b312494 [USBUHCI]
- Enable usbuhci for testing
[USBOHCI]
- Add back getting port count in a loop to work around AMD chipset errata

svn path=/trunk/; revision=55959
2012-03-02 18:02:50 +00:00
Cameron Gutman
29571a7f78 [STORAGE]
- Experimental change to try to increase real hardware compatibility
- Load both atapi and uniata and allow atapi to have priority and uniata will pick up devices that atapi doesn't like
- Fix a bug in uniata enumeration

svn path=/trunk/; revision=55958
2012-03-02 17:19:04 +00:00
Johannes Anderwald
c0d2920f33 [USBEHCI]
- Partly implement support for interrupt transfers, WIP, untested

svn path=/trunk/; revision=55957
2012-03-02 14:21:44 +00:00
Dmitry Gorbachev
b5f0b7ae64 [Disk_new]
Silence GCC 4.6 array bounds warning/error.

svn path=/trunk/; revision=55956
2012-03-01 21:43:23 +00:00
Christoph von Wittich
6e9f60e050 [cmake]
this should work according to Amine

svn path=/trunk/; revision=55955
2012-03-01 21:00:22 +00:00
Christoph von Wittich
3e1d7c333e [cmake]
-it looks like IF(${CMAKE_SYSTEM_NAME} MATCHES "Windows") return TRUE on MacOS/Linux when cross compiling
-file(TO_NATIVE_PATH) is broken as well
...
next try


svn path=/trunk/; revision=55954
2012-03-01 20:29:18 +00:00
Christoph von Wittich
c1f93e68a9 [cmake]
fix for the fix
thanks Alex for testing

this should reduce testman log size by at least 500KB

svn path=/trunk/; revision=55953
2012-03-01 19:43:00 +00:00
Christoph von Wittich
4beba5d550 [cmake]
fix for unix/linux

svn path=/trunk/; revision=55952
2012-03-01 19:09:07 +00:00
Kamil Hornicek
e5df8b4d9d [WINED3D|DDRAW|D3D8|D3D9]
Sync to Wine 1.3.37.

svn path=/trunk/; revision=55951
2012-03-01 18:39:47 +00:00
Christoph von Wittich
4d85ddbba8 [cmake]
reduce debug spam (only tested on windows)

svn path=/trunk/; revision=55950
2012-03-01 18:38:22 +00:00
Cameron Gutman
9c50c787b4 [USBOHCI]
- Add a OHCI reset hack based on Linux code

svn path=/trunk/; revision=55948
2012-03-01 18:05:59 +00:00
Timo Kreuzer
51220b9ed1 [NTOSKRNL]
Remove the broken ASSERT once again. Sigh...

svn path=/trunk/; revision=55947
2012-03-01 18:03:08 +00:00
Giannis Adamopoulos
22a4a0901f [freeldr]
- Implement enabling extended debug output in freeldr without the need to recompile it. Add an option in the f8 menu that allows the user to specify which debug channels and levels will be enabled.

svn path=/trunk/; revision=55946
2012-03-01 16:32:00 +00:00
Johannes Anderwald
3735fcc5cd [LIBUSB]
- Check the device descriptor is valid
- Implement function to return max packet size

svn path=/trunk/; revision=55945
2012-03-01 15:51:59 +00:00
Timo Kreuzer
f8a832a4ea Party revert r55722: "[CSRSRV]: Some misc cleanup of dead code. No functional change.", which caused MSVC builds to hang on 2nd stage
svn path=/trunk/; revision=55943
2012-03-01 14:17:23 +00:00
Johannes Anderwald
d431e272f8 [USBLIB]
- Split retrieving the full configuration descriptor into 2 steps
- Fixes errors while initializing usb devices on UHCI controller
- Tested in VmWare / VBox and real hardware

svn path=/trunk/; revision=55942
2012-03-01 14:16:33 +00:00
Johannes Anderwald
348d7d4625 [USBHUB]
- Remove broken assert

svn path=/trunk/; revision=55941
2012-03-01 14:13:21 +00:00
Johannes Anderwald
1de7f626b6 [USBUHCI]
- Fix usblib regression

svn path=/trunk/; revision=55940
2012-03-01 12:49:20 +00:00
Kamil Hornicek
e1a1d2a0d6 [TRANSLATION]
Missed this one in r55891.

svn path=/trunk/; revision=55939
2012-03-01 11:30:51 +00:00
Sir Richard
64d3af216f [NTOS]: A few other fixups to the page fault path:
1) Assert on empty kernel PTE instead of handling it as a bugcheck. Windows ASSERTs too. Also clarify some ASSERTs which Windows also does versus ASSERTs we are only doing due to lack of support for said feature.
2) User page fault path can now distinguish between a user-mode PTE fault, and a kernel-mode fault on a user PDE, both by creating a correct kernel PDE when needed instead of always creating user PTEs, as well as by only touching the UsedPageTableEntry reference counting mechanism when a user-address is in play.
3) Related to #2, also recognize when the faulting PTE is actually a PDE in the self-mapping region -- another scenario when the "user fault" is actually a kernel fault for a user PDE.
4) Add one more path where a Paged Pool PDE fixup can save the day instead of always faulting.
5) Finally, related to #2 and #3, handle the MI_IS_PAGE_TABLE_OR_HYPER_ADDRESS scenario for a User PDE by treating it as a user fault. The code looks deceptively similar but there are slight differences which require the separate codepaths with some duplicated code. The magic is in the ordering.
In trunk, these changes should not cause any regressions (let's hope so). On the internal VAD-based Virtual Memory branch, they now allow booting to 3rd stage and a fully usable ReactOS environment. MEMORY_AREA_VIRTUAL_MEMORY is gone on that branch. It's coming.
[NTOS]: Use PAGE_READWRITE as hardcoded protection instead of PAGE_EXECUTE_READWRITE -- the difference is meaningless on ReactOS Mm but actually causes issues on ARM3 with VADs.

svn path=/trunk/; revision=55938
2012-02-29 23:11:21 +00:00
Kamil Hornicek
536a78293d [BOOTDATA]
reactos.dff was superseded by reactos.dff.in

svn path=/trunk/; revision=55937
2012-02-29 20:43:23 +00:00
Pierre Schweitzer
3f3e67e418 [NTOSKRNL]
Implement FsRtlNotifyFilterChangeDirectory

svn path=/trunk/; revision=55936
2012-02-29 20:11:51 +00:00
Pierre Schweitzer
a7644056d7 [NTOSKRNL]
Forgot to commit that file

svn path=/trunk/; revision=55935
2012-02-29 20:03:46 +00:00
Pierre Schweitzer
7e1f7945ed [NTOSKRNL]
Stub FsRtlCancelNotify
Implement FsRtlCheckNotifyForDelete, FsRtlNotifyCompleteIrp, FsRtlNotifyCompleteIrpList, FsRtlNotifySetCancelRoutine

svn path=/trunk/; revision=55934
2012-02-29 20:01:21 +00:00
Cameron Gutman
04177d9d19 [ROSAUTOTEST]
- Flush file buffers after writing to the crash recovery journal

svn path=/trunk/; revision=55933
2012-02-29 19:44:44 +00:00
Pierre Schweitzer
9624a85234 [NTOSKRNL]
Fix a bug in FsRtlNotifyCleanup: only remove notification from list when we're about to complete it.

svn path=/trunk/; revision=55932
2012-02-29 19:43:35 +00:00
Pierre Schweitzer
4c30c5549a [NTOSKRNL]
Fix formatting, no code change

svn path=/trunk/; revision=55931
2012-02-29 19:29:03 +00:00
Pierre Schweitzer
256540b703 [NTOSKRNL]
Use LIST_ENTRY not pointer on them as head

svn path=/trunk/; revision=55930
2012-02-29 19:26:43 +00:00
Pierre Schweitzer
171a3edfaa [NTOSKRNL]
Get rid off TAG macro

svn path=/trunk/; revision=55929
2012-02-29 19:12:59 +00:00
Cameron Gutman
bc96c38875 [USBEHCI]
- Add back the m_PortResetInProgress hack for broken vbox behavior

svn path=/trunk/; revision=55928
2012-02-29 19:05:16 +00:00
Johannes Anderwald
82d9d774ca [USBHUB]
- Check if FDO is root hub fdo
- Partly implement fdo hub initialization
- Implement IOCTL_INTERNAL_USB_GET_DEVICE_HANDLE, IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO

svn path=/trunk/; revision=55927
2012-02-29 18:51:07 +00:00
Cameron Gutman
9e6f877683 [NTOSKRNL]
- Add a missing device node flag to legacy reported devices to avoid an assertion failure during installation
- The fact that this was exposed by a change in device node linking order terrifies me

svn path=/trunk/; revision=55926
2012-02-29 18:50:07 +00:00
Jérôme Gardou
d5b957c1ac [NTOSKRNL/MM]
- assert PDE ref count consistency everywhere
 - fix the fix(tm) : after reference decrement, the maximum must not be reached

svn path=/trunk/; revision=55925
2012-02-29 17:41:45 +00:00
Aleksey Bragin
4aeb0801e9 - Fix one more assert in addition to 55921.
svn path=/trunk/; revision=55924
2012-02-29 17:13:05 +00:00
Johannes Anderwald
7de856c877 [USBHUB]
- Clean up code, fix memory leaks, check returns codes, add asserts
- Use root device handle which is is prerequisite for usb hub support
[USBLIB]
- Fix root hub handle checks
- Add more code for hub support

svn path=/trunk/; revision=55923
2012-02-29 17:08:32 +00:00
Sir Richard
cbfb67842f [NTOS]: Define the Decommitted PTE structure.
svn path=/trunk/; revision=55922
2012-02-29 16:58:46 +00:00
Alex Ionescu
1401fbea9b [NTOSKRNL]: Fix broken UsedPageTableEntries/page table ref counting ASSERTs. The reference can be UP TO 1024, inclusive, but no more. This might fix a bunch of assertions related to this. Thanks to Richard for catching this one during his VAD work.
svn path=/trunk/; revision=55921
2012-02-29 16:25:43 +00:00
Johannes Anderwald
d485558f04 [USBUHCI]
- Try fix build

svn path=/trunk/; revision=55920
2012-02-29 16:15:05 +00:00
Timo Kreuzer
232e8cd9f5 [GDI32]
Fix MSVC warnings

svn path=/trunk/; revision=55919
2012-02-29 15:34:43 +00:00
Johannes Anderwald
a3b5c86363 [USBOHCI]
- Fix msvc build

svn path=/trunk/; revision=55918
2012-02-29 11:06:57 +00:00
Johannes Anderwald
a755140405 [USBEHCI]
- Fix stack corruption found by msvc
- Fix msvc build

svn path=/trunk/; revision=55917
2012-02-29 10:59:48 +00:00
Johannes Anderwald
ad333c1655 [USBEHCI]
- Fix regressions caused by libusb

svn path=/trunk/; revision=55916
2012-02-29 09:41:34 +00:00
Art Yerkes
743a8996a2 [FSRTL]
Import mostly-complete file locking implementation from arty-newcc.

svn path=/trunk/; revision=55915
2012-02-29 09:18:57 +00:00
Art Yerkes
9d75a5ebae [FSRTL]
Import code from Pierre Schweitzer's fsrtl branch.
- Large MCB and MCB
- Change notification

svn path=/trunk/; revision=55914
2012-02-29 09:18:01 +00:00
Johannes Anderwald
c131df4a4c [USBOHCI]
- Fix regressions introduced by libusb

svn path=/trunk/; revision=55913
2012-02-29 09:15:42 +00:00
Cameron Gutman
bf426aafef [NTOSKRNL]
- Fix linking of device children to respect the enumeration order instead of linking in reverse enumeration order
- PCI cards (and other devices) now enumerate in the correct order

svn path=/trunk/; revision=55912
2012-02-29 06:08:15 +00:00
Cameron Gutman
4ba7e8a742 - Missed this bit
svn path=/trunk/; revision=55911
2012-02-29 05:01:31 +00:00
Cameron Gutman
90e94e42c5 [USBUHCI][USBOHCI][USBEHCI]
- Don't modify PCI configuration in AddDevice function
[USBEHCI]
- Don't halt the controller while the BIOS still has control of it

svn path=/trunk/; revision=55910
2012-02-29 04:58:27 +00:00
Johannes Anderwald
6a2de16a81 [USBOHCI]
- Remove duplicated code
[USBUHCI]
- Use libusb

svn path=/trunk/; revision=55909
2012-02-28 22:09:57 +00:00
Johannes Anderwald
300e78822d [USBOHCI]
- Fix build

svn path=/trunk/; revision=55908
2012-02-28 19:01:02 +00:00
Johannes Anderwald
071158cb87 [USBOHCI]
- Use libusb library
- Cleanup code
[USBEHCI]
- Apply interface changes

svn path=/trunk/; revision=55907
2012-02-28 18:54:30 +00:00
Alex Ionescu
c615973655 [NDK]: Clarify copyright granting and attribution requirements in NDK readme.
svn path=/trunk/; revision=55906
2012-02-28 18:38:28 +00:00
Timo Kreuzer
dc4b573964 [NDK]
- Transfer copyright to Alex Ionescu.
- Remove obsolete file

svn path=/trunk/; revision=55905
2012-02-28 18:21:34 +00:00
Alex Ionescu
67cac70ffa [NDK]: Update readme.txt and commit the license files which were never in the repository for some reason.
svn path=/trunk/; revision=55904
2012-02-28 17:57:16 +00:00
Timo Kreuzer
35784af061 [NTSOKRNL]
Remove a broken ASSERT. Fixes MSVC build


svn path=/trunk/; revision=55903
2012-02-28 17:50:21 +00:00
Johannes Anderwald
ec76cc0bc3 [USBEHCI]
- Fix msvc build

svn path=/trunk/; revision=55902
2012-02-28 17:26:16 +00:00
Johannes Anderwald
e9012aba15 [USBEHCI]
- Use libusb library
- Cleanup code

svn path=/trunk/; revision=55901
2012-02-28 15:13:30 +00:00
Johannes Anderwald
fd61a9d77c [LIBUSB]
- Add library which implements generic host controller tasks

svn path=/trunk/; revision=55900
2012-02-28 15:01:27 +00:00
Johannes Anderwald
e021058e30 [USBEHCI]
- Rewrite configuration handling, WIP

svn path=/trunk/; revision=55899
2012-02-28 10:29:37 +00:00
Cameron Gutman
72a7d22233 [NTOSKRNL]
- Fix PDE reference counting
- Now only the recursive fault remains as an issue in the page out path

svn path=/trunk/; revision=55898
2012-02-28 09:30:53 +00:00
Cameron Gutman
24264b8dc2 [NTOSKRNL]
- Change MmDereferencePage to MmReleasePageMemoryConsumer to do proper page usage tracking
- Remove an unnecessary reference and dereference

svn path=/trunk/; revision=55897
2012-02-28 08:34:16 +00:00
Cameron Gutman
3998099eae [EXT2LIB]
- Fix formatting FAT or NTFS volumes into EXT2 by defining ZAP_BOOTBLOCK and fixing a bug in zap_sector()
[USETUP]
- Enable ext2 as an option in setup
- Formatting and building file copy list works but setup stalls shortly after starting to copy files (NewCC on)

svn path=/trunk/; revision=55896
2012-02-28 05:10:40 +00:00
Cameron Gutman
29f3456caf [NEWCC]
- Fix several locking issues to better fit with RosMm
- Page out is critical as we use it now (shutdown) so force address space locking
- Fix an address space lock leak for VM regions
- Quiet some debugging and enable/change some other
- Still some lingering issues in page out exist which seem to be related to zefklop's PDE ref counting stuff and a weird one where we fault on the PFN database
- Besides the aforementioned issues, NewCC is surprisingly solid. I was able to boot to 3rd stage without a problem and run some apps.

svn path=/trunk/; revision=55895
2012-02-28 04:01:33 +00:00
Sir Richard
6086842a76 [NTOS]: A few key changes to the page fault path:
1) MiCheckVirtualAddress should be called *after* determining if the PTE is a Demand Zero PTE. This is because when memory is allocated with MEM_RESERVE, and then MEM_COMMIT is called later, the VAD does not have the MemCommit flag set to TRUE. As such, MiCheckVirtualAddress returns MM_NOACCESS for the VAD (even though one is found) and the demand zero fault results in an access violation. Double-checked with Windows and this is the right behavior.
2) MiCheckVirtualAddress now supports non-commited reserve VADs (ie: trying to access MEM_RESERVE memory). It used to ASSERT, now it returns MM_NOACCESS so an access violation is raised. Before change #1, this would also happen if MEM_COMMIT was later performed on the ranges, but this is now fixed.
3) When calling MiResolveDemandZeroFault, we should not make the PDE a demand zero PDE. This is senseless. The whole point is that the PDE does exist, and MiInitializePfn needs it to keep track of the page table allocation. Removed the nonsensical line of code which performed cleard the PDE during a demand-zero fault.
I am able to boot to 3rd stage with these changes, so I have seen no regressions. Additionally, with these changes, the as-of-yet-uncommitted VAD-based Virtual Memory code completes 1st stage setup successfully, instead of instantly crashing on boot.

svn path=/trunk/; revision=55894
2012-02-27 23:42:22 +00:00
Sir Richard
8e25b78c44 [NTOS]: Micro-formatting changes to NtAllocateVirtualMemory and NtFreeVirtualMemory which make it easier for me to cut/paste the new VAD-based code in. No actual changes to behavior.
svn path=/trunk/; revision=55893
2012-02-27 23:36:25 +00:00
Amine Khaldi
c3baab78ea [CMAKE]
* Remove some accidental changes.
[INETCPL]
* Include the correct pt language rc file.

svn path=/trunk/; revision=55892
2012-02-27 22:52:09 +00:00
Amine Khaldi
5e9ad9f31b * ReactOS binaries hold resource files to *all* the languages we support, which increases their size, and increases the memory footprint, and on top of that they become useless as soon as you select a language in the 1st stage installer. Introduce a way to compile ros with one localization so that we can compile ReactOS with only one localization, which eliminates the problem mentioned above, and allows us to reduce the compile time, the disk space needed for build, and the runtime memory footprint.
* The default build will continue to include all the localizations, but you can set it otherwise through a cmake variable (I18N_LANG) at configure time.
* Brought to you by Team Localization (Kamil Hornicek and Amine Khaldi) ;)

svn path=/trunk/; revision=55891
2012-02-27 22:46:20 +00:00
Sylvain Petreolle
64be055c58 [KERNEL32_WINETEST]
Addendum to 55888:
allow to run MEM_RESET tests in interactive mode.

svn path=/trunk/; revision=55890
2012-02-27 20:19:21 +00:00
Johannes Anderwald
1efde9717f [USBSTOR]
- Do not retry commands more than once
- Enable error handling in the data completion stage

svn path=/trunk/; revision=55889
2012-02-27 20:10:46 +00:00
Kamil Hornicek
f051482d69 [KERNEL32_WINETEST]
Disable tests that would hit asserts due to current work on VM. Requested functionality is missing and will be for some time.

svn path=/trunk/; revision=55888
2012-02-27 19:33:15 +00:00
Cameron Gutman
ac6c5a4738 [NTOSKRNL]
- Fix kernel memory corruption when a driver fails to initialize
- Fix a handle leak in a failure case

svn path=/trunk/; revision=55887
2012-02-27 19:31:11 +00:00
Alex Ionescu
c61e296b73 [NTOSKRNL]: Don't assert if there's no VAD found in NtFreeVirtualMemory... perhaps a wrong address was used on purpose (such as during a Winetest). Simply do what ROS does when a MAREA is not found and return failure. However if a VAD *was* found, keep all the other ASSERTs...
svn path=/trunk/; revision=55886
2012-02-27 17:17:31 +00:00
Sir Richard
7b2b759953 [NTOS]: Continued preparations for VAD-based Virtual Memory. ASSERT in NtAllocateVirtualMemory any functionality that will not be supported by the VAD-based system (and is not really supported right now either). Make NtFreeVirtualMemory ASSERT that a correct VAD has been found when freeing memory -- which we always expect at this point. Also ASSERT that the VAD has a valid range and flags.
[NTOS]: Do a more stringent check to refuse COPY_ON_WRITE flag sent through NtAllocateVirtualMemory.
[NTOS]: For VM-based Memory Areas, acquire and then release the process working set lock while inserting the VAD, to simulate what the VAD-based Virtual Memory behavior will look like.
[NTOS]: Disable paging for VM-based Memory Areas since this will not be supported with VADs.
[KERNEL32]: CopyLoop was requesting 2 zero bits when calling NtAllocateVirtualMemory. Not sure if this was really the intent or not, but both the new as well as the old NtAllocateVirtualMemory do not support this (the new one will ASSERT). Since this functionality never worked, request 0 bits instead to avoid hitting the ASSERT.
Any problems with what the VAD system will introduce should be revealed by now. From this build until the one which will have the VAD-based system in place, no further VM-related issues should crop up.

svn path=/trunk/; revision=55885
2012-02-27 17:10:44 +00:00
Sylvain Petreolle
806732f98e [USETUP]
Fix installation directories set into unattend.inf,
they were ignored and installed always into \ReactOS.

svn path=/trunk/; revision=55884
2012-02-27 16:37:48 +00:00
Sir Richard
aaa881ed5a [NTOS]: Preparations for the VAD-based Virtual Memory system begin. Disable changing protection on Virtual Memory pages, and make all pages PAGE_EXECUTE_READWRITE for now. In theory, this should not cause any real problems, and sets the stage for the initial functionality regressions that the VAD-based system will introduce. I will eventually plan on fixing them.
svn path=/trunk/; revision=55883
2012-02-27 16:12:11 +00:00
Alex Ionescu
2c7855ed9d [NTOSKRNL]: Drop the reference on the PDE for kernel stack pages being deleted, now that zekflop has made all PDEs ARM3-owned.
svn path=/trunk/; revision=55882
2012-02-27 16:10:30 +00:00
Alex Ionescu
270acce7b4 [NTOSKRNL]: This should not fix anything.
svn path=/trunk/; revision=55881
2012-02-27 15:50:25 +00:00
Alex Ionescu
ef59218343 [CMLIB]: Great job -- crashing trunk on a pool tag just so people can be forced to know what it is. Change the registry pool tag from "th" (wtf?) to "CM25" which is a bit closer to Windows. In reality all of TAG_CM should be broken out in many more pieces. Fixes boot breakpoint.
svn path=/trunk/; revision=55880
2012-02-27 15:28:06 +00:00
Sir Richard
5009959437 [NTOS]: Handle memory allocation failures correctly, supporting all the required debug and caller flags (such as RAISE_ON_FAILURE). We no longer simply just return "NULL" in failure cases.
[NTOS]: Implement counters for paged and nonpaged pool. First-stage setup now shows Kernel Pool values again, as does Task Manager. Fixes the regression introduced when pool/non-paged pool was no longer managed through "memory consumer" API.
[NTOS]: Add more debugging paths and flags that were sent over from the "Aleksey Pool Patch". Most of them are not implemented.
[NTOS]: Fix a missing case when a pool header check was not being done.
[NTOS]: Check IRQL levels during pool allocation and free.
With tags and the counters, pool leaks should be massively more debuggable now.

svn path=/trunk/; revision=55879
2012-02-27 08:21:15 +00:00
Dmitry Gorbachev
567e9e3a71 [NDK]
- Fix declaration of HalPrivateDispatchTable for FreeLDR.

[FREELDR]
- Rename BiosMemoryMap to XboxMemoryMap. Another BiosMemoryMap is in meminit.c

[NTOSKRNL][WIN32K][FTP]
- Fix some variables.

svn path=/trunk/; revision=55878
2012-02-26 19:04:00 +00:00
Kamil Hornicek
260ccab1cd [BOOTDATA]
Include unattend.inf by default (as it was almost done in r28835). No need to have it "disabled" twice.

svn path=/trunk/; revision=55876
2012-02-26 15:05:59 +00:00
Cameron Gutman
08262c3c70 [USBOHCI][USBUHCI][USBEHCI]
- Don't overwrite the status from ClearPortFeature with STATUS_SUCCESS
- Partially fixes full speed port handoff

svn path=/trunk/; revision=55875
2012-02-26 06:33:21 +00:00
Sir Richard
b6c8b61ceb [NTOS]: Implement pool tagging for large allocations too. Once again, no expansion is implemented.
svn path=/trunk/; revision=55874
2012-02-26 05:53:53 +00:00
Amine Khaldi
512c21b125 [CMAKE]
* Introduce a way to compile GCC builds with PDB style debug info (isolated into .dbg files). This will reduce the memory footprint considerably, among other benefits.

svn path=/trunk/; revision=55873
2012-02-25 23:50:38 +00:00
Sir Richard
ec4df1d177 [NTOS]: Implement pool tag tracking and pool tag querying. Big Pool tags are not yet supported, but will be shortly. Expansion is not yet supported.
svn path=/trunk/; revision=55872
2012-02-25 23:14:37 +00:00
Cameron Gutman
fb942b740a [NTOSKRNL]
- Set the SYNCHRONIZE flag in desired access when opening a registry hive for synchronous I/O

svn path=/trunk/; revision=55871
2012-02-25 22:27:27 +00:00
Amine Khaldi
04e46d06af [CMAKE]
* Get GCC version and add some compiler flags conditionally based on it. Dedicated to Dmitry.

svn path=/trunk/; revision=55870
2012-02-25 22:01:20 +00:00
Amine Khaldi
183b2632a2 * Delete unused startup code.
svn path=/trunk/; revision=55869
2012-02-25 21:48:43 +00:00
Dmitry Gorbachev
1550726927 [FREELDR][NTOSKRNL][TOOLS]
- Delete unused files.
- Use extension LDS instead of LNK (Windows shortcut file) for LD linker scripts.

svn path=/trunk/; revision=55868
2012-02-25 21:45:56 +00:00
Cameron Gutman
aeac841aa8 [USBSTOR]
- Fix corruption of SCSI read format capacity by writing the LUN to the wrong location

svn path=/trunk/; revision=55867
2012-02-25 21:18:17 +00:00
Kamil Hornicek
3db7e1b78c Fix build?
svn path=/trunk/; revision=55866
2012-02-25 21:09:28 +00:00
Sir Richard
ca1f0374ab [NTOS]: Implementation of the "Generic DPC" functionality from Windows NT 5.2, which is a forced-synchronization all-CPU DPC callback mechanism. Implemented, and exported all APIs requireted, and added to NDK. NOTE: This implementation only works for Single Processor systems (NT_UP) since this is all that ReactOS currently works on.
This is needed for poolmon/querying pool tags.

svn path=/trunk/; revision=55865
2012-02-25 20:40:06 +00:00
Alex Ionescu
2a87bcea2b [NDK]: Add missing type to NDK.
svn path=/trunk/; revision=55864
2012-02-25 20:38:20 +00:00
Alex Ionescu
b90bb9d570 [CSRSRV]: Quiet, you!
svn path=/trunk/; revision=55863
2012-02-25 20:31:28 +00:00
Giannis Adamopoulos
23c1c259f0 [win32k]
- move wallpaper info from WINSTATION_OBJECT to SPIVALUES. Also remove some unused fields from WINSTATION_OBJECT

svn path=/trunk/; revision=55862
2012-02-25 20:06:15 +00:00
Pierre Schweitzer
f1838c9108 [USER32]
Correct user32 japanese translation (and fix build as well)

svn path=/trunk/; revision=55861
2012-02-25 19:28:00 +00:00
Amine Khaldi
f17583a648 [SHELL32]
* Misses these.

svn path=/trunk/; revision=55860
2012-02-25 19:02:49 +00:00
Amine Khaldi
acf789af2a [SHELL32]
* Prefix the local version.h and version.rc with shell32_.
* Include the rgs resource files in a portable way.

svn path=/trunk/; revision=55859
2012-02-25 18:52:16 +00:00
Sir Richard
a62fbc4a47 [NTOS]: Compute the size of, and allocate, the Pool Tracker Table and the Big Page Tracker Table, which are the core data structures that make pool tagging functionality work.
svn path=/trunk/; revision=55858
2012-02-25 18:51:21 +00:00
Giannis Adamopoulos
bde6f12e52 [win32k]
- null terminate DesktopObject->pDeskInfo->szDesktopName and WindowStationObject->Name
- null terminate the buffer when NtUserGetObjectInformation is called with UOI_NAME parameter
- should fix a random failure in user32:desktop tests

svn path=/trunk/; revision=55857
2012-02-25 18:26:05 +00:00
Amine Khaldi
7d3f5052d0 * Addendum to r55855.
svn path=/trunk/; revision=55856
2012-02-25 17:23:58 +00:00
Amine Khaldi
818418643e * Rbuild, our build system, has served us well so far, but its usefulness has since been vastly overshadowed by its awfulness. It's time to fix it.
svn path=/trunk/; revision=55855
2012-02-25 17:23:37 +00:00
Eric Kohl
0fa8a3b725 [RTL]
Formatting, no code changes.

svn path=/trunk/; revision=55854
2012-02-25 15:20:32 +00:00
Cameron Gutman
11c95e90a7 [USBEHCI]
- Create a macro for properly checking for low speed devices
- Check again for a low speed device after the EHCI reset completes
- Don't ignore status changes on ports that we have released (revert part of r55851)

svn path=/trunk/; revision=55853
2012-02-25 06:23:12 +00:00
Cameron Gutman
266e31d825 [USBHUB]
- Fix reset event handling in cases where reset does not end up in a new device created
- My MacBook Pro completes USB initialization free of hangs now (usbstor disabled)

svn path=/trunk/; revision=55852
2012-02-25 05:46:19 +00:00
Cameron Gutman
c14c8d7ef4 [USBHUB]
- Handle errors returned from the HCD correctly
[USBEHCI]
- Discard any changes on ports that were given to the companion controller

svn path=/trunk/; revision=55851
2012-02-25 04:45:30 +00:00
Cameron Gutman
7991e67594 [USBEHCI]
- More EHCI reset fixes and general code cleanup

svn path=/trunk/; revision=55850
2012-02-25 04:27:39 +00:00
Johannes Anderwald
7d6c0c114c [USBEHCI]
- Fix reset port sequence #2
- Clear unwanted bits
- Fix wait time as in spec
- Wait max 500ms for the reset bit to clear, otherwise restart the reset sequence
- Check if work item is currently queued

svn path=/trunk/; revision=55849
2012-02-25 03:28:17 +00:00
Cameron Gutman
b4d2570c4b [USBOHCI]
- Implement per-port power control

svn path=/trunk/; revision=55848
2012-02-25 02:20:15 +00:00
Johannes Anderwald
494fa29ffa [USBCCGP]
- Formatting, no code changes

svn path=/trunk/; revision=55847
2012-02-25 00:35:40 +00:00
Cameron Gutman
e188a743cb [INF]
- Fix the Live CD regression (RBuild only - The irony is not lost on me) caused by r55555
- There is another regression that still prevents booting though 

svn path=/trunk/; revision=55846
2012-02-25 00:34:48 +00:00
Cameron Gutman
0e05873866 [USBOHCI]
- Fix a broken assertion and print out the alignment mask and HCCA pointer

svn path=/trunk/; revision=55845
2012-02-24 23:14:19 +00:00
Cameron Gutman
17b865ebc2 [USBOHCI]
- Fix various initialization bugs

svn path=/trunk/; revision=55844
2012-02-24 23:05:22 +00:00
Johannes Anderwald
d9f4f1b411 [USBUHCI]
- Invert data toggle

svn path=/trunk/; revision=55843
2012-02-24 17:58:55 +00:00
Giannis Adamopoulos
419f51fd4c [win32k]
-remove unrelated and unused information from the WINSTATION_OBJECT

svn path=/trunk/; revision=55842
2012-02-24 15:32:13 +00:00
Giannis Adamopoulos
5bd20ac181 [win32k]
- Properly create the WindowStations directory in NtUserInitialize. Now we take into account the fact that if we are not in session 0, it should be created in \Sessions direcory
- Clean up IntParseDesktopPath and make it use the correct WindowStations 
- Add some comments and cleanup
- Remove the unused IntGetFullWindowStationName, IntGetWindowStationObject and IntGetWinStaObj

svn path=/trunk/; revision=55841
2012-02-24 15:22:11 +00:00
Stefan Ginsberg
f1d41e1808 [NTOSKRNL]
- Remove nasty hack to make Windows PCI driver load. This may not be required after the fixes that were committed after this hack. If it is still necessary then please fix whatever issue makes the PCI driver crash instead of relying on a return from bugcheck call to work...

[DDK]
- Mark KeBugCheckEx as noreturn again. Should fix Prefast issues where it thought execution could return from the call and would warn about false issues.

svn path=/trunk/; revision=55840
2012-02-24 13:51:52 +00:00
Art Yerkes
b10383d1ff [NEWCC]
Integrate september's speed improvements, which now work.
Remove the flush hack when unpinning cache segments.

svn path=/trunk/; revision=55839
2012-02-24 11:33:23 +00:00
Daniel Reimer
e81ed04aa0 Update for rapps
svn path=/trunk/; revision=55838
2012-02-24 10:33:06 +00:00
Art Yerkes
3e19b0bab3 [NEWCC]
Update used page table entry counts when mapping pages in cache sections.

svn path=/trunk/; revision=55837
2012-02-24 10:05:06 +00:00
Cameron Gutman
34136e69cf [USBOHCI]
- Try to fix some real hardware OHCI initialization hangs

svn path=/trunk/; revision=55836
2012-02-24 07:26:43 +00:00
Dmitry Gorbachev
6ebf8c2537 [FREELDR][NTOSKRNL]
Update linker scripts.

svn path=/trunk/; revision=55835
2012-02-23 18:59:24 +00:00
Stefan Ginsberg
cd616fb1b2 [CMAKE]
- Specify C4700 (uninitialized variable usage) to cause an error on compile as this is very likely to result in broken code.
[NTDLL]
- Disable ASSERT in LdrpSearchPath that could be reading an uninitialized variable. The routine is not fully implemented so this should likely be re-enabled once it is.
[BROWSEUI]
- Add missing call to BuildRebarBandInfo, or we would end up with an unitialized variable sent to SendMessage.
[PCIX]
- Fix broken ASSERT
- Fix usage of wrong (and uninitialized) variable in the Unicode case for PciGetDescriptionMessage.
[DDK]
- Prepend "_" to local variable of NdisChainBufferAtBack. Fixes code in ndisuio that called this using the same name as the macro's variable (which resulted in NdisChainBufferAtBack assigning the variable to itself).
[WIN32K]
- Fix WinPosShowIconTitle that checked if a variable was NULL before assigning it to anything.

svn path=/trunk/; revision=55834
2012-02-23 13:06:11 +00:00
Amine Khaldi
e14f67f95d [NEWCC]
A reintegration checkpoint for the NewCC branch, brought to you by Team NewCC.

Differences with current ReactOS trunk:

* A new memory area type, MEMORY_AREA_CACHE, is added, which represents a mapped region of a file. In NEWCC mode, user sections are MEMORY_AREA_CACHE type as well, and obey new semantics. In non-NEWCC mode, they aren't used.
* A way of claiming a page entry for a specific thread's work is added. Placing the special SWAPENTRY value MM_WAIT_ENTRY in a page table, or in a section page table should indicate that memory management code is intended to wait for another thread to make some status change before checking the state of the page entry again. In code that uses this convention, a return value of STATUS_SUCCESS + 1 is used to indicate that the caller should use the MiWaitForPageEvent macro to wait until somebody has change the state of a wait entry before checking again. This is a lighter weight mechanism than PAGEOPs.
* A way of asking the caller to perform some blocking operation without locks held is provided. This replaces some spaghettified code in which locks are repeatedly taken and broken by code that performs various blocking operations. Using this mechanism, it is possible to do a small amount of non-blocking work, fill in a request, then return STATUS_MORE_PROCESSING_REQUIRED to request that locks be dropped and the blocking operation be carried out. A MM_REQUIRED_RESOURCES structure is provided to consumers of this contract to use to accumulate state across many blocking operations. Several functions wrapping blocking operations are provided in ntoskrnl/cache/reqtools.c.
* Image section pages are no longer direct mapped. This is done to simplify consolidation of ownership of pages under the data section system. At a later time, it may be possible to make data pages directly available to image sections for the same file. This is likely the only direct performance impact this code makes on non-NEWCC mode.

RMAPs:

* A new type of RMAP entry is introduced, distinguished by RMAP_IS_SEGMENT(Address) of the rmap entry. This kind of entry contains a pointer to a section page table node in the Process pointer, which in turn links back to the MM_SECTION_SEGMENT it belongs to. Therefore, a page belonging only to a segment (that is, a segment page that isn't mapped) can exist and be evicted using the normal page eviction mechanism in balance.c. Each of the rmap function has been modified to deal with segment rmaps.
* The low 8 bits of the Address field in a segment rmap denote the entry number in the generic table node pointed to by Process that points to the page the rmap belongs to. By combining them, you can determine the file offset the page belongs to.
* In NEWCC mode, MmSharePageEntry/UnsharePageEntry are not used, and instead the page reference count is used to keep track of the number of mappings of a page, allowing the last reference expiring to allow the page to be recycled without much intervention. These are still used in non-NEWCC mode. One change has been made, the count fields have been narrowed by 1 bit to make room for a dirty bit in SSE entries, needed when a page is present but unmapped.

Section page tables:

* The section page tables are now implemented using RtlGenericTables. This enables a fairly compact representation of section page tables without having the existence of a section object imply 4k of fake PDEs. In addition, each node in the generic table has a wide file offset that is a multiple of 256 pages, or 1 megabyte total. Besides needing wide file offsets, the only other visible change caused by the switch to generic tables for section page tables is the need to lock the section segment before interacting with the section page table.

Eviction:

* Page eviction in cache sections is accomplished by MmpPageOutPhysicalAddress. In the case of a shared page, it tries to remove all mappings of the indicated page. If this process fails at any point, the page will simply be drawn back into the target address spaces. After succeeding at this, if TRUE has been accumulated into the page's dirty bit in the section page table, it is written back, and then permanently removed.

NewCC mode:

* NEWCC mode is introduced, which rewrites the file cache to a set of cache stripes actively mapped, along with unmapped section data.
* NewCC is more authentic in its interpretation of the external interface to the windows cache than the current cache manager, implementing each of the cache manager functions according to the documented interface with no preconceived ideas about how anything should be implemented internally. Cache stripes are implemented on top of section objects, using the same memory manager paths, and therefore economizing code and complexity. This replaces a rather complicated system in which pages can be owned by the cache manager and the memory manager simultaneously and they must cooperate in a fairly sophisticated way to manage them. Since they're quite interdependent in the current code, modifying either is very difficult. In NEWCC, they have a clear division of labor and thus can be worked on independently.
* Several third party filesystems that use the kernel Cc interface work properly using NEWCC, including matt wu's ext3 driver.
* In contrast with code that tries to make CcInitializeCacheMap and CcUninitializeCacheMap into a pair that supports reference counting, NEWCC lazily initializes the shared and private cache maps as needed and uses the presence of a PrivateCacheMap on at least one file pointing to the SharedCacheMap as an indication that the FILE_OBJECT reference in the SharedCacheMap should still be held. When the last PrivateCacheMap is discarded, that's the appropriate time to tear down caching for a specific file, as the SharedCacheMap data is allowed to be saved and reused. We honor this by making the SharedCacheMap into a depot for keeping track of the PrivateCacheMap objects associated with views of a file.

svn path=/trunk/; revision=55833
2012-02-23 12:03:06 +00:00
Cameron Gutman
8cf1d52f96 [USBUHCI]
- Delay for the correct amount of time when performing a global reset and a port reset
- Loosen the loop timings a bit to allow for more time for real hardware to complete start/stop/reset
- Clear only the change bits that were set and handle both bits in the either case
- Perform a synchronous callback when the reset completes

svn path=/trunk/; revision=55832
2012-02-23 05:27:24 +00:00
Johannes Anderwald
62517e4042 [USBUHCI]
- Remove left-over assert
- Remove dead code
- Enable port after reset

svn path=/trunk/; revision=55831
2012-02-23 05:07:07 +00:00
Johannes Anderwald
36bbd6f1a1 [USBUHCI]
- Fix initialization bugs in real hardware

svn path=/trunk/; revision=55830
2012-02-23 03:22:57 +00:00
Johannes Anderwald
03ac0279e8 [HIDCLASS] [USBUHCI]
- Silence traces

svn path=/trunk/; revision=55829
2012-02-23 01:51:55 +00:00
Johannes Anderwald
3d22956ff8 [USBUHCI]
- OHCI -> UHCI
- Implement timer routine which checks for new detected devices. In case a port change is detected, the sce callback routine is invoked

svn path=/trunk/; revision=55828
2012-02-23 01:27:19 +00:00
Cameron Gutman
a982c0c4c9 [NTOSKRNL]
- Reenable and fix the correct reset code
[HIDCLASS]
- Disable removal of PDOs due to IRP cancellation issues
[USBEHCI][USBOHCI][USBUHCI]
- Disable removal of FDOs due to reinitialization issues

svn path=/trunk/; revision=55827
2012-02-23 01:23:30 +00:00
Cameron Gutman
8afc22a95d [NTOSKRNL]
- Fix device node flag corruption

svn path=/trunk/; revision=55826
2012-02-23 00:41:50 +00:00
Johannes Anderwald
fc053ddc31 [USBCCGP]
- Print interface details when dumping the function descriptor
- Fix bug USBCCG_AppendInterfaceNumber, which is not yet used

svn path=/trunk/; revision=55825
2012-02-23 00:37:41 +00:00
Johannes Anderwald
5f9384fd6f [HIDPARSE]
- Fix several wrong translated scan codes

svn path=/trunk/; revision=55824
2012-02-23 00:35:46 +00:00
Johannes Anderwald
488d2d353b [HIDCLASS]
- Silence traces
- Signal event when last pending transfer is done
- Reject new transfers when stop is in progress

svn path=/trunk/; revision=55823
2012-02-23 00:34:36 +00:00
Cameron Gutman
e8ad1a668c [USBUHCI]
- Add rbuild file and enable build

svn path=/trunk/; revision=55821
2012-02-22 23:35:11 +00:00
Johannes Anderwald
4b02150831 [USBUHCI]
- Silence traces
- Implement abort pipe
- Implement support for interrupt transfers

svn path=/trunk/; revision=55820
2012-02-22 23:24:53 +00:00
Cameron Gutman
86ebeb35cc [NTOSKRNL]
- Add back the reset hack of doom to circumvent broken removal code in just about every driver

svn path=/trunk/; revision=55819
2012-02-22 23:08:52 +00:00
Johannes Anderwald
eadaa2c3de [USBCCGP]
- Fix retrieving string descriptors

svn path=/trunk/; revision=55818
2012-02-22 21:26:36 +00:00
Sylvain Petreolle
17f35a7781 [MEDIA/INF]
Fix line endings.

svn path=/trunk/; revision=55817
2012-02-22 21:25:47 +00:00
Stefan Ginsberg
7d0b41713a Missed this one...
svn path=/trunk/; revision=55816
2012-02-22 21:22:13 +00:00
Stefan Ginsberg
4cb002ee80 [NTOSKRNL]
Some misc fixes to make kernel compile warning-free with /W3. Also fix a bug that completely broke the ProcessWx86Information case for NtQueryInformationProcess by missing to reference/dereference and acquiring the specified process' EPROCESS.

svn path=/trunk/; revision=55815
2012-02-22 21:18:56 +00:00
Thomas Faber
26a8d7fa89 [USER32_WINETEST]
- Do not depend on argument evaluation order and thus uninitialized values. Sent and applied upstream. Dedicated to Stefan

svn path=/trunk/; revision=55814
2012-02-22 21:12:59 +00:00
Stefan Ginsberg
0761804e03 Some misc fixes to Prefast.
[DDK]
- ndis.h Don't use local variables with the same name as function parameters.
[PSDK]
- access.idl Remove incorrect annotation
- usbioctl.h Not really a Prefast issue, but switch to use ANYSIZE_ARRAY like we do everywhere else.
- winddi.h EngQueryDeviceAttribute's 6th parameter is IN, not OUT
- winefs.h Fix FileEncryptionStatus to use annotations. Its definition in winbase.h already has them and this caused a conflict.
[WINE]
- debug.h Remove unnecessary check (in ReactOS) that made Prefast sad.
- test.h Disable a false-positive C28182.

svn path=/trunk/; revision=55813
2012-02-22 20:58:20 +00:00
Johannes Anderwald
946cac440c [USBEHCI] [USBOHCI] [USBUHCI]
- Fix retrieving configuration index for real
- Thanks to Thomas Faber

svn path=/trunk/; revision=55812
2012-02-22 19:25:54 +00:00
Johannes Anderwald
eb1402eb83 [USBOHCI] [USBEHCI] [USBUHCI]
- Don't assume iConfiguration value of configuration descriptor is zero based aligned
- Fixes bugcheck in VmWare

svn path=/trunk/; revision=55811
2012-02-22 18:57:49 +00:00
Johannes Anderwald
4877f634cc [USBUHCI]
- Detect the size of the configuration descriptor before obtaining the full configuration descriptor
- Fix integer overflow in BuildTransferDescriptorChain

svn path=/trunk/; revision=55810
2012-02-22 18:34:39 +00:00
Johannes Anderwald
6528183f15 [USBUHCI]
- Queue dpc when the interrupt indicates completion of a transfer or an error interrupt
- Implement checking if a queue head is complete
- Free queue heads and associated endpoint descriptors

svn path=/trunk/; revision=55809
2012-02-22 17:24:43 +00:00
Stefan Ginsberg
e9cca27577 [DDK]
- Fix a whole fat bunch of Prefast warnings by making the IoCsqxxx declarations in csq.h match the ones in wdm.h.

svn path=/trunk/; revision=55808
2012-02-22 17:00:06 +00:00
Sylvain Petreolle
d97f0de65f [CABMAN]
Enable debug in order to figure the testbot problems.

svn path=/trunk/; revision=55807
2012-02-22 15:30:48 +00:00
Johannes Anderwald
a0375291e4 [USBUHCI]
- Write the configure bit
- Clear connection change and port suspend bit when set after controller initialization
- Queue work item after the reset port is complete
- Disable port before reseting it
- Wait time for reset is 50ms, not 25ms
- Clear reset change bit when clearing reset feature
- Implement enabling port feature


svn path=/trunk/; revision=55806
2012-02-22 14:11:23 +00:00
Thomas Faber
6d5fb45681 [RTL]
- Fix use of uninitialized variables in failure case of RtlSetCurrentDirectory_U. CID 15339, 15340
- Handles should be NULL, not 0

svn path=/trunk/; revision=55805
2012-02-22 12:02:59 +00:00
Thomas Faber
2541f45e51 [SMSS2]
- Fix an uninitialized variable usage, CID 15345
- Fix an incorrect sizeof usage, CID 15317

svn path=/trunk/; revision=55804
2012-02-22 11:31:04 +00:00
Thomas Faber
0348878822 [SMSS2]
- When deleting an old page file, take the newly freed space into account
- Keep at least 64 MB of disk free instead of 32 so that 2nd stage can succeed with a small disk
- Miscellaneous fixes and simplifications in the page file code

svn path=/trunk/; revision=55803
2012-02-22 09:07:03 +00:00
Alex Ionescu
af5c7e9398 [KERNEL32]: Rewrite the File Change Notification APIs since they were pretty much wrong (not surprising as we don't implement the functionality in the kernel/filesystems).
[KERNEL32]: Enable support for asynchronous I/O callbacks with SxS/Fusion activation context support. Right now only added to the file Change notification APIs, but ReadFileEx and WriteFileEx should use them too.

svn path=/trunk/; revision=55801
2012-02-21 23:27:45 +00:00
Jérôme Gardou
cf3fb86313 [CRT]
- fix array size to match what implementation expects.
Found by Thomas Faber. See issue 6903 for details.

svn path=/trunk/; revision=55800
2012-02-21 23:19:47 +00:00
Johannes Anderwald
b517b30866 [USBUHCI]
- Sync shared parts with usbohci driver
- Fixes memory bug, includes data toggle support, device cleanup etc...

svn path=/trunk/; revision=55799
2012-02-21 23:18:46 +00:00
Giannis Adamopoulos
d52969aa28 [win32k]
- Properly destroy the THREADINFO if we fail to create it. We don't leak the THREADINFO no in case of failure. It should also fix random assertion failure when running user32:desktop tests

svn path=/trunk/; revision=55798
2012-02-21 23:07:30 +00:00
Jérôme Gardou
2c48227400 [CRT]
- C standard for free says "if pointer is NULL, no action is taken".
 - MSDN for HeapFree says "if pointer is NULL, behavior is undefined".
Thanks to Thomas for teaching wine guys how to read.

svn path=/trunk/; revision=55797
2012-02-21 22:08:24 +00:00
Jérôme Gardou
def6dd986d revert r55794, the problem is elsewhere
svn path=/trunk/; revision=55796
2012-02-21 21:58:42 +00:00
Alex Ionescu
7c480c24b8 [KERNEL32]: Lock/UnlockFile APIs should not allow console handles. Also remove superflous parameter check.
[KERNEL32]: Lock/UnlockFile APIs should handle STATUS_PENDING/ERROR_IO_PENDING situations instead of always assuming the Nt functions return synchronously.
[KERNEL32]: Other stylying changes + commenting/annotations.

svn path=/trunk/; revision=55795
2012-02-21 21:38:08 +00:00
Jérôme Gardou
1c15cfffb4 [CRT]
- Check for NULL before freeing

svn path=/trunk/; revision=55794
2012-02-21 21:36:01 +00:00
Alex Ionescu
d363c616d6 [KERNEL32]: Format, comment, annotate, cleanup the I/O completion APIs.
svn path=/trunk/; revision=55793
2012-02-21 21:31:01 +00:00
Cameron Gutman
b43c3d21c0 [USBOHCI]
- Fix indication of USB_PORT_STATUS_RESET changes
- Fixes premature completion of resets causing assertions to fail

svn path=/trunk/; revision=55792
2012-02-21 20:32:48 +00:00
Alex Ionescu
0bbab987c0 [KERNEL32]: Use macro for CreateMailSlotA->CreateMailSlotW.
svn path=/trunk/; revision=55791
2012-02-21 19:19:44 +00:00
Alex Ionescu
8c1ab63ced [KERNEL32]: CreateHardLinkW was not setting last error on failure.
[KERNEL32]: Cleanup/format/comment/annotate CreateHardLink*.

svn path=/trunk/; revision=55790
2012-02-21 19:18:57 +00:00
Johannes Anderwald
49103eac64 [USBUHCI]
- UHCI has 2 ports

svn path=/trunk/; revision=55789
2012-02-21 18:53:04 +00:00
Johannes Anderwald
1511120650 [USBUHCI]
- Implement starting the controller

svn path=/trunk/; revision=55788
2012-02-21 18:33:37 +00:00
Amine Khaldi
6c70734db8 * Fix wallpaper names in reactos.dff.
svn path=/branches/ros-branch-0_3_14/; revision=55444
2012-02-05 22:33:16 +00:00
Rafal Harabien
ac08c3201c - Update dff to include new wallpapers
svn path=/branches/ros-branch-0_3_14/; revision=55443
2012-02-05 21:19:26 +00:00
Amine Khaldi
b5d2889fe6 * Merge r55430 from trunk.
svn path=/branches/ros-branch-0_3_14/; revision=55436
2012-02-05 17:50:42 +00:00
Amine Khaldi
842eead3d3 * Merge r55432 from trunk.
svn path=/branches/ros-branch-0_3_14/; revision=55435
2012-02-05 17:27:26 +00:00
Amine Khaldi
34f85f1924 * Properly set the default wallpaper for both bootcd and livecd. Missed this file in the previous commit.
svn path=/branches/ros-branch-0_3_14/; revision=55434
2012-02-05 17:26:22 +00:00
Rafal Harabien
eb0a5bb375 - Update Start Menu bitmaps to contain a proper version number instead of "0.4 - SVN"
svn path=/branches/ros-branch-0_3_14/; revision=55428
2012-02-05 14:27:44 +00:00
Amine Khaldi
5e27501533 * Adjust wallpapers names and convert them to bmp.
* Properly set the default wallpaper for both bootcd and livecd.

svn path=/branches/ros-branch-0_3_14/; revision=55427
2012-02-05 14:12:32 +00:00
Ziliang Guo
84efd2dcf8 Merge in r55173 as per Amine's request. Also apply Cameron's patch that attempts to hack around the memory manager bug.
svn path=/branches/ros-branch-0_3_14/; revision=55388
2012-02-03 03:51:58 +00:00
Ziliang Guo
0392d3b913 Initial pass at adding wallpapers.
svn path=/branches/ros-branch-0_3_14/; revision=55371
2012-02-02 01:30:25 +00:00
Ziliang Guo
551ad41c6e Merge r55012 adding Wine3D control panel as per Amine's request.
svn path=/branches/ros-branch-0_3_14/; revision=55363
2012-02-01 04:58:00 +00:00
Ziliang Guo
483bd4cbff Really update the release version this time.
svn path=/branches/ros-branch-0_3_14/; revision=55344
2012-01-31 01:41:32 +00:00
Ziliang Guo
29bb3f9591 Change version string to release header for rbuild. Next time we release, do this in the cmake file.
svn path=/branches/ros-branch-0_3_14/; revision=55331
2012-01-30 18:23:14 +00:00
Amine Khaldi
60eea2d779 * Branch for the 0.3.14 release.
svn path=/branches/ros-branch-0_3_14/; revision=55011
2012-01-19 15:13:24 +00:00
Colin Finck
2ad47f0104 - Change the root "readme.txt" file to have a CLT2011 text.
- Add all CD options to "welcome.exe", modify its code a bit to support this.

This is all stuff which has already been done last year, see r46065.

svn path=/branches/ros-branch-0_3_13-clt2011/; revision=51078
2011-03-16 23:19:36 +00:00
Colin Finck
77565b18aa Import my Hybrid-CD stuff from last year.
Hopefully the kernel hack is not required anymore..

svn path=/branches/ros-branch-0_3_13-clt2011/; revision=51077
2011-03-16 22:34:40 +00:00
Colin Finck
93e878aefe Add the CLT2011 wallpaper (2/2)
svn path=/branches/ros-branch-0_3_13-clt2011/; revision=51076
2011-03-16 22:14:40 +00:00
Colin Finck
86ee618d32 Add the CLT2011 wallpaper (1/2)
svn path=/branches/ros-branch-0_3_13-clt2011/; revision=51075
2011-03-16 22:12:30 +00:00
Colin Finck
bca2d0d658 Change version to 0.3.13-CLT2011
svn path=/branches/ros-branch-0_3_13-clt2011/; revision=51074
2011-03-16 21:33:38 +00:00
Colin Finck
03dc76ef23 Merge 51053, 51069
svn path=/branches/ros-branch-0_3_13/; revision=51070
2011-03-16 16:57:58 +00:00
Colin Finck
43903288f4 Merge r51067
svn path=/branches/ros-branch-0_3_13/; revision=51068
2011-03-16 16:17:03 +00:00
Colin Finck
bdd21d454d Hackfix for Far 1.65.
Although the file manager didn't become fully usable with this patch, it works better than without and the patch doesn't seem to have negative side effects.

See issue #5503 for more details.

svn path=/branches/ros-branch-0_3_13/; revision=51066
2011-03-16 15:09:31 +00:00
Colin Finck
d4028b14b9 Merge 51058, 51062-51063
svn path=/branches/ros-branch-0_3_13/; revision=51064
2011-03-16 14:08:30 +00:00
Colin Finck
f7404c57db Merge r51046-r51048
svn path=/branches/ros-branch-0_3_13/; revision=51049
2011-03-14 14:58:36 +00:00
Colin Finck
867a0ff468 Merge r51043 and r51044
svn path=/branches/ros-branch-0_3_13/; revision=51045
2011-03-13 22:10:29 +00:00
Colin Finck
03c991f93b Revert r51031
[13:43]	<smiley1_>	fuck
[13:44]	<smiley1_>	INVALID_KERNEL_HANDLE ?!?
[13:45]	<smiley1_>	Caemyr: after my latest commit 5 tests end with this bugcheck

svn path=/branches/ros-branch-0_3_13/; revision=51040
2011-03-13 18:05:43 +00:00
Colin Finck
9cccfb8a2d Get rid of the "old boot method" entries.
In contrast to my previous commit, this should indeed be merged to Trunk, but please don't forget to get rid of the corresponding FreeLDR code as well then.

svn path=/branches/ros-branch-0_3_13/; revision=51038
2011-03-13 17:54:42 +00:00
Colin Finck
d2eb058174 - Change the version to 0.3.13
- Set "Angelus_02_ROSWP.bmp" as the default wallpaper
- Add a shortcut to RApps to the Desktop
- Change the boot logo to update the copyright year. Done with GIMP this time as it was one of the few tools to create proper 4-bit RLE files.
  This logo shall not be merged back to Trunk, because Aleksey wants to have another bitmap ready by the next release.

svn path=/branches/ros-branch-0_3_13/; revision=51037
2011-03-13 17:49:31 +00:00
Colin Finck
7223cdea1f Scale down the wallpaper to 800x600. For some reason, scaling down the image through the "Stretch" option of the Desktop doesn't seem to work.
svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46087
2010-03-11 00:01:33 +00:00
Colin Finck
68a571a5eb Use a different wallpaper for CLT2010 (2/2)
svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46082
2010-03-10 22:42:35 +00:00
Colin Finck
90d4bdb342 Use a different wallpaper for CLT2010 (1/2)
svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46081
2010-03-10 22:39:41 +00:00
Colin Finck
fa76f34fd4 Merge 45535 (the big RosBE 1.5 compatibility patch)
This branch HAS to be built with the current RosBE version now.

svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46070
2010-03-10 19:45:47 +00:00
Colin Finck
b5b864a3c6 Combine the Step1/Step2 creation of the Hybrid-CD. Extra stuff can be added to the directory "hybridcd_extras" now.
svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46066
2010-03-10 18:17:50 +00:00
Colin Finck
17cecb05e3 Update the root "readme.txt" of the CD and the "welcome.exe" app to show more options.
This is also stuff, which was mostly done by Andrew Greenwood for FOSDEM last year. I just changed it for our needs.

svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46065
2010-03-10 17:46:49 +00:00
Colin Finck
fc77cd5e6c - Add a script for creating a Hybrid-CD (combined Boot-CD & Live-CD).
Kudos for this go to Andrew Greenwood, I just scripted his way of creating the disc.
- Combining them also requires changing the Live-CD directory in the kernel to "live", which renders regular Live-CDs created in this tree unbootable.

svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46059
2010-03-10 16:05:55 +00:00
Colin Finck
3344531228 Merge 45730 (rapps link fix)
svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46057
2010-03-10 14:33:36 +00:00
Colin Finck
5c260d2745 Backport the new boot and shutdown screen and slightly modify it for extra awesomeness! :-)
This includes:
- Merging 45269,45270,45614,45618,45619,45822,45966.
- Hardcoding NtProductWinNt instead of NtProductServer as the product type. I didn't merge the new code for this as I'm not sure about its dependencies.
- Changing 1.bmp and 6.bmp for CLT2010.

svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46055
2010-03-10 14:25:05 +00:00
Colin Finck
ccd44d9ac4 Change the copyright year as well.
svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46032
2010-03-09 13:42:12 +00:00
Colin Finck
37c48ca11e Change version to 0.3.11-CLT2010
svn path=/branches/ros-branch-0_3_11-clt2010/; revision=46031
2010-03-09 13:27:53 +00:00
Colin Finck
ed469a00af Merge r44552
svn path=/branches/ros-branch-0_3_11/; revision=44553
2009-12-12 17:15:19 +00:00
Colin Finck
f2c93ea2b8 Here comes ReactOS "FOR WORKGROUPS" 0.3.11! :-)
svn path=/branches/ros-branch-0_3_11/; revision=44531
2009-12-10 23:19:12 +00:00
Colin Finck
1b51adc031 Revert to the old boot method for the release on request of Aleksey
svn path=/branches/ros-branch-0_3_11/; revision=44367
2009-12-02 20:02:07 +00:00
Aleksey Bragin
5911400ccc - Merge 44348 and 44349 to 0.3.11 branch.
svn path=/branches/ros-branch-0_3_11/; revision=44350
2009-12-01 21:36:23 +00:00
Aleksey Bragin
68d04648a4 - Merge 44301 (network revert).
svn path=/branches/ros-branch-0_3_11/; revision=44336
2009-11-30 21:52:07 +00:00
Colin Finck
0b321cfcbf Revert 43921 on demand of Aleksey
svn path=/branches/ros-branch-0_3_11/; revision=44316
2009-11-28 22:54:47 +00:00
Colin Finck
0127705606 Dmitry Gorbachev:
- Replace our Japanese "Systema" font added for releases by "Droid Sans Fallback" from the Android project.
  This font is licensed under Apache 2.0 license (notice included) and also offers us Chinese and Korean characters.

  You have to copy "DroidSansFallback.ttf" from http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts to "modules/optional".

svn path=/branches/ros-branch-0_3_11/; revision=44305
2009-11-28 15:04:15 +00:00
Colin Finck
79c56c5d7b Hack: Add the APPDATA variable to the environment created by userenv as it was done for previous releases.
svn path=/branches/ros-branch-0_3_11/; revision=44300
2009-11-28 00:29:52 +00:00
Colin Finck
9123974a75 Hack: Hackfix the HitTest problem in mstsc as it was done for previous releases
svn path=/branches/ros-branch-0_3_11/; revision=44299
2009-11-28 00:17:11 +00:00
Colin Finck
583c59f82e - Change the version to 0.3.11
- Set "Angelus_02_ROSWP.bmp" as the default wallpaper
- Add a shortcut to RApps to the Desktop

svn path=/branches/ros-branch-0_3_11/; revision=44298
2009-11-28 00:14:56 +00:00
21323 changed files with 454981 additions and 1810593 deletions

228
CMakeLists.txt Normal file
View File

@@ -0,0 +1,228 @@
cmake_minimum_required(VERSION 2.6)
if(POLICY CMP0017)
# Shadow cmake provided modules
cmake_policy(SET CMP0017 OLD)
endif()
project(REACTOS)
# Versioning
include(include/reactos/version.cmake)
# Don't escape preprocessor definition values added via add_definitions
cmake_policy(SET CMP0005 OLD)
cmake_policy(SET CMP0002 NEW)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
set(CMAKE_SHARED_LIBRARY_PREFIX "")
set(CMAKE_SKIP_PREPROCESSED_SOURCE_RULES TRUE)
set(CMAKE_SKIP_ASSEMBLY_SOURCE_RULES TRUE)
set(CMAKE_COLOR_MAKEFILE OFF)
#set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)
if(NOT ARCH)
set(ARCH i386)
endif()
string(TOLOWER ${ARCH} ARCH)
# Compile options
if(ARCH MATCHES i386)
include(cmake/config.cmake)
elseif(ARCH MATCHES amd64)
include(cmake/config-amd64.cmake)
elseif(ARCH MATCHES arm)
include(cmake/config-arm.cmake)
endif()
# Compiler flags handling
include(cmake/compilerflags.cmake)
add_definitions(-D__REACTOS__ -D__ROS_CMAKE__)
if(NOT CMAKE_CROSSCOMPILING)
add_definitions(-DTARGET_${ARCH})
if(MSVC)
if(ARCH MATCHES i386)
add_definitions(/DWIN32 /D_WINDOWS)
endif()
add_definitions(/Dinline=__inline)
else()
add_compile_flags("-fshort-wchar")
endif()
include_directories(include/host)
add_subdirectory(tools)
add_subdirectory(lib)
if(NOT MSVC)
export(TARGETS widl wrc gendib cabman cdmake mkhive obj2bin spec2def geninc rsym mkshelllink FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
else()
export(TARGETS gendib cabman cdmake mkhive obj2bin spec2def geninc mkshelllink FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
endif()
else()
# adjust the default behaviour of the FIND_XXX() commands:
# search headers and libraries in the target environment, search
# programs in the host environment
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER)
#useful stuff!
include(CMakeParseArguments)
if(ENABLE_CCACHE)
set(CMAKE_C_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
endif()
# Do some cleanup
file(REMOVE
${REACTOS_BINARY_DIR}/dependencies.graphml
${REACTOS_BINARY_DIR}/boot/ros_livecd.txt
${REACTOS_BINARY_DIR}/boot/ros_livecd_target.txt
${REACTOS_BINARY_DIR}/boot/ros_minicd.txt
${REACTOS_BINARY_DIR}/boot/ros_minicd_target.txt
${REACTOS_BINARY_DIR}/boot/ros_cab.txt
${REACTOS_BINARY_DIR}/boot/ros_cab_target.txt)
if(NOT DEFINED REACTOS_BUILD_TOOLS_DIR)
set(REACTOS_BUILD_TOOLS_DIR ${REACTOS_SOURCE_DIR}/build)
endif()
set(IMPORT_EXECUTABLES "${REACTOS_BUILD_TOOLS_DIR}/ImportExecutables.cmake" CACHE FILEPATH "Host executables")
include(${IMPORT_EXECUTABLES})
if(DBG)
add_definitions(-DDBG=1 -D_SEH_ENABLE_TRACE)
endif()
if(KDBG)
add_definitions(-DKDBG=1)
endif()
if(_WINKD_)
add_definitions(-D_WINKD_=1)
endif()
# Version Options
add_definitions(-DWINVER=0x502
-D_WIN32_IE=0x600
-D_WIN32_WINNT=0x502
-D_WIN32_WINDOWS=0x502
-D_SETUPAPI_VER=0x502)
# Arch Options
if(ARCH MATCHES i386)
add_definitions(-D_M_IX86 -D_X86_ -D__i386__)
elseif(ARCH MATCHES amd64)
add_definitions(-D_M_AMD64 -D_AMD64_ -D__x86_64__ -D_WIN64)
elseif(ARCH MATCHES arm)
# _M_ARM is already defined by toolchain
add_definitions(-D_ARM_ -D__arm__)
endif()
# Other
if(ARCH MATCHES i386)
add_definitions(-DUSE_COMPILER_EXCEPTIONS -D_USE_32BIT_TIME_T)
elseif(ARCH MATCHES amd64)
add_definitions(-DUSE_COMPILER_EXCEPTIONS -DNO_UNDERSCORE_PREFIX)
elseif(ARCH MATCHES arm)
add_definitions(-DUSE_COMPILER_EXCEPTIONS)
endif()
# Activate support for assembly source files
enable_language(ASM)
# Activate language support for resource files
enable_language(RC)
# Compiler specific definitions and macros
if(MSVC)
include(cmake/msvc.cmake)
else()
include(cmake/gcc.cmake)
endif()
# Generic macros
include(cmake/CMakeMacros.cmake)
# IDL macros for widl/midl
include(cmake/idl-support.cmake)
if(MSVC AND USE_WDK_HEADERS)
include_directories(
include
$ENV{SDK_INC_PATH}
include/dxsdk
${REACTOS_BINARY_DIR}/include
${REACTOS_BINARY_DIR}/include/dxsdk
${REACTOS_BINARY_DIR}/include/psdk
${REACTOS_BINARY_DIR}/include/reactos
$ENV{CRT_INC_PATH}
$ENV{DDK_INC_PATH}
include/ndk
include/reactos
include/reactos/libs)
else()
include_directories(
include
include/psdk
include/dxsdk
${REACTOS_BINARY_DIR}/include
${REACTOS_BINARY_DIR}/include/dxsdk
${REACTOS_BINARY_DIR}/include/psdk
${REACTOS_BINARY_DIR}/include/reactos
include/crt
include/ddk
include/ndk
include/reactos
include/reactos/libs)
endif()
if(ARCH MATCHES arm)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/arm)
endif()
if(MSVC)
include_directories(include/crt/msc)
else()
include_directories(include/crt/mingw32)
endif()
add_dependency_header()
add_subdirectory(include/psdk)
add_subdirectory(include/dxsdk)
add_subdirectory(include/reactos/wine)
add_subdirectory(include/reactos/mc)
add_subdirectory(include/asm)
include(cmake/baseaddress.cmake)
#begin with boot so reactos_cab target is defined before all other modules
add_subdirectory(boot)
add_subdirectory(base)
add_subdirectory(dll)
add_subdirectory(drivers)
add_subdirectory(hal)
add_subdirectory(lib)
add_subdirectory(media)
add_subdirectory(modules)
add_subdirectory(ntoskrnl)
add_subdirectory(subsystems)
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/include/reactos)
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/importlibs)
add_dependency_footer()
endif()

View File

@@ -0,0 +1,26 @@
// UTF-8
#pragma code_page(65001)
#include "lang/bg-BG.rc"
#include "lang/ca-ES.rc"
#include "lang/cs-CZ.rc"
#include "lang/da-DA.rc"
#include "lang/de-DE.rc"
#include "lang/el-GR.rc"
#include "lang/en-US.rc"
#include "lang/es-ES.rc"
#include "lang/fr-FR.rc"
#include "lang/id-ID.rc"
#include "lang/it-IT.rc"
#include "lang/ja-JP.rc"
#include "lang/ko-KR.rc"
#include "lang/nl-NL.rc"
#include "lang/no-NO.rc"
#include "lang/pl-PL.rc"
#include "lang/pt-BR.rc"
#include "lang/ro-RO.rc"
#include "lang/ru-RU.rc"
#include "lang/sk-SK.rc"
#include "lang/sv-SE.rc"
#include "lang/uk-UA.rc"
#include "lang/zh-CN.rc"
#include "lang/zh-TW.rc"

View File

@@ -0,0 +1,733 @@
//Недовършен
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 163
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Изчислителят на РеактОС"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "",IDC_STATIC,5,14,141,20
CONTROL "Шстн",IDC_RADIO_HEX,"Button",BS_AUTORADIOBUTTON,8,21,30,10
CONTROL "Дстн",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,41,21,30,10
CONTROL "Осм",IDC_RADIO_OCT,"Button",BS_AUTORADIOBUTTON,74,21,30,10
CONTROL "Двоич",IDC_RADIO_BIN,"Button",BS_AUTORADIOBUTTON,107,21,30,10
GROUPBOX "",IDC_STATIC,5,34,84,20
CONTROL "Обр",IDC_CHECK_INV,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,41,26,10
CONTROL "Хип",IDC_CHECK_HYP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,49,41,29,10
CTEXT "",IDC_TEXT_PARENT,93,38,18,16,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CTEXT "",IDC_TEXT_MEMORY,126,38,18,16,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "Стат",IDC_BUTTON_STA,5,60,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Сред",IDC_BUTTON_AVE,5,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Сбор",IDC_BUTTON_SUM,5,100,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s",IDC_BUTTON_S,5,120,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat",IDC_BUTTON_DAT,5,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E",IDC_BUTTON_FE,38,60,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Гмс",IDC_BUTTON_DMS,38,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "син",IDC_BUTTON_SIN,38,100,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "кос",IDC_BUTTON_COS,38,120,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "тан",IDC_BUTTON_TAN,38,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(",IDC_BUTTON_LEFTPAR,64,60,24,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "експ",IDC_BUTTON_EXP,64,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y",IDC_BUTTON_XeY,64,100,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2",IDC_BUTTON_Xe2,64,120,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3",IDC_BUTTON_Xe3,64,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")",IDC_BUTTON_RIGHTPAR,90,60,24,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln",IDC_BUTTON_LN,90,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log",IDC_BUTTON_LOG,90,100,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!",IDC_BUTTON_NF,90,120,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,90,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC",IDC_BUTTON_MC,123,60,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,123,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,123,100,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,123,120,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "пи",IDC_BUTTON_PI,123,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7",IDC_BUTTON_7,156,60,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,156,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,156,100,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,156,120,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A",IDC_BUTTON_A,156,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,182,60,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,182,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,182,100,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,182,120,24,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B",IDC_BUTTON_B,182,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,208,60,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,208,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,208,100,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,208,120,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C",IDC_BUTTON_C,208,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,234,60,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,234,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,234,100,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,234,120,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D",IDC_BUTTON_D,234,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Ост",IDC_BUTTON_MOD,260,60,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Или",IDC_BUTTON_OR,260,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ЛИзм",IDC_BUTTON_LSH,260,100,24,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,260,120,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E",IDC_BUTTON_E,260,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "И",IDC_BUTTON_AND,286,60,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ИИли",IDC_BUTTON_XOR,286,80,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Не",IDC_BUTTON_NOT,286,100,24,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Цлч",IDC_BUTTON_INT,286,120,24,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Дроб",IDC_BUTTON_F,286,140,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "",IDC_STATIC,147,14,163,20
CONTROL "Qword",IDC_RADIO_QWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,150,21,38,10
CONTROL "Dword",IDC_RADIO_DWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,190,21,38,10
CONTROL "Word",IDC_RADIO_WORD,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,230,21,38,10
CONTROL "Байт",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,270,21,38,10
CONTROL "Градуси",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,
150,21,45,10
CONTROL "Радиани",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,
204,21,45,10
CONTROL "Градове",IDC_RADIO_GRAD,"Button",BS_AUTORADIOBUTTON,
258,21,45,10
PUSHBUTTON "C",IDC_BUTTON_CANC,267,38,43,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,222,38,43,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Назад",IDC_BUTTON_BACK,177,38,43,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,5,1,305,14,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 169, 128
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Изчислителян на РеактОС"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "C",IDC_BUTTON_CANC,123,23,41,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,80,23,41,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Назад",IDC_BUTTON_BACK,36,23,42,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,5,1,159,14,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "7",IDC_BUTTON_7,36,45,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,36,65,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,36,85,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,36,105,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,62,45,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,62,65,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,62,85,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,62,105,24,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,88,45,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,88,65,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,88,85,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,88,105,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,114,45,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,114,65,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,114,85,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,114,105,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sqrt",IDC_BUTTON_SQRT,140,45,24,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%",IDC_BUTTON_PERCENT,140,65,24,18,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,140,85,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,140,105,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "",IDC_TEXT_MEMORY,8,24,18,16,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "MC",IDC_BUTTON_MC,5,45,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,5,65,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,5,85,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,5,105,24,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Изчислителят на РеактОС"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Convert",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,5,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Category:",IDC_STATIC,5,20,56,8
COMBOBOX IDC_COMBO_FROM,5,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Convert from:",IDC_STATIC,5,49,56,8
COMBOBOX IDC_COMBO_TO,5,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Convert to:",IDC_STATIC,5,76,56,8
CONTROL "C",IDC_BUTTON_CANC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,276,24,40,17
CONTROL "CE",IDC_BUTTON_CE,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,232,24,40,17
CONTROL "Back",IDC_BUTTON_BACK,"Button",BS_OWNERDRAW |
BS_CENTER | BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,24,
40,17
RTEXT "",IDC_TEXT_OUTPUT,5,1,312,14,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "7",IDC_BUTTON_7,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,48,24,18
CONTROL "4",IDC_BUTTON_4,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,67,24,18
CONTROL "1",IDC_BUTTON_1,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,86,24,18
CONTROL "0",IDC_BUTTON_0,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,105,24,18
CONTROL "8",IDC_BUTTON_8,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,48,24,18
CONTROL "5",IDC_BUTTON_5,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,67,24,18
CONTROL "2",IDC_BUTTON_2,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,86,24,18
CONTROL "+/-",IDC_BUTTON_SIGN,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,105,24,18
CONTROL "9",IDC_BUTTON_9,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,48,24,18
CONTROL "6",IDC_BUTTON_6,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,67,24,18
CONTROL "3",IDC_BUTTON_3,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,86,24,18
CONTROL ",",IDC_BUTTON_DOT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,105,24,18
CONTROL "/",IDC_BUTTON_DIV,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,48,24,18
CONTROL "*",IDC_BUTTON_MULT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,67,24,18
CONTROL "-",IDC_BUTTON_SUB,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,86,24,18
CONTROL "+",IDC_BUTTON_ADD,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,105,24,18
CONTROL "Sqrt",IDC_BUTTON_SQRT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,48,24,18
CONTROL "%",IDC_BUTTON_PERCENT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,67,24,18
CONTROL "1/x",IDC_BUTTON_RX,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,86,24,18
CONTROL "=",IDC_BUTTON_EQU,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,105,24,18
CTEXT "",IDC_TEXT_MEMORY,152,24,24,18,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "MC",IDC_BUTTON_MC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,48,24,18
CONTROL "MR",IDC_BUTTON_MR,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,67,24,18
CONTROL "MS",IDC_BUTTON_MS,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,86,24,18
CONTROL "M+",IDC_BUTTON_MP,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,105,24,18
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5,NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "За ReactOS Calc"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Добре",IDOK,105,148,52,16
CONTROL IDB_BITMAP_ROS,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,4,4,104,48
LTEXT "Изчислителят на РеактОС",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "Версия:",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "Написано от Carlo Bramini",IDC_STATIC,120,32,132,8,
SS_CENTERIMAGE
GROUPBOX "",IDC_STATIC,112,0,148,52
GROUPBOX "",IDC_STATIC,5,56,256,88
EDITTEXT IDC_EDIT_LICENSE,12,68,240,68,ES_MULTILINE | ES_READONLY |
WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Статистическа кутия"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX IDC_LIST_STAT,4,4,156,40,LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "RET",IDC_BUTTON_RET,4,48,36,16
PUSHBUTTON "LOAD",IDC_BUTTON_LOAD,44,48,36,16
PUSHBUTTON "CD",IDC_BUTTON_CD,84,48,36,16
PUSHBUTTON "CAD",IDC_BUTTON_CAD,124,48,36,16
CTEXT "n=0",IDC_TEXT_NITEMS,4,68,156,12,SS_CENTERIMAGE |
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
BEGIN
POPUP "&Обработка"
BEGIN
MENUITEM "Запомняне\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Поставяне\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Изглед"
BEGIN
MENUITEM "Обикновен", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Научен", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Преобразуване", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Шестнaдесетичен\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Десетичен\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Осмичен\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Двоичен\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Градуси\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Радиани\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Градове\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Разделяне на хилядите", IDM_VIEW_GROUP, CHECKED
END
POPUP "Помощ"
BEGIN
MENUITEM "Помощ", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "За ReactOS Calc", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "&Обработка"
BEGIN
MENUITEM "Запомняне\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Поставяне\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Изглед"
BEGIN
MENUITEM "Стандартно", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Научен", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Преобразуване", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Шестнaдесетичен\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Десетичен\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Осмичен\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Двоичен\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Чдума\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "Ддума\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "Дума\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Байт\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "Разделяне на хилядите", IDM_VIEW_GROUP, CHECKED
END
POPUP "Помощ"
BEGIN
MENUITEM "Помощ", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "За ReactOS Calc", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "&Обработка"
BEGIN
MENUITEM "Запомняне\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Поставяне\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Изглед"
BEGIN
MENUITEM "Стандартно", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Научен", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Преобразуване", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Разделяне на хилядите", IDM_VIEW_GROUP, CHECKED
END
POPUP "Помощ"
BEGIN
MENUITEM "Помощ", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "За ReactOS Calc", IDM_HELP_ABOUT
END
END
// String Tables
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc is free software released under GNU GPL license.\r\n\r\nYou can get a copy of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nYou can also get a translation of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Грешка"
IDS_QUICKHELP "Бърза помощ"
END
// types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "Ъгъл"
IDS_CONV_AREA "Площ"
IDS_CONV_CONSUMPTION "Потребление (двигатели)"
IDS_CONV_CURRENCY "Парични единици"
IDS_CONV_ENERGY "Енергия"
IDS_CONV_LENGTH "Дължини"
IDS_CONV_POWER "Мощност"
IDS_CONV_PRESSURE "Налягане"
IDS_CONV_TEMPERATURE "Температура"
IDS_CONV_TIME "Време"
IDS_CONV_VELOCITY "Скорост"
IDS_CONV_VOLUME "Обем"
IDS_CONV_WEIGHT "Тегло"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Градуси"
IDS_ANGLE_GRADIANS "Гради"
IDS_ANGLE_RADIANS "Радиани"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "Акри"
IDS_AREA_ACRES_BRAZIL "Акри (Бразилски)"
IDS_AREA_ACRES_FRANCE "Акри (Френски)"
IDS_AREA_ACRES_SCOTS "Акри (Шотландски)"
IDS_AREA_ACRES_US "Акри (САЩ)"
IDS_AREA_ARES "Арове"
IDS_AREA_CHOU "Chou"
IDS_AREA_DANBO "Danbo"
IDS_AREA_HECTARES "Хектари"
IDS_AREA_JEONGBO "Jeongbo"
IDS_AREA_MORGEN_HUNGARY "Morgen (Hungary)"
IDS_AREA_MU "Mu"
IDS_AREA_PING "Ping"
IDS_AREA_PYEONG "Pyeong"
IDS_AREA_PYEONGBANGJA "Pyeongbangja"
IDS_AREA_RAI "Rai"
IDS_AREA_SE "Se"
IDS_AREA_SQUARE_CENTIMETERS "Квадратни сантиметри"
IDS_AREA_SQUARE_CHR "Квадратни chr"
IDS_AREA_SQUARE_FATHOMS "Квадратни фадоми"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "Квадратни фадоми (унгарски)"
IDS_AREA_SQUARE_FEET "Квадратни стъпки"
IDS_AREA_SQUARE_INCHES "Квадратни цолове"
IDS_AREA_SQUARE_KILOMETERS "Квадратни километри"
IDS_AREA_SQUARE_LAR "Квадратни lar"
IDS_AREA_SQUARE_METER "Квадратни метри"
IDS_AREA_SQUARE_MILES "Квадратни мили"
IDS_AREA_SQUARE_MILLIMETERS "Квадратни милиметри"
IDS_AREA_SQUARE_SHAKU "Квадратни shaku"
IDS_AREA_SQUARE_TSUEN "Квадратни tsuen"
IDS_AREA_SQUARE_VA "Квадратни va"
IDS_AREA_SQUARE_YARD "Квадратни ярдове"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
// TYPES OF COMSUMPTIONS
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "Километри/литър"
IDS_CONSUMPTION_L_PER_100_KM "Литри/100 километра"
IDS_CONSUMPTION_MILES_GALLON_UK "Мили/галон (ОК)"
IDS_CONSUMPTION_MILES_GALLON_US "Мили/галон (САЩ)"
END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Austrian schilling"
IDS_CURRENCY_BELGIAN_FRANC "Belgian franc"
IDS_CURRENCY_CYPRIOT_POUND "Cypriot pound"
IDS_CURRENCY_CZECH_KORUNA "Чешка крона"
IDS_CURRENCY_DEUTSCHE_MARK "Deutsche Mark"
IDS_CURRENCY_DUTCH_GUILDER "Dutch guilder"
IDS_CURRENCY_EURO "Евро"
IDS_CURRENCY_FINNISH_MARKKA "Finnish markka"
IDS_CURRENCY_FRENCH_FRANC "French franc"
IDS_CURRENCY_GREEK_DRACHMA "Greek Drachma"
IDS_CURRENCY_IRISH_POUND "Irish pound"
IDS_CURRENCY_ITALIAN_LIRA "Italian lira"
IDS_CURRENCY_LUXEMBOURG_FRANC "Luxembourg franc"
IDS_CURRENCY_MALTESE_LIRA "Maltese lira"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portoguese escudo"
IDS_CURRENCY_SLOVAK_KORUNA "Slovak koruna"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovenian tolar"
IDS_CURRENCY_SPANISH_PESETA "Spanish peseta"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15-градусни калории"
IDS_ENERGY_BTUS "Британски термални единици"
IDS_ENERGY_ERGS "Ергове"
IDS_ENERGY_EVS "Електронволти"
IDS_ENERGY_FOOT_POUNDS "Foot-Pounds"
IDS_ENERGY_IT_CALORIES "Международни таблични калории"
IDS_ENERGY_IT_KILOCALORIES "Международни таблични килокалории"
IDS_ENERGY_JOULES "Джаули"
IDS_ENERGY_KILOJOULES "Килоджаули"
IDS_ENERGY_KILOWATT_HOURS "Киловатчасове"
IDS_ENERGY_NUTRITION_CALORIES "Хранителни калории"
IDS_ENERGY_TH_CALORIES "Топлинни калории"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Ангстрьоми"
IDS_LENGTH_ASTRONOMICAL_UNITS "Астрономическа единица"
IDS_LENGTH_BARLEYCORNS "Ечемичени зърна"
IDS_LENGTH_CENTIMETERS "Сантиметри"
IDS_LENGTH_CHAINS_UK "Вериги (ОК)"
IDS_LENGTH_CHI "Chi"
IDS_LENGTH_CHOU "Chou"
IDS_LENGTH_CHR "Chr"
IDS_LENGTH_CUN "Cun"
IDS_LENGTH_FATHOMS "Сажени"
IDS_LENGTH_FATHOMS_HUNGARY "Сажени (унгарски)"
IDS_LENGTH_FEET "Стъпки"
IDS_LENGTH_FURLONGS "Бразди"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Длани"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "Цолове"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Километри"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Светлинни години"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "Метри"
IDS_LENGTH_MICRONS "Микрометри"
IDS_LENGTH_MILES "Мили"
IDS_LENGTH_MILLIMETERS "Милиметри"
IDS_LENGTH_NAUTICAL_MILES "Морски мили"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_PARSECS "Парсеци"
IDS_LENGTH_PICAS "Дванадесетки (пики)"
IDS_LENGTH_RI_JAPAN "Ri (японски)"
IDS_LENGTH_RI_KOREA "Ri (корейски)"
IDS_LENGTH_RODS "Rods"
IDS_LENGTH_SAWK "Sawk"
IDS_LENGTH_SEN "Sen"
IDS_LENGTH_SHAKU "Shaku"
IDS_LENGTH_SPAN "Span"
IDS_LENGTH_SUN "Sun"
IDS_LENGTH_TSUEN "Tsuen"
IDS_LENGTH_VA "Va"
IDS_LENGTH_YARDS "Ярдове"
IDS_LENGTH_YOTE "Yote"
IDS_LENGTH_ZHANG "Zhang"
END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "British Thermal Units per minute"
IDS_POWER_FPS_PER_MINUTE "Foot-Pounds per minute"
IDS_POWER_HORSEPOWER "Конски сили"
IDS_POWER_KILOWATTS "Киловатове"
IDS_POWER_MEGAWATTS "Мегаватове"
IDS_POWER_WATTS "Ватове"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Атмосфери"
IDS_PRESSURE_BARS "Барове"
IDS_PRESSURE_HECTOPASCALS "Хектопаскали"
IDS_PRESSURE_KILOPASCALS "Килопаскали"
IDS_PRESSURE_MM_OF_MERCURY "Милиметри живачен стълб"
IDS_PRESSURE_PASCALS "Паскали"
IDS_PRESSURE_PSI "Паундове на квадратен цол"
END
// TYPES OF TEMPERATURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "Целзий"
IDS_TEMPERATURE_FAHRENHEIT "Фаренхайт"
IDS_TEMPERATURE_KELVIN "Келвин"
IDS_TEMPERATURE_RANKINE "Ранкин"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Дни"
IDS_TIME_HOURS "Часи"
IDS_TIME_NANOSECONDS "Nanoseconds"
IDS_TIME_MICROSECONDS "Микросекунди"
IDS_TIME_MILLISECONDS "Милисекунди"
IDS_TIME_MINUTES "Минути"
IDS_TIME_SECONDS "Секунди"
IDS_TIME_WEEKS "Седмици"
IDS_TIME_YEARS "Години"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Сантиметри/час"
IDS_VELOCITY_FEET_HOUR "Стъпки/час"
IDS_VELOCITY_FEET_SECOND "Стъпки/секунда"
IDS_VELOCITY_KILOMETERS_HOUR "Километри/час"
IDS_VELOCITY_KNOTS "Възли"
IDS_VELOCITY_MACH "Махове"
IDS_VELOCITY_METERS_SECOND "Метри/секунда"
IDS_VELOCITY_MILES_HOUR "Мили/час"
END
// TYPES OF VOLUMES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VOLUME_BARRELS_UK "Бъчви (барели) (ОК)"
IDS_VOLUME_BARRELS_OIL "Петролни бъчви"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "Бушели (ОК)"
IDS_VOLUME_BUSHELS_US "Бушели (САЩ)"
IDS_VOLUME_CUBIC_CENTIMETERS "Кубични сантиметри"
IDS_VOLUME_CUBIC_FEET "Кубични стъпки"
IDS_VOLUME_CUBIC_INCHES "Кубични цолове"
IDS_VOLUME_CUBIC_METERS "Кубични метри"
IDS_VOLUME_CUBIC_YARDS "Кубични ярдове"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "Течни унции (ОК)"
IDS_VOLUME_FLUID_OUNCES_US "Течни унции (САЩ)"
IDS_VOLUME_GALLONS_UK "Галони (UK)"
IDS_VOLUME_GALLONS_DRY_US "Галони, сухи (САЩ)"
IDS_VOLUME_GALLONS_LIQUID_US "Галони, течни (САЩ)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "Литри"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "Милиметри"
IDS_VOLUME_PINTS_UK "Пинти (ОК)"
IDS_VOLUME_PINTS_DRY_US "Пинти, сухи (САЩ)"
IDS_VOLUME_PINTS_LIQUID_US "Пинти, течни (САЩ)"
IDS_VOLUME_QUARTS_UK "Кварти (ОК)"
IDS_VOLUME_QUARTS_DRY_US "Кварти, сухи (САЩ)"
IDS_VOLUME_QUARTS_LIQUID_US "Кварти, течни (САЩ)"
IDS_VOLUME_SEKI "Seki"
IDS_VOLUME_SYOU "Syou"
IDS_VOLUME_TANANLOUNG "Tananloung"
IDS_VOLUME_TANG "Tang"
IDS_VOLUME_TO "To"
END
// TYPES OF WEIGHTS
STRINGTABLE DISCARDABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_CARATS "Карати"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "Grams"
IDS_WEIGHT_GWAN "Gwan"
IDS_WEIGHT_HARB "Harb"
IDS_WEIGHT_JIN_CHINA "Джинове (Китай)"
IDS_WEIGHT_JIN_TAIWAN "Джинове (Тайван)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_KILOGRAMS "Килограми"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (China)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Taiwan)"
IDS_WEIGHT_MONME "Monme"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "Унции, avoirdupois"
IDS_WEIGHT_OUNCES_TROY "Унции, трой"
IDS_WEIGHT_POUNDS "Фунтове"
IDS_WEIGHT_QUINTAL_METRIC "Центнери (метрични)"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "Камъни"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "Тонове"
IDS_WEIGHT_TONS_UK "Тонове (ОК)"
IDS_WEIGHT_TONS_US "Тонове (САЩ)"
END

View File

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Some files were not shown because too many files have changed in this diff Show More