Compare commits

..

6414 Commits

Author SHA1 Message Date
Stefan Ginsberg
1e84f2f723 - Implement ExEnterCriticalRegionAndAcquireResourceShared and ExEnterCriticalRegionAndAcquireSharedWaitForExclusive
- Add missing prototypes to the NDK

svn path=/branches/nwin32/; revision=36654
2008-10-05 12:21:55 +00:00
Stefan Ginsberg
bb1039c37a - Register all Win32 callouts/procedures (just stubs for now though)
svn path=/branches/nwin32/; revision=36640
2008-10-04 10:16:39 +00:00
Stefan Ginsberg
ce21e3dfcd - Preliminary work on win32k's internal headers
svn path=/branches/nwin32/; revision=36629
2008-10-02 19:39:28 +00:00
Stefan Ginsberg
d4da6b68f6 - Clean up ntuser.h and review all NtUser* prototypes. Fixed parameters and return types where I could, and added VERIFY tags for stuff needing more research. Untagged routines should now be compatible, or properly mark unknown fields as unknown instead of having ros-specific stuff there
- Move types into ntusrtyp.h
- Disable user32 code which used incompatible types/routines
- Remove PrivateCsrssManualGuiCheck and PrivateCsrssInitialized exports

svn path=/branches/nwin32/; revision=36628
2008-10-02 17:55:06 +00:00
Stefan Ginsberg
a1beed22ff - Remove ntgdibad.h
svn path=/branches/nwin32/; revision=36626
2008-10-02 13:42:49 +00:00
Stefan Ginsberg
b81720add3 - NtGdiInit is called from GdiDllInitialize but doesn't actually do anything -- reflect this in the stub
svn path=/branches/nwin32/; revision=36625
2008-10-02 13:41:41 +00:00
Stefan Ginsberg
b814aff84b - Add missing APIENTRY to ntgdi.h, syscalls are always stdcall.
- Update gdi32 after NtGdiDoPalette change
- Add parameters for NtGdiGetSpoolMessage

svn path=/branches/nwin32/; revision=36624
2008-10-02 13:33:51 +00:00
Stefan Ginsberg
e92190b229 - Fix the last ntgdi.h issue -- MS' ntgdi.h defines 2 NtGdiDoPalette argument types slightly wrong, so we must do so too. Add a note about this in the function as it is just a matter of cast
svn path=/branches/nwin32/; revision=36590
2008-09-29 13:16:17 +00:00
Stefan Ginsberg
2c6183779e - Sync Timo's float changes in winddi.h, ntgdityp.h and ntgdihdl.h to trunk
- Make ntgdi.h more compatible with MS' version -- Define POLYPATBLT and the spooler routines internally, and don't define NtGdiFlushUserBatch outside win32k (not a system call since 2K3)

svn path=/branches/nwin32/; revision=36589
2008-09-29 12:45:22 +00:00
Stefan Ginsberg
39acdd200f - Add missing PsGetThreadTeb
svn path=/branches/nwin32/; revision=36588
2008-09-29 12:05:59 +00:00
Stefan Ginsberg
e73749cba2 - Fix formatting
svn path=/branches/nwin32/; revision=36517
2008-09-25 18:21:20 +00:00
Stefan Ginsberg
6041cbddbc - Delete todo.c. It was a personal scratchpad which wasn't supposed to be committed
svn path=/branches/nwin32/; revision=36516
2008-09-25 18:17:08 +00:00
Stefan Ginsberg
67eb073277 - Implement EngSet/GetLastError
svn path=/branches/nwin32/; revision=36515
2008-09-25 18:15:35 +00:00
Stefan Ginsberg
d208555cc8 - EngCreateEvent: Don't allocate with zero tag
- EngAllocMem: Make sure we get a tag
- Misc cleanup

svn path=/branches/nwin32/; revision=36266
2008-09-16 11:57:24 +00:00
Stefan Ginsberg
eb3dfb8506 - Get gdi32 and user32 to compile again
- Update some system call prototypes and definitions

svn path=/branches/nwin32/; revision=35697
2008-08-27 14:22:38 +00:00
Stefan Ginsberg
d6dcf6c80f - Sync ntgdi.h to trunk, and add missing APIENTRY for a couple of functions
svn path=/branches/nwin32/; revision=35627
2008-08-25 14:04:24 +00:00
Stefan Ginsberg
801dc4bd0a - Put NtUser* stubs into separate files. Still a bit messy, but now there is some form of layout at least.
- Update some function prototypes which changed between XP and 2003

svn path=/branches/nwin32/; revision=35185
2008-08-08 15:42:17 +00:00
Stefan Ginsberg
00158633a4 - Put NtGdi* stubs in separate files.
svn path=/branches/nwin32/; revision=35160
2008-08-07 15:39:03 +00:00
Stefan Ginsberg
c138ef77cf - Move Direct Draw syscall stubs to /ntddraw/
- Make ros ntgdi.h more compatible with the official header (fix two prototypes)

svn path=/branches/nwin32/; revision=35148
2008-08-06 16:55:07 +00:00
Aleksey Bragin
09ff356c6e - Update with 3 more additional (only available in a checked build) syscalls.
svn path=/branches/nwin32/; revision=35031
2008-08-02 11:53:54 +00:00
Stefan Ginsberg
74e5217653 - Silence 600+ warnings by returning something in non-void functions
- Fix some NtUser* prototypes

svn path=/branches/nwin32/; revision=34927
2008-07-29 15:41:03 +00:00
Aleksey Bragin
38c5c13076 - Update syscall table to completely match win2003sp1.
- Add missing stubs.

svn path=/branches/nwin32/; revision=34898
2008-07-28 11:32:04 +00:00
Aleksey Bragin
9a923c7a7d - Implement NtGdiInit(), now loading goes further.
svn path=/branches/nwin32/; revision=34746
2008-07-24 14:37:56 +00:00
Aleksey Bragin
e4ec3e139a - Add Win32 callouts stubs and register them. Boot process now stops due inability to load winsrv.dll.
svn path=/branches/nwin32/; revision=34687
2008-07-22 18:00:23 +00:00
Aleksey Bragin
e21cdd1f5a - Split stubs.c to User and Gdi stubs.c
- Rework stubs into proper declaration stubs (but still without return values, so compilation results in lots of warnings).

svn path=/branches/nwin32/; revision=34686
2008-07-22 17:43:56 +00:00
Aleksey Bragin
17e5293775 - Stub all win32k syscalls, by Olaf Siejka.
svn path=/branches/nwin32/; revision=34684
2008-07-22 16:30:26 +00:00
Aleksey Bragin
a130dca50c - Implement a minimal DriverEntry (the first called function).
- Add a syscall table and register it.
- Further improve win32k.h to actually include all what's needed, and still compile with MSVC just fine (but using ReactOS's psk/ntgdi.h instead of MS's PSDK).
- Doesn't link since 660+ syscalls are not stubbed.
- Some fixes in the VC project file.

svn path=/branches/nwin32/; revision=34681
2008-07-22 11:42:33 +00:00
Aleksey Bragin
265c49bc71 - Merge 34679.
svn path=/branches/nwin32/; revision=34680
2008-07-22 11:26:59 +00:00
Aleksey Bragin
924d215050 - Merge 34676.
svn path=/branches/nwin32/; revision=34677
2008-07-22 10:39:45 +00:00
Aleksey Bragin
9b33d2d77b - Rewrite the header file to achieve better compatibility.
- Add project/solution for compiling with MSVC (it actually compiles and links), the project file is a tweaked rbuild-generated one.

svn path=/branches/nwin32/; revision=34648
2008-07-21 21:37:38 +00:00
Aleksey Bragin
4619502de1 - Commit totally stubbed win32k by Stefan Ginsberg.
svn path=/branches/nwin32/; revision=34646
2008-07-21 21:00:16 +00:00
Aleksey Bragin
09b3cdc303 - Clean unneeded files from win32k module.
svn path=/branches/nwin32/; revision=34645
2008-07-21 20:56:30 +00:00
Aleksey Bragin
ce8dafec6e - Cleanup the branch from unneeded components.
svn path=/branches/nwin32/; revision=34643
2008-07-21 19:45:05 +00:00
Aleksey Bragin
ae8b89458c - Create a place for some additional research work on Win32-subsystem.
svn path=/branches/nwin32/; revision=34639
2008-07-21 15:54:57 +00:00
Matthias Kupfer
3f38468f23 avoid flicker when registering components
svn path=/trunk/; revision=34638
2008-07-21 15:52:52 +00:00
Aleksey Bragin
e9973c3d3a - Pass thread's CreateTime in QSI SystemProcessInformation.
- Better implementation of QSI SystemInterruptInformation.
- Minor cleanup.

svn path=/trunk/; revision=34637
2008-07-21 12:45:12 +00:00
Timo Kreuzer
7ac61f4d05 use %p in sprintf instead of %x / cast to int
svn path=/trunk/; revision=34636
2008-07-21 12:15:36 +00:00
Aleksey Bragin
4e663a7c28 - Include a "System Idle Process" as the first item in QSI SystemProcessInformation.
svn path=/trunk/; revision=34635
2008-07-21 12:14:23 +00:00
Ged Murphy
ee13626507 - fix the length of the dependencies string
- spotted by bugboy <martinmnet at hotmail dot com>

svn path=/trunk/; revision=34634
2008-07-21 11:43:55 +00:00
Matthias Kupfer
9bd87564c8 add language group for japanese keyboard layout
svn path=/trunk/; revision=34633
2008-07-21 10:55:33 +00:00
Matthias Kupfer
c2e433cadf - enable japanese keyboard layout in 1st stage setup (but 2nd stage doesn't but yet)
- select Swiss keyboard layout for Liechtenstein as default

svn path=/trunk/; revision=34632
2008-07-21 10:44:18 +00:00
Aleksey Bragin
7a158b7f2d Yuriy Sidorov <jura@cp-lab.com>
- Invalid parameter error is returned if requested memory area is located above USER_SHARED_DATA address (0x7FFE0000) (WinXP compatible).
- Access violation error is returned if existing memory area found on requested address and this area have uninitialized region list.
See issue #3467 for more details.

svn path=/trunk/; revision=34630
2008-07-21 09:40:12 +00:00
Aleksey Bragin
d50cea53cd - Small DPRINT typo fix.
svn path=/trunk/; revision=34629
2008-07-21 09:36:02 +00:00
Aleksey Bragin
e52a7ae321 Yuriy Sidorov <jura@cp-lab.com>
- Call DbgBreakPoint() only for main thread. It fixes debugging of multithreaded apps.
- Prevent BSOD if ObReferenceObjectByHandle failed in NtGetContextThread and NtSetContextThread.
See issue #3535 for more details.

svn path=/trunk/; revision=34628
2008-07-21 09:22:28 +00:00
Aleksey Bragin
1b7106dee1 - Remove useless USE_W32API define from .rbuilds
- Fix compilation of a number of modules.
- Delete outdated fmifs.h, the one from ReactOS includes should be used instead.
- Move more libs to /lib directory.

svn path=/trunk/; revision=34627
2008-07-21 09:15:15 +00:00
Aleksey Bragin
32bd72afd4 - Fix wrong paths to some rosapps utils.
svn path=/trunk/; revision=34626
2008-07-21 09:11:30 +00:00
ReactOS Portable Systems Group
c4a2e2e22b - Implement RamdiskReadWrite.
- Implement RamdiskReadWriteReal.
- We now have a working copy loop for both read and write operations.
- Need to implement RamdiskMapPages and RamdiskUnmapPages -- then we'll nearly be done!


svn path=/trunk/; revision=34625
2008-07-21 06:35:39 +00:00
Art Yerkes
861184aa18 Patch by Cameron Gutman (aicommander <at> gmail <dot> com)
- Forgot to remove UnlockRequest in last patch

svn path=/trunk/; revision=34624
2008-07-21 05:44:10 +00:00
ReactOS Portable Systems Group
9a54151f86 - Fix ARM exports to make up for the recent i386 changes.
- Implement MmGetPageProtect. MDL Probe And Lock now works.
- We get to RamdiskReadWrite now!


svn path=/trunk/; revision=34623
2008-07-21 01:41:04 +00:00
ReactOS Portable Systems Group
63c51607f5 - Get rid of 3 days of work due to complaints from our legal guy.
svn path=/trunk/; revision=34622
2008-07-21 01:15:07 +00:00
ReactOS Portable Systems Group
f28f30eafa - Implement IOCTL_CDROM_GET_LAST_SESSION and IOCTL_CDROM_READ_TOC.
- The formet is a hack to support ReactOS' cdfs.


svn path=/trunk/; revision=34621
2008-07-21 01:12:17 +00:00
Timo Kreuzer
35b23ed1d4 rbuild files use tab indentation
svn path=/trunk/; revision=34620
2008-07-20 23:21:16 +00:00
Jeffrey Morlan
1ee0441036 Fix KeInsertQueueApc error checking
svn path=/trunk/; revision=34619
2008-07-20 23:00:18 +00:00
Jeffrey Morlan
ec2194d205 KiMoveApcState: Fix reversal of RepairList arguments. (Bug 1720)
svn path=/trunk/; revision=34618
2008-07-20 22:48:06 +00:00
ReactOS Portable Systems Group
c1937b5160 - Now it compiles.
- Add wdk_wnet_to_ros.diff to easily merge changes with any possible future WDK updates.

svn path=/trunk/; revision=34616
2008-07-20 19:56:09 +00:00
ReactOS Portable Systems Group
77a8db07f3 - Add new CDFS driver.
- Does not compile.


svn path=/trunk/; revision=34615
2008-07-20 19:52:30 +00:00
ReactOS Portable Systems Group
87f76ea54b - Our resident GCC expert just informed me of an undocumented "enable Microsoft Compiler Extensions" flag that makes things like unnnamed members work.
- Apply the switch and remove our workaround hack.


svn path=/trunk/; revision=34614
2008-07-20 19:39:55 +00:00
Jeffrey Morlan
f956615435 In ConioConsoleCtrlEvent, don't wait for the thread to terminate; a misbehaving handler could hang CSRSS indefinitely that way. Testing on Windows shows that no waiting is done when Ctrl-C is pressed; however, there is a wait of up to 5 seconds when attempting to close the window, so add a comment in GuiConsoleHandleClose mentioning this.
svn path=/trunk/; revision=34613
2008-07-20 19:34:18 +00:00
ReactOS Portable Systems Group
840143e28a - Fix the way NlsOemLeadByteInfo is exported.
- Fix definition of PFAST_IO_UNLOCK_ALL_BY_KEY.
- Add IO_REPARSE and IO_REMOUNT definitions.
- Add IOCTL_CDROM_DISK_TYPE definition.
- Add FlagOn, BooleanFlagOn, SetFlag and ClearFlag definitions.
- Add FILE_READ_ONLY_VOLUME, FILE_SEQUENTIAL_WRITE_ONCE, FILE_SUPPORTS_TRANSACTIONS definitions.
- Add FSRTL_FLAG_ADVANCED_HEADER definition.
- Add FSRTL_FLAG2_PURGE_WHEN_MAPPED and FSRTL_FLAG2_IS_PAGING_FILE definitions.
- Add FILE_ID_FULL_DIR_INFORMATION and FILE_ID_BOTH_DIR_INFORMATION structures.
- Add FSRTL_FCB_HEADER_V0 and FSRTL_FCB_HEADER_V1 definitions.
- Add FSRTL_COMPARISION_RESULT enumeration.
- Add backwards compatibility support for non-AVL tree routines.
- Add RtlInsertElementGenericTableAvl, RtlDeleteElementGenericTableAvl, RtlLookupElementGenericTableAvl, RtlEnumerateGenericTableWithoutSplayingAvl prototypes.
- Add FsRtlSetupAdvancedHeader macro.
- Add FsRtlIsFatDbcsLegal prototype.
- Add FsRtlTeardownPerStreamContexts prototype.
- Add RtlFreeOemString, RtlOemStringToCountedUnicodeString, RtlUnicodeStringToCountedOemString, RtlOemToUnicodeN prototypes.
- Fix GenericTable prototypes in rtlfuncs.h
- It seems the ntoskrnl_i386.def exports file is totally incorrect with respect to mingw -- most FsRtl functions are not properly exported. We fixed the ones we need, someone needs to go fix this entire file.
- Add memcmp to the NTOS exports -- we're not entirely sure how you were even expecting 3rd party drivers to load in React?
- Fix FastFat's "VfatFastIoUnlockAllByKey" prototype to match the fixed up PFAST_IO_UNLOCK_ALL_BY_KEY definition.
- Clean-build-tested on i386.


svn path=/trunk/; revision=34611
2008-07-20 19:19:02 +00:00
Matthias Kupfer
f3ddaf8067 mark the current keyboard layout as checked (in popup menu)
svn path=/trunk/; revision=34610
2008-07-20 19:08:35 +00:00
Jeffrey Morlan
d9c376b18d Fix memory leak in vfwprintf: Don't change 'mem' pointer before freeing it.
svn path=/trunk/; revision=34609
2008-07-20 16:48:24 +00:00
ReactOS Portable Systems Group
b1e617cc6f - Write out all the IOCTLs the RAM Disk emulation core needs to handle.
- Looks like the React CDFS driver behaves very differently from the NT CDFS driver.


svn path=/trunk/; revision=34608
2008-07-20 16:13:19 +00:00
Matthias Kupfer
ba074059a5 Mario Kacmar <kario AT szm DOT sk>
- Slovak translation of several inf-files
- See #3518 for more details.

svn path=/trunk/; revision=34607
2008-07-20 14:58:35 +00:00
Matthias Kupfer
54ca4c3d3b - again, one more fix of damaged inf files
- please take care when committing this utf-16 files

svn path=/trunk/; revision=34606
2008-07-20 14:52:15 +00:00
ReactOS Portable Systems Group
9da9409da6 - Unlike NT, it seems React has a bug and does not automatically load the boot FS driver regardless of start type.
svn path=/trunk/; revision=34605
2008-07-20 06:36:27 +00:00
ReactOS Portable Systems Group
7158e5bfa9 - Fix the parameters we were sending to IoCreateDevice for our drive FDO.
- Now the kernel attempts to mount us through CDFS!
- Start stubbing the work we'll need to do in RamdiskDeviceControl -- this is where the emulation magic will happen.

svn path=/trunk/; revision=34604
2008-07-20 06:32:23 +00:00
ReactOS Portable Systems Group
3a6f964385 - Ramdisk doesn't seem to work yet, we're not getting properly initialized yet.
- We end up crashing in CcRosTryToInitialzeFileCache because there is no SectionObjectPointer, and it is assumed this always exists.
- We need to verify if this is truly the case -- in either case, add an ASSERT, since all assumptions should be ASSERTed!

svn path=/trunk/; revision=34603
2008-07-20 04:40:27 +00:00
ReactOS Portable Systems Group
14ea158446 - Finish implementing RamdiskCreateDiskDevice -- we should now have a working ramdisk drive that should receive read/write requests.
svn path=/trunk/; revision=34602
2008-07-20 04:39:01 +00:00
ReactOS Portable Systems Group
54694096a1 - Looks like this FIXME was fixed.
svn path=/trunk/; revision=34601
2008-07-20 04:38:26 +00:00
Art Yerkes
5ba974a93f Patch by Cameron Gutman (aicommander <at> gmail <dot> com)
- Fixes some issues with releasing locks
- Verify that we have an MDL before trying to unlock it

svn path=/trunk/; revision=34600
2008-07-20 04:33:53 +00:00
Sylvain Petreolle
f2db1bc11f french translation for media/inf files
svn path=/trunk/; revision=34598
2008-07-20 00:44:09 +00:00
ReactOS Portable Systems Group
df5fe4469c - Fixup some more structure and prototype details to make more sense.
- Start building the drive FDO extension by capturing most of the input data and our strings.

svn path=/trunk/; revision=34597
2008-07-19 22:42:18 +00:00
ReactOS Portable Systems Group
1176b541f6 - Create the RAM Disk Drive Device Object.
- Create the name for it, based on the GUID sent by the kernel.
- Create the DOS Device Symbolic Link if requested and if possible.
- Create the DOS Drive Letter if requested.
- (drivers/storage/class/ramdisk/ramdisk.c:440) Creating symbolic link: \DosDevices\C: to \Device\Ramdisk{d9b257fc-684e-4dcb-79ab-f6a2cf0350b7}
- Need to continue implementing..


svn path=/trunk/; revision=34596
2008-07-19 22:21:38 +00:00
ReactOS Portable Systems Group
8ee4e020f8 - Implement the main RamdiskWorkerThread work loop.
- Now we have to implement RamdiskCreateDiskDevice for real.

svn path=/trunk/; revision=34594
2008-07-19 21:19:41 +00:00
ReactOS Portable Systems Group
71bada1343 - We break your build, you break ours...
svn path=/trunk/; revision=34593
2008-07-19 21:04:31 +00:00
ReactOS Portable Systems Group
5bcb1c6a0e - Usually a good idea to fill out the device relation count instead of leaving it uninitailized to 2 billion.
- Fixes all the ramdisk problems -- need to implement RamdiskWorkerThread now.

svn path=/trunk/; revision=34592
2008-07-19 20:57:31 +00:00
ReactOS Portable Systems Group
46eda1013c - No, it isn't "ramdisk" that's misbehaving, it's your code. PnP needs to handle BusRelations instead of ignoring them.
svn path=/trunk/; revision=34591
2008-07-19 20:55:49 +00:00
ReactOS Portable Systems Group
910b3242e7 - It doesn't make sense to dereference an I/O Work Item... did you perhaps mean to dereference the device object?
- Fixes a crash when IoInvalidateRelations is called, as well as a reference leak.


svn path=/trunk/; revision=34590
2008-07-19 20:52:52 +00:00
ReactOS Portable Systems Group
fd5bd1942d - Seperate the Ramdisk device extension into the Bus Device Extension and the Drive Device Extension.
- Rename the device types to Bus vs Drive, not FDO vs PDO (they're both FDOs).
- Use a common extension (the first 0x60 bytes or so) between Bus and Drive devices.
- Implement first pass of RamdiskCreateDiskDevice -- doesn't create anything, just validates the parameters.
- Implement our delayed work queue for handling requests asynchronously -- SendIrpToThread. Doesn't do anything for now.
- Implement RamdiskQueryDeviceRelations... not sure if we're doing the right thing. According to PnP, we get a warning that we are "misbehaving".
- Driver seems to crash right now, needs fixes.
- Some reformatting to make more lines fit inside 80 characters so it looks nice in joe.


svn path=/trunk/; revision=34589
2008-07-19 18:44:31 +00:00
Matthias Kupfer
aa4af5693a Display of ReactOS bitmap implemented.
svn path=/trunk/; revision=34588
2008-07-19 17:20:20 +00:00
Pierre Schweitzer
909b7f0308 Fixed i386 build
svn path=/trunk/; revision=34586
2008-07-19 08:04:47 +00:00
ReactOS Portable Systems Group
49de00587a - Implement DebugService2, but don't make it do anything yet.
- Add ATTEMPTED_SWITCH_FROM_DPC bugcheck code.


svn path=/trunk/; revision=34585
2008-07-19 06:53:36 +00:00
ReactOS Portable Systems Group
c0cde8777b - Enable interrupts after probing and capturing parameters during a system call.
- Enable WFI during idle loop.
- Implement undefined exception handler, and get rid of reserved exception code -- this will never happen except for an SoC bug.
- Request an APC interrupt if the new thread we context switched to has APCs pending and enabled.
- Perform DPC watchdog debugging code if a DPC lasted more than a second.
- Do the appropriate bugcheck if DPCs are active during a context switch.
- Go over the FIXMEs in the assembly files too, and create a new FIXME-PERF category.


svn path=/trunk/; revision=34584
2008-07-19 06:53:03 +00:00
ReactOS Portable Systems Group
b95845bf85 - Cleanup some stray header issues for ARM.
- Separate kernel FIXMEs into clearer groupings:
  - TODO FIXMEs are highest priority, as they are missing required functionality.
  - USER FIXMEs are the next highest priority, since they will be required for user mode support.
  - V6 FIXMEs and future groupings are lowest priority, since they relate to hardware support we don't care about for now.


svn path=/trunk/; revision=34583
2008-07-19 06:13:10 +00:00
James Tabor
7272eb9108 Move NUMC defines to FNIDs.
svn path=/trunk/; revision=34582
2008-07-19 03:49:48 +00:00
Timo Kreuzer
8bbca850f6 RtlpCreateCriticalSectionSem: use InterlockedCompareExchangePointer instead of InterlockedCompareExchange for a handle
svn path=/trunk/; revision=34581
2008-07-18 23:47:33 +00:00
Matthias Kupfer
8fddba3256 Mario Kacmar <kario AT szm DOT sk>
- Enhancement for basic Slovak keyboard layout added.
- See #1251 for more details.

svn path=/trunk/; revision=34580
2008-07-18 21:08:52 +00:00
Matthias Kupfer
98ecafb85f Mario Kacmar <kario AT szm DOT sk>
- Enhancement for Slovak keyboard layout (QWERTY) added.
- See #3528 for more details.

svn path=/trunk/; revision=34579
2008-07-18 21:05:40 +00:00
Matthias Kupfer
820054b030 Mario Kacmar <kario AT szm DOT sk>
- Slovak and Czech translation of several rc-files
- See #3519 for more details.

svn path=/trunk/; revision=34578
2008-07-18 20:58:09 +00:00
Klemens Friedl
50147b7f55 * update GUI interface, according to http://www.reactos.org/wiki/index.php/First_Stage_GUI_Setup
svn path=/trunk/; revision=34576
2008-07-18 19:35:03 +00:00
James Tabor
ce85b4a0f3 Update WinUser, CWPRETSTRUCT and MOUSEHOOKSTRUCTEX.
svn path=/trunk/; revision=34575
2008-07-18 18:09:12 +00:00
Art Yerkes
747d575347 Patch by Cameron Gutman (aicommander <at> gmail <dot> com)
- Reenable spinlocks in MiniIndicateData
- Don't raise IRQL when calling MiniDoRequest

svn path=/trunk/; revision=34574
2008-07-18 11:19:29 +00:00
Matthias Kupfer
11f2456fdf - gui template for 1st stage setup, english only
- implemented, but still disabled - it's work in progress

svn path=/trunk/; revision=34572
2008-07-18 09:07:54 +00:00
Stefan Ginsberg
90f3efacc5 - Patch from Samuel "encoded" Serapion (samdwise51 at gmail dot com)
- Use "size_t" instead of "unsigned int" where appropriate

svn path=/trunk/; revision=34570
2008-07-17 22:25:03 +00:00
Stefan Ginsberg
7c9bd27915 - Fix a typo in the DC_ATTR structure: mxDevicetoWorld -> mxDeviceToWorld
svn path=/trunk/; revision=34569
2008-07-17 21:54:40 +00:00
Jeffrey Morlan
b4db43fa7b Clean up console code a bit:
- Get/SetConsoleTitle: Get rid of unnecessary handle creation; instead, just have csrss get the console from the ProcessData.
- Instead of using ShowX/ShowY to store the origin of the buffer, use the VirtualX member that was put there for this purpose. Rename it to VirtualY, though, since it's a row number. ShowX/ShowY should hold the position of the visible window, once that's implemented.
- From the CSRSS_CONSOLE structure: remove hActiveBuffer (redundant), CodePageId (unused), and hWindowIcon (only used as a temporary)
- Make cursor coordinates be "logical", not "physical". This simplifies various things.
- ConioConsoleFromProcessData: If process has no console, return STATUS_INVALID_HANDLE; don't pretend to succeed (causing many functions to access memory around address 0, which is probably not a good thing). Remove various Console != NULL checks which are now unnecessary.

svn path=/trunk/; revision=34568
2008-07-17 21:53:39 +00:00
Art Yerkes
ecdd55845d Patch by Cameron Gutman (aicommander <at> gmail <dot> com)
- Don't mess with cancelled IRPs
- Don't attempt to cancel an already cancelled IRP
- Unmap MDL when then IRP gets completed

svn path=/trunk/; revision=34567
2008-07-17 19:42:26 +00:00
Jeffrey Morlan
846c750785 Fix argument parsing for label command. It should not split the arguments by spaces; on Windows you can do 'label c:x y z' and it will set the label to X Y Z. (Bug 3530 #2)
svn path=/trunk/; revision=34566
2008-07-17 16:46:09 +00:00
Stefan Ginsberg
c7ed95cb55 - Patch by Cameron Gutman aicommander <at> gmail <dot> com
- Don't release the device spinlock twice if KeSynchronizeExecution returns false
See issue #3520 for more details.

svn path=/trunk/; revision=34564
2008-07-17 14:43:36 +00:00
Stefan Ginsberg
03c3603a3d -PCHify OpenGL32
svn path=/trunk/; revision=34562
2008-07-17 11:37:49 +00:00
Christoph von Wittich
30feb7b285 fix for getaddrinfo
patch by Yuri Sidorov <jura at cp-lab dot com>

svn path=/trunk/; revision=34560
2008-07-17 08:07:37 +00:00
Jeffrey Morlan
c1e4ff95a4 - CsrReleaseObject: Fix locking to prevent possibility of closing the same handle twice.
- GuiConsolePaint: Clip the paint area to the screen buffer, to stop heap corruption if the window gets oversized.
- ConioDeleteConsole: Do decrement the active screen buffer's refcount, but only after calling ConioCleanupConsole to destroy the window.
- Remove Win32CsrInsertObject. This function did two unrelated things (initialize lock and create handle), but in the only place it was used (CsrCreateScreenBuffer) the lock had already been initialized in CsrInitConsoleScreenBuffer, so this use was erroneous.
- Rename Win32CsrInsertObject2 (creates handle only) to Win32CsrInsertObject.

svn path=/trunk/; revision=34559
2008-07-16 23:16:40 +00:00
Colin Finck
f776a00eeb Commit my test suite I used for verifying the behaviours of wctomb, wcstombs and WideCharToMultiByte and writing the reimplementations for ReactOS on request of Stefan
svn path=/trunk/; revision=34558
2008-07-16 22:08:58 +00:00
Colin Finck
248d39652c - Remove 2 wrong versions of wctomb and 2 wrong versions of wcstombs
- Implement new versions of wctomb and wcstombs, which consider the language set by setlocale() and work according to all behaviours I could find when testing under WinXP SP2.
  This was tested with an own test suite (which I can commit as well if anyone is interested)
- Do a real conversion to MultiByte characters using wctomb in fputwc and vfwprintf. (verified under WinXP SP2)
- Set 'MSVCRT___lc_codepage' and 'MSVCRT___lc_collate_cp' to 1252 by default ("C" locale) and not the current active codepage (which might not work with i.e. Eastern codepages)
- Add a new check for 'MultiByteCount < 0' to WideCharToMultiByte (also verified under WinXP SP2)
- Change MB_LEN_MAX back to 2, the value 5 only applies to newer CRT's (msvcrt only handles single-byte and double-byte characters)
- Don't compile the Wine-imported 'wcscpy_s', it isn't available in msvcrt

svn path=/trunk/; revision=34557
2008-07-16 21:40:09 +00:00
Matthias Kupfer
d37dc48ec3 add new Slovak keyboard layout to first stage setup list
svn path=/trunk/; revision=34556
2008-07-16 21:21:21 +00:00
Timo Kreuzer
ea50e3e05c FLOATOBJ is a structure only on x86 in kernelmode, for usermode drivers and other architectures it's a FLOAT. Update winddi.h accordingly.
svn path=/trunk/; revision=34555
2008-07-16 21:12:27 +00:00
Timo Kreuzer
a5e5e742fd Patch by Stefan Ginsberg:
- remove XFORM members from DC structure and use MATRIX instead. Use MatrixS2XForm and XForm2MatrixS for intermediate conversion.
- this is a temporary solution (still using fpu) until I'm finished with FLOATOBJ rewrite + XFOROMOBJ api (soon)

svn path=/trunk/; revision=34554
2008-07-16 20:16:30 +00:00
Timo Kreuzer
a8f3f89717 DC_AllocDc:
- Set DC's iGraphicsMode to GM_COMPATIBLE when creating a DC
NtGdiRectangle:
- only exclude bottom/right pixels if dc is GM_COMPATIBLE
- fix indentation

svn path=/trunk/; revision=34553
2008-07-16 19:48:19 +00:00
Timo Kreuzer
4a5e93fab1 Add MATRIX accelerator flag MX_SCALE and set it in XForm2MatrixS, when off-diagonal elements are zero.
svn path=/trunk/; revision=34552
2008-07-16 18:57:23 +00:00
James Tabor
816777c79a - Fix CurrentWnd when it has a NULL, see Bug 3527.
svn path=/trunk/; revision=34550
2008-07-16 16:12:44 +00:00
Aleksey Bragin
2557cd7a1e Dmitry Gorbachev
- Fix a problem in VgaIsPresent: Content of the Address Register goes to the Data Register, and vice versa. It also writes content of the Map Select Register (which is number 4) into the Bit Mask Register (number 8).
See issue #2125 for more details.

svn path=/trunk/; revision=34549
2008-07-16 16:02:32 +00:00
Colin Finck
4cacee7617 Fix build, broken in r34546
Reminder: Never apply patches twice (and test the latest changes before committing) :-)

svn path=/trunk/; revision=34547
2008-07-16 14:33:47 +00:00
Matthias Kupfer
4ea00fafbc Mario Kacmar <kario AT szm DOT sk>
- Slovak keyboard layout (QWERTY) added.
- See #3528 for more details.

svn path=/trunk/; revision=34546
2008-07-16 13:41:23 +00:00
Ged Murphy
5744130b55 - Implement freeaddrinfo and getaddrinfo.
- Implement bare boned getprotobyname and getprotobynumber.
- Make winsock functions return proper error codes instead of success (will help to identify any probs with network apps)
- patch by Yuri Sidorov <jura at cp-lab dot com>

For future reference, freeaddrinfo and getaddrinfo should really call GetAddrInfoW and FreeAddrInfoW which should do the work, but our umode network layers are a mess anyway and by no means XP compatible
See issue #3523 for more details.

svn path=/trunk/; revision=34545
2008-07-16 12:49:15 +00:00
James Tabor
1ef680846a Fix build.
svn path=/trunk/; revision=34542
2008-07-16 02:07:55 +00:00
James Tabor
900b6e2e6a Sorry for commit my test tree,,,, good for testing Bug 2451.
svn path=/trunk/; revision=34541
2008-07-16 02:06:05 +00:00
James Tabor
702a9bb706 make does like tabs, right? Fix build.
svn path=/trunk/; revision=34540
2008-07-16 01:22:26 +00:00
Jeffrey Morlan
44e8888c47 Increment a console's initial screen buffer's reference count *after* calling CsrInitConsoleScreenBuffer (which sets the reference count to 0). Fixes bug 3524.
svn path=/trunk/; revision=34539
2008-07-16 00:24:54 +00:00
Matthias Kupfer
0f5230d382 Mario Kacmar <kario AT szm DOT sk>
- Slovak translation of several inf-files
- See #3518 for more details.

svn path=/trunk/; revision=34537
2008-07-15 22:29:42 +00:00
Colin Finck
a9fabb5fd5 Revert r34533 (except the nice indentation in the Makefile) for unbreaking trunk.
This change is also not compatible with current cleaning scripts in RosBE and on the Buildslaves (which only delete "makefile.auto"), leading to possibly unclean builds if the generated makefile wouldn't be deleted.
The ultimate goal would be putting the generated makefiles into the intermediate directories, so we also save one cleaning step.

svn path=/trunk/; revision=34536
2008-07-15 22:04:16 +00:00
Pierre Schweitzer
7d8bcb4fd9 Fixed typos spotted by "jeanmichel" <jeanmichel.123@free.fr>
See issue #618 for more details.

svn path=/trunk/; revision=34535
2008-07-15 21:05:20 +00:00
Hervé Poussineau
d1a689916c Rename makefile.auto to makefile-$(ARCH).auto
svn path=/trunk/; revision=34533
2008-07-15 20:42:08 +00:00
Ged Murphy
01824511d8 - Delete the service key along with any subkeys
- Delete the service from the internal list
- patch by Yuri Sidorov <jura at cp-lab dot com>

See issue #3523 for more details.

svn path=/trunk/; revision=34532
2008-07-15 20:41:35 +00:00
Colin Finck
2916a0bda2 Fix the mess created by SVN's inability to handle with UTF-16 files.
Remove the svn:eol-style property and set svn:mime-type to application/octet-stream, so that these files aren't modified by SVN.

svn path=/trunk/; revision=34531
2008-07-15 20:11:26 +00:00
Matthias Kupfer
10ca3b514c - Revert inf back to LF, because of damaged line endings on checkout with CRLF (under linux).
- Take care on further change, change only if you are absolutely sure, that all clients can handle it correctly!

svn path=/trunk/; revision=34530
2008-07-15 19:43:28 +00:00
Colin Finck
0c37df4fff Set svn:eol-style CRLF for all *.inf files.
These are copied without any further processing, so they should always have a CRLF line-ending.

svn path=/trunk/; revision=34529
2008-07-15 17:54:28 +00:00
Aleksey Bragin
a7d600b8b8 - Save pointer to driver's section in DriverSection during driver loading.
- Fix unloading function to check if a driver to be unloaded really has DriverSection set, and if not, fail.
- Inspired by bug 3221.
See issue #3221 for more details.

svn path=/trunk/; revision=34526
2008-07-15 14:24:47 +00:00
Aleksey Bragin
81c0fbc19f Yuriy Sidorov <jura@cp-lab.com>
- Fix BSOD in NtUserWaitForInputIdle because KeWaitForMultipleObjects expects actual pointers to objects, not handles.
- Fix failure branches to have UserLeave and/or object dereference where needed.
See issue #3522 for more details.

svn path=/trunk/; revision=34525
2008-07-15 14:00:37 +00:00
Aleksey Bragin
fa443b5f5b Dmitry Gorbachev
- Include greek translation into shutdown's rsrc.rc.
See issue #3487 for more details.

svn path=/trunk/; revision=34523
2008-07-15 13:48:43 +00:00
Aleksey Bragin
69bc3c08df Dmitry Gorbachev
- Don't leak critical region when going through failure return branch.
See issue #3517 for more details.

svn path=/trunk/; revision=34522
2008-07-15 13:44:14 +00:00
Aleksey Bragin
39f888f2b3 Yuriy Sidorov <jura@cp-lab.com>
- Speed-up user mode exception handling by calling RtlDispatchException() first if there is no active user mode debugger. This avoids switches to kernel mode if exception can be handled by SEH.
See issue #3485 for more details.

svn path=/trunk/; revision=34521
2008-07-15 13:32:18 +00:00
Aleksey Bragin
f8f3b78fce Stefan Ginsberg <stefan__100__@hotmail.com>
- Remove a hack in the executive handle implementation, which worked around a memory corruption bug. Revision 32770 should have fixed the bug hidden by this hack.
See issue #3512 for more details.

svn path=/trunk/; revision=34520
2008-07-15 13:20:38 +00:00
Matthias Kupfer
439d1715c8 Maciej Bialas <bjauy AT tlen DOT pl>
- Updated polish version of dll/cpl/usrmgr
- See issue #3480 for more details.

svn path=/trunk/; revision=34516
2008-07-15 08:21:27 +00:00
Matthias Kupfer
c4c2d12ac8 Mario Kacmar <kario AT szm DOT sk>
- Slovak translation of several inf-files
- See #3518 for more details.

svn path=/trunk/; revision=34515
2008-07-15 08:10:44 +00:00
Timo Kreuzer
1c8355690a IntRectangle:
- use coordinate transformation
- if transform is not diagonal, call IntGdiPolygon
IntRectangle/IntGdiPolygon:
- use special locking order to avoid lockups
- don't unlock objects that weren't locked
IntGdiPie:
- if transform is cheese, call IntGdiCheeseCake

svn path=/trunk/; revision=34514
2008-07-15 02:06:38 +00:00
Matthias Kupfer
bed178cdf7 - Fixes country codes.
- See issue #3488 for more details.

svn path=/trunk/; revision=34513
2008-07-14 22:55:37 +00:00
Matthias Kupfer
5af61d07aa - fix some wrong country codes
- fix minor typo in German translation

svn path=/trunk/; revision=34511
2008-07-14 22:41:54 +00:00
Aleksey Bragin
0a109d92ea - Remove special ReactOS-specific PUSHORT GDT pointer (usual PKGDTENTRY works good enough now), spotted by Stefan Ginsberg.
svn path=/trunk/; revision=34508
2008-07-14 21:24:13 +00:00
Jeffrey Morlan
c4a306e3f7 When duplicating a handle to a child process, only pass the actual attributes to ObpIncrementHandleCount. Spurious attributes from the object pointer were making this call fail randomly.
svn path=/trunk/; revision=34507
2008-07-14 17:42:22 +00:00
Matthias Kupfer
a84f8fec2c - change svn:eol-style to LF for compatibility
- fix a problem in cpu.inf

svn path=/trunk/; revision=34506
2008-07-14 16:30:18 +00:00
Colin Finck
2951bb310c Replace uses of $(ROS_ARCH) by $(ARCH).
$(ROS_ARCH) will only work if an environment variable with the same name is set. But its value and the default value (if none was given) is stored in $(ARCH).

svn path=/trunk/; revision=34505
2008-07-14 13:06:52 +00:00
Colin Finck
f400d4255f Attempt to fix Live-CD
svn path=/trunk/; revision=34504
2008-07-14 12:50:39 +00:00
Matthias Kupfer
e37473874f Mario Kacmar <kario AT szm DOT sk>
- Slovak translation patch for cpu.inf and cdrom.inf
- See #3518 for more details.

svn path=/trunk/; revision=34503
2008-07-14 10:23:39 +00:00
Daniel Reimer
ef31815a6a Bug 3505: Simplified Chinese Translation Patch by Zhangbing. I skipped Wordpad, because we sync this with Wine and skipped appwiz, because it fails to build.
svn path=/trunk/; revision=34501
2008-07-14 09:26:38 +00:00
James Tabor
0d418ab140 Fix boot and leave the code for research.
svn path=/trunk/; revision=34499
2008-07-14 07:39:58 +00:00
James Tabor
c66063fbaa Added WH_GETMESSAGE support.
svn path=/trunk/; revision=34498
2008-07-14 07:26:13 +00:00
ReactOS Portable Systems Group
4c46f5b78e - Get rid of stubs.c, it's empty now.
svn path=/trunk/; revision=34497
2008-07-14 03:51:35 +00:00
ReactOS Portable Systems Group
a4346dc05e - Implement NtSetLdrEntries, NtVdmControl, KeSaveStateForHibernate, KeQueryActiveProcessors, KeSetDmaIoCoherency, KeFlushEntireTb, KeGetRecommendedSharedDataAlignment, KeDisableInterrupts, KeInvalidateAllCaches, KeIcacheFlushCount and remove them from stubs_asm.S
svn path=/trunk/; revision=34496
2008-07-14 03:50:38 +00:00
ReactOS Portable Systems Group
4a8378a9d2 - Fix exports
svn path=/trunk/; revision=34495
2008-07-14 03:36:40 +00:00
ReactOS Portable Systems Group
26fa849ea0 - Re-organize our unimplemented function stubs according to port targets (user mode support, exceptions/SEH, driver ISRs, x86-only functionality and arch-specific Ke).
svn path=/trunk/; revision=34494
2008-07-14 03:34:07 +00:00
ReactOS Portable Systems Group
5b41066b9e - Remove this DPRINT1 too, it was used for debugging scheduling issues which are fixed now.
svn path=/trunk/; revision=34493
2008-07-14 03:20:40 +00:00
ReactOS Portable Systems Group
758134fc03 - Remove the 5-second delay in the initialization code, we've validated this works now.
svn path=/trunk/; revision=34492
2008-07-14 03:19:12 +00:00
ReactOS Portable Systems Group
69b3a4581d - Enable timer expiration code.
- Timers now work, along with full scheduling, dispatching and context switching, so our 5 second wait in init.c allows other threads to runs, then completes appropriately.

svn path=/trunk/; revision=34491
2008-07-14 03:17:57 +00:00
ReactOS Portable Systems Group
7f9d319752 - Fix context switch code. It works perfectly now.
svn path=/trunk/; revision=34490
2008-07-14 03:17:09 +00:00
ReactOS Portable Systems Group
5c0b303c18 - Remove DPRINT1s all over the context switching code.
svn path=/trunk/; revision=34489
2008-07-14 03:16:36 +00:00
ReactOS Portable Systems Group
94f7b8810b - Clean up KTRAP_FRAME and KEXCEPTION_FRAME definition.
- Add assembly offsets for KEXCEPTION_FRAME to ksarm.h.


svn path=/trunk/; revision=34488
2008-07-14 03:15:48 +00:00
ReactOS Portable Systems Group
351129dc08 - Force a 5 second wait before loading drivers, on ARM.
- Context switching doesn't really work -- but we've been lucky since we're stuck on a priority 31 thread.
- Instead of worrying about this later when the system will be fully operational, this forces us to expose these bugs, and to make sure everything works.
- This will stress our context switching, waiting, unwaiting and scheduling code on ARM but once it all works well, after 5 seconds we'll be back on track.

svn path=/trunk/; revision=34487
2008-07-14 01:41:44 +00:00
ReactOS Portable Systems Group
a893ad634d - Increment the PC by 4 during a DebugService-style trap, just like on x86, so that we can skip the actual instruction when we're done.
- Exit the trap after a prefetch abort. DbgPrint fully works now, and we're back where we started -- RamdiskCreateDiskDevice.


svn path=/trunk/; revision=34486
2008-07-14 00:26:18 +00:00
ReactOS Portable Systems Group
a8ee5682c5 - ARM instructions are 4 bytes long, not 1, so decrement the PC by four during breakpoints (so the caller gets the address of the previous instruction, just like on x86).
svn path=/trunk/; revision=34485
2008-07-14 00:24:33 +00:00
ReactOS Portable Systems Group
cc7f0be786 - Also bump PC for ARM after a KD exception.
svn path=/trunk/; revision=34484
2008-07-14 00:23:43 +00:00
ReactOS Portable Systems Group
631d627fa7 - Implement KeContextToTrapFrame.
- No, we don't sanitize anything right now. There's no user-mode at this point, so it doesn't matter. If you think we should sanitize right now, you need to get out and get laid.
- So this brings us back to KiPrefetchAbortHandler's while (TRUE).
- We have to make sure the funky PC modifications are going to work well, and after that, we can exit the trap.


svn path=/trunk/; revision=34483
2008-07-14 00:04:53 +00:00
ReactOS Portable Systems Group
ed3125b4e0 - Implement KeTrapFrameToContext.
- We now get to the point where we call KiDebugRoutine, which is registered as KdpEnterDebuggerException.
- KdpEnterDebuggerException reads our exception record and understands this is a BREAKPOINT_PRINT.
- It then calls the KdpServiceDispatcher.
- This, in turn, calls KdpPrintString.
- Which in turn loops the "debug providers" and calls KdpSerialPrintString.
- Which calls into KDCOM.
- And we see this on the debug log: (ntoskrnl/kd/kdio.c:191) .
- Epic Win. Need to implement KeContextToTrapFrame now.


svn path=/trunk/; revision=34482
2008-07-13 23:58:47 +00:00
ReactOS Portable Systems Group
673e2fd5fd - Okay so we've got a basic KiDispatchException, we now need KiTrapFrameToContext and KiContextToTrapFrame.
- We aren't really sure where the hell we are since we can't printf anything otherwise we'll trap again and end up in an infinite loop.
- So we're debugging with while (TRUE).


svn path=/trunk/; revision=34481
2008-07-13 23:46:50 +00:00
ReactOS Portable Systems Group
784b0af4cd - Start implementing KiPrefetchAbortHandler for BKPT instructions.
- We pretty much try to duplicate what happens on x86, and build an exception record with the right information.
- We are seeing the debug string in R1 and its length in R2, so we're on the right track.
- We call KiDispatchException now, which isn't yet implemented.
- Yup, all this work just to see a damn debug string the "*proper* NT way". Thanks, asshole.


svn path=/trunk/; revision=34480
2008-07-13 23:34:44 +00:00
ReactOS Portable Systems Group
64d7b1337b - Prefetch aborts behave like other exceptions, not like data aborts, in terms of the PC offset due to the pipeline behavior. So call TRAP_PROLOG with 0, not 1
svn path=/trunk/; revision=34479
2008-07-13 23:32:38 +00:00
ReactOS Portable Systems Group
a999d87cb4 - Implement KeArmInstructionFaultStatusRegisterGet
svn path=/trunk/; revision=34477
2008-07-13 23:31:46 +00:00
James Tabor
97892224cf Separate Default Window proc from messages.
svn path=/trunk/; revision=34476
2008-07-13 23:31:00 +00:00
ReactOS Portable Systems Group
f0ba3800a4 - Write a DebugService routine for ARM in the RTL library and get rid of the hack in ntoskrnl.
- Just like on x86, this routine generates a breakpoint -- on ARM this is done with BKPT followed by an index.
- We use the BREAKPOINT_PRINT index just like on x86.
- This generates a prefetch abort -- so now we implement the prefetch abort handler. Thanks to the trap macros, this was 10 lines of code.
- This calls into the real C handler, which is now unimplemented and hangs the whole system, so we've regressed way back (on purpose).


svn path=/trunk/; revision=34474
2008-07-13 22:40:36 +00:00
ReactOS Portable Systems Group
43dd8f4408 - Now that KDCOM works for printing on the serial port, get rid of the arm_kprintf file, function and hack,and use KdpSerialPrint instead (still a hack, but at least uses our components)
svn path=/trunk/; revision=34473
2008-07-13 22:17:28 +00:00
ReactOS Portable Systems Group
e069d3cba6 - Implement KdPortPutByteEx and KdPortInitializeEx in KDCOM. Only supports Versatile for now, we can make this more portable later.
svn path=/trunk/; revision=34472
2008-07-13 22:16:48 +00:00
ReactOS Portable Systems Group
3d5e125a48 - Fix FILE location in the header
svn path=/trunk/; revision=34471
2008-07-13 22:15:56 +00:00
ReactOS Portable Systems Group
1cfbce1c83 - Get rid of a really-early debug print, since it's done before KdInit and thus will never be seen.
svn path=/trunk/; revision=34470
2008-07-13 22:15:23 +00:00
ReactOS Portable Systems Group
09dbb9edf1 - Uncomment the check to see if we came from kernel or user mode, since we can now do this after the major trap fixes
svn path=/trunk/; revision=34469
2008-07-13 22:14:43 +00:00
Christoph von Wittich
79811cb5a6 more correct fix by Alex
svn path=/trunk/; revision=34467
2008-07-13 19:14:39 +00:00
Christoph von Wittich
538c89cbf6 fix handle table calculations
now we can create 4186000 handles instead of 4100
and VLC doesn't BSOD anymore

svn path=/trunk/; revision=34466
2008-07-13 18:22:18 +00:00
KJK::Hyperion
ba77ba4484 Forgot a file. Fix fucking buildbot already D:<
svn path=/trunk/; revision=34464
2008-07-13 18:06:10 +00:00
KJK::Hyperion
70a54a9995 modified dll/win32/kernel32/misc/lang.c
modified   dll/win32/kernel32/kernel32.def
   Stubbed out GetLocaleInfoEx

modified   include/psdk/winnls.h
   Added some Vista and later NLS defines to the SDK

modified   dll/nls/idndl/idndl.rbuild
   Correctly set a NULL entry point for idndl.dll

modified   dll/nls/idndl_redist/idndl_redist.rbuild
modified   dll/nls/normaliz_redist/normaliz_redist.rbuild
   Give unique names to the redistributable versions of idndl.dll and normaliz.dll

Everything else
   Scattered NLS modules in the appropriate locations, as per standard source tree layout

svn path=/trunk/; revision=34463
2008-07-13 17:54:53 +00:00
Matthias Kupfer
9f0f4702a5 - support of [Strings.LanguageID]-sections for inf-files added in setupapi
- inf-files with multi language support are strongly recommended to be in utf-16 encoding (with byte order mark)
- at the moment only inf-files for second stage setup can contain translations (due to limitations of inflib)
- some of the inf files for hardware installation (/media/inf) are converted to utf-16 and contain a basic German translation in the [Strings.0407] section
- for more details read /reactos/branches/matthias-i18n/media/inf/README
- TODO: for other/further languages add other translations in new string sections

svn path=/trunk/; revision=34461
2008-07-13 13:46:54 +00:00
James Tabor
da7cfbccf5 Add part of a patch by Daniel Verkamp, see bug 3441.
svn path=/trunk/; revision=34457
2008-07-13 12:08:54 +00:00
ReactOS Portable Systems Group
08965866eb - Separate KDCOM into i386 and ARM versions.
- Stub out ARM version.
- Eventually the arm_kprintf hack will go away and true serial debugging output will be done through kdcom just like on x86.
- Fix formatting of bootvid.rbuild.


svn path=/trunk/; revision=34456
2008-07-13 08:47:07 +00:00
ReactOS Portable Systems Group
6c6eb6e82e - Does now fire off a DPC when quantum has ended this works good now after have the major trap fixes been done earlier.
svn path=/trunk/; revision=34455
2008-07-13 08:28:05 +00:00
ReactOS Portable Systems Group
e4202a6eec - Make sure this is XIP (Execute in Place) boot and not ramdisk boot before warning the user. Silences an incorrect debug print during ramdisk boot.
svn path=/trunk/; revision=34454
2008-07-13 08:20:02 +00:00
ReactOS Portable Systems Group
b60783d6c5 - Implement RamdiskCreateRamdisk which validates parameters before calling RamdiskCreateDiskDevice (stub).
- Implement RamdiskDeviceControl which only supports FSCTL_CREATE_RAM_DISK for now (the kernel's attempt to create the RAM disk).
- Need to implement RamdiskCreateDiskDevice.


svn path=/trunk/; revision=34453
2008-07-13 07:37:36 +00:00
ReactOS Portable Systems Group
b01a6a6b8e - Implement IRP_MN_QUERY_DEVICE_TEXT/BUS_INFORMATION/CAPABILITIES for FDOs (just forward to the attached device).
- Implement IRP_MN_QUERY_RESOURCES/RESOURCE_REQUIREMENTS for FDOs and PDOs (immediately complete the IRP and exit).
- We now get to RamdiskDeviceControl -- the kernel is attempting to create the ramdisk.


svn path=/trunk/; revision=34452
2008-07-13 07:33:31 +00:00
ReactOS Portable Systems Group
4a0167c18b - Remove incorrect check in RamdiskPnp -- we should only early-quit if the device is removed, not uninitialized, otherwise we'll never get initialized.
- Add support for IRP_MN_SURPRISE_REMOVAL.
- Handle IRP_MN_QUERY_ID for FDO (it is the first IRP we receive).
- Handle IRP completion for FDOs and forward if necessary.


svn path=/trunk/; revision=34451
2008-07-13 07:16:24 +00:00
ReactOS Portable Systems Group
ac0787ec04 - Add device state information.
- Start implementing RamdiskPnp -- enough to fail requests until our device state is appropriate.
- Implement RamdiskOpenClose.


svn path=/trunk/; revision=34450
2008-07-13 07:02:48 +00:00
ReactOS Portable Systems Group
fbda572c17 - Implement RamdiskAddDevice.
- Fix uninitialized pointer in DriverEntry.
- Add hack for ReactOS plug and play manager bug.
- Fix broken assert.
- Now in RamdiskPnp.


svn path=/trunk/; revision=34449
2008-07-13 04:23:59 +00:00
ReactOS Portable Systems Group
b1537513ef - Remove debug code.
svn path=/trunk/; revision=34448
2008-07-13 04:22:54 +00:00
ReactOS Portable Systems Group
824f390323 - Add ramdisk class.
svn path=/trunk/; revision=34447
2008-07-13 04:22:42 +00:00
ReactOS Portable Systems Group
0e87f19d40 - To whom it may concern: thanks for completly fucking up mkhive support with your "fix". It broken make install and livecd on i386 AND ARM.
- Made the necessary changes to make it work properly by fixing mkhive and rbuild.

svn path=/trunk/; revision=34446
2008-07-13 02:32:24 +00:00
ReactOS Portable Systems Group
ae45b8fbbb - Only print out debug data for aborts if we can't handle them. Makes the debug log easier to read.
svn path=/trunk/; revision=34445
2008-07-13 01:58:23 +00:00
ReactOS Portable Systems Group
53f621c80d - Do NOT prepend _ to ARM entrypoints.
- Because of some ridiculously stupid design in LD, it seems if it cannot find a given entrypoint, it SILENTLY ASSUMES you meant "Hi LD, please use my base address as my entrypoint".
- As such, all our drivers were linked with the start address as the base address... for the RAMDisk driver, this ended up being RamdiskAddDevice.
- When we started implementing RamdiskAddDevice, noticed that DriverEntry wasn't actually getting called. Adding debug prints changed which function was called.
- Wasted a week, thanks LD.


svn path=/trunk/; revision=34444
2008-07-13 01:56:20 +00:00
James Tabor
b17c0af25f The rest of rev 34442.
svn path=/trunk/; revision=34443
2008-07-13 00:24:05 +00:00
James Tabor
48885ed2c4 - Started NtUserRegisterClassExWOW and now using the fnIDs. Nothing is used but the IDs. I tested with these changes for over 60 days.
- Implemented NtUserMessageCall, moved our first victim over to use it. This is for bug 2451.

svn path=/trunk/; revision=34442
2008-07-13 00:21:51 +00:00
James Tabor
f07b8e70a7 This did not fix bug 3503 but only hid the problem. Added note about Firefox, polls IsInsideMessagePumpHook when Min/Max.
svn path=/trunk/; revision=34441
2008-07-12 23:49:51 +00:00
Christoph von Wittich
a267c40f5b don't deref NULL pointer
svn path=/trunk/; revision=34439
2008-07-12 13:47:06 +00:00
James Tabor
8b47005e1a Fix FF again. Sorry, I need to research this more.
svn path=/trunk/; revision=34438
2008-07-12 12:04:03 +00:00
Christoph von Wittich
58baa7406e don't return success in getaddrinfo
fixes a crash in divx installer

svn path=/trunk/; revision=34437
2008-07-12 10:49:13 +00:00
Christoph von Wittich
b2b40553ac fix a typo
svn path=/trunk/; revision=34435
2008-07-12 09:39:30 +00:00
James Tabor
613a10e37b - Fix problem with share pointer. See bug 3503. It seems to be a problem with ntdll and msvcrt.
svn path=/trunk/; revision=34433
2008-07-12 01:00:58 +00:00
James Tabor
f7a34846ba - Christoph von Wittich spotted a condition when co_MsqPostKeyboardMessage was called from KeyboardThreadMain, the thread was unlocked when waiting in co_MsqSendMessage. The problem; UserLeave was called before waiting on an event. I added checks to verify locking and if not, lock the thread. I'm not sure ATM if co_MsqPostKeyboardMessage should have full locking since it is only used by input.c.
- Added IdlePing to wakeup process threads before waiting on events, it look like the right place to put them.

svn path=/trunk/; revision=34430
2008-07-11 23:07:31 +00:00
Colin Finck
f25ac715b0 - Port Wine's WideCharToMultiByte implementation for conversion to a codepage to ReactOS. (with comments :-))
It adds support for DefaultChar, UsedDefaultChar and the flag WC_NO_BEST_FIT_CHARS.
  WC_COMPOSITECHECK is also supported by the Wine implementation, but I don't have an idea how to port it to ReactOS, as we don't seem to have composition tables. I left FIXME's for this flag in the appropriate blocks, this is why some of the code might look badly structured/unoptimized at the moment.
  As we completely rely on the NLS tables for the conversion now, this commit might trigger some bugs there. I already found out that the CP950 table doesn't map Unicode 0 back to MultiByte 0 (but 254), using Windows' c_950.nls it works correctly. Other tables could be buggy as well, c_1252.nls worked flawlessy for me though.
- Added comments to the CPTABLEINFO structure based on documentation from http://www.ping.uio.no/~ovehk/nls/

svn path=/trunk/; revision=34426
2008-07-11 19:11:06 +00:00
Christoph von Wittich
dfb10c4404 check for NULL pointer
svn path=/trunk/; revision=34425
2008-07-11 15:15:42 +00:00
James Tabor
1fa1b4e184 - Cleanup NtUserWaitForInputIdle and plug in the user call. Still testing it.
svn path=/trunk/; revision=34424
2008-07-11 11:22:16 +00:00
James Tabor
a704e14031 Update Eng Events and fix InputIdleEvent.
svn path=/trunk/; revision=34423
2008-07-11 10:57:49 +00:00
KJK::Hyperion
dee49b95a1 Don't allocate from PagedPool while interrupts are disabled. Patch by Stefan Ginsberg
svn path=/trunk/; revision=34420
2008-07-11 09:11:21 +00:00
James Tabor
4460003077 Improve NtUserWaitForInputIdle, still a work in progress.
svn path=/trunk/; revision=34419
2008-07-11 01:24:47 +00:00
James Tabor
0b35c794b5 - Port wine WaitForInputIdle. Work in progress and untested. Need input idle event to support it.
svn path=/trunk/; revision=34418
2008-07-11 01:02:28 +00:00
James Tabor
75ea87b3cb - Move NtUserWaitForInputIdle to message.c.
svn path=/trunk/; revision=34417
2008-07-10 23:51:24 +00:00
Timo Kreuzer
793805597e Patch by Stefan Ginsberg:
fix members of UNIVERSAL_FONT_ID, based on msdn

svn path=/trunk/; revision=34415
2008-07-10 20:09:23 +00:00
Colin Finck
af3974cb4a Warning fixes for devenum by Stefan Ginsberg
svn path=/trunk/; revision=34414
2008-07-10 16:26:28 +00:00
Jeffrey Morlan
b72b1e87db Some fixes for console alias functions:
- Pass buffers via a CSR capture buffer, instead of trying to cram them in the size-limited LPC message.
- GetConsoleAliasW: Return number of bytes written, not unrelated "Size" variable.
- GetConsoleAliasExesW: Return value is in bytes, not characters.
- GetConsoleAliasA, GetConsoleAliasExesA: Parameters and returns of corresponding W functions are in bytes, not characters.
- IntFindAliasHeader, IntGetAliasEntry: Break when current name is greater, not less.
- IntCreateAliasHeader: Fix bad use of pointer arithmetic; initialize Data to NULL.
- IntCreateAliasEntry: Fix bad use of pointer arithmetic.
- IntGetConsoleAliasesExesLength: Fix infinite loop; add sizeof(WCHAR) instead of 1.
- IntGetAllConsoleAliasesLength: Fix infinite loop.
- CsrGetConsoleAlias, CsrGetAllConsoleAliases, CsrGetConsoleAliasesExes: Don't use a winerror where an NTSTATUS is needed.

svn path=/trunk/; revision=34413
2008-07-10 15:43:06 +00:00
Christoph von Wittich
9c5c81eba2 don't deref NULL pointer
svn path=/trunk/; revision=34412
2008-07-10 14:00:50 +00:00
Colin Finck
6f1c458cd7 Fix ordinals of msvcrt according to Windows Server 2003 SP1's msvcrt.dll
svn path=/trunk/; revision=34411
2008-07-10 12:39:54 +00:00
Ged Murphy
8ca3cee755 Check for correct access right when deleting services
Patch by bugboy <martinmnet at hotmail dot com>
See issue #3474 for more details.

svn path=/trunk/; revision=34410
2008-07-10 11:45:06 +00:00
Aleksey Bragin
1598630aef - Fix a typo, spotted by BugBoy.
svn path=/trunk/; revision=34409
2008-07-10 11:29:50 +00:00
James Tabor
69b39dc05f - Needed to reference the previous window handle. This prevents the window object from becoming zero during it's own demise when posting send messages.
- See bug 3490.

svn path=/trunk/; revision=34408
2008-07-10 11:27:53 +00:00
James Tabor
326c138e1b Need to make safe, check for zero after retrieving desktop pointer.
svn path=/trunk/; revision=34407
2008-07-10 11:19:24 +00:00
James Tabor
7fdb555744 - This Patch fixes RestoreDC, also lots of visual glitches. Especially in Delphi applications. See bug 3491.
svn path=/trunk/; revision=34406
2008-07-10 11:12:14 +00:00
Aleksey Bragin
4e301fa3a9 - Fix build.
svn path=/trunk/; revision=34405
2008-07-10 10:06:29 +00:00
Aleksey Bragin
e00d31206e Yuriy Sidorov <jura@cp-lab.com>
- Implement RtlSetUserValueHeap, RtlSetUserFlagsHeap, RtlGetUserInfoHeap functions. It is quick implementation and it works.
- It fixes "Out of memory" error in all InnoSetup based installations. A lot of software can be at least installed in ReactOS now.
- Also it fixes Delphi applications which use TMemoryStream class.
See issue #3464 for more details.

svn path=/trunk/; revision=34404
2008-07-10 09:46:25 +00:00
Aleksey Bragin
65e234891c - Autosyncing with Wine HEAD.
- Add I_RpcExceptionFilter to rpcrt4 from recent wine and export it. This allows to not do a full rpcrt4 sync right now, but still sync everything else.

svn path=/trunk/; revision=34403
2008-07-10 09:14:19 +00:00
KJK::Hyperion
ffd2740ec2 modified nls/3rdparty/icu4ros.rbuild
- Build fixes

added      nls/3rdparty/stubs.cpp
 - Stub out unused ICU dependencies

added      nls/dll/idndl
added      nls/dll/idndl/idndl.cpp
added      nls/dll/idndl/idndl.def
added      nls/dll/idndl/idndl.rbuild
 - Implemented idndl.dll forwarder

added      nls/dll/idndl_redist
added      nls/dll/idndl_redist/data
added      nls/dll/idndl_redist/data/genidldndata.cpp
added      nls/dll/idndl_redist/data/idldata.cpp
added      nls/dll/idndl_redist/idndl.cpp
added      nls/dll/idndl_redist/idndl.def
added      nls/dll/idndl_redist/idndl_redist.rbuild
added      nls/dll/idndl_redist/stubs.cpp
 - Implemented stand-alone idndl.dll
 - Implemented DownlevelGetLocaleScripts, DownlevelGetStringScripts, DownlevelVerifyScripts

added      nls/dll/normaliz
added      nls/dll/normaliz/dummy.c
added      nls/dll/normaliz/normaliz.def
added      nls/dll/normaliz/normaliz.rbuild
 - Implemented forwarder normaliz.dll

added      nls/dll/normaliz_redist/data
added      nls/dll/normaliz_redist/data/icudt38.c
added      nls/dll/normaliz_redist/data/icudt38.lst
modified   nls/dll/normaliz_redist/normaliz.cpp
modified   nls/dll/normaliz_redist/normaliz.def
modified   nls/dll/normaliz_redist/normaliz_redist.rbuild
 - Implemented stand-alone normaliz.dll

added      nls/lib/idna
added      nls/lib/idna/idna.cpp
added      nls/lib/idna/idna.rbuild
added      nls/lib/idna/nameprep.cpp
 - Implemented IdnToAscii, IdnToUnicode, IdnToNameprepUnicode

modified   nls/lib/normalize/normalize.cpp
 - Implemented NormalizeString, IsNormalizedString

added      nls/lib/scripts
added      nls/lib/scripts/scripts.cpp
added      nls/lib/scripts/scripts.h
added      nls/lib/scripts/scripts.rbuild
 - Implemented GetStringScripts, VerifyScripts

added      nls/media
 - Added directory for future data files

modified   nls/nls.rbuild
 - Build all NLS modules

added      nls/tests
added      nls/tests/normalization
added      nls/tests/normalization/normalizationTest.c
added      nls/tests/normalization/normalizationTest.h
added      nls/tests/normalization/normalizationTest.l
added      nls/tests/normalization/normalizationTest.rbuild
added      nls/tests/normalization/normalizationTest.sln
added      nls/tests/normalization/normalizationTest.tab.c
added      nls/tests/normalization/normalizationTest.tab.h
added      nls/tests/normalization/NormalizationTest.txt
added      nls/tests/normalization/normalizationTest.vcproj
added      nls/tests/normalization/normalizationTest.y
added      nls/tests/normalization/normalizationTest.yy.c
 - Test harness for NormalizeString based on official Unicode 5.0 test suite. Our implementation passes all tests. Will become an actual regression test suite in the future.

svn path=/trunk/; revision=34402
2008-07-10 08:39:04 +00:00
Daniel Reimer
bb5038fc75 Bug 3492 - Bug 3497: Norwegian Translations for dxdiag sndvol32 kbswitch devmgmt eventvwr servman by Lars Martin.
Synched Winhlp32 with Wine HEAD.

svn path=/trunk/; revision=34401
2008-07-10 06:51:18 +00:00
Daniel Reimer
8af6be8760 Synched Winfile and write with Wine HEAD.
svn path=/trunk/; revision=34400
2008-07-10 06:38:14 +00:00
James Tabor
f1cf84c7f1 CS_NOKEYCVT is used to set Classname to Version when calling to register class.
svn path=/trunk/; revision=34399
2008-07-10 01:28:59 +00:00
James Tabor
6299128828 - Removed NtUserGetShellWindow, update related.
svn path=/trunk/; revision=34397
2008-07-09 22:46:17 +00:00
KJK::Hyperion
0461306bc8 modified lib/sdk/crt/crt.rbuild
modified   lib/sdk/crt/libcntpr.rbuild
   Add qsort and div to crt and libcntpr

modified   lib/sdk/crt/include/internal/tls.h
modified   lib/sdk/crt/stdlib/qsort.c
   Fixed ineptly-ported DJGPP qsort to not use TLS

svn path=/trunk/; revision=34396
2008-07-09 18:44:46 +00:00
Ged Murphy
5a9807ee6c don't try to free a NULL object.
patch by hto (hto at dev dot null)
See issue #3486 for more details.

svn path=/trunk/; revision=34393
2008-07-09 14:20:08 +00:00
Pierre Schweitzer
a4302a3894 Updated usp10_ros.diff to match with r34390 changes
svn path=/trunk/; revision=34392
2008-07-09 11:40:00 +00:00
Aleksey Bragin
c97e25991a - Update winetests for synced DLLs.
svn path=/trunk/; revision=34391
2008-07-09 11:34:20 +00:00
Aleksey Bragin
1e974d826c - One should not mix debug output macros and direct usage of DbgPrint.
svn path=/trunk/; revision=34390
2008-07-09 11:26:31 +00:00
Aleksey Bragin
2f5cd560df Autosyncing with Wine HEAD
svn path=/trunk/; revision=34389
2008-07-09 11:20:39 +00:00
Aleksey Bragin
cc891b65c9 - Add MapVirtualKey translation types.
svn path=/trunk/; revision=34388
2008-07-09 10:27:56 +00:00
Pierre Schweitzer
52bd0bc841 - Fixed build
- Added a diff with GreatLord changes

svn path=/trunk/; revision=34387
2008-07-09 09:28:50 +00:00
Pierre Schweitzer
85ba30dcf2 Synced usp10_winetest.exe with Wine HEAD
svn path=/trunk/; revision=34386
2008-07-09 09:23:34 +00:00
Pierre Schweitzer
ba32da0049 Synced shfolder.dll, stdole2.tlb, tapi32.dll, usp10.dll, winhttp.dll, wldap32.dll, wtsapi32.dll with Wine HEAD
svn path=/trunk/; revision=34385
2008-07-09 09:19:04 +00:00
Pierre Schweitzer
6e55aa8426 Fixed build
svn path=/trunk/; revision=34384
2008-07-09 09:11:53 +00:00
Daniel Reimer
99bd66e721 Bug 3466: Korean translation of Roscalc by Sengyu Kim
Bug 3468: Translate calc to norwegain by Lars Martin
Bug 3470: Translate file charmap by Lars Martin
Bug 3471: Translate file Remote desktop by Lars Martin
Polish Shell32 Translation Update by Olaf Siejka

svn path=/trunk/; revision=34383
2008-07-09 08:32:45 +00:00
Aleksey Bragin
876316be73 - Add CLSID_InProcFreeMarshaler
svn path=/trunk/; revision=34382
2008-07-09 08:02:08 +00:00
James Tabor
d6ea9391da Need shared pointer to user when comparing thread info.
svn path=/trunk/; revision=34381
2008-07-09 07:23:02 +00:00
James Tabor
5b7926d225 Cleanup headers for Prop.
svn path=/trunk/; revision=34380
2008-07-09 04:44:13 +00:00
James Tabor
2a0296d191 - Removed NtUserGetWindowThreadProcessId, updated all related. Wanting to remove this since I first joined.
- Tested with all my test apps.

svn path=/trunk/; revision=34379
2008-07-09 04:30:10 +00:00
James Tabor
dd4397b095 - Removed NtUserGetProp, updated all related.
- Tested with FF, OOo, Seamonkey, putty, etc, and standard loaded apps. We use GetProp more than anyone thinks.

svn path=/trunk/; revision=34378
2008-07-09 03:29:43 +00:00
Aleksey Bragin
be356d11cd Yuriy Sidorov <jura@cp-lab.com>
- Always call ZwRaiseException in user mode and RtlDispatchException in kernel mode.
- If RtlDispatchException failed call ZwRaiseException in kernel mode. Otherwise unhandled RtlRaiseException() call in kernel mode simply ignored (do nothing)!
- Call RtlRaiseStatus in RtlRaiseException, if something went wrong.
See issue #3434 for more details.

svn path=/trunk/; revision=34377
2008-07-08 21:17:47 +00:00
Pierre Schweitzer
2c16b9c687 Apply r33078 fix to r34369 to "prevent mshtml registration (doesn't work yet)"
See issue #3189 for more details.

svn path=/trunk/; revision=34376
2008-07-08 21:12:38 +00:00
Aleksey Bragin
5d786c8989 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34375
2008-07-08 20:52:29 +00:00
Pierre Schweitzer
1ac1523c04 Synced wordpad.exe with Wine HEAD
svn path=/trunk/; revision=34374
2008-07-08 20:07:27 +00:00
Pierre Schweitzer
a1e82ff2da Synced riched32_winetest.exe, shlwapi_winetest.exe, urlmon_winetest.exe with Wine HEAD
svn path=/trunk/; revision=34373
2008-07-08 19:30:15 +00:00
Pierre Schweitzer
e492be818a Synced riched32.dll, shlwapi.dll, urlmon.dll with Wine HEAD
svn path=/trunk/; revision=34372
2008-07-08 19:27:29 +00:00
James Tabor
9b97275fcd Fix build, I knew that commit was lite.
svn path=/trunk/; revision=34371
2008-07-08 19:06:37 +00:00
James Tabor
ef1f9bd06c Win32k/User32:
- Removed NtUserGetSystemMetric, updated all related.
- Add GetConnected, this is needed, sometimes global pointers are initilized with zeros. This is normal.
- Fix prototype for NtUserDragDetect, and add the Esc key hit to DragDetect.

svn path=/trunk/; revision=34370
2008-07-08 18:58:07 +00:00
Aleksey Bragin
0a953de77e Autosyncing with Wine HEAD
svn path=/trunk/; revision=34369
2008-07-08 16:39:29 +00:00
Pierre Schweitzer
1e229a53dc Synced riched20_winetest.exe with Wine HEAD
svn path=/trunk/; revision=34368
2008-07-08 10:09:42 +00:00
Pierre Schweitzer
0fe1322cbc Synced riched20.dll with Wine HEAD
svn path=/trunk/; revision=34367
2008-07-08 10:08:54 +00:00
ReactOS Portable Systems Group
b513c98fb2 - Rewrite the low-level trap/exception/system call code from the ground up:
- Do not corrupt the stack anymore
  - Use a consistent trap frame layout (enable OldIrql and PreviousMode, and set the 0xBADB0D00 debug mark)
  - Use slower but more correct trap prolog/epilog code for now.
  - Generalize all prolog/epilog code into macros just like on x86. As a result, traps are now 6 lines of code.
- Rewrite the system call interface from the ground up:
  - System calls didn't actually work: a debug print made the stack layout magical enough so that they didn't normally crush, but only slowly ate the stack.
  - Copying arguments from caller to system call was, as the comment on the original code so aptly put it, "total shit".
  - Due to ABI concerns, and to provide an actual template on how you're -supposed- to implement something like system calls on RISC processors, we now use
    a model similar to BSD, but about ten times better (with that much less code too). We'll document it later on the RosPSG Wiki.
  - This code probably contains some of the most vile-yet-elegant macro magic ever written for such low-level code as system call dispatching. 
- The result of all this is that we're at the same place as before (RamdiskAddDevice needs to be implemented by the Ramdisk guys) but with a sane low-level
  backend that isn't slowly eating away the stack, corrupting data, and basically working through random chance.
- Move timebase code from stubs.c to its own file, time.c.
- Silence multiple debug prints and fix a corrupted debug print in KiSystemStartup.


svn path=/trunk/; revision=34366
2008-07-08 09:11:44 +00:00
Aleksey Bragin
8249e5ced9 - Add IActiveScriptSiteDebug32 IID.
svn path=/trunk/; revision=34365
2008-07-08 07:45:31 +00:00
James Tabor
0f60c8cc54 Update the rest of the prototypes and stubs.
svn path=/trunk/; revision=34364
2008-07-08 07:38:28 +00:00
James Tabor
f7a270aa2a Update more prototypes and stubs.
svn path=/trunk/; revision=34363
2008-07-08 05:43:14 +00:00
James Tabor
e2dbf44d99 Update prototypes and stubs.
svn path=/trunk/; revision=34362
2008-07-08 05:11:40 +00:00
Art Yerkes
4cca77780c Move completion out of the spinlock. Spotted by aicom
svn path=/trunk/; revision=34361
2008-07-08 03:01:56 +00:00
Jeffrey Morlan
f45ebc6964 IntGdiCreateBitmap: Tighten up parameter checks, preventing overflows; don't multiply by Planes twice in calculating WidthBytes.
IntCreateCompatibleBitmap: Remove 65535px maximum (Windows has no such limit); return the stock 1x1 bitmap instead of creating a new one.
BITMAPOBJ_GetRealBitsPixel: Change parameter type to UINT; remove 2bpp return (2bpp bitmaps are not actually supported)

svn path=/trunk/; revision=34358
2008-07-07 16:03:14 +00:00
Aleksey Bragin
9d160d390c - Fix build correctly this time.
svn path=/trunk/; revision=34357
2008-07-07 15:59:02 +00:00
Colin Finck
32849148f9 Attempt to fix build
svn path=/trunk/; revision=34355
2008-07-07 13:57:14 +00:00
Aleksey Bragin
22d098ac49 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34354
2008-07-07 12:32:35 +00:00
Aleksey Bragin
0cb3e856ef - Remove entrypoint=0 from compstui
- No need to register cryptui, since its registering routines are stubs. Fixes ERROR_MR_MID_NOT_FOUND in 2nd stage.
See issue #2719 for more details.

svn path=/trunk/; revision=34353
2008-07-07 12:26:44 +00:00
Jeffrey Morlan
f2d4e4394e Extract days-since-epoch calculation code from RtlTimeToTimeFields into own function, optimize a bit, and use it in RtlTimeFieldsToTime instead of doing a 400 iteration loop.
svn path=/trunk/; revision=34352
2008-07-07 10:23:41 +00:00
Aleksey Bragin
622a737e7f - Initialize TLS expansion bitmap properly (fixes accessing uninitialized memory when all regular TEB slots for TLS data are occupied).
svn path=/trunk/; revision=34351
2008-07-07 09:24:10 +00:00
James Tabor
fe82a25252 Update SetLayeredWindowAttributes.
svn path=/trunk/; revision=34350
2008-07-07 05:54:36 +00:00
Colin Finck
e32689dbb6 Fix buggy MB_LEN_MAX definition according to MSVC headers
svn path=/trunk/; revision=34348
2008-07-06 22:56:19 +00:00
Colin Finck
c7f03eaf32 Revert r34346, it didn't work the way I thought because of different CRT's on every host. Using gcc/g++ as the frontend will link to it automatically.
Sorry for the wasted commit.

svn path=/trunk/; revision=34347
2008-07-06 22:32:07 +00:00
Colin Finck
8457c6f705 Also link host binaries with ld and not gcc/g++.
Same change was already done for target binaries in r34187.

svn path=/trunk/; revision=34346
2008-07-06 22:07:22 +00:00
Eric Kohl
7d872fb8bb Implement a simple dialog for adding a user to user groups.
svn path=/trunk/; revision=34345
2008-07-06 21:20:28 +00:00
Johannes Anderwald
2f76e8ade2 - fix potential buffer overflows spotted by Christoph
svn path=/trunk/; revision=34344
2008-07-06 20:52:11 +00:00
Aleksey Bragin
cce8a43337 - Update hlink headers from Wine HEAD.
svn path=/trunk/; revision=34342
2008-07-06 20:44:35 +00:00
Johannes Anderwald
37b079f715 - implement IShellPropSheetExt handling for file property dialogs for standard file classes
- makes shellink property dialog appear again (and many others ;) )

svn path=/trunk/; revision=34341
2008-07-06 20:35:21 +00:00
Andrey Korotaev
32f75a3033 Update russian translation. Patch by Alexander Akulich <akulichalexander@gmail.ru>
svn path=/trunk/; revision=34339
2008-07-06 18:29:17 +00:00
Aleksey Bragin
b1863a26c7 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34337
2008-07-06 16:35:30 +00:00
Aleksey Bragin
b5668fd659 - Sync gdiplusflat.h with Wine HEAD.
svn path=/trunk/; revision=34336
2008-07-06 16:32:16 +00:00
Aleksey Bragin
7b02ecd2cf - Update test.h to the latest Wine HEAD.
svn path=/trunk/; revision=34334
2008-07-06 15:31:38 +00:00
Aleksey Bragin
06a847eab9 - Fix russian translation, thanks Kaffeine.
svn path=/trunk/; revision=34331
2008-07-06 13:48:31 +00:00
Pierre Schweitzer
d00ec1bdba Fixed crappy previous translation
svn path=/trunk/; revision=34330
2008-07-06 13:25:50 +00:00
Pierre Schweitzer
f967fdf9dc Updated French translations for reactos.exe and shell32.dll
svn path=/trunk/; revision=34329
2008-07-06 13:17:27 +00:00
Aleksey Bragin
e1786e8952 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34327
2008-07-06 12:41:23 +00:00
Aleksey Bragin
1cf2a0e35c Autosyncing with Wine HEAD
svn path=/trunk/; revision=34326
2008-07-06 12:15:28 +00:00
Matthias Kupfer
114955b298 - avoid clock flicker in timedate.cpl
- TODO: limit repaint area to clock only (to avoid flicker of time adjusting control as well)

svn path=/trunk/; revision=34325
2008-07-06 12:05:17 +00:00
Aleksey Bragin
d94dde07f8 Autosyncing with Wine HEAD
svn path=/trunk/; revision=34324
2008-07-06 11:47:38 +00:00
Johannes Anderwald
70c6de3144 - implement IShellPropSheetExt for shellink
- interface not yet used

svn path=/trunk/; revision=34322
2008-07-06 09:09:09 +00:00
Colin Finck
2392ad5c5d Carlo Bramini (carlo.bramix@libero.it):
- Fix tditest compilation for Release builds

See issue #3290 for more details.

svn path=/trunk/; revision=34321
2008-07-06 09:06:15 +00:00
Johannes Anderwald
ad14fa367a - implement _ILIsNetHood
- don't show OpenWith dialog on network neighbourhoud shell folder
- use translatable "open" verb for shelllink's context menu
- deactivate shelllink property dialog, it should be implemented using IShellPropSheetExt interface
- enumerate context menu handlers also in the progid key
- shortcut items now show again the "open" item

svn path=/trunk/; revision=34320
2008-07-06 08:29:28 +00:00
Johannes Anderwald
718de23271 - allow translation of static shell verbs such as open/edit/find/play/preview/print/runas used in context menu items
svn path=/trunk/; revision=34319
2008-07-06 06:26:00 +00:00
Johannes Anderwald
cd17529941 - don't load OpenWith shell extension on desktop, mydocuments, controlpanel, recyclebin, drive, control panel and folder items
svn path=/trunk/; revision=34318
2008-07-06 05:26:34 +00:00
Colin Finck
736069d442 Reenable the VGA option at 1st stage setup now that it's fixed.
Physicus, you rock! :-)

See issue #2073 for more details.

svn path=/trunk/; revision=34314
2008-07-05 23:12:12 +00:00
Timo Kreuzer
62d44518a9 fix vgaddi by linking to libcntpr to resolve crt imports and include ioaccess.h to avoid hal imports,
should fix bug 2073
See issue #2073 for more details.

svn path=/trunk/; revision=34313
2008-07-05 22:41:14 +00:00
Eric Kohl
2e377cc99a Implement removal of a user from a user group.
svn path=/trunk/; revision=34312
2008-07-05 21:55:16 +00:00
Matthias Kupfer
3ac7447b97 Maciej Bialas <bjauy AT tlen DOT pl>
- Updated polish version of base/setup/reactos.
- See issue #3456 for more details.

svn path=/trunk/; revision=34311
2008-07-05 21:36:00 +00:00
Matthias Kupfer
e8cf32fe74 - title font for a syssetup alike look added
svn path=/trunk/; revision=34310
2008-07-05 19:38:08 +00:00
Aleksey Bragin
29ed434408 - Fix reactos.dff according to r34308.
svn path=/trunk/; revision=34309
2008-07-05 18:23:24 +00:00
Aleksey Bragin
a92216f309 - Delete mc (stoneage old, there is a standalone win32 port now).
- Fit apps better in dir structure.
- Move old_wordpad to templates (Ged said it's a great framework).

svn path=/trunk/; revision=34308
2008-07-05 18:23:03 +00:00
Matthias Kupfer
d61945b6cc - converted 1st stage setup stub from message box style to property sheet style
- property page for English and German added
- other languages needs to be translated and enabled in rsrc.rc

svn path=/trunk/; revision=34307
2008-07-05 17:55:38 +00:00
Aleksey Bragin
2012315e5a - Start rosapps rearrange and cleanup process.
svn path=/trunk/; revision=34303
2008-07-05 11:46:22 +00:00
Aleksey Bragin
0a0a13a41c - Rearrange reactos.dff according to rosapps rearrange.
svn path=/trunk/; revision=34302
2008-07-05 11:45:32 +00:00
Aleksey Bragin
eb3c1a5282 Dmitry Gorbachev:
- Fix DriverEntry name.
See issue #2073 for more details.

svn path=/trunk/; revision=34301
2008-07-05 11:37:35 +00:00
Christoph von Wittich
4409400b6b don't try to dereference NULL pointers
now Avira AntiVir installs without crashing the whole system

svn path=/trunk/; revision=34300
2008-07-05 09:19:56 +00:00
Colin Finck
138bd07f65 Convert the dnsapi stuff to a consistent 4 spaces indentation
svn path=/trunk/; revision=34298
2008-07-04 22:41:28 +00:00
Colin Finck
458e927317 Fix heap corruptions and memory leaks in dnsapi
Patch by Samuel Serapión with some modifications by me after discussing it with Art Yerkes

See issue #3387 for more details.

svn path=/trunk/; revision=34297
2008-07-04 21:51:54 +00:00
James Tabor
b82fda4139 Add two more query window types.
svn path=/trunk/; revision=34296
2008-07-04 18:52:22 +00:00
Johannes Anderwald
033f85022a - fix typo
svn path=/trunk/; revision=34295
2008-07-04 18:10:59 +00:00
James Tabor
1d96233453 Use PostOrSend instead of just Send. Works much better.
svn path=/trunk/; revision=34294
2008-07-04 17:55:56 +00:00
Aleksey Bragin
c2eaa10731 Peter Oberndorfer <kumbayo84@arcor.de>
- Implement %p for scanf.

svn path=/trunk/; revision=34293
2008-07-04 12:39:43 +00:00
Aleksey Bragin
b33ec42e10 Dmitry Gorbachev:
- FreeLoader first reads entire ntoskrnl.exe (about 20M) into memory, then copies it to other address. Now, freeldr reads it straight to the place, not allocating extra memory for buffer.
- Aleksey: This changes should be eventually adopted and merged into winldr's peloader.c.
See issue #3447 for more details.

svn path=/trunk/; revision=34292
2008-07-04 10:36:03 +00:00
Aleksey Bragin
97f94beafc - There is no working strsafe lib yet, so including its header is meaningless.
svn path=/trunk/; revision=34291
2008-07-04 08:45:01 +00:00
Colin Finck
57e8b1c4e5 Remove the strsafe library, it was imported from a dubious source, which is incompatible with the LGPL
svn path=/trunk/; revision=34290
2008-07-04 08:24:37 +00:00
James Tabor
709931f91a - Moved WM_ACTIVATEAPP calles before WM_NC/ACTIVATE calls.
- Implemented GetLastActivePopup, based on wine.
- Fixed DCE, pass all tests, except six clipping and one ROP check, which might be due to DCX_NORESETATTRS flag not being reset during the next GetDCEx call. <Researching>


svn path=/trunk/; revision=34289
2008-07-04 04:55:18 +00:00
Jeffrey Morlan
8912b7b4c8 - BITMAP_Cleanup: Fix leak of DIBSECTION structure; remove redundant ifs.
- NtGdi(Get|Set)BitmapDimension: SEHify; set ERROR_INVALID_HANDLE on a bad non-NULL bitmap.
- NtGdiGetDCforBitmap: Don't crash on bad bitmap.

svn path=/trunk/; revision=34288
2008-07-04 00:05:31 +00:00
Daniel Reimer
8bf777a515 Polish Translation Update for Calc by Olaf Siejka.
svn path=/trunk/; revision=34287
2008-07-03 19:41:46 +00:00
James Tabor
ef488c15c7 Add warning for GetLastActivePopup.
svn path=/trunk/; revision=34286
2008-07-03 18:19:16 +00:00
Johannes Anderwald
2d56ad648c - add an empty dialog resource
- implement initializing the dialog
- fixes bug 3443

svn path=/trunk/; revision=34285
2008-07-03 16:46:39 +00:00
Jeffrey Morlan
32111e8715 Fix menu leaks in explorer
svn path=/trunk/; revision=34284
2008-07-03 15:58:37 +00:00
Jeffrey Morlan
9865603d81 Don't use msvcrt functions in kernel32; it will cause bug 3373 to reappear
svn path=/trunk/; revision=34283
2008-07-03 14:57:37 +00:00
Aleksey Bragin
4b6c66431e - Fix double linking of snprintf (_snprintf should be used in CRT).
- Add a #undef guard for snprintf in consistency with how it previously was implemented in CRT.

svn path=/trunk/; revision=34282
2008-07-03 12:07:12 +00:00
Christoph von Wittich
d6d4af57f2 fix a typo
svn path=/trunk/; revision=34281
2008-07-03 10:19:12 +00:00
Christoph von Wittich
8d35fff61b fix a typo
svn path=/trunk/; revision=34279
2008-07-03 08:16:34 +00:00
Pierre Schweitzer
33941ca644 Apply same fix to trunk, but without commented out code.
This fixes ReactOS freezes when installing VMware driver using vmwinst and browsing a NTFS volume...

svn path=/trunk/; revision=34278
2008-07-03 07:32:14 +00:00
James Tabor
d95752ca22 GetLastActivePopup is still unimplemented, we return the current window handle if it is valid.
svn path=/trunk/; revision=34276
2008-07-03 07:17:32 +00:00
Matthias Kupfer
0dd1a22450 - Fix to allow characters for computer name as specified in MSDN, even '-'
- See issue #3304 for more details.

svn path=/trunk/; revision=34275
2008-07-03 07:09:05 +00:00
James Tabor
8e5bf80622 - Fixed an issue with Avira AntiVir Personal, reported by Christoph von Wittich.
- GetLastActivePopup is unimplemented and returns a zero. So User32 locally checks and sees the zero and passes it to win32k for processing. There an (kbug) exception is thrown.


svn path=/trunk/; revision=34274
2008-07-03 07:05:50 +00:00
Christoph von Wittich
020dfee9f8 don't crash when no command line argument is given
svn path=/trunk/; revision=34273
2008-07-03 07:01:19 +00:00
James Tabor
c84f6bb63c Move PostMessage out of gdi into user.
svn path=/trunk/; revision=34272
2008-07-03 06:29:30 +00:00
James Tabor
71b125ad4f Fix MSVC issue.
svn path=/trunk/; revision=34271
2008-07-03 05:58:33 +00:00
James Tabor
ef1ec36884 Bug 972:
- Fixes the problem of selecting Explorer START menu than mouse over and clicking another application.
- Doesn't fix the problem of selecting Explorer START menu than mouse over to the opened file Explorer and clicking on it.
- Why, one might ask? The file Explorer shares the same TID.



svn path=/trunk/; revision=34270
2008-07-03 04:51:51 +00:00
James Tabor
09b382e570 Cleanup drawing lines and curves with round rect.
svn path=/trunk/; revision=34268
2008-07-02 18:12:07 +00:00
Jeffrey Morlan
6b4f247e21 - NtGdiAlphaBlend: If hDCSrc == hDCDest and a bitmap can't be locked, don't unlock the DC twice. Fix typo in if condition which prevented detection of bad source bitmap.
- NtGdiBitBlt: Fix null pointer access when cleaning up after failure to lock source bitmap.
- NtGdiStretchBlt: Fail gracefully if a bitmap can't be locked. Don't delete XlateObj if it couldn't be created.
- NtGdiPolyPatBlt: Actually *use* the safe copy that so much code was dedicated to creating. :)
- Trim a few bits of redundant code.

svn path=/trunk/; revision=34267
2008-07-02 17:20:28 +00:00
Colin Finck
d1a42af5b7 Simplify the code for fputwc, when the file is opened in text mode.
I verified this behaviour with a test app under Windows XP SP2. This is also the code used by the fputwc function of our previous msvcrt.

svn path=/trunk/; revision=34266
2008-07-02 16:07:01 +00:00
Dmitry Chapyshev
9bd1f760d5 - Update Russian translation
svn path=/trunk/; revision=34265
2008-07-02 16:06:19 +00:00
Dmitry Chapyshev
a94dc7e23b - Add Latin American keyboard layout
svn path=/trunk/; revision=34264
2008-07-02 15:58:34 +00:00
Dmitry Chapyshev
602309167a - Add Irish keyboard layout
svn path=/trunk/; revision=34263
2008-07-02 15:12:55 +00:00
Dmitry Chapyshev
a566b6485d Add keyboard layouts by Alexey Komarov:
- Thai Kedmanee
- Thai Pattachote
- Thai Pattachote (non-ShiftLock)

svn path=/trunk/; revision=34262
2008-07-02 14:08:45 +00:00
Dmitry Chapyshev
27440be42f - Rename kbdth to kbdth2 (part 2/2)
svn path=/trunk/; revision=34261
2008-07-02 13:47:42 +00:00
Dmitry Chapyshev
f04564f0d4 - Rename kbdth to kbdth2 (part 1/2)
svn path=/trunk/; revision=34260
2008-07-02 13:43:51 +00:00
Johannes Anderwald
284853b90b - don't trim spaces at the end of a value as it might be part of the value
- fixes the boot menu timeout text disalignment from bug 3437
- behaviour verified with Microsoft Windows Vista SP2+

svn path=/trunk/; revision=34259
2008-07-02 13:40:49 +00:00
Aleksey Bragin
fc3136e93d - Prevent crashes when heapPtr is NULL, also fix broken heap magic output. Thanks Mephisto!
svn path=/trunk/; revision=34256
2008-07-02 10:00:12 +00:00
Ged Murphy
30db39bf92 - the lib has an entry point
- remove all non-needed stuff

svn path=/trunk/; revision=34255
2008-07-02 08:49:10 +00:00
Dmitry Chapyshev
a1ae582c40 - Add msvcrt40 to bootcd
svn path=/trunk/; revision=34254
2008-07-02 08:22:52 +00:00
Dmitry Chapyshev
6f84c37511 - Add baseaddress for msvcrt40
svn path=/trunk/; revision=34253
2008-07-02 08:21:39 +00:00
Dmitry Chapyshev
ec768a7f1b - Add msvcrt40 from Wine
svn path=/trunk/; revision=34252
2008-07-02 08:20:43 +00:00
Dmitry Chapyshev
6972015191 - Sync with Wine HEAD
svn path=/trunk/; revision=34251
2008-07-02 08:19:00 +00:00
Dmitry Chapyshev
56be7bf03b - Update gdiplus headers
svn path=/trunk/; revision=34250
2008-07-02 08:18:06 +00:00
James Tabor
1f2c432f83 Fix build.
svn path=/trunk/; revision=34249
2008-07-02 07:54:01 +00:00
James Tabor
d170af286f Arc, RoundRect:
- Converted over to use the new draw/fill square algorithm for draw arcs and draw/fill round rects.
- Tested with (Area.exe) Yuan program. Getting better.



svn path=/trunk/; revision=34248
2008-07-02 07:47:23 +00:00
Pierre Schweitzer
2964504432 Added myself to CREDITS
No comments :p

svn path=/trunk/; revision=34246
2008-07-02 07:06:27 +00:00
Johannes Anderwald
d8c13e4ea7 - add AUTOCHECKBOX style to all 3 checkboxes on general page for all languages
- enable/disable checkboxes when normal/diagnostic startup is selected
- automatically select normal startup checkbox as other options are not implemented
- bug 1986

svn path=/trunk/; revision=34243
2008-07-01 22:36:31 +00:00
Johannes Anderwald
162f616b54 - check the checkboxes of the services which have the running state
- bug 1986

svn path=/trunk/; revision=34241
2008-07-01 22:01:13 +00:00
Matthias Kupfer
9c0eb1bf25 Paolo Devoti <devotip AT tiscali DOT it>
- Italian translation patch for usetup, regedit and shell32
- See issue #3435 for more details.

svn path=/trunk/; revision=34240
2008-07-01 19:25:12 +00:00
Pierre Schweitzer
6cc054e590 Partly merged r34238
svn path=/trunk/; revision=34239
2008-07-01 19:05:42 +00:00
Aleksey Bragin
344f0672d5 - Yes, Alex's code is perfect, sorry.
svn path=/trunk/; revision=34237
2008-07-01 17:59:29 +00:00
Jeffrey Morlan
9c124a2de5 Fix under-allocation in LsaQueryInformationPolicy. (Bug 3428)
svn path=/trunk/; revision=34236
2008-07-01 16:35:01 +00:00
James Tabor
9f5ede7adb Arc, Ellipse:
- Converted over to use the new fill square algorithm for fill arcs and draw/fill ellipse.
- Tested with (Area.exe) Yuan program. Chord work and the CW/CCW works as it should.
- The pie angle still floats with aspect ratio of ellipse and not point fixed. Work in progress.


svn path=/trunk/; revision=34233
2008-07-01 13:30:44 +00:00
Aleksey Bragin
fda8db4dd3 Yuri Sidorov <jura@cp-lab.com>
- Prevent boolean flags from being optimized away by compiler (due to PSEH usage) by making them volatile.
See issue #3408 for more details.

svn path=/trunk/; revision=34232
2008-07-01 10:48:50 +00:00
Aleksey Bragin
a1afb268dd - Fix code comments, in addition to 34230.
See issue #3426 for more details.

svn path=/trunk/; revision=34231
2008-07-01 10:40:20 +00:00
Aleksey Bragin
45d38334d5 - Fix a problem with normal and special APCs being inserted in the wrong order, spotted by Jury Sidorov. Now Borland Turbo Debugger should be able to debug applications, also it can fix hangs in other applications.
- When delivering kernel APC, set the pending flag to false (by analogy with delivering user APC and clearing its pending flag).
See issue #3426 for more details.

svn path=/trunk/; revision=34230
2008-07-01 10:08:14 +00:00
James Tabor
8aec8d2388 Setup drawing default to CCW not CW.
svn path=/trunk/; revision=34229
2008-07-01 05:24:58 +00:00
James Tabor
5f35dd6071 Attempt to fix set palette issue. See bug 733.
svn path=/trunk/; revision=34228
2008-07-01 03:39:12 +00:00
Jeffrey Morlan
388fc6e94e - Don't use ntdll's RtlDuplicateUnicodeString in kmode; it allocates from the process heap. Instead, allocate from pool and copy the string manually.
- Get rid of other ntdll imports (memcmp in freetype, tan in win32k) and instead link the functions statically, so ntdll is no longer loaded at all in kmode. Saves about 550kB of memory.
- Also remove unused <library>hal</library> in freetype.

svn path=/trunk/; revision=34227
2008-06-30 23:58:48 +00:00
Colin Finck
75e6f09822 Change the code page to 1252 in the Swedish translation to fix some characters (discovered by Harteex on IRC)
svn path=/trunk/; revision=34226
2008-06-30 21:22:33 +00:00
Marc Piulachs
dc4f087e94 - Fix a bug in cdfile that was preventing to use the 'nameoncd' attribute
svn path=/trunk/; revision=34225
2008-06-30 19:12:16 +00:00
Marc Piulachs
151b3dafa6 - hackfix unbootable image (part 2/2)
svn path=/trunk/; revision=34224
2008-06-30 18:33:13 +00:00
Marc Piulachs
c259af1c8d - hackfix unbootable image (part 1/2)
svn path=/trunk/; revision=34223
2008-06-30 18:27:31 +00:00
Jeffrey Morlan
d4687baa63 Get explorer working again, by making wmain explicitly call the C++ initialization function __main. gcc only adds the call automatically in a function called main.
svn path=/trunk/; revision=34222
2008-06-30 16:18:46 +00:00
Timo Kreuzer
678dcf823c fix normaliz build
svn path=/trunk/; revision=34221
2008-06-30 14:52:30 +00:00
Daniel Reimer
60c4f5e798 Update ROSCalc to version 1.09 to fix some bugs.
* Fixed bug with Conversion function: "Category" type must be found like "from" and "to" because the combobox sorts its items alphabetically.
* Fixed bug with memory function and GNU multi-precision libraries: the memory must be initialized to zero when the calculator starts, otherwise "MP" will crash.
* Fixed bug when closing an expression with right parentheses.

svn path=/trunk/; revision=34220
2008-06-30 13:47:42 +00:00
Colin Finck
cfee3fb383 Fix a typo
svn path=/trunk/; revision=34219
2008-06-30 13:07:25 +00:00
Colin Finck
1f305e171d - Don't create a temporary batch file through "echo" commands and replace the double quotation marks by single quotation marks.
This way we are only bound to the CreateProcess limit (32767 characters) and not to the maximum cmd command line (8192 characters). Fixes the "Line too long" problems some people were experiencing.
  Thanks to Yury Sidorov on ros-dev for the hint.
- Simplify the GenerateLinkerCommand code by removing a duplicated code path, which existed for a bug closed some time ago.
  Thanks to Hervé for the hint.

svn path=/trunk/; revision=34218
2008-06-30 12:56:47 +00:00
Marc Piulachs
0feca9ed45 - txtsetup.sif and unattend.inf are not arch dependent so move them back to bootdata.rbuild
svn path=/trunk/; revision=34216
2008-06-30 09:36:57 +00:00
Marc Piulachs
4ecfe76505 - try to fix build (NOT TESTED). This is a temporary solution however. Most of the registry information must be dynamically generated by rbuild and the rest in from of .inf files during 2nd stage setup
svn path=/trunk/; revision=34215
2008-06-30 09:28:28 +00:00
ReactOS Portable Systems Group
2ace5cc90d - Disable building any other driver than ramdisk.sys and cdfs.sys. Only these two are required for ramdisk booting to user-mode for our purposes.
- Ramdisk does not depend on Class2 or ScsiPort.
- Disable loading any other driver than ramdisk.sys and cdfs.sys. We won't support PCI and the storage stack for a while, so ramdisks are the best and quickest way to test the actual kernel and get to user-mode as soon as possible to continue work on the VM management inisde Mm.
- We get up to RamdiskAddDevice (not yet implemented)!


svn path=/trunk/; revision=34214
2008-06-30 09:07:30 +00:00
ReactOS Portable Systems Group
13f1de2b3a - Fix license header for this file.
svn path=/trunk/; revision=34213
2008-06-30 08:54:30 +00:00
ReactOS Portable Systems Group
3309c46e24 - Make copies of the registry inf data for arm
svn path=/trunk/; revision=34212
2008-06-30 08:53:49 +00:00
ReactOS Portable Systems Group
6bca61aa4b - Registry configuration will likely end up having arch-specific settings, so separate bootdata folder for each architecture.
- If we move away from a standard inf file (not necessarly a good idea), we may be able to return back to a single directory and dynamically generate .inf data.
- Update rbuild to deal with this new fact.


svn path=/trunk/; revision=34211
2008-06-30 08:51:19 +00:00
ReactOS Portable Systems Group
926d44768b - Add driver database code to FreeLDR (using ReactOS-style LoadOrderListHead instead of BootDriversListHead, oh well!).
- This means we actually load and parse drivers now!!! Some Mm work was required to support unloading and remapping: MmDeleteVirtualMapping is now implemented.
- We can now see scsiport.sys and atapi.sys strings displayed on the LCD.
- Implemented HalQuery/SetDisplayParameters, HalQuery/ReleaseDisplayOwnership and HalDisplayString just like on x86.
- Since we now load symbols for the drivers (or at least try to), stubbed DebugService2, which also shows us what's being loaded.
- Extended the Loader MemoryType array to include XIP/RAM Disk Memory.  


svn path=/trunk/; revision=34210
2008-06-30 08:40:54 +00:00
ReactOS Portable Systems Group
d9a5d8e476 - Fix broken check for ramdisk boot path... *sigh* please test your patches.
svn path=/trunk/; revision=34209
2008-06-30 07:06:48 +00:00
James Tabor
a65dadb6eb Cleanup code.
svn path=/trunk/; revision=34208
2008-06-30 06:45:45 +00:00
James Tabor
d20f879eaf Fix drawing pie fill aligment.
svn path=/trunk/; revision=34207
2008-06-30 05:11:39 +00:00
ReactOS Portable Systems Group
09f0fa3748 - Fix the ARM build after the commit by hpoussin which had broken it (with a good change, nonetheless).
svn path=/trunk/; revision=34206
2008-06-30 02:50:42 +00:00
ReactOS Portable Systems Group
be2d1988db - Plug in RAM Disk boot support in the loader.
svn path=/trunk/; revision=34205
2008-06-30 02:47:14 +00:00
ReactOS Portable Systems Group
e7756d443d - Add RAM disk support to FreeLDR and to the NTLDR emulation layer in the kernel for non-clean archs (ppc and x86)
svn path=/trunk/; revision=34204
2008-06-30 02:42:12 +00:00
ReactOS Portable Systems Group
96f1392d7b - Call IopStartRamdisk if booting from one. This completes kernel-side RAM disk boot support
svn path=/trunk/; revision=34203
2008-06-30 02:18:04 +00:00
ReactOS Portable Systems Group
3cc3ad057f - Plug in RAM disk boot support (kernel-side)
svn path=/trunk/; revision=34202
2008-06-30 02:15:48 +00:00
ReactOS Portable Systems Group
662c3b62fe - Define NT RAM Disk device interface (100% compatible with Microsoft ramdisk.sys)
svn path=/trunk/; revision=34201
2008-06-30 02:13:53 +00:00
ReactOS Portable Systems Group
e114abfb64 - Add RAMDISK_BOOT_INITIALIZATION_FAILED bugcheck code
svn path=/trunk/; revision=34200
2008-06-30 02:11:46 +00:00
ReactOS Portable Systems Group
a2931ebaf1 atoi64 is available without MSVCRT, through ntdll or ntos
svn path=/trunk/; revision=34199
2008-06-30 02:10:41 +00:00
James Tabor
eb8611b79f Add and fix path calls. This allows more drawing tests (Area.exe by Yian)to pass based on observation.
svn path=/trunk/; revision=34198
2008-06-30 00:47:58 +00:00
Colin Finck
3150ee723e Attempt to fix build
svn path=/trunk/; revision=34196
2008-06-29 21:18:31 +00:00
Matthias Kupfer
65511035e1 Radek Liska <radekliska AT gmail DOT com>
- Czech translation patch for several parts
- See issue #3413 for more details.

svn path=/trunk/; revision=34194
2008-06-29 20:36:47 +00:00
Matthias Kupfer
683a83c2c5 Nicolas Sapa < reactos AT byme DOT at>
- Patch to fix build of rosapps.
- See issue #3420 for more details.

svn path=/trunk/; revision=34193
2008-06-29 20:12:42 +00:00
Johannes Anderwald
71cf45cfa3 If there is no process name passed in, try to obtain the console title. If that does not work either, use default of cmd.exe as a title.
- fixes bug 3397

svn path=/trunk/; revision=34192
2008-06-29 17:26:38 +00:00
Hervé Poussineau
5fb69fcf60 Fix typo
svn path=/trunk/; revision=34191
2008-06-29 15:45:18 +00:00
Hervé Poussineau
112d32b2eb NTOSKRNL_SHARED should not contain linker parameters in compiler form
svn path=/trunk/; revision=34190
2008-06-29 15:11:16 +00:00
Hervé Poussineau
1772c969ed Move some more linker args to temp file, so command line is not too long
Fix link of C++ kernel mode dlls/drivers

svn path=/trunk/; revision=34189
2008-06-29 13:49:39 +00:00
James Tabor
6a4e897e5c Sorry fixed Ellipse, see bug 3337.
svn path=/trunk/; revision=34188
2008-06-29 13:23:08 +00:00
Hervé Poussineau
7689eddcc2 Link C++ programs against target libraries, not host ones
Remove most of <linkerflag> usage

svn path=/trunk/; revision=34187
2008-06-29 12:47:22 +00:00
Hervé Poussineau
d595a43107 Add an option to disable precompiled headers
svn path=/trunk/; revision=34186
2008-06-29 12:42:11 +00:00
Dmitry Chapyshev
b6e4377917 - More implement "Audio" dialog
svn path=/trunk/; revision=34185
2008-06-29 12:30:36 +00:00
Dmitry Chapyshev
f34438b93e - Small implement "Audio" dialog
- Add setupapi.lib to rbuild-file
- Return ERROR_DI_DO_DEFAULT in MediaClassInstaller function

svn path=/trunk/; revision=34183
2008-06-29 10:13:55 +00:00
Colin Finck
57e5fca63f Attempt to fix build (broken by hpoussin in r34179)
svn path=/trunk/; revision=34181
2008-06-29 09:44:46 +00:00
Aleksey Bragin
0bb26e2025 - Revert 22081 by Magnus Olsen:
"fixing two hiden bug in reactos, null termante the string right at end, code tested in vs, but it seam no affact on wine test mscvrt printf test. What hell is the snprintf  function call to ??".
Instead of fixing "hidden bugs", it introduced a real very well hidden bug, which was overwriting the target buffer and thus corrupting everything starting from the heap, and ending with pools. It's possible to install and run OO2 Writer now.
See issue #3311 for more details.

svn path=/trunk/; revision=34180
2008-06-29 09:39:06 +00:00
Hervé Poussineau
452122a506 Use __REACTOS__ define instead of _ROS_ one
svn path=/trunk/; revision=34179
2008-06-29 09:32:30 +00:00
Aleksey Bragin
16d2ca207f Roel Messiant <roelmessiant@gmail.com>
- Fix one of the oldest bugs: "ROS can not parse partition table corectly". The original macro that calculates the space casts the value to ULONG, while ULONGLONG math is required here.
See issue #950 for more details.

svn path=/trunk/; revision=34174
2008-06-29 08:33:21 +00:00
Aleksey Bragin
911fc42a9f - Fix exception handling in MiDoMapped/PoolCopy by fixing a typo in SEH_YIELD usage.
See issue #3408 for more details.

svn path=/trunk/; revision=34172
2008-06-29 08:10:18 +00:00
Aleksey Bragin
ab5634f252 - Fix a problem spotted by Juriy Sidorov in bug 3415. With this fix applied, GDB is able to work much better - be able to write in memory, set breakpoints, etc.
See issue #3415 for more details.

svn path=/trunk/; revision=34171
2008-06-29 08:03:25 +00:00
ReactOS Portable Systems Group
c50bcc2c12 - Implement beginnings of Ramdisk Port Driver. Planning compatibility with ISO, SDI and WIM files and full Windows support.
- New license for our code.


svn path=/trunk/; revision=34170
2008-06-29 02:58:05 +00:00
James Tabor
4d7d62eded Arc:
- Ported GraphApp draw arc fill algorithm. It was faster than X11. Include copyright license in header.
- Now we can draw pies and arcs and fill them, need to test chord fill.

svn path=/trunk/; revision=34169
2008-06-29 01:19:46 +00:00
Hervé Poussineau
87f7930820 Operator new[] should go with delete[]
svn path=/trunk/; revision=34168
2008-06-28 19:49:04 +00:00
Aleksey Bragin
0c8aa0ca08 - Implement a gatewait case (was "tested" with a "Not yet supported" bug previously in the tree; DPRINT1 is left there for further testing).
- Fix a bug in KeRemoveQueueApc: the code was always removing the first entry in the APC queue
instead of the actual APC. This should fix weird user-mode timer bugs. (Spotted in bug 3354).
See issue #3354 for more details.

svn path=/trunk/; revision=34167
2008-06-28 19:23:23 +00:00
Matthias Kupfer
f75f7a44c4 Mario Kacmar <kario AT szm DOT sk>
- Slovak translation patch for several cpl, newdev and shell32
- See #3414 for more details.

svn path=/trunk/; revision=34163
2008-06-28 17:17:40 +00:00
Dmitry Chapyshev
ced746b43b - Update Russian translation
svn path=/trunk/; revision=34162
2008-06-28 17:13:14 +00:00
Matthias Kupfer
7d5a4d21d9 Artem Reznikov <temarez AT yandex DOT ru>
- Ukrainian translation patch for kbswitch and shell32
- See #3405 for more details.

svn path=/trunk/; revision=34161
2008-06-28 17:03:36 +00:00
Matthias Kupfer
1ced8005de Carlo Bramix <carlo DOT bramix AT libero DOT it>
- Resource patch for italian syssetup
- See issue #3386 for more details.

svn path=/trunk/; revision=34160
2008-06-28 16:55:44 +00:00
Hervé Poussineau
ec92a60952 Fix GetUserNameA/GetComputerNameExA
Patch by Carlo Bramini, carlo dot bramix at libero dot it
See issue #1859 for more details.

svn path=/trunk/; revision=34159
2008-06-28 16:51:42 +00:00
Matthias Kupfer
0b91e99584 Javier Remacha (remialdo AT gmail DOT com):
- Translation patch for spanish and basque.
- See issue #3376 for more details.

svn path=/trunk/; revision=34158
2008-06-28 16:48:48 +00:00
Johannes Anderwald
3284c385e9 - update swedish translation by Andreas Bjerkeholt
- include swedish translation in build

svn path=/trunk/; revision=34157
2008-06-28 16:00:13 +00:00
Johannes Anderwald
56f7facc27 - fix a buffer overflow leading to disapperance of file type text
- introduced in rev 34133

svn path=/trunk/; revision=34155
2008-06-28 13:40:00 +00:00
Hervé Poussineau
f15da5c4d1 Set callbacks sooner, as they may be called during InitializeHandler
Patch by Michael Martin, martinmnet at hotmail com
See issue #3355 for more details.

svn path=/trunk/; revision=34154
2008-06-28 13:36:48 +00:00
Hervé Poussineau
b76f3d2447 Allow '-' character in computer name
See issue #3304 for more details.

svn path=/trunk/; revision=34153
2008-06-28 13:19:18 +00:00
Johannes Anderwald
88b230362c - only display filename in the title for the file property dialog
- pass the stripped filename to SH_FileVersionDlgProc
- fix identation
- fix bug 3401

svn path=/trunk/; revision=34152
2008-06-28 13:15:16 +00:00
Johannes Anderwald
e66d0d8a49 - enable/disable edit field when checkbox is (de)-selected
- initialize range control
- use ES_NUMBER style for edit text
- recovery options handling is not yet implemented
- the resource for czech, denmark, hungary, japan, netherlands, sweden must be manually synced
- fixes bug 3390

svn path=/trunk/; revision=34151
2008-06-28 12:48:06 +00:00
Dmitry Chapyshev
52b4297ad6 - Revert calc icons
svn path=/trunk/; revision=34148
2008-06-28 09:51:19 +00:00
Aleksey Bragin
327e211705 - Fix broken links.
svn path=/trunk/; revision=34144
2008-06-28 07:52:54 +00:00
Daniel Reimer
9656b7a6e1 Try to translate Calc to German. I had my fun with all those new Units... Hopefully I did it right. Feel free to correct my errors ;)
Btw. LOVELY new Convert Feature, Carlo.

svn path=/trunk/; revision=34142
2008-06-27 19:52:25 +00:00
Daniel Reimer
c430e8ab31 Update ROSCalc to Version 1.08.
German Translation will be Updated later. Translators, WORK 4 YA

svn path=/trunk/; revision=34141
2008-06-27 18:53:01 +00:00
Pierre Schweitzer
086ce90f5f Updated Polish translation for Shell32.dll by Olaf Siejka and for Syssetup.dll patch by Maciej Bialas
See issue #3411 for more details.

svn path=/trunk/; revision=34138
2008-06-27 17:47:10 +00:00
Pierre Schweitzer
540c78a8b9 Updated French translation for Shell32.dll
svn path=/trunk/; revision=34137
2008-06-27 17:43:25 +00:00
Dmitry Chapyshev
4f6a32920d - Add fontext.dll
svn path=/trunk/; revision=34135
2008-06-27 17:34:08 +00:00
Aleksey Bragin
0cac013600 - NDK fix: ImageUsesLargePages in PEB appeared in Windows 2003 already (confirmed with SP1 though).
svn path=/trunk/; revision=34134
2008-06-27 17:26:10 +00:00
Johannes Anderwald
ff2f89953a - display default icon in file property dialog
svn path=/trunk/; revision=34133
2008-06-27 17:23:24 +00:00
Dmitry Chapyshev
312d6d1343 - Add inetmib1 to bootcd
- Add some defines to snmp.h

svn path=/trunk/; revision=34132
2008-06-27 17:12:18 +00:00
Dmitry Chapyshev
65b1258be3 - Add baseaddress for inetmib1 and fontext.dll
- Add information about inetmib1 to README.WINE

svn path=/trunk/; revision=34131
2008-06-27 17:10:18 +00:00
Dmitry Chapyshev
59c8e2bd8a - Add inetmib1.dll from Wine
- Small update snmpapi.def

svn path=/trunk/; revision=34130
2008-06-27 17:08:01 +00:00
Jeffrey Morlan
3e39fd7d36 Miscellaneous console bugfixes. See Bug 3267 for details.
svn path=/trunk/; revision=34129
2008-06-27 12:34:08 +00:00
James Tabor
4784315908 Path needed some love Phase II:
- Fixed path coordinate problem by enabling old code and fixing arc move to issues. See that code that everyone thought that had no real use was usefull after all.
- Found more image and region problems, see bug 3402.




svn path=/trunk/; revision=34128
2008-06-27 10:58:11 +00:00
Aleksey Bragin
e6e9edd880 - Add an initial breakpoint for usermode process startup, this makes usermode gdb debugging working. Spotted and tested by Yury Sidorov.
svn path=/trunk/; revision=34127
2008-06-27 09:50:52 +00:00
Johannes Anderwald
f3b1615f45 - use "FriendlyTypeName" key for file types when available
- allows to show translated file types in file property dialog

svn path=/trunk/; revision=34126
2008-06-27 09:18:43 +00:00
Johannes Anderwald
bf27f86d38 - remove duplicate properties entry in recycle bin context menu shell extension
- make string "empty recycle bin" translatable
- bug 3289

svn path=/trunk/; revision=34125
2008-06-27 08:53:55 +00:00
Aleksey Bragin
43695ec25d - NDK fixes.
svn path=/trunk/; revision=34124
2008-06-27 08:23:45 +00:00
Dmitry Chapyshev
98b03108e9 - Sync .nls-files with Wine HEAD
svn path=/trunk/; revision=34123
2008-06-27 06:43:08 +00:00
Dmitry Chapyshev
e75134e8d0 - Add some defines
svn path=/trunk/; revision=34122
2008-06-27 06:41:48 +00:00
ReactOS Portable Systems Group
445028acf9 - Implement KiApcInterrupt -- ACPs now work!
- Change some infinite loops to ASSERTs since bugchecks now work and we can better differentiate stubs versus loops versus unimplemented code.
- Add back the system call debug prints -- total hack to make the stack work.
- Add support for the ARC Disk Information/Signature in FreeLDR.
- We've reached a major, major milestone here folks -- the kernel bugchecks because no boot device was found (since we don't have any working drivers yet).
- We have a lot of stuff to fix before continuing, and code review will take some time.


svn path=/trunk/; revision=34121
2008-06-27 04:19:50 +00:00
ReactOS Portable Systems Group
7675e2b8be - Implement VidResetDisplay in BootVid-arm.
- Implement KiSaveProcessorControlState and make the appropriate changes to KPROCESSOR_STATE and KSPECIAL_REGISTERS on ARM to support this, as well as moving the ARM Register definitions from ntos to NDK.
- Implement RtlCaptureContext.
- With these changes, BSODs now work, but because of missing palette code, they are actually R(Red)SODs, which is awesome.
- Remove debug prints from system call code -- this ends up somehow corrupting the return values *sigh*. More work to be done there, defintely. We have now regressed but we have an RSOD.


svn path=/trunk/; revision=34120
2008-06-27 03:06:11 +00:00
James Tabor
64a20b3ace Path needed some love Phase I:
- Rewrite Path handle support and reordered path.c.
- Wine Sync/Port PATH_WidenPath and PATH_DoArcPart. Wine Path test results: 151 tests executed (0 marked as todo, 24 failures). 3 skipped.
- Found where the use of SelectObject in DC_InitDC, placed nulls into hbrush and hpen, I comment out and used StockObject and now default drawing works.
- Implemented AngleArc and most of Arc. This is very experimental and it does draw and does not crash.
- Cleaned up some files with extra <CR> at the end of lines.
- Fully tested: Taskmgr, FF 1.5, Abiword, drawing programs, and all.
- Note: Path drawing is majorly misaligned. Fill path will draw in one area and Stroke path will draw in another.
- Note: Trunk: Gdi wine DC test: dc.c:89 Failed to lock hDC, sometimes locking up the system. See bug 3333.

svn path=/trunk/; revision=34119
2008-06-27 00:06:46 +00:00
Marc Piulachs
69f86788f8 - small fix to create valid shortcuts when using the [ProfileItems] directive
- Add support for a third undocumented parameter to Name entry. reference http://www.msfn.org/board/Using-INF-file-to-create-shortcuts-anywh-t95621.html

svn path=/trunk/; revision=34118
2008-06-26 23:49:42 +00:00
Jeffrey Morlan
37f33b89cb Fix messed-up colors in taskbar icons in qemu 16bpp mode. BuildDIBPalette was previously assuming all 16bpp DIBs were 565.
svn path=/trunk/; revision=34117
2008-06-26 22:22:57 +00:00
Jeffrey Morlan
7816c09fea Make EnumDeviceDrivers and EnumProcessModules return the total size, even if the buffer is smaller. (from bug 3319)
svn path=/trunk/; revision=34112
2008-06-26 19:52:05 +00:00
Aleksey Bragin
558c11db56 Yuri Sidorov <jura@cp-lab.com>
- Properly set dwFirstChance member EXCEPTION_DEBUG_INFO structure returned by WaitForDebugEvent function.
- Properly handle dwContinueStatus parameter of ContinueDebugEvent function.

See issue #3393 for more details.

svn path=/trunk/; revision=34111
2008-06-26 19:16:59 +00:00
Jeffrey Morlan
ae7e228924 Fix infinite loop in PspDumpThreads
svn path=/trunk/; revision=34108
2008-06-26 16:23:45 +00:00
Marc Piulachs
4865f6c89b Clean up tools folder.
svn path=/trunk/; revision=34107
2008-06-26 16:01:59 +00:00
Marc Piulachs
b2f5b33c7f - remove no longer required bootsect.mak
svn path=/trunk/; revision=34106
2008-06-26 15:58:56 +00:00
Marc Piulachs
9534f47230 -Remove obsolete Makefile. Spotted by Stefan Ginsberg.
svn path=/trunk/; revision=34105
2008-06-26 15:52:22 +00:00
Daniel Reimer
7e7b3c88bb Some more RC File fixes. TBD. Rename Norsk RC Files correctly.
svn path=/trunk/; revision=34103
2008-06-26 14:14:59 +00:00
Daniel Reimer
3b767564ef Some more RC File fixes.
svn path=/trunk/; revision=34102
2008-06-26 14:14:52 +00:00
Daniel Reimer
6c4b4e1148 We do not support any Wine LANG, SUBLANG Inventions. Bye, WALON and ESPERANTO.
svn path=/trunk/; revision=34101
2008-06-26 13:39:39 +00:00
Christoph von Wittich
5616673582 don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34099
2008-06-26 12:26:31 +00:00
Christoph von Wittich
4bcfbf7b99 don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34098
2008-06-26 12:20:09 +00:00
James Tabor
eec2739a8b Patch by Jeffrey Morlan <mrnobo1024 at yahoo.com>: Rearrange code in NtGdiSelectBitmap to prevent deadlock. See bug 3333.
svn path=/trunk/; revision=34097
2008-06-26 12:05:38 +00:00
Aleksey Bragin
968033dd41 - Rewrite David Welch's Ansi function wrappers to reduce their code size, improve readability, and fix a bug of freeing of a non-allocated string. Spotted by Christoph vW.
svn path=/trunk/; revision=34096
2008-06-26 11:49:47 +00:00
Christoph von Wittich
00334059ac don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34095
2008-06-26 11:34:56 +00:00
Christoph von Wittich
d8e81826d2 don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34094
2008-06-26 10:22:24 +00:00
Christoph von Wittich
9ff626f764 don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34093
2008-06-26 09:35:59 +00:00
Aleksey Bragin
ed1f927907 Jeffrey Morlan <mrnobo1024@yahoo.com>
- Fix a major problem in pushlock implementation: if there are 2 or more
threads waiting for a lock, only one of them ever gets woken. ExfWakePushLock
is missing a break in its loop so it removes all the WaitBlocks instead of just
the last one.
- This fixes all "weird" hangs happening, including FF1.5 installer hang, VMWare Video Driver Installer hang, taskmgr tabs hang, and other similar problems.
See issue #3141 for more details.

svn path=/trunk/; revision=34092
2008-06-26 08:26:48 +00:00
ReactOS Portable Systems Group
2b63244bc8 - Fix several interlocked list functions -- they should return NULL if the list is empty.
- Fix a bug in FreeLDR-ARM, we forgot to set the RegistryLength, resulting in a corrupted registry. We can now load the system registry.
- Enable code to handle DPC, Timer and Deferred Ready cleanup (portable code that's already written).
- Enable code to handle quantum end.
- We now load all the way to IoInitSystem!IopInitializeBootDrivers.


svn path=/trunk/; revision=34091
2008-06-26 06:38:42 +00:00
Daniel Reimer
e84c1a5512 Update xcopy, winhlp32 and wordpad to Wine HEAD. I kept Fireball's changes, but plz send them to Wine, too.
The Lithuan, Ukrainian and Greek Translators of winhlp32 should do the same.

svn path=/trunk/; revision=34090
2008-06-26 06:12:44 +00:00
Daniel Reimer
88c5a596a1 Update write and winfile to wine 1.0
This gives us new Translations for write. (Norway, Netherlands, Russia, Slovak) and a updated Danish one for winfile.

svn path=/trunk/; revision=34089
2008-06-26 06:10:28 +00:00
ReactOS Portable Systems Group
241449fc0e - Save and restore the trap frame for the current thread when we take an interrupt, so that ISRs can read it.
- We use this in the clock ISR, that can now actually send the trap frame to KeUpdateSystemTime.
- Implement KeUpdateRunTime to handle time accounting and DPC rescheduling as well as Quantum End.
- Ignore quantum end for now.
- We now have a working timebase, and we're back to our earlier checkpoint around CmInitSystem1!.


svn path=/trunk/; revision=34088
2008-06-26 05:56:35 +00:00
ReactOS Portable Systems Group
227dc95404 - Fix totally broken KeUpdateSystemRuntime code... please at least read your code once before committing.
svn path=/trunk/; revision=34087
2008-06-26 05:26:10 +00:00
Aleksey Bragin
eed84f7eae - MAKELONG takes (loword, hiword), not (hiword,loword) as was used in wordpad.
svn path=/trunk/; revision=34085
2008-06-25 19:59:10 +00:00
ReactOS Portable Systems Group
d7928010a4 - We now implement the KeUpdateSystemTime routine and the HalpClockInterrupt.
- We do not yet handle all cases, most notably, timer expiration.
- There may still be some bugs to work out in the code, but it's a start.
- This regresses progress, but does not ignore time anymore.

svn path=/trunk/; revision=34084
2008-06-25 16:10:14 +00:00
Marc Piulachs
82cbbc6ac9 - Fix InstallSysSetupComponents: SetupInstallFromInfSection was being called with the wrong HINF handler
- Always check for application existence before creating the shortcut

svn path=/trunk/; revision=34083
2008-06-25 14:21:27 +00:00
Filip Navara
3c6dcb0d0d Change the logic and make the AnswerInPublic Command option opt-out instead of opt-in. Now everything except !help is allowed in public again (due to popular demand).
svn path=/trunk/; revision=34082
2008-06-25 14:13:21 +00:00
Filip Navara
3790fc1254 Fix answers to !winerror <hex number> command and to !error command.
svn path=/trunk/; revision=34081
2008-06-25 14:07:13 +00:00
Marc Piulachs
a46601a21c - miscellaneous small fixes
- add support for preventing all commands to be run on the channel by default. Now TechBot only answers some of the commands in PM
- add back the error Command

svn path=/trunk/; revision=34079
2008-06-25 13:23:59 +00:00
James Tabor
b7525df85d Jeffrey Morlan (mrnobo1024 at yahoo.com) - Fix ModifyWorldTransform multiplies. See bug 3314.
svn path=/trunk/; revision=34078
2008-06-25 11:47:12 +00:00
Colin Finck
93bd1eebe6 Jeffrey Morlan (mrnobo1024@yahoo.com)
- Fix a race condition in msgina, which occasionally led to hangs at "Loading your personal settings"

See issue #3384 for more details.

svn path=/trunk/; revision=34077
2008-06-25 11:12:42 +00:00
Aleksey Bragin
7a18c92616 - Fix broken 0-padding, spotted by Russel.
See issue #3385 for more details.

svn path=/trunk/; revision=34076
2008-06-25 09:07:41 +00:00
ReactOS Portable Systems Group
b5cddb8ef5 - Implement KiComputeTimerTableIndex and stub KeUpdateRunTime und KeUpdateSystemTime.
- Hitting checkpoint in trap.c: DPC/Timer Delivery!
- Must now implement clock interrupt in HAL.

svn path=/trunk/; revision=34075
2008-06-25 05:01:31 +00:00
Dmitry Chapyshev
3d51d8fa8a - Start implementing MediaClassInstaller function
svn path=/trunk/; revision=34074
2008-06-24 15:17:28 +00:00
Colin Finck
b79ef105f1 Get shell32 to compile warning-free
Patch by Stefan Ginsberg with minor modifications by me

svn path=/trunk/; revision=34073
2008-06-24 14:37:50 +00:00
ReactOS Portable Systems Group
aa2b83d508 - Implement MmGetPfnForProcess, MmIsPageSwapEntry.
- Fix a bug in MmDeletePageTable.
- Use MmCreateVirtualMappingForKernel when we are already in the right process context, and allow it to be used for addresses < KSEG0_BASE as well.
- We now have full memory mapped file support, and get all the way to CmInitSystem1.


svn path=/trunk/; revision=34072
2008-06-24 14:16:06 +00:00
Johannes Anderwald
f0d289f527 - fix typo
svn path=/trunk/; revision=34071
2008-06-24 12:57:56 +00:00
Johannes Anderwald
eb0b862540 - check for a valid file descriptor
svn path=/trunk/; revision=34070
2008-06-24 12:42:22 +00:00
Dmitry Chapyshev
4b8a3ba4d6 - Add stubs for more functions
svn path=/trunk/; revision=34069
2008-06-24 12:00:53 +00:00
Dmitry Chapyshev
13ddc0ef07 - Activate default layout on startup
svn path=/trunk/; revision=34068
2008-06-24 09:59:35 +00:00
Daniel Reimer
e8d6023ad5 Add Rbuild files for WineTestGUI.
I had to disable the Icons to be able to build it. They seem to be invalid.

svn path=/trunk/; revision=34067
2008-06-24 09:05:56 +00:00
Dmitry Chapyshev
2bd794488a - Update Russian translation
svn path=/trunk/; revision=34066
2008-06-24 08:10:16 +00:00
James Tabor
3780af2706 Add PS_JOIN_MASK to psdk.
svn path=/trunk/; revision=34065
2008-06-24 03:17:35 +00:00
Aleksey Bragin
97be5703d8 Cameron Gutman <aicommander@gmail.com>
- Initialize LastChanceShutdownList.
- Sndblst.sys and a bunch of other drivers using Io[Un]RegisterLastChanceShutdownNotification work now.
See issue #3331 for more details.

svn path=/trunk/; revision=34064
2008-06-23 21:36:14 +00:00
Aleksey Bragin
0f6b71ad04 Stefan Ginsberg <stefan__100__@hotmail.com>:
- Make user32 and kernel32 compile warning-free.

svn path=/trunk/; revision=34063
2008-06-23 18:57:10 +00:00
James Tabor
f99a2998d3 Fix typo.
svn path=/trunk/; revision=34062
2008-06-23 17:57:41 +00:00
ReactOS Portable Systems Group
a179aed613 - Fix broken system call handler with shitty but works system call handler.
- Fix broken .rbuild file -- not sure how this was supposed to build in the first place.
- This gets us further -- more of ARM Mm needs implementing.


svn path=/trunk/; revision=34061
2008-06-23 16:08:32 +00:00
Aleksey Bragin
bd7a8aac20 - Add a missing return in case of exception. Spotted by Stefan Ginsberg.
svn path=/trunk/; revision=34060
2008-06-23 14:55:55 +00:00
Aleksey Bragin
3a0ed2c825 - Fix CM SEH by public demand.
svn path=/trunk/; revision=34059
2008-06-23 12:45:27 +00:00
Daniel Reimer
832844b9fb Bug 3378: update for slovak by Mario Kacmar (kario@szm.sk)
Bug 3287: My network place properties not displayed correctly by Mario Kacmar (kario@szm.sk)
P.S. The Polish Translation in the previous Commit was made by Maciej Bialas, not Olaf Siejka.

svn path=/trunk/; revision=34058
2008-06-23 10:37:18 +00:00
Daniel Reimer
8ad26a0358 Bug 3367: Korean translation of regedit by Sengju Kim (admin@manateeshome.com)
Polish Translation of usrmgr by Olaf Siejka
Renamed the Rest of the Korean RC Files.

svn path=/trunk/; revision=34057
2008-06-23 09:57:46 +00:00
Daniel Reimer
ec9dd69633 Start to rename all Korean RC Files to "ko-KR.rc". "ko-KO.rc" was not correct.
svn path=/trunk/; revision=34056
2008-06-23 09:42:06 +00:00
ReactOS Portable Systems Group
8df8940a6e - The CRT sync by "fireball" is incorrect and results in a broken ntos kernel. Although it may work on i386 builds, it results in a corrupted kernel anyways. On ARM, we try to hackfix around it by not including some routines that should not be in the kernel but were being imported due to the broken crt changes.
- We do not attemp to build world anymore. We have handwritten a new ARM rbuild file that only builds what we need for our current ARM work.
- HAL and FreeLDR do not seem to have an "installpath"... why not? Added one at least for our ARM stuff, so that "make install" can drop the binaries.
- Fixed some ARM DDK macro inconsistencies, allow more drivers to build.
- It is now possible to use "make install -k" to drop a completely working ARM build onto an image due to all these changes.

svn path=/trunk/; revision=34055
2008-06-23 03:57:50 +00:00
James Tabor
835571354c Update credits.
svn path=/trunk/; revision=34054
2008-06-23 01:09:20 +00:00
Colin Finck
5882bc1cea - Rebuild the left popup menu containing the keyboard layouts on every click to take care of keyboard layout changes.
I know this is probably not the best way for doing the job, but I don't know of any other method to achieve the same.
- Change the right popup menu to only show the "Options" and "Exit" menu items (like ctfmon does)
- Add the missing 'return 0;' statements, when a message was handled

See issue #3372 for more details.

svn path=/trunk/; revision=34053
2008-06-22 21:59:27 +00:00
Colin Finck
f721678f57 Fix the messed up "freeldr_arch" rbuild file: Specify one "freeldr_arch" module and then the files to build based on the architecture, not a separate module per architecture
Patch by Alex

svn path=/trunk/; revision=34052
2008-06-22 21:43:02 +00:00
Colin Finck
955672158d Build host_wcsfuncs as a host static library, not a target static library
Fixes build for all non-Win32 hosts

svn path=/trunk/; revision=34051
2008-06-22 21:41:25 +00:00
Colin Finck
8d9b815544 Add a library "host_wcsfuncs" with implementations for UTF-16 string functions needed for some host tools
Instead of copying those functions into every host tool, which needs it (as we did previously), we can now implement them all in this library and link the host tools to it.
If USE_HOST_WCSFUNCS is not defined, the "wcsfuncs.h" file will define them to the CRT functions (so this library does not create overhead, when the code is built for the target platform)

See issue #3285 for more details.

svn path=/trunk/; revision=34050
2008-06-22 20:58:56 +00:00
Colin Finck
33c4221b1e Add support for a new environment variable ROS_GENERATE_RSYM to disable RSYM during the build
Patch by Alex

svn path=/trunk/; revision=34049
2008-06-22 18:38:12 +00:00
Colin Finck
c251e18523 Move wshtcpip to dll/win32, it's a DLL and not a driver
"Patch" by Alex

svn path=/trunk/; revision=34048
2008-06-22 18:19:19 +00:00
Aleksey Bragin
07a38cedf1 - Extend SEH to cover writing result to output arguments. Noticed by Stefan Ginsberg.
svn path=/trunk/; revision=34047
2008-06-22 16:24:15 +00:00
Aleksey Bragin
e1419be7cd SVN Maintenance: set eol-style:native for lib/sdk/crt.
svn path=/trunk/; revision=34046
2008-06-22 12:08:15 +00:00
Matthias Kupfer
39fd08d7ce - Seungju Kim <admin AT manateeshome DOT com>
- Korean translation of explorer-new added
- See issue #3368 for more details.
- Alexander Wurzinger <<Lohnegrim At gmx DOT net>
- Patch for the "CreateEnergyList failed"-Error added.
- See issue #2469 for more details.

svn path=/trunk/; revision=34045
2008-06-22 10:01:59 +00:00
Ged Murphy
7d842bd859 Don't link to libs we don't need
svn path=/trunk/; revision=34044
2008-06-21 23:27:23 +00:00
Ged Murphy
3c16ea89b9 - Auto expand the list of available tests
- Add the selected test to the main combo
- Tag the dll path to each combo item
- Run the test when the 'run' button is hit. 
We can now run all Wine tests from the GUI, but we get no feedback yet.

svn path=/trunk/; revision=34043
2008-06-21 19:19:22 +00:00
Aleksey Bragin
3ee18cdb67 - Provide a real fix for fwprintf and fputwc in case the output stream is in TEXT mode by doing a widechar to multibyte conversion.
- This should be submitted to Wine to close their bug.
See issue #3353 for more details.

svn path=/trunk/; revision=34042
2008-06-21 15:58:00 +00:00
Pierre Schweitzer
7cf55b1f25 Ext2 and NTFS:
- Remove FCB from the linked list when it's released
NTFS:
- Check we have a FCB before releasing it

svn path=/trunk/; revision=34041
2008-06-21 11:20:48 +00:00
Matthias Kupfer
1334454750 - fix hive for korean keyboard layout
Alexander Wurzinger <Lohnegrim At gmx DOT net>
- Patch to fix the "Pos InitData failed"-Error in power options.
- See issue #2469 for more details.

svn path=/trunk/; revision=34040
2008-06-21 10:08:09 +00:00
Pierre Schweitzer
3d5de429aa Bugfixes:
- Check whether we have a valid VCB before creating FCB
- Initialize FCBs list before using it...

svn path=/trunk/; revision=34039
2008-06-21 10:04:14 +00:00
Aleksey Bragin
cdd5ae5641 - vsn[w]printf -> _vsn[w]printf.
svn path=/trunk/; revision=34038
2008-06-21 10:00:59 +00:00
Aleksey Bragin
a04bcca3a3 Jeffrey Morlan <mrnobo1024@yahoo.com>
- Wrap libwine's memory allocations, avoiding msvcrt imports in kernel32
- The cause is that libwine/debug.c uses functions (malloc, free, realloc, _strdup) which are only present in a complete CRT, creating imports from msvcrt.dll in any module that uses it, including kernel32.dll. Since kernel32 is currently importing from msvcrt, kernel32 gets DLL_PROCESS_DETACHed first, creating a problem for msvcrt's DLL_PROCESS_DETACH which, as a result of a recent bugfix, now uses kernel32 functions that depend on the resources that were freed.
- Fix this by implementing those 4 functions as wrappers around the Local* APIs, in order to avoid the problematic imports.
See issue #3373 for more details.

svn path=/trunk/; revision=34037
2008-06-20 19:00:37 +00:00
Pierre Schweitzer
b22a7f63e8 Miscellaneous NTFS patch:
- Filled FCB structures with more informations
- Added them to linked list
- Set mounted volume to FILE_DEVICE_DISK_FILE_SYSTEM
- Various code cleanup

svn path=/trunk/; revision=34036
2008-06-20 18:40:57 +00:00
Ged Murphy
8683e62101 Don't forget to free the parent nodes
svn path=/trunk/; revision=34035
2008-06-20 11:39:31 +00:00
Ged Murphy
0537163f8d Save the select test info on close.
The browse dialog now lists all winetest dlls and allows selection of either all tests in all dlls, all tests within a dll, or the option to choose individual tests. (rewuires a modified winetest framework)

svn path=/trunk/; revision=34034
2008-06-20 11:20:26 +00:00
Ged Murphy
938f407a80 - build up test data for each node in the treeview and tag it
- traverse the tree recursively and free all data on close

svn path=/trunk/; revision=34033
2008-06-20 08:21:49 +00:00
Colin Finck
25f5cca19d Put a comment and an #if around the lines I changed in my previous commit, because the ##__VA_ARGS__ syntax was only tested with MSVC and GCC
svn path=/trunk/; revision=34032
2008-06-19 22:03:22 +00:00
Colin Finck
460379ac3f Reapply Ged's fix, this time correctly :-)
Thanks to hackbunny for pointing out that ##__VA_ARGS__ will strip the trailing comma and this works on both GCC and MSVC.

svn path=/trunk/; revision=34031
2008-06-19 21:57:32 +00:00
Ged Murphy
d726ab1152 revert the debug macros change, the entire codebase isn't ready for it yet
svn path=/trunk/; revision=34030
2008-06-19 21:40:08 +00:00
Ged Murphy
2db5b6cc04 Only call DbgPrintEx once for each debug macro. This stops trace info from being split over 2 lines in some tools, like DebugView.
svn path=/trunk/; revision=34029
2008-06-19 20:42:57 +00:00
Matthias Kupfer
0632ec63d8 - Template for korean keyboard layout implemented (TODO: kbdko.c needs modifications for korean keyboard layout)
- bootdata, hives and usetup modified for korean keyboard layout
- See issue #3345 for more details.
- Patch from Gabriel Ilardi <gabrielilardi [at] hotmail [dot] it> for timedate settings applied
- See issue #3251 for more details.



svn path=/trunk/; revision=34028
2008-06-19 17:58:43 +00:00
Colin Finck
fa77a22c50 GCC 4.3.x fixes for cabman and sysreg
Also clean up sysreg a bit and put all #include's for standard headers in the .h files. (they were spread around the .cpp and the .h files previously)

See issue #3370 for more details.

svn path=/trunk/; revision=34027
2008-06-19 17:07:38 +00:00
Aleksey Bragin
a00a86834c - Remove all string msvcrt->ntdll forwards: let's be consistent, either forward everything, or forward only something. I left assembly math functions though, since they are standalone and 100% identical.
- As a result, fixed a couple of incorrect functions linkage.
- Fixed a name of vsnprintf, so really msvcrt's version is used now, not RTL's one.

svn path=/trunk/; revision=34026
2008-06-19 13:08:46 +00:00
Aleksey Bragin
b1a06042c9 - Restored ACP/OEMCP/MACCP static entries (removed in 34010) - they are needed for LiveCD boot process.
svn path=/trunk/; revision=34025
2008-06-19 12:11:32 +00:00
Ged Murphy
671448e212 Add all modules within a test to the treeview
svn path=/trunk/; revision=34024
2008-06-19 11:57:14 +00:00
Aleksey Bragin
febcfe8913 - Revert 34010 completely, too much breakages. "Don't fix what's not broken".
svn path=/trunk/; revision=34023
2008-06-19 08:41:31 +00:00
Ged Murphy
b790fafdb2 add all test dlls into the treeview
svn path=/trunk/; revision=34022
2008-06-19 08:36:17 +00:00
Daniel Reimer
ab6d5a14d6 Bug 3362: Italian translation update by Paolo Devoti (devotip@tiscali.it)
svn path=/trunk/; revision=34021
2008-06-19 06:15:59 +00:00
James Tabor
a4a099099f Path does not work and it locks up the system with out any debug information. I will try to have it ready before 0.3.5 is release.
svn path=/trunk/; revision=34020
2008-06-19 01:47:57 +00:00
James Tabor
e402662f7e Set default miter limit.
svn path=/trunk/; revision=34019
2008-06-19 01:29:01 +00:00
Dmitry Chapyshev
2a4eb36d58 - Fix typos
svn path=/trunk/; revision=34018
2008-06-18 19:33:55 +00:00
Matthias Kupfer
2559061aa2 Jeffrey Morlan <mrnobo1024 AT yahoo DOT com>
- Patch for Optimizations of TextIntGetTextExtentPoint
- See issue #3366 for more details.

svn path=/trunk/; revision=34017
2008-06-18 19:15:37 +00:00
Ged Murphy
cda095c0fe The start of a GUI to make running the Wine API tests a pleasure rather than a pain.
This will plug into the new testing framework for the Wine tests, which will also publish it's results on a live website (if I can get Colin to help me with the web stuff ;) )
This is the time to pester me with requests / ideas anyone may have.

svn path=/trunk/; revision=34016
2008-06-18 19:10:39 +00:00
Dmitry Chapyshev
d73e9e4231 - Add rasacd driver (not implemented)
svn path=/trunk/; revision=34015
2008-06-18 19:00:50 +00:00
Dmitry Chapyshev
23b40d082d - Add "Alternate Sorts" keys (used by kernel32)
- Delete static codepages values (they are added in usetup)
- Add keys for powrprof/powercfg

svn path=/trunk/; revision=34014
2008-06-18 18:58:16 +00:00
Aleksey Bragin
297baed6c0 - Add a bit more DPFLTR items.
svn path=/trunk/; revision=34013
2008-06-18 17:56:07 +00:00
Dmitry Chapyshev
e612eaf998 - Small update icon
svn path=/trunk/; revision=34012
2008-06-18 16:48:25 +00:00
Dmitry Chapyshev
4cf0f9906b - Implement ReplaceFileA/W (not fully)
- Implement DnsHostnameToComputerNameA/W (not fully)
- Implement FoldStringA/W
- Implement SetCPGlobal (not tested)
- Implement TzSpecificLocalTimeToSystemTime
- Implement ReadFileScatter
- Implement WriteFileGather
- Other small changes
All based on Wine 1.0 implementation

svn path=/trunk/; revision=34010
2008-06-18 15:37:44 +00:00
Aleksey Bragin
f550691222 - Rename made-up Ob functions names to match publicly available NT names, as most of other Ob names do.
svn path=/trunk/; revision=34009
2008-06-18 12:28:29 +00:00
Aleksey Bragin
ab2b63b87b - More fixes to pushlock implementation:
* In ExTimedWaitForUnblockPushLock, check only for STATUS_SUCCESS (which is the only status return when the wait was satisfied, while other like STATUS_TIMEOUT would still be considered a success).
* In ExBlockPushlock, fix a typo when trying out an interlocked exchange with a new value - wrong value was assigned.
* In ExfAcquirePushLockShared, assign PushLock value passed to this function, not the NewValue, like it's done in ExfAcquirePushLockExclusive.
* In ExfReleaseReleasePushLockExclusive, fix a typo which led to incorrect behavior and not waking up the pushlock when it should be.

svn path=/trunk/; revision=34008
2008-06-18 11:34:10 +00:00
Matthias Kupfer
67572c740e - several german translation fixes
- missing file of issue #3365 added (see rev. 35004)

svn path=/trunk/; revision=34007
2008-06-18 11:19:07 +00:00
Aleksey Bragin
da950aee49 - Wake up a pushlock only if it wasn't waking already, not vice versa (was a typo in ExfAcquirePushLockExclusive, but was done correctly in ExfAcquirePushLockShared).
svn path=/trunk/; revision=34006
2008-06-18 09:53:38 +00:00
Matthias Kupfer
cd5d1959f0 Vytis Girdzijauskas <cman AT cman DOT us>
- Lithuanian translation of explorer-new and shimgvw
- See issue #3365 for more details.


svn path=/trunk/; revision=34005
2008-06-18 09:39:10 +00:00
James Tabor
7f2b7d7436 Implement Get/SetMiterLimit, with proper float containment.
svn path=/trunk/; revision=34004
2008-06-17 20:19:30 +00:00
Dmitry Chapyshev
9e2224d220 - Comment some languages
svn path=/trunk/; revision=34003
2008-06-17 20:11:22 +00:00
Dmitry Chapyshev
10ea44c612 - Add correct scrolling by keypress
svn path=/trunk/; revision=34002
2008-06-17 20:10:07 +00:00
Aleksey Bragin
9e8038303f Mikhail Zvyozdochkink <mzvyozd@narod.ru>
- Limit inputable max partition size to 999999 Mbs.
See issue #3356 for more details.

svn path=/trunk/; revision=34001
2008-06-17 18:42:20 +00:00
Aleksey Bragin
85dbdefb9f Daniel Zimmerman <netzimme@aim.com>
- Cosmetic fix: initialize pushlocks using a special macro, not by assigning 0 to its value.
See issue #3352 for more details.

svn path=/trunk/; revision=34000
2008-06-17 18:21:41 +00:00
James Tabor
9127f8cb64 Fix build
svn path=/trunk/; revision=33999
2008-06-17 05:33:46 +00:00
James Tabor
b5b4c9ab4b Update changes to Clip regions andregions. New support for Rao and Vis.
svn path=/trunk/; revision=33998
2008-06-17 05:19:08 +00:00
James Tabor
9dbc5faab4 Update NtUserSetSysColors.
svn path=/trunk/; revision=33997
2008-06-17 02:42:40 +00:00
Timo Kreuzer
8594831504 IntEngGradientFill: fix cleanup when calling the driver
svn path=/trunk/; revision=33996
2008-06-16 18:56:52 +00:00
Timo Kreuzer
2e105930d6 - print out when process takes too much gdi handles
- GDIOBJ_FreeObjByHandly: unlock handle table entry when object to delete was locked
- REGION_AllocRgnWithHandle: unlock region before trying to delete it on failure
Now gdi32_winetest clipping doesn't freeze ros anymore

svn path=/trunk/; revision=33995
2008-06-16 18:27:18 +00:00
Timo Kreuzer
66397a3a3f - add test for GdiGetCharDimension
- fix a test name
- comment out more tests for EngReleaseSemaphore, they cause heap corruption on ros
- convert more TEST -> RTEST

svn path=/trunk/; revision=33994
2008-06-16 15:24:05 +00:00
Timo Kreuzer
aa36da89c9 TEST -> RTEST as these succeed on ros now
svn path=/trunk/; revision=33993
2008-06-16 13:27:39 +00:00
Timo Kreuzer
e49f53ea51 comment out some tests that fail on win XP, until someone fixes them
svn path=/trunk/; revision=33992
2008-06-16 13:20:06 +00:00
Aleksey Bragin
999e377e55 - Revert .spec -> .def conversion (incorrect one also, which broke rostests compile).
svn path=/trunk/; revision=33991
2008-06-16 12:22:13 +00:00
Aleksey Bragin
89d35e62dd - More NDK fixes.
- Hackmove: Define NTDDI_VERSION in kernel32, otherwise it gets derived from WINVER version (and thus kernel32 becomes Vista). This allows to remove #undef NTDDI_VERSION from ndk/obtypes.h.

svn path=/trunk/; revision=33990
2008-06-16 09:20:47 +00:00
Aleksey Bragin
6c45a42f53 - NDK fixes (structure rename only).
svn path=/trunk/; revision=33989
2008-06-16 08:54:21 +00:00
Dmitry Chapyshev
1a6bae63ba - Small fix DeletePwrScheme
- Implement ReadGlobalPwrPolicy
- Implement ReadPwrScheme
- Implement ValidatePowerPolicies (not fully implemented)

svn path=/trunk/; revision=33988
2008-06-16 08:20:21 +00:00
Dmitry Chapyshev
31619ecee5 - Update information about powrprof
svn path=/trunk/; revision=33987
2008-06-16 06:06:38 +00:00
Dmitry Chapyshev
3b3c516d31 - Fork powrprof.dll
- Replace .spec with .def
- Implement EnumPwrSchemes
- Implement GetActivePwrScheme
- Implement DeletePwrScheme

svn path=/trunk/; revision=33986
2008-06-16 06:00:22 +00:00
Colin Finck
abae3b6913 Use a ClipRegion when collapsing, so that the TreeView works correctly.
This patch has already been submitted to Wine, but as they don't care currently, I applied it manually here and updated "comctl32_ros.diff" accordingly.

Patch by Timo Kreuzer

svn path=/trunk/; revision=33985
2008-06-15 16:05:39 +00:00
Colin Finck
6846255313 Fix yet another invalid use of WriteFile.
This patch has already been submitted to Wine, but as they don't care currently, I applied it manually here and updated "wininet_ros.diff" accordingly.

svn path=/trunk/; revision=33984
2008-06-15 16:04:03 +00:00
Daniel Reimer
5ffe9e945e Bug 3320: Czech translation update by Radek Liska (radekliska@gmail.com)
Small Update for the German USETUP by me.

svn path=/trunk/; revision=33982
2008-06-15 08:14:43 +00:00
ReactOS Portable Systems Group
69bc0881f9 - Continue cleanup, use new peripheral headers (And fix them)
- Fix ARM HAL headers and use them


svn path=/trunk/; revision=33981
2008-06-15 07:54:18 +00:00
ReactOS Portable Systems Group
480243927a - These are peripherals, not targets
svn path=/trunk/; revision=33980
2008-06-15 06:15:13 +00:00
ReactOS Portable Systems Group
b300ac4364 - Start major ARM port cleanup:
- Make use of the SARCH rbuild parameter to define the target board (default to ARM VersatilePB for now)
  - Make official ARM include directory (include/reactos/arm) and move the ARM DDK there
  - Start creating header files for different target board components.
- Update halfuncs in NDK with one missing function, and temporarily, one ARM function.

svn path=/trunk/; revision=33979
2008-06-15 06:14:02 +00:00
Dmitry Chapyshev
a52eaf94d5 - Update Russian translation
svn path=/trunk/; revision=33978
2008-06-15 06:01:53 +00:00
ReactOS Portable Systems Group
def9fa66b4 - Create cmhardwr.c for ARM, stub it out.
- Implement KiInitMachineDependent -- this is only useful for x86 and has nothing relevant to ARM, so we just return.
- Implement HalAllProcessorsStarted (again, a no-op) and HalQueryRealTimeClock (uses the RTC on the board -- uboot must set it up first).
- Make sure we get the right Sp during a system call (this is still broken though).
- We need to fix our system call handler next.


svn path=/trunk/; revision=33977
2008-06-15 05:40:27 +00:00
ReactOS Portable Systems Group
531a8ad588 - Copy/pasted a bunch of code from the i386 bootvid for text output.
- Don't implement BitBlt for now.
- Add the bootdata font file to the arm bootvid as well.
- Not sure how it's possible, but we are seeing text output on the console with this hacked-up code! The ReactOS version string appears...
- We are now getting much further in the boot cycle.


svn path=/trunk/; revision=33976
2008-06-15 04:43:22 +00:00
ReactOS Portable Systems Group
133e63adea - Implement VidSolidColorFill, VidSetScrollRegion and VidSetTextColor
- Fix a bug in VidpBuildColor


svn path=/trunk/; revision=33975
2008-06-15 04:11:21 +00:00
ReactOS Portable Systems Group
bfd0d8594d - Fix a bug in MmGetPhysicalAddress.
- Don't hang in the clock interrupt anymore, for now we'll just ignore it (but it works! :D)
- Make all unimplemented bootvid functions hang the system, so we can better stop at progress-points.
- Implement VidInitialize:
  - We allocate a 640x480@16bpp framebuffer using contiguous physical memory (our MMU code survives!).
  - We setup the LCD controller timings and framebuffer address.
  - We enable the LCD
- For debugging, we're also drawing a nice little test pattern... and it works! We have GUI Code :)


svn path=/trunk/; revision=33974
2008-06-15 03:32:52 +00:00
ReactOS Portable Systems Group
0ea44bde8f - Separate bootvid into bootvid/i386 and bootvid/arm (no code change to i386 version).
- Stub out all the bootvid functions for ARM, and add an infinite loop so we stop there.
- Remove the infinite loop from the HAL -- Hal Initialization is complete.
- We must now implement the LCD graphics functions.


svn path=/trunk/; revision=33973
2008-06-14 23:43:45 +00:00
Timo Kreuzer
86909f313f revert r26384 - this is an old hack to make console output work. We don't need this any longer since freetype / text output is fixed.
svn path=/trunk/; revision=33972
2008-06-14 23:20:22 +00:00
ReactOS Portable Systems Group
35656fd354 - Dude, we don't need to calibrate anything... we've got a 1MHz timer, which means 1us-precision. KeStallExecutionProcessor needs 1us-precision!
- Since we have two timers (ha x86!!!), set the second one as the stall timer. It's a one-shot periodic timer, set to the exact number of microseconds being waited on.
- To fully emulate stalling, we don't use a clock interrupt for it (it supports not sending one!) and just busy-loop until the value reaches 0.
- Tried it with a 10 second (10000000 us) wait and it worked -perfectly-.
- Re-implemented KeStallExecutionProcessor and got rid of the other code. Back in HalInitSystem(phase1) now...
- Also killed some DPRINT1s getting on my nerves.


svn path=/trunk/; revision=33971
2008-06-14 23:19:03 +00:00
ReactOS Portable Systems Group
fe22db7c05 - We now implement the idle loop (thanks for fixing the interrupt code...).
- We are now back to HalInitSystem just like before the previous fixes.
- Now we'll implement stall calibration and switch to the clock interrupt.


svn path=/trunk/; revision=33970
2008-06-14 22:48:30 +00:00
ReactOS Portable Systems Group
949bda1cee - Implement the basic stall interrupt to be used to calculate the factors for KeStallExecution (using NT MIPS algorithm, hope this will work)
- Also written KeStallExecution.
- Now, we are back to where we hang before Phase 1 (so Phase 1 doesn't occur anymore).
- This hang is because we used to do a DPC here, which isn't good, since IRQL is already at dispatch.
- Instead, the correct course of action is to enter the idle loop, which will schedule the phase 1 thread.
- But, we don't have an idle loop yet ;-)


svn path=/trunk/; revision=33969
2008-06-14 22:28:40 +00:00
Matthias Kupfer
8b9fa093a3 - Give listbox in explorer searchprograms dialog i18n column heads (only done for German and English, other language need to be done)
svn path=/trunk/; revision=33968
2008-06-14 22:21:44 +00:00
ReactOS Portable Systems Group
e66a86c8b9 - Fix stupid IRQL/Interrupt handling code that someone wrote ;):
- Get rid of KeSwapIrql -- both lower and higher IRQL handling was treated the same!
  - We can now re-activate the assert in the IRQL code
  - Disable interrupts before changing the interrupt mask!!!
  - And re-enable them solely if they were enabled.
  - Clear interrupts mask before setting a new one -- raising isn't always additive!
  - Fix KiInterruptHandler to perform operations in the right order.
  - Finish implementing interrupt exit code.
- Code KeArmStatusRegisterGet to read CPSR and interrupt status.
- Make debug prints a lot more readable and dont trying to acquire the stack during pool allocations.
- Setup the clock interval timer!!!
- This code regresses progress but makes stuf fwork right. We'll get better after implementing the stall interrupt.


svn path=/trunk/; revision=33967
2008-06-14 22:02:50 +00:00
Colin Finck
ff164b383d - Implement the code for the "Run" and "Shutdown" menu items, create stubs for the other custom commands
- Replace the ROS-specific STDCALL by APIENTRY for the function prototypes

svn path=/trunk/; revision=33966
2008-06-14 21:18:08 +00:00
James Tabor
e264b0b3c9 Patch by carlo bramix at libero dot it: Bug 3336 statusbar in the wrong place.
svn path=/trunk/; revision=33965
2008-06-14 17:10:55 +00:00
Matthias Kupfer
11e8d42306 Vytis Girdzijauskas <cman AT cman DOT us>
- time zone update to sync with Windows tz data
- See issue #3084 for more details.

svn path=/trunk/; revision=33964
2008-06-14 11:49:55 +00:00
Matthias Kupfer
9439a307c3 niski_ (bjauy AT go2 DOT pl)
- polish language patch for shell32.
- See issue #3338 for more details.

svn path=/trunk/; revision=33963
2008-06-14 10:23:05 +00:00
Matthias Kupfer
15ce5e598a fix/add some german translations
svn path=/trunk/; revision=33962
2008-06-14 08:51:42 +00:00
Aleksey Bragin
17f5df55c4 - Release the acquired spinlock in IoUnregisterShutdownNotification(), spotted by Cameron Gutman.
svn path=/trunk/; revision=33961
2008-06-14 08:16:22 +00:00
James Tabor
ddd1764f85 Patch by Jeffrey Morlan (mrnobo1024 at yahoo dot com, irc: Goplat), Registers ansi scroll bar proc.
svn path=/trunk/; revision=33960
2008-06-14 05:34:02 +00:00
Colin Finck
427bda68a5 Don't use MenuCleanupRosMenuItemInfo for an array of Items allocated on the heap!
This function is meant to be used for a single menu item info and just frees the memory allocated for dwTypeInfo.

Replaced this with a simple HeapFree call to free the memory for the whole array allocated in MenuGetAllRosMenuItemInfo.
Fixes a heap corruption discovered by encoded.

See issue #3349 for more details.

svn path=/trunk/; revision=33959
2008-06-14 00:00:20 +00:00
Colin Finck
aa42a19f40 Revert parts of r33578:
- First of all, MenuSetItemData is only called from InsertMenuA/W and ModifyMenuA/W.
  Therefore the passed MENUITEMINFO structure will always be empty, so it makes no sense to check for flags in this structure.
  This way, I could simplify the code block for MF_BITMAP.
- Also fType = MFT_BITMAP and fMask = MIIM_BITMAP at the same time passed to win32k don't work.
  Changing this back to only set fMask fixes bitmap menus.
- Furthermore the data for MF_OWNERDRAW is really stored in dwItemData and not in dwTypeData.
  The MSDN documentation for InsertMenu applies here, not the one for the MENUITEMINFO structure.
  This fixes owner-drawn menus like the one in Abiword.

See issue #3272 for more details.

svn path=/trunk/; revision=33958
2008-06-13 23:14:27 +00:00
Matthias Kupfer
7a0f6cc635 - german translation of explorer completed
- minor fix for label text size in german version of desk.cpl

svn path=/trunk/; revision=33957
2008-06-13 20:33:42 +00:00
James Tabor
f7a11147ec Add notes, no code change.
svn path=/trunk/; revision=33956
2008-06-13 18:19:28 +00:00
Timo Kreuzer
86853e2cea MSDB KB 145994 (http://support.microsoft.com/?scid=kb%3Ben-us%3B145994): yBaseUnit is textmetric->tmHeight not average text extent. Testing confirms that GdiGetCharDimension returns this as height. This makes dialog boxes less stretched in height. Still not identical to XP. calx.exe: On XP yBaseUnit == 13, on ROS == 14 (was 16 before)
svn path=/trunk/; revision=33955
2008-06-13 13:33:53 +00:00
Thomas Bluemel
451c7e1c69 Revert 33953. This is completely wrong! WINE doesn't quite get the ordinals right. Ordinal 200 really should be SHCreateDesktop and ordinal 201 really should be SHDesktopMessageLoop. I am currently working on a patch for this. The fact that explorer-new was able to start with these changes is just pure coincidence.
svn path=/trunk/; revision=33954
2008-06-13 13:14:08 +00:00
Dmitry Chapyshev
756f63990f - Implement AddCommasW
- Implement SHLocalAlloc
- Implement SHLocalFree
- Implement SHLocalReAlloc
explorer-new starts in reactos now!

svn path=/trunk/; revision=33953
2008-06-13 07:58:34 +00:00
Thomas Bluemel
a21b191fdf Add missing definitions
svn path=/trunk/; revision=33952
2008-06-12 23:38:09 +00:00
Timo Kreuzer
ee9c5d0a88 Patch by Jeffrey Morlan (mrnobo1024 at yahoo dot com, irc: Goplat), modified by me:
The freetype asm function FT_MulFix clobbers the edx register, but doesn't tell it to gcc explicitly, so when inlined versions were resulting in wrong results. Fix it by also marking edx as output register.
Also enable commented out code in win32k again that works correctly now.
By me:
I modified the patch to not alter any 3rd party code, but instead I copied the fuction to _ftmulfix_ros.c and also coplied the container file ftbase.c which now uses the fixed function from our private file.
This fixes a bunch of text output issues (underscore, text marking)
See issue #3346 for more details.

svn path=/trunk/; revision=33951
2008-06-12 20:50:12 +00:00
Thomas Bluemel
cdbc0773a5 Lookup DrawCaptionTemp () only once during startup
svn path=/trunk/; revision=33950
2008-06-12 16:50:57 +00:00
Thomas Bluemel
5d074bd015 Fix call to DrawCaptionTemp ()
svn path=/trunk/; revision=33949
2008-06-12 15:45:09 +00:00
Aleksey Bragin
cb467b55e9 - Fix a bug in timedate.cpl, where an incorrect color was passed.
- Add bounds checking for GetSystemMetrics both in user32 and in kernel counterpart.
- Based on a patch from bug 3316.
See issue #3316 for more details.

svn path=/trunk/; revision=33947
2008-06-12 09:50:12 +00:00
Aleksey Bragin
57da8d9f18 - Formatting cleanup for the previously patched functions.
svn path=/trunk/; revision=33946
2008-06-12 09:40:33 +00:00
Aleksey Bragin
3da8a2640d Oriol Pique <oripipa@yahoo.es>
- Minor patch to HEAP_GetPtr to include magic value in debug output.
- Fixing the parameters checking in HEAP_InitSubHeap (it is currently not used - put between #if 0 / #endif ).
- Correcting HEAP_FindFreeBlock which was logging error message as warning (while still returning NULL to caller) by changing severity of logged message.
- Implementing RtlEnumProcessHeaps (previously stubbed out).
- Fixing sanity checks in and implementation of RtlGetProcessHeaps (previously
the function was not checking for the counter value, and also was not assigning anything to the returned value; now this seems to be corrected.
- Fixing RtlValidateProcessHeaps implementation (the function was stubbed out because (most probably, I wasn't able to find a bug mentioning this) it was previously using a global lock for all heaps (which probably could cause some problems in the kernel), now it only locks heaps belonging to the given process - and this is the correct behaviour.

Aleksey Bragin <aleksey@reactos.org>
- Fix typo in ntuser.c, and low severity of debug message.
See issue #2964 for more details.

svn path=/trunk/; revision=33945
2008-06-12 09:35:24 +00:00
Aleksey Bragin
fd13a6484a - Fix two bugs in MiDoMappedCopy: MI_MAPPED_PAGES is pages, not bytes; and a misuse of TotalSize / BufferSize.
- Fix similar mistake in MiDoPoolCopy.
- Patch from bug 3341.
See issue #3341 for more details.

svn path=/trunk/; revision=33944
2008-06-12 09:18:11 +00:00
Aleksey Bragin
b21dc84f01 - Prevent a misunderstanding: kdHandleException means the debugger did NOT handle the exception. Fix the logic, and thus fix vectored exception handling which led to 2nd stage hang in qemu.
- TODO: This ContinueType thing should be reworked into a better logic.
See issue #3344 for more details.

svn path=/trunk/; revision=33943
2008-06-12 08:56:13 +00:00
Daniel Reimer
31bec7ebbf Updated Wordpad, XCopy, WInhlp32 to WIne 1.0rc4
I skipped Collibri's Typo-Fix in the German Wordpad RC File. Collibri, plz send this to Wine.

svn path=/trunk/; revision=33942
2008-06-12 06:23:44 +00:00
Daniel Reimer
6a6c9c1c6c Updated Winefile to Wine 1.0rc4.
Renamed it to Winfile, because this is the name it has under windows.

svn path=/trunk/; revision=33941
2008-06-12 06:22:23 +00:00
ReactOS Portable Systems Group
bf502620c3 - We now implement more proper context switching.
- This fixes an issue where code was using PCR->CurrentThread but x86/shared routines use PRCB->CurrentThread.
- Added a note to explain the difference, and we now set both.
- We currently stop at Phase 1 HAL Initialization.

svn path=/trunk/; revision=33940
2008-06-12 04:32:45 +00:00
Thomas Bluemel
20ebf8a9c5 Use band styles provided by the IDeskBand interface
svn path=/trunk/; revision=33939
2008-06-12 03:12:02 +00:00
Thomas Bluemel
1777cc3a03 More IBandSite support code
svn path=/trunk/; revision=33938
2008-06-12 01:14:18 +00:00
ReactOS Portable Systems Group
0bcdd3cdcc - We now implement a super-basic (and probably broken) context switching mechanism.
- We completely ignore setting the thread to the right scheduler state, and don't do any APC delivery checking, or any other work.
- We now implement a basic KiThreadStartup, which behaves properly (we believe). Doesn't handle user-mode threads yet, though.
- This gets us through PspSystemThreadStartup, and..
- We now reach Phase1InitializationDiscard! A major step has been reached, now it's time to cleanup what has been done until now and verify it to be correct.
- Then we move on... the next two things will be 1) Hal Initialization (setting up the timer) and 2) Displaying the boot logo.
- Graphics will require using the PL-110 LCD Controller.

svn path=/trunk/; revision=33937
2008-06-12 00:40:53 +00:00
ReactOS Portable Systems Group
c84fd405bf - We now implement a skeleton framework for context switching
- The only things we do are swap the stack and then display the old/new thread/stack.
- More work to be done to actually save the non-volatiles, prepare the thread state, and restore the volatiles for the new thread.
- Then we will return to the saved return address, and we should be in Phase 1 with working thread switching/scheduling.

svn path=/trunk/; revision=33935
2008-06-11 19:13:25 +00:00
ReactOS Portable Systems Group
0eec889557 - We now make appropriate space on the stack to save the old IRQL in the trap frame.
- Save the old IRQL and assert it in the interrupt handler.
- Fix KTRAP_FRAME structure.


svn path=/trunk/; revision=33934
2008-06-11 18:39:44 +00:00
ReactOS Portable Systems Group
e6d9765059 - Fix build on ARM:
- _iob is already defined as a dll_import
  - _rotl intrinsic is now implemented (should use rol instruction, but not sure on the syntax!)
  - Add a stub psctx.h for ARM
  - Added InterlockedEXchangePointers
  - Fix uninitialized variable warning in ex/resource.c
- Start to implement interrupt handling:
  - We now have a rudimentary interrupt handler that takes care of software interrupts
  - We now have a rudimentary DPC handler which takes care of switching to the next thread, if any
  - We now setup the HAL Interrupt Source -> IRQL Table (The IRQLMask Table).
  - Implemented HalGetInterruptSource, which allows us to get the interrupt # that cause the IRQ.
    Note: this wasn't needed on Alpha/PPC/MIPS NT ports, because that information is stored on the CPU,
    and the kernel could read it -- we must abstract it through the HAL.
  - Add the OldIrql to the TRAP_FRAME, we don't use it yet.
- We are now ready to context switch to the Phase 1 thread.

svn path=/trunk/; revision=33933
2008-06-11 16:48:07 +00:00
Matthias Kupfer
1f2f57762a - minor fix of german wordpad menu entry
- german translation of dialog resource of keyboard layout switcher completed including start menu entry

svn path=/trunk/; revision=33932
2008-06-11 12:31:23 +00:00
Aleksey Bragin
f80fd06171 - Fix build.
svn path=/trunk/; revision=33931
2008-06-11 12:00:09 +00:00
Aleksey Bragin
7d5306e11b - Fix typos in NDK structures.
svn path=/trunk/; revision=33930
2008-06-11 11:48:59 +00:00
Aleksey Bragin
87f175a68a - Unregress KDBG: It has to increment EIP in case of STATUS_BREAKPOINT to skip over the current instruction, but now do it inside KDBG's exception handler.
- In Kd and GDB exception handler wrappers, return FALSE if kdDoNotHandleException, and return TRUE otherwise (kdHandled / kdContinue). After my previous commit these functions were always returning FALSE / exception not handled.

svn path=/trunk/; revision=33929
2008-06-11 11:34:04 +00:00
Aleksey Bragin
8a2b9285a7 - Revert 33689 as breaking mIRC installation.
See issue #3328 for more details.

svn path=/trunk/; revision=33928
2008-06-11 09:05:39 +00:00
Aleksey Bragin
7b57917c46 - Completely rewrite most of stdio functions by merging Wine's msvcrt code adapted for ReactOS.
- Leave and refactor existing underlying linux-code based sprintf implementation into lnx_ prefixed functions.
- Misc source code and headers cleanup.
- Fixes bugs 2910, 2803.
See issue #2803 for more details.

svn path=/trunk/; revision=33927
2008-06-11 08:54:46 +00:00
James Tabor
553e9f4821 Fix warnings.
svn path=/trunk/; revision=33926
2008-06-11 04:45:42 +00:00
Thomas Bluemel
ab5a70b128 More IDeskBar support
svn path=/trunk/; revision=33925
2008-06-11 03:52:45 +00:00
Thomas Bluemel
4a314da798 Improve IBandSite support a bit
svn path=/trunk/; revision=33924
2008-06-11 03:37:56 +00:00
Thomas Bluemel
46ccbc43af Fix a small bug
svn path=/trunk/; revision=33923
2008-06-11 03:36:21 +00:00
James Tabor
93c1e5a013 Retool SetSysColors and use SEH.
svn path=/trunk/; revision=33922
2008-06-10 21:57:16 +00:00
Eric Kohl
78c0b7a1df Enable the user to modify the profile information of a user account.
svn path=/trunk/; revision=33921
2008-06-10 21:56:19 +00:00
James Tabor
07bd1ef0d2 Use server information for GetSystemMetrics.
svn path=/trunk/; revision=33920
2008-06-10 21:09:31 +00:00
Colin Finck
e851af141d Matthias Kupfer (matthias DOT kupfer AT informatik DOT tu-chemnitz DOT de)
- Give the Run Dialog resources a default title (only done in German and English resources so far, others still need to be done)
- Add support for passing no title to RunFileDlg, so that it uses the default title
- Pass no hardcoded english title in Explorer and Task-Manager.
  I slightly modified the patch to also remove the other hardcoded text passed in Explorer.

See issue #3340 for more details.

svn path=/trunk/; revision=33919
2008-06-10 19:19:59 +00:00
James Tabor
baa980036b Fix build, add float to long union for dword transfer.
svn path=/trunk/; revision=33918
2008-06-10 05:48:18 +00:00
James Tabor
f79680eb17 Move NtGdiAngleArc to arc.c.
svn path=/trunk/; revision=33917
2008-06-10 05:25:37 +00:00
James Tabor
4feb37f50f Move AngleArc out of stubs.
svn path=/trunk/; revision=33916
2008-06-10 05:14:35 +00:00
Thomas Bluemel
2edcc21ee5 shlwapi.dll is already loaded, no need to use LoadLibrary
svn path=/trunk/; revision=33915
2008-06-10 03:13:12 +00:00
Thomas Bluemel
561efe278f - Don't lookup DrawCaptionTempA/W by ordinal but rather by name
- Various minor fixes

svn path=/trunk/; revision=33914
2008-06-10 02:58:13 +00:00
Thomas Bluemel
f1d9b70f81 Do a more correct check in EDIT_IsInsideDialog ()
svn path=/trunk/; revision=33913
2008-06-10 00:31:10 +00:00
Timo Kreuzer
9fe71b1a02 fix an endless loop bug
See issue #2142 for more details.

svn path=/trunk/; revision=33912
2008-06-09 20:57:30 +00:00
Gregor Brunmar
eaff1fdfa2 Fixed four more winetests, code taken from wine again
svn path=/trunk/; revision=33910
2008-06-09 19:14:36 +00:00
Gregor Brunmar
2692c60678 Fixed 11 winetests for edit boxes based on code from wine but tweaked for ReactOS
svn path=/trunk/; revision=33909
2008-06-09 19:07:54 +00:00
Timo Kreuzer
f5a1426f4c add simple TTF icon to fontview
svn path=/trunk/; revision=33908
2008-06-09 18:10:02 +00:00
James Tabor
1662719886 - Fix Ellipes, for Filip Navara, nice work!
- Ref: http://www.reactos.org/archives/public/ros-dev/2007-January/009090.html
- Test: http://www.reactos.org/pipermail/ros-dev/attachments/20070118/46ace072/attachment-0001.exe

svn path=/trunk/; revision=33907
2008-06-09 16:46:52 +00:00
James Tabor
ada39af182 Move old pie code into arc.
svn path=/trunk/; revision=33906
2008-06-08 19:00:50 +00:00
Aleksey Bragin
730d8e4ee5 - Update dciddi.h header based on Magnus's patch.
- Fix dciman32.dll compilation.

svn path=/trunk/; revision=33905
2008-06-08 18:26:22 +00:00
Pierre Schweitzer
cbf728b477 Synced shlwapi_winetest.exe with Wine HEAD
svn path=/trunk/; revision=33904
2008-06-08 17:14:50 +00:00
Pierre Schweitzer
8a7513a6c7 SySynced shlwapi.dll with Wine HEAD
svn path=/trunk/; revision=33903
2008-06-08 17:13:54 +00:00
Dmitry Chapyshev
939c49a493 - Remove duplicate code
- Fix formatting
- Add checking parameters for more functions

svn path=/trunk/; revision=33902
2008-06-08 15:04:00 +00:00
Eric Kohl
5736c65128 - User properties:
Fix a memory leak.
  Enable the Apply button when the users full name or description is changed.
- Group properties:
  The group description can be changed.
  Update the group list when the group description changes.
  

svn path=/trunk/; revision=33901
2008-06-08 13:34:42 +00:00
Hervé Poussineau
8db6f07370 Fix debug message
svn path=/trunk/; revision=33899
2008-06-08 09:52:56 +00:00
Dmitry Chapyshev
9364f96a85 - Add gdiplus test to bootcd
svn path=/trunk/; revision=33898
2008-06-08 09:49:48 +00:00
Dmitry Chapyshev
077d269069 - Add wine test for gdiplus
svn path=/trunk/; revision=33897
2008-06-08 09:47:47 +00:00
Magnus Olsen
cfd749136a add dummy test for dciman32 for now, real test will come later
svn path=/trunk/; revision=33896
2008-06-08 08:29:04 +00:00
Aleksey Bragin
7245944072 - Magnus: Reformat clip.c source code to better match overall coding style. No code logic change.
svn path=/trunk/; revision=33895
2008-06-08 07:31:10 +00:00
James Tabor
b557c10181 Update NtUserInitializeClientPfnArrays add additional structures and types for future support.
svn path=/trunk/; revision=33894
2008-06-08 03:34:25 +00:00
Timo Kreuzer
b8ceca0d0d Fix some region leaks: GdiSelectVisRgn copies the region, so the given one it must be deleted afterwards. This code is not perfect ~ as Jim already said, not completed. But it's at least working correctly now. Say welcome to a stable running Firefox 1.5.
Also added some DPRINTs on failures.

svn path=/trunk/; revision=33893
2008-06-08 00:43:07 +00:00
Eric Kohl
58c925232a Real fix for the broken netapi32.dll.
svn path=/trunk/; revision=33892
2008-06-07 22:50:55 +00:00
Eric Kohl
f3091aac50 Fix for broken netapi32.dll.
svn path=/trunk/; revision=33891
2008-06-07 22:44:15 +00:00
Eric Kohl
57efc6d296 - Group properties: Display the SID of well-known members.
- User properties: Store changes to the general settings.

svn path=/trunk/; revision=33890
2008-06-07 22:31:24 +00:00
Hervé Poussineau
c844e808fd Write the complete error message to debug log, instead of partial information
svn path=/trunk/; revision=33889
2008-06-07 20:44:57 +00:00
Aleksey Bragin
3f4244aafc - Cleanup leftovers and bugs from GreatLord's fix. I think this is my last "postfix" of GreatLord's commits to trunk.
svn path=/trunk/; revision=33886
2008-06-07 12:58:48 +00:00
Magnus Olsen
f984375fa8 BugFix : NtGdiStretchDIBitsInternal
it did not check after some NULL pointer and did crash in firefox. 
and some reason  NtGdiCreateCompatibleBitmap fail in some case, that what happen in firefox 1.5.

svn path=/trunk/; revision=33885
2008-06-07 11:35:53 +00:00
Magnus Olsen
d1fd748e27 fix one winetest for Bitmap and add note why some alpha blend test fails.
svn path=/trunk/; revision=33884
2008-06-07 10:15:38 +00:00
Magnus Olsen
8f663e980b Fixed Alphablend crash in win32k
svn path=/trunk/; revision=33883
2008-06-07 09:43:35 +00:00
Aleksey Bragin
96bd76c450 - Revert 33881, PatBlt may be buggy, but what was introduced in 33881 was a non-working hack. Unregresses FF2.0 installer having a black rectangle in the bottom of its window.
svn path=/trunk/; revision=33882
2008-06-07 09:20:05 +00:00
Magnus Olsen
66efb44d68 disable NtGdiPatBlt code, in some case it can cause random crash and have some graphic glichters it need be rewrite.
svn path=/trunk/; revision=33881
2008-06-07 07:58:39 +00:00
Magnus Olsen
9199d4af30 revert some change I did in r33877 for buch.c object it cause to many regress
svn path=/trunk/; revision=33880
2008-06-07 07:22:09 +00:00
James Tabor
099735586d This does fix bug 3237. I've run this patch for two months now, it is still in the rough and needs cleaning up. Separates Owned and Class styles and gives them their own DCes.
svn path=/trunk/; revision=33879
2008-06-07 02:58:15 +00:00
Magnus Olsen
888f12a297 small cleanup thx irc: aicom for notice this.
svn path=/trunk/; revision=33878
2008-06-07 01:18:55 +00:00
Magnus Olsen
12528a2fc8 add a NULL check in IntGdiInitBrushInstance if XlateObj is NULL fall back to use white as default color when GDIBRUSH_IS_SOLID are set.
svn path=/trunk/; revision=33877
2008-06-07 01:14:12 +00:00
Magnus Olsen
48150abcea BitBlt
Make it act bit more like windows, use PatBlt instead for BitBlt for no ROP source for it bit faster
Thx irc Goplat found my bug in the macro. 

svn path=/trunk/; revision=33876
2008-06-07 00:51:38 +00:00
Magnus Olsen
b879687075 BugFix : NtGdiPatBlt did not call on NtGdiMaskBlt when source have been set in ROP
svn path=/trunk/; revision=33873
2008-06-06 23:37:41 +00:00
Magnus Olsen
72e6fde566 BugFix : NtGdiBitblt follow member BitmapDest and BitmapSrc one of them can be NULL in NtGdiBitBlt logic so do not try access members in null pointer
svn path=/trunk/; revision=33872
2008-06-06 23:09:42 +00:00
Aleksey Bragin
00d190a404 - Fix KDBG's EIP munging.
- Don't make single-step break into KDBG if it comes from user-mode.
- Don't make KDBG return "continue" for breakpoint/singlestep, it should return "do not handle exception".
- Add 20 new invalid instructions detected instead of crashing/"UNHANDLED CODE".
- Fix DR registry handling (set DebugActive = TRUE when needed, and set Context->Dr7).
- Fix set/get context: These two functions didn't work at all. Get actually performed a Set, and Vice-versa. Also, Set would incorrectly set the frame of the caller, not the target thread. Also, the trap frame pointer wasn't being grabbed correctly for kernel-mode callers.
- Move the code to a non-portable i386 directory, since the code is architecture-specific.
- Move GET_SET_CTX_CONTENT out to ps.h.

svn path=/trunk/; revision=33871
2008-06-06 21:51:21 +00:00
Aleksey Bragin
3eb4e85097 - Fix a major bug while closing a process that was debugging another process, which would cause a bugcheck because it tried to kill itself while it was being killed -- instead, it should try killing the debuggee! fixes the bug that arty and I fought about when he said "process killing seems broken" and tried to add delayed-object-closing. Patch by Alex Ionescu.
- Remove a leftover from kernel32 which assumed that if "BeingDebugged" was TRUE, the library was being tested on an XP machine.

svn path=/trunk/; revision=33870
2008-06-06 21:43:37 +00:00
Aleksey Bragin
edc9924731 - Change the registry name from Registry to REGISTRY, which fixes almost all Wine registry tests and any other application using the registry in case-sensitive mode, because the real name is REGISTRY.
- Add SEH to NtCreate/OpenKey, which fixes the rest of the wine registry tests.
- Fix PnP Manager code that was doing case sensitive registry access with "Registry".

svn path=/trunk/; revision=33869
2008-06-06 21:40:37 +00:00
Aleksey Bragin
d409591250 - Update RtlIsTextUnicode (fixes some ntdll rtlstr winetests).
svn path=/trunk/; revision=33868
2008-06-06 21:33:43 +00:00
Dmitry Chapyshev
036789044b - Sync tahoma fonts with wine head
svn path=/trunk/; revision=33867
2008-06-06 19:40:27 +00:00
Aleksey Bragin
45ebe0ccc2 - Update many parts of CRT, and misc cleanup.
- Largely based on the patch by Samuel Serapion.
- Include file.c from Wine's msvcrt, but exclude its contents from the build process for now.

svn path=/trunk/; revision=33866
2008-06-06 17:49:24 +00:00
Aleksey Bragin
3f2bc58da5 - Move scanf.c into strings, it belongs there.
- Move thread.c to process, and remove outdated/duplicated copy.
- Sync threadx with Wine.
- Update README.WINE accordingly.

svn path=/trunk/; revision=33865
2008-06-06 12:20:28 +00:00
Aleksey Bragin
c129f7fcd3 - Fix a typo.
svn path=/trunk/; revision=33864
2008-06-06 11:26:14 +00:00
James Tabor
4d4d130154 Attempt to fix bug 3259. Use IntGdiCleanDC for error checking.
svn path=/trunk/; revision=33863
2008-06-06 02:59:12 +00:00
Magnus Olsen
af03c08689 commit 33747 did remove almost all redirect to ntdll and to some internal functions, I re add thuse redirect
also by mistake   _seh_longjmp_unwind was not longer redirected to  seh_longjmp_unwind it is now again 
thx irc nick : Goplat to notice this. 

svn path=/trunk/; revision=33862
2008-06-05 23:51:27 +00:00
Timo Kreuzer
d448c26dba patch by Jeffrey Morlan (mrnobo1024 at yahoo dot com, irc: Goplat):
fix coordinate transformation for NtGdiSetDIBitsToDevice,
fixes bug 3200
See issue #3294 for more details.

svn path=/trunk/; revision=33861
2008-06-05 22:23:19 +00:00
Timo Kreuzer
56d318331b co_MsqTranslateMouseMessage:
- add a comment about who removes a message from a queue
- fix filter handling (typo)
- correct the callers next list entry, if it might have been deleted. Yes, it's ugly, but the only way I could currently think of without rewriting everything and it was already ugly before. This fixes bug 2317 and some random crashes with FF.
See issue #2317 for more details.

svn path=/trunk/; revision=33860
2008-06-05 16:57:27 +00:00
Timo Kreuzer
fbf0cbd302 IntEngGradientFill: don't assert, if no CLIPOBJ is given, instead handle this case in EngGradientFill, creating a CLIPOBJ from bounds rect.
svn path=/trunk/; revision=33859
2008-06-05 00:23:27 +00:00
James Tabor
6378983897 This should do it for pen. Tested the same with wine tests.
svn path=/trunk/; revision=33858
2008-06-04 21:05:18 +00:00
James Tabor
e61ef65c4a Sorry, I should have spotted this when I was in here.. I think this takes care of the leak and crash. Wine testing is back with the same errors. So we are good to go.
svn path=/trunk/; revision=33857
2008-06-04 17:45:18 +00:00
Timo Kreuzer
a1aca981cf - fix mem leak when failing to create an extpen with penstyles
- rename a tag, change a tag, remove unused tag

svn path=/trunk/; revision=33856
2008-06-04 16:15:24 +00:00
James Tabor
63428932b8 Prevent a crash if the list is empty and check for zero. If (List is Empty! DCE!) is called before the crash, this means we have a thread that is not finished running before shutdown. There is a proper way for handling this
svn path=/trunk/; revision=33855
2008-06-04 16:07:47 +00:00
Aleksey Bragin
bcd6451e5b - libcntpr does not need console/file versions of scanf.
svn path=/trunk/; revision=33854
2008-06-04 10:52:54 +00:00
Aleksey Bragin
7b68ed11e0 - Fix crtdll build.
svn path=/trunk/; revision=33853
2008-06-04 10:41:17 +00:00
Aleksey Bragin
97e7725dc9 - Misc cleanup of kmtest.
- Add paged/nonpaged pools test routines.
- Comment out invocations of other tests temporary.

svn path=/trunk/; revision=33852
2008-06-04 09:50:19 +00:00
Aleksey Bragin
170743424f - Misc ctype wine sync.
svn path=/trunk/; revision=33851
2008-06-04 09:45:12 +00:00
Aleksey Bragin
683a6c4181 - Remove duplicated sscanf wrapper.
- Sync scanf.c / scanf.h with Wine.

svn path=/trunk/; revision=33850
2008-06-04 09:10:40 +00:00
James Tabor
6857246d17 No need to do it twice.
svn path=/trunk/; revision=33849
2008-06-04 06:10:49 +00:00
Gregor Brunmar
f91ca27dd7 * Fixes 14 wine tests for the edit control
* Indentation fixes

svn path=/trunk/; revision=33848
2008-06-04 06:08:37 +00:00
James Tabor
01c9364e27 Implement IntGdiSetBrushOwner and IntGdiAllocObjAttr.
svn path=/trunk/; revision=33847
2008-06-04 05:43:11 +00:00
James Tabor
833d68c273 Separate SelectPalette function from User and move it to GDI.
svn path=/trunk/; revision=33846
2008-06-04 05:08:46 +00:00
James Tabor
528fc30198 Check to see if the list is empty.
svn path=/trunk/; revision=33845
2008-06-04 01:52:13 +00:00
Timo Kreuzer
fa7b96c770 fix indentation
svn path=/trunk/; revision=33844
2008-06-03 23:59:26 +00:00
Timo Kreuzer
7bc03a5188 fix checks for deleted gdi objects and add GDI_DEBUG function to trace the deleter of an object.
svn path=/trunk/; revision=33843
2008-06-03 23:56:09 +00:00
James Tabor
7c21c02f9b Attempt to fix bugs 3050 and 3209. DCE list becomes corrupted during shutdown.
svn path=/trunk/; revision=33841
2008-06-03 21:13:10 +00:00
Dmitry Chapyshev
37a3eaf812 - Update English translation
svn path=/trunk/; revision=33840
2008-06-03 17:05:24 +00:00
Dmitry Chapyshev
a7d6984117 - Update all translations
svn path=/trunk/; revision=33839
2008-06-03 16:56:23 +00:00
Colin Finck
81d738e77c Slovak keyboard layout update by Milan Margus (malin23 AT atlas DOT sk)
See issue #1251 for more details.

svn path=/trunk/; revision=33838
2008-06-03 13:47:19 +00:00
Dmitry Chapyshev
6ed534a3b0 - Implement EnumSystemLanguageGroupsA/W
- Implement EnumSystemLocalesA
- Reimplement EnumSystemLocalesW

svn path=/trunk/; revision=33837
2008-06-03 13:20:41 +00:00
Dmitry Chapyshev
1f7ff705dd - Add Language Groups values
svn path=/trunk/; revision=33836
2008-06-03 13:17:02 +00:00
Dmitry Chapyshev
348822f367 - More implement "Regional Options" dialog
- Small fix "Advanced" dialog

svn path=/trunk/; revision=33835
2008-06-03 11:55:02 +00:00
Dmitry Chapyshev
5249beecfa - Implement EnumSystemGeoID
- Implement GetGeoInfoA/W (partially)
- Small fix EnumSystemCodePagesA/W

svn path=/trunk/; revision=33834
2008-06-03 11:51:21 +00:00
Dmitry Chapyshev
0b5dd6ddfe - Add geographic locations
svn path=/trunk/; revision=33833
2008-06-03 11:48:16 +00:00
James Tabor
e8eda04c27 Move from fixed PrimarySurface to pointer based pPrimarySurface. Misc changes..
svn path=/trunk/; revision=33832
2008-06-03 03:41:54 +00:00
James Tabor
bcefe305f1 Update Dc level structure.
svn path=/trunk/; revision=33831
2008-06-02 21:10:31 +00:00
James Tabor
b0c65c30fe Move xform data from W structure into DcLevel within unions. Why: Sticking with systems floating point and reducing the size of DC.
svn path=/trunk/; revision=33830
2008-06-02 19:51:04 +00:00
Gregor Brunmar
720d38711f Added dialog FNID
svn path=/trunk/; revision=33829
2008-06-02 19:15:33 +00:00
James Tabor
114a366a38 Stefan Ginsberg <stefan__100__ at hotmail.com>
- Remove old DCOrg and replace it with ptlDCOrig.

svn path=/trunk/; revision=33828
2008-06-02 17:53:53 +00:00
Dmitry Chapyshev
ae9a18969f - Update txtsetup languages list
svn path=/trunk/; revision=33827
2008-06-02 15:35:34 +00:00
Dmitry Chapyshev
d35aa6d4ce - Add more languages
- Add scrolling to position in languages list

svn path=/trunk/; revision=33826
2008-06-02 15:34:57 +00:00
Aleksey Bragin
204acf76b0 Stefan Ginsberg <stefan__100__@hotmail.com>
- Remove ExTryToAcquireResourceExclusiveLite from NDK since it's not exported by NT kernel.
- Add ObSetSecurityObjectByPointer, RtlInitAnsiStringEx (and implement it, rather straightforward) to NDK.
- Uncomment exports in ntoskrnl_i386.def which are already implemented.
- Add KeInvalidateAllCaches to ARM's stubs.

svn path=/trunk/; revision=33825
2008-06-02 10:21:49 +00:00
Colin Finck
c91fecf968 - Add a test suite for ws2_32.dll
It currently tests the features I needed to adjust/implement when fixing the wininet problem.
  ReactOS currently passes all tests, but fails one if you launch the test app for the second time quickly after the first time (timing problem in the network code?).
- Fix the behaviour on an ioctlsocket FIONREAD call: The output buffer is not touched, when we have no socket, but when we have no connection, it is set to 0.
- Forward the socket call to WSASocketW instead of WSASocketA, minimal performance improvement

svn path=/trunk/; revision=33824
2008-06-01 22:08:45 +00:00
Colin Finck
ce52fa83e3 Use the Windows CreateFile/WriteFile functions instead of open/write.
Fixes compilation with MSVC. (note that you also have to change the calling convention from __stdcall to __cdecl in the auto-created project file for the lib)

svn path=/trunk/; revision=33823
2008-06-01 20:34:12 +00:00
Hervé Poussineau
78faaa3063 Fix debug message
svn path=/trunk/; revision=33822
2008-06-01 19:56:21 +00:00
Hervé Poussineau
6a7b9457dc Add a "ReactOS (WinLdr)" entry when using a debug build
svn path=/trunk/; revision=33821
2008-06-01 19:15:15 +00:00
Colin Finck
0f76b280cc - Add a parameter for listing all valid test names
- Generate valid XHTML 1.0 Strict

svn path=/trunk/; revision=33820
2008-06-01 18:37:55 +00:00
Hervé Poussineau
879d178c13 Remove dead code (GetActualSourceFilename, GetSourceFilenames, GetSourceFilenamesWithoutGeneratedFiles)
In rules, put generated file name at the end of the line

svn path=/trunk/; revision=33819
2008-06-01 18:20:30 +00:00
Colin Finck
d55028d26f Set svn:eol-style "native" for all apitest stuff
svn path=/trunk/; revision=33818
2008-06-01 18:06:22 +00:00
James Tabor
5367e27e3a Stefan Ginsberg <stefan__100__ at hotmail.com> - Move MetaFile stubs into Metafile.c.
svn path=/trunk/; revision=33817
2008-06-01 17:47:46 +00:00
Magnus Olsen
ba14ded010 Adding complete test kit for EngCreateSemaphore, EngAcquireSemaphore, EngDeleteSemaphore, EngReleaseSemaphore
I think it testing all case it can now, and also split up some test to EngDeleteSemaphore and EngReleaseSemaphore and EngAcquireSemaphore, that was in EngCreateSemaphore


svn path=/trunk/; revision=33816
2008-06-01 17:33:51 +00:00
Dmitry Chapyshev
c3f50e79c8 - Update txtsetup.sif
svn path=/trunk/; revision=33815
2008-06-01 17:18:35 +00:00
Dmitry Chapyshev
5fd3663edf - Add more languages
- Update languages

svn path=/trunk/; revision=33814
2008-06-01 17:17:56 +00:00
James Tabor
8a24ff76e0 Use SetDCOwnerEx, this will allow for gracefull errors when changing ownership of the DCs.
svn path=/trunk/; revision=33812
2008-06-01 16:21:38 +00:00
Magnus Olsen
457aee023d add all test we can do for EngCreateSemaphore, it checking some info in the internal HANDLE hsem is same as PRTL_CRITICAL_SECTION struct
svn path=/trunk/; revision=33811
2008-06-01 15:48:51 +00:00
James Tabor
5047d04ffc Imp NtGdiUnmapMemFont and fix NtGdiGetDhpdev.
svn path=/trunk/; revision=33810
2008-06-01 15:22:25 +00:00
Magnus Olsen
0b090eef6a add more test for EngCreateSemaphore, it checking some info in the internal HANDLE hsem is same as PRTL_CRITICAL_SECTION struct
svn path=/trunk/; revision=33809
2008-06-01 15:06:40 +00:00
Eric Kohl
828f4f1216 Add the Membership and Profile pages to the users property sheet. Changing the settings is not implemented yet.
svn path=/trunk/; revision=33808
2008-06-01 15:05:22 +00:00
Magnus Olsen
f54e38e9ac add Test for EngDeleteSemaphore, it only test if it been create or not
svn path=/trunk/; revision=33807
2008-06-01 14:38:02 +00:00
Marc Piulachs
ed39c925a0 set 'installname' attribute for halup to 'hal.dll'
svn path=/trunk/; revision=33806
2008-06-01 13:24:25 +00:00
Marc Piulachs
2c0aa23f29 'base' is not a valid attribute of element 'installfile'
svn path=/trunk/; revision=33805
2008-06-01 13:21:12 +00:00
Dmitry Chapyshev
150abb0844 - Sync with Wine HEAD
svn path=/trunk/; revision=33804
2008-06-01 13:14:02 +00:00
Dmitry Chapyshev
fa6f8006d0 - Update headers
svn path=/trunk/; revision=33803
2008-06-01 13:13:10 +00:00
Dmitry Chapyshev
cfb95de0f7 - Add language groups
svn path=/trunk/; revision=33802
2008-06-01 13:07:38 +00:00
Dmitry Chapyshev
1ddfc357da - Remove SysFontSubstitutes values
svn path=/trunk/; revision=33801
2008-06-01 13:05:55 +00:00
Dmitry Chapyshev
9b6d791e60 - Move layouts to lang headers
- Other small changes

svn path=/trunk/; revision=33800
2008-06-01 12:52:18 +00:00
Hervé Poussineau
b3b07836ef Start Rpc server listener thread before device installer thread
See issue #3068 for more details.

svn path=/trunk/; revision=33799
2008-06-01 10:49:28 +00:00
Daniel Reimer
fcd2a4e62c Bug 3299: czech translation from forum and some slovak translation by Stepan Gabriel - SGABA (sgaba@centrum.cz)
svn path=/trunk/; revision=33798
2008-06-01 10:26:42 +00:00
Magnus Olsen
61f33dad43 merge down changes from win32k-gdi-dx
1. Cleanup the layout it was mix of space and tab for whitespace
2. dllmain add same behoirs as xp/vista

svn path=/trunk/; revision=33797
2008-06-01 07:54:17 +00:00
James Tabor
1177ff923f Sorry again... NtGdiCreateEnhMetaFile will be converted to NtGdiCreateMetafileDC. Keeping the original code for now.
svn path=/trunk/; revision=33796
2008-06-01 05:40:53 +00:00
James Tabor
9adac31641 Sorry,,, NtGdiCreateEnhMetaFile will be converted to
svn path=/trunk/; revision=33795
2008-06-01 05:22:42 +00:00
Timo Kreuzer
2e3c186197 IntGdiLineTo: the dc pen might be deleted, don't assert, instead fall back to BLACK_PEN, fixes a crash when using FF
svn path=/trunk/; revision=33793
2008-06-01 00:54:08 +00:00
Timo Kreuzer
91b1e254fd preserve code for NtGdiCreateEnhMetaFile from win32k (where it's going to be removed later) in gdi32 (where it's going to be implemented later)
svn path=/trunk/; revision=33792
2008-05-31 23:15:34 +00:00
Eric Kohl
4e9ffdff7e User the user-specific date format instead of a hard-coded one.
svn path=/trunk/; revision=33791
2008-05-31 20:09:17 +00:00
Eric Kohl
fbcc10c57e - Add a property sheet for user groups. Settings are visible but cannot be changed yet.
- Add missing SVN properties.

svn path=/trunk/; revision=33790
2008-05-31 19:48:44 +00:00
Dmitry Chapyshev
b82096c544 - Move languages structures to header
- Add structures for adding fonts settings

svn path=/trunk/; revision=33789
2008-05-31 13:29:45 +00:00
Colin Finck
bdec9df44c Sync wininet with Wine. This fixes the Download! issue.
As we implement some more functions in the network stack now, I could remove some hacks from the "wininet_ros.diff" file.
Anyways, the following things still needed to be changed:
- Pass a variable to WriteFile for receiving the number of bytes written. This parameter is not checked for NULL in ReactOS and Windows, when lpOverlapped is also NULL.
  I'll submit a patch about this to Wine as well.
- Replace Unix poll() calls by equivalent select() calls
- Bypass sock_get_error(), directly call WSAGetLastError() as we don't have to translate Unix socket errors.

See issue #3197 for more details.

svn path=/trunk/; revision=33788
2008-05-31 13:02:59 +00:00
Colin Finck
c446f5ff58 Implement support for FIONREAD in WSPIoctl. (hope I did it properly)
It works correctly with the wininet I'll commit later and a test app I wrote myself.

svn path=/trunk/; revision=33787
2008-05-31 12:53:55 +00:00
Colin Finck
923017639c Implement support for MSG_PEEK.
Patch by Art Yerkes with small fix by me to make it working correctly. (verified with a test app)

svn path=/trunk/; revision=33786
2008-05-31 12:51:22 +00:00
Colin Finck
cb57056f4b Stub QuerySecurityPackageInfoA and QuerySecurityPackageInfoW, needed for the wininet Wine sync
svn path=/trunk/; revision=33785
2008-05-31 12:49:25 +00:00
Colin Finck
33369deba9 Use FILE_SHARE_READ | FILE_SHARE_WRITE in CopyFileExW to also copy opened files. Thanks to Christoph for the hint.
Behaviour was verified under WinXP SP2.

svn path=/trunk/; revision=33784
2008-05-31 12:48:51 +00:00
Magnus Olsen
de95e30718 revert my last change
1. it break vmware drv, for it align each bitmap row it create
2. diffent behoirs in diffent vm
this did show we have more serius bug to fix before we can apply correct fix.

svn path=/trunk/; revision=33783
2008-05-31 12:17:25 +00:00
Magnus Olsen
9ae5fa0777 Fixed bug in DIB_GetDIBWidthBytes
accdoing OSR it is number of bytes to next scanline in the bitmap, wine version did align it, that why wrong number of bytes was reported also fixed overflow bug in the math, and make sure if some part of win32k send in negtive width, it will not calc it wrong, Remove one hack in win32k, thx of this, Thx fireball that suggest this functions mabey was wrong 

svn path=/trunk/; revision=33782
2008-05-31 11:01:51 +00:00
Timo Kreuzer
2027d8d907 patch by Jeffrey Morlan (mrnobo1024 at yahoo dot com)
Testcase for NtGdiSetDIBitsToDeviceInternal
See issue #3294 for more details.

svn path=/trunk/; revision=33781
2008-05-31 00:04:16 +00:00
Pierre Schweitzer
58871282fd Added more cluster size values.
Spotted by GreatLord
For more informations: http://support.microsoft.com/kb/140365/en-us

svn path=/trunk/; revision=33780
2008-05-30 20:59:56 +00:00
Pierre Schweitzer
4db827d152 Check cluster size when mounting a volume
svn path=/trunk/; revision=33779
2008-05-30 18:55:05 +00:00
Dmitry Chapyshev
18eca01b10 - Implement parsing font.inf (Now it's possible to specify custom fonts for a language/locale!)
svn path=/trunk/; revision=33778
2008-05-30 18:18:36 +00:00
Dmitry Chapyshev
94ae0fcf03 - Change in WindowMetrics font to Tahoma
- Add Tahome font to bootcd
- Add some file association

svn path=/trunk/; revision=33777
2008-05-30 18:12:59 +00:00
Dmitry Chapyshev
2f15b4e95a - Small update inf file
svn path=/trunk/; revision=33776
2008-05-30 18:09:55 +00:00
Dmitry Chapyshev
3b36a9d68f - Add Tahoma fonts from Wine
svn path=/trunk/; revision=33775
2008-05-30 18:09:14 +00:00
Magnus Olsen
0feff0d802 fixed last part for the def file.
now it is 100% completed and update to windows 2003 sp1
sorry I did not do it one commit. 

svn path=/trunk/; revision=33774
2008-05-30 16:00:16 +00:00
James Tabor
7be3065c79 Thanks aicom, remove unimplemented tag.
svn path=/trunk/; revision=33773
2008-05-30 15:42:06 +00:00
James Tabor
326b3a11f8 Use System Bitmap DC, like a stock object but a hDC one.
svn path=/trunk/; revision=33772
2008-05-30 15:18:51 +00:00
Dmitry Chapyshev
ce3527ab5a - Add intl.inf and font.inf to bootcd
- Add shimgvw.dll to bootcd

svn path=/trunk/; revision=33771
2008-05-30 14:06:07 +00:00
Dmitry Chapyshev
00b0111c6c - Add font.inf and intl.inf
svn path=/trunk/; revision=33770
2008-05-30 14:03:19 +00:00
Dmitry Chapyshev
806eed0a98 - Implement EnumSystemCodePagesA/W
svn path=/trunk/; revision=33769
2008-05-30 13:59:20 +00:00
Aleksey Bragin
944d8b65c4 - Really fix _rotl. Thanks KJK::Hyperion!
svn path=/trunk/; revision=33768
2008-05-30 12:16:05 +00:00
Aleksey Bragin
c5d4f0f35a - Fix a warning in 1st of April's implementation of _rotl function.
svn path=/trunk/; revision=33767
2008-05-30 12:10:28 +00:00
James Tabor
c4f0f3c668 Move the init of server info after heap is init.
svn path=/trunk/; revision=33766
2008-05-30 06:13:52 +00:00
James Tabor
87b264fba8 Modified GDIOBJ_Copy and Set owner to return bool. Start the use of server info for metrics data. Tested with Qemu on Linux.
svn path=/trunk/; revision=33765
2008-05-30 04:56:10 +00:00
Magnus Olsen
a8585cf880 1. do not use wine def for reactos
2. this is almost 100% correct list of windows 2003 export list of msvcrt.def and it will make abiword working again for it was missing api wfreopen and allot more api from msvcrt
3. this add back api that was remove api they exists in windows 2003 export list
4. List was provide from colin f

See issue #3293 for more details.

svn path=/trunk/; revision=33764
2008-05-30 01:27:29 +00:00
Magnus Olsen
e141a01feb patch by Jeffrey Morlan ( email : mrnobo1024 at yahoo dot com )
the comment above is my. 
See issue #3295 for more details.

svn path=/trunk/; revision=33763
2008-05-29 22:39:39 +00:00
Timo Kreuzer
22942d0ae4 remove hFirstBitmap from the WIN_DC_INFO struct, wasn't used anyway and use StockObject(DEFAULT_BITMAP) for the default bitmap when creating a mem dc as on windows.
svn path=/trunk/; revision=33762
2008-05-29 19:44:23 +00:00
James Tabor
b61def0c68 Fix build.
svn path=/trunk/; revision=33761
2008-05-29 18:58:03 +00:00
James Tabor
c03961764a Use server information structure for system colors.
svn path=/trunk/; revision=33760
2008-05-29 18:51:17 +00:00
Aleksey Bragin
616f5e97e0 Stefan Ginsberg <stefan__100__@hotmail.com>
- Remove NT3/4 specific unimplemented function and change STDCALL -> NTAPI in mm.c
- Make ReactOS i386 kernel exports almost fully correspond to W2003SP1 ntoskrnl.exe's exports.

svn path=/trunk/; revision=33759
2008-05-29 16:09:47 +00:00
Aleksey Bragin
c5fa27e2d7 Stefan Ginsberg <stefan__100__@hotmail.com>
- Remove usage of unexported RtlDuplicateUnicodeString in green.sys driver (this is basically the same fix which Herve applied to blue.sys).

svn path=/trunk/; revision=33758
2008-05-29 16:00:20 +00:00
James Tabor
802eba95c5 Update NtUserBitBltSysBmp.
svn path=/trunk/; revision=33757
2008-05-29 15:32:05 +00:00
Dmitry Chapyshev
fa06cb862b - Add Russian translation
- Fixed parameters functions
- Add debug functions
- Add stubs for some functions

svn path=/trunk/; revision=33756
2008-05-29 14:30:26 +00:00
Daniel Reimer
e5ec2becfb Bug 3282: Spanish and Basque translation by Javier Remacha (remialdo@gmail.com)
Bug 3284: small slovak translation update by Mario Kacmar (kario@szm.sk)
Part 2 of 2

svn path=/trunk/; revision=33755
2008-05-29 11:40:11 +00:00
Daniel Reimer
b3091b7bf3 Bug 3282: Spanish and Basque translation by Javier Remacha (remialdo@gmail.com)
Bug 3284: small slovak translation update by Mario Kacmar (kario@szm.sk)
Part 1 of 2

svn path=/trunk/; revision=33754
2008-05-29 11:36:08 +00:00
Timo Kreuzer
3c6e5e169c sorry forgot this one
svn path=/trunk/; revision=33753
2008-05-29 01:30:33 +00:00
Timo Kreuzer
d60ea94881 fix palette implementation: use the surface's palette to crate the xlate objects, default to the device default palette. The dc palette defaults to stock object default palette. Implement IntCreateXlateForBlt, used in BitBlt etc functions to perform the needed operations to create the xlate object instead of duplicating the code. This allows for global thermonuclear solitaire again and hopefully doesn't break everything else ;-)
svn path=/trunk/; revision=33752
2008-05-29 01:17:50 +00:00
Timo Kreuzer
8d17551ae9 reapply Magnus Change to fix build.
note to Colin: THAT is the reason why ;-)

svn path=/trunk/; revision=33751
2008-05-28 23:02:26 +00:00
Timo Kreuzer
363e65143d (Nt)GdiFlushUserBatch:
- optmize by moving the locking of the dc to NtGdiFlushUserBatch instead of doing it for every object
- fix wrong pointer calculation (GdiFlushUserBatch returns the size of the objects in bytes not in ULONG)
- simplify a check
- add a comment: on XP NtGdiFlushUserBatch doesn't return NTSTATUS, but a pointer to inside the Teb, maybe random/VOID

svn path=/trunk/; revision=33750
2008-05-28 22:25:08 +00:00
Colin Finck
5a47d0b0ad Sync usp10 with Wine again, fixes the corrupted text display in AbiWord.
Thanks to CMan for regression-testing!

Also I removed Magnus' change in r33700.
If this is really required, please name the reason and add the change to a usp10_ros.diff file as this is a Wine-synched component. Also don't forget to include a header file for the DbgPrint prototype.

See issue #3280 for more details.

svn path=/trunk/; revision=33749
2008-05-28 21:41:41 +00:00
Colin Finck
d7e28db400 Sorry, forgot this file
svn path=/trunk/; revision=33748
2008-05-28 21:37:05 +00:00
Colin Finck
1e95911991 Samuel Serapión (samdwise51 AT gmail DOT com):
- Sync parts of msvcrt with Wine (more will follow)
  This makes us passing a lot more msvcrt Wine tests (like all heap tests)

svn path=/trunk/; revision=33747
2008-05-28 21:08:23 +00:00
Daniel Reimer
c6aa541df2 Add winhlp32 to bootcd.
svn path=/trunk/; revision=33746
2008-05-28 20:10:50 +00:00
Timo Kreuzer
d1dfa7c318 DCOrg is in device coordinates, fix a comment accordingly
svn path=/trunk/; revision=33745
2008-05-28 20:03:36 +00:00
Magnus Olsen
fe93333f0e This file will be share between dxg and win32k explain why will follow in documentations that Z98 helping me writing at moment. they will be release to public
fast explain windows xp and higher have two gdi table, it is better reuse same macro for both, that rewrite it one more time. 

svn path=/trunk/; revision=33744
2008-05-28 20:03:10 +00:00
Timo Kreuzer
ed5eae8cb6 EngLineTo: if pco == NULL use a private clip object, initialized with bounds rect
svn path=/trunk/; revision=33743
2008-05-28 20:00:03 +00:00
Dmitry Chapyshev
7c07a3d2c3 - Add baseaddress for shimgvw.dll
svn path=/trunk/; revision=33742
2008-05-28 19:53:41 +00:00
Dmitry Chapyshev
399371ec09 - Start implementing shimgvw.dll
svn path=/trunk/; revision=33741
2008-05-28 19:52:46 +00:00
Dmitry Chapyshev
862d7688c6 - Update Russian translation
svn path=/trunk/; revision=33740
2008-05-28 19:47:11 +00:00
Timo Kreuzer
cf00bb3cc7 EngCreateClip must allocate CLIPGDI, not only CLIPOBJ
svn path=/trunk/; revision=33739
2008-05-28 17:22:49 +00:00
Timo Kreuzer
492a434c2b [FORMATTING]
Apply consistent indentation (4 spaces)

svn path=/trunk/; revision=33738
2008-05-28 15:20:56 +00:00
Timo Kreuzer
219ad25324 [FORMATTING]
Fix indentation: 4 spaces, no code change

svn path=/trunk/; revision=33737
2008-05-28 14:32:06 +00:00
Daniel Reimer
896c4d6934 Updated winhelp from wine and renamed accordingly from winhelp to winhlp32.
svn path=/trunk/; revision=33736
2008-05-28 07:43:38 +00:00
James Tabor
85baf3767e Add Gdi entry flag.
svn path=/trunk/; revision=33735
2008-05-28 05:01:17 +00:00
James Tabor
56eae74260 NtUserRegisterClassExWOW also given FNID. Added one more fnid type.
svn path=/trunk/; revision=33734
2008-05-28 04:04:35 +00:00
James Tabor
5cccc4e338 NtUserSetWindowFNID is needed for supporting NtUserGetClassName bGetRealClass.
svn path=/trunk/; revision=33733
2008-05-28 02:36:25 +00:00
Timo Kreuzer
31335eaca5 exception.h: merge changes from wine.
Revision 1.37 fixes the exception in ole32 when opening a file with FoxitReader. Also fixes some warnings and hopefully some usermode crashes.

1.28: Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.

1.29: Alexandre Julliard <julliard@winehq.org>
include: Exception filters should return LONG, not DWORD.
Also move UnhandledExceptionFilter definitions to winbase.h since they
are there in the latest SDK.

1.30: Rob Shearman <rob@codeweavers.com>
include: Move Wine-specific EH_* defines from winnt.h to include/wine/exception.h.

1.33: Rob Shearman <rob@codeweavers.com>
Add a new convenience macro for an exception handler that handles all exceptions.
When using native compiler exceptions, the previous method of doing
this, __EXCEPT(NULL), would expand to __except(
(NULL)(GetExceptionInformation())) which doesn't compile as NULL isn't a
function.
So add a new macro, __EXCEPT_ALL, which works correctly both when using
native compiler exceptions and without and which makes the meaning of
code in which it is used clearer.

1.35: Alexandre Julliard <julliard@winehq.org>
ntdll: Make the exception handling functions inline.

1.36: Alexandre Julliard <julliard@winehq.org>
exception.h: Only push the exception frame after sigsetjmp.
Otherwise on Windows longjmp may want to mess with the exception frame.

1.37: Alexandre Julliard <julliard@winehq.org>
exception.h: Preserve registers when calling RtlUnwind.

See issue #812 for more details.

svn path=/trunk/; revision=33732
2008-05-28 00:41:13 +00:00
Aleksey Bragin
fb517419d2 - More header fixes.
svn path=/trunk/; revision=33731
2008-05-27 18:59:59 +00:00
Daniel Reimer
17e1cf3127 Polish language Update by Olaf Siejka
svn path=/trunk/; revision=33730
2008-05-27 18:54:23 +00:00
Johannes Anderwald
134baad36b - access parameter after they have been verified as valid
- fixes a kernel32_winetest crash
- fixes bug 3264

svn path=/trunk/; revision=33729
2008-05-27 10:53:23 +00:00
Johannes Anderwald
502222bd4c - fix typo in CreateServiceA
- bug found by Michael martinmnet at hotmail dot com (IRC: bugboy)

svn path=/trunk/; revision=33728
2008-05-27 08:54:07 +00:00
Ged Murphy
29ca8d764e Another typo. Yep, I'm officially today's jester...
svn path=/trunk/; revision=33727
2008-05-27 08:34:28 +00:00
Ged Murphy
7cb9f6e369 fix typo
svn path=/trunk/; revision=33726
2008-05-27 08:32:19 +00:00
Ged Murphy
d0a0a529f1 fix potential buffer overflow
svn path=/trunk/; revision=33725
2008-05-27 08:28:52 +00:00
Aleksey Bragin
6fdb1140a3 Daniel Zimmermann <netzimme@aim.com>
- Sync setlocale from Wine.
See issue #3254 for more details.

svn path=/trunk/; revision=33724
2008-05-27 08:11:06 +00:00
James Tabor
2ac4cc37b5 Rename and add new internal functions.
svn path=/trunk/; revision=33723
2008-05-27 01:38:01 +00:00
James Tabor
950f7264b3 Removed NtGdi rect calls.
svn path=/trunk/; revision=33722
2008-05-26 23:57:30 +00:00
James Tabor
d8b3f39eef Fix the rest too....
svn path=/trunk/; revision=33721
2008-05-26 21:12:17 +00:00
Johannes Anderwald
92d954c542 - check if MDICLIENTINFO is available before retrieving information
- fixes a user32_winetest crash

svn path=/trunk/; revision=33720
2008-05-26 20:52:28 +00:00
James Tabor
4204cdca6e Why are we deleting prgnVis after setting it up? Wine code shows that it is deleted after an error if it was setup prior the error. This fixes a bug introduced in revision 5118.
svn path=/trunk/; revision=33719
2008-05-26 20:36:38 +00:00
Filip Navara
2cb33838e4 Change the code a bit, as Hervé Poussineau points out, the interrupt vector could in some cases be zero.
svn path=/trunk/; revision=33718
2008-05-26 18:51:15 +00:00
Filip Navara
e5b4190710 Fix incorrect logic in IntVideoPortSetupInterrupt and add comment.
svn path=/trunk/; revision=33717
2008-05-26 18:32:40 +00:00
Johannes Anderwald
d543aa9e03 - only convert the devmode if the caller passed one
- fixes a user32_winetest crash failure

svn path=/trunk/; revision=33716
2008-05-26 18:13:17 +00:00
Aleksey Bragin
32a9a804de - Fix misc structures definitions.
svn path=/trunk/; revision=33715
2008-05-26 18:08:50 +00:00
Gregor Brunmar
53baa88e72 Removed legacy code from r33695, trying to free a NULL pointer
svn path=/trunk/; revision=33714
2008-05-26 16:13:19 +00:00
Aleksey Bragin
3c352d6375 - Erase countdown timer when needed. Based on a patch from bug 3279.
See issue #3046 for more details.

svn path=/trunk/; revision=33713
2008-05-26 15:27:09 +00:00
Johannes Anderwald
2dab0a3d0f - add support for a future timeout callback mechanism
svn path=/trunk/; revision=33712
2008-05-26 15:23:24 +00:00
Aleksey Bragin
b0bbb622d9 - Remove $Id tags.
svn path=/trunk/; revision=33711
2008-05-26 14:42:27 +00:00
Johannes Anderwald
d827979288 - check if its a primary monitor before calculating monitor intersection rectangle
- should fix bug 3281

svn path=/trunk/; revision=33709
2008-05-26 13:50:36 +00:00
Aleksey Bragin
76df1b3538 - Add more functions to the lookup table (used by the newest VMWare 6.5 Video driver).
svn path=/trunk/; revision=33708
2008-05-26 11:47:47 +00:00
Daniel Reimer
2b7e19ea24 Bug 3275: Italian resource translation update by Paolo Devoti (devotip@tiscali.it)
Bug 3277: Lithuanian translation by Vytis Girdzijauskas (cman@cman.us)

svn path=/trunk/; revision=33707
2008-05-25 22:44:32 +00:00
Daniel Reimer
2a4639ca5d Bug 3275: Italian resource translation update by Paolo Devoti (devotip@tiscali.it)
Bug 3277: Lithuanian translation by Vytis Girdzijauskas (cman@cman.us)

svn path=/trunk/; revision=33705
2008-05-25 22:15:26 +00:00
KJK::Hyperion
b8ff60afe1 modified include/psdk/winnls.h
Added definitions for NormalizeString and IsNormalizedString (Vista and later)
   Correct an embarassing bug (some macros were terminated with ";", shame shame)

added      nls
added      nls/3rdparty
added      nls/3rdparty/icu
   We officially welcome IBM's excellent ICU4C library for Unicode support to our humble source tree. May our marriage be long, happy and fertile.

added      nls/3rdparty/icu4ros.rbuild
added      nls/dll
added      nls/dll/normaliz_redist
added      nls/dll/normaliz_redist/normaliz.cpp
added      nls/dll/normaliz_redist/normaliz.def
added      nls/dll/normaliz_redist/normaliz_redist.rbuild
added      nls/lib
added      nls/lib/normalize
added      nls/lib/normalize/normalize.cpp
added      nls/lib/normalize/normalize.rbuild
added      nls/nls.rbuild
modified   ReactOS-generic.rbuild
   Incomplete implementation of the redistributable normaliz.dll DLL for Unicode normalization, as a technical preview of what's to come from the use of ICU4C - namely, straightforward, painless implementation of complex algorithms and several megabytes worth of data, with a Win32-compatible interface on top. Currently disabled in the build until basic testing is over.

Watch this space for more of the same.

svn path=/trunk/; revision=33703
2008-05-25 21:00:08 +00:00
Magnus Olsen
b5ab26f7a3 implement LpkDllInitialize for lpk
svn path=/trunk/; revision=33701
2008-05-25 17:52:28 +00:00
Magnus Olsen
b2744bf34b fix right export prefix for LpkPresent.
svn path=/trunk/; revision=33700
2008-05-25 17:51:15 +00:00
Magnus Olsen
ed494cbfbc add dll lpk it is stub for now.
it will be use of gdi32 and user32 later 

svn path=/trunk/; revision=33699
2008-05-25 15:22:09 +00:00
Colin Finck
b1f83f040a Update README.WINE about the crypt32 sync
svn path=/trunk/; revision=33698
2008-05-25 14:16:14 +00:00
Magnus Olsen
b86be5acd2 started added test for InitializeLpkHooks
this tests are not completed more will follow.
this is the frame work for testing InitializeLpkHooks


svn path=/trunk/; revision=33697
2008-05-25 12:04:06 +00:00
Eric Kohl
d53c67dc50 Add the general user properties page. Settings are visible but cannot be changed yet.
svn path=/trunk/; revision=33696
2008-05-25 11:50:56 +00:00
Gregor Brunmar
e1ae479d5a Reinstated DIALOG_get_info() based of Wine's implementation, but with some modifications. This makes us pass the last 6 failed dialog wine tests.
svn path=/trunk/; revision=33695
2008-05-25 11:12:42 +00:00
Dmitry Chapyshev
eaaa829ad8 - Start implementing WDM Audio driver mapper
svn path=/trunk/; revision=33694
2008-05-25 10:41:08 +00:00
Dmitry Chapyshev
8ad6c02608 - Add baseaddress for wdmaud.drv
svn path=/trunk/; revision=33693
2008-05-25 10:39:34 +00:00
Dmitry Chapyshev
bb3f867eee - Add stubs WDM Audio driver mapper
svn path=/trunk/; revision=33691
2008-05-25 09:34:14 +00:00
Gregor Brunmar
21f3bde4eb * Changed to correct signature of NtUserGetClassName()
* Implemented correct behaviour in GetRealWindowClass(), but in reality just shifted the todo parts to NtUserGetClassName() instead.

svn path=/trunk/; revision=33689
2008-05-25 08:36:30 +00:00
Pierre Schweitzer
61350d2a48 Fixed a bug in GetClipboardFormatNameA
svn path=/trunk/; revision=33688
2008-05-25 08:30:33 +00:00
Johannes Anderwald
cdc5cb8cf5 - fix wait functions for console handles
- bug 3273

svn path=/trunk/; revision=33687
2008-05-25 07:05:34 +00:00
Magnus Olsen
73e46408e9 implemeted test for GdiDeleteLocalDC, GdiReleaseLocalDC, GdiSetAttrs
tested in xp/vista/reactos and works no fault report.

svn path=/trunk/; revision=33681
2008-05-24 22:42:46 +00:00
Magnus Olsen
287182ff5f implemeted test for GdiConvertBitmap, GdiConvertBrush, GdiConvertDC, GdiConvertFont, GdiConvertPalette, GdiConvertRegion, GdiGetLocalBrush, GdiGetLocalDC
tested in xp/vista/reactos and works no fault report.

svn path=/trunk/; revision=33680
2008-05-24 22:20:31 +00:00
Colin Finck
1528124748 Samuel Serapión (samdwise51 AT gmail DOT com):
- Sync the advapi32 crypt functions to Wine 1.0-rc2, this way we pass some more winetests.

Changes by myself:
- Implement SystemFunction036 (RtlGenRandom) as the Wine equivalent is based on /dev/urandom, so that it cannot be used.
  Warning: This function uses the pseudo random number generator RtlRandom. It should better be implemented using a crypto-safe random number generator!

svn path=/trunk/; revision=33679
2008-05-24 22:16:15 +00:00
Ged Murphy
e96c16aa1e Add functionality to allow dll injection for all apps which link to user32.
svn path=/trunk/; revision=33678
2008-05-24 21:21:58 +00:00
Marc Piulachs
22ab89339c - Move every x86 HAL to it's own .rbuild file
- Take advantage of r33676

svn path=/trunk/; revision=33677
2008-05-24 20:32:44 +00:00
Marc Piulachs
1915f51cbc - Add "base" and "root" support to ImportLibrary. <importlibrary definition="../hal/hal_i386.def" /> -> <importlibrary base="hal" definition="hal_i386.def" />
svn path=/trunk/; revision=33676
2008-05-24 20:31:23 +00:00
Magnus Olsen
ff1a74c0da merge from win32k-gdi-dx r33674 Implement GdiAddGlsBounds
svn path=/trunk/; revision=33675
2008-05-24 19:02:23 +00:00
Marc Piulachs
9ea0a62432 - remove 'basename' , no such attribute exists for <importlibrary>
svn path=/trunk/; revision=33672
2008-05-24 15:33:49 +00:00
Pierre Schweitzer
0d8cccef41 Set default return of IRP_MJ_QUERY_INFORMATION to STATUS_INVALID_PARAMETER
svn path=/trunk/; revision=33671
2008-05-24 09:06:53 +00:00
Pierre Schweitzer
e2d4593c45 - Imported dciman32.dll from Wine HEAD
- Added it to bootcd
- Update README.WINE

svn path=/trunk/; revision=33670
2008-05-24 08:42:53 +00:00
Magnus Olsen
c11d2b1e4f Fixed at typo from me thx Daniel Zimmermann (netzimme at aim dot com) that notes it.
svn path=/trunk/; revision=33666
2008-05-23 19:12:07 +00:00
Magnus Olsen
389b7a34fb add test for NtUserGetTitleBarInfo patch by Daniel Zimmermann (netzimme at aim dot com)
tested on xp sp3 by me

See issue #3266 for more details.

svn path=/trunk/; revision=33665
2008-05-23 18:22:39 +00:00
Magnus Olsen
3797dab429 Fixed memory leak in w32knapi if it fail found gdihandle table patch by Daniel Zimmermann (netzimme at aim dot com)
See issue #3266 for more details.

svn path=/trunk/; revision=33664
2008-05-23 18:14:15 +00:00
Pierre Schweitzer
7625429990 No need to keep linux-ntfs:
- it's outdated
- more docs are available

svn path=/trunk/; revision=33663
2008-05-23 18:01:42 +00:00
Aleksey Bragin
494bf7baae - msiexec is GUI app, not CUI.
svn path=/trunk/; revision=33662
2008-05-23 17:55:30 +00:00
Johannes Anderwald
1f9058bdaf - add stubs for GetTraceEnableFlags, GetTraceEnableLevel, RegisterTraceGuidsA, RegisterTraceGuidsW and UnregisterTraceGuids
svn path=/trunk/; revision=33661
2008-05-23 16:31:22 +00:00
Johannes Anderwald
3dd48684d5 - add prototypes for GetTraceEnableLevel, RegisterTraceGuidsA, RegisterTraceGuidsW, UnregisterTraceGuids
- add WMIPREQUEST, TRACE_GUID_REGISTRATION definition
- add wmistr.h header

svn path=/trunk/; revision=33660
2008-05-23 16:29:05 +00:00
Aleksey Bragin
20263a1377 - Revert 32675 (enabling usage of the cache bitmap). It was just hiding the real bug fixed in r33633, and the bitmap code seems to not be finished (e.g. "out of CacheSeg space" bug).
svn path=/trunk/; revision=33659
2008-05-23 14:40:50 +00:00
James Tabor
d05a01709b Add more data for extended clip object.
svn path=/trunk/; revision=33658
2008-05-23 12:50:46 +00:00
Magnus Olsen
3b4c9ded42 Implemtened : NtUserGetTitleBarInfo
This code was writen by me and Daniel Zimmermann (netzimme at aim dot com) and it is base on wine version, 


See issue #3266 for more details.

svn path=/trunk/; revision=33657
2008-05-23 05:46:22 +00:00
James Tabor
540035b99a Removed w.flags from dc.h update all related.
svn path=/trunk/; revision=33656
2008-05-23 01:46:55 +00:00
James Tabor
f5aa4b5c0c Move W structure back into dc.h and added the clip object for dcobj.
svn path=/trunk/; revision=33655
2008-05-23 01:11:25 +00:00
Marc Piulachs
62413f7a09 - Remove crtdll reference. All Win32* modules implicitly link msvcrt.
svn path=/trunk/; revision=33654
2008-05-23 00:57:32 +00:00
James Tabor
6f3798d0cf Removed unused code from Arc. Removed old saveLevel and hSelf, use DcLevel. Other changes to region and clipping.
svn path=/trunk/; revision=33653
2008-05-23 00:29:08 +00:00
Colin Finck
6eb7885be4 Apply the fix from r32705 to C and C++ files as well.
This fixes the "rebuild-everything-on-every-change" bug (at least for me)
For the record, this is broken since r32595.

Note: If you have building problems after this commit when building a single module, please try to revert only my changes from lines 1847 to 1850.

svn path=/trunk/; revision=33652
2008-05-23 00:11:52 +00:00
Timo Kreuzer
89deeaf7c4 fix a cast and indentation
svn path=/trunk/; revision=33651
2008-05-22 23:16:35 +00:00
Steven Edwards
5c30086951 Sync GetTempPathW with current Wine. This should help with some
installers the depend on the USERPROFILE variable being present. Does
not fix the Word 2003 viewer install but changes the behavior slightly
and is more correct.


svn path=/trunk/; revision=33650
2008-05-22 21:07:41 +00:00
Marc Piulachs
09a85aaedd - express PCH location in a more correct way
svn path=/trunk/; revision=33649
2008-05-22 20:45:58 +00:00
Johannes Anderwald
3460e9ab3c - add GetTraceEnableFlags prototype
svn path=/trunk/; revision=33648
2008-05-22 20:26:53 +00:00
Aleksey Bragin
e5196d85e3 - Actually remove the exports.
svn path=/trunk/; revision=33647
2008-05-22 19:44:43 +00:00
Aleksey Bragin
8522c6766e Stefan Ginsberg <stefan__100__@hotmail.com>
- Remove KiRosPrintAddress export from ntoskrnl_i386.def, and CcRos* apis too.
- Make win32k use KeRosDumpStackFrames instead of KiRosPrintAddress.

svn path=/trunk/; revision=33646
2008-05-22 19:31:49 +00:00
Johannes Anderwald
1e5dd70adb - fix integer to string representation
- patch by Carlo Bramini
- bug 2437

svn path=/trunk/; revision=33645
2008-05-22 17:40:01 +00:00
Johannes Anderwald
27ee5b62b8 - define _WMI_SOURCE_ macro
- include evntrace header
- implement stubs for GetTraceLoggerHandle and TraceEvent and also export them

svn path=/trunk/; revision=33644
2008-05-22 17:23:47 +00:00
Johannes Anderwald
63477f9dd4 - check if PEVENT_TRACE_HEADER is already defined
- define WMIAPI macro
- add TraceEvent, GetTraceLoogerHandler prototypes
- PEVENT_TRACE_HEADER should not be defined in the NDK

svn path=/trunk/; revision=33643
2008-05-22 17:12:42 +00:00
Timo Kreuzer
5db224e2b9 implement SPI_GET/SETSTICKYKEYS, SPI_GET/SETFILTERKEYS, SPI_GET/SETTOGGLEKEYS, SPI_GET/SETSERIALKEYS, SPI_GET/SETMOUSEKEYS, SPI_GET/SETKEYBOARDPREF, SPI_GET/SETSHOWSOUNDS, SPI_GET/SETACCESSTIMEOUT
makes access.cpl start again.
See issue #3133 for more details.

svn path=/trunk/; revision=33640
2008-05-22 14:51:01 +00:00
Timo Kreuzer
41b38a2ea1 fix a typo
svn path=/trunk/; revision=33639
2008-05-22 14:36:25 +00:00
KJK::Hyperion
dc75130891 Patch by Alex Ionescu <alex.ionescu@reactos.org>
See issue #3054 for more details.

svn path=/trunk/; revision=33637
2008-05-22 13:40:42 +00:00
KJK::Hyperion
1fe8b5d775 Reverting r33635
svn path=/trunk/; revision=33636
2008-05-22 13:37:27 +00:00
KJK::Hyperion
7184323272 Patch by Alex Ionescu <alex.ionescu@reactos.org>
See issue #3116 for more details.

svn path=/trunk/; revision=33635
2008-05-22 13:19:32 +00:00
James Tabor
c379e6ad12 Add NtGdiGetRandomRgn iCode values.
svn path=/trunk/; revision=33634
2008-05-22 12:51:53 +00:00
KJK::Hyperion
b16ac9683a - Remove WINE-isms from KeDeviceQueue code
- Fix memory corruption that happened pretty much everytime you pressed a key or moved the mouse -- reponsible for countless crashes, including the famous ASSERT during 1-stage setup.
 - Remove anti-memory-corruption-workaround from VFAT
 - Note: If you're going to do use device queues in your driver, please learn how. Kthxbye.
Patch by Alex Ionescu <alex.ionescu@reactos.org>
_____

Alex,
 Marry me,
KJK::Hyperion
XOXOXO

See issue #3116 for more details.

svn path=/trunk/; revision=33633
2008-05-22 11:46:46 +00:00
Magnus Olsen
af1376546d implemented GetTitleBarInfo in user32 it works now same as xp/vista left todo implemented it proper in win32k on the syscall NtUserGetTitleBarInfo that is stub at moment.
svn path=/trunk/; revision=33632
2008-05-22 08:39:24 +00:00
Aleksey Bragin
483ac0fe6c - Fix a typo in this header's guard, prevents multiple inclusion.
svn path=/trunk/; revision=33631
2008-05-22 07:17:16 +00:00
James Tabor
f9814c9de4 Fix behavior if bmi null in NtGdiCreateDIBSection. Start internal functions for regions, includes a wine port get_region_type.
svn path=/trunk/; revision=33629
2008-05-21 22:32:13 +00:00
Hervé Poussineau
1136b9642b Fix precompiled header name.
According to http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html , precompiled header name *must be* the name of the header followed by .gch
See issue #3263 for more details.

svn path=/trunk/; revision=33627
2008-05-21 18:00:40 +00:00
Hervé Poussineau
b18f57e3fc Disable precompiled headers for files which are in more than one module
(Precompiled header name have a fixed name, but modules may have different compile options)

svn path=/trunk/; revision=33626
2008-05-21 17:57:24 +00:00
Aleksey Bragin
3c2ec47c4a - Fix build.
svn path=/trunk/; revision=33624
2008-05-21 16:19:41 +00:00
Aleksey Bragin
04d1f6f145 Stefan Ginsberg <stefan__100__@hotmail.com>
- Fix NtFlushVirtualMemory definition in PSDK.
- Fix NtFlushVirtualMemory's usage in kernel32.
- Fix FlushViewOfFile's prototype (DWORD -> SIZE_T, as it is in PlatformSDK).
- Add a C_ASSERT definition to winnt.h.
- Change a meaningless ASSERT to a C_ASSERT.

svn path=/trunk/; revision=33623
2008-05-21 16:10:00 +00:00
Johannes Anderwald
fad6923fb5 - check input parameters in LoadString[A|W]
- fixes a winetest issue
- patch by Kamil Hornicek (Pigglesworth)

svn path=/trunk/; revision=33622
2008-05-21 15:33:38 +00:00
Aleksey Bragin
dbc9964533 - Fix a few typos in SHARED_CACHE_MAP definition in NDK.
- Minor fix to BITMAP_RANGE structure in ntifs.h.

svn path=/trunk/; revision=33621
2008-05-21 15:28:43 +00:00
Aleksey Bragin
90c42a08eb - Convert imagehlp's .def file to .spec format (keeping same ordinals, etc), since ---enable-stdcall-fuxup does not really work for linking.
- Uncomment function declarations in psdk/imagehlp.h and thus make crypt32 use them to prevent stack corruption (it was generating implicit declarations warnings).

svn path=/trunk/; revision=33620
2008-05-21 14:43:29 +00:00
Magnus Olsen
23722e0cb4 filter the higher part of DWORD for return value of VBE return value from the BIOS
this will make allot ATI card working proper. thx again bear windows for the info and mail response which card need it, more info for this issue at http://www.bearwindows.boot-land.net/vbemp.htm#10

svn path=/trunk/; revision=33619
2008-05-21 13:47:22 +00:00
Timo Kreuzer
788d425ef1 - Fix wrong debug output when a process is terminated, by deleting the it's objects in a proper order, fixes bug 2954
- remove Fireball's, ugly nasty hack.
- Fix debug output to show the right problem
- For all people who think the handle table might be messed up: add a function that validates the handle table integrity after a process is closed, when GDI_DEBUG is defined.
- fix the BaseObjects hHmgr field when converting an object to a stock object.
- move all GDI_DEBUG stuff into it's own file

See issue #2954 for more details.

svn path=/trunk/; revision=33618
2008-05-20 20:39:32 +00:00
Marc Piulachs
c912e98ba3 - Added 'MessageHeader' module type for handling .mc files
- turn .mc generated files (RC & Headers) into real dependencies

svn path=/trunk/; revision=33616
2008-05-20 19:46:14 +00:00
Marc Piulachs
3c976797cd - Add svchost to build
svn path=/trunk/; revision=33615
2008-05-20 19:33:00 +00:00
Dmitry Chapyshev
413660b2dc - Add code for getting language name
svn path=/trunk/; revision=33614
2008-05-20 18:02:39 +00:00
Johannes Anderwald
0f40cce788 - monitor device name start with "\\.\\DISPLAY<number>" than with "\\??\\DISPLAY<number>"
- implement handling MONITOR_DEFAULTTOPRIMARY in IntGetMonitorsFromRect
- implement handling MONITOR_DEFAULTTONULL in NtUserMonitorFromWIndow
- ReactOS now passes all user32_winetest monitor tests

svn path=/trunk/; revision=33613
2008-05-20 15:20:28 +00:00
Johannes Anderwald
dd8f25a940 - zero DISPLAY_DEVICEW struct before passing it to NtUserEnumDisplayDevices
- copy string the resulting strings on success but on failure
- fix 2 memory leaks in EnumDisplayMonitors
- fixes a user32_winetest error

svn path=/trunk/; revision=33612
2008-05-20 14:57:37 +00:00
Ged Murphy
45a63ea020 iterate the number of sections, not the number of directory entries
svn path=/trunk/; revision=33611
2008-05-20 14:20:54 +00:00
Johannes Anderwald
0b0ec52a01 - remove unneeded cast in GetClipboardData
- use WideCharToMultiByte instead of RtlUnicodeStringToAnsiString
- fix memory leak in GetClipboardFormatNameA
- ReactOS now passes all user32_winetest.exe clipboard test (previously 2 failures)

svn path=/trunk/; revision=33610
2008-05-20 13:42:17 +00:00
Aleksey Bragin
7347f5ab15 Stefan Ginsberg <stefan__100__@hotmail.com>
- Fix the commented out export in win32k.def and fix the definition for EngGetCurrentCodePage.
- Add RtlGetDefaultCodePage to NDK headers.

svn path=/trunk/; revision=33609
2008-05-20 13:21:21 +00:00
Dmitry Chapyshev
be3257fbc9 - Add kbsdll to bootcd
svn path=/trunk/; revision=33608
2008-05-20 12:54:36 +00:00
Dmitry Chapyshev
0f37c3c8f0 - Added kbsdll to install hooks (does not work on ReactOS). To switch layouts temporarily used keys Left Alt + F10
svn path=/trunk/; revision=33607
2008-05-20 12:53:31 +00:00
Daniel Reimer
14f90f0f92 Bug 3256: Greek translation update for usetup by Apostulos Alexandris (djapal@gmail.com)
Bug 3261: Korean translation of mstsc by Seungju Kim (admin@manateeshome.com)

svn path=/trunk/; revision=33606
2008-05-20 08:49:40 +00:00
James Tabor
1879a9fa70 Win32k:
- GDI_TABLE_ENTRY ProcessId is a dword or int not a short.
- Notice also the pid for f5e, it's set GDI_OBJ_HMGR_NONE with pUser 0. Our DCE code handling pUser is right with that respect.
- Tested wine gdi32: dc gdiobj and user32: dce, all result same as before.

 object list for DC type objects owned by ALL PIDs
   I,   handle,   Lock, sCount,  pid,       pv,     objt, unique,  Flags,    pUser,    Tlock
--------------------------------------------------------------------------------------------
 f4c, ca010f4c,      0,      0,  d60, e2ebc2a0,       DC,   ca01,      0, 00f80570, 00f80570
 f5e, 60010f5e,      0,      0, 80000012, e28ce008,       DC,   6001,      4, 00000000, 00000000
 f9d, b4010f9d,      0,      0,  d60, e2ee6008,       DC,   b401,      0, 00350000, 00350000


svn path=/trunk/; revision=33605
2008-05-20 02:54:33 +00:00
Aleksey Bragin
7e73882c3e Stefan Ginsberg <stefan__100__@hotmail.com>
- Export undocumented Win32k functions and add stubs for them (information about prototypes if from Alex). Also implement and export a couple of documented APIs, and a bunch of APIs we implement but did not export.

svn path=/trunk/; revision=33604
2008-05-19 20:47:31 +00:00
Marc Piulachs
e9cfeb1071 - Removed hard coded bootsector from *Iso module types and express it with rbuild syntax.
- Enabled installname attribute and removed hard coded output file name from *Iso module types. We can now use properties : ReactOS_$(arch).iso > ReactOS_i386.iso

svn path=/trunk/; revision=33603
2008-05-19 20:46:46 +00:00
Hervé Poussineau
eb2daf17cc Use dynamic traces
svn path=/trunk/; revision=33602
2008-05-19 20:34:04 +00:00
Aleksey Bragin
1d020c54d9 - Ugly hack about corrupted KernelData pointer, which is being accessed. Hacks around bugs like bug 2954.
See issue #2954 for more details.

svn path=/trunk/; revision=33601
2008-05-19 20:27:48 +00:00
James Tabor
2a28b8de6b Add correction for GetClassName.
svn path=/trunk/; revision=33600
2008-05-19 19:23:02 +00:00
Gregor Brunmar
e657a0d73a ReactOS leads you to mysterious API calls. Added tests for RealGetWindowsClass() with some strange behaviours for later use when implementing RealGetWindowClass().
svn path=/trunk/; revision=33599
2008-05-19 17:50:39 +00:00
Magnus Olsen
67e132ff6b Bugfix EngBitBlt it did miss the prefix @44 in the def file
svn path=/trunk/; revision=33598
2008-05-19 10:20:39 +00:00
Aleksey Bragin
9cc4675c59 - Implement restoring DRx registers if the thread is being debugged.
svn path=/trunk/; revision=33597
2008-05-19 10:04:21 +00:00
Hervé Poussineau
8ee5bedcd5 Implement FSCTL_SET_COMPRESSION
svn path=/trunk/; revision=33596
2008-05-18 19:22:31 +00:00
Hervé Poussineau
9a96254da9 Add a key to change the keyboard layout on the livecd
svn path=/trunk/; revision=33594
2008-05-18 18:37:17 +00:00
Hervé Poussineau
cf5b6bb2e2 Display again the 'New' context menu, which was broken in r30366
See issue #3183 for more details.

svn path=/trunk/; revision=33592
2008-05-18 18:07:00 +00:00
Hervé Poussineau
0485103593 Add stub implementation for ElfrOpenELW()
svn path=/trunk/; revision=33590
2008-05-18 16:14:34 +00:00
Marc Piulachs
0ac3f1989d - remove now unneeded files
svn path=/trunk/; revision=33589
2008-05-18 16:04:19 +00:00
Marc Piulachs
4442c49eca - small fix
svn path=/trunk/; revision=33588
2008-05-18 16:01:34 +00:00
Hervé Poussineau
fdb3291c6b Send an empty string, as required by the documentation
See issue #3202 for more details.

svn path=/trunk/; revision=33587
2008-05-18 16:01:29 +00:00
Marc Piulachs
ac77d9d3a6 - Moved commands outside TechBot.Library to TechBot.Commands.Common and TechBot.Commands.MSDN except for Command base classes
- Made TechBot more configurable through .config files
- Code refactoring
- Removed automatic parameter parsing support to make everyone happy

svn path=/trunk/; revision=33586
2008-05-18 15:54:43 +00:00
Hervé Poussineau
6d51a10a1b Make eventlog RPC interface more compatible with MS Windows
svn path=/trunk/; revision=33585
2008-05-18 15:29:53 +00:00
Hervé Poussineau
8163d0f36b Replace ERR() by WARN() on error codes which can be normal
svn path=/trunk/; revision=33584
2008-05-18 15:26:24 +00:00
Hervé Poussineau
744f5df30f Fix build
svn path=/trunk/; revision=33583
2008-05-18 15:23:52 +00:00
Hervé Poussineau
053940df37 Add ms-dtyp.idl file, and use it
svn path=/trunk/; revision=33582
2008-05-18 15:17:12 +00:00
Dmitry Chapyshev
b590073eb4 - Add "ReactOS Standard" and "ReactOS Classic" color schemes
- Add registry keys for cursors schemes

svn path=/trunk/; revision=33581
2008-05-18 15:14:04 +00:00
Dmitry Chapyshev
46dd23149f - Update icons
svn path=/trunk/; revision=33580
2008-05-18 15:06:30 +00:00
Eric Kohl
653089313c - Rename CheckUserName() to CheckAccountName() and move it to a new source file (misc.c).
- Also use CheckAccountName() to check group names for illegal characters.

svn path=/trunk/; revision=33579
2008-05-18 14:59:44 +00:00
Johannes Anderwald
e5495f7f62 - default to seperator item type
- add the styles grayed and disabled in case they have not been added
- initialize allocated user buffer to zero
- allow support for bitmap items with MF_HELP style
- check result of WideCharToMultiByte
- always zero terminate a string buffer when enough space is available

svn path=/trunk/; revision=33578
2008-05-18 14:18:00 +00:00
Hervé Poussineau
36ce0cd8af Forward all IRPs, even unknown ones
svn path=/trunk/; revision=33577
2008-05-18 11:45:26 +00:00
Gregor Brunmar
5dd0513c53 Reverted winesync's wrongly updated msi.rbuild to get rid of "always build msi" problem again.
svn path=/trunk/; revision=33576
2008-05-18 11:45:17 +00:00
Gregor Brunmar
d480eb8884 Reminder to self: Don't rely on MSDN. This should get taskmgr working again.
svn path=/trunk/; revision=33575
2008-05-18 11:41:32 +00:00
Aleksey Bragin
b97e40c655 - Add a comment describing behavior in case of HvSyncHive failure.
svn path=/trunk/; revision=33574
2008-05-18 11:26:36 +00:00
Colin Finck
5508c5cbb2 Make 1000% sure that any regedit is started by launching regedit from the search path if the GetWindowsDirectory call failed. (suggested by Alex on ros-dev)
svn path=/trunk/; revision=33573
2008-05-18 11:24:56 +00:00
Colin Finck
5bc725550f Oops, forgot to link to shlwapi now that we use PathAppend.
svn path=/trunk/; revision=33572
2008-05-18 11:08:11 +00:00
Colin Finck
722735c754 Check if the GetWindowsDirectory call succeeded and use PathAppend to prevent a buffer overflow, when WinDir + "\regedit.exe" > MAX_PATH
svn path=/trunk/; revision=33571
2008-05-18 10:56:31 +00:00
Dmitry Chapyshev
b00f2fbdd7 - Add hotkeys settings to registry
svn path=/trunk/; revision=33570
2008-05-18 10:37:32 +00:00
Pierre Schweitzer
a0f56dbcb8 Synced uxtheme.dll with Wine HEAD
svn path=/trunk/; revision=33569
2008-05-18 10:03:29 +00:00
Hervé Poussineau
922e25b702 Free memory only we allocated it
svn path=/trunk/; revision=33568
2008-05-18 09:34:31 +00:00
Dmitry Chapyshev
e3a477e256 - Implement "Advanced Key Settings" and "Change Key Sequence" dialogs
svn path=/trunk/; revision=33567
2008-05-18 09:06:48 +00:00
Gregor Brunmar
5b23dbf12b More correct include for PSEH support
svn path=/trunk/; revision=33566
2008-05-18 08:40:03 +00:00
Eric Kohl
02d1ef26f3 Check user name for illegal characters when it is changed from within the user list.
svn path=/trunk/; revision=33565
2008-05-17 22:33:04 +00:00
Pierre Schweitzer
8fdd4d9b2a Forgot to commit urlmon.dll tests synced with Wine HEAD
svn path=/trunk/; revision=33564
2008-05-17 22:29:12 +00:00
Pierre Schweitzer
0cbcee9d20 Removed wrong entrypoint
svn path=/trunk/; revision=33563
2008-05-17 21:52:51 +00:00
Colin Finck
ab189e51e4 Change the LCID for the default Bulgarian keyboard layout from 00040402 to 00000402.
See issue #3208 for more details.

svn path=/trunk/; revision=33562
2008-05-17 21:01:08 +00:00
Colin Finck
92545f124e - Minor fixes to work more like WinXP's cmd
- Removed the now obsolete "seta_test.cmd"

svn path=/trunk/; revision=33561
2008-05-17 20:07:31 +00:00
Colin Finck
b655fc4f5e Add a testing suite for CMD based on CMD scripts.
Of course, ReactOS' cmd doesn't work at all with the framework at the moment :-)

Some tests were taken from "seta_test.cmd" by Royce. (see file headers)

svn path=/trunk/; revision=33560
2008-05-17 20:01:21 +00:00
The Wine Synchronizer
a5d311777a Autosyncing with Wine HEAD
svn path=/trunk/; revision=33559
2008-05-17 19:46:54 +00:00
The Wine Synchronizer
0617a6d452 Autosyncing with Wine HEAD
svn path=/trunk/; revision=33558
2008-05-17 19:46:01 +00:00
Eric Kohl
fdaf506151 Add code to create, delete and rename user groups.
svn path=/trunk/; revision=33557
2008-05-17 16:06:54 +00:00
Marc Piulachs
107c3d29cb -make rbuild files XML compliant by adding the XInclude namespace
-sync winetest to WINE-rc1
-add a rbuild file for winetest (not added to build yet)
note: minor winetest modifications should be made like loading tests from a folder at startup

svn path=/trunk/; revision=33556
2008-05-17 15:44:47 +00:00
Eric Kohl
95b8c49444 Limit the maximum user name length to 20 characters when a user name is changed from within the users list.
svn path=/trunk/; revision=33555
2008-05-17 15:19:01 +00:00
Eric Kohl
9e6e290b4f New user dialog: Implement user options properly.
svn path=/trunk/; revision=33554
2008-05-17 14:00:39 +00:00
James Tabor
4f5b849245 Add DCE pointer to window class. Start support for real Class DCEs.
svn path=/trunk/; revision=33553
2008-05-17 11:55:24 +00:00
Pierre Schweitzer
4fc98cbda8 Synced urlmon.dll with Wine HEAD.
This *does not* fix Downloader, but it now returns an error message.

svn path=/trunk/; revision=33552
2008-05-17 10:36:13 +00:00
Marc Piulachs
6cf68480b9 Add ROS_BUILDENGINE variable to determine the location of rbuild
- Allows using an rbuild executable other than the one found in the same source tree (tools\rbuild)

svn path=/trunk/; revision=33551
2008-05-17 09:56:15 +00:00
Hervé Poussineau
cc899cd2b7 Add fusion.idl from Wine
svn path=/trunk/; revision=33550
2008-05-17 09:53:01 +00:00
Pierre Schweitzer
77d213e6cf Limit introduction string to 256 letters (no more, not less)
svn path=/trunk/; revision=33549
2008-05-17 09:45:13 +00:00
Colin Finck
6209e87ead Make 100% sure that the correct "regedit.exe" is launched by using GetWindowsDirectory and appending "\regedit.exe" as suggested by Alex on ros-dev.
svn path=/trunk/; revision=33547
2008-05-17 09:39:36 +00:00
Colin Finck
0b51d20053 Revert the _T('x') to 'x' changes from my previous commit.
Although both methods work properly, _T('x') seems to be the more convenient method used throughout cmd.

svn path=/trunk/; revision=33546
2008-05-17 09:23:21 +00:00
Colin Finck
3b1370bd40 - Fix some warnings spotted by MSVC
- Define cmd_exit to ExitProcess if _DEBUG_MEM is not defined.
  Fixes compilation, when _DEBUG_MEM is turned off.

svn path=/trunk/; revision=33545
2008-05-17 08:49:39 +00:00
Pierre Schweitzer
982ea317be Apply the same fix to dwnl
svn path=/trunk/; revision=33544
2008-05-17 08:20:32 +00:00
Pierre Schweitzer
7f3429142d Zero memory using HeapAlloc flag
Spotted by Stefan Ginsberg <stefan__100__@hotmail.com>

svn path=/trunk/; revision=33543
2008-05-17 08:19:23 +00:00
Hervé Poussineau
ab0acbf7ef Remove IRP_MJ_QUERY_INFORMATION / FileNetworkOpenInformation
Fix misc bugs

svn path=/trunk/; revision=33542
2008-05-16 19:00:47 +00:00
Colin Finck
2b6a8f06f5 Carlo Bramini (carlo DOT bramix AT libero DOT it):
- Implemented "regedt32", which just calls "regedit"
See issue #3248 for more details.

svn path=/trunk/; revision=33541
2008-05-16 16:53:36 +00:00
Pierre Schweitzer
f4de98290f Check if memory was goodly allocated and zero it before use
svn path=/trunk/; revision=33540
2008-05-16 16:13:04 +00:00
Marc Piulachs
3195cffc1f - Add specific properties to the keyboardlayout module type. They will assist us on autogenerating/updating the [keyboardLayout] & [Files.KeyboardLayout] from txtsetup and registry information automatically in the near future
note: All rbuild files in reactos\dll\keyboard must be updated to contain the follwing information:

<module name="kbdusl" type="keyboardlayout" (...) description="US Dvorak for left hand" lcid="00030409" layoutId="001A" layoutnameresid="5027" >

svn path=/trunk/; revision=33539
2008-05-15 22:38:18 +00:00
Marc Piulachs
3b3bd169e9 - change module type kernelmodedll -> keyboardlayout
svn path=/trunk/; revision=33538
2008-05-15 22:23:34 +00:00
Hervé Poussineau
768bae5356 Improve filter command by changing its syntax
Syntax: filter [error|warning|trace|info|level]+|-[componentname|default]

svn path=/trunk/; revision=33537
2008-05-15 20:43:26 +00:00
Hervé Poussineau
c79d92ab52 Fix debug output of strings
svn path=/trunk/; revision=33536
2008-05-15 20:29:50 +00:00
Gregor Brunmar
c65c9124fa Oops, didn't see the commented section.
svn path=/trunk/; revision=33535
2008-05-15 20:13:40 +00:00
Gregor Brunmar
937c311155 Synced listbox LB_SETCURSEL behaviour with Wine, to pass a couple of more winetests.
svn path=/trunk/; revision=33534
2008-05-15 20:11:26 +00:00
Hervé Poussineau
2f9c333ded cmd: replace static traces by dynamic ones
svn path=/trunk/; revision=33533
2008-05-15 20:02:05 +00:00
Gregor Brunmar
bc59a11cc8 Patch by Kamil Hornicek ( tykef AT atlas DOT cz ):
* Fixed DialogBoxParam to set correct error values and returning correct error codes

svn path=/trunk/; revision=33532
2008-05-15 19:07:46 +00:00
Marc Piulachs
eb3bf8718c - Add specific module type for keyboard layouts
- Added a description attribute to modules
- Added a lcid attribute to modules (KeyboardLayout only)

svn path=/trunk/; revision=33531
2008-05-15 14:46:15 +00:00
Colin Finck
d2bc8a879f - Rename the LICINFO structure to LIC_CONTEXT as LICINFO is already used in one of the official MS PSDK headers
- Replace IsUserAdmin (Wine API) with IsUserAnAdmin (shell32 API)

When you now add the PROCESSOR_POWER_INFORMATION structure to "precomp.h" (which was "accidentally omitted from WinNT.h" according to MSDN..), sysdm.cpl can be compiled using MSVC and the MS PSDK headers.

svn path=/trunk/; revision=33530
2008-05-15 14:33:33 +00:00
Johannes Anderwald
5961c78fbd - use menu identifier for menu items which have submenus
- menu item is a separator when id, flags and string is zero (verified with MS Visual 2005)
- set item separator MF_GRAYED as default style
- rewrite CheckMenuRadioItem
- check if checkmarks applies to more than one submenu
- check if checkmark was set
- dont set checkmark on menu item separator
- recurse into sub menus when available
- implement handling by MF_BYPOSITION
- ReactOS now passes now all tests from test_CheckMenuRadioItem in user32_winetest

svn path=/trunk/; revision=33529
2008-05-15 14:10:55 +00:00
Colin Finck
c091afbac7 Carlo Bramini (carlo DOT bramix AT libero DOT it):
- Simplify blitting the screen bitmap to the main window.

This also hides a ROS GDI bug, for which I'm going to open a new bug report.
See issue #3241 for more details.

svn path=/trunk/; revision=33528
2008-05-15 14:06:19 +00:00
Colin Finck
571960c0e1 Remove old leftovers from the time when shell32 was still synchronized with Wine
svn path=/trunk/; revision=33527
2008-05-15 13:55:26 +00:00
Marc Piulachs
e5eeaef2d2 - Added a new attribute 'internal' to 'Property' element. Internal properties are like regular properties but internal to rbuild (they are not included in the generated makefile)
svn path=/trunk/; revision=33526
2008-05-15 13:55:25 +00:00
Dmitry Chapyshev
18ef8485c0 - Start implement "Advanced Key Settings" and "Change Key Sequence" dialogs
- Update all resources

svn path=/trunk/; revision=33525
2008-05-15 12:38:12 +00:00
James Tabor
cb1555ed4f Add Client and Color transform objects.
svn path=/trunk/; revision=33524
2008-05-15 11:38:46 +00:00
Dmitry Chapyshev
3a5f1cf0b9 - Don't show applets on taskbar
svn path=/trunk/; revision=33523
2008-05-15 05:43:01 +00:00
James Tabor
ba435ce3c6 Implement Delete/CreateColorSpace and Get/SetColorSpace.
svn path=/trunk/; revision=33522
2008-05-15 02:15:10 +00:00
Aleksey Bragin
3b144199de Stefan Ginsberg <stefan__100__@hotmail.com>
- Spelling fixes.
- Remove deprecated and unused HalReleaseDisplayOwnership prototype.
- Fix handle leak in NtCreateProfile.
- Don't miss an OBTRACE debug print in ObpCloseHandle in STATUS_SUCCESS case.

svn path=/trunk/; revision=33521
2008-05-14 20:59:43 +00:00
Aleksey Bragin
5f265ed22c Stefan Ginsberg <stefan__100__@hotmail.com>
- Remove deprecated NEW_SCHEDULER define.
- Remove empty addition arc subdirectory in include/reactos/arc

svn path=/trunk/; revision=33520
2008-05-14 20:57:19 +00:00
Marc Piulachs
8724283c06 - update msiexec version
- add iexplorer

svn path=/trunk/; revision=33519
2008-05-14 17:32:19 +00:00
Marc Piulachs
7fd8e1f35f - sync msiexec to Wine 1.0-rc1
- change module type to win32cui inset of win32gui

svn path=/trunk/; revision=33518
2008-05-14 17:25:57 +00:00
Steven Edwards
fe11b99061 Add iexplore from Wine. (Disabled until shdocvw sync)
svn path=/trunk/; revision=33517
2008-05-14 17:24:40 +00:00
Eric Kohl
187c594643 - Check that the user name does not contain any illegal characters.
- Check that both passwords are the same.
- Limit the maximum user name length to 20 characters.

svn path=/trunk/; revision=33516
2008-05-14 17:02:17 +00:00
Dmitry Chapyshev
5a803bf1bf - Implement "Set Default" button
- Added checking whether there was already layout

svn path=/trunk/; revision=33515
2008-05-14 15:51:53 +00:00
Marc Piulachs
3c2cc97af2 - Set catalan default keyboard layout to spanish (no specific catalan kb layout exists)
- [FORMATTING] small code indent for LanguageList contents

svn path=/trunk/; revision=33514
2008-05-14 14:40:17 +00:00
Colin Finck
451afd1750 Carlo Bramini (carlo DOT bramix AT libero DOT it)
- Italian translations and various fixes to Magnify (fixes part of bug #3241 as well)

Changes by me:
- Shorten the german dialog string a bit, so that it won't be truncated. Strings for Static controls can only be 256 characters long.
  A french translator should change the text as well, because it's longer than 256 characters.

See issue #3245 for more details.

svn path=/trunk/; revision=33513
2008-05-14 14:18:11 +00:00
Marc Piulachs
57a0b9d688 - Implement generic list PageUp/PageDown
svn path=/trunk/; revision=33512
2008-05-14 14:01:06 +00:00
Ged Murphy
5e27385583 A few missing defines I needed
svn path=/trunk/; revision=33511
2008-05-14 11:38:10 +00:00
James Tabor
e07a1445f4 We have Brush Attributes already define in ntgdihdl.h, its a user space structure.
svn path=/trunk/; revision=33510
2008-05-13 23:54:20 +00:00
James Tabor
f366e9f6c1 Implement NtGdiSetVirtualResolution, SetSizeDevice and NtGdiScaleViewport/WindowExtEx. Getting ready to fix wine gdi mapping tests.
svn path=/trunk/; revision=33509
2008-05-13 23:26:02 +00:00
Colin Finck
d45bd86a52 Open the Explorer Shell Folder instead of providing a standalone Control Panel.
This changed enables us to remove lots of files from the app :-)

svn path=/trunk/; revision=33508
2008-05-13 21:39:25 +00:00
Colin Finck
6efebc63d2 Completely revamped "control.exe":
- Now uses shell32 functions for loading the control panel applets, so that the mutex is used as well (see bug #781)
- Supports all built-in command-line parameters, which are supported by the WinXP version.
  This also added support for opening shell folders.
- Loads other possible parameters from the registry.
- Only passes the command for RunControlPanel to each ListView item, not a whole struct whose members aren't needed later.
- Fixed memory leaks
- Added a header file
- Fixed indentation

This is the last version of the standalone Control Panel.
I will change it to call the Explorer shell folder in my next commit.
See issue #781 for more details.

svn path=/trunk/; revision=33507
2008-05-13 21:30:55 +00:00
Martin Fuchs
ce69bc85e4 display available command line options when started with "-?"
svn path=/trunk/; revision=33506
2008-05-13 21:01:09 +00:00
Eric Kohl
016fa01795 - Implement the creation and removal of user accounts.
- User name and passwords are NOT checked upon the creation of a new user account.
- Disable all unimplemented popup menu items.

svn path=/trunk/; revision=33505
2008-05-13 20:55:37 +00:00
Dmitry Chapyshev
381642f247 - Implement "Input language Properties" dialog
svn path=/trunk/; revision=33504
2008-05-13 20:23:23 +00:00
Gregor Brunmar
c5465c5668 Hopefully fixes bug #1110. Requested fixed by amine48rz.
See issue #1110 for more details.

svn path=/trunk/; revision=33503
2008-05-13 20:14:30 +00:00
Aleksey Bragin
286385fc87 - Remove a leftover.
svn path=/trunk/; revision=33502
2008-05-13 19:29:20 +00:00
Gregor Brunmar
6d97e286b5 Fixed spelling mistake from previous checkin
svn path=/trunk/; revision=33501
2008-05-13 18:12:08 +00:00
Gregor Brunmar
9736840986 NtUserBuildHwndList() returns NTSTATUS, not ULONG. More correct fix than 33483 to some of the winetest problems. Pass return value as out parameter instead.
svn path=/trunk/; revision=33500
2008-05-13 18:09:08 +00:00
KJK::Hyperion
8efa2c983f Case-sensitivity fix for Linux build hosts. Spotted by Tushar S. (GreyGhost)
svn path=/trunk/; revision=33499
2008-05-13 17:32:19 +00:00
Christoph von Wittich
7aa5ab1e76 add some info for xen to txtmode.cfg
fix a bug rosboot_test.cpp

svn path=/trunk/; revision=33498
2008-05-13 17:30:29 +00:00
Christoph von Wittich
7f477c644a don't display all debug data 4 times when using PipeReader class (spotted by janderwald)
svn path=/trunk/; revision=33497
2008-05-13 17:17:31 +00:00
Johannes Anderwald
74f90fc65a - move hardcoded xen configuration name to config file
svn path=/trunk/; revision=33496
2008-05-13 16:22:31 +00:00
Dmitry Chapyshev
df3c1568fa - Update Russian translation
- Small fix mstsc icon

svn path=/trunk/; revision=33495
2008-05-13 13:46:31 +00:00
Marc Piulachs
fb898f7d38 - [FORMATTING] replace tabs by spaces
- Modified keyboard layout listbox location to give usetup a more consistent look

svn path=/trunk/; revision=33494
2008-05-13 11:43:39 +00:00
Marc Piulachs
940dd048e1 - fixed and simplified scroll behavior
svn path=/trunk/; revision=33493
2008-05-13 11:29:56 +00:00
Colin Finck
f952d12c8d Use a Mutex, so that CPL applets cannot be launched multiple times.
Fixes bug #781 partly, we still need a fix in "control.exe" (see my comment in the bug report)

svn path=/trunk/; revision=33492
2008-05-13 08:56:23 +00:00
Klemens Friedl
7bcc8fccde improve visual scroll behavior (arrow-up/-down hints) of the generic list (first step setup)
svn path=/trunk/; revision=33491
2008-05-13 08:04:59 +00:00
James Tabor
5fc4e8a5f9 Added W32PF and Brush flags. Fixed IntGdiExtCreatePen and all related so to pass wine gdi32 pen tests. Fail 100 out of 664 no skips.
svn path=/trunk/; revision=33490
2008-05-13 05:13:25 +00:00
Timo Kreuzer
8f56b70c8b fix build, sorry
svn path=/trunk/; revision=33489
2008-05-13 04:30:00 +00:00
Timo Kreuzer
27ff35dcc8 - fix a pointer to INT cast
- use InterlockedExchangePointer instead of InterlockedExchange for a pointer

svn path=/trunk/; revision=33488
2008-05-13 04:18:07 +00:00
Colin Finck
083c5dcbd2 Don't strip trailing spaces from the command line
This way, stuff like "notepad abc.txt  " will correctly pass "abc.txt  " as the filename like Windows does.

See issue #1818 for more details.

svn path=/trunk/; revision=33487
2008-05-12 21:26:38 +00:00
Colin Finck
003e7d8a1b Fix the Release build by marking MmPageArraySize as unreferenced.
Changing the ASSERT, so that it doesn't spit out an "unused variable" warning on Release builds doesn't work, because then it expects this variable to exist. (which is not the case for some struct elements passed to ASSERT in some other parts of the kernel)

svn path=/trunk/; revision=33486
2008-05-12 20:48:48 +00:00
Colin Finck
85de27e4af [FORMATTING] Fix indentation (4 spaces)
svn path=/trunk/; revision=33485
2008-05-12 20:11:11 +00:00
Colin Finck
abab705b13 The lstr* functions don't reset the last error on an exception. Also they handle more than just access violation exceptions.
This makes us passing (at least) one more sub test of a Wine test (user32_winetest text)
Behaviour verified under Windows XP SP2.

svn path=/trunk/; revision=33484
2008-05-12 20:01:48 +00:00
Gregor Brunmar
858f98f040 * Synced DIALOG_DlgDirListW() and DIALOG_DlgDirSelect() from Wine to get more user32.dll winetests to pass
* Fixed indentation in User32EnumWindows()
* Removed internal use of Set/GetLastError() from User32EnumWindows() - makes even more winetests pass

svn path=/trunk/; revision=33483
2008-05-12 19:36:39 +00:00
Colin Finck
58f94d1774 Sync CharLowerA/W and CharUpperA/W with Wine (after replacing Wine's SEH with PSEH).
This way, we pass all user32 wsprintf Wine tests.
Verified under Windows XP SP2.

svn path=/trunk/; revision=33482
2008-05-12 18:35:21 +00:00
James Tabor
cf585bc08a Misc patch, for later Icm support, update CreateCompatibleDC.
svn path=/trunk/; revision=33481
2008-05-12 18:16:48 +00:00
Eric Kohl
5244432b9c Do not touch the new user name if the user cancels the rename action.
svn path=/trunk/; revision=33479
2008-05-12 17:39:58 +00:00
Johannes Anderwald
c0c67eed2b - ModifyMenu[A|W], AppendMenu[A|W], InsertMenu[A|W] should accept MF_HILITE
- verified by user32_winetest.exe 
- ReactOS now passes these tests (test_menu_flags)

svn path=/trunk/; revision=33478
2008-05-12 17:17:55 +00:00
Johannes Anderwald
5bc1879d50 - create the profiles directory if it does not yet exist
svn path=/trunk/; revision=33477
2008-05-12 16:59:06 +00:00
Colin Finck
f50c85e75f Remove all remaining occurrences of the W64 macro.
The __w64 setting is obsolete beginning with MSVC 2008.

svn path=/trunk/; revision=33475
2008-05-12 15:59:31 +00:00
Aleksey Bragin
78681a8ec7 - Fix a typo in NtSecureConnectPort, ViewBase was not updated, thus confusing callers.
See issue #3242 for more details.

svn path=/trunk/; revision=33473
2008-05-12 15:27:15 +00:00
Timo Kreuzer
3dfc1c7b9e convert another pointer calculations to FIELD_OFFSET macro and use "%p" instead of casting pointers to long
svn path=/trunk/; revision=33472
2008-05-12 15:12:43 +00:00
Aleksey Bragin
fcae112976 - Make IoCreateNotificationEvent and IoCreateSynchronizationEvent create kernel handles (according to MSDN http://msdn.microsoft.com/en-us/library/aa490498.aspx). Spotted by Stefan Ginsberg.
svn path=/trunk/; revision=33470
2008-05-12 13:42:05 +00:00
Hervé Poussineau
d600586fdd Use dynamic debug system
svn path=/trunk/; revision=33469
2008-05-12 12:01:51 +00:00
Hervé Poussineau
7c21013a99 Reuse existing function instead of duplicating functionality
Patch by Carlo Bramini, carlo dot bramix at libero dot it
See issue #2437 for more details.

svn path=/trunk/; revision=33468
2008-05-12 09:58:14 +00:00
Hervé Poussineau
a617fe3890 "\\.\" always exists
Fixes "copy freeldr.ini con:" command

svn path=/trunk/; revision=33467
2008-05-12 09:40:08 +00:00
Aleksey Bragin
2e73601047 - Fix yet another typo in the same line, spotted by Stefan Ginsberg.
svn path=/trunk/; revision=33465
2008-05-12 08:34:33 +00:00
Aleksey Bragin
b17882ecd8 Kamil Hornicek <tykef@atlas.cz>
- Update tests to Wine head (as of 11th of May, 2008).

svn path=/trunk/; revision=33464
2008-05-12 08:33:26 +00:00
Aleksey Bragin
0d2bc37302 - Fix a typo, spotted by Stefan Ginsberg.
svn path=/trunk/; revision=33463
2008-05-12 08:11:31 +00:00
James Tabor
92849df7cc Fixed ExtCreatePen and started CreatePen. Tested with wine gdi32 cross test. Isolated problem in win32k.
svn path=/trunk/; revision=33461
2008-05-12 07:31:15 +00:00
James Tabor
f5cf7f122c Fixed wine all of gdi32 dc tests and only 2 of gdiobj tests left todo.
svn path=/trunk/; revision=33460
2008-05-12 04:59:20 +00:00
James Tabor
e051367b2f Fix typo spoted by Stefan100.
svn path=/trunk/; revision=33459
2008-05-12 01:55:34 +00:00
Timo Kreuzer
da0b3935d7 NtUserEnumDisplaySettings returns NTSTATUS not BOOL, it doesn't set LastError value. Fix parameter validation and return value, based on tests in w32knapi.Move NtUserEnumDisplayMonitors and NtUserEnumDisplaySettings from windc to a new file display.c (Int functions should go there, too). adapt user32 functions accordingly. As a result w32knapi test doesn't crash anymore.
svn path=/trunk/; revision=33458
2008-05-11 23:51:55 +00:00
Timo Kreuzer
fcaf6d5aef fix a header name
svn path=/trunk/; revision=33457
2008-05-11 23:25:02 +00:00
Timo Kreuzer
41758b941b patch by hyperion: convert pointer calculations with FIELD_OFFSET macro
svn path=/trunk/; revision=33456
2008-05-11 23:15:44 +00:00
Timo Kreuzer
c6aa16c16a use "%p" to DPRINT a pointer instead of casting it to int and using "%08x"
svn path=/trunk/; revision=33455
2008-05-11 22:28:20 +00:00
Timo Kreuzer
8c2db2fee0 - Use InterlockedExchangePointer instead of InterlockedExchange for a pointer.
- Don't cast a DWORD to HANDLE directly
- ViewSize param of MmMapViewOfSection is SIZE_T, not ULONG

svn path=/trunk/; revision=33454
2008-05-11 22:23:45 +00:00
Timo Kreuzer
24a4495952 a "real" InterlockedExchangePointer wants PVOID* and nothing else.
svn path=/trunk/; revision=33453
2008-05-11 22:09:53 +00:00
Timo Kreuzer
e7657c026b - a bunch of tests for NtUserEnumDisplaySettings
- one test for NtGdiGetFontResourceInfoInternalW

svn path=/trunk/; revision=33452
2008-05-11 21:49:56 +00:00
Hervé Poussineau
906bec0223 Add generic list scrolling
See issue #3234 for more details.

svn path=/trunk/; revision=33451
2008-05-11 21:32:00 +00:00
Hervé Poussineau
2199183bbe Better encapsulation of generic list
svn path=/trunk/; revision=33450
2008-05-11 21:17:57 +00:00
Filip Navara
0e6c1e1d3a Fix incorrect parameters to IoSetDeviceToVerify/IoVerifyVolume. Spotted by R.T.Sivakumar <rtshiva@gmail.com>.
svn path=/trunk/; revision=33449
2008-05-11 20:04:47 +00:00
Filip Navara
b512080393 Fix checking of return values from IoCreateDevice. Spotted by R.T.Sivakumar <rtshiva@gmail.com>.
svn path=/trunk/; revision=33448
2008-05-11 19:47:50 +00:00
Filip Navara
76256a1bdd Fix wrong variable usage - "Filename" (8 characters long) of a directory entry was referenced instead of a "ShortName" (11 characters long). The actual bug was harmless since both arrays are defined in an union and lie at the same place in memory.
svn path=/trunk/; revision=33447
2008-05-11 18:57:07 +00:00
Colin Finck
951e1367da Robin Geuze (r DOT geuze AT chello DOT nl):
- Add the correct Visual Studio version to the .sln file header, so that the Visual Studio Version Selector does not get confused.
  I slightly modified the patch to replace some following if's by else if's.

svn path=/trunk/; revision=33446
2008-05-11 18:30:36 +00:00
Colin Finck
67e88fe072 - [FORMATTING] Fix indentation in usetup's genlist.
- Remove the obsolete "media/vgafonts/readme.txt" file.

No code changes

svn path=/trunk/; revision=33445
2008-05-11 15:07:16 +00:00
Marc Piulachs
bd846f9aa4 - fix typo
svn path=/trunk/; revision=33444
2008-05-11 15:05:19 +00:00
Pierre Schweitzer
d91736aefb Synced urlmon.dll with Wine HEAD.
This *does not* fix Downloader

svn path=/trunk/; revision=33443
2008-05-11 13:57:45 +00:00
Gregor Brunmar
5e244d149d Made 17 listbox winetests pass in user32.dll (some of the changes were taken from wine)
svn path=/trunk/; revision=33442
2008-05-11 13:46:47 +00:00
Pierre Schweitzer
ba3a40c9e9 No need for a shortcut to kbswitch.exe on the desktop
svn path=/trunk/; revision=33441
2008-05-11 13:11:30 +00:00
Filip Navara
44a984e920 Temporary disable part of the SEH code in NtReplyWaitReceivePortEx to get trunk working again.
svn path=/trunk/; revision=33438
2008-05-11 12:22:51 +00:00
Hervé Poussineau
117852d238 Use LONG BreakPointNr, as in other breakpoint-related functions
svn path=/trunk/; revision=33437
2008-05-11 11:44:55 +00:00
Hervé Poussineau
a3417a72ad Implement SHGetFolderPathAndSubDirA/W, taken from Wine
See issue #3238 for more details.

svn path=/trunk/; revision=33436
2008-05-11 11:33:49 +00:00
Magnus Olsen
b4bbd1348b adding SetLastError(ERROR_INVALID_PARAMETER) when CreateBitmapIndirect fail, sugestion from filip we should do that as well.
thx filip.

svn path=/trunk/; revision=33434
2008-05-11 10:41:06 +00:00
Magnus Olsen
4b2acdc21b Adding simple test for CreateBitmapIndrect and show it care if bmWidthBytes is align or not
this test have done on windows xp sp2 and pass it fine. 


svn path=/trunk/; revision=33433
2008-05-11 10:35:09 +00:00
Aleksey Bragin
ebdf34b599 Kamil Hornicek <tykef@atlas.cz>
- Update PSDK headers.

svn path=/trunk/; revision=33432
2008-05-11 10:16:10 +00:00
Hervé Poussineau
28e9a590db Fix indentation, to match mouclass one.
svn path=/trunk/; revision=33431
2008-05-11 10:03:52 +00:00
Hervé Poussineau
507a803c65 serial: Fix FileStandardInformation and FilePositionInformation classes
serial: Add FileNetworkOpenInformation class
serenum: Pass all requests to next driver, even unknown ones

svn path=/trunk/; revision=33430
2008-05-11 09:51:46 +00:00
Filip Navara
a173ef04c2 A driver-supplied Cancel routine is called with the cancel spin lock held, it must be released on IRP completion. Patch by R.T.Sivakumar <rtshiva@gmail.com>.
svn path=/trunk/; revision=33429
2008-05-11 09:47:57 +00:00
Filip Navara
a907b85b1a SEH protect NtReplyWaitReceivePortEx and fix one instance of message type checking to correctly account for kernel LPC messages.
svn path=/trunk/; revision=33428
2008-05-11 09:39:26 +00:00
Magnus Olsen
973109beb4 Remove old hack I implmeneted in NtGdiCreateBitmap it is height == 0 or width == 0, it create 1x1 1Bpp we can remove this hack now.
BugFix CreateBitmapIndirect, the code have been tested in reactos and windows, include abiword 
1. the bmWidthBytes must be align with 2 and it must be 2 or higher like windows xp/2003 and msdn
2. Do not do direcly call to NtGdiCreateBitmap use CreateBitmap so we getting same behoir for 1x1 1Bpp bitmap.
3. This will also take care of handle leaks for bitmap that being create with height = 0,  width = 0 and do not delete the object.
4. Windowss does not check if the incoming bitmap is NULL, this behoir to make it more compatible. 




svn path=/trunk/; revision=33427
2008-05-11 08:20:18 +00:00
Magnus Olsen
0dfbae2961 adding test to NtGdiCreateBitmap show it does not accpect height = 0 and widith = 0
svn path=/trunk/; revision=33426
2008-05-11 08:09:02 +00:00
James Tabor
3369214f4f Implement some stubs.
svn path=/trunk/; revision=33425
2008-05-11 06:35:26 +00:00
James Tabor
63466eec38 Fix brush attribute structure and add flags. Add gdi handle cache structures.
svn path=/trunk/; revision=33424
2008-05-11 05:32:50 +00:00
James Tabor
b8f704d4aa Point out ParentWindowHandle for HWND_MESSAGE.
svn path=/trunk/; revision=33423
2008-05-11 04:29:24 +00:00
Daniel Reimer
7a36161dd1 Bug 3229: spanish files by remialdo@gmail.com
Bug 3231: Italian resource update by Paolo Devoti (devotip@tiscali.it)

svn path=/trunk/; revision=33422
2008-05-10 22:00:47 +00:00
Daniel Reimer
9b2aa002a1 Bug 3229: spanish files by Javier Remacha (remialdo@gmail.com)
svn path=/trunk/; revision=33421
2008-05-10 21:51:59 +00:00
Pierre Schweitzer
851c81eee6 "Implemented" FsRtlNotifyChangeDirectory
It just redirects to FsRtlNotifyFullChangeDirectory (which is *NOT* implemented)

svn path=/trunk/; revision=33420
2008-05-10 20:05:57 +00:00
Colin Finck
32a2579694 Sync riched20 to Wine 1.0-rc1
Samuel Serapión got some apps like 7-Zip and PowerISO installed with the new version.

svn path=/trunk/; revision=33419
2008-05-10 19:50:28 +00:00
Aleksey Bragin
620f89d44b - Get rid of duplicated (and different) NB_LAST_STOCK definitions in gdi32 and win32k, now it's defined to 22 (19 being a last public stock object, other 2 are internal).
- Move a DEFAULT_BITMAP definiton from gdi32 into ntgdityp.h (not the best place, but could be moved to a better one later), and assign it a number 21, which it is on Windows XP (tested with a win32kntest framework, tests are committed).
- Fix CreateBitmap to return a 1x1 stock bitmap object if the requested Width and Height are 0.
- All of this work is based on Magnus Olsen's patches and Wine.

svn path=/trunk/; revision=33418
2008-05-10 19:03:58 +00:00
Colin Finck
b1c2a48e3b Samuel Serapión (samdwise51 AT gmail DOT com):
- Winesync of crypt32
  The function import_certs_from_dir had to be killed, because it uses UNIX-only functions. (see "crypt32_ros.diff")
- This gets MSN Messenger a bit more to work

svn path=/trunk/; revision=33417
2008-05-10 18:43:43 +00:00
Magnus Olsen
7e4da4bd18 move the undoc DC_BITMAP to ntgdityp.h header after advice from fireball and kjk
svn path=/trunk/; revision=33416
2008-05-10 18:10:36 +00:00
Magnus Olsen
c6d6043053 fixing a memory overwrite bug I miskate intrudes
the private size of stackobject list contain 22 object, and we do not want mix up the private size and the user mode size for different version. 

svn path=/trunk/; revision=33415
2008-05-10 18:07:41 +00:00
Dmitry Chapyshev
4ec8e30269 - Add new layouts to bootcd
svn path=/trunk/; revision=33414
2008-05-10 18:01:32 +00:00
Dmitry Chapyshev
cb65a82319 Add keyboard layouts:
- Arabic (101) (by Alexey Komarov)
- Arabic (102) (by Alexey Komarov)
- Arabic (102) AZERTY (by Alexey Komarov)
- Armenian Western (by Alexey Komarov)
- Assamese (Inscript)
- Bengali
- Croatian
- Devanagari - INSCRIPT
- Gujarati
- Malayalam

svn path=/trunk/; revision=33413
2008-05-10 17:58:45 +00:00
Magnus Olsen
25fb37a67f implement DC_BITMAP for GetStockObject.
it works for any apps want it. and using this undoc value
testcase exists in w32knapi have been run in windows and reactos.


svn path=/trunk/; revision=33412
2008-05-10 17:39:38 +00:00
Magnus Olsen
ea9d73b0f2 adding a new define DC_BITMAP for GetStockObject
svn path=/trunk/; revision=33411
2008-05-10 17:37:43 +00:00
Magnus Olsen
1bc8ff3d85 adding a testcase for GetStockObject(21);
it is 1x1 1Bpp Bitmap.

svn path=/trunk/; revision=33410
2008-05-10 16:12:35 +00:00
Magnus Olsen
04df00182d adding more testcase for NtGdiGetStockObject it testing what type for gdi object the handle return now and we manger figout what type of handle the value 20 and value 21
NtGdiGetStockObject(20) == GDI_OBJECT_TYPE_COLORSPACE
 NtGdiGetStockObject(21) == GDI_OBJECT_TYPE_BITMAP

svn path=/trunk/; revision=33409
2008-05-10 15:21:49 +00:00
Colin Finck
96f6e0a854 Attempt to fix build
svn path=/trunk/; revision=33408
2008-05-10 15:08:45 +00:00
Magnus Olsen
c958c7e3b0 adding a simple NtGdiGetStockObject
it show undocumented stockobject exists in windows xp/2003
value 20 and 21

svn path=/trunk/; revision=33407
2008-05-10 14:01:40 +00:00
Magnus Olsen
826f6108be commit testcase for wdith negative and 0
svn path=/trunk/; revision=33406
2008-05-10 12:02:59 +00:00
Magnus Olsen
a623366dca adding height -1 and height 0 test for create a bitmap
svn path=/trunk/; revision=33405
2008-05-10 11:55:58 +00:00
Magnus Olsen
dc6e9467cc revert r33403 for it break abiword
we need fixing gdi32.dll bugs before we can fix it correct

svn path=/trunk/; revision=33404
2008-05-10 11:42:00 +00:00
Magnus Olsen
608264fa22 1. remove hack in NtGdiCreateBitmap
2. BugFix IntGdiCreateBitmap 
   1. Height can not be negative value 
   2. width can not be negative value
   3. Planes or BitsPerPixel can not be biger that 32Bpp
   4. BitsPerPixel can not be 0
   5. width size is max  0x7FFFFFFF hex



svn path=/trunk/; revision=33403
2008-05-10 11:23:54 +00:00
Gregor Brunmar
7eab8b0750 Made user32.dll compile under MSVC (doesn't link though)
svn path=/trunk/; revision=33402
2008-05-10 10:29:19 +00:00
Thomas Bluemel
433a98b5fa Fix some task switch window bugs
svn path=/trunk/; revision=33401
2008-05-10 01:45:08 +00:00
Johannes Anderwald
9539538ba0 - when menu position cannot be found insert new item at the end
- reduces winetest failures from 1550 to 1250
- behaviour verified on Windows Vista

svn path=/trunk/; revision=33400
2008-05-09 18:11:40 +00:00
Daniel Reimer
7a754a98d0 Well... I forgot to revert some files... sry
svn path=/trunk/; revision=33399
2008-05-09 17:45:46 +00:00
Daniel Reimer
65a136825d Update of some Headers for the Winetests of non autosynched Dlls. Done by Kamil Horniceck
Update XCOPY from wine.

svn path=/trunk/; revision=33398
2008-05-09 17:37:21 +00:00
Daniel Reimer
f108d390f0 Update of Winetests of non autosynched Dlls. Done by Kamil Horniceck
svn path=/trunk/; revision=33397
2008-05-09 17:35:45 +00:00
Colin Finck
ad119a417d Convert the remaining ANSI-only stuff to TCHAR
svn path=/trunk/; revision=33396
2008-05-09 13:33:12 +00:00
Dmitry Chapyshev
46db68bb13 - Add new languages
svn path=/trunk/; revision=33395
2008-05-09 13:06:29 +00:00
Dmitry Chapyshev
6d4eb0a221 - Add new layouts to bootcd
- Add new languages

svn path=/trunk/; revision=33394
2008-05-09 13:06:00 +00:00
Colin Finck
fe2ee8daa3 Fix build (no idea why my rbuild didn't notice the "unicode" attribute change...)
svn path=/trunk/; revision=33393
2008-05-09 12:59:55 +00:00
Daniel Reimer
5d79f46a06 Bug 3217: shdocvw translation patch by Seungju Kim (admin@manateeshome.com)
Bug 3228: Update for few slovak RCs by Mario Kacmar (kario@szm.sk)
Some fixes and translation updates for winhelp and wordpad synched from wine
Netherland Translation for charmap from Wouter Thierens

svn path=/trunk/; revision=33392
2008-05-09 12:45:47 +00:00
Daniel Reimer
85fbc8ec50 Bug 3228: Update for few slovak RCs by Mario Kacmar (kario@szm.sk)
svn path=/trunk/; revision=33391
2008-05-09 12:38:26 +00:00
Dmitry Chapyshev
96e0908452 Add keyboard layouts:
- Armenian Eastern
- Azeri Cyrillic
- Azeri Latin
- Belarusian
- Portuguese (Brazilian ABNT2)
- Kazakh

svn path=/trunk/; revision=33390
2008-05-09 12:29:22 +00:00
Colin Finck
e459df7144 Compile calc as Unicode and remove the unneeded __USE_W32API define
svn path=/trunk/; revision=33389
2008-05-09 12:24:56 +00:00
Colin Finck
7b6887ffc8 - Delete "winecalc", there is no reason to keep it as we have our own calculator app now.
- Delete "smartpdf", it never worked and is outdated.

svn path=/trunk/; revision=33388
2008-05-09 11:58:30 +00:00
Colin Finck
9e45b56ced Change the translation of the "Help" menu item to "?", so that the menu can be displayed in one line at a small window size.
Also minor indentation fix

See issue #2590 for more details.

svn path=/trunk/; revision=33387
2008-05-09 11:38:45 +00:00
Dmitry Chapyshev
fbc903478d - Add some defines
svn path=/trunk/; revision=33386
2008-05-09 11:32:56 +00:00
Christoph von Wittich
8fd63a45fa add some initial xen support to sysreg (hack)
svn path=/trunk/; revision=33385
2008-05-09 10:39:51 +00:00
Aleksey Bragin
ceabf213ba - Revert 33366 for explorer too. Bugs in explorer should be fixed first.
svn path=/trunk/; revision=33384
2008-05-09 09:32:17 +00:00
Ged Murphy
e53bcfc884 - revert r32389. It's both useless and incorrect.
- thanks to shadowflare for noticing

svn path=/trunk/; revision=33383
2008-05-09 07:30:26 +00:00
Colin Finck
3dcbb5e00d Revert r33366 for regedit and compile it as Unicode with ANSI command line parsing again.. :-/
Changing everything internally to TCHAR would be like rewriting the app, because regedit even hardcodes string sizes in bytes and then memcmp's them... (see regproc.c:234)
Compiling it ANSI-only also doesn't work, because the API's for ACL stuff are Unicode-only.

svn path=/trunk/; revision=33382
2008-05-08 19:19:22 +00:00
Hervé Poussineau
0a216e7da4 Fix compilation by using an unicode entrypoint
svn path=/trunk/; revision=33381
2008-05-08 18:42:29 +00:00
Hervé Poussineau
618eb75c49 Fix some various unicode problems
svn path=/trunk/; revision=33380
2008-05-08 18:26:15 +00:00
Colin Finck
4198aafc54 - Fix build by converting everything to use TCHAR's
- Bugfix: Previously macros like "gotoroot=cd \" weren't passed correctly as we just used argv[1].
  Now use GetCommandLine and pass the full command line.
- Fix indentation

svn path=/trunk/; revision=33379
2008-05-08 18:11:56 +00:00
Hervé Poussineau
b26bf1b115 Use _tWinMain instead of WinMain, as msconfig.exe uses TCHAR in other places
svn path=/trunk/; revision=33378
2008-05-08 17:49:42 +00:00
Hervé Poussineau
78c2b00d5f Fix route.exe compilation by removing hack
svn path=/trunk/; revision=33377
2008-05-08 17:48:13 +00:00
Hervé Poussineau
0a651dddad Use _tWinMain instead of WinMain, as welcome.exe uses TCHAR in other places
svn path=/trunk/; revision=33376
2008-05-08 17:08:47 +00:00
Hervé Poussineau
76ed4ec83b Do not define _UNICODE twice (on command line and in utility.h)
svn path=/trunk/; revision=33375
2008-05-08 17:06:47 +00:00
Colin Finck
908a3aa96b Fix win32kdxtest build
svn path=/trunk/; revision=33374
2008-05-08 17:00:15 +00:00
Hervé Poussineau
900237d0da Use _tWinMain instead of WinMain, as setup.exe uses TCHAR in other places
svn path=/trunk/; revision=33373
2008-05-08 16:56:03 +00:00
Hervé Poussineau
433491c7f4 Fix sc.exe compilation by removing hack
svn path=/trunk/; revision=33372
2008-05-08 16:48:39 +00:00
Colin Finck
3367d25567 Same fix for libpng
svn path=/trunk/; revision=33371
2008-05-08 16:41:46 +00:00
Colin Finck
529cde0611 Fix libjpeg build by removing the __REACTOS__ define from it (already defined in "ReactOS-generic.rbuild")
Also remove the USE_W32API define, which was done for many other modules in the past.
Finally, fix the indentation of the rbuild file :)

svn path=/trunk/; revision=33370
2008-05-08 16:38:20 +00:00
Hervé Poussineau
35aafac05c Don't depend of UNICODE/_UNICODE
svn path=/trunk/; revision=33369
2008-05-08 16:29:50 +00:00
Hervé Poussineau
c834528bf8 Fix typo spotted by Stephan100 on IRC
svn path=/trunk/; revision=33368
2008-05-08 16:16:48 +00:00
Dmitry Chapyshev
0dc710cada - Revert r33314
svn path=/trunk/; revision=33367
2008-05-08 16:03:10 +00:00
Hervé Poussineau
06094f3e4d Fix some .rbuild file problems
See issue #2710 for more details.

svn path=/trunk/; revision=33366
2008-05-08 16:01:30 +00:00
Dmitry Chapyshev
854bf95b90 - Fix typo
svn path=/trunk/; revision=33365
2008-05-08 13:18:23 +00:00
Dmitry Chapyshev
19bf8ba5ed - Adding and deleting layouts using Substitutes
svn path=/trunk/; revision=33364
2008-05-08 10:47:30 +00:00
Filip Navara
047aaf23ed Use correct path when loading plugins.
svn path=/trunk/; revision=33362
2008-05-08 08:00:35 +00:00
Johannes Anderwald
6208860a11 - check if the requested MenuItem object was really found
- makes user32_winetest not crash reactos

svn path=/trunk/; revision=33361
2008-05-08 07:46:46 +00:00
Pierre Schweitzer
89ac2632f2 Updated French translation for Syssetup.dll
svn path=/trunk/; revision=33360
2008-05-08 06:17:20 +00:00
Pierre Schweitzer
68f8d4b60c Added an Ext2 provider. Not yet used by Autochk.
svn path=/trunk/; revision=33359
2008-05-08 06:03:54 +00:00
Dmitry Chapyshev
7abc3b64af - Add more languages to usetup
svn path=/trunk/; revision=33358
2008-05-08 05:13:28 +00:00
Colin Finck
b9b700035f Filip Navara:
- Only increment VideoPortDeviceNumber, when IntVideoPortCreateAdapterDeviceObject and IntVideoPortFindAdapter succeeded.
  This fixes loading the CL54xx miniport driver. But it still isn't usable, because win32k cannot find the DDI driver for it.

svn path=/trunk/; revision=33357
2008-05-07 21:51:39 +00:00
Colin Finck
df3116fa7f Fix circles build
svn path=/trunk/; revision=33356
2008-05-07 21:11:12 +00:00
Marc Piulachs
76afdc12da -try to fix linux build
svn path=/trunk/; revision=33355
2008-05-07 21:08:40 +00:00
Marc Piulachs
0e8ea6dc04 -fix linux build
svn path=/trunk/; revision=33354
2008-05-07 20:58:06 +00:00
Marc Piulachs
f289d2ad19 - add missing idl files to build
svn path=/trunk/; revision=33353
2008-05-07 20:54:42 +00:00
Marc Piulachs
29859e5fd3 -autogenerate dxsdk headers as part of the build as requested
svn path=/trunk/; revision=33352
2008-05-07 20:49:15 +00:00
Colin Finck
e2c529ca16 Fix indentation :)
svn path=/trunk/; revision=33351
2008-05-07 20:19:43 +00:00
Marc Piulachs
98d47d1fc4 -Implement reconnect on connection lost as requested. Techbot will now try to re-connect every 60 seconds when a connection lost is detected.
svn path=/trunk/; revision=33350
2008-05-07 19:53:14 +00:00
Gregor Brunmar
1e922dc43f Implemented IDirect3DDevice9::GetCreationParameters()
svn path=/trunk/; revision=33349
2008-05-07 18:23:46 +00:00
James Tabor
95bc4a2671 Adding more than one video device.. We need to fix NtGdiCreateCompatibleDC and DceCreateDisplayDC so they can access the device name from the default PDev or PrimarySurface. ATM we use L"DISPLAY" not L"\\??\\DISPLAY%d"(<-display number) to create a new HDC. In Gdi32 IntCreateDICW we basicly do the same w/o the display number. This code is correct and please leave it alone. I add some code in win32k dc.c, so we can start the changes.
svn path=/trunk/; revision=33348
2008-05-07 18:12:19 +00:00
Gregor Brunmar
04fbc5df72 * Fixed an error in IDirect3DDevice9::GetDisplayMode() spotted by Steven Edwards
* Renamed an internal D3D9 struct variable
* Re-implemented IDirect3DDevice9::GetAvailableTextureMem(), hopefully more correct this time around

svn path=/trunk/; revision=33347
2008-05-07 18:00:50 +00:00
Dmitry Chapyshev
e904314653 - Small fix modifier_bits structure
svn path=/trunk/; revision=33346
2008-05-07 17:22:47 +00:00
Dmitry Chapyshev
96257d48db - Adding shortcuts to kbswitch
- Move regedit shortcut to "System Tools"

svn path=/trunk/; revision=33345
2008-05-07 16:45:30 +00:00
Marc Piulachs
d7b2077ed8 - code refactoring
- made more and more easily extensible:
   * commands automatically loaded from plugins dlls
   * declarative and automatic command parameter parsing
   * common code moved to base classes
- other fixes

svn path=/trunk/; revision=33344
2008-05-07 14:59:28 +00:00
Timo Kreuzer
e3407fdd9c UserCreateHeap: use SIZE_T for parameter, also use SIZE_T for MmMapViewOfSection
svn path=/trunk/; revision=33343
2008-05-07 14:39:31 +00:00
Timo Kreuzer
335831c108 remove unimplemented IntDrawCaret from caret.h
svn path=/trunk/; revision=33342
2008-05-07 14:14:52 +00:00
Timo Kreuzer
9c10e57cee (Nt)UserGetWindowDC returns a HDC, not a DWORD
svn path=/trunk/; revision=33341
2008-05-07 14:11:01 +00:00
Aleksey Bragin
2bf0d241a9 - Fix uninitialized Callback var usage, spotted by Stefan Ginsberg. Probably fixes bug 3214.
See issue #3214 for more details.

svn path=/trunk/; revision=33340
2008-05-07 10:06:07 +00:00
Aleksey Bragin
0ee50a0aaf - Assign statements in ASSERTs is a bad idea. Fix that.
svn path=/trunk/; revision=33339
2008-05-07 09:46:37 +00:00
Timo Kreuzer
00bbbe2448 ntifs.h: fix prototypes of PsChargePoolQuota, PsChargeProcessPoolQuota, PsReturnPoolQuota, ZwAllocateVirtualMemory and ZwFreeVirtualMemory
svn path=/trunk/; revision=33338
2008-05-07 00:57:10 +00:00
Timo Kreuzer
9d30c5d072 change Amount param in all PsXxxPoolQuota functions to SIZE_T
svn path=/trunk/; revision=33337
2008-05-06 23:19:22 +00:00
Timo Kreuzer
7df59a1212 fix MmMapViewOfSection prototype
svn path=/trunk/; revision=33336
2008-05-06 21:37:10 +00:00
Johannes Anderwald
2799b51019 - fix changing time format garbles the clock output
- patch by Carlo Bramix and Alwyn Tar
- fix potential buffer overflows by me
- bug 2437

svn path=/trunk/; revision=33335
2008-05-06 20:51:07 +00:00
Timo Kreuzer
7325a8a281 remove PalIndexed from dc struct
svn path=/trunk/; revision=33334
2008-05-06 20:50:53 +00:00
Aleksey Bragin
dfcefd6140 - Fix regedit's import function. Now it works equally good in ReactOS and in a real Windows (previously was broken in both OSes).
See issue #997 for more details.

svn path=/trunk/; revision=33333
2008-05-06 20:44:35 +00:00
Timo Kreuzer
ad58bfe28a DC: use dc.DcLevel.hPal for the palette instead of using dc.PalIndexed and dc.w.hPalette
NtUserSelectPalette: make code more readable

svn path=/trunk/; revision=33332
2008-05-06 20:44:25 +00:00
Johannes Anderwald
6e7c576b23 - remove unused files :)
svn path=/trunk/; revision=33331
2008-05-06 20:36:06 +00:00
Magnus Olsen
bb0603242f started cleanup object/dc.c
1. remove the static global value edd_directdraw_global I intrudues for dx.
   it is now for each driver. 

svn path=/trunk/; revision=33330
2008-05-06 20:20:56 +00:00
Timo Kreuzer
9aafcccad6 rename 2nd parameter of NtUserGetClipboardData from Unknown1 to pBuffer. Use SEH to copy data.
svn path=/trunk/; revision=33329
2008-05-06 20:09:34 +00:00
Aleksey Bragin
a64e1e81c5 - Fix a bug resulting in a write to an uninitialized address (coincidently located somewhere in the middle of another heap allocation) and later heapfreeing it. WaitNamedPipeA() was the affected function (results were visible when e.g. starting Office 2003 installer).
svn path=/trunk/; revision=33328
2008-05-06 18:11:41 +00:00
Daniel Reimer
592dd734e8 Netherland translation for calc by Wouter Thierens. Congrats for the first one. May follow many more!
svn path=/trunk/; revision=33327
2008-05-06 17:54:08 +00:00
Gregor Brunmar
d7cf631cd9 Implemented IDirect3DDevice9::GetDisplayMode()
svn path=/trunk/; revision=33326
2008-05-06 16:15:33 +00:00
Marc Piulachs
88b5cb544c -fix build
svn path=/trunk/; revision=33325
2008-05-06 15:27:34 +00:00
Marc Piulachs
1788cb32b5 -fix build
svn path=/trunk/; revision=33324
2008-05-06 14:52:46 +00:00
Marc Piulachs
338266205f -Fix unnecessary msi builds (part 2/2)
svn path=/trunk/; revision=33323
2008-05-06 14:43:24 +00:00
Marc Piulachs
880e173654 -Fix unnecessary msi builds, this time for real! msi module was referencing the module 'msi_msiserver_typelib' expecting (OUTPUT)msi_msiserver_typelib.tlb to be build inset of (INTERMEDIATE)msiserver.tlb (the actual generated file). As a result the file was never created and make was trying to recreate it on every build. mystery solved :) (part 1/2)
svn path=/trunk/; revision=33322
2008-05-06 14:42:49 +00:00
Marc Piulachs
f540600448 -Add a new module type 'cabinet' to handle .cab files generation
-Remove harcoded vgafonts.cab instructions from rbuild and move them to its own rbuild file

svn path=/trunk/; revision=33321
2008-05-06 14:24:16 +00:00
Aleksey Bragin
c3644e01e9 atl: Remove freeing of an invalid pointer.
http://www.winehq.org/pipermail/wine-patches/2008-May/054603.html

svn path=/trunk/; revision=33320
2008-05-06 12:51:08 +00:00
Aleksey Bragin
19636d8609 - Fix a typo.
See issue #3190 for more details.

svn path=/trunk/; revision=33319
2008-05-06 11:46:50 +00:00
Dmitry Chapyshev
d7977c4292 - Add new dll's information
svn path=/trunk/; revision=33318
2008-05-06 09:22:39 +00:00
Dmitry Chapyshev
07d4eb5e6c - Add new dll's to bootcd
svn path=/trunk/; revision=33317
2008-05-06 09:20:48 +00:00
Dmitry Chapyshev
732ebbb776 - Add & update headers
svn path=/trunk/; revision=33316
2008-05-06 09:20:08 +00:00
Dmitry Chapyshev
27ec5d2efc - Add baseaddress for inetcomm.dll and nddeapi.dll
svn path=/trunk/; revision=33315
2008-05-06 09:17:31 +00:00
Dmitry Chapyshev
5e86e269b0 - advapi32: Small implementation RegConnectRegistryW (from wine)
- Add inetcomm.dll from wine
- Add nddeapi.dll from wine
- Sync imm32 with wine

svn path=/trunk/; revision=33314
2008-05-06 09:16:21 +00:00
Johannes Anderwald
ec6486f26c - check for WHQL for display adapters (using d3d9)
- destroy all dialogs on exit
- fix a bug in destroying the dialogs
- halfplement checking WHQL for audio drivers

svn path=/trunk/; revision=33313
2008-05-06 07:46:58 +00:00
Johannes Anderwald
611459f151 - define LPD3DVECTOR_DEFINED when d3d9 and dsound header is used
- sync mscat.h from wine and add a few required definitions

svn path=/trunk/; revision=33312
2008-05-06 07:18:38 +00:00
Hervé Poussineau
78fb45b54a Fix indentation
svn path=/trunk/; revision=33311
2008-05-06 06:57:05 +00:00
James Tabor
d6273ed28e Quick implementation of DxEngCreateMemoryDC and DxEngCleanDC. It compiles. 8^D
svn path=/trunk/; revision=33310
2008-05-06 04:22:49 +00:00
James Tabor
19381c9fed Win32k:
- Rewrite EngAcquire/ReleaseSemaphore.
- Add internal fastcalls for them and tag.
- Fix DxEngUn/LockShareSem.
- Tested with Qemu. Needs Dx testing.

svn path=/trunk/; revision=33309
2008-05-06 03:40:38 +00:00
Marc Piulachs
ebec4882b2 -solve msi circular dependency warning and avoid unnecessary msi.dll rebuilds
See issue #3131 for more details.

svn path=/trunk/; revision=33308
2008-05-05 23:19:38 +00:00
Aleksey Bragin
83170fa4d9 - Buffer size is in bytes, not in pages. Fixes boot breakage.
svn path=/trunk/; revision=33307
2008-05-05 21:07:32 +00:00
Hervé Poussineau
8483e5108d Initialize size field of the OLEINPLACEFRAMEINFO structure.
This should prevent Explorer to disappear when user doesn't want to download the Mozilla ActiveX control.
See issue #3126 for more details.

svn path=/trunk/; revision=33306
2008-05-05 20:16:34 +00:00
Magnus Olsen
91f47e9c2b bye bye DXG_GET_INDEX_FUNCTION
patch from Stefan Ginsberg stefan__100__at hotmail dot com 
it remove the bad macro DXG_GET_INDEX_FUNCTION that never worked as it should. 

svn path=/trunk/; revision=33305
2008-05-05 19:42:23 +00:00
Gregor Brunmar
18eec41ac4 Made IDirect3DDevice9::GetAvailableTextureMem() less error prone, based on feedback from GreatLord
svn path=/trunk/; revision=33304
2008-05-05 19:32:41 +00:00
Gregor Brunmar
6e103fd392 Changed struct in IDirect3DDevice9::GetAvailableTextureMem() based on feedback from GreatLord
svn path=/trunk/; revision=33303
2008-05-05 19:15:26 +00:00
Magnus Olsen
cd692f690e patch from Stefan Ginsberg stefan__100__at hotmail dot com
it remove the bad macro DXG_GET_INDEX_FUNCTION that never worked as it should. 

svn path=/trunk/; revision=33302
2008-05-05 18:30:14 +00:00
Aleksey Bragin
26171ce642 - Fix two typos in the buffer size calculation code, spotted by Stefan Ginsberg.
svn path=/trunk/; revision=33301
2008-05-05 18:23:55 +00:00
James Tabor
beb173aaa8 Implement XxxRedrawDesktop for Dx, needs testing.
svn path=/trunk/; revision=33300
2008-05-05 17:45:20 +00:00
Gregor Brunmar
bc1d4f7c8c Implemented IDirect3DDevice9::GetAvailableTextureMem()
svn path=/trunk/; revision=33299
2008-05-05 16:49:13 +00:00
Gregor Brunmar
f71800893b * Implemented IDirect3DDevice9::GetDirect3D() and GetDeviceCaps()
* Added a DevCaps filter when retrieving D3DCAPS9 from device caps

svn path=/trunk/; revision=33298
2008-05-05 15:58:23 +00:00
Hervé Poussineau
61fe294be5 Remove some warnings
svn path=/trunk/; revision=33297
2008-05-05 14:50:43 +00:00
Hervé Poussineau
8ccb84366b Fix assert
svn path=/trunk/; revision=33296
2008-05-05 14:50:01 +00:00
Timo Kreuzer
6ea5c51737 add tests for GetCurrentObject
svn path=/trunk/; revision=33295
2008-05-05 13:33:42 +00:00
Daniel Reimer
486242012f ... And the last things I forgot....
Note to myself: ONLY accept .diff and .patch files and NOTHING ELSE.

svn path=/trunk/; revision=33294
2008-05-05 13:27:26 +00:00
Daniel Reimer
e2bf80f216 Forgot to save a local fix before commit...
svn path=/trunk/; revision=33293
2008-05-05 13:22:09 +00:00
Daniel Reimer
e3b240fa84 Bug 3215: some updates and slovak translations by Mario Kacmar (kario@szm.sk)
Bug 3204: Bulgarian translations for ReactOS by Станев (sstpr@narod.ru)
Bug 3210: Fix italian mistakes into CPL by Carlo Bramini (carlo.bramix@libero.it)
Small fixes By Olaf Siejka.
Sync Winhelp and Wordpad to Code frozen Wine.

svn path=/trunk/; revision=33292
2008-05-05 13:09:49 +00:00
Daniel Reimer
41cf75aa19 Sync WineFile to Code frozen Wine.
Bug 3215: some updates and slovak translations by Mario Kacmar (kario@szm.sk)

svn path=/trunk/; revision=33291
2008-05-05 13:05:42 +00:00
Aleksey Bragin
63cc11fc79 - Revert 33274, except the change in GetDisplayNumberFromDeviceName(), where a zero-length string should be actually accepted.
- As for other changes in 33274: removed accidentally committed DPRINT1s by Magnus, removed unneeded DisplayNumber zero-init, because it's always initialized by a call to GetDisplayNumberFromDeviceName().

svn path=/trunk/; revision=33290
2008-05-05 08:28:41 +00:00
Aleksey Bragin
a293245d61 - Fix a few DxEng APIs without proper calling convention (spotted by Stefan).
svn path=/trunk/; revision=33289
2008-05-05 07:59:00 +00:00
James Tabor
f9df01f16b Implement IntGdiReferencePdev and part of IntGdiUnreferencePdev.
svn path=/trunk/; revision=33288
2008-05-05 01:34:17 +00:00
Marc Piulachs
d0093b0beb -Move shellext folder to a more appropriate location. shell extensions are COM objects which extends the abilities of MS Windows explorer and not regular Win32 Dlls as they don't export APIs (part 2/2)
svn path=/trunk/; revision=33287
2008-05-04 23:47:15 +00:00
Marc Piulachs
49d21151ac -Move shellext folder to a more appropriate location. shell extensions are COM objects which extends the abilities of MS Windows explorer and not regular Win32 Dlls as they don't export APIs (part 1/2)
svn path=/trunk/; revision=33286
2008-05-04 23:46:26 +00:00
Marc Piulachs
b0dcd1e796 -replace the non defined ${MP} property by a constant boolean value for now. ${MP} was removed long time ago
svn path=/trunk/; revision=33285
2008-05-04 23:32:43 +00:00
James Tabor
9b3cb4f2aa Impement DxEngSetDCState, DxEngIsHdevLockedByCurrentThread and DxEngUn & ReferenceHdev.
svn path=/trunk/; revision=33284
2008-05-04 23:17:10 +00:00
Magnus Olsen
4c802c0a86 remove more of no working macro DXG_GET_INDEX_FUNCTION
svn path=/trunk/; revision=33283
2008-05-04 21:30:15 +00:00
Marc Piulachs
86331561cd - simple but colorful new GDI screensaver
svn path=/trunk/; revision=33282
2008-05-04 21:10:36 +00:00
Marc Piulachs
908bc24d72 - Add language name tooltip to kbswitch systray icon
svn path=/trunk/; revision=33281
2008-05-04 20:58:15 +00:00
Marc Piulachs
0b4fd5a09c - Fix logon screensaver preview
svn path=/trunk/; revision=33279
2008-05-04 20:10:26 +00:00
Magnus Olsen
a811ab72f3 Fixed one test so it be more fair.
svn path=/trunk/; revision=33278
2008-05-04 19:58:33 +00:00
Dmitry Chapyshev
1a6f20f880 - Synchronize with wine head
svn path=/trunk/; revision=33277
2008-05-04 19:41:25 +00:00
Dmitry Chapyshev
0d8a3eb240 - Update header file
svn path=/trunk/; revision=33276
2008-05-04 19:40:09 +00:00
Magnus Olsen
8caedee1dd fixed some typo and stefan100 suggest to remove a #ifdef statement
svn path=/trunk/; revision=33275
2008-05-04 18:05:32 +00:00
Magnus Olsen
958edf5d4b fixed NtUserEnumDisplaySettings bug inside IntEnumDisplaySettings DWORD DisplayNumber was not init before it was use.
GetDisplayNumberFromDeviceName did not allown pdevice with NULL value or string lenght is 0 thuse have been fixed. 


svn path=/trunk/; revision=33274
2008-05-04 17:58:43 +00:00
Dmitry Chapyshev
2260e9862a - Change icon
svn path=/trunk/; revision=33273
2008-05-04 16:03:40 +00:00
Dmitry Chapyshev
9751314b2e - Update and fix all translations
svn path=/trunk/; revision=33272
2008-05-04 15:24:43 +00:00
Gregor Brunmar
abb783966b * Implemented IDirect3D9::GetNumberOfSwapChains()
svn path=/trunk/; revision=33271
2008-05-04 15:02:01 +00:00
Magnus Olsen
8ef0a1282d Speed optimize NtUserEnumDisplaySettings bit by remove
COPY_DEVMODE_VALUE_TO_CALLER macro and using SEH directly 

svn path=/trunk/; revision=33270
2008-05-04 14:31:20 +00:00
Johannes Anderwald
5e393b5c8d - retrieve more information for DirectSound adapters
- use dxdiag parent window for dialogs which have pushbuttons
- restore window size after finishing DirectDraw tests
- use wsprintfW over swprintf- cut off build info from version string

svn path=/trunk/; revision=33269
2008-05-04 13:58:45 +00:00
Johannes Anderwald
ba45724f37 - add mmreg.h
svn path=/trunk/; revision=33268
2008-05-04 13:51:59 +00:00
Magnus Olsen
478e831a2b NtUserEnumDisplaySettings
remove two MmCopyFromCaller, never use MmCopyFromCaller for it make debuging pain in the ass

svn path=/trunk/; revision=33267
2008-05-04 13:23:19 +00:00
Gregor Brunmar
1bfda5563c * Updated faulty documentation about Adapter parameter for IDirect3D9 methods
* Implemented IDirect3DDevice9::GetSwapChain()

svn path=/trunk/; revision=33266
2008-05-04 12:47:57 +00:00
Magnus Olsen
18c4d33491 Bugfix : NtGdiDdDeleteDirectDrawObject thx irc : stefan100 to spotted the misake
svn path=/trunk/; revision=33265
2008-05-04 12:42:52 +00:00
Magnus Olsen
601309743b Fixed a stupied bug inside intEnableReactXDriver, we only allown create dx context handler one time, second time it fail. note directdraw/dxg.sys have own handler table that work exacly same as gdi handler table and have same limit.
svn path=/trunk/; revision=33264
2008-05-04 12:00:31 +00:00
Gregor Brunmar
9eb5b2b938 * Added stubs for IDirect3DDevice9
* Moved IDirect3D9 specific helper functions from generic helpers to implementation file
* Renamed a couple of internal D3D9 structs

svn path=/trunk/; revision=33263
2008-05-04 11:48:06 +00:00
Colin Finck
8cfcdea5fa Move console.dll properly, Part 2/2. This commit will fix build again.
svn path=/trunk/; revision=33262
2008-05-04 09:04:14 +00:00
Colin Finck
a9824091f9 Move console.dll properly, Part 1/2. This commit will break build.
svn path=/trunk/; revision=33261
2008-05-04 09:01:59 +00:00
Dmitry Chapyshev
de35450565 - Update icons
svn path=/trunk/; revision=33260
2008-05-04 06:49:27 +00:00
James Tabor
3139c0bd7a Fix DxEngCreateMemoryDC, GetDesktopDC and DeleteDC.
svn path=/trunk/; revision=33259
2008-05-03 23:30:19 +00:00
Dmitry Chapyshev
e3eb09236b - Update translations
svn path=/trunk/; revision=33258
2008-05-03 15:41:57 +00:00
Dmitry Chapyshev
2570e76254 - Add new layouts to bootcd
svn path=/trunk/; revision=33257
2008-05-03 15:30:11 +00:00
Dmitry Chapyshev
94c43e1921 Add keyboard layouts:
- Turkish Q
- Turkish F
- Ukrainian (Student)
- Uzbek (Cyrillic)
- Vietnamese

svn path=/trunk/; revision=33256
2008-05-03 15:29:25 +00:00
Magnus Olsen
0ab92a340f Bugfix : DRVFN gaEngFuncs one row was wrong thx irc : Pigglesworth for notice it.
start fixing prototype for DxEngDeleteDC

svn path=/trunk/; revision=33255
2008-05-03 11:46:34 +00:00
Magnus Olsen
e54790f042 implemented partly DxEngGetDesktopDC
svn path=/trunk/; revision=33254
2008-05-03 10:23:14 +00:00
Dmitry Chapyshev
f343627af2 - Fix build
svn path=/trunk/; revision=33251
2008-05-02 20:36:07 +00:00
Magnus Olsen
028236f96f Fixed the last regress I intdues for loading ms dxg.sys now it works loading again and we come allot futuer with our ddraw.dll.
without using hacks. 

svn path=/trunk/; revision=33249
2008-05-02 20:16:03 +00:00
Magnus Olsen
21767c48f6 re adding a small hack for edd_directdraw_globalk getting clear out some where in win32k. we need track down this bug.
svn path=/trunk/; revision=33245
2008-05-02 19:42:38 +00:00
Magnus Olsen
e116f0e2e4 fixed a small regress for 3 boot i did by mistake intrudes. sorry
svn path=/trunk/; revision=33244
2008-05-02 19:25:26 +00:00
Magnus Olsen
ed0fe8ba5a cleanup the startup process allot
1. Remove the hack in ddraw.c that only allown one edd_directdraw_global it been move to dc.c for it is each drv that need alloc this space. 
2. Remove we do not trying loading dxg.sys twice. 
3. Remove we do not try enable the dx interface when it is already enable, better check for it is need it later. 

svn path=/trunk/; revision=33242
2008-05-02 18:31:21 +00:00
Magnus Olsen
b08374c708 fix a typo in function DxEngGetHdevData the sub function DxEGShDevData_OpenRefs did validate data bit wrong
it should send back 0 for no openrefs and 1 for openrefs.
thx Pigglesworth debuglog to found it. 

svn path=/trunk/; revision=33241
2008-05-02 17:47:46 +00:00
Dmitry Chapyshev
c5e44a797e - Add more defines
svn path=/trunk/; revision=33240
2008-05-02 14:44:43 +00:00
Dmitry Chapyshev
5124464786 - Change icons to Tango icons
svn path=/trunk/; revision=33239
2008-05-02 14:35:45 +00:00
Dmitry Chapyshev
d2964eccaf - Add InstallNewDevice exported function
svn path=/trunk/; revision=33238
2008-05-02 14:15:04 +00:00
Dmitry Chapyshev
23b26d3b26 - Move console.dll to cpl folder
svn path=/trunk/; revision=33237
2008-05-02 14:08:25 +00:00
Ged Murphy
6580355f68 fix build
svn path=/trunk/; revision=33235
2008-05-02 13:25:58 +00:00
Ged Murphy
c4d7bed972 - Remove CLSID_RebarBandSite from uuid, and contain it within explorer as it's an undoc GUID
- Load SHInvokeDefaultCommand when required to avoid msvc linker dependencies
- explorer_new now builds and links with msvc9, although it'll crash if you try to run it at the moment. Investigation needed.

svn path=/trunk/; revision=33234
2008-05-02 12:09:39 +00:00
Ged Murphy
7be668ec63 Fix build due to recent header changes
svn path=/trunk/; revision=33233
2008-05-02 08:43:47 +00:00
Ged Murphy
8e8e7c35eb - Get the locations of DrawCaptionTemp and RegisterShellHook when required instead of at link time. This allows building with msvc due to missing .lib stuff
- Remove SHGetViewStatePropertyBag test code
- Move more stuff to appropiate headers
- Remove unneeded linker libs

svn path=/trunk/; revision=33232
2008-05-02 08:22:09 +00:00
Dmitry Chapyshev
f593891576 - The division of right and the left menu
- Fix formatting in translations

svn path=/trunk/; revision=33231
2008-05-02 07:58:03 +00:00
Dmitry Chapyshev
3a8f1dc806 - Adding indexes to getting localized layouts names
svn path=/trunk/; revision=33230
2008-05-02 06:45:46 +00:00
Dmitry Chapyshev
964ac05304 - Getting a localized layout names from input.dll
svn path=/trunk/; revision=33229
2008-05-02 06:42:45 +00:00
Dmitry Chapyshev
aa249071fc - Getting a localized layout names from input.dll
- Add some layouts to resources

svn path=/trunk/; revision=33228
2008-05-02 06:41:59 +00:00
Magnus Olsen
1163b5af3c Fixed some struct member positions in EDD_DIRECTDRAW_GLOBAL
svn path=/trunk/; revision=33227
2008-05-02 05:45:29 +00:00
Martin Fuchs
5cfce75c9a update to XMLStorage version 1.3
svn path=/trunk/; revision=33226
2008-05-01 21:17:35 +00:00
Magnus Olsen
6b7e77bfc9 Thx fireball to found the real issue with dxg.sys why the hell it did send down NULL
we need the graphic drv DeviceObject be sent in, it is known as PDev->hSpooler in windows
reactos win32k does not set it up yet so we using reactos version of it 
it call PDev->VideoFileObject->DeviceObject.

svn path=/trunk/; revision=33225
2008-05-01 21:00:54 +00:00
Colin Finck
4c675706f2 Matthias Kupfer (matthias DOT kupfer AT informatik DOT tu-chemnitz DOT de):
- Fix some minor translation errors in the german translation and adjust the size of the elements of some control panel applets.

See issue #3211 for more details.

svn path=/trunk/; revision=33224
2008-05-01 20:12:53 +00:00
Aleksey Bragin
5e52f1cb74 - Remove incorrect check introduced in r33221 since Windows does not do it (try to call it on your Windows 2003 installation, and see results).
svn path=/trunk/; revision=33223
2008-05-01 19:44:30 +00:00
Magnus Olsen
917f4dca07 remove some debug data that was double. it is not longer need it
svn path=/trunk/; revision=33222
2008-05-01 19:33:18 +00:00
Magnus Olsen
70f8d998df Bugfix ntoskrnl : IoBuildAsynchronousFsdRequest the param DeviceObject, can be NULL when it comes from dxg.sys for dxg will set it only for AGP graphic card or newer.
Cleanup : intEnableReactXDriver it contain less code now. for most of the work are done by dxg.sys.
now ms dxg.sys fill the edd_directdraw_gloabl struct by it self. 



svn path=/trunk/; revision=33221
2008-05-01 19:20:10 +00:00
Pierre Schweitzer
bf34df5460 Added French translation for kbswitch.exe
svn path=/trunk/; revision=33220
2008-05-01 17:19:38 +00:00
Magnus Olsen
fdc64df76a Fixed DRIVER_FUNCTIONS this struct are being passdown to ms dxg.sys and it access it direcly so we need it match eacly windows xp/2003 layout
Fixed DRIVER_BuildDDIFunctions it now setup all api from the drv to DRIVER_FUNCTIONS struct. it is update to windows 2003, we can now use all hw acc api that exists in the drv.
we do not doing that yet. 



svn path=/trunk/; revision=33217
2008-05-01 16:36:42 +00:00
Dmitry Chapyshev
99eaa62157 - Implement layouts indicator
svn path=/trunk/; revision=33216
2008-05-01 16:00:51 +00:00
Dmitry Chapyshev
842191a3fc - Implement deleting layouts
svn path=/trunk/; revision=33215
2008-05-01 15:25:12 +00:00
Ged Murphy
611f8d8c45 DECLSPEC_NOVTABLE isn't supported by gcc
svn path=/trunk/; revision=33214
2008-05-01 14:56:54 +00:00
Ged Murphy
b14ae65161 - Change the ... gcc specific statement
- Seperators with MENUEX now need the full definition (although the docs don't say this yet)
- explorer_new now builds with msvc9. Doesn't link yet though...

svn path=/trunk/; revision=33213
2008-05-01 14:52:11 +00:00
Daniel Reimer
b2db2388e9 Polish Translation Update by Olaf Siejka
Updated German USETUP Translation.
To Translators: kbswitch is open for translations now in my eyes. DXDiag maybe too. Ask Johannes Anderwald about it

svn path=/trunk/; revision=33211
2008-05-01 13:07:58 +00:00
Magnus Olsen
6d8cb64ea3 add regkey HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\DCI\Timeout for dxg.sys it is the second timeout value for a surface lock see url for more informations http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/28237.mspx?mfr=true thx irc:stefan100 for the url
remove one hack in intEnableReactXDriver thx to this info. 




svn path=/trunk/; revision=33210
2008-05-01 12:08:02 +00:00
Ged Murphy
f30abc5fe4 - Add IMenuBand COM interface
- Add IInitializeObject and IBanneredBar COM interfaces. Manually add the members, which is a bit of a hack. We need to fix DECLARE_INTERFACE_IID_ to pre-register interfaces
- explorer_new no longer has redefinition errors when attempting to build with msvc9

svn path=/trunk/; revision=33209
2008-05-01 11:01:10 +00:00
Magnus Olsen
632784d080 Do not double set value that have already been set by ms dxg.sys
svn path=/trunk/; revision=33208
2008-05-01 09:51:25 +00:00
Ged Murphy
7c46bc1d7a - Add IShellView2 and IShellView3 COM interfaces
- Add IBandSite interface
- Add COM object typedefs and #defines to shtypes.idl

svn path=/trunk/; revision=33207
2008-05-01 09:39:37 +00:00
Magnus Olsen
5e70dd89f7 Fixed a smaller bug in intEnableReactXDriver
it was not the drv hPDev that was the frist param it was hdev aka pDC->pPDev
now we see value getting fill in to edd_DdirectDraw_Global from pfnDdEnableDirectDraw fucntion in ms dxg.sys 

svn path=/trunk/; revision=33206
2008-05-01 09:24:53 +00:00
Ged Murphy
8c875b905d More COM interfaces needed for the new explorer
svn path=/trunk/; revision=33205
2008-05-01 08:21:15 +00:00
Ged Murphy
90985d2f94 Start to fix some COM interfaces which will be used by the new explorer shell
svn path=/trunk/; revision=33204
2008-05-01 07:39:21 +00:00
Dmitry Chapyshev
9ab11b5a2d - Remove kbswitch from autorun
svn path=/trunk/; revision=33203
2008-05-01 07:36:47 +00:00
Dmitry Chapyshev
de0dcd8f04 - Add new layouts to bootcd
svn path=/trunk/; revision=33202
2008-05-01 07:33:59 +00:00
Dmitry Chapyshev
e23208d657 Add keyboard layouts:
- Serbian (Cyrillic)
- Serbian (Latin)

svn path=/trunk/; revision=33201
2008-05-01 07:33:29 +00:00
Pierre Schweitzer
4dc1dea0a6 - Added a stub for NtfsLib
- Added a stub for untfs.dll
- Added the support of untfs.dll to autochk.exe (and a bit reviewed code when loading provider)
That way, autochk won't complain anymore... And it creates places to work!

svn path=/trunk/; revision=33199
2008-04-30 21:35:23 +00:00
Timo Kreuzer
fabaf5892a - DxEngGetHdevData: return a DWORD_PTR instead of a DWORD
- DxEngSetHdevdata: use DWORD_PTR as Data parameter
- DxEngGetDcState: return a DWORD_PTR instead of a DWORD

svn path=/trunk/; revision=33198
2008-04-30 20:34:04 +00:00
Johannes Anderwald
f938064c8d - use tab control as parent for the child dialogs
- fixes display problems
- thanks to GedMurphy & Colin_Finck for finding the issue

svn path=/trunk/; revision=33196
2008-04-30 10:55:35 +00:00
Johannes Anderwald
efc283ea0f - fix a bug in tab selection code
- add DirectSound dialog resources

svn path=/trunk/; revision=33195
2008-04-29 23:05:57 +00:00
Aleksey Bragin
5d74a4dc1f - Enter into critical region before acquiring the resource.
See issue #3193 for more details.

svn path=/trunk/; revision=33193
2008-04-29 20:01:38 +00:00
Aleksey Bragin
bc946f199f - All DxEng APIs are STDCALL. The only possible exception are FASTCALLs, but this is to be determined and fixed by Magnus.
- Also fix numerous typos, greatlordisms, and other shamefully-looking strings.

svn path=/trunk/; revision=33191
2008-04-29 17:00:31 +00:00
Aleksey Bragin
7845d37436 - Fix typos in source code comments.
svn path=/trunk/; revision=33190
2008-04-29 15:36:11 +00:00
Johannes Anderwald
92cb366cf1 RRF_RT_REG_SZ is already defined in winreg.h
svn path=/trunk/; revision=33189
2008-04-29 15:24:54 +00:00
Johannes Anderwald
84d4c7f4da - fix flickering of DirectDraw tests by Pigglesworth (Kamil Hornicek)
- enumerate all available display / sound adapters dynamically at start (does not work yet)
- rewrite TabCtrl_OnSelChange to reflect changes


svn path=/trunk/; revision=33188
2008-04-29 12:19:55 +00:00
Johannes Anderwald
dd03a00484 - query current time zone
- retrieve localized country for a version
- pass length parameter to avoid potential buffer overflows

svn path=/trunk/; revision=33187
2008-04-29 10:27:03 +00:00
James Tabor
5d1a36463e Implement DxEngSetDCOwner, add stub for IntGdiSetDCOwnerEx.
svn path=/trunk/; revision=33186
2008-04-29 02:00:56 +00:00
James Tabor
6e7d793b62 Update DxEngSetDCOwner and add owner masks.
svn path=/trunk/; revision=33185
2008-04-29 01:46:58 +00:00
Johannes Anderwald
ff187406a6 - enumerate driver files, driver version and driver time
svn path=/trunk/; revision=33184
2008-04-28 21:47:43 +00:00
Andrey Korotaev
67e7cbefcb Fix build
svn path=/trunk/; revision=33183
2008-04-28 20:20:53 +00:00
Dmitry Chapyshev
94ae49ad03 - Add some defines
svn path=/trunk/; revision=33182
2008-04-28 19:29:08 +00:00
Johannes Anderwald
bd67e0b8ba - implement more details for display adapter page
- enlarge general details groupbox

svn path=/trunk/; revision=33181
2008-04-28 17:16:57 +00:00
Dmitry Chapyshev
ed2f55b464 - Update Russian translation
svn path=/trunk/; revision=33180
2008-04-28 16:57:57 +00:00
Johannes Anderwald
fe85b2aafe - add DirectDraw tests by Pigglesworth (Kamil Hornicek)
- add resources for display page
- start implementing display page
- sync german resources
- display custom service provider for DirectPlay

svn path=/trunk/; revision=33178
2008-04-28 15:14:12 +00:00
Johannes Anderwald
a8e3a8cc03 - add GUID_DEVCLASS_DISPLAY
- fix format

svn path=/trunk/; revision=33177
2008-04-28 14:55:21 +00:00
Dmitry Chapyshev
67880e7352 - Add support second keyboard layout
- Update all translations

svn path=/trunk/; revision=33175
2008-04-28 14:04:22 +00:00
Marc Piulachs
dbe6f7e739 make rbuild files XML compliant by adding the XInclude namespace , no code change
svn path=/trunk/; revision=33174
2008-04-28 13:44:11 +00:00
Magnus Olsen
621c32a3f3 update intEnableReactXDriver with more code
svn path=/trunk/; revision=33173
2008-04-28 06:03:29 +00:00
Dmitry Chapyshev
506f10166e - Add kbswitch to autorun
svn path=/trunk/; revision=33172
2008-04-27 20:42:01 +00:00
Dmitry Chapyshev
30d6c42539 - Don't be loaded more than one copy of the application (based on mutex)
svn path=/trunk/; revision=33171
2008-04-27 17:14:58 +00:00
Marc Piulachs
d74dbb71d9 spanish translation for kbswitch
svn path=/trunk/; revision=33170
2008-04-27 17:09:51 +00:00
Magnus Olsen
d69543779c Getting the pain in the ass api DxDdCreateDirectDrawObject inside ms dxg.sys working it is now returning info now
it needs a negtive value set in struct edd_directdraw_global member llAssertModeTimeout. 

svn path=/trunk/; revision=33169
2008-04-27 17:00:06 +00:00
Dmitry Chapyshev
3f20c9565c - Implement current layout indicator
svn path=/trunk/; revision=33168
2008-04-27 15:40:42 +00:00
Magnus Olsen
687cbecc1a add new : define a new flags for edd_directdraw_global, struct member in edd_directdraw_global
Fixed : some comment 
Add DD_MISCELLANEOUS2CALLBACKS so it works now with ms dxg.sys from user mode with callbacks.
it mean follow api from the gf card drv should work now with syscall to win32k from user mode
NtGdiDdAlphaBlt, NtGdiDdCreateSurfaceEx, NtGdiDdGetDriverState, NtGdiDdDestroyDDLocal


svn path=/trunk/; revision=33167
2008-04-27 15:31:47 +00:00
Daniel Reimer
d312eca131 Fix one warning.
svn path=/trunk/; revision=33166
2008-04-27 15:18:20 +00:00
Daniel Reimer
5ca87d6bc1 Bug 3198: add new slovak translations and some changes by Mário Kačmár (kario@szm.sk)
Bug 3196: some spanish traslation by Javier Remacha (remialdo@gmail.com)

svn path=/trunk/; revision=33165
2008-04-27 15:02:13 +00:00
Magnus Olsen
a5110635fa add DD_VIDEOPORTCALLBACKS it mean directx video port interface should started working now to user mode, with ms dxg.sys
svn path=/trunk/; revision=33164
2008-04-27 13:05:13 +00:00
Magnus Olsen
a1197a2e61 ms dxg.sys can now found and execute GetAvailDriverMemory it works from usermode with syscall,
svn path=/trunk/; revision=33163
2008-04-27 12:47:28 +00:00
Magnus Olsen
c08cbfa7a2 adding more code for init the drv in intEnableReactXDriver
svn path=/trunk/; revision=33162
2008-04-27 12:11:00 +00:00
Dmitry Chapyshev
e18ad707c8 - Add new layouts to bootcd
svn path=/trunk/; revision=33161
2008-04-27 12:02:29 +00:00
Dmitry Chapyshev
2b7c04a7d9 Add keyboard layouts:
- Romanian
- Tatar
- US Dvorak for left hand
- US Dvorak for right hand
- US International

svn path=/trunk/; revision=33160
2008-04-27 12:01:38 +00:00
Magnus Olsen
a5e7b91fe0 no new code, only fixed some more members in EDD_DIRECTDRAW_GLOBAL struct, and copy some private note to it.
svn path=/trunk/; revision=33159
2008-04-27 09:41:21 +00:00
Dmitry Chapyshev
72aa848eff - Increasing the size of controls
svn path=/trunk/; revision=33158
2008-04-27 09:07:43 +00:00
Magnus Olsen
3919a3d42a EDD_DIRECTDRAW_GLOBAL mark out ddSurfaceCallbacks is corrct and corrected the comment about it
updateddump_edd_directdraw_global so it dump even more data. 

svn path=/trunk/; revision=33157
2008-04-27 01:11:13 +00:00
Magnus Olsen
08f772b7c6 BugFix : EDD_DIRECTDRAW_GLOBAL put ddCallbacks in right position.
that mean  driver api DestroyDriver, CreateSurface, SetColorKey, SetMode, WaitForVerticalBlank, CanCreateSurface, CreatePalette, GetScanLine, MapMemory works inside ms dxg.sys now
test of that is NtGdiDdCreateSurface, NtGdiDdSetColorKey, NtGdiDdWaitForVerticalBlank, NtGdiDdCanCreateSurface, NtGdiDdCreatePalette, NtGdiDdGetScanLine
works and show prof it being call to the drv. that mean we got the graphic card api working now. It still exists bugs. Long live our ReactX that showing frist life sign with ms dxg.sys inside vmware and thuse api working. But it is not egunt getting a dx apps working yet. 

svn path=/trunk/; revision=33156
2008-04-26 20:18:42 +00:00
Dmitry Chapyshev
c6a77c874d - Add new layouts to bootcd
svn path=/trunk/; revision=33155
2008-04-26 19:07:51 +00:00
Dmitry Chapyshev
14c92a0ec5 Add keyboard layouts:
- Canadian French (Legacy)
- Canadian Multilingual Standard
- Dutch
- Estonian
- Georgian
- Latvian
- Macedonian (FYRO)

svn path=/trunk/; revision=33154
2008-04-26 19:07:16 +00:00
Magnus Olsen
77edaa1c87 finish proting of intEnableDriver from ReactOS 0.3.1 - 0.3.2 that have been rename to intEnableReactXDriver
lefttodo fix correct positions of everything in the edd_directdraw_global amd fill in the driver phdev correct in that struct as well.
Hacked : NtGdiDdGetScanLine for now, it crash when it being call again. 


svn path=/trunk/; revision=33153
2008-04-26 18:25:24 +00:00
Magnus Olsen
cd73d524b9 Add : started port in intEnableDriver from reactos 0.3.2 and rename it to intEnableReactXDriver. it is the part activate the graphic card directx support.
Add : more debug data for ReactX it is need it to fill all edd_ struct right, allot of the debug functions will go away after we got up stable interface. 
BugFix : EDD_DIRECTDRAW_LOCAL the struct did miss one member. 

svn path=/trunk/; revision=33152
2008-04-26 17:27:35 +00:00
Magnus Olsen
da69013f65 remove some debug output it is not longer need it.
Bugfix PEDD_DIRECTDRAW_LOCAL define 
add allot debug data at NtGdiDdQueryDirectDrawObject we are here now, prepare activate the whole graphic driver directx interface. 
we will add back some older code of the old desgin of the directx interface, for we need init the graphic card directx interface
it is not done by dxg.sys, it is done by win32k and dxg.sys using the cached data from win32k. rember it is cached for each drv. 
but we will only support one graphic drv for dx for now, when the code comes alive again.

svn path=/trunk/; revision=33151
2008-04-26 14:13:59 +00:00
Magnus Olsen
9206e4dfaf fixed bit more in the struct EDD_DIRECTDRAW_GLOBAL,
the struct are still wrong. trust only on thuse I wrote verify on 

svn path=/trunk/; revision=33150
2008-04-26 12:55:14 +00:00
Daniel Reimer
75fc10972f Add alternative German "de-ergo/eMeier 0.1", "NEO 1.1" and "Ristome" Layouts.
If you have a modified Keyboard lying around, have fun writing.

svn path=/trunk/; revision=33149
2008-04-26 12:30:46 +00:00
Magnus Olsen
c7ef3adff2 Bugfix : EngDeleteSemaphore one line patch by Samuel Serapión (samcharly at hotmail dot com) aka irc : encoded
-------------
it did not releas the create resuse, it was leaking.  

svn path=/trunk/; revision=33148
2008-04-26 12:11:01 +00:00
Magnus Olsen
a5887ec19a fixed : we do not longer losing the hdev for ms dxg.sys
fixed : remove few hacks I did and reactivate some api I did take offline. 
the struct EDD_DIRECTDRAW_LOCAL from yuah gdi book does not match windows xp, I have verify some member for windows xp.
the struct EDD_DIRECTDRAW_GLOBAL from yuah gdi book does not match windows xp, I have verify some member for windows xp.
and add two new member so hPDEV get in right place. 



svn path=/trunk/; revision=33147
2008-04-26 09:29:10 +00:00
Dmitry Chapyshev
ae3f9c0f59 - Add US IBM Arabic 238_L and Icelandic layouts to bootcd
svn path=/trunk/; revision=33146
2008-04-25 16:50:06 +00:00
Dmitry Chapyshev
94996695bd - Add US IBM Arabic 238_L keyboard layout
- Add Icelandic keyboard layout

svn path=/trunk/; revision=33145
2008-04-25 16:49:17 +00:00
Daniel Reimer
4cbe7697a1 Replace ROSCalc with Wine Calc.
svn path=/trunk/; revision=33144
2008-04-25 15:41:03 +00:00
Daniel Reimer
bdfd4666ac Replace Wine Calc with ROSCalc
svn path=/trunk/; revision=33143
2008-04-25 15:40:31 +00:00
Daniel Reimer
4c90f1b335 What do we learn here? Always try patches with a updated trunk. Removed Bulgarian Translation again. Its outdated.
svn path=/trunk/; revision=33142
2008-04-25 11:55:28 +00:00
Daniel Reimer
3f380b3dc9 Bug 3192: Bulgarian translation of ReactOS by Станев (sstpr@narod.ru)
Bug 3194: Czech translation update by Radek Liška (radekliska@gmail.com)

svn path=/trunk/; revision=33141
2008-04-25 11:46:01 +00:00
Johannes Anderwald
baf72dcc52 - implement enumerating DirectPlay service providers
- update resources

svn path=/trunk/; revision=33140
2008-04-25 10:56:18 +00:00
Aleksey Bragin
37f8eef287 - Add more MDL flags.
- Reformat MDL implementation (mdlsup.c) to make it readable, and add comments.
- Add a couple dozen assertions to validate that MDL flags, state and addresses.
- Use ADDRESS_AND_SIZE_TO_SPAN_PAGES macro for nice MDL calculations.
- Set Mdl->Process only when required, and set/unset various MDL flags which were being ignored/incorrectly manipulated.
- Keep track of Process->NumberOfLockedPages during MDL lock/unlock.
- Don't return the base address of the MDL allocation when mapping locked pages - MDLs have a byte offset which was being ignored.
- Fix incorrect usage of MDLs found in the kernel (thanks to the new assertions).
- Split kernel vs. user mode MDL requests in a much more organized and optimized fashion.
- Fix a number of smaller bugs throughout the code.

svn path=/trunk/; revision=33139
2008-04-25 07:55:12 +00:00
Magnus Olsen
c9e1e6a6ad adding more debug output for dx
svn path=/trunk/; revision=33138
2008-04-25 05:47:32 +00:00
Timo Kreuzer
92fefe8a51 ULONG -> SIZE_T
svn path=/trunk/; revision=33137
2008-04-25 01:42:25 +00:00
Timo Kreuzer
7a84e0d0f9 ULONG -> SIZE_T for ZwAllocateVirtualMemory and MmMapViewOfSection
svn path=/trunk/; revision=33136
2008-04-25 01:16:08 +00:00
Timo Kreuzer
3115ae246c fix cast of pointer: ULONG -> ULONG_PTR
svn path=/trunk/; revision=33135
2008-04-25 01:09:28 +00:00
Timo Kreuzer
26ce8577f2 fix EngAllocUserMem parameter
svn path=/trunk/; revision=33134
2008-04-25 00:38:32 +00:00
Aleksey Bragin
d136b969cf - Rewrite NtRead/WriteVirtualMemory around MiCopyVirtualMemory, and use MmMapLockedPagesSpecifyCache to do the bulk of the work, instead of the MDL hacks that were previously used.
- Reformat and cleanup the entire file, deprecate NtVirtualLock/Unlock which didn't really work (and aren't really required for any apps for now)
- Major perf optimizations to NtRead/VirtualMemory: Use pool memory transfer when more efficient than MDL, and use local stack buffer when size permits.
- This patch provides up to 109% improvement (more than twice as fast) in certain virtual memory operations.
- Thanks to Alex for researching this issue, and providing the internal information on the various optimizations and behaviors the NT implementation uses.

svn path=/trunk/; revision=33133
2008-04-24 21:26:01 +00:00
Gregor Brunmar
4b3ff92f36 Added some work-in-progress structs needed for IDirect3D9::CreateDevice()
svn path=/trunk/; revision=33132
2008-04-24 19:57:41 +00:00
Gregor Brunmar
48b2c90e2f Renamed internal Direct3D9 structure to make more sense
svn path=/trunk/; revision=33131
2008-04-24 18:29:50 +00:00
Colin Finck
a8253264f5 kbswitch:
- Revert some changes from r33106:
    * Set the size of szTempLCID back to CCH_LAYOUT_ID + 1, a layout ID mustn't be longer than this.
      As we pass the correct size to the Registry functions as well, there can be no buffer overflow.
      MAX_PATH was probably used here, because input.dll had a bug as well, so that it saved the layout ID with the wrong length.
    * Use wsprintf over _stprintf
    * Pass the correct value to dwBufLen (in bytes, not in TCHAR's!)
- Add back SystemParametersInfo, so that the system gets to know about the keyboard layout change.
  EnumWindows is still used for setting the new keyboard layout to all existing Windows.
- Don't show a different menu for left and right clicks, that's not how most popup menus work under Windows.
  Instead append all menu items from the menu template to the popup menu.
- Call SetForegroundWindow before and post a WM_NULL message after calling TrackPopupMenu, so that the popup menu will be closed, when the user clicks somewhere else
- Fix indentation

input.dll:
- Fix some incorrect lengths passed to other functions
- Get rid of some unneeded variables
- Always use the 32-bit Registry functions over the old 16-bit deprecated ones
- Fix some other stuff here and there

svn path=/trunk/; revision=33130
2008-04-24 17:57:48 +00:00
Aleksey Bragin
9dc0da2dea - Reformat Se code and put functions to more appropriate locations.
svn path=/trunk/; revision=33129
2008-04-23 20:38:37 +00:00
Aleksey Bragin
c72bfe8de2 - Fix logic bugs in LpcRequestPort (which is not the same as NtRequestPort as someone incorrectly assumed previously) and also reference/dereference the process who owns the server mapping.
svn path=/trunk/; revision=33128
2008-04-23 16:40:08 +00:00
Dmitry Chapyshev
983f990ed9 - Update Russian translation
svn path=/trunk/; revision=33127
2008-04-23 15:54:29 +00:00
Daniel Reimer
5da9bd0da2 Revert r33093. It breaks build for me and fixes no circular dependency for the rest.
Set the new added wine dlls to autosync in readme.wine.

svn path=/trunk/; revision=33126
2008-04-23 09:55:55 +00:00
Magnus Olsen
20a98cecc9 start setup edd directdraw local
svn path=/trunk/; revision=33125
2008-04-23 05:45:59 +00:00
Magnus Olsen
e637f94339 change directx struct
svn path=/trunk/; revision=33124
2008-04-23 05:44:20 +00:00
Magnus Olsen
4f75f1d31c comment out one line for now.
for we will use same struct as gdi object in dx/reactx header. 

svn path=/trunk/; revision=33123
2008-04-23 05:23:51 +00:00
Magnus Olsen
0d59c944b1 take offline some code, this file should be take code from win32k.
it is same as gdi handle alloc doing it. 

svn path=/trunk/; revision=33122
2008-04-23 05:21:59 +00:00
Johannes Anderwald
15d071da9a - enlarge the dialog window
- load treeview classes on startup
- link to dinput8 + dxguid library
- start implementing DirectInput dialog
- use DirectInput version 8 for now


svn path=/trunk/; revision=33121
2008-04-22 23:19:50 +00:00
KJK::Hyperion
5e675fb7e6 modified include/psdk/ntdef.h
Make C_ASSERT standards-compliant. Hopefully fixed for good

svn path=/trunk/; revision=33120
2008-04-22 23:09:05 +00:00
Johannes Anderwald
468e944166 - add missing constants required for dxdiag
svn path=/trunk/; revision=33119
2008-04-22 22:52:44 +00:00
KJK::Hyperion
8388a8705e I am stupid and buildbot is broken
svn path=/trunk/; revision=33118
2008-04-22 22:51:30 +00:00
KJK::Hyperion
5870ed88cc modified include/psdk/ntdef.h
C_ASSERT is equivalent to a typedef, NOT a variable declaration

modified   ntoskrnl/mm/pe.c
   Convert as many ASSERTs as possible to C_ASSERT

svn path=/trunk/; revision=33117
2008-04-22 22:45:53 +00:00
Aleksey Bragin
e74ec0acfc Bug fixes from Alex:
- CDFS should enter a critical region before acquiring a resource.
- "Fix" resource assert during installation by adding some padding at the end of the VFAT FCB header -- corruption happens at pad 51.
- Once we detect corruption at pad 51, skip the FCB instead of attempting to flush it.
- Fix a serious bug in our detection of incorrect resource usage while APCs are not disabled.
- Fix a serious bug which caused shared resources not to wake up waiters when it was released, and which cause it to wake up waiters when there were still active locks held.
 
New ERESOURCE implementation by Aleksey (thanks to Alex for providing the information required)
- Remove ERESOURCE_XP concept, and fix the three incorrect and different definitions of the ERESOURCE structure.
- Fix the ERESOURCE implementation to use the new Vista ERESOURCE type. Two main changes:
   * The count is now a 32-bit count called ActiveEntries. ActiveCount is now simply a flip-flop bit (0/1) for backward compatibility (we set to 0 when active entries is 0, and 1 when active entries is > 0)
   * Instead of caching two owners, we only cache one owner, in the OwnerEntry field.
- Optimize some search algorithms slightly (just better code).
- Remove duplicated code for ExReleaseResourceLite and call ExReleaseResourceForThreadLite instead. Alex says this is ok.

svn path=/trunk/; revision=33111
2008-04-22 20:44:34 +00:00
Dmitry Chapyshev
64a5765676 - Add "Preferences" button
svn path=/trunk/; revision=33109
2008-04-22 20:01:08 +00:00
Dmitry Chapyshev
a869e80716 - Add kbswitch to bootcd
svn path=/trunk/; revision=33108
2008-04-22 19:09:13 +00:00
KJK::Hyperion
722e39a1cd Revert 33105, C_ASSERT is broken
svn path=/trunk/; revision=33107
2008-04-22 19:03:21 +00:00
Dmitry Chapyshev
2d438bced6 - Keyboard layout switching works now in ReactOS!
svn path=/trunk/; revision=33106
2008-04-22 19:01:56 +00:00
KJK::Hyperion
57e6630f32 modified ntoskrnl/mm/pe.c
Convert as many ASSERTs as possible to C_ASSERT

svn path=/trunk/; revision=33105
2008-04-22 18:49:22 +00:00
Hervé Poussineau
21ffe8e67a Change default intermediate directory to obj directory.
svn path=/trunk/; revision=33094
2008-04-22 05:52:18 +00:00
Johannes Anderwald
9fd974d671 - add a proxy idl file
- should fix the circual dependency

svn path=/trunk/; revision=33093
2008-04-21 22:49:48 +00:00
Aleksey Bragin
4f1c23c238 - The address space lock is a pushlock -- pushlocks can fail if callers are acquiring them without first disabling APCs, so they should always be acquired within a critical region. Fix the address space lock to do this.
- Don't keep track of the page table reference count table in the address space structure, nobody was using this.
- Instead of using either a global kernel pushlock for the kernel address space, and a per-process lock for process address space, always use a per-process lock (the kernel address space uses the idle process' lock).
- Instead of acquiring/releasing the lock by dereferencing the process which owns the address space, hold a pointer to the lock directly. This removes an extra dereference, and also allows the kernel lock to work (because kernel address space doesn't have an associated process).
- Inline the lock acquisition/release functions and the get-address-space functions.
- Measured a 20% performance boost during boot-up, and 150% during installation.
- Patch by Alex.

svn path=/trunk/; revision=33092
2008-04-21 21:42:00 +00:00
Aleksey Bragin
901badd513 - Remove perf code from Ob SD Cache implementation.
svn path=/trunk/; revision=33091
2008-04-21 18:33:23 +00:00
James Tabor
3c1b0a2a64 Attempt to fix problem where there should have not been a problem. Remember this, do not fix it when it is not broken. I will restore GdiFixUpHandle back to the original state later.
svn path=/trunk/; revision=33090
2008-04-21 18:28:35 +00:00
Andrew Munger
c4db2ba2dc A driver-supplied Cancel routine is called with the cancel spin lock held, it must be released on IRP completion.
This was inverted in mouclass. Fix by Samuel Serapión.

svn path=/trunk/; revision=33089
2008-04-21 12:10:55 +00:00
Johannes Anderwald
659ebcce5b - check input in PNP_GetRootDeviceInstance
- fix length check in PNP_GetClassName
- allocate device id string dynamically in to avoid a potential buffer overflow
- use lstrlenW over wcslen in PnpEventThread

svn path=/trunk/; revision=33088
2008-04-21 12:08:42 +00:00
James Tabor
622f5b732e Implemented DxEngGetRedirectionBitmap. Fixed GdiGetSetCopyCount.
svn path=/trunk/; revision=33087
2008-04-21 05:56:49 +00:00
Magnus Olsen
4819d33d63 did the mistake commit the reactos.diff again :(
svn path=/trunk/; revision=33086
2008-04-21 05:43:51 +00:00
Dmitry Chapyshev
074e399d8d - Add Russian translation
svn path=/trunk/; revision=33085
2008-04-21 05:43:23 +00:00
Magnus Olsen
92a93b0559 DxDdStartupDxGraphics
Bugfix : the load order, it try loading vista dxkrnl.sys frist then it try loading dxg.System
rember I have not tested vista dxkrnl.sys in reactos at all yet. 

Bugfix :
thx piggworth for notice the hDev was never resive to DxEngLockHdev, it still does not do in some case. 
we need more invigaste why

svn path=/trunk/; revision=33084
2008-04-21 05:42:08 +00:00
Ziliang Guo
09592ecd54 Forgot this file.
svn path=/trunk/; revision=33083
2008-04-21 03:50:48 +00:00
Ziliang Guo
390cff7a1a Fix memory leaks, patch by Samuel Serapión
svn path=/trunk/; revision=33082
2008-04-21 02:15:19 +00:00
Ziliang Guo
24328c0181 Header updates from Samuel
svn path=/trunk/; revision=33081
2008-04-21 02:13:57 +00:00
Aleksey Bragin
bab8dc90be - directory.rbuild in rosapps should be alphabetically sorted, so move drivers to its respected place.
- Move service skeleton into templates directory, it's there for that kind of stuff.

svn path=/trunk/; revision=33080
2008-04-20 20:54:06 +00:00
Colin Finck
af30d3067b - Make the "Exit" string translateable
- Use the last possible ID for this command, so we can add as many keyboard layouts as possible to the popup menu
- Send a WM_CLOSE message when clicking "Exit", don't duplicate the WM_DESTROY code here

svn path=/trunk/; revision=33079
2008-04-20 19:49:10 +00:00
Hervé Poussineau
ae6a3c787b Prevent mshtml registration (doesn't work yet)
See issue #3189 for more details.

svn path=/trunk/; revision=33078
2008-04-20 19:10:41 +00:00
Dmitry Chapyshev
a1ad9a3a46 - Add "Exit" item to menu
svn path=/trunk/; revision=33077
2008-04-20 18:59:58 +00:00
Colin Finck
2b6311590f Fix indentation in the .rbuild file and remove some libs we don't use
svn path=/trunk/; revision=33075
2008-04-20 18:06:36 +00:00
The Wine Synchronizer
4b7c2d1cc2 Autosyncing with Wine HEAD
svn path=/trunk/; revision=33074
2008-04-20 17:11:36 +00:00
Hervé Poussineau
68b3bf4595 Add ERROR_WINHTTP_AUTODETECTION_FAILED
svn path=/trunk/; revision=33073
2008-04-20 17:11:12 +00:00
The Wine Synchronizer
14d17cbecf Autosyncing with Wine HEAD
svn path=/trunk/; revision=33072
2008-04-20 17:07:15 +00:00
Hervé Poussineau
c1e47ef0a6 Add GetCharABCWidthsI, GetGlyphIndicesA/W prototypes
svn path=/trunk/; revision=33071
2008-04-20 17:06:50 +00:00
Hervé Poussineau
c0e09694a6 Add usp10 base address
svn path=/trunk/; revision=33070
2008-04-20 17:06:38 +00:00
Daniel Reimer
42fee09d99 Remove rasdlg again. Misinterpretation by me. Sorry for that.
svn path=/trunk/; revision=33069
2008-04-20 16:49:57 +00:00
Magnus Olsen
690e556bea fix another stack crouptions for wrong prototype
svn path=/trunk/; revision=33068
2008-04-20 16:29:43 +00:00
Magnus Olsen
9b0305b341 fix the trunk build for real now, i hate sell man calling in the phone.
svn path=/trunk/; revision=33067
2008-04-20 16:14:06 +00:00
The Wine Synchronizer
476207516d Autosyncing with Wine HEAD
svn path=/trunk/; revision=33066
2008-04-20 16:10:55 +00:00
Magnus Olsen
596370a92e fix the no init value in kbswith
svn path=/trunk/; revision=33065
2008-04-20 16:10:27 +00:00
The Wine Synchronizer
34243f06b8 Autosyncing with Wine HEAD
svn path=/trunk/; revision=33064
2008-04-20 16:01:17 +00:00
Hervé Poussineau
48094f5e9f Support memicmpW() Wine specific function
svn path=/trunk/; revision=33063
2008-04-20 16:01:04 +00:00
Colin Finck
6e8acacf27 - Add the actual function for switching the keyboard layout
- Handle keyboard layout substitutes (like the "German (IBM)" layout)
- Refactor many parts of the code:
   * Always close hKey handles after they were successfully opened
   * Build the keyboard layout menu one time and not everytime, when it's opened
   * Use smaller sizes for some string variables, defined with CCH_LAYOUT_ID and CCH_ULONG_DEC.
     This also ensures that we don't retrieve bigger values, which would be invalid.
- Use a consistent indentation

svn path=/trunk/; revision=33062
2008-04-20 15:48:43 +00:00
Daniel Reimer
760ed27010 Synced Winhelp
Updated README.WINE
- Added atl.dll, pdh.dll, rasapi32, rasdlg, stdole2.tlb, tapi32, usp10, winhttp
All of these are from wine. I called them Out of sync now. Change the way you want.

svn path=/trunk/; revision=33061
2008-04-20 15:38:34 +00:00
Magnus Olsen
5653b80ea7 Let DxEngScreenAccessCheck() always return true for now until we implemete it
it mean dxg.sys have preemptions to access the screen. 

svn path=/trunk/; revision=33060
2008-04-20 14:46:03 +00:00
Daniel Reimer
5584a59747 Bug 3188: Lithuanian translation by Vytis Girdzijauskas (cman@cman.us)
svn path=/trunk/; revision=33059
2008-04-20 14:44:14 +00:00
Daniel Reimer
56269f5a54 Bug 3188: Lithuanian translation by Vytis Girdzijauskas (cman@cman.us)
svn path=/trunk/; revision=33058
2008-04-20 14:44:13 +00:00
Magnus Olsen
3e37e80788 add dump of edd_directdraw_global
so we can easy see what it contain.

svn path=/trunk/; revision=33057
2008-04-20 14:10:08 +00:00
Magnus Olsen
32a79c4f55 take pfnDxDdCanCreateSurface offline for now
svn path=/trunk/; revision=33056
2008-04-20 13:08:25 +00:00
Colin Finck
6bad85af97 Reinsert the <group> tag to stay XML compatible.
XML forbids to have more than one root element in a file.

svn path=/trunk/; revision=33055
2008-04-20 12:29:19 +00:00
Magnus Olsen
d9e6cd4b38 add two hack so dxg.sys continue works for now.
it does not longer crash at DdDeleteDirectDrawObject for it never been call longer to dxg.sys until I figout why
take DxEngLockShareSem and DxEngUnLockShareSem offline need more invigaste how it is done in windows. 
take DxGdiDdGetScanLine offline for now so it does not crash dxg.sys



svn path=/trunk/; revision=33054
2008-04-20 11:50:43 +00:00
Dmitry Chapyshev
86f3b4692c - Add application for keyboard layouts switching (not finished)
svn path=/trunk/; revision=33053
2008-04-20 10:41:34 +00:00
Eric Kohl
3f1c281366 Don't terminate a cpp_quote statement with a semicolon. New versions of WIDL will emit an error.
svn path=/trunk/; revision=33052
2008-04-20 10:10:18 +00:00
Aleksey Bragin
a0f475f608 - Frag fully builds.
- Unfrag fails to link (both are still excluded from the build process).

svn path=/trunk/; revision=33051
2008-04-20 09:23:29 +00:00
Johannes Anderwald
28c134ec41 - avoid using BringWindowToTop as it creates display problems
- build a custom function GetRegValue to allow dxdiag be used on older Windows versions
- try to fix potential buffer overflows

svn path=/trunk/; revision=33050
2008-04-20 08:48:55 +00:00
Dmitry Chapyshev
6061afd624 - Fix formatting
svn path=/trunk/; revision=33049
2008-04-20 07:57:28 +00:00
Dmitry Chapyshev
0a8d3f23bc - Implement "Add keyboard layout" dialog
- Other small changes

svn path=/trunk/; revision=33048
2008-04-20 07:34:59 +00:00
Dmitry Chapyshev
8b2204b25c - Fix typo
svn path=/trunk/; revision=33047
2008-04-20 07:32:38 +00:00
Magnus Olsen
13ef9670fd sorry did commit a file that should not be commit, it is my local changes for testing dx.
svn path=/trunk/; revision=33046
2008-04-20 07:22:36 +00:00
Magnus Olsen
5919546108 fixed 3 diffent bug for ms dxg.sys
add correct prototypes for DxEngLockShareSem and DxEngUnlockShareSem
add param check in NtGdiDdDeleteDirectDrawObject
it now crash after or inside DxEngLockShareSem when it call on NtGdiDdDeleteDirectDrawObject

svn path=/trunk/; revision=33045
2008-04-20 07:17:17 +00:00
Christoph von Wittich
a782c2fbb4 fix formatting
svn path=/trunk/; revision=33044
2008-04-20 06:30:38 +00:00
Magnus Olsen
4dd244dc00 add back a check for the negative value
thx Christoph_vW notes this mistake.

svn path=/trunk/; revision=33043
2008-04-20 06:25:30 +00:00
Colin Finck
73b7a87d10 Idx already contains the length of the string
Just loop and remove all newline & line feed characters from the right instead of doing this with 8 strlen calls

svn path=/trunk/; revision=33042
2008-04-19 23:57:44 +00:00
Art Yerkes
8a990e7dd6 Fix two very small bugs found by running this code in valgrind.
svn path=/trunk/; revision=33041
2008-04-19 23:16:39 +00:00
Magnus Olsen
436e9bc3ec added 3 more correct prototype for dxeng.c
now we crash on NTGdiDdDeleteDirectDrawObject 

svn path=/trunk/; revision=33040
2008-04-19 22:38:54 +00:00
Magnus Olsen
eee02ef819 do not assert if DPRINT1("Object->cExclusiveLock = %d\n", Object->cExclusiveLock);
this can happen in ms dxg.sys for it can lock same dc twice or more. 
then call to unlock it equal many times. 

svn path=/trunk/; revision=33039
2008-04-19 22:11:39 +00:00
Aleksey Bragin
261dadceff - Remove unneeded stoneage stuff.
svn path=/trunk/; revision=33038
2008-04-19 21:27:16 +00:00
Magnus Olsen
e79132f96d add tempory hack for alloc EDD_DIRECTDRAW_GLOBAL for win32k.
this should be done for each drv, not a global for whole win32k
it is only gobal for that drv, then we set the pointer to each hdc 
that is how it should be done.

svn path=/trunk/; revision=33037
2008-04-19 20:50:39 +00:00
Magnus Olsen
17f59814cf fixed stack corutions for dxeng api they do not have STDCALL set, we need figout which have STDCALL or FASTCALL. I only set STDCALL on tested functions for dxgen this will fix the stack corruptions we did have in ms dxsys.sys, now we need setup internal struct for dx. I also add some debug data output so we can see what been requested to send back from DxEngGetHdevData
svn path=/trunk/; revision=33036
2008-04-19 20:17:51 +00:00
James Tabor
113bdc2756 Plugged in the old NtGdiSetDIBits for now. Need to investigate the problems with SaveDC and CreateCompatibleDC.
svn path=/trunk/; revision=33035
2008-04-19 19:00:34 +00:00
Magnus Olsen
323182f872 NtGdiDdCreateDirectDrawObject
Bugfix : do not set pfnDdCreateDirectDrawObject before the dxg.sys been load. 
Add : allown loading of vista name of dx kernel known as dxkrnl.sys


DxDdStartupDxGraphics add debug out for it, that can be use to see how the list being load. 

svn path=/trunk/; revision=33034
2008-04-19 12:46:54 +00:00
Magnus Olsen
6727851943 add small help text and file dump from win32kdxtest
svn path=/trunk/; revision=33032
2008-04-19 07:21:03 +00:00
James Tabor
d385734856 Tidy ups some missed changes.
svn path=/trunk/; revision=33031
2008-04-19 02:42:37 +00:00
James Tabor
3c7ef0d991 Update OffsetClipRgn, IntersectClipRect, GetRgnBox, moved SetDIBitsToDevice from stubs and misc changes. Properly implement EngGetDriverName and EngGetPrinterDataFileName.
svn path=/trunk/; revision=33030
2008-04-19 02:20:36 +00:00
James Tabor
96f8e3dc83 Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com): Win32k half: Remove NtGdiSetDIBits, all related files updated.include
svn path=/trunk/; revision=33029
2008-04-19 00:24:34 +00:00
James Tabor
9f9e67d83d PatchPatch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com): Gdi32 half only: Implement SetDIBits, I made corrections to the patch to handle palette and proper hdc handling.
svn path=/trunk/; revision=33028
2008-04-18 23:51:29 +00:00
Aleksey Bragin
6ef8c13ebf - Include tditest in rosapps build.
svn path=/trunk/; revision=33027
2008-04-18 20:46:48 +00:00
James Tabor
05c051a5d4 Implement NtGdiGetDCforBitmap. Q. Where to set hdc? ATM we return null.
svn path=/trunk/; revision=33026
2008-04-18 20:43:25 +00:00
Dmitry Chapyshev
781bcce61f - Fix build
svn path=/trunk/; revision=33025
2008-04-18 18:22:43 +00:00
Dmitry Chapyshev
66bd86d7f5 - Update Russian translation
svn path=/trunk/; revision=33024
2008-04-18 17:00:07 +00:00
Johannes Anderwald
907f06b009 - implement system page
svn path=/trunk/; revision=33023
2008-04-18 15:36:29 +00:00
Dmitry Chapyshev
c8d26dbac2 Add new keyboard layouts to txtsetup.sif, reactos.dff and hivesys.inf
svn path=/trunk/; revision=33022
2008-04-18 14:28:38 +00:00
Dmitry Chapyshev
520fb1d967 Add keyboard layouts:
- Russian (Typewriter)
- Albanian

svn path=/trunk/; revision=33021
2008-04-18 14:27:09 +00:00
Ged Murphy
da2959cd0e - the shell should load from 'Windows NT' key, not 'Windows'
- this should fix loading cmd instead of explorer from the key.

svn path=/trunk/; revision=33020
2008-04-18 10:57:12 +00:00
Pierre Schweitzer
cc6f7f3dae Fixed a bug with file version informations
svn path=/trunk/; revision=33019
2008-04-18 08:44:33 +00:00
Pierre Schweitzer
1367c0f670 Fixed a typo spotted by Seungju Kim
svn path=/trunk/; revision=33017
2008-04-18 06:46:33 +00:00
James Tabor
7c0ca05a4c Implement Win32k-Gdi32: GetAspectRatioFilter and SetMapperFlags.
svn path=/trunk/; revision=33016
2008-04-18 04:11:13 +00:00
James Tabor
6449849098 Add new examples for retrieving DC origin.
svn path=/trunk/; revision=33015
2008-04-18 02:23:38 +00:00
Magnus Olsen
21a34d3ba5 fixed pipe working again from cmd
more investigate are need it to figout who to really solv bat and pipe and gui apps issue
so none regress and working fine in all case. rember gui apps can resive pipe from cmd or send to cmd 
 

svn path=/trunk/; revision=33014
2008-04-18 00:56:01 +00:00
Daniel Reimer
36b92644a0 Bug 3180, 3182 Korean Updates by Seungju Kim (admin@manateeshome.com)
Polish Updates by Olaf Siejka
Bug 3184 Spanish Updates by Javier Remacha (remialdo@gmail.com)

svn path=/trunk/; revision=33013
2008-04-17 23:36:00 +00:00
Magnus Olsen
4f6b4861e9 optimze more redirect call and start kill the bad macro DXG_GET_INDEX_FUNCTION that is instable
the dx hal for graphic interface started being bit more stable. 

svn path=/trunk/; revision=33012
2008-04-17 22:25:38 +00:00
Magnus Olsen
500a6e9384 Fix so lest you can run now win32kdxtest one time with ms dxg.sys, and second time the win32kdxtest runs the whole win32k.sys or dxg.sys create nice blue screen.
svn path=/trunk/; revision=33011
2008-04-17 22:03:34 +00:00
Magnus Olsen
6b9e9dfb11 Fix frist issue with ms dxg.sys
check if hdc is null or not. 

svn path=/trunk/; revision=33009
2008-04-17 21:08:39 +00:00
Magnus Olsen
359d4d352b change to using the globla version header for reactx (reactos/reactx.h)
svn path=/trunk/; revision=33008
2008-04-17 19:15:43 +00:00
Ged Murphy
4f36e40468 - Fix IDT and GDT limits to values advised by Alex.
- Problem noticed by Henning Schild

svn path=/trunk/; revision=33007
2008-04-17 19:08:26 +00:00
Magnus Olsen
bb681bcfac merge ksuser.dll from reactx branch to trunk
not all api are implemented. reactx.h header are now in use here 

svn path=/trunk/; revision=33006
2008-04-17 18:01:51 +00:00
Magnus Olsen
e49e2fcd76 add some new define to ks.h for ksuser.dll that will be merge from reactx branch
svn path=/trunk/; revision=33005
2008-04-17 18:00:39 +00:00
Magnus Olsen
4aed6c1d44 This header file is for set the version number of all reactx dll files.
it is not in use yet, it is small merge from reactx branch

svn path=/trunk/; revision=33004
2008-04-17 17:59:34 +00:00
Dmitry Chapyshev
d4530f7f02 - Fix build
svn path=/trunk/; revision=33002
2008-04-17 14:38:15 +00:00
Dmitry Chapyshev
14f6dce9b0 - Fix build
svn path=/trunk/; revision=33001
2008-04-17 14:25:10 +00:00
Dmitry Chapyshev
8e0bc01a9e - Add msdmo.dll, pdh.dll, qedit.dll, quartz.dll, ksuser.dll, ksproxy.ax to bootcd
svn path=/trunk/; revision=33000
2008-04-17 13:45:34 +00:00
Dmitry Chapyshev
0fad3c3a00 - Add msdmo.dll, pdh.dll, qedit.dll, quartz.dll, ksuser.dll, ksproxy.ax
svn path=/trunk/; revision=32999
2008-04-17 13:45:02 +00:00
Dmitry Chapyshev
03da33cb77 - Add baseaddress for msdmo.dll, pdh.dll, qedit.dll, quartz.dll, ksuser.dll, ksproxy.ax
svn path=/trunk/; revision=32998
2008-04-17 13:40:56 +00:00
Johannes Anderwald
8a9cf3acbb - unlink window object when notify hook returns an error
svn path=/trunk/; revision=32997
2008-04-17 08:34:58 +00:00
James Tabor
faa78f6451 Example way to set DCOrg with new dc object.
svn path=/trunk/; revision=32996
2008-04-17 05:11:28 +00:00
James Tabor
da1c8e577a Removed w.ArcDirection. Now we are using dclevel path flags.
svn path=/trunk/; revision=32995
2008-04-17 03:46:46 +00:00
James Tabor
789e39bf03 Revert change to window.c. It is not ready.
svn path=/trunk/; revision=32994
2008-04-17 01:57:29 +00:00
James Tabor
76dd22c3e5 Adding support for Event hooks. Start using the server info structure and pass the pointer to the user with kernel to user correction.
svn path=/trunk/; revision=32993
2008-04-17 01:48:34 +00:00
James Tabor
cbd1d50bb1 Fix copy count and added dc path flags and support new arc direction.
svn path=/trunk/; revision=32992
2008-04-17 01:12:58 +00:00
Timo Kreuzer
fb4af9ff8f - fix build
- remobe RegisterThreadAcceleratorTable prototype (function doesn't exist)

svn path=/trunk/; revision=32991
2008-04-16 21:55:47 +00:00
Pierre Schweitzer
f1426567f8 Fixed typo spotted by Sylvain
svn path=/trunk/; revision=32990
2008-04-16 21:36:35 +00:00
Timo Kreuzer
73ca643c51 win32k header cleanup/update:
- make the headers include headers they depend on, so the inclusion order is irrelevant, not finished
- start sorting them alphabetically
- remove duplicate include of timer.h
- add cliprgn.h
- add DCLEVEL struct and make DC struct windows xp compatible (currently + some ros specific entries)

svn path=/trunk/; revision=32989
2008-04-16 21:34:12 +00:00
Dmitry Chapyshev
833c30592c - Add Russian translation
svn path=/trunk/; revision=32988
2008-04-16 19:59:54 +00:00
Pierre Schweitzer
0f69b53d2d Removed a breakpoint in Ext2CommonClose() (after an *intensive* discussion with Filip...). That way ext2 FSD won't crash any more at startup.
svn path=/trunk/; revision=32987
2008-04-16 17:51:27 +00:00
Pierre Schweitzer
975066fe15 - Fixed a string in English translation
- Added French translation (that doesn't do anything yet :)) for dxdiag.exe

svn path=/trunk/; revision=32986
2008-04-16 17:47:09 +00:00
Johannes Anderwald
5189835be7 - start implementing dxdiag
- does not do anything yet

svn path=/trunk/; revision=32985
2008-04-16 11:01:25 +00:00
Daniel Reimer
032d95708f Sync WordPad to recent Wine Tree. Fixes the hang in the GUI and updates Korean and Slovenian Resources
svn path=/trunk/; revision=32984
2008-04-15 21:07:09 +00:00
James Tabor
1258d8f778 Add notify events when a window is created. If'
svn path=/trunk/; revision=32983
2008-04-15 18:51:30 +00:00
Dmitry Chapyshev
d60b24ff30 - Small fix
svn path=/trunk/; revision=32982
2008-04-15 18:50:40 +00:00
Dmitry Chapyshev
d1f9ff8a1d - Add icons for dialogs
- Set title icon for Click Look dialog
- Fix English resources

svn path=/trunk/; revision=32981
2008-04-15 18:43:11 +00:00
Dmitry Chapyshev
20ac25a9f1 - Small fix English resources.
- Add icons for Pointer Options dialog

svn path=/trunk/; revision=32980
2008-04-15 17:11:28 +00:00
Pierre Schweitzer
66be4880a6 Updated French translations for main.cpl, regedit.exe, shell32.dll
svn path=/trunk/; revision=32979
2008-04-15 16:57:23 +00:00
Dmitry Chapyshev
28ea593224 - Add some bitmaps for shell32 (not used at moment)
svn path=/trunk/; revision=32978
2008-04-15 14:37:36 +00:00
Dmitry Chapyshev
3123ebdf9a - Update Russian translation
svn path=/trunk/; revision=32977
2008-04-15 14:34:47 +00:00
Dmitry Chapyshev
ae9eb4a039 - Update Russian translation
svn path=/trunk/; revision=32976
2008-04-15 14:33:25 +00:00
Johannes Anderwald
78c74adb6d - restore cursor on exit for cylfrac screensaver
- improve german resource string

svn path=/trunk/; revision=32975
2008-04-15 09:58:37 +00:00
Johannes Anderwald
2c4767b0ba - unlink window when WM_CREATE fails
- fixes bug 3179 and bug 3102

svn path=/trunk/; revision=32974
2008-04-15 09:23:28 +00:00
Johannes Anderwald
fd3d710d4d - fix a bug introduced in rev 32966
- add file description resource strings for various file types
- For future: New file types should have a progid key with a value name "FriendlyTypeName" which define where to load MUI string resource from

svn path=/trunk/; revision=32973
2008-04-15 09:08:41 +00:00
Timo Kreuzer
f3ba8a5cba fix rosapps build
svn path=/trunk/; revision=32972
2008-04-15 01:35:35 +00:00
Timo Kreuzer
e668a1ae2f syscalldump: fix output of apfnSimpleCall array on 64 bit
svn path=/trunk/; revision=32971
2008-04-15 01:03:15 +00:00
Timo Kreuzer
786cf453f1 few fixes and simplifications for syscalldump. I hope it will now also work with 64 bits stuff.
svn path=/trunk/; revision=32970
2008-04-15 00:15:14 +00:00
Johannes Anderwald
fa2e13224d - add a string resource for displaying mui translated string for reg file type
svn path=/trunk/; revision=32969
2008-04-14 22:41:19 +00:00
Johannes Anderwald
34da8ee077 - add a string resource for displaying mui translated string for inf file type
- sync string table for all languages

svn path=/trunk/; revision=32968
2008-04-14 22:19:53 +00:00
Johannes Anderwald
2443301219 - add a string resource for displaying mui translated string for animated cursor file type
svn path=/trunk/; revision=32967
2008-04-14 21:34:28 +00:00
Johannes Anderwald
f7f80466e3 - use FriendlyTypeName key for retrieving the specialized file description
- retrieve string for CLSID_ControlPanel
- translate folder string in browser
- fix displaying file description type
- display FileExt-File for file extension w/o file description, i.e. XML-File

svn path=/trunk/; revision=32966
2008-04-14 20:55:14 +00:00
Aleksey Bragin
ec3a4f8f54 - Fix paths to them for an installation cd.
svn path=/trunk/; revision=32965
2008-04-14 20:50:09 +00:00
Aleksey Bragin
f7f8963f3a - Gather drivers in a special "drivers" subdirectory.
- Remove legacy _USE_W32API from those drivers.

svn path=/trunk/; revision=32964
2008-04-14 20:49:45 +00:00
Aleksey Bragin
dcced82d09 - Update readme.txt.
svn path=/trunk/; revision=32963
2008-04-14 20:05:52 +00:00
Hervé Poussineau
c3a384d895 Also search in DirectX generated headers directory
svn path=/trunk/; revision=32962
2008-04-14 19:36:42 +00:00
Magnus Olsen
c9c9a1f281 add stub for dvdif.idl for now
svn path=/trunk/; revision=32961
2008-04-14 18:45:26 +00:00
Magnus Olsen
d0e343f87f do not mix in wine header here the guids, CLSID is wrong for dx stuff in wine.
svn path=/trunk/; revision=32960
2008-04-14 16:21:11 +00:00
Dmitry Chapyshev
ef21b8a6f9 - Synchronised with wine head
svn path=/trunk/; revision=32959
2008-04-14 14:20:49 +00:00
Dmitry Chapyshev
2578d49ba6 - Update more dll
svn path=/trunk/; revision=32958
2008-04-14 14:06:36 +00:00
Hervé Poussineau
5ac7532a68 mshtml has a DllMain() function
svn path=/trunk/; revision=32957
2008-04-14 13:58:57 +00:00
Dmitry Chapyshev
70ca938952 - Add compstui, printui and ntdsapi to bootcd
svn path=/trunk/; revision=32956
2008-04-14 13:12:11 +00:00
Dmitry Chapyshev
b4bc690886 - Add compstui, printui and ntdsapi from Wine
svn path=/trunk/; revision=32955
2008-04-14 13:11:01 +00:00
Dmitry Chapyshev
f724d129ff - Add baseaddress for compstui, printui, ntdsapi
- Fix baseaddress for shfolder

svn path=/trunk/; revision=32954
2008-04-14 13:08:28 +00:00
Dmitry Chapyshev
a365346add - Add header
svn path=/trunk/; revision=32953
2008-04-14 13:06:15 +00:00
Dmitry Chapyshev
cc742009b0 - Add Russian .mc file
svn path=/trunk/; revision=32952
2008-04-14 12:55:33 +00:00
Dmitry Chapyshev
433a79884e - Synchronised with wine head
svn path=/trunk/; revision=32951
2008-04-14 12:53:30 +00:00
Dmitry Chapyshev
f1f7552a95 - Update headers
svn path=/trunk/; revision=32950
2008-04-14 12:51:59 +00:00
James Tabor
64d6a8dc59 Attach global server information to process information.
svn path=/trunk/; revision=32949
2008-04-14 10:51:53 +00:00
Hervé Poussineau
b1d8d1dded Make plug-and-play RPC interface more compatible with MS Windows
svn path=/trunk/; revision=32948
2008-04-14 10:48:38 +00:00
James Tabor
4701861bd0 Add the start of server information structure.
svn path=/trunk/; revision=32947
2008-04-14 10:16:56 +00:00
Dmitry Chapyshev
512c0021fa - Update headers
svn path=/trunk/; revision=32946
2008-04-13 18:21:20 +00:00
Dmitry Chapyshev
73c8871a92 Implemented (from Wine): GetCalendarInfoA, GetCalendarInfoW, EnumDateFormatsW, EnumCalendarInfoA, EnumCalendarInfoW, EnumCalendarInfoExA, EnumCalendarInfoExW, FindFirstVolumeA, FindFirstVolumeW, FindNextVolumeA, FindNextVolumeW.
svn path=/trunk/; revision=32945
2008-04-13 18:20:21 +00:00
Magnus Olsen
f87e400c88 adding test for param puNumHeaps and puvmList in NtGdiDdQueryDirectDrawObject test
only param puNumFourCC, puFourCC left to add test for. 

svn path=/trunk/; revision=32944
2008-04-13 17:02:33 +00:00
Magnus Olsen
f49a642aad adding test for param puD3dTextureFormats in NtGdiDdQueryDirectDrawObject test
only param puNumHeaps, puvmList, puNumFourCC, puFourCC left to add test for. 

svn path=/trunk/; revision=32943
2008-04-13 15:38:23 +00:00
Magnus Olsen
f858c31142 implement dump for all texture format our drv can create in windows nt and reactos
svn path=/trunk/; revision=32942
2008-04-13 14:50:23 +00:00
Magnus Olsen
fdf22bd547 add more dump output for win3kdxtest
fixed crash for texture.

svn path=/trunk/; revision=32941
2008-04-13 11:47:04 +00:00
Magnus Olsen
6b84c8166a adding test for param puD3dBufferCallbacks in NtGdiDdQueryDirectDrawObject test
svn path=/trunk/; revision=32940
2008-04-13 11:00:52 +00:00
Magnus Olsen
f484c4c16f adding test for param puD3dDriverData in NtGdiDdQueryDirectDrawObject test
svn path=/trunk/; revision=32939
2008-04-13 09:53:25 +00:00
Magnus Olsen
274c59186d update the dump output, so it list more flags with names.
it also let me found undocumented flags more easy. 

svn path=/trunk/; revision=32938
2008-04-13 08:50:20 +00:00
Magnus Olsen
27d138ae0f fixed so old name can be use also
like DDSVCAPS_ENIGMA ...

svn path=/trunk/; revision=32937
2008-04-13 08:48:05 +00:00
Daniel Reimer
1815b61e76 Polish Translation Update by Olaf Siejka
svn path=/trunk/; revision=32936
2008-04-13 08:47:00 +00:00
Timo Kreuzer
2fcc1cf78f PatchPatch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- remove NtUserGetWindowRect, use GetWindowRect instead
- remove NtUserGetClientOrigin and NtUserGetClientRect (unused)
- remove NtUserManualGuiCheck, use NtUserCallOneParam like other private CSRSS functions do

svn path=/trunk/; revision=32935
2008-04-12 23:22:58 +00:00
Timo Kreuzer
1533c2379d When drawing disabled buttons, use DrawText 2 times instead of using DrawState, which creates a mono bitmap first and that looks ugly with freetype. This makes the disabled buttons look as nice as the disabled menus.
svn path=/trunk/; revision=32934
2008-04-12 21:37:04 +00:00
Timo Kreuzer
c7ae31aabf syscalldump: use debghelp function to get the address inside the file image. Hopefully it supports x64 now ;-)
svn path=/trunk/; revision=32933
2008-04-12 21:14:47 +00:00
James Tabor
d70c55a8ce More hook removal and cleanup.
svn path=/trunk/; revision=32932
2008-04-12 21:07:40 +00:00
James Tabor
d0884129e5 More hook implementations.
svn path=/trunk/; revision=32931
2008-04-12 20:53:08 +00:00
Magnus Olsen
eda37fd967 fixed a spelling error for NtGdiSelectBitmap thx Caemyr notes it and testing on win2k3
svn path=/trunk/; revision=32930
2008-04-12 19:56:09 +00:00
Magnus Olsen
0d32aa149d adding flag translations for allot different value for D3DNTHAL_CALLBACKS
so human brain does not need doing binary calc to known which flag are set. 

svn path=/trunk/; revision=32929
2008-04-12 19:24:31 +00:00
James Tabor
764ba25e18 More work on hooks.
svn path=/trunk/; revision=32928
2008-04-12 19:19:30 +00:00
Magnus Olsen
72a3860fd7 remove RTEST(pHalInfo->vmiData.fpPrimary != 0 ); for this test was wrong for it is can be zero
cleanup some other part and adding few other as well

svn path=/trunk/; revision=32927
2008-04-12 18:21:41 +00:00
James Tabor
416aaa9cc6 Patch by Yury Sidorov, jusid <jura@cp-lab.com>. EnumThreadWindows should enumerate all nonchild windows associated with a thread according to MSDN docs. Currently it enumerates all windows.
svn path=/trunk/; revision=32926
2008-04-12 18:21:00 +00:00
James Tabor
199a56f8b2 Update prototypes for NtUserNotifyWinEvent and NtUserSetWinEventHook.
svn path=/trunk/; revision=32925
2008-04-12 18:17:18 +00:00
Magnus Olsen
6d29ef63e3 added more testcase for w32knapi
svn path=/trunk/; revision=32924
2008-04-12 13:56:23 +00:00
Magnus Olsen
c84d32917f add one more dump data output to win32kdxtest
svn path=/trunk/; revision=32923
2008-04-12 13:54:48 +00:00
Magnus Olsen
0640f653d0 Bugfix : disable a testcase that does crash on xp but not on windows 2000.
svn path=/trunk/; revision=32922
2008-04-12 12:46:02 +00:00
Magnus Olsen
624117705d forget add ASSERT for pHalInfo->GetDriverInfo if the drv does not set this, the dx will not be activated.
svn path=/trunk/; revision=32921
2008-04-12 12:36:55 +00:00
Magnus Olsen
449827d222 fixed more test after my notes of old testkit I wrote for private use.
svn path=/trunk/; revision=32920
2008-04-12 12:32:32 +00:00
Magnus Olsen
6a80fdf161 correct some test, so they works with some bugi nivda drv
svn path=/trunk/; revision=32919
2008-04-12 12:23:13 +00:00
Magnus Olsen
db575d112b Completed some testcase in w32knapi testkit for NtGdiDdQueryDirectDrawObject
svn path=/trunk/; revision=32918
2008-04-12 11:44:41 +00:00
Pierre Schweitzer
91020015c1 Updated French translation for Shell32.dll
svn path=/trunk/; revision=32917
2008-04-12 08:56:45 +00:00
Timo Kreuzer
a4a451a389 fix a bug
svn path=/trunk/; revision=32916
2008-04-12 00:34:15 +00:00
The Wine Synchronizer
75ad879ac1 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32915
2008-04-11 12:46:01 +00:00
The Wine Synchronizer
0c246f48f0 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32914
2008-04-11 12:45:31 +00:00
Hervé Poussineau
b165f3895a Prepare import of mshtml (2/2)
svn path=/trunk/; revision=32913
2008-04-11 12:44:35 +00:00
Hervé Poussineau
6a925f7fa1 Prepare import of mshtml (1/2)
svn path=/trunk/; revision=32912
2008-04-11 12:44:26 +00:00
Hervé Poussineau
47399d8373 Add wine_get_data_dir()/wine_get_build_dir() functions
Add missing header in uuid library

svn path=/trunk/; revision=32911
2008-04-11 12:40:19 +00:00
Hervé Poussineau
9966008a7e Update some headers (from Wine)
svn path=/trunk/; revision=32910
2008-04-11 12:30:27 +00:00
Colin Finck
5e8bdd8de0 Manually sync "comctl32" and "comdlg32" on request of Apostolos Alexiadis.
Just translation updates

svn path=/trunk/; revision=32909
2008-04-10 21:00:16 +00:00
Hervé Poussineau
bf17b94f76 Use R- prefix instead of Scmr- prefix for service RPC calls
svn path=/trunk/; revision=32908
2008-04-10 16:39:01 +00:00
Hervé Poussineau
960bf32989 Fix build
svn path=/trunk/; revision=32907
2008-04-10 14:52:41 +00:00
Hervé Poussineau
4e1f93f6eb Make service RPC interface more compatible with MS Windows
svn path=/trunk/; revision=32906
2008-04-10 14:49:04 +00:00
Johannes Anderwald
9601e9d478 - use a list box for the OpenWithDialog
- implement SHOpenWithDialog api
- refactor item loading code
- display app icon and description for each entry
- use comctl32 mru apis for handling OpenWithList entries
- highlight selected entry on focus

svn path=/trunk/; revision=32905
2008-04-10 12:29:08 +00:00
Daniel Reimer
35928e53f7 Update downloader.xml to up to date Versions.
svn path=/trunk/; revision=32904
2008-04-10 11:36:32 +00:00
The Wine Synchronizer
3365da5d85 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32903
2008-04-10 11:28:55 +00:00
Daniel Reimer
5be6901e7d Bug 3165 Korean translation of devmgmt & eventvwr by Seungju Kim (admin@manateeshome.com)
Bug 3172 Updated spanish translation for Shell32.dll by Javier Remacha (remialdo@gmail.com)
Bug 3173 Bulgarian language update for ReactOS by (sstpr@narod.ru)
Bug 3174 Bulgarian language update of RosApps by (sstpr@narod.ru)
Bug 3175 Czech translation: usetup by (radekliska@gmail.com)

svn path=/trunk/; revision=32902
2008-04-10 10:27:56 +00:00
Daniel Reimer
b1f260e487 Bug 3165 Korean translation of devmgmt & eventvwr by Seungju Kim (admin@manateeshome.com)
Bug 3172 Updated spanish translation for Shell32.dll by Javier Remacha (remialdo@gmail.com)
Bug 3173 Bulgarian language update for ReactOS by (sstpr@narod.ru)
Bug 3174 Bulgarian language update of RosApps by (sstpr@narod.ru)
Bug 3175 Czech translation: usetup by (radekliska@gmail.com)

svn path=/trunk/; revision=32901
2008-04-10 10:27:09 +00:00
Christoph von Wittich
a8a84be3ee some more work on xen support - DomU will now be started but debug output isn't handled yet
svn path=/trunk/; revision=32900
2008-04-09 19:06:26 +00:00
Dmitry Chapyshev
42939fd61b Implemented (from Wine): BeginUpdateResourceA, BeginUpdateResourceW, UpdateResourceA, UpdateResourceW, EnumResourceLanguagesW, EnumResourceLanguagesA, EndUpdateResourceA, EndUpdateResourceW, EnumResourceTypesW, EnumResourceTypesA
Small fixes: GetSystemInfo, IsProcessorFeaturePresent, LockResource

svn path=/trunk/; revision=32899
2008-04-09 19:05:08 +00:00
Christoph von Wittich
1dcd1dfce4 add EMU_TYPE_XEN and initial Xen detection (including hvm support)
svn path=/trunk/; revision=32898
2008-04-09 16:29:14 +00:00
Ged Murphy
06e11512f9 Test code for loading and unloading a driver via 3 different methods. SCM, native methods and via the relatively unknown NtSetSystemInformation methods.
Needs rbuild files to test in ros.

svn path=/trunk/; revision=32897
2008-04-09 13:43:34 +00:00
Johannes Anderwald
2c0c4e0c0e - fix api call convention
svn path=/trunk/; revision=32896
2008-04-09 11:08:46 +00:00
Johannes Anderwald
3aca7f2169 - add version information for notepad
svn path=/trunk/; revision=32895
2008-04-09 11:07:39 +00:00
Pierre Schweitzer
9902fb1148 Updated French translation for Shell32.dll
svn path=/trunk/; revision=32894
2008-04-08 09:32:38 +00:00
James Tabor
4f409ee040 Good example how client thread info structure works. Only one flag was seen being set and cleared when multi-thread messages are sent. Researched back in 2001.
svn path=/trunk/; revision=32893
2008-04-08 05:08:25 +00:00
James Tabor
9da1cd7532 Fix alignment for client info structure.
svn path=/trunk/; revision=32892
2008-04-08 03:37:59 +00:00
Johannes Anderwald
433a6fb967 - add SHOpenWithDialog prototype and structure
svn path=/trunk/; revision=32891
2008-04-07 21:40:55 +00:00
James Tabor
b242c12bdc - Remove old pump hook and use new client thread information. Tested with Qemu and installed and run more than twice FF 1.5.03.
svn path=/trunk/; revision=32890
2008-04-07 19:02:21 +00:00
Daniel Reimer
fab0ebbcca Polish Language Update by Olaf Siejka.
svn path=/trunk/; revision=32889
2008-04-07 11:51:00 +00:00
Dmitry Chapyshev
9921ac8bcb - Update Russian translation
svn path=/trunk/; revision=32888
2008-04-07 07:19:42 +00:00
James Tabor
ef08f7b929 - Plugged in client thread information, tested with Qemu.
- Add small fix to IntBroadcastSystemMessage structure.

svn path=/trunk/; revision=32887
2008-04-07 05:01:34 +00:00
Timo Kreuzer
b862b0731a PatchPatch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- remove last traces of my dyslexia also known as GDIOBJ_AllocObjDepricated
- fix a typo

svn path=/trunk/; revision=32886
2008-04-06 23:20:31 +00:00
Colin Finck
15542bb4da Vytis Girdžijauskas (cman AT cman DOT us)
- Allow evironment variables to be used in the "Wallpaper" registry value.
- Do not display the file suffix after adding a wallpaper through the "Browse" dialog.

Changes by me:
- After using the "Browse" dialog, select the newly added item and scroll to the bottom to show it
- Add the LVS_SHOWSELALWAYS style to the ListViews, so items are also highlighted, when the ListView does not have the focus (same as WinXP does)

See issue #2746 for more details.

svn path=/trunk/; revision=32885
2008-04-06 18:36:08 +00:00
James Tabor
46780ff6d7 - Implement SendMessageCallbackA/W, user32 only.
- Add client thread infomation structure to W32THREADINFO. Nothing is plugged in yet, the code is there.
- Fix IntBroadcastSystemMessage to correct filter action. More work is needed since our message system has issues.
- This could be a good project for newbies, rewrite message system could be placed into a branch.

svn path=/trunk/; revision=32884
2008-04-06 18:24:30 +00:00
Sylvain Petreolle
03d8f3eaa9 fix baseaddress.rbuild
svn path=/trunk/; revision=32883
2008-04-06 18:02:45 +00:00
Sylvain Petreolle
3e16aa2bb5 according to fireball's comment,
complete baseaddress.rbuild sort by base address.

svn path=/trunk/; revision=32882
2008-04-06 15:24:06 +00:00
Aleksey Bragin
22861055b2 - Sync to Wine, fixes hlink_winetest build.
svn path=/trunk/; revision=32881
2008-04-06 12:31:24 +00:00
Johannes Anderwald
8859e03110 - fix build
svn path=/trunk/; revision=32880
2008-04-06 08:38:24 +00:00
Johannes Anderwald
ede86166e7 - implement PickIconDlg
- fix bug a shellink property dialog

svn path=/trunk/; revision=32879
2008-04-06 04:30:43 +00:00
Johannes Anderwald
33ba9dadb0 - add missing constants
svn path=/trunk/; revision=32878
2008-04-06 03:05:23 +00:00
Art Yerkes
05686732ed Fix resource initialization order in vfat too.
svn path=/trunk/; revision=32877
2008-04-05 23:22:02 +00:00
Art Yerkes
6a48cc1f2e Initialize this resource before the first potential use.
svn path=/trunk/; revision=32876
2008-04-05 23:12:05 +00:00
Johannes Anderwald
3baec3ddb1 - fix alignment issues in input.dll
- patch by Vytis Girdzijauskas, cman[at]cman[dot]us
See issue #3169 for more details.

svn path=/trunk/; revision=32875
2008-04-05 22:43:21 +00:00
James Tabor
faae08b50a BroadcastSystemMessage:
- Implement User half only.
- Introduce example use for NtUserMessageCall.
- IntBroadcastSystemMessage is based on Wine LGPL implementation http://www.winehq.org/pipermail/wine-cvs/2008-April/042051.html .
- Wine testing needed to be change by adding message range parameter check. The range was from 0 to -1 and check for resulting errors that conformed to XP.
- Need to move BROADCASTPARM to include/X/X/ntuser.h or other after Dr. Timo finishes header realignment.

svn path=/trunk/; revision=32874
2008-04-05 18:05:11 +00:00
Johannes Anderwald
a98f6a04f1 - use GetTickCount64 over GetSystemTime as the time reported has more reasonable values :)
svn path=/trunk/; revision=32873
2008-04-05 13:46:41 +00:00
Johannes Anderwald
25ea1cddfe - sorry again...
svn path=/trunk/; revision=32870
2008-04-05 11:03:55 +00:00
Johannes Anderwald
76a59c8312 - change statistics to display number of bytes received / send instead of number of packets
- dont show a decimal seperator

svn path=/trunk/; revision=32869
2008-04-05 11:00:29 +00:00
James Tabor
8ab61dee39 Update NtUserMessageCall prototype. Used Wine message tests to track down types.
svn path=/trunk/; revision=32867
2008-04-05 05:44:45 +00:00
Timo Kreuzer
801083bac5 Patch by Vytis Girdzijauskas (cman[at]cman[dot]us):
make mazescr show fullscreen

svn path=/trunk/; revision=32866
2008-04-05 00:25:22 +00:00
Timo Kreuzer
e17e36c352 cleanup gdiobj.c:
- use small header
- reorder code
- replace some #if GDI_DEBUG code with macros
- remove old GdiHdrXxx macros
- replace some pointless inline functions with the real code
- NtGdiExtGetObjectW: NTAPI -> W32KAPI APIENTRY

svn path=/trunk/; revision=32865
2008-04-04 23:35:43 +00:00
Aleksey Bragin
4907715e08 - Move msxml3.dll's preferred base to a better address.
svn path=/trunk/; revision=32864
2008-04-04 17:06:35 +00:00
Aleksey Bragin
5424717d47 - Again: baseaddress.rbuild is sorted BY BASE ADDRESS, not by alphabet!
svn path=/trunk/; revision=32863
2008-04-04 16:52:55 +00:00
The Wine Synchronizer
bd382346bb Autosyncing with Wine HEAD
svn path=/trunk/; revision=32862
2008-04-04 16:43:16 +00:00
The Wine Synchronizer
b6f11d466c Autosyncing with Wine HEAD
svn path=/trunk/; revision=32861
2008-04-04 15:10:09 +00:00
The Wine Synchronizer
eed95ce510 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32860
2008-04-04 14:43:57 +00:00
The Wine Synchronizer
eefe82711d Autosyncing with Wine HEAD
svn path=/trunk/; revision=32859
2008-04-04 14:41:46 +00:00
Hervé Poussineau
6cf19300da Add some constants/prototypes
svn path=/trunk/; revision=32858
2008-04-04 14:41:24 +00:00
The Wine Synchronizer
bd0a4ba0a2 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32857
2008-04-04 14:35:37 +00:00
Hervé Poussineau
654adfc684 Add some constants
svn path=/trunk/; revision=32856
2008-04-04 14:28:24 +00:00
The Wine Synchronizer
1ee43a9673 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32855
2008-04-04 14:27:55 +00:00
The Wine Synchronizer
8efd56e824 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32854
2008-04-04 14:15:40 +00:00
The Wine Synchronizer
8ca8760017 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32853
2008-04-04 13:51:01 +00:00
The Wine Synchronizer
8488824241 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32852
2008-04-04 13:49:05 +00:00
The Wine Synchronizer
e8871311fd Autosyncing with Wine HEAD
svn path=/trunk/; revision=32851
2008-04-04 13:46:58 +00:00
Hervé Poussineau
2eb2d42e01 Add some prototypes
svn path=/trunk/; revision=32850
2008-04-04 13:44:06 +00:00
The Wine Synchronizer
e1e678b0f2 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32849
2008-04-04 13:43:40 +00:00
The Wine Synchronizer
5ef42dd10a Autosyncing with Wine HEAD
svn path=/trunk/; revision=32848
2008-04-04 13:28:59 +00:00
The Wine Synchronizer
f59a940b00 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32847
2008-04-04 13:26:49 +00:00
Hervé Poussineau
d4fba75f4c Try to fix build
svn path=/trunk/; revision=32846
2008-04-04 13:24:40 +00:00
The Wine Synchronizer
8de0c452ba Autosyncing with Wine HEAD
svn path=/trunk/; revision=32845
2008-04-04 13:24:16 +00:00
The Wine Synchronizer
9374baba9d Autosyncing with Wine HEAD
svn path=/trunk/; revision=32844
2008-04-04 13:20:27 +00:00
The Wine Synchronizer
9adffe12c6 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32843
2008-04-04 13:13:15 +00:00
Hervé Poussineau
7557cf6102 Update header
svn path=/trunk/; revision=32842
2008-04-04 13:10:46 +00:00
Hervé Poussineau
14017cc967 Try to fix build
svn path=/trunk/; revision=32841
2008-04-04 12:30:11 +00:00
The Wine Synchronizer
d47984be22 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32840
2008-04-04 12:21:42 +00:00
The Wine Synchronizer
a92ed506c9 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32839
2008-04-04 12:16:03 +00:00
The Wine Synchronizer
8970c422de Autosyncing with Wine HEAD
svn path=/trunk/; revision=32838
2008-04-04 12:13:16 +00:00
The Wine Synchronizer
4445896045 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32837
2008-04-04 12:05:56 +00:00
Hervé Poussineau
918f14379a Try to fix build
svn path=/trunk/; revision=32836
2008-04-04 12:03:43 +00:00
The Wine Synchronizer
ba35b2aa8e Autosyncing with Wine HEAD
svn path=/trunk/; revision=32835
2008-04-04 12:03:12 +00:00
The Wine Synchronizer
6d3c4cb3e8 Autosyncing with Wine HEAD
svn path=/trunk/; revision=32834
2008-04-04 12:02:39 +00:00
Hervé Poussineau
9ee5ab63d4 Add svn:eol-style=native property
svn path=/trunk/; revision=32833
2008-04-04 05:49:50 +00:00
Timo Kreuzer
69223bf0ca DC_SetOwnership: use GDIOBJ_SetOwnership instead of GDIOB_CopyOwnership, which is faster. Also rename DC to pDC, a variable shouldn't have the same name as a type.
svn path=/trunk/; revision=32832
2008-04-03 20:27:50 +00:00
Hervé Poussineau
1f9c06d956 Replace E_FAIL by a better error code
svn path=/trunk/; revision=32831
2008-04-03 19:07:11 +00:00
James Tabor
df86e750c3 Update POLYPATBLT.
svn path=/trunk/; revision=32830
2008-04-03 17:51:41 +00:00
Johannes Anderwald
5c0c5d219e - restore cursor on exit
svn path=/trunk/; revision=32829
2008-04-03 13:34:02 +00:00
Dmitry Chapyshev
f835ee0323 - Implemented: SetDefaultCommConfigW, SetDefaultCommConfigA, GetDefaultCommConfigW, GetDefaultCommConfigA
- Fixed: GetCommState

svn path=/trunk/; revision=32828
2008-04-03 10:50:57 +00:00
Dmitry Chapyshev
fe24e2761f Implemented EnumLanguageGroupLocalesA, EnumLanguageGroupLocalesW, EnumUILanguagesW, EnumUILanguagesA, GetUserGeoID, SetUserGeoID (from Wine)
svn path=/trunk/; revision=32827
2008-04-03 09:49:14 +00:00
Dmitry Chapyshev
a4d30ed637 - Update header
svn path=/trunk/; revision=32826
2008-04-03 09:47:45 +00:00
Timo Kreuzer
1e51a48800 Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- remove NtUserEnumClipboardFormats, use ->ONEPARAM_ROUTINE_ENUMCLIPBOARDFORMAT insetad
- remove NtUserRegisterClipboardFormat, use NtUserRegisterWIndowsMessage instead
- remove NtUserKillSystemTimer, use HWNDPARAM_ROUTINE_KILLSYSTEMTIMER instead
- remove NtUserInsertMenuItem, use NtUserThunkedMenuItemInfo instead
- remove NtUserGetCapture, use THREADSTATE_CAPTUREWINDOW instead
- remove NtUserGetActiveWindow, use THREADSTATE_ACTIVEWINDOW instead
- remove NtUserGetQueueStatus, use ONEPARAM_ROUTIME_GETQUEUESTATUS instead
- remove NtUserGetLastActivePopup, wasn't implemented
- remove NtUserRealizePalette from ntuser.h, it's not implemented
- remove duplicate NtUserGetLastInputInfo from ntuser.h
- remove PrivateCsrssRergisterPrimitive from user32, it was unused and unimplemented
- remove NtUserDereferenceWndprocHandle, it was unused
- move WNDPROC_INFO structure from ntuser.h to win32k/include/class.h, as it's not used in usermode anymore
tested with AbiWord and FF on VMWare

svn path=/trunk/; revision=32825
2008-04-03 02:13:34 +00:00
Timo Kreuzer
3df1bfcf2e silence annoying "didn't find the shared icon" message
svn path=/trunk/; revision=32824
2008-04-03 02:04:05 +00:00
Johannes Anderwald
d5e7835997 - fix identation which got broken in rev 32822
svn path=/trunk/; revision=32823
2008-04-02 19:00:19 +00:00
Johannes Anderwald
2f9dde596f - avoid buffer overflow in copy command argument handling
See issue #3108 for more details.

svn path=/trunk/; revision=32822
2008-04-02 18:51:36 +00:00
Dmitry Chapyshev
e8d184da14 - Update English translation
svn path=/trunk/; revision=32821
2008-04-02 18:05:15 +00:00
Dmitry Chapyshev
f802aa3a31 - Update English and Russian translations
svn path=/trunk/; revision=32820
2008-04-02 18:04:19 +00:00
Ged Murphy
ec0cdc0f40 Complete rewrite of the tcpsvcs service in response to me doing some network stress testing.
It now supports multiple connections from multiple clients across all services.
For anyone interested in doing some network stress testing, start the simple tcp/ip services from the service manager, then run 'telnet <ip> 19' from a networked machine. Other ports to try are 7, 9, 13 and 17. Have fun.

svn path=/trunk/; revision=32819
2008-04-02 16:54:55 +00:00
Aleksey Bragin
4fa8205e00 - Fix richedit20_winetest build.
svn path=/trunk/; revision=32818
2008-04-02 10:37:06 +00:00
Ged Murphy
304e3452f8 A few small changes
svn path=/trunk/; revision=32817
2008-04-02 08:54:50 +00:00
Colin Finck
1c556f1df5 Fix build :-)
svn path=/trunk/; revision=32815
2008-04-01 21:21:29 +00:00
Aleksey Bragin
007702fce4 - Rewrite the SD Cache functions to use the Windows 2003 structures (thanks to Alex for providing them).
- Use pushlocks instead of the fast mutex that was previously used.
- Improve the performance of some paths by reducing lock acquisition time, and using atomic operations instead when possible.
- Implement the exported Ob APIs which were added in Windows XP to access the Sd cache (ObReference/DereferenceSecurityDescriptor and ObLogSecurityDescriptor). These are used by file systems (such as NPFS) on Windows XP and higher.

svn path=/trunk/; revision=32814
2008-04-01 21:09:28 +00:00
Aleksey Bragin
1417fd5fa6 - Lock only the object header for an object instead of the entire object type, for better contention. Implement exclusive/shared lock and release routines around the existing lock slots in the object type (this allows up to 4 different objects to be locked in the same time, instead of locking the entire type).
- Thanks to Alex for reporting this.

svn path=/trunk/; revision=32812
2008-04-01 20:07:36 +00:00
Aleksey Bragin
24e07f0eac - Fix initialiization of the object manager lookaside lists.
- Rename the variables to understandable names.
- Don't leak object locks when destroying an object type.
- Directory objects must be case-insensitive.
- Symbolic links must be case-insensitive.
- Create \KernelObjects directory during startup.

svn path=/trunk/; revision=32811
2008-04-01 19:27:58 +00:00
Timo Kreuzer
43d5fa83aa fix handling of unsafe string parameter in NtGdiGetFontResourceInfoInternalW
svn path=/trunk/; revision=32810
2008-04-01 18:21:06 +00:00
Aleksey Bragin
5e25cba5ab - Use C define for the bit in the wait block flags that we set to specify waiting, instead of a hardcoded "1".
- Fix broken code when trying to find the last wait block in several parts of the pushlock code.
- Fix broken algorithm in the optimization of the pushlock waiter list.
- The wake event for the pushlock should be a synchronization event, not a notification event.
- Fix broken algorithm during the release of a pushlock (in shared cases).
- Fix broken code during "try to wake pushlock".
- Remove DbgPrints from inlined pushlock code during contention.
- Thanks to Alex for noticing these bugs and providing advice on the fixes. This fixes lots of race issues in the handle table implementation.

svn path=/trunk/; revision=32809
2008-04-01 18:14:01 +00:00
Aleksey Bragin
d9e96afb6d - Implement inline version of _rotl. The Win32 version of the CRT has this function in the standard library, but the NT one doesn't, so we need to rely on the inline version (which MSVC supports).
svn path=/trunk/; revision=32808
2008-04-01 17:49:03 +00:00
Timo Kreuzer
2c1cfd7207 - make some text metric settings compatible to windows xp.
- zero out lfWidth member when returning logfont in IntGdiGetFontResourceInfo. Fixes recently introduced bug in fontview display, also fixes ms fontview.

svn path=/trunk/; revision=32807
2008-04-01 17:07:12 +00:00
Timo Kreuzer
d8af502747 fix calculation of cwc parameter for NtGdiGetFontResourceInfoInternalW.
svn path=/trunk/; revision=32806
2008-04-01 16:57:17 +00:00
Dmitry Chapyshev
0239f0d555 - Update Russian translation
svn path=/trunk/; revision=32805
2008-04-01 14:48:01 +00:00
Dmitry Chapyshev
4bc463ed41 - Update Russian translation
svn path=/trunk/; revision=32804
2008-04-01 14:43:35 +00:00
Aleksey Bragin
f2fb7b9c4c - Fix ExReleaseResourceLock(), spotted by Alex.
svn path=/trunk/; revision=32803
2008-04-01 12:58:11 +00:00
James Tabor
d9a882e1db Move implemented functions out of stubs.
svn path=/trunk/; revision=32802
2008-04-01 01:41:19 +00:00
James Tabor
dddfb3a0cb Move thread pool functions prototypes to ndk.
svn path=/trunk/; revision=32801
2008-04-01 01:07:09 +00:00
James Tabor
575c79dc43 SeSetSecurityDescriptorInfo/Ex check the security object pointer for null. http://msdn2.microsoft.com/en-us/library/ms800810.aspx
svn path=/trunk/; revision=32800
2008-04-01 00:31:56 +00:00
Aleksey Bragin
89484a110d The default object security method should not directly call Se* routines on the Security Descriptors, since they belong to the object manger security descriptor cache, and they need to be referenced and dereferenced in order to make sure they don't disappear from beneath the caller.
Additionally, the code for the "Set" operation should actually go in SeSetSecurityDescriptorInfo API, which was unimplemented. By simply copying the code over, this API is now implemented, and the routine works as expected.
Also, the default method was not handling "delete" requests, but was ignoring them, resulting in memory leaks and never-dereferenced descriptors.
Thanks to Alex for finding these bugs. Alex also says SeSetSecurityDescriptorInfo should call the Rtl package (RtlSetObjectSecurity) but we don't implement those functions yet.

svn path=/trunk/; revision=32799
2008-03-31 20:07:02 +00:00
Aleksey Bragin
f5b2746f9a - Fix PARTITION_STYLE enum to include PARTITION_STYLE_RAW.
- Add a few storage-related IOCTLs and GUIDs definitions.

svn path=/trunk/; revision=32798
2008-03-31 18:22:46 +00:00
Aleksey Bragin
b8266b24f2 - Fix a typo in the debug message.
svn path=/trunk/; revision=32796
2008-03-31 15:58:59 +00:00
Colin Finck
a5fd44c475 First detect the mouse and then the keyboard as it was done in the old i8042prt driver.
If we do it the other way round, some systems throw away settings like the keyboard translation, when detecting the mouse.

All known keyboard and mouse detection problems should be fixed now! :-)

See issue #2790 for more details.

svn path=/trunk/; revision=32795
2008-03-31 15:52:30 +00:00
Ged Murphy
c608364e5a missed a few bits in cleanup
svn path=/trunk/; revision=32794
2008-03-31 15:00:12 +00:00
Ged Murphy
317b7559ff I wrote a quick skeleton service this morning, thought it might be useful to someone.
svn path=/trunk/; revision=32793
2008-03-31 14:41:06 +00:00
Timo Kreuzer
bae8253dc7 fix a typo
svn path=/trunk/; revision=32792
2008-03-31 13:44:38 +00:00
Timo Kreuzer
95af11a848 - give the fontview class an EXTLOGFONT to set the font, fixes display of wrong font style.
- add font size 8

svn path=/trunk/; revision=32791
2008-03-31 12:48:40 +00:00
Colin Finck
47034d9d29 - Remove much deprecated code for the mouse initialization (had been imported from the ancient psaux.sys driver, which was removed in _r14938_)
Do a much simpler initialization instead:
    * The "Get ID" command was used for detecting whether a mouse is present.
      But it just handled normal mice, IntelliMice and IntelliMice Explorer, although there can be many more possible values for other mice. (see for example http://www.win.tue.nl/~aeb/linux/kbd/scancodes-13.html#mcf2).
      Also this command isn't available on all systems.
      Furthermore we already do a MOUSE_LINE_TEST in i8042BasicDetect, which is the more reliable method to test whether a mouse is plugged in. Therefore this "Get ID" command can be simply removed.
    * The whole mouse initialization process now boils down to enabling the mouse itself and in the controller
    * All in all, some more mice should be detected now.
- Give i8042IsrWritePort a boolean return value and pass the results of the i8042Write calls
- Replace two i8042Write calls for writing to the mouse by one i8042IsrWritePort call where possible
- Remove the unused KBD_LINE_TEST define

This change was tested under QEMU, VMware and on one real system.

svn path=/trunk/; revision=32790
2008-03-31 12:40:31 +00:00
Daniel Reimer
81d1c9b3ac Bug 3098: Italian fixes to mstsc by Carlo Bramini (carlo.bramix@libero.it)
Bug 3161: Greek patch update by Apostolos Alexiadis (djapal@gmail.com)

svn path=/trunk/; revision=32789
2008-03-31 12:02:52 +00:00
James Tabor
ec07bd1531 Update to Wine. Need winesynced. Tested with Qemu.
svn path=/trunk/; revision=32788
2008-03-31 04:55:20 +00:00
James Tabor
068bad469b Fix GETTEXTEX update it to current sdk and web info.
svn path=/trunk/; revision=32787
2008-03-31 04:49:35 +00:00
James Tabor
70b9ba87f0 Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- Remove NtGdiCreateDIBitmap, update all related files.
- Rewrite CreateDIBitmap.
- Tested with Qemu.


svn path=/trunk/; revision=32786
2008-03-30 22:37:42 +00:00
Johannes Anderwald
0ed931896c - enumerate additional client protocols
- retrieve description with RegLoadMUIString

svn path=/trunk/; revision=32785
2008-03-30 22:07:49 +00:00
Colin Finck
b376c055bb - Reenable the DejaVu font and use it for all purposes except substitudes for "Arial" and "Times New Roman". Keep using the Liberation fonts for these cases.
- Finally remove the Bitstream Vera fonts and substitude them by the DejaVu fonts.
  The DejaVu fonts were derived from the Bitstream Vera fonts, so they look similar.

svn path=/trunk/; revision=32783
2008-03-30 18:18:53 +00:00
Johannes Anderwald
75637afd81 - fix compilation with msvc8
svn path=/trunk/; revision=32782
2008-03-30 10:01:37 +00:00
Aleksey Bragin
891170c25c - Convert to wmilib.def to wmilib.spec (so far stdcall-fixup was not really working).
svn path=/trunk/; revision=32781
2008-03-30 10:00:18 +00:00
Pierre Schweitzer
1c7adb9dd4 Set all FSD (except fastfat.sys) start to 0x4 to let fs_rec.sys doing his job (and matching with Windows...).
It will silent ext2 driver.

svn path=/trunk/; revision=32780
2008-03-29 13:40:28 +00:00
James Tabor
499c6cd517 Phase 2:
- Implement RtlRegisterWait and RtlDeregisterWait/Ex. Move the function to new file wait.c. Ported from Wine source.
- Completely untested.
- good luck!

svn path=/trunk/; revision=32779
2008-03-29 06:41:30 +00:00
James Tabor
fd52a49081 Phase 1:
- Implement RegisterWaitForSingleObject/Ex and UnregisterWait/Ex in stubs.c. I'm not sure where to place the exports. So ATM it is here.
- Stub RtlRegisterWait and RtlDeregisterWait/Ex.
- Import from Wine source and is LGPL.
- Ref: http://source.winehq.org/WineAPI/RtlRegisterWait.html http://source.winehq.org/WineAPI/RtlDeregisterWait.html


svn path=/trunk/; revision=32778
2008-03-29 03:46:17 +00:00
Thomas Bluemel
5b92a7951b Fix difference in signedness warning
svn path=/trunk/; revision=32777
2008-03-29 01:04:33 +00:00
Daniel Reimer
46c8f01954 Clean Up WineFile Folder. The MSVC Files are autogenerated anyway and these ones are rather old.
Synched WineFile to recent Wine CVS.

svn path=/trunk/; revision=32776
2008-03-28 14:40:37 +00:00
Daniel Reimer
e9014322e0 Bug 3153, 3154, 3155, 3156, 3157 Korean translations Update by Manatails (admin@manateeshome.com)
svn path=/trunk/; revision=32775
2008-03-28 14:35:51 +00:00
Timo Kreuzer
871375bbfb sorry forgot to commit this one.
svn path=/trunk/; revision=32774
2008-03-28 03:44:49 +00:00
Johannes Anderwald
7e4c2d0294 - display properties title for recycle bin folder
See issue #3140 for more details.

svn path=/trunk/; revision=32773
2008-03-27 21:02:33 +00:00
Daniel Reimer
f7d5c8c1fe Once more update WinHelp and wordpad. Seems like we have a problem with wordpad, even on windows. Try open it and goto the options dialog and close it again. Then you will see. Can someone investigate in it?
svn path=/trunk/; revision=32772
2008-03-27 13:13:54 +00:00
James Tabor
46599eb3f0 Question is what is its?
svn path=/trunk/; revision=32771
2008-03-27 01:41:27 +00:00
KJK::Hyperion
b9e079bdfb Fix some serious handle table bugs which led to memory corruption and stale values (which led to more memory corruption). Patch by Alex Ionescu.
svn path=/trunk/; revision=32770
2008-03-27 01:13:24 +00:00
Daniel Reimer
51a2c9f737 Bug 3144, 3145, 3149, 3151 : Korean Translations by manatails007 (admin@manateeshome.com)
Bug 3152 : Greek Update by  Apostolos Alexiadis (djapal@gmail.com)

svn path=/trunk/; revision=32769
2008-03-26 20:21:55 +00:00
Gregor Brunmar
3b4d8c9d07 Renamed some internal D3D9 structs as only COM objects should be named _INT
svn path=/trunk/; revision=32768
2008-03-26 20:16:07 +00:00
James Tabor
3523e8a76d Help Stefan out with SEH. It seems to run faster. I guess.
svn path=/trunk/; revision=32767
2008-03-26 17:49:18 +00:00
Johannes Anderwald
5fb0c2e1f1 - improve a few parameters checks
- should fix bug 3146
See issue #3146 for more details.

svn path=/trunk/; revision=32766
2008-03-26 17:44:08 +00:00
Dmitry Chapyshev
acac2b98e7 - Update headers (Part 2/2)
svn path=/trunk/; revision=32765
2008-03-25 17:36:27 +00:00
Dmitry Chapyshev
4f5fb2c4ee - Remove old gdiplus
- Add gdiplus from wine (Part 1/2)

svn path=/trunk/; revision=32764
2008-03-25 17:34:57 +00:00
Daniel Reimer
39f5b70ba0 Update UniATA Driver to Version 0.3.9f. It works well in ROS.
thx to Samuel Serapión aka encoded.

svn path=/trunk/; revision=32763
2008-03-24 21:35:52 +00:00
Daniel Reimer
5830d67c51 Update WordPad to recent Wine CVS. Fixes some strange behavior for me.
svn path=/trunk/; revision=32762
2008-03-24 16:43:34 +00:00
Colin Finck
29d152f93b Update the Liberation Fonts to the new versions with full hinting capabilities
Source: https://bugzilla.redhat.com/show_bug.cgi?id=427791

svn path=/trunk/; revision=32761
2008-03-23 20:31:25 +00:00
Daniel Reimer
e750b91893 Fix Build on Linux
svn path=/trunk/; revision=32760
2008-03-23 17:30:45 +00:00
Timo Kreuzer
114e07cda7 better don't mess with the focus border height
svn path=/trunk/; revision=32759
2008-03-23 17:24:54 +00:00
Daniel Reimer
734d2039df Add the Actual Versions to show the need to update some of them.
The non actual ones are:
GNU adns 1.0 REV 1 -> 1.0 REV 5
BZip2 1.0.1 -> 1.0.5
Expat 2.0 -> 2.0.1
libXML 2.6.20 -> 2.6.31

svn path=/trunk/; revision=32758
2008-03-23 16:43:52 +00:00
Daniel Reimer
d05f1896f8 Add the rest of 3rd Party code.
svn path=/trunk/; revision=32757
2008-03-23 15:07:26 +00:00
Dmitry Chapyshev
f8f99586b5 - Add RedHat's fonts (Part 3/3)
svn path=/trunk/; revision=32756
2008-03-23 14:05:34 +00:00
Dmitry Chapyshev
506cb38c98 - Add RedHat's fonts (Part 2/3)
svn path=/trunk/; revision=32755
2008-03-23 14:05:14 +00:00
Dmitry Chapyshev
c018d305da - Add RedHat's fonts (Part 1/3)
svn path=/trunk/; revision=32754
2008-03-23 14:03:48 +00:00
Daniel Reimer
2144cdba3e Started a text file which shows all 3rd Party Code we use and the Version we use of it (except Wine Syncs, which have their own Document already)
While I am on it I synced DejaVu Fonts from 2.17 to 2.24 Version. 21 Fonts updated, 4 deleted.
Hopefully I did it right ;-)

svn path=/trunk/; revision=32753
2008-03-23 13:43:16 +00:00
Daniel Reimer
7cad507b98 Bug 3142: Spanish Translation Updates by Javier Remacha (remialdo@gmail.com)
svn path=/trunk/; revision=32752
2008-03-23 13:00:37 +00:00
Daniel Reimer
d018947631 Bug 3142: Spanish Translation Updates by Javier Remacha (remialdo@gmail.com)
svn path=/trunk/; revision=32751
2008-03-23 12:59:21 +00:00
Magnus Olsen
6c16e66402 implemented NdisScheduleWorkItem writen by me and arty
svn path=/trunk/; revision=32750
2008-03-22 22:11:54 +00:00
Magnus Olsen
9797b5eeb0 add a missing struct NDIS_WORK_ITEM and missing prototype NdisScheduleWorkItem
svn path=/trunk/; revision=32749
2008-03-22 20:49:46 +00:00
Timo Kreuzer
12fca51a88 remove duplicate definitions
svn path=/trunk/; revision=32748
2008-03-22 14:59:02 +00:00
Magnus Olsen
9a08ab6b7c Fixing a typo in ndis rename NdisGetSystemUptime to NdisGetSystemUpTime
svn path=/trunk/; revision=32747
2008-03-22 09:18:21 +00:00
Timo Kreuzer
fa2f4d10ba - add tests for SetWorldTransform
- more tests for CreateCompatibleDC, GetClipRgn, SelectObject and SetDCPenColor

svn path=/trunk/; revision=32746
2008-03-22 03:21:52 +00:00
Timo Kreuzer
019b6f7ff8 - don't use shared locks, when modifying bitmaps
- remove another reference to GDIOBJ_AllocObjDepricated

svn path=/trunk/; revision=32745
2008-03-22 03:14:57 +00:00
Timo Kreuzer
9f99e0a7c4 add tests for NtUserCallHwnd, NtUserCallHwndLock, NtUserCallHwndOpt, NtUserCallHwndParam, NtUserCallHwndParamLock, NtUserCallNoParam, NtUserCallOneParam and NtUserSystemParametersInfo
svn path=/trunk/; revision=32744
2008-03-22 03:12:01 +00:00
Timo Kreuzer
19761f316e - make Simplecall definitions (NtUserCallXxx) compatible to different Win versions (currently XP and Vista), using an enum and conditional compiling
- move incompatible definitions to the bottom of ntuser.h (bad section)
- fix parameters of NtUserCallHwnd* and move the rest of them to simplecall.c


svn path=/trunk/; revision=32743
2008-03-22 02:53:56 +00:00
Timo Kreuzer
b690ccfd98 update NTDDI defines
svn path=/trunk/; revision=32742
2008-03-22 02:23:08 +00:00
Magnus Olsen
13ace0b7a8 implement NdisGetCurrentProcessorCounts
svn path=/trunk/; revision=32741
2008-03-22 00:38:09 +00:00
Magnus Olsen
c9adea9855 implemented NdisSystemProcessorCount
svn path=/trunk/; revision=32740
2008-03-22 00:26:53 +00:00
Magnus Olsen
b1f27a9bd0 implemented NdisGetSystemUptime, thx kjk for the help getting it faster against my frist code, that was never commited.
svn path=/trunk/; revision=32739
2008-03-22 00:17:18 +00:00
Daniel Reimer
bb09e76dfa Small fix for Polish Resource File of USetup.
svn path=/trunk/; revision=32738
2008-03-21 22:15:29 +00:00
Daniel Reimer
41d4c510cc Update Polish and German Resources of USetup. Now working according to recent chnages.
Polish Update by Olaf Siejka.

svn path=/trunk/; revision=32737
2008-03-21 21:11:09 +00:00
Hervé Poussineau
21a0b68eba Revert part of r32735 ; we can't use C preprocessor on .spec files, because comments also start with '#'
svn path=/trunk/; revision=32736
2008-03-21 11:54:27 +00:00
Hervé Poussineau
2ea6860b9e Add preprocessor support for .spec files (exports can be different between architectures)
MingwModuleHandler::GetDefinitionFilename() can return NULL if no <importlibrary> tag exist

svn path=/trunk/; revision=32735
2008-03-21 09:28:42 +00:00
Hervé Poussineau
3c7122afc2 Fix warnings
svn path=/trunk/; revision=32734
2008-03-21 09:25:17 +00:00
James Tabor
838ab11768 Finish Stefan Ginsberg patch from rev 32726.
svn path=/trunk/; revision=32733
2008-03-21 06:55:43 +00:00
James Tabor
ac4140e1d2 Sorry Timo! I think I forgot to remove these months ago.
svn path=/trunk/; revision=32732
2008-03-21 05:42:48 +00:00
Timo Kreuzer
31b69aaaaa remove a reference to GDIOBJ_AllocObjDepricated
svn path=/trunk/; revision=32731
2008-03-21 00:19:50 +00:00
Timo Kreuzer
964a060f9b ntuser/misc.c was huge, split it into sysparams.c, simplecall.c and misc.c
svn path=/trunk/; revision=32730
2008-03-21 00:07:06 +00:00
Timo Kreuzer
51792c41f0 - started fixing NtUserCallXxx defines
- moved bad NtUserXxx macros to bottom
- added some comments to ntuser bad stuff

svn path=/trunk/; revision=32729
2008-03-21 00:01:33 +00:00
Colin Finck
dc06e447c7 Revert r32724
I didn't notice that the "msiserver.h" was not recreated by "msi_msiserver_typelib". Thanks to Usurp for pointing this out.

Welcome back, circular dependency ;-)

svn path=/trunk/; revision=32728
2008-03-20 20:10:28 +00:00
Marc Piulachs
b3c070fba3 - Show full filename while copying files. automatically move "copying file" when necessary like windows usetup does
- update en-us localization file to make use of r32722
- update STRING_COPY in all localization files
- other minor changes

svn path=/trunk/; revision=32727
2008-03-20 18:28:37 +00:00
Timo Kreuzer
070880c0a2 patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- remove NtUserAcquireOrReleaseInputOwnership and NtUserSendMessageCallback
- move ros specific types belonging to ros specific ntuser calls into ntuser.h near the respective prototypes
- add a commented out GDI_DEBUG define to gdiobj.c

svn path=/trunk/; revision=32726
2008-03-20 14:30:42 +00:00
Colin Finck
73dc6b939b - The implementation of the "Mouse Reset" command differs much from chip to chip.
While most return an ACK or NACK as the first byte to indicate, whether a mouse is plugged in or not, some systems (like ECS K7S5A Pro, SiS735 chipset) always return an ACK and 0xAA.
  Only the last byte indicates the status of the actual mouse. It is either sent as 0x00 or not.

  Therefore only get the first two bytes in a loop and issue just one i8042ReadDataWait command for the last byte.
  This reduced the "black screen time" in 1st stage setup (after loading the drivers and before showing the language selection screen) from 45 seconds to 3 seconds on my K7S5A Pro system.
  I also tested this change with three other systems, with and without mouse, and they are still detected properly.
- Wait 50 microseconds, when we got no data after the Mouse Reset and before trying it again.
  This way, the implementation doesn't depend on the system speed.
- Break the loop, when the CTRL_SELF_TEST command completed successfully.
- Remove the return values from i8042DetectKeyboard and i8042DetectMouse.
  We just used them for outputting debug info if no keyboard or mouse was detected. But this info is already printed by the procedures themselves.
  This way, I could also drop one variable in i8042DetectMouse :-)

svn path=/trunk/; revision=32725
2008-03-20 12:21:34 +00:00
Colin Finck
ceae579e7c Remove the "<file>msiserver.idl</file>" entry from the msi module, so it's not built twice.
As msi depends on msi_msiserver_typelib, we can be sure that "msiserver.idl" is built before msi, so it's there when it's needed.

Fixes the last circular dependency.

svn path=/trunk/; revision=32724
2008-03-19 17:42:08 +00:00
Timo Kreuzer
cda61e93aa [FORMATTING] Apply consistent indentation of 4 spaces
svn path=/trunk/; revision=32723
2008-03-19 14:53:15 +00:00
Marc Piulachs
c0b2fad1c3 - Allow multiple combination of style flags for usetup translations
- Added right & center text align , no more space counting :). All localization can now share X,Y cordinates

Note: only the en-US localization currently takes advantage of it , other localizations should be updated

svn path=/trunk/; revision=32722
2008-03-19 04:43:40 +00:00
Timo Kreuzer
3a8626a802 - Rename GDIOBJ_AllocObj to GDIOBJ_allocObjWithHandle and make it return a pointer to a locked object.c
- Implement GDIOBJ_AllocObjDepricated as a wrapper for those functions that currently still need the old way of allocation. Will be gone soon
- Implement GDIOBJ_AllocObj that only allocates a memory object without a handle
- Rename GDIOBJ_FreeObject to GDIOBJ_FreeObjByHandle
- Implement GDIOBJ_FreeObj that only frees the memory object
- Rename all XXX_Alloc and XXX_Free functions accordingly
- Fix NtGdiCreateClientObject and NtGdiDeleteClientObject
- Reformat TextIntCreateFontIndirect
- NtGdiHfontCreate: reformat and MmCopyFromCaller -> SEH

svn path=/trunk/; revision=32721
2008-03-19 00:56:40 +00:00
Timo Kreuzer
835306e6f4 Add GDILoObjType enum to ntgdityp.h
svn path=/trunk/; revision=32720
2008-03-19 00:33:11 +00:00
Hervé Poussineau
7450d083e3 Fix indentation
svn path=/trunk/; revision=32719
2008-03-18 12:28:33 +00:00
Colin Finck
9050d4be23 - Simplify the code for connecting the interrupts.
Don't use three code pathes (keyboard; mouse; keyboard & mouse) anymore and don't check again in EnableInterrupts(), which devices are present.
  Instead prepare the flags for i8042ChangeMode() already in StartProcedure() and pass them later.
- Constify the result of CTRL_SELF_TEST (0x55) as KBD_SELF_TEST_OK.
- Add a bug number as a reference for the system flag setting.

svn path=/trunk/; revision=32718
2008-03-18 12:00:29 +00:00
Daniel Reimer
2755d2da2f Bug 3136: Italian translation update by Paolo Devoti (devotip@tiscali.it)
svn path=/trunk/; revision=32717
2008-03-18 11:47:03 +00:00
Daniel Reimer
3f6aef10d6 Bug 3136: Italian translation update by Paolo Devoti (devotip@tiscali.it)
svn path=/trunk/; revision=32716
2008-03-18 11:46:03 +00:00
Colin Finck
ce3bf93548 Revert r32706, unfortunately this wasn't the problem (according to reports from two users)
svn path=/trunk/; revision=32715
2008-03-18 09:14:38 +00:00
Daniel Reimer
0c578a5e6b Make my update sound better
svn path=/trunk/; revision=32714
2008-03-17 22:51:09 +00:00
Timo Kreuzer
4e4095383f - Set the BaseObject.hHmgr field in GDIOBJ_AllocObj
- rename RGNDATA_ functions to REGION_ to have a consistent naming.
- move REGION prototypes to region.h
- rename REGION_AllocRgn to REGION_AllocRgnWithHandle and make it return a pointer to a locked region.
- rename UnsafeIntGetRgnBox to REGION_GetRgnBox
- rename UnsafeIntRectInRegion to REGION_RectInRegion
- remove UnsafeIntUnionRectWithRgn maco
- implement REGION_SetRectRgn and call it from NtGdiSetRectRgn
- reorder some parameters
- remove REGION_CropRgn, use REGION_CropAndOffsetRegion instead
- Implement UserShowCursor based on the code from NtUserCallOneParam and call it from inside the switch statement.

svn path=/trunk/; revision=32713
2008-03-17 22:17:48 +00:00
Daniel Reimer
f7f8c1d189 Updated Polish and German RC File of shell32.
Polish Part done by Olaf Siejka

svn path=/trunk/; revision=32712
2008-03-17 17:40:52 +00:00
Hervé Poussineau
44b906f4fa Replace .def files by .spec files
svn path=/trunk/; revision=32711
2008-03-17 12:57:17 +00:00
Hervé Poussineau
d2d64ffade Replace .def files by .spec files
svn path=/trunk/; revision=32710
2008-03-17 12:44:23 +00:00
Hervé Poussineau
f44b90f919 Remove $(INIT) variable, which was containing all host tools
Now, each rule depends only of required tools
See issue #3131 for more details.

svn path=/trunk/; revision=32709
2008-03-17 12:26:23 +00:00
Aleksey Bragin
82c66415ab - MAINTENANCE: Fix inconsistent new lines.
svn path=/trunk/; revision=32708
2008-03-17 11:02:00 +00:00
Aleksey Bragin
fa200ee040 - MAINTENANCE: Fix inconsistent new lines.
svn path=/trunk/; revision=32707
2008-03-17 10:59:18 +00:00
Hervé Poussineau
1cdbc02cc8 Don't fail if CCB_SYSTEM_FLAG can't be set
svn path=/trunk/; revision=32706
2008-03-17 10:30:58 +00:00
Hervé Poussineau
a2d5fcf09a Remove some more circular dependencies.
May fix bug 3131

svn path=/trunk/; revision=32705
2008-03-17 10:29:43 +00:00
Johannes Anderwald
1846b6fee3 - fix compilation with msvc
svn path=/trunk/; revision=32703
2008-03-16 19:19:26 +00:00
Johannes Anderwald
3c49a12a94 - make desk strict ANSI-C compilable
- do not disable color changer when a background image is selected

svn path=/trunk/; revision=32702
2008-03-16 18:29:28 +00:00
Johannes Anderwald
b3e9f47a36 - the color of the background for the desktop window should match COLOR_DESKTOP
svn path=/trunk/; revision=32701
2008-03-16 18:19:36 +00:00
Colin Finck
2143880ec3 Winebuild files don't need to depend on $(module_precondition)
Fixes some more circular dependencies

svn path=/trunk/; revision=32700
2008-03-16 17:10:46 +00:00
Johannes Anderwald
a3873d71cc - initialize bitbucket properties dialog
- fix resources
- partly implement THRASH_CanTrashFile

svn path=/trunk/; revision=32699
2008-03-16 14:55:04 +00:00
Magnus Olsen
4e64592462 fix a old copy and paste comment text so it say right
svn path=/trunk/; revision=32697
2008-03-16 00:22:29 +00:00
Magnus Olsen
eb7b8c651a update the docs for NtGdiD3dContextCreate
some points I did not make clear how it works. 


svn path=/trunk/; revision=32696
2008-03-16 00:16:42 +00:00
Magnus Olsen
40fe926b8c update some comment that desc how some ntgdidd* works
svn path=/trunk/; revision=32695
2008-03-15 21:00:58 +00:00
Pierre Schweitzer
8bc4ddbd5d - Fill in Identifier field when creating NTFS_xCB
- Changed a memset call to RtlZeroMemory

svn path=/trunk/; revision=32694
2008-03-15 09:47:00 +00:00
Aleksey Bragin
1789bf3561 Daniel Zimmerman <netzimme@aim.com>
- Implement RtlGetCallersAddress.
- Add RtlCaptureStackBackTrace prototype to PSDK.
See issue #3125 for more details.

svn path=/trunk/; revision=32693
2008-03-15 09:29:54 +00:00
Pierre Schweitzer
68f67228b5 [FORMATTING] Fix indentation (only for functional code)
svn path=/trunk/; revision=32692
2008-03-15 09:25:09 +00:00
Pierre Schweitzer
1498b141eb - Renamed all control block structures to (P)NTFS_xCB
- Added an identifier field to those structures (not yet used)

svn path=/trunk/; revision=32691
2008-03-15 08:51:47 +00:00
Timo Kreuzer
4f6b034f60 make syscalldump dump the names of the functions in apfnSimpleCall array.
svn path=/trunk/; revision=32690
2008-03-15 03:08:30 +00:00
Timo Kreuzer
58e1c142fe NtGdiExtGetObjectW has really nothing to do with dcs, move it to gdiobj.c
svn path=/trunk/; revision=32689
2008-03-15 01:10:53 +00:00
Colin Finck
751cc71ebd Aaand yet another one, including fixed indentation for the whole file
(sorry for the commit spam, but I'm trying to solve the building problems of a user over IRC :D)

svn path=/trunk/; revision=32688
2008-03-15 00:44:07 +00:00
Colin Finck
6f3e8ec662 Add yet another missing include
svn path=/trunk/; revision=32687
2008-03-15 00:38:42 +00:00
Colin Finck
ddef9f1617 - Add <cstring> for "memset", "strchr" and "strstr"
- Use the C++ wrapper headers consistently
- Fix indentation

svn path=/trunk/; revision=32686
2008-03-15 00:35:48 +00:00
Colin Finck
1e2d76a86c - Consistently use the C++ wrapper headers (cstdio, cstdlib, ...) around the standard C headers and also add <cstring> for "strtok", "strcpy" and "strncmp"
- Remove a useless typedef, which causes a warning with newer GCC's

svn path=/trunk/; revision=32685
2008-03-15 00:23:40 +00:00
Timo Kreuzer
feb0960458 enable a additional GDI_DEBUG backtraces
svn path=/trunk/; revision=32684
2008-03-15 00:10:27 +00:00
Colin Finck
22a1118107 Include <cstdlib> and <cstring> for "getenv" and "strlen"
svn path=/trunk/; revision=32683
2008-03-15 00:04:43 +00:00
Colin Finck
32da68f4ea Include <cstdlib> for "strtod" and "strtol"
svn path=/trunk/; revision=32682
2008-03-14 23:59:55 +00:00
Colin Finck
cf076f2c7b Change, simplify and document the conditions for the include files.
Fix two build problems in Fedora 8 and probably other hosts with a newer C library (reported by Dosadi on #reactos)

svn path=/trunk/; revision=32681
2008-03-14 23:55:32 +00:00
Timo Kreuzer
2b61e55c4e - modify the way the way the Frames parameter in KeRosDumpStackFrames() is handled, wasn't used so far
- remove some code duplication

svn path=/trunk/; revision=32680
2008-03-14 23:51:27 +00:00
Timo Kreuzer
92d76b88e9 hide mouse cursor in mazescr
svn path=/trunk/; revision=32677
2008-03-14 00:08:00 +00:00
Timo Kreuzer
9457b015d6 - Simplify IntSetCursor
- Make NtUserSetCursor hide Cursor on hCursor = NULL
- Don't set the cursor pos if the cursor is hidden in IntMouseInput
- remove 2 useless ASSERTs
- Dereference old cursor- Make the screensaver lib hide the cursor directly after creating it (the window never recieves a WM_SETCURSOR)
partly fixes bug 2965
See issue #2965 for more details.

svn path=/trunk/; revision=32676
2008-03-14 00:05:58 +00:00
Aleksey Bragin
0d99c97ab4 - Switch to using the cache bitmap (the cache manager uses one large memory region within the kernel address space and allocate/deallocate space from this block over a bitmap).
- This removes (hides?) the so-called "ResourceNeverExclusive" problem at the end of the 1st stage setup or during file copy operation. Also it makes file copying process (not only in the 1st stage) more stable.
- Cacheseg mapping region size enlarged to 256Mb.
See issue #2872 for more details.

svn path=/trunk/; revision=32675
2008-03-13 20:14:30 +00:00
ReactOS Portable Systems Group
362ca1e480 - Implement IRQL functions for the PL190 VIC.
- Start coding HalInitSystem.
- Implement HalRequestSoftwareInterrupt for the PL190 VIC. The interrupt fires! (This interrupt is responsible for forcing DPC delivery, which should also force thread scheduling, which should force the switch to the phase 1 thread)

svn path=/trunk/; revision=32674
2008-03-13 16:29:45 +00:00
Andrew Munger
e2d5ba4e1f Simplify and rename the functions that touch UserPageListHead.
They were confusingly coded to accept any flavor of PFN_TYPE, which resulted in at least one bug.
Constrained the calls to the MmRequest/ReleasePageMemoryConsumer and MmTrimUserMemory.

svn path=/trunk/; revision=32673
2008-03-13 15:26:17 +00:00
Aleksey Bragin
b473957147 - Factor out physical pages allocation and creating a virtual mapping into a standalone function called MmMapMemoryArea (idea proposed by Art Yerkes).
- As a result, removed one case of a potentially dangerous _alloca usage in the kernel, increased code readability.

svn path=/trunk/; revision=32672
2008-03-13 13:17:57 +00:00
ReactOS Portable Systems Group
9901f9409a - Finish implementing very basic system call dispatcher. Our very first system call to NtClose works properly.
- The rest of Phase 0 initialization continues smoothly, we now reach the while(TRUE) loop at the end of KiSystemStartup!
- Phase 0 bring-up is complete: The phase 1 thread should now start (once thread scheduling works).
- Next steps: IRQLs, HAL Initialization (Timers and IRQs) to get the interval clock timer running for quantum end/scheduling/time accounting.
- After that: context switching code to be able to switch to the Phase 1 thread.
- Then: Phase 1 bring-up!


svn path=/trunk/; revision=32671
2008-03-12 22:06:42 +00:00
Daniel Reimer
e4a3ca1233 Polish Translation Update by Olaf Siejka.
svn path=/trunk/; revision=32670
2008-03-12 21:32:45 +00:00
Gregor Brunmar
13f9fd3700 Removed false unimplemented output :)
svn path=/trunk/; revision=32669
2008-03-12 19:40:31 +00:00
Gregor Brunmar
8bca78461c * Made IDirect3D9 structure more MS compatible.
* Removed duplicate initing of internal structure
* Started implementing IDirect3D9::CreateDevice() error return values

svn path=/trunk/; revision=32668
2008-03-12 19:29:10 +00:00
Aleksey Bragin
bae787dbd9 - Fix build.
svn path=/trunk/; revision=32667
2008-03-12 19:07:32 +00:00
ReactOS Portable Systems Group
465f0c0e28 - We now define a much simpler system call interface -- instead of using interrupt 2E with the system call ID in the ip register, we use the system call ID as the interrupt number! On ARM, all software interrupts have a generic handler, so ANY software interrupt will be a system call, and the interrupt number is the system call ID!
- Removed a bunch more i386-only exports from the ARM kernel.
- Implemented all the READ/WRITE_REGISTER* routines for ARM/PPC.
- Implement half of KiSoftwareInterruptException, which calls KiSoftwareInterruptHandler, which calls KiSystemService. We now reach the first kernel-mode system call! (ZwClose from PspInitPhase0).
- Reformat fastinterlck.c and change the way it's included per-architecture.


svn path=/trunk/; revision=32666
2008-03-12 18:17:55 +00:00
Colin Finck
374a272eac [FORMATTING] Fix indentation
svn path=/trunk/; revision=32665
2008-03-12 13:50:30 +00:00
ReactOS Portable Systems Group
0d376b34fa - Make another kind of page fault also be handleable by our hacked-up handler: paged pool now fully works.
- Current status: we now make it all the way to the first system call at the end of Phase 0!
- We now make the IRQL routines modify the IRQL saved in the KPCR, to make some assertions work.
- Build mem.c and memgen.c from RTL in order to get non-optimized but portable Rtl*Memory routines and Rtl*Swap routines.
- Take the PPC non-optimized but portable Ex*Interlocked* routines and make them available for ARM as well. Play with the code a bit to get other routines in there too.
- Major TODO: Cleanup these routines, re-format them, make them compatible for all architectures, and later on, provided optimized ARM versions.
- Remove _all* _aull* MSVC-i386 helper exports from the kernel, as well as Exfi386* routines -- they're only for x86 kernels.

svn path=/trunk/; revision=32664
2008-03-12 00:13:09 +00:00
Daniel Reimer
ec0c36d5e6 Update German language File
svn path=/trunk/; revision=32663
2008-03-11 19:44:22 +00:00
Aleksey Bragin
ed5a4088f7 - Update FSRTL_ADVANCED_FCB_HEADER to support newer version headers.
- Split Reserved into two bitfields: Reserved and Version.

svn path=/trunk/; revision=32662
2008-03-11 19:03:29 +00:00
Dmitry Chapyshev
5e375382ea - Fix typo (part 2/2)
svn path=/trunk/; revision=32661
2008-03-11 17:03:20 +00:00
Dmitry Chapyshev
b730023197 - Fix typo (part 1/2)
svn path=/trunk/; revision=32660
2008-03-11 16:39:58 +00:00
ReactOS Portable Systems Group
a31f9d1367 - Convert all Loader Block structures to virtual addresses (By adding KSEG0_BASE) since the kernel eventually unmaps the page table responsible for the physical->virtual identity mapping, but we'll still need to access the loader block.
- Implement proper trap prolog/epilog code -- currently used and tested in the data abort handler. Currently hacked away some KTRAP_FRAME stuff on ARM.
- The data abort handler has a very rudimentary check to detect page faults and will call MmAccessFaults, this means we now support paged pool!
- We now succesfully go past MmInitSystem and go all the way until ObInitSystem (still in Phase 0).


svn path=/trunk/; revision=32659
2008-03-11 16:13:43 +00:00
Dmitry Chapyshev
f5402d88df - Fix build
svn path=/trunk/; revision=32658
2008-03-11 16:13:26 +00:00
Aleksey Bragin
be684e0471 - Remove kilobyte of unneeded MS support database text copypaste.
- Rename and add two application compatibility flags to W32THREADINFO structure (one for ancient compat flags, and one for a bit more modern flags).
- Implement GetAppCompatFlags2() too.

svn path=/trunk/; revision=32657
2008-03-11 15:58:31 +00:00
Dmitry Chapyshev
e121cc7e3d - Rewrite input.dll
- Delete unused resources
- Update all languages

svn path=/trunk/; revision=32656
2008-03-11 15:52:27 +00:00
ReactOS Portable Systems Group
f955e35cab - We missed this one -- fix the x86 build.
svn path=/trunk/; revision=32655
2008-03-11 06:05:57 +00:00
ReactOS Portable Systems Group
3d10a2eabc - Forgot to commit previous HAL changes.
- There is no reason to implement the Interlocked* APIs in assembly in the kernel -- just have them call the intrinsics.
- Also fix the way we were overloading the exported APIs, we now use the intrinsics all the time.
- Convert loader block address to virtual, and parse the addresses inside it and convert them to virtual too, after we don't use them in FreeLDR anymore -- the kernel will delete the p->v identity mapping, and eventually still need to touch the loader block.
- Implement MmGetPhysicalAddress and MiGetUserPageDirectoryCount for ARM.
- We now reach the point where we start initializing the boot drivers' memory information.

svn path=/trunk/; revision=32654
2008-03-11 04:42:54 +00:00
ReactOS Portable Systems Group
a6b9a98b82 - Fix incorrect definition of PCR and USERPCR which was making us incorrect memory.
- Fix incorrect definition of ARM_CONTROL_REGISTER, which was stopping us from correctly enabling High Vectors.
- The RtlCaptureStackLimits and RtlWakeChainFrame routines in libsupp.c cannot possibly be portable across all architectures -- separated ARM versions in an arm directory.
- Setup the panic stack for abort/undefined exceptions, and the interrupt stack for FIQs.
- Implement support for exceptions! We can now display the address which caused a data abort, and begin handling exceptions.
- Implement all the HAL Spinlock/IRQL functions except KfRaise/LowerIrql which actually do the work.
- We're booting all the way to setting up the user_shared_data memory area.

svn path=/trunk/; revision=32653
2008-03-11 02:45:13 +00:00
Magnus Olsen
cfb18d14ea part 2/2 for implement GetAppCompatFlags
left todo implemented set AppCompatFlags 

svn path=/trunk/; revision=32652
2008-03-11 00:09:23 +00:00
Magnus Olsen
50b6c2d1d0 part 1/2 for implement GetAppCompatFlags
svn path=/trunk/; revision=32651
2008-03-11 00:08:07 +00:00
Magnus Olsen
0b1f2480f3 partly implement gdi32 Escape
implemented command STARTDOC: Escape

 

svn path=/trunk/; revision=32650
2008-03-10 22:12:12 +00:00
Aleksey Bragin
be3386232b - Sync STORAGE_PROPERTY_ID enum with WDK.
svn path=/trunk/; revision=32646
2008-03-10 20:26:03 +00:00
Aleksey Bragin
c74b0b6ad8 - A better freebsd/macosx fix.
svn path=/trunk/; revision=32645
2008-03-10 20:04:46 +00:00
Aleksey Bragin
3a17306654 - Add sys/types.h and sys/stat.h includes for mkfifo() declaration, for *nix-builds.
svn path=/trunk/; revision=32644
2008-03-10 19:28:33 +00:00
Aleksey Bragin
a70da8b4d0 - Fix rgenstat build on FreeBSD and MacOSX
svn path=/trunk/; revision=32643
2008-03-10 19:24:19 +00:00
ReactOS Portable Systems Group
0b44376e27 ARM Port Memory Management Checkpoint:
- Implemented and defined the MMU-OS architecture for the ARM port. The details are too long for a commit message, but we have decided to replicate the x86 NT memory manager layout. We've defined a PTE_BASE at 0xC0000000 just like on x86, and we use a PDE_BASE at 0xC1000000. Unlike the x86, we can't use PDE-PTE self-mapping because ARM has different formats (and sizes!) for PDE vs PTEs! We emulate the behavior however (which adds a small performance hit) and the Mm porting is thus at least 10 times easier.
- Moved serial port to 0xE0000000 for now.
- We now parse the board memory map from u-boot.
- Added memory allocation code to FreeLDR -- we now build a full ARC memory map for the kernel.
- FreeLDR allocates page tables and sets up the initial support for our memory layout (see comments for some lengthier explenations)
- Allocations made by FreeLDR for loading ReactOS are now made from a "shared heap" page that's also marked in the memory map.
- Registry and NLS data are now being put into the loader block.
- We now create a loader entry for the kernel (but not anything else -- we'll have to parse the list properly later).
- Defined correct _HARDWARE_PTE_ARM and _MMPTE_HARDWARE for ARM.
- ARM_COARSE_PAGE_TABLE is now 4KB instead of 1KB, going against the architecture! We do this for proper OS support of the PTE_BASE.
- Fixed build due to KiSystemStartulReal change.
- Fixed a bug on the x86 build when creating memory allocation descriptors. Memory corruption could occur in certain scenarios.
- Implemented significant portions of the ARM memory manager code in the kernel:
  - MmGetPageDirectory.
  - MmDeletePageTable (for the kernel address space only).
  - MmIsPagePresent (for the kernel address space only).
  - MmCreateVirtualMappingForKernel.
  - MmCreateVirtualMapping (calls MmCreateVirtualMappingUnsafe).
  - MmCreateVirtualMappingUnsafe (for the kernel address space only).
  - MmSetPageProtect (unused on ARM).
  - MmCreateHyperspaceMapping.
  - MmDeleteHyperspaceMapping.
  - MmInitGlobalKernelPageDirectory.
  - MmInitPageDirectoryMap.
- With the above, this means we now go well inside MmInit1: the PFN database is setup and works, memory areas are functional, and non-paged pool is fully working.
- We currently hit a data abort during paged pool setup -- this is to be expected, since we don't have any exception handlers yet. These are coming up next -- we have to start handling crashes (and page faults).


svn path=/trunk/; revision=32640
2008-03-10 17:27:14 +00:00
James Tabor
6f83c4fcb6 - Cleanup GreatLordisms and half implement GdiRealizationInfo.
svn path=/trunk/; revision=32637
2008-03-10 04:02:49 +00:00
Magnus Olsen
fc93cf79dd partly implement gdi32 Escape
implemented command ENDDOC: Escape

 

svn path=/trunk/; revision=32636
2008-03-10 00:27:25 +00:00
Magnus Olsen
b6b6d6b267 partly implement gdi32 Escape need it for getting opengl icd driver working, if they are using ms icd ddk
implemented command DRAFTMODE, FLUSHOUTPUT, SETCOLORTABLE for they are not longer supported in windows XP/2003
implemented command SETABORTPROC it is still stub in gdi32/misc/stubs.c

 

svn path=/trunk/; revision=32635
2008-03-09 23:32:52 +00:00
Magnus Olsen
b9cb142148 partly implement gdi32 Escape
implemented command ABORTDOC Escape

 

svn path=/trunk/; revision=32634
2008-03-09 22:58:13 +00:00
Franz Lehner
15c1c603c3 Revert Change in readme.txt -- HTTP DAV access working
svn path=/trunk/; revision=32633
2008-03-09 21:56:42 +00:00
Franz Lehner
179fe706d2 SVN TEST
svn path=/trunk/; revision=32632
2008-03-09 21:48:27 +00:00
Magnus Olsen
ba482d4a66 partly implement gdi32 Escape
implemented command GETSCALINGFACTOR Escape
change from if to switch statment for it is faster and cleaner
 

svn path=/trunk/; revision=32631
2008-03-09 21:36:09 +00:00
Aleksey Bragin
1a8cf7342c - Move MiGetPfnEntry into arch-independent mm.h header, along with a few defines, structures, and function prototypes which are going to be used with the new pool implementation in future.
- Add two new fields into PHYSICAL_PAGE structure, they will be used (in the future new pool implementation) to find end/start of a non-paged pool allocation without storing the actual pointers (based on NTs own PFN entry optimization for this) - thanks to Alex for providing this great idea!

svn path=/trunk/; revision=32630
2008-03-09 21:15:12 +00:00
Aleksey Bragin
a5ffbcd185 - Move some PTE/PDE macros from i386/page.c into arch-specific mm.h. Also change some macros operation from integer division to bit shifting.
- Remove unused/#if0-ed stuff from mm.h.

svn path=/trunk/; revision=32629
2008-03-09 20:30:28 +00:00
Magnus Olsen
746ac9c644 partly implement gdi32 Escape
implemented command GETCOLORTABLE and GETEXTENDEDTEXTMETRICS in Escape
MS have releae docs over this api in msdn, u can also found docs in nt4 ddk and win98 ddk how this api works. 
and thanks to Filip and Blight that have explain how this api works time to time, in gdi32 


svn path=/trunk/; revision=32628
2008-03-09 19:04:26 +00:00
Johannes Anderwald
06471d3eb5 - fix enumeration of available time zones
svn path=/trunk/; revision=32626
2008-03-09 15:34:13 +00:00
Colin Finck
c1c402a4e6 Add missing cast
svn path=/trunk/; revision=32625
2008-03-09 14:28:23 +00:00
Aleksey Bragin
379a429aa9 - Remove autoupdated "$Id:" lines from the kernel source code.
svn path=/trunk/; revision=32623
2008-03-09 14:11:42 +00:00
Gregor Brunmar
2df3af106c Second iteration of Direct3DCreate9()
svn path=/trunk/; revision=32622
2008-03-09 14:11:32 +00:00
Pierre Schweitzer
7d27fdf54b - Reworked NtfsAllocateIrpContext to avoid working with null IRP....
- Rewritten NtfsFsdDirectoryControl (using IrpContext, etc)

svn path=/trunk/; revision=32621
2008-03-09 13:58:25 +00:00
Colin Finck
8083445324 Forgot to change this one as well
svn path=/trunk/; revision=32620
2008-03-09 12:01:59 +00:00
Colin Finck
6b6e759d1c - It is enough to just add a "const" to fix the "deprecated conversion from string constant to 'char*'" warning.
Remove the TempName variable from the previous cabman commit and pass the temp file directly again.
- Add the same "const"'s to sysreg, so that it compiles with gcc >= 4.2 as well

svn path=/trunk/; revision=32619
2008-03-09 11:53:14 +00:00
Colin Finck
54ab4d0d04 Add an arHostRule2 to build host .a files
Fixes building on 64-bit hosts

svn path=/trunk/; revision=32618
2008-03-09 10:59:00 +00:00
Christoph von Wittich
204f88a1f3 disable sysreg - it isn't working anyways
svn path=/trunk/; revision=32617
2008-03-09 10:43:00 +00:00
Christoph von Wittich
1b27484fea fix cabman build with gcc >= 4.2
svn path=/trunk/; revision=32616
2008-03-09 10:41:55 +00:00
Pierre Schweitzer
bec091e658 - Updated NTFS header with the "new" FSF address
- Removed useless field $id in ntfs.rc

svn path=/trunk/; revision=32615
2008-03-08 21:45:51 +00:00
Pierre Schweitzer
246b2527c7 Updated French translation for vgafontedit
svn path=/trunk/; revision=32614
2008-03-08 18:30:37 +00:00
Aleksey Bragin
ac644e6d90 - Leftovers.
svn path=/trunk/; revision=32613
2008-03-08 17:23:03 +00:00
Aleksey Bragin
0132307d9b - Experimentally switch fastfat driver to non-Ros Cc functions, and thus no FSD in ReactOS are using CcRos-specific functions anymore.
- Assume VACB_MAPPING_GRANULARITY as a default cache segment size.
- Use FSD callbacks instead of direct accessing FCB's MainResource via FileObject/FsContext. This allows removing of ObReferenceObject(FileObject) which I had to add some time ago in order to keep FileObject alive for the lazy writer thread.
- IMPORTANT: Testers should thoroughly try this revision in order to see if any new problems appear. If they do appear, this revision will most probably be reverted by me.

svn path=/trunk/; revision=32612
2008-03-08 16:47:41 +00:00
Pierre Schweitzer
c5caa4ae89 Added stubs for CC R/W functions (fixes TODO from r32610)
svn path=/trunk/; revision=32611
2008-03-08 13:17:48 +00:00
Aleksey Bragin
9948ff11e8 - Remove ros-specific Cc functions usage.
- TODO: Provide callbacks for lazy writer and read ahead when calling CcInitializeCacheMap. Could be done similar to r32607 for CDFS.

svn path=/trunk/; revision=32610
2008-03-08 12:14:41 +00:00
Filip Navara
0b0d237b03 Workaround a buggy UINT_PTR definition in the include\host\typedefs.h for 64-bit *nix hosts.
svn path=/trunk/; revision=32609
2008-03-08 11:50:58 +00:00
Filip Navara
017bb6a507 Fix the build.
svn path=/trunk/; revision=32608
2008-03-08 11:08:52 +00:00
Aleksey Bragin
5776256730 - Pass cache manager callbacks structure at every CcInitializeCacheMap() call, it's mandatory.
svn path=/trunk/; revision=32607
2008-03-08 10:35:32 +00:00
Aleksey Bragin
778097fbec - Remove ugly hack from gdiobj.c, official sorry to Timo Kreuzer, his changes were perfect!
- Temporary disable MPW thread shutdown and forcing page flush, since it results in memory corruption.

svn path=/trunk/; revision=32606
2008-03-07 20:49:38 +00:00
Aleksey Bragin
a4374a7549 - One leftover from 32604.
svn path=/trunk/; revision=32605
2008-03-07 19:15:14 +00:00
Aleksey Bragin
85826df2f5 - There is no reason for CDFS to use CcRos-specific functions, it ends up with the same CcRosInit/Uninit with the same CacheSegmentSize = PAGE_SIZE. However, CDFS is probably still hardly compatible with a real NT kernel.
svn path=/trunk/; revision=32604
2008-03-07 17:38:43 +00:00
Aleksey Bragin
bc0269a715 - UGLY HACK dedicated to Timo Kreuzer: Please, fix this issue. Happens only in 2nd stage during shutdown.
svn path=/trunk/; revision=32603
2008-03-07 17:13:02 +00:00
Johannes Anderwald
5938d19c52 - load boot.ini into listbox
svn path=/trunk/; revision=32602
2008-03-07 16:48:07 +00:00
Hervé Poussineau
eb5f071a95 Precompiled headers can depend of generated files
svn path=/trunk/; revision=32601
2008-03-07 15:06:06 +00:00
Hervé Poussineau
5317a642b8 .mc files shouldn't depend of the whole module precondition.
This removes a circular dependency

svn path=/trunk/; revision=32600
2008-03-07 14:44:18 +00:00
Colin Finck
166494a3c7 Update two includes to not rely on target headers anymore
svn path=/trunk/; revision=32599
2008-03-07 14:10:03 +00:00
Colin Finck
88301cc257 - Add the "include" directory as an include to the cabman .rbuild file
- Remove the "include/psdk" directory from widl, it isn't needed after our changes

svn path=/trunk/; revision=32598
2008-03-07 14:07:33 +00:00
Hervé Poussineau
b5b256c1dc Remove useless .mak files
Remove Visual Studio project, it can now be generated from .rbuild file

svn path=/trunk/; revision=32597
2008-03-07 13:02:42 +00:00
Hervé Poussineau
6292cfd146 Replace some .mak files by .rbuild files
svn path=/trunk/; revision=32596
2008-03-07 13:00:41 +00:00
Hervé Poussineau
4a1420beef Move precondition to rules
svn path=/trunk/; revision=32595
2008-03-07 12:56:05 +00:00
Hervé Poussineau
8002abf980 Don't mix host and targets include files
Add HostStaticLibrary type

svn path=/trunk/; revision=32594
2008-03-07 09:17:12 +00:00
Hervé Poussineau
6e49f8efc8 Prevent some FileLocation copies (in LinkerScript and PchFile classes)
svn path=/trunk/; revision=32593
2008-03-07 08:16:26 +00:00
Hervé Poussineau
57640e2c83 Use a .rbuild file instead of a .make file to describe cdmake compilation
svn path=/trunk/; revision=32592
2008-03-07 08:15:23 +00:00
Aleksey Bragin
c99d04c093 - Why dereference a monitor object during successive branch of IntAttachMonitor?
svn path=/trunk/; revision=32583
2008-03-06 11:56:28 +00:00
Christoph von Wittich
4e8e7ffccd Huw Davies : shell32: ABM_GETAUTOHIDEBAR should return a HWND or NULL
Alexander Nicolaysen Sørnes : shell32: Use LocalFree in CommandLineToArgvW.
Rob Shearman : shell32: Memory allocated by CommandLineToArgvW should be that got from LocalAlloc/ LocalReAlloc, not from GlobalAlloc.

svn path=/trunk/; revision=32582
2008-03-06 11:30:26 +00:00
Aleksey Bragin
ac8b86183a - Don't free buffers if they were not allocated.
svn path=/trunk/; revision=32581
2008-03-06 11:11:34 +00:00
Aleksey Bragin
c0a5256ea4 - Don't free buffers if they were not allocated.
svn path=/trunk/; revision=32580
2008-03-06 10:52:55 +00:00
Aleksey Bragin
ae0ebdc3eb - Our precious kernel should be handled with love and care, with thorough check of every change going in! Not with "commit-and-forget" fashion.
- MmSecureVirtualMemory fails in case of Length = 0 too.

svn path=/trunk/; revision=32579
2008-03-06 09:39:36 +00:00
James Tabor
d07ce86ee0 Fix Magnus change. Part II.
svn path=/trunk/; revision=32578
2008-03-06 02:58:07 +00:00
James Tabor
1cd7acbb2e Fix Magnus change.
svn path=/trunk/; revision=32577
2008-03-06 02:55:31 +00:00
Magnus Olsen
09e930fd49 sorry again
Never comited when u are ZzZ

svn path=/trunk/; revision=32576
2008-03-05 23:08:51 +00:00
Magnus Olsen
4355174230 sorry for the break fixed the build
svn path=/trunk/; revision=32575
2008-03-05 23:06:12 +00:00
Magnus Olsen
6802a70b13 Better check for MmSecureVirtualMemory
svn path=/trunk/; revision=32574
2008-03-05 23:01:21 +00:00
Magnus Olsen
5d2e49696e Adding full trace for dxeng api in win32k
svn path=/trunk/; revision=32573
2008-03-05 20:13:46 +00:00
Christoph von Wittich
451da59756 some more syncing
svn path=/trunk/; revision=32572
2008-03-05 16:15:10 +00:00
Aleksey Bragin
3e82239919 - intrin.h should not be included. Fixes MSVC compiling.
svn path=/trunk/; revision=32571
2008-03-05 16:13:16 +00:00
Christoph von Wittich
403588968d partial sync to wine
svn path=/trunk/; revision=32570
2008-03-05 15:45:09 +00:00
Daniel Reimer
775583729b Bug 3119: Italian translation to JOY.CPL by Carlo Bramini (carlo.bramix@libero.it)
svn path=/trunk/; revision=32569
2008-03-05 13:41:58 +00:00
Christoph von Wittich
e25c14e08c remove unneeded definitions
define cmp_name as __cdecl

svn path=/trunk/; revision=32568
2008-03-05 08:12:11 +00:00
Christoph von Wittich
f6b757cd37 #define inline __inline for msvc
svn path=/trunk/; revision=32567
2008-03-05 08:09:56 +00:00
Christoph von Wittich
68844e0d8e don't include unistd.h in msvc builds
add some x64 declarations from wine to port.h

svn path=/trunk/; revision=32566
2008-03-05 08:06:17 +00:00
Christoph von Wittich
d3ea26544a msvc compat fix
svn path=/trunk/; revision=32565
2008-03-05 08:02:02 +00:00
Magnus Olsen
93f970da42 Implemented : DxEngLockHdev, DxEngUnlockHdev
Thanks jimtabor for the help with these two. 

svn path=/trunk/; revision=32564
2008-03-04 23:35:01 +00:00
Christoph von Wittich
bf6e811015 only destroy objects which are valid
svn path=/trunk/; revision=32563
2008-03-04 20:41:59 +00:00
Gregor Brunmar
1fda7b73f9 Implemented IDirect3D::CheckDepthStencilMatch()
svn path=/trunk/; revision=32562
2008-03-04 17:39:33 +00:00
Magnus Olsen
0e8b12430a Fixed smaller bug in DdCreateSurface callbacks the surface handle count was setup wrong before it was pass down to win32k
svn path=/trunk/; revision=32557
2008-03-04 07:43:56 +00:00
Andrew Munger
182594bf42 If it wasn't for things like this, I would never commit.
This one goes out to TechBot.

svn path=/trunk/; revision=32556
2008-03-04 04:03:03 +00:00
Timo Kreuzer
6340263b92 call PsGetCurrentThreadWin32Thread() and PsGetCurrentProcess() only once
svn path=/trunk/; revision=32555
2008-03-04 00:22:07 +00:00
Timo Kreuzer
5089fe1d77 replace another #if with GDIDBG macro
svn path=/trunk/; revision=32554
2008-03-04 00:18:45 +00:00
Timo Kreuzer
351736138c [FORMATTING] apply a consistent indentation (4 spaces), no code change
svn path=/trunk/; revision=32553
2008-03-04 00:14:11 +00:00
Timo Kreuzer
7f8158f09e replace a bunch of #if's with GDIDBG_... macros
svn path=/trunk/; revision=32552
2008-03-03 23:35:12 +00:00
Timo Kreuzer
70e882a880 fix a wrong typecast
svn path=/trunk/; revision=32551
2008-03-03 23:01:28 +00:00
Magnus Olsen
5a081cfc0a implemented DdCreateD3DBuffer callbacks and some cleanup
svn path=/trunk/; revision=32550
2008-03-03 20:54:18 +00:00
Daniel Reimer
e8678dcf3a Bug 3113: Czech translation update (radekliska@gmail.com)
Bug 3110: some new slovak translations and small patches by Mario Kacmar (kario@szm.sk)

svn path=/trunk/; revision=32549
2008-03-03 18:14:36 +00:00
Aleksey Bragin
fad1031b37 - Implement MiShutdownMemoryManager (stops MPW thread and writes all dirty pages to disk).
- Move MiShutdownMemoryManager invocation to where it should really happen (before filesystems shutdown).
- As a result, MPW doesn't have a chance to flush pages when filesystems are already down. However, 1st assertion as mentioned in bug 2872 still happens. 2nd one is gone.
See issue #2872 for more details.

svn path=/trunk/; revision=32547
2008-03-03 18:03:04 +00:00
Colin Finck
3171081397 Put all the stuff from "ntoskrnl.rbuild" into a new file "ntoskrnl-generic.rbuild", which is then included by "ntoskrnl.rbuild".
Simplifies building the kernel as the same stuff is also needed in "ntkrnlmp.rbuild", which now defines CONFIG_SMP and then just includes "ntoskrnl-generic.rbuild".
Also added a disabled "ntkrnlmp.rbuild" entry to "ReactOS-generic.rbuild" (disabled, because building the SMP kernel is broken atm)

svn path=/trunk/; revision=32546
2008-03-02 20:18:17 +00:00
Magnus Olsen
a51cfbb700 Fixed all known issue with DdCreateSurface in gdi32, it works with more that one surface now.
svn path=/trunk/; revision=32545
2008-03-02 18:19:08 +00:00
Magnus Olsen
34ca690ad8 small change in DdCreateSurface. now we pass down all usermode surface data to win32k.
left todo is translate back all surface data. 


svn path=/trunk/; revision=32544
2008-03-02 17:50:11 +00:00
Magnus Olsen
934349678c started adding support for more that one surface in DdCreateSurface
svn path=/trunk/; revision=32543
2008-03-02 16:28:54 +00:00
Gregor Brunmar
a6791bac5d * Implemented IDirect3D::CheckDeviceFormatConversion()
* Replaced all LocalAlloc() with HeapAlloc() and LocalFree() with HeapFree() on recommendation from GreatLord

svn path=/trunk/; revision=32542
2008-03-02 14:12:24 +00:00
Gregor Brunmar
37eaa4b5db Implemented IDirect3D:CheckDeviceFormat()
svn path=/trunk/; revision=32541
2008-03-02 12:29:35 +00:00
Aleksey Bragin
c5d9b2c282 - The bootloader must zero user shared data page before passing control to the kernel. This fixes the "invalid timer state", "assert(SharedUserData->NumberOfPages == 0" family of bugs after warm reboot.
See issue #3085 for more details.

svn path=/trunk/; revision=32540
2008-03-02 10:26:59 +00:00
Magnus Olsen
676473212e finish implemented of DvpVideoport, misc, misc2, Color Control, NT callbacks not tested to 100% yet
stub up almost all callbacks that DdGetDriverInfo setup, mark out where DirectX DdBltAlphaBlend  are 
ReactOS gdi32.dll  was tested in windows xp and it seam working fine with dx1-7 at moment, even not everything are finish. 

svn path=/trunk/; revision=32539
2008-03-01 17:28:44 +00:00
Hervé Poussineau
797c6d5a2c Clean up generated makefile.auto
svn path=/trunk/; revision=32538
2008-02-29 16:02:54 +00:00
Hervé Poussineau
f4ebb925aa Use Rule class to describe .c/.cpp file compilation
svn path=/trunk/; revision=32537
2008-02-29 15:03:37 +00:00
Johannes Anderwald
84b673def2 - simplify code by using FindLanguageIndex for various string, error, page functions
- fixes a crash when no hdd is attached
See issue #3109 for more details.

svn path=/trunk/; revision=32536
2008-02-29 14:27:32 +00:00
Hervé Poussineau
67a14cca83 Don't test if the variable is not NULL if it is always allocated
Fix another typo

svn path=/trunk/; revision=32535
2008-02-29 13:45:19 +00:00
Hervé Poussineau
b720f079e2 Please at least test your changes before committing
svn path=/trunk/; revision=32534
2008-02-29 13:36:07 +00:00
Christoph von Wittich
4e921b8071 fix some more memory leaks
svn path=/trunk/; revision=32533
2008-02-29 13:26:28 +00:00
Christoph von Wittich
039ca2f9c2 fix some memory leaks
svn path=/trunk/; revision=32532
2008-02-29 12:53:26 +00:00
Hervé Poussineau
332ba6aba9 Remove parameters from GenerateLinkerCommand() ; they can be detected there
Factorize some code in GenerateCommands()

svn path=/trunk/; revision=32531
2008-02-29 12:45:34 +00:00
Christoph von Wittich
9ee80a9a2a fix msvc build
svn path=/trunk/; revision=32530
2008-02-29 12:24:56 +00:00
Hervé Poussineau
8ea8606e67 GetObjectFilename() shouldn't be able to modify the list of generated files
svn path=/trunk/; revision=32529
2008-02-29 12:10:07 +00:00
Hervé Poussineau
2e5a259812 Prevent passing of useless parameters
Decide how to compile a file at last moment, in GenerateGccCommand()
Fix a memory leak

svn path=/trunk/; revision=32528
2008-02-29 11:33:34 +00:00
Aleksey Bragin
7449ba7de2 - Fix memory corruption, thanks to Alex for reporting.
svn path=/trunk/; revision=32527
2008-02-29 09:43:36 +00:00
Aleksey Bragin
3c8c05443a Samuel Serapion <samcharly@hotmail.com>
- Make the ext2 dbgprint not annoying.

svn path=/trunk/; revision=32526
2008-02-28 14:51:41 +00:00
Hervé Poussineau
36f0da37ea Use a generic .spec file, instead of a .def file per architecture
svn path=/trunk/; revision=32525
2008-02-28 14:13:07 +00:00
Aleksey Bragin
a7fe55dbe5 - Fix coding style in some places.
svn path=/trunk/; revision=32524
2008-02-28 14:05:47 +00:00
Aleksey Bragin
01211c8fa1 - Remove duplicates, add STATUS_SUCCESS define (which gets commented out by wmc for now).
- Add STATUS_WAIT_X and STATUS_INSUFFICIENT_RESOURCES codes.

svn path=/trunk/; revision=32523
2008-02-28 13:52:54 +00:00
Aleksey Bragin
a49e6640b4 - If BASEDIR env var is set to point to your WDK installation, make msvcX will take it into account, and add additional include directories for WDK headers and libraries for all kernelmode modules.
svn path=/trunk/; revision=32522
2008-02-28 13:35:09 +00:00
Aleksey Bragin
3de0480cae - Fix leaking an entry in some cases during ObpFreeCapturedAttributes call. For more details: http://www.reactos.org/forum/viewtopic.php?t=5311.
svn path=/trunk/; revision=32521
2008-02-28 11:37:14 +00:00
Aleksey Bragin
ed6ebdede8 - Bump some Lsa debug messages from FIXME to TRACE, to prevent debug log spamming (their importance is rather low right now).
svn path=/trunk/; revision=32520
2008-02-28 11:10:18 +00:00
Colin Finck
19d6003deb Fix portcls build, broken in r32517, by moving the header inclusion order in "portcls.h" around.
I checked this with MS DDK and its "wdm.h" file also defines no types and depends on a previously included "ntddk.h" by the driver.

svn path=/trunk/; revision=32519
2008-02-27 22:47:56 +00:00
Aleksey Bragin
2fad0ee98f - This bug most probably is solved ages ago, but for testing purposes I enable this message before removing the check. Later could be substituted with an ASSERT.
svn path=/trunk/; revision=32518
2008-02-27 20:54:27 +00:00
Aleksey Bragin
1aaa081b2d - The forgotten declaration.
svn path=/trunk/; revision=32517
2008-02-27 20:50:41 +00:00
Aleksey Bragin
13dff8f1b1 Code cleanup:
- Move NtGlobalFlag declaration to wdm.h (which Emanuele wanted to do since it was committed in revision 1137).
- Remove unneeded declarations added by Filip in revision 9660 and Thomas in revision 14058, they all are in the proper headers already for a long time.

svn path=/trunk/; revision=32516
2008-02-27 20:35:51 +00:00
Aleksey Bragin
ce7c9d5844 - Automatically create an entry for ntldr-style booting of ReactOS kernel in freeldr.ini.
- = EXPERIMENTAL, IT WON'T WORK YET, SO DON'T COMPLAIN = -

svn path=/trunk/; revision=32515
2008-02-27 20:13:34 +00:00
Colin Finck
1d57e7d51b The C99 __VA_ARGS__ is also supported under GCC, no reason to add a compiler switch here and use ##args for GCC
svn path=/trunk/; revision=32514
2008-02-27 19:58:48 +00:00
Colin Finck
0e419d44d8 - Remove an unneeded MSVC block in windef.h and indent the definition of the "min" and "max" macros
- Shuffle the header inclusion order in charmap around, so that it compiles warning-free under MSVC (at /W3)

svn path=/trunk/; revision=32513
2008-02-27 14:57:47 +00:00
Christoph von Wittich
2233f3c7cc don't link to ntdll
svn path=/trunk/; revision=32512
2008-02-27 14:27:49 +00:00
Christoph von Wittich
9f846e1db8 revert last change - it is a problem with reactos psdk headers
svn path=/trunk/; revision=32511
2008-02-27 14:15:57 +00:00
Christoph von Wittich
14a4c03189 fix msvc build
svn path=/trunk/; revision=32510
2008-02-27 14:14:16 +00:00
Christoph von Wittich
4dbc9374c3 rc doesn't like \" - use "" instead
svn path=/trunk/; revision=32509
2008-02-27 13:51:10 +00:00
Sylvain Petreolle
c969f02a7e include Fr.rc and Nl.rc
svn path=/trunk/; revision=32508
2008-02-27 12:52:07 +00:00
Christoph von Wittich
79c6e213ad fix path to msvc def file
svn path=/trunk/; revision=32507
2008-02-27 12:27:45 +00:00
Christoph von Wittich
420b99bdde fix formatting and msvc build
svn path=/trunk/; revision=32506
2008-02-27 12:27:16 +00:00
Daniel Reimer
f60d4ec823 Somehow these got lost in a past sync. Added French and Netherlands Translation to XCopy.
svn path=/trunk/; revision=32505
2008-02-27 12:04:30 +00:00
Daniel Reimer
53c21ea773 Update Winhelp and Wordpad to Wine 0.9.56
svn path=/trunk/; revision=32504
2008-02-27 11:55:59 +00:00
Daniel Reimer
f071b75aa2 Bug 3105: Italian resources update by Paolo Devoti - devotip@tiscali.it
Bug 3106: Ukrainian translation update by Artem Reznikov - temarez@yandex.ru

svn path=/trunk/; revision=32503
2008-02-27 11:29:17 +00:00
Daniel Reimer
17a48f69ae Bug 3105: Italian resources update by Paolo Devoti - devotip@tiscali.it
Bug 3106: Ukrainian translation update by Artem Reznikov - temarez@yandex.ru

svn path=/trunk/; revision=32502
2008-02-27 11:28:34 +00:00
Christoph von Wittich
6da06e7853 remove duplicated code
svn path=/trunk/; revision=32501
2008-02-27 10:54:25 +00:00
Christoph von Wittich
d49acd34e8 move variable declarations to top
reduce flickering

svn path=/trunk/; revision=32500
2008-02-27 10:53:59 +00:00
Magnus Olsen
8a104be4fc implmented follow callbacks in gdi32
DvpGetVideoPortBandwidth, DvpColorControl, DvpGetVideoSignalStatus, DvpGetVideoPortFlipStatus,  DvpCanCreateVideoPort,  DvpWaitForVideoPortSync,  DvpUpdateVideoPort

svn path=/trunk/; revision=32499
2008-02-27 01:36:56 +00:00
Timo Kreuzer
8000a006f2 fix build, sorry
svn path=/trunk/; revision=32498
2008-02-26 23:25:24 +00:00
Timo Kreuzer
c11d265144 Bye, bye, GDIOBJ header! You've served us well, but now the time has come for you to make room for BASEOBJECT.
Also bye, bye, HandleTable parameter. You've never done any reasonable job, so no one will be missing you.

svn path=/trunk/; revision=32497
2008-02-26 23:09:20 +00:00
Gregor Brunmar
314611d68d Implemented IDirect3D9::CheckDeviceType()
svn path=/trunk/; revision=32496
2008-02-26 21:33:04 +00:00
Gregor Brunmar
ec108a7c35 Added D3DCAPS8 to d3dhal.h
svn path=/trunk/; revision=32495
2008-02-26 21:18:32 +00:00
Colin Finck
3ad8ee1191 Don't define NDEBUG in the .rbuild file, but before the inclusion of debug.h (like we have it for all ROS components)
svn path=/trunk/; revision=32494
2008-02-26 16:00:00 +00:00
Christoph von Wittich
3c437562b5 some MSVC compat fixes
svn path=/trunk/; revision=32493
2008-02-26 15:23:57 +00:00
Christoph von Wittich
5f67896462 only get the last error code when it is needed
svn path=/trunk/; revision=32492
2008-02-26 14:04:35 +00:00
Christoph von Wittich
271529ea21 fix formatting
svn path=/trunk/; revision=32491
2008-02-26 13:54:12 +00:00
Christoph von Wittich
232221602a don't try to wait on a NULL handle
don't try to close a NULL handle

svn path=/trunk/; revision=32490
2008-02-26 13:48:22 +00:00
Hervé Poussineau
3374624325 Fix indentation, broken in r32487
svn path=/trunk/; revision=32489
2008-02-26 13:39:22 +00:00
Christoph von Wittich
518637c89c fix some format strings
svn path=/trunk/; revision=32488
2008-02-26 13:09:41 +00:00
Christoph von Wittich
1a43baa3d1 fix a possible memory leak
svn path=/trunk/; revision=32487
2008-02-26 12:52:59 +00:00
Dmitry Chapyshev
17a4f40fbe - Update Russian translation
svn path=/trunk/; revision=32486
2008-02-26 05:51:04 +00:00
Timo Kreuzer
d8582b6bd2 - add BASEOBJECT to brush, palette, font and region structures- fix debug output
svn path=/trunk/; revision=32485
2008-02-26 01:00:34 +00:00
Magnus Olsen
8779081ea2 implemet follow for the callback interface videoport in gdi32.dll/win32/gdi32/misc/gdientry.c
DvpCreateVideoPort, DvpDestroyVideoPort, DvpFlipVideoPort 
Bugfix : DdGetDriverInfo for the videoport callback interface set the pUserDvdPort->dwFlags right 8not tested in windows yet)
Bugfix : DdQueryDirectDrawObject forget two d3d* callbacks to setup propert to user mode.




svn path=/trunk/; revision=32484
2008-02-25 22:21:33 +00:00
Colin Finck
3b1a6d89ac Don't return if no keyboard or mouse is present. Instead continue detecting the devices.
The returns were replaced by INFO's for debug output. Fireball or hpoussin, please review if this fix is ok or if we need to add some more handling for these cases.

See issue #2790 for more details.

svn path=/trunk/; revision=32483
2008-02-25 21:59:19 +00:00
Colin Finck
d31f977a47 - Add Copy & Paste functions for whole characters
- Add an "Edit" menu now that we have some more menu items belonging to this category

svn path=/trunk/; revision=32482
2008-02-25 18:01:06 +00:00
Christoph von Wittich
ac53928d2c fix a typo
svn path=/trunk/; revision=32479
2008-02-25 14:25:15 +00:00
Dmitry Chapyshev
28aac8858c - Fix build
svn path=/trunk/; revision=32478
2008-02-25 13:07:51 +00:00
Dmitry Chapyshev
463a09947a - Fix typos
svn path=/trunk/; revision=32477
2008-02-25 12:27:49 +00:00
Daniel Reimer
2dadd4f793 Bug 3093: Bulgarian language update of Vgafonteditor by sstpr@narod.ru
svn path=/trunk/; revision=32476
2008-02-25 10:29:44 +00:00
Daniel Reimer
d6e4ad8755 Bug 3092: Bulgarian translation update by sstpr@narod.ru
svn path=/trunk/; revision=32475
2008-02-25 10:29:41 +00:00
Daniel Reimer
e0ca9a8b6e 4 Spaces to tabs. The whole file uses tabs, so..
svn path=/trunk/; revision=32474
2008-02-25 09:48:07 +00:00
Timo Kreuzer
16956db4f1 - Reference CursorIcon before deleting it
- IntGetPaintMessage: Set MessageQueue->PaintCount to 0, if no dirty Window is found. Stops spamming the debuglog, once is enough.
- UserGetDCEx: Check if a dce's hDC is valid, if not warn and create a new one. With our current code those hDCs should never get deleted, but this is also a hack, on Windows you can delete them.
- Don't dump the stack backtrace twice in GDIOBJ_Xxx functions

svn path=/trunk/; revision=32473
2008-02-25 01:32:17 +00:00
Magnus Olsen
390717a188 Cleanup : DdDestroySurface,
implement : D3dContextCreate, DdCanCreateD3DBuffer, DdDestroyD3DBuffer, DdLockD3D, DdUnlockD3D
Misc :
DdFlip (left surface implemeted support for), 
DdCreateDirectDrawObject (use DeleteDC for we using the share memory for deleted a dc at usermode), 
DdQueryDirectDrawObject (implemted d3d support and smaller bugfix
DdGetDriverInfo (started implemented this)


svn path=/trunk/; revision=32472
2008-02-25 01:02:00 +00:00
Aleksey Bragin
a4cad73564 - Do not *silently* hardcode USER_SHARED_DATA to physical page 2! It's purely FreeLdr's decision to place PCR on the page 1. Instead, rely on an assumption that shared data always follows PCR's page. NT relies on the same assumption.
svn path=/trunk/; revision=32471
2008-02-24 18:03:17 +00:00
Aleksey Bragin
ef3cc678bc - ntldr marks pages allocated for PCR and USER_SHARED_DATA as StartupPcrPage, not as MemoryData. In fact, it's the only way of finding where the PCR page is located physically.
svn path=/trunk/; revision=32470
2008-02-24 17:19:00 +00:00
Aleksey Bragin
04116e8dd6 - Isolate the NLS-tables hack so that it's applied only when really needed (freeldr boot process always requires the hack, winldr boot process does not).
svn path=/trunk/; revision=32469
2008-02-24 17:06:10 +00:00
Ged Murphy
220e309727 fix warning
svn path=/trunk/; revision=32468
2008-02-24 12:45:10 +00:00
Marc Piulachs
67e5a63f04 Spanish localizations by Javier Ramacha
new :appwiz-new 
updated: usetup, console, shell32, syssetup, user32 and win32csr

See issue #3100 for more details.

svn path=/trunk/; revision=32466
2008-02-24 11:54:38 +00:00
Dmitry Chapyshev
3641fbcc8f - Increase sizes ComboBox's
svn path=/trunk/; revision=32465
2008-02-24 11:44:33 +00:00
Dmitry Chapyshev
f87aaee1e6 - Change ListBox to ListView
- Added list of code pages

svn path=/trunk/; revision=32464
2008-02-24 10:56:35 +00:00
Aleksey Bragin
fae9aa5c48 - Save original value of the free descriptor we're using to alloc early pages from.
- Fix handling of PFN database pages inside PFN: largest free descriptor does not always end with the highest usable physical page (MmPageArraySize). This removes the need for a "good hack" introduced in revision 32405. As a result, the memory above the largest free descriptor (if it exists) is now correctly marked in the PFN database as free and added to the unzeroed list.

svn path=/trunk/; revision=32463
2008-02-24 10:43:56 +00:00
Pierre Schweitzer
a68d895e4d - Added more checks when mounting a volume (based on: http://technet2.microsoft.com/windowsserver/en/library/8cc5891d-bf8e-4164-862d-dac5418c59481033.mspx)
- Removed some useless debug
Thanks to Hervé

svn path=/trunk/; revision=32462
2008-02-24 10:06:37 +00:00
Timo Kreuzer
2b17735b1a don't free the memory for the palette entries in IntSetPalette. Fixes bug 3072
See issue #3072 for more details.

svn path=/trunk/; revision=32461
2008-02-24 03:12:38 +00:00
Pierre Schweitzer
e0edb0dac7 [FORMATTING] Fix indentation (only for functional code)
svn path=/trunk/; revision=32460
2008-02-23 21:52:30 +00:00
Dmitry Chapyshev
30a4fa94e3 - Fix formatting
- Update all languages
- Delete non-translated files

svn path=/trunk/; revision=32458
2008-02-23 17:48:50 +00:00
Sylvain Petreolle
e56ca759ce add missing winetests : hlink & schannel,
.rbuild fixes


svn path=/trunk/; revision=32456
2008-02-22 21:01:47 +00:00
Sylvain Petreolle
dba2342316 Fix SmpSetEnvironmentVariable return status
svn path=/trunk/; revision=32455
2008-02-22 18:29:37 +00:00
Aleksey Bragin
0c8475d7ca - Kernel's entry point is called KiSystemStartup, not NtProcessStartup (now it's done correctly).
svn path=/trunk/; revision=32450
2008-02-22 13:41:37 +00:00
Aleksey Bragin
5b1c7de117 - We're comparing WCHARs, not CHARs, spotted by Ged Murphy.
svn path=/trunk/; revision=32448
2008-02-22 11:47:20 +00:00
Aleksey Bragin
fc56cc8116 Pierre Schweitzer <heis_spiter@hotmail.com>
- Implement FsRtlDissectName() based on MSDN description. Improvements and bugfixes to the patch were made by Aleksey Bragin.

svn path=/trunk/; revision=32447
2008-02-22 10:50:26 +00:00
Marc Piulachs
3488e13934 - Move hostname command line application to /base/applications/cmdutils/hostname
- Add eventvwr to bootcd , it refuses to load under ros but highlights a problem with RPC that hopefully someone will investigate

svn path=/trunk/; revision=32444
2008-02-21 21:58:40 +00:00
Marc Piulachs
05c276dc6d - Modified to use the screensaver library
- Reduce the amount of code to minimum
- Remove unneeded resources

svn path=/trunk/; revision=32442
2008-02-21 17:07:01 +00:00
Timo Kreuzer
61c8c586eb FORMATTING: apply consistent indentation, no code change
svn path=/trunk/; revision=32441
2008-02-21 02:40:23 +00:00
Colin Finck
ce08340bab Fix butterflies' build
All screensavers using the scrnsave library must be compiled with Unicode now.

svn path=/trunk/; revision=32439
2008-02-20 22:14:36 +00:00
James Tabor
25b4943288 Goodbye xpstubs.c.
svn path=/trunk/; revision=32438
2008-02-20 21:43:49 +00:00
Colin Finck
cfe2ae5fcf - Remove much Win9x-specific stuff from the scrnsave library and make it more compatible to the MS version of the library
- Change the 3dtext screensaver to use the library
- Reduce the amount of code in the blankscr screensaver to a minimum
- Remove unneeded resources from both screensavers
- Indentation fixes, MSVC build and warning fixes, small translation fixes, etc. for both screensavers and the library

See issue #2966 for more details.

svn path=/trunk/; revision=32437
2008-02-20 21:43:41 +00:00
Johannes Anderwald
793ebfdd18 - fix a few issues to make it compilable with current RosBE
- does not yet link

svn path=/trunk/; revision=32436
2008-02-20 20:58:39 +00:00
James Tabor
cdf837bb71 Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com): CLeanup win32k. Remove xpstubs.c.
svn path=/trunk/; revision=32435
2008-02-20 20:53:36 +00:00
Johannes Anderwald
9cd1948c7d - fix compilation with msvc
svn path=/trunk/; revision=32432
2008-02-20 19:13:52 +00:00
Dmitry Chapyshev
1be9788940 - Update Russian translation
svn path=/trunk/; revision=32431
2008-02-20 14:19:56 +00:00
Timo Kreuzer
d4002d1793 Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- move bad ntuser syscalls in ntuser.h to the bottom
- sort win32k export list alphabetically
- remove Win32kInitialize and NtGdiGetAspectRatioFilterEx
by myself:
- add missing exports to win32k.def (all from xp)

svn path=/trunk/; revision=32430
2008-02-20 03:01:46 +00:00
Daniel Reimer
0926311854 Bug 3090: Czech translation for cacls, more & find by radekliska@gmail.com
Usetup Polish Translation Update by Olaf Siejka

svn path=/trunk/; revision=32429
2008-02-19 22:55:36 +00:00
Timo Kreuzer
1bd028f33b Remove typecasts PBITMAPOBJ <-> PSURFOBJ. Use GDIOBJ_ShareLockObj / _UnlockObjByPtr instead of Eng(Un)LockSurface as BITMAPOBJ_Un/LockObj. Add BASEOBJECT to the BITMAPOBJ structure.
svn path=/trunk/; revision=32428
2008-02-19 22:21:39 +00:00
Daniel Reimer
71719dc6bd Okokok, I dont know why someone should feel the urge to translate MB, KB, and GB (Except specific languages...), but here they are.
svn path=/trunk/; revision=32427
2008-02-19 21:31:09 +00:00
Sylvain Petreolle
2b750b9312 - Update French translation
svn path=/trunk/; revision=32425
2008-02-19 19:56:35 +00:00
Dmitry Chapyshev
2b0d89029b - Update Russian translation
svn path=/trunk/; revision=32424
2008-02-19 19:45:09 +00:00
Daniel Reimer
71e5c4f705 Once more, some more Strings open for translation. Have fun with 'em.
svn path=/trunk/; revision=32423
2008-02-19 19:37:49 +00:00
Aleksey Bragin
f02a1fde1b - Fix a typo.
svn path=/trunk/; revision=32422
2008-02-19 17:52:37 +00:00
Aleksey Bragin
d778208661 - Fix dxg's includes.
svn path=/trunk/; revision=32421
2008-02-19 17:18:18 +00:00
Daniel Reimer
3b15454a1c Bug 3089: Ukrainian translation update by Artem Reznikov - temarez@yandex.ru
svn path=/trunk/; revision=32420
2008-02-19 15:43:41 +00:00
Timo Kreuzer
ebc9271c72 some cleanup
- move NtGdiFlushUserBatch prototype to ntgdi.h
- move pool tags from ntgdihdl.h to win32k/tags.h
- move DC struct from ntgdihdl.h to win32k/dc.h
- replace GDIEMPTYHDR with BASEOBJECT
- use BASEOBJECT in DC and GDIDEVICE structures
- rename some NtGdiXxx functions that don't deserve that name and remove some that were defined by a macro, but don't exist on windows (#if 0'ed atm)
- remove RetrieveDisplayHDC() prototype (doesn't exist)

svn path=/trunk/; revision=32419
2008-02-18 23:05:41 +00:00
Daniel Reimer
974d39b35a Bug 3088: Polish locale update: usetup + appwiz-new by Olaf Siejka - olaf_siejka@o2.pl
svn path=/trunk/; revision=32418
2008-02-18 22:19:07 +00:00
Filip Navara
3c9d01e308 Fix counting of MmStats.NrFreePages.
svn path=/trunk/; revision=32417
2008-02-18 21:43:45 +00:00
Daniel Reimer
7a70a9faa2 Add German Translation to appwiz-new.
remove DS_FIXEDSYS, it is already set by DS_SHELLFONT.
Fix some Strings in en-EN.rc.

svn path=/trunk/; revision=32416
2008-02-18 21:41:13 +00:00
Dmitry Chapyshev
a7b139cb97 - Fix formating
- Add Russian translation

svn path=/trunk/; revision=32415
2008-02-18 21:14:53 +00:00
Sylvain Petreolle
6414c8b9c9 french translation for appwiz-new
little fixes


svn path=/trunk/; revision=32414
2008-02-18 20:39:49 +00:00
Dmitry Chapyshev
2894069d91 - Small fix
svn path=/trunk/; revision=32413
2008-02-18 20:20:02 +00:00
Dmitry Chapyshev
631c91d1d6 - Implement new appwiz
svn path=/trunk/; revision=32412
2008-02-18 17:25:40 +00:00
Marc Piulachs
75802363b0 Spanish localizations by Javier Ramacha
Updated: control, solitaire, servman, 3dtext, taskmgr, explorer and expand
New: msconfig

See issue #3078 for more details.

svn path=/trunk/; revision=32411
2008-02-18 17:19:52 +00:00
Dmitry Chapyshev
add204da80 - Update Russian translation
svn path=/trunk/; revision=32410
2008-02-17 22:21:30 +00:00
Daniel Reimer
0d5a01f9a8 Seems like there got one string lost... fixed now. Thx to Kario for noticing.
svn path=/trunk/; revision=32409
2008-02-17 21:57:55 +00:00
Sylvain Petreolle
3a1cc7da3f french usetup translation update
see complete filenames when "Copying file :"

svn path=/trunk/; revision=32408
2008-02-17 19:56:37 +00:00
Filip Navara
24153f3ee9 Fix some typos.
svn path=/trunk/; revision=32407
2008-02-17 19:39:28 +00:00
Daniel Reimer
5ff1cb40f4 Bug 3070: Ukrainian translation update by Artem Reznikov - temarez@yandex.ru
Bug 3078: czech translation for solitaire by radekliska@gmail.com
Bug 3083: usetup update by Paolo Devoti - devotip@tiscali.it
Added the English Strings to all USETUP Resources and activated these. This makes translating easier.
Renamed German to Deutsch and Russian to Russkij, which seems like it does not work... (thx to Caemyr anyway)

svn path=/trunk/; revision=32406
2008-02-17 18:05:08 +00:00
Aleksey Bragin
750bf31ad3 - Fix a bug, when the page first was marked as free and put into free pages list to zero out, and then was marked as used for PFN database, but *not* removed from that list! Certainly it was zeroed out later, introducing a corruption within the free list and a pagefault.
- This revision completely removes hacks introduced in 32386.
See issue #3076 for more details.

svn path=/trunk/; revision=32405
2008-02-17 16:24:24 +00:00
Gregor Brunmar
aa6f9c2d05 Fixed duplicate typedef in DirectX headers for real this time :)
svn path=/trunk/; revision=32404
2008-02-17 14:51:26 +00:00
Gregor Brunmar
751b0ea821 Fixed duplicate typedefs in DirectX headers
svn path=/trunk/; revision=32403
2008-02-17 14:40:23 +00:00
Gregor Brunmar
aea05840ef Oops, removed OsThunkD3dDrawPrimitives2 from d3d8thk.h.
svn path=/trunk/; revision=32402
2008-02-17 13:42:02 +00:00
Gregor Brunmar
df7c6698f8 * Updated d3d headers to make it possible to include both d3d and d3d9 at the same time.
* Updated d3dhal.h to support DirectX 9
* Fixed broken d3dnthal.h
* Fixed missing structures in d3d8thk.h

svn path=/trunk/; revision=32401
2008-02-17 13:34:59 +00:00
Aleksey Bragin
e86380de7f - Zero early-allocated pages for PFN DB itself, as suggested on the ros-dev mailing list, and hyperspace mapping seems to work, at least on x86. Fixes the "warm reboot-bug" in 2nd stage.
svn path=/trunk/; revision=32400
2008-02-17 13:08:28 +00:00
Colin Finck
cc6beed26a - Only add a command for deleting the proxy makefile, when one was really generated.
Should fix all those "Error 1 (ignored)" warnings (if there aren't even more problems ;-)
- Include <algorithm> in modulehandler.cpp. Fixes compilation with MSVC.
- Add _CRT_SECURE_NO_WARNINGS to the MSVC project file to disable a bunch of MSVC warnings.

svn path=/trunk/; revision=32399
2008-02-16 23:45:23 +00:00
Colin Finck
de244cca92 [FORMATTING]
- 2 spaces --> 4 spaces
- some other changes to make the code style consistent with most ROS code
- Change in the .rbuild file to treat warnings as errors (the lib currently doesn't spit out any warnings, so it shouldn't do in the future)

svn path=/trunk/; revision=32398
2008-02-16 23:07:40 +00:00
Colin Finck
9cd6c52bd6 Fix 64-bit build (again.. :-/)
svn path=/trunk/; revision=32397
2008-02-16 22:49:52 +00:00
Colin Finck
9f5d2684e0 /Wp64 and __w64 are deprecated beginning with Visual C++ 2008.
Remove the /Wp64 switch from the cabman project file (no idea why it was enabled anyway ;-) and the _W64 macros from the code.

svn path=/trunk/; revision=32395
2008-02-16 22:21:59 +00:00
Daniel Reimer
c87abac6d8 Once more... make it possible to translate usetup COMPLETELY. (I hope this time I am right....)
svn path=/trunk/; revision=32392
2008-02-16 18:58:05 +00:00
James Tabor
d04bc15143 - Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com): Removed NtGdiStretchDIBits and NtGdiAddFontResource. Replaced with correct API.
svn path=/trunk/; revision=32391
2008-02-16 18:14:36 +00:00
Dmitry Chapyshev
8776390d01 - Add Arabic and Czech languages to list
svn path=/trunk/; revision=32390
2008-02-16 17:36:34 +00:00
Dmitry Chapyshev
c066249bd7 - Add small checking
- Fix formating

svn path=/trunk/; revision=32389
2008-02-16 17:28:58 +00:00
Dmitry Chapyshev
a8bcd72318 - Add libpng 1.2.24 (from libpng.org)
svn path=/trunk/; revision=32388
2008-02-16 16:23:33 +00:00
Dmitry Chapyshev
80065596da - Update Russian translation
svn path=/trunk/; revision=32387
2008-02-16 15:26:00 +00:00
Aleksey Bragin
d9fead36b6 - Add a hacked and incorrect (due to absence of checking for BIOS-reserved memory areas) MiInitializePageList from 32371. This allows 1st stage to work, and 2nd stage to work from the first power up.
- Real, new, [bugless] MiInitializePageList is #if0-#endif'ed until a problem in it is identified and fixed.

svn path=/trunk/; revision=32386
2008-02-16 14:56:56 +00:00
Gregor Brunmar
6fc7a4d3a5 Implemented IDirect3D::GetDeviceCaps()
svn path=/trunk/; revision=32385
2008-02-16 11:17:46 +00:00
ReactOS Portable Systems Group
8a623c61d3 On systems with large enough memory (or lots of drivers already loaded), we actually need another PDE to hold the new PTEs to represent the PFN database, since we go past the initial PDEs that come from FreeLDR. On those systems, we would try allocating a new page to hold the PDE, and crash, since the PFN database isn't setup. We now have an MmAllocPageEarly routine which is called during Mm bootstrapping to resolve this issue.
svn path=/trunk/; revision=32383
2008-02-15 20:52:36 +00:00
Daniel Reimer
8f7384d246 Bug 3053: some slovak translations by Mário Kaèmár - kario@szm.sk
svn path=/trunk/; revision=32382
2008-02-15 19:36:22 +00:00
Daniel Reimer
f82a51ce35 Bug 3053: some slovak translations by Mário Kaèmár - kario@szm.sk
svn path=/trunk/; revision=32381
2008-02-15 19:25:36 +00:00
Johannes Anderwald
1950c903e3 - taskmgr improvements by Carlo Bramix
See issue #3075 for more details.

svn path=/trunk/; revision=32380
2008-02-15 19:22:55 +00:00
ReactOS Portable Systems Group
34e64ee87b We now define KUSER_SHARED_DATA per architecture, since the address isn't portable. Now SharedUserData works on ARM.
Implemented KeAcquireInSTackQueuedSpinLock, KeAcquireInStackQueuedSpinLockRaiseToSYnc and KeReleaseInStackQueuedSpinLock based on x86 UP versions.
On ARM, the PCR is fully exposed, so some APIs are always-inlined direct-memory-access (unlike x86 which has the fs selector, and undocumented parts of the PCR). This means we can define several macros -- fixed the headers to allow this, by defining the previous stuff for x86 only.
Setup registry data in the ARM loader block.
The ARM port boots all the way through ExpInitializeExecutive until reaching MmInit1. The boot-registry is correctly loaded and parsed, as are NLS files!

svn path=/trunk/; revision=32379
2008-02-15 19:01:45 +00:00
Johannes Anderwald
9d172977d3 - declare variables as extern
- release desktop dc


See issue #3052 for more details.

svn path=/trunk/; revision=32378
2008-02-15 18:42:24 +00:00
Daniel Reimer
1e4d38ca34 Synched winhelp and wordpad to Wine 0.9.55.
To the translators that translated winhelp to Greek, Lithuan, Portugese and Ukrainian. Can you please send your translations to winehq? I will keep them anyway, but this way its easier to keep synched.

svn path=/trunk/; revision=32377
2008-02-15 15:04:14 +00:00
ReactOS Portable Systems Group
e38c335520 We now setup NLS data in the loader block, as well as setup the minimal loader block extension fields to pass ExpIsLoaderValid validation.
svn path=/trunk/; revision=32376
2008-02-15 07:45:37 +00:00
ReactOS Portable Systems Group
4757f67815 Sync with X86 build -- don't call MmInit1 so early anymore.
svn path=/trunk/; revision=32375
2008-02-15 07:44:42 +00:00
ReactOS Portable Systems Group
581d7a7972 Remove Ke386Pae conditionals from page code -- PAE is never turned on ReactOS (and probably wouldn't work), so there's no point in wasting CPU cycles and making the code even more unredable by having the PAE code there.
The PAE implementation has been moved to pagepae.c, in case someone will ever want to revive.
Even in that case, it's recommended to build two kernels like everyone else does, instead of doing runtime conditionals for every single page operation.

svn path=/trunk/; revision=32374
2008-02-15 06:53:49 +00:00
ReactOS Portable Systems Group
793e31e8de Christ! Don't zero out the shared memory page during Virtual Memory initialization! The page is already well in-use by the time we were zeroing it out, and this is also the reason why all the attempts to move MmInit1 into MmInitSystem had previously failed -- the NtSystemRoot path would get written during initialization (But before MmInitSystem), and MmInit1 would then zero out the entire structure.
Not only does this allow us to do MmInit1 in MmInitSystem, where it should be, but it also fixes the fact that several KUSER_SHARED_DATA flags were being zeroed out.
As an added benefit, ARM/PPC ports now need to worry about Mm much later then before (well after the HAL has initialized and interrupts are enabled).


svn path=/trunk/; revision=32373
2008-02-15 06:49:59 +00:00
ReactOS Portable Systems Group
63cd339c0c Get rid of complete hack that MmInitializePageList was, and use the ARC Memory Descriptor Tree instead. No more magical assumptions about page numbers. No more BIOS Memory Map from FreeLDR. No more hard-coded/static addresses being pased from the bowels of FreeLDR to the kernel.
"Oh my God, I can't believe this is real."
We can now continue the ARM port since the ARM port uses real ARC memory descriptors and not the completely hacked up pages the kernel was previously crossing its fingers to get. As a side effect, this probably unblocks the final hurdle to get ReactOS booted by NTLDR.

svn path=/trunk/; revision=32372
2008-02-15 01:19:46 +00:00
ReactOS Portable Systems Group
f19e397250 Fixed several off-by-one errors when playing with the PFN database array size. Among other things, certain valid pages would be considered invalid, and also the PFN database wouldn't be properly erased on startup (which would result in a crash after a warm reboot or restarting the emulator).
svn path=/trunk/; revision=32371
2008-02-15 01:04:22 +00:00
ReactOS Portable Systems Group
d6cd3275f2 Remove accidentally enabled debugging function, and apply the FreeLDR 6MB hack when building the ARC Memory Descriptor List as well. This will reflect the memory in use (thus representing the ARC-based glorious hack) when parsing the memory descriptor list, something we'll soon have to do in MmInitializePageList.
svn path=/trunk/; revision=32370
2008-02-15 00:50:26 +00:00
ReactOS Portable Systems Group
cb5d314ff3 Fixed some bugs we introduced by incorrectly double-accounting the PFN database. The database is *virtually* continous and follows the kernel address region, but not physically -- physically, it is at the very far end of memory.
Unfortunately, fixing this bug now caused any unused memory in the  FreeLDR-mapped region of 6MB to appear...well...unused. This would normally be a good thing, except ReactOS started crashing.
We fixed it by applying the Glorious Hack. See freelist.c:359.

svn path=/trunk/; revision=32369
2008-02-15 00:31:18 +00:00
ReactOS Portable Systems Group
131f74225c Review and fix the buildingg and mapping of boot-time kernel address space.
The selection of the non-paged pool base address was broken (ion's comment was correct, but his implementation was not) -- NP pool now follows the PFN, or end of FreeLDR mapping area.
There was no reason to put paged pool at a 4MB boundary away from NP pool -- it now follows it immediately.
Got rid of multiple values which were calculated 3, even 4 times in a row, or even values that were calculated but never used (such as kernel_len).
Got rid of the shuffling back and forth of kernel and virtual start/end addresses. A global now keeps track of this, and MmInit1 is now solely responsible for assigning addresses to each kernel region.
Added new debug routine to show the kernel regions mapped -- enabled by default for now to visually detect any problems (once ReactOS's drivers go over 6MB, there may be).

svn path=/trunk/; revision=32368
2008-02-14 23:39:31 +00:00
ReactOS Portable Systems Group
6b9215e607 The system never considered "ReservedPages" as any different from "SystemPages", other than to spend the accounting time to mark these pages differently. Removed the notion of a reserved pages and count them as system pages instead.
svn path=/trunk/; revision=32367
2008-02-14 22:34:50 +00:00
Daniel Reimer
3d1fd7beda reactivate kdbg.
svn path=/trunk/; revision=32366
2008-02-14 22:02:57 +00:00
ReactOS Portable Systems Group
c47af2fcdf Don't allow code to access the PFN database directly -- instead, always go through MiGetPfnEntry to have a controlled path.
Add assertions to this function, to make sure PFN access is always valid (previous code would sometimes KEBUGCHECK(0) without a real explenation if such cases were encounted -- but developers randomly chose which functions would be protected).
Also, since PFNs are 0-based, do allow Pfn == MmPageArraySize if someone is reading the last PFN on the system.
Finally, protect some of the functions which were accessing the PFN entries outside the PFN list lock.

svn path=/trunk/; revision=32365
2008-02-14 21:19:30 +00:00
ReactOS Portable Systems Group
93c66fb50d One would expect that a function called "MmIsUsablePage" would return whether a not a page is usable. In other words, we are making sure that the page is free/available, so that we may make use of it. Apparently not so -- MmIsUsable page returned if a page was NOT usable, but was instead "already used". The caller's wish was to ensure he was correctly using a used page, not to check if he could start using a usable page. This would just be an annoying gramatical/logic error (but makes "sense" in the way it's used), if it weren't for the fact that MmIsUsablePage also returned TRUE for BIOS pages (which meant, "yes, you are correctly using/overwriting memory we spent time ensuring to mark as reserved/BIOS").
Renamed the function to MmIsPageInUse, and only return TRUE if the page is in use. Like the name says.

svn path=/trunk/; revision=32364
2008-02-14 20:30:31 +00:00
Aleksey Bragin
bf3c65f8a3 - Load drivers database (AppPatch/drvmain.sdb), so Windows could use it if needed.
svn path=/trunk/; revision=32363
2008-02-14 20:27:59 +00:00
ReactOS Portable Systems Group
99b1ac6cb9 Fix a couple of off-by-one bugs we recently introduced -- PFNs are one of the only indexes which are actually 0-based, so you really want to loop from 0 to the last page, inclusive (unlike most loops where you would stop *before* the last element index).
svn path=/trunk/; revision=32362
2008-02-14 20:20:44 +00:00
ReactOS Portable Systems Group
ee3729d613 Stop lying that the PCR, KUSER_SHARED_DATA, and PDEs are "BIOS" pages, they're USED pages.
Stop initializing fields to 0 if we've already cleared the entire array!
Stop setting arbitrary values for MapCount and ReferenceCount -- both the KPCR, KUSER_SHARED_DATA and PDE are mapped!
Stop saying Video ROM has a reference count, it's the same as BIOS memory, except the MiIsPfnRam function doesn't detect it and we have a hack for it.

svn path=/trunk/; revision=32361
2008-02-14 20:03:33 +00:00
ReactOS Portable Systems Group
b4a63ba74a Prepare for getting rid of the Freelist hacks and use memory descriptors instead, by detecting the highest free memory descriptor, and allocating the page array PTEs from there (gets rid of the "LastPage" variable).
svn path=/trunk/; revision=32360
2008-02-14 19:24:02 +00:00
ReactOS Portable Systems Group
7ca0ac88f8 We were looping the memory descriptors in order to find the number of pages that are available to the system, that is to say, your RAM, minus pages that the BIOS said belong to it. This part is good. Next up, we were creating the page array for these pages, up to the highest entry, which we called, the number of pages on the system. This is the problem. Suppose we had 1000 pages somewhere in low memory that were used by the BIOS, we'd now call the total pages RAM - 1000 (correct). However, we'd also set the highest page array entry to RAM - 1000, which is wrong, because esssentially this eats up 10MB of memory, since the top 10MB (which are FREE, usable memory) are never entered into the database. So really, what we want to do is differentiate the TOTAL amount of usable RAM, versus the HIGHEST page that is usable (which is actually what should be the highest entry in the page array). This will reclaim the lost RAM ReactOS has been eating up all these days. But it gets better: eventually, someone noticed ReactOS was eating memory, and added 1MB more to the "total", making the highest entry "1mb higher". This ...kind of... fixes the problem above by giving you one more MB, but what if ReactOS was only eating up 150KB, as was more the case? Then ReactOS would believe that the other 850KB of memory are "Free physical memory", when actually, they're pages that don't even exist. Wow!
Fixed these bugs.

svn path=/trunk/; revision=32359
2008-02-14 18:33:38 +00:00
ReactOS Portable Systems Group
4f337a6db1 Why divide up the page array into chunks of 128 pages? Why have a nested loop to initialize system memory in chunks of 128 pages? Why zero the array entries in chunks of 128? The page array is now initialized by simply iterating every page on the system, and filling out its entry in the array.
Moved out the division calculations even one more step out of the loop -- now they're really calculated once, instead of 1000 times (an improvement over the 400000 times they were calculated previously).

svn path=/trunk/; revision=32358
2008-02-14 16:59:14 +00:00
ReactOS Portable Systems Group
0ef4d8dcdd Don't loop the page array list THREE times to set it up, ONCE is plenty enough!
Remove the incomprehensible PFN allocation being done for the pages holding the page list array. We now: 1) Find the highest usable RAM page 2) Allocate the PTEs to hold the array from that point on and lower.
Don't do expensive divisions for every single page on the system being looped! Precompute the values ONCE.
Don't set the reference count for the KPCR and KUSER_SHARED_DATA to 0, these are LIVE pages!
Removed the hack which pre-initializes the balancer -- this isn't needed anymore since the initial PTEs are allocated always from RAM now.
Add some comments about the assumptions being made in this code regarding all PCs having the same kind of memory maps.

svn path=/trunk/; revision=32357
2008-02-14 16:40:32 +00:00
ReactOS Portable Systems Group
81d636ae70 The Memory Manager design dictated that every page must be on a linked list, so that it can be removed from that list when dereferenced, and inserted on the free list. This wasn't optimal, because the UsedPageListHead was actually not used for anything else than working set and user-page LRU. Nevertheless, every single page on the system would be on a list (such as the non-pool memory list), even if those lists were ignored. Those lists are all gone now, replaced by the UsedPageListHead. Likewise, the BIOS page list has also been removed.
svn path=/trunk/; revision=32356
2008-02-14 15:36:12 +00:00
Daniel Reimer
14154e1c58 Bug 3053: some slovak translations by Mario Kacmar - kario@szm.sk
Bug 3066: Recent usetup polish translation update by Olaf Siejka - olaf_siejka@o2.pl

svn path=/trunk/; revision=32355
2008-02-14 11:30:14 +00:00
ReactOS Portable Systems Group
7ea9f649ca Remove more dead code from MmInit1. This nugget was trying to free memory allocations between 0x80F50000 and 0x80600000?
[FORMATTING] Make MmInitializePageList readable by human beings.
Remove code in MmInitializePageList which was just repeating what MmInit1 had already done (why?). Remove alignment code which was duplicated (why??).

svn path=/trunk/; revision=32354
2008-02-14 04:44:51 +00:00
ReactOS Portable Systems Group
ad3e1b7948 [FORMATTING] Reformat MmInit1.
Also, it seems someone added code to get the First/LastKernPhysAddrs without having them setup (they are setup by the FreeLDR hack-code in freeldr.c, not by "real" bootloaders)... so why set them up in the first place? The code now uses the nice memory-list based routines to get this information instead.
Re-factored some detection and debugging code, cleaned up comments.


svn path=/trunk/; revision=32353
2008-02-14 04:28:41 +00:00
ReactOS Portable Systems Group
44baeebd8a [FORMATTING] Remove dead code (#if 0) and re-organize the file to match kernel standard layout/style.
Get rid of old debugging hacks introduced by ion (rmapready, pageopready, pagingready).

svn path=/trunk/; revision=32352
2008-02-14 03:08:20 +00:00
ReactOS Portable Systems Group
7c1fea060f Don't overwrite the stacks anymore -- set the right pointer in the ARM loader block (remember that stacks are top-down!).
Make a specialized UNIMPLEMENTED for Mm code so we don't go too far into the boot with 100 failures hanging behind our backs, which makes it hard to debug progress.

svn path=/trunk/; revision=32351
2008-02-14 02:33:42 +00:00
ReactOS Portable Systems Group
70fbfefbe5 Say hello to 4KB pages! Removed bring-up 1MB page hacks all over FreeLDR, and setup the kernel pages the same way the x86 build does it -- 6MB from 0x80800000 to 0x80DFFFFF for kernel and drivers.
We still identity map the bottom 0MB of memory with a 1MB page, since this makes the most sense.
We now map the low 8MB of memory to 0x80000000-0x807FFFFF, also with 4KB pages. This area will be discardable after early-init, and contains the early boot structures allocated by FreeLDR.
The Loader Parameter Block and its Extension are now dynamically allocated, instead of being static inside FreeLDR.
Fixed some bugs in the ARM_PTE structure.

svn path=/trunk/; revision=32350
2008-02-14 02:25:25 +00:00
Marc Piulachs
3f38f62b4c -'win32csr' and 'access' localizations by Javier Ramacha
See issue #3028 for more details.

svn path=/trunk/; revision=32349
2008-02-13 21:00:33 +00:00
Johannes Anderwald
773c3b017d - use tchar
- rename dialog to win xp sp2+ name

svn path=/trunk/; revision=32348
2008-02-13 17:51:41 +00:00
Dmitry Chapyshev
356bb09e5b - Fix build
svn path=/trunk/; revision=32347
2008-02-13 17:09:51 +00:00
Dmitry Chapyshev
7bbd9b91ed - Add winhttp.dll from Wine
- Add winhttp.h from Wine
- Add rbuild file for winfax.dll
- Add winhttp and winfax to bootcd

svn path=/trunk/; revision=32346
2008-02-13 16:46:28 +00:00
Dmitry Chapyshev
206e93a129 - Update Russian translation
svn path=/trunk/; revision=32345
2008-02-13 15:38:05 +00:00
Dmitry Chapyshev
1dcbc1bb71 - Synced wine head
svn path=/trunk/; revision=32344
2008-02-13 15:37:13 +00:00
Dmitry Chapyshev
4f86f92b0a - Update Russian translation
- Fix typos

svn path=/trunk/; revision=32343
2008-02-13 15:34:50 +00:00
ReactOS Portable Systems Group
ea56f811ec Convert all Mm ASM stubs to C stubs in mm/arm/stubs.c. Now we can see what functions are called.
svn path=/trunk/; revision=32342
2008-02-13 06:43:36 +00:00
ReactOS Portable Systems Group
e31c6ada8e Add /arm tree for Memory Manager and stub MmUpdatePageDir in C.
Add exp.c for ARM. Stub out KeContextToTrapFrame in C.
Add thrdini.c for ARM and implement KeArmInitThreadWithContext -- may require changes if the exception frame structure isn't preserving all we need. Stub out KiThreadStartup in C.

svn path=/trunk/; revision=32341
2008-02-13 05:16:14 +00:00
ReactOS Portable Systems Group
a177849941 HalInitializeProcessor has no work to do on ARM
svn path=/trunk/; revision=32340
2008-02-13 05:11:35 +00:00
ReactOS Portable Systems Group
0c117eca26 Kill PSEH on ARM
svn path=/trunk/; revision=32339
2008-02-13 05:11:12 +00:00
ReactOS Portable Systems Group
172094a162 First attempt at ARM Exception Frame structure definition
svn path=/trunk/; revision=32338
2008-02-13 05:10:45 +00:00
ReactOS Portable Systems Group
2877ab7568 Just return FALSE in KDCOM on ARM, instead of freezing.
svn path=/trunk/; revision=32337
2008-02-13 04:58:43 +00:00
Timo Kreuzer
a8c044b6cb Big ntuser fix:
- rename ObmXxx functions to UserXxx functions
- remove some macros
- move prototypes to object.h
- implement UserreferenceObjectByHandle creating a reference to the object, used for cursoricon stuff so far
- rewrite object manager functions to reasonably handle references
- dereference cursoricons correctly, so they will really get deleted -> fixes a cursoricon leak
- destroy submenus in NtUserDestroyMenu -> fixes a big menu leak
- free the buffer of the menu text -> fixes a mem leak
- delete old bitmaps in NtUserSetCursorContent -> fixes a bitmap leak
- delete monitor object on failure
Now taskmgr doesn't leak memory anymore. we still leak some user handles here and there even after terminating a process, but it's much better now.

svn path=/trunk/; revision=32336
2008-02-13 00:46:23 +00:00
Timo Kreuzer
8e61015f65 BITMAPOBJ_CopyBitmap:
- release lock on failure
- delete created bitmap on failure
- copy flags, fixes a memory leak

svn path=/trunk/; revision=32335
2008-02-12 23:14:07 +00:00
ReactOS Portable Systems Group
ed323f3711 We now have a good initialization routine for ARM. We call HalInitializeProcessor (TBD) to setup the board, then we configure the PRCB and PCR. We also setup some global CPU variables and setup minimal interrupt support. The rest of the code follows the x86 design (Create initial thread/process).
There's now a cpu.c for ARM as well, and the cache routines are now there.
KDCOM APIs were marked as kernel stubs, so the kernel was never linking with kdcom. This has been fixed, and boot now stops in kdcom!KdPortInitializeEx since there's no ARM-compatible code.

svn path=/trunk/; revision=32334
2008-02-12 22:50:54 +00:00
ReactOS Portable Systems Group
93970a965e Added cache sweeping code into the HAL, for ARM926EJ-S and ARM1026EJ-S CPUs.
Finished implementation of KiSystemStartup.
Copied KiInitializeKernel from x86 to ARM, removing irrelevant parts. This is our current checkpoint.

svn path=/trunk/; revision=32333
2008-02-12 20:32:23 +00:00
ReactOS Portable Systems Group
0237c83496 QEMU doesn't support TLB Lockdown, so we now use a hack for QEMU and broken CPUs [albeit a portable one ;-)]. PCR access in usermode/kernelmode works.
We now have HalSweepI/Dcache APIs exported and stubbed in the ARM HAL (great, since UNIMPLEMENTED macro now works).
We now setup more of the PCR, including all the cache values required, then we call the HAL sweep functions (TBD).

svn path=/trunk/; revision=32330
2008-02-12 19:01:48 +00:00
Christoph von Wittich
4232dfc7a2 fix some memory and resource leaks
fixes by janderwald and myself

svn path=/trunk/; revision=32329
2008-02-12 18:49:20 +00:00
ReactOS Portable Systems Group
e28048569a Fixed some bugs in KeFillFixedEntryTb -- we actually needed to map the PTE into memory (then we can umap it).
We were doing the initial PCR/PDR page allocation completely wrong since we're using 1MB section pages, not 4KB pages (this needs to be fixed later).
Piggyhack arm_kprintf on top of DebugService which we now define. DPRINT1 and ASSERT now work!
Send ARC paths and normalized command-line in the loader parameter block.
Current state:
FreeLoader v3.0 for ARM
Bootargs: rdbase=0x2000000 rdsize=0x1400000
Detecting Hardware...
Loading...
Reading NTOSKRNL.EXE
Reading BOOTVID.DLL
Reading HAL.DLL
Reading HAL.DLL                                                                 
Reading c_1252.nls
Reading c_437.nls
Reading l_intl.nls
Reading scsiport.sys
Reading atapi.sys
Reading buslogic.sys
Reading pci.sys
Reading class2.sys
Reading disk.sys
Reading vfatfs.sys
Reading ndis.sys
Mapped serial port to 0xc00f1000
(ntoskrnl/ke/arm/kiinit.c:135) -----------------------------------------------------
(ntoskrnl/ke/arm/kiinit.c:136) ReactOS 0.4-SVN (Build 20080207-r32151)
(ntoskrnl/ke/arm/kiinit.c:137) Command Line: DEBUG  DEBUGPORT=COM1  BAUDRATE=115200  SOS
(ntoskrnl/ke/arm/kiinit.c:138) ARC Paths: ramdisk(0) \ ramdisk(0) \ReactOS\


svn path=/trunk/; revision=32328
2008-02-12 18:34:33 +00:00
ReactOS Portable Systems Group
b8a06afb8c Added arm_kprintf() for early kernel debugging (ARM bringup).
Freeldr maps the "Versatile"'s serial port into virtual
memory now, and C code can just use arm_kprintf().
This is not code that is supposed to remain in the kernel,
it's only needed for bringup, until enough is working so
that standard serial DbgPrint() works through the original
code path.

svn path=/trunk/; revision=32327
2008-02-12 17:45:58 +00:00
Gregor Brunmar
0531986011 Implemented IDirect3D9::GetAdapterDisplayMode()
svn path=/trunk/; revision=32326
2008-02-12 17:30:32 +00:00
Daniel Reimer
1b3b0a7310 Hopefully the last String. Translators. Your turn.
svn path=/trunk/; revision=32325
2008-02-12 17:00:09 +00:00
ReactOS Portable Systems Group
f6587f9c6b Fix comments in ksarm.h -- they must be C89.
svn path=/trunk/; revision=32324
2008-02-12 16:32:13 +00:00
ReactOS Portable Systems Group
e4d660e795 Write initialization code in assembly -- we load the kernel stack from FreeLDR and jump to C code.
We now have a file for C-code initialization (no reason to use assembly).
We now have some basic TLB routines and intrinsics (not tested).
We also detect if we are running on V4 or V6, and set the TLB and ASID counts respectively.

svn path=/trunk/; revision=32323
2008-02-12 16:22:01 +00:00
Daniel Reimer
22cecfcc97 Beginnings to allow to translate all other Strings. Translators, PLEEASE wait until I am ready before you file Bugs, you can already start to translate, but do not post Bugreports until I am ready adding the last hidden ones.
Thanks to Johannes Anderwald for explaining me why it made more Problems than fix stuff to translate some strings and how to fix it.

svn path=/trunk/; revision=32322
2008-02-12 14:52:36 +00:00
Aleksey Bragin
1565a8ee43 - Kernel's entrypoint is called NtProcessStartup right now, for ReactOS. If this is to be changed, it should be changed for all archs, not only for ARM.
svn path=/trunk/; revision=32321
2008-02-12 13:34:33 +00:00
Johannes Anderwald
dd25d44880 - pass the correct path to _strip_gcc_deffile
- automatically create directories for converted def files
- fixes auto-def file generation

svn path=/trunk/; revision=32320
2008-02-12 12:18:23 +00:00
Hervé Poussineau
17e045e905 Fix assertion is pci/fdo.c
svn path=/trunk/; revision=32319
2008-02-12 11:16:05 +00:00
ReactOS Portable Systems Group
e5ed1afb69 We now define the cache and id registers in CP15 (C0 Opcode 0 and 1).
We now setup ARM cache information in the loader block.
We now allocate the kernel, interrupt and abort stacks, as well as the idle thread and process, and boot PRCB.
We now allocate the PCR and PDR pages.
We now send the command line to the kernel in the LoaderBlock's load options.

svn path=/trunk/; revision=32318
2008-02-12 09:41:21 +00:00
Daniel Reimer
121e0c645a Bug 3053: some slovak translations by Mario Kacmar, kario@szm.sk
Bug 3051: Italian resources update by Paolo Devoti, devotip@tiscali.it

svn path=/trunk/; revision=32317
2008-02-12 08:44:41 +00:00
ReactOS Portable Systems Group
3e0f927c2c Real fix, this time, hopefully.
svn path=/trunk/; revision=32316
2008-02-12 06:51:39 +00:00
ReactOS Portable Systems Group
1ad36042e5 Fix for x86 build.
svn path=/trunk/; revision=32315
2008-02-12 06:38:41 +00:00
ReactOS Portable Systems Group
f537761b8d The kernel entrypoint is called KiSystemStartup, not NtProcessStartup.
On ARM, don't prepend underscore to the kernel entrypoint.
We now correctly jump into the kernel entrypoint, instead of random code!

svn path=/trunk/; revision=32314
2008-02-12 06:15:35 +00:00
ReactOS Portable Systems Group
358d95b0c1 Move the entrypoint and startup code in boot.s.
Write ksarm.h and kxarm.h headers, defining the ARM Assembly ABI.
Rewrite the ARM assembler files we currently have to match the ABI.

svn path=/trunk/; revision=32313
2008-02-12 05:55:12 +00:00
ReactOS Portable Systems Group
76a0229615 fixed math
svn path=/trunk/; revision=32312
2008-02-12 05:07:08 +00:00
ReactOS Portable Systems Group
52fa6c202f Better organize FreeLDR ARM files -- there are no more stubs now. We have the ReactOS kernel loader in loader.c, just like on x86, and the ARM FreeLDR HAL/Mach routines in macharm.c
svn path=/trunk/; revision=32311
2008-02-12 04:22:39 +00:00
ReactOS Portable Systems Group
41af47163d We now have the ARM defines/structures in stubs.c in FreeLDR in more appropriate kernel headers. This is just cleanup work.
svn path=/trunk/; revision=32310
2008-02-12 04:15:53 +00:00
ReactOS Portable Systems Group
40ecc5259a Fix the build.
Your friendly ARM ninjas apologize.

svn path=/trunk/; revision=32309
2008-02-12 03:06:06 +00:00
ReactOS Portable Systems Group
074f4a2517 Fix a couple of MMU bugs (incrementing the base address before writing the PTE and using the wrong start base address).
Virtual memory now works!
FreeLDR now boots into the kernel, at 0x80801000, in KiSystemStartup!

svn path=/trunk/; revision=32308
2008-02-11 23:47:43 +00:00
ReactOS Portable Systems Group
5fff0bd749 We define a region in FreeLDR where we store the initial TTB. We have to align it at a 16KB boundary, and ld loves to crash with such big alignment, so wee manually define it to load at 0x50000. Pray FreeLDR never gets that big (you'd think LD would warn if that section is overwriting others).
Wrote a guideline for what ArmPrepareForReactOS should do and defined the initial ARM loader block and extension.
Wrote the initial MMU code. It's totally busted but after 3 hours of debugging, it doesn't abort anymore!
Cleanups TBD.


svn path=/trunk/; revision=32307
2008-02-11 22:17:15 +00:00
ReactOS Portable Systems Group
5c6d974c05 FORCEINLINE is a lot more...forcefull... now ;-). Previous version didn't always inline as requested.
svn path=/trunk/; revision=32306
2008-02-11 22:13:35 +00:00
ReactOS Portable Systems Group
1740d9743d We now support the ARM Versatile/PB platform, which means qemu-system-arm -M versatilepb is now able to emulate the ARM build of ReactOS.
We now support the PL011 UART, required for console output on the Versatile.
We now define the ARM_LOADER_BLOCK structure, to be used later when FreeLDR passes control to the kernel.

svn path=/trunk/; revision=32305
2008-02-11 20:15:16 +00:00
Christoph von Wittich
0497295d5f fix some warnings in msvc build
svn path=/trunk/; revision=32304
2008-02-11 19:16:02 +00:00
Aleksey Bragin
f754465df3 - Minor cleanup.
See issue #3054 for more details.

svn path=/trunk/; revision=32302
2008-02-11 17:45:56 +00:00
Hervé Poussineau
be80dacf70 Use dynamic traces
Some cleanup

svn path=/trunk/; revision=32301
2008-02-11 16:54:05 +00:00
Hervé Poussineau
b99dafb180 Add support for EXT2 partitions (STILL DISABLED ATM!)
svn path=/trunk/; revision=32300
2008-02-11 16:52:49 +00:00
Hervé Poussineau
532ccf4d6c Display message only if dmDriverExtra != 0
svn path=/trunk/; revision=32299
2008-02-11 16:51:26 +00:00
Hervé Poussineau
965ca6e12f Add Ext2Chkdsk() method (unimplemented at the moment)
svn path=/trunk/; revision=32298
2008-02-11 16:50:10 +00:00
Hervé Poussineau
f7a16a268d Bus number can also be stored in resource list header
svn path=/trunk/; revision=32297
2008-02-11 16:49:05 +00:00
Hervé Poussineau
d739022e84 Fix warnings
svn path=/trunk/; revision=32296
2008-02-11 16:48:21 +00:00
Hervé Poussineau
4c92de03b5 Add support for ext2.sys driver
svn path=/trunk/; revision=32295
2008-02-11 16:47:21 +00:00
Hervé Poussineau
f799562c4c Load ext2.sys driver too
svn path=/trunk/; revision=32294
2008-02-11 16:46:24 +00:00
Hervé Poussineau
b9ec75f36e Fix ext2 driver compilation. NOT TESTED YET!
svn path=/trunk/; revision=32293
2008-02-11 16:42:10 +00:00
Hervé Poussineau
4797b6a8d5 Fix ext2 recognizer compilation, but let it disabled atm
svn path=/trunk/; revision=32292
2008-02-11 16:41:25 +00:00
Hervé Poussineau
7b726051e8 Those a __stdcall functions
svn path=/trunk/; revision=32291
2008-02-11 16:27:30 +00:00
Hervé Poussineau
d3037c8cdb Display a message when directories are created
svn path=/trunk/; revision=32290
2008-02-11 14:06:37 +00:00
Hervé Poussineau
93ef049ff9 Fix case when $(TEMPORARY) is not the current directory. Fixed with the help of nanotonne (nanotonne at free.fr) on IRC
svn path=/trunk/; revision=32289
2008-02-11 13:43:27 +00:00
Hervé Poussineau
2681f2febc Fix return type
svn path=/trunk/; revision=32288
2008-02-11 13:19:06 +00:00
Hervé Poussineau
4e98dbef17 Fix build
svn path=/trunk/; revision=32287
2008-02-11 13:00:06 +00:00
Hervé Poussineau
8119fedf71 Forgot to add this file...
svn path=/trunk/; revision=32286
2008-02-11 12:54:30 +00:00
Hervé Poussineau
3b8ed580d8 Fix ext2lib compilation
svn path=/trunk/; revision=32285
2008-02-11 12:49:51 +00:00
Hervé Poussineau
a3445ec1e4 Add RtlTimeToSecondsSince1970() prototype
svn path=/trunk/; revision=32284
2008-02-11 12:49:21 +00:00
Hervé Poussineau
0ba562cefa Bring back ext2 code from branch
It does not compile yet

svn path=/trunk/; revision=32283
2008-02-11 12:10:35 +00:00
Pierre Schweitzer
4158845308 Deleted ext2 driver
Another one will be merged

svn path=/trunk/; revision=32282
2008-02-11 11:29:54 +00:00
Hervé Poussineau
081ea74484 Use Rule class to generate instructions for .idl files
svn path=/trunk/; revision=32281
2008-02-11 10:55:33 +00:00
Christoph von Wittich
692a3bb08a translate some GreatLordish comments into something more similar to English
svn path=/trunk/; revision=32279
2008-02-10 20:45:56 +00:00
Aleksey Bragin
bac34f838d - Revert 32276, since the include guard convention has been changed by 32274.
svn path=/trunk/; revision=32277
2008-02-10 20:09:06 +00:00
Magnus Olsen
ccb3b691ce fix unknown.h back as it was
correct fix is to fix ksfilter

svn path=/trunk/; revision=32276
2008-02-10 20:02:26 +00:00
Hervé Poussineau
e09d6952b7 Try to fix build
svn path=/trunk/; revision=32275
2008-02-10 20:00:45 +00:00
Hervé Poussineau
00d89c1d5d Use the same include guard in WIDL generated files and MIDL generated files
svn path=/trunk/; revision=32274
2008-02-10 19:47:42 +00:00
Hervé Poussineau
b84c9620fb Revert r32271 ; I thought we decided to remove hacks instead of adding new ones!
Correct fix will follow.

svn path=/trunk/; revision=32273
2008-02-10 19:43:05 +00:00
Magnus Olsen
7de9ce4dad remove my hack in wtype.ldl I should not coding when i start fall into sleep
sorry and thx fireball

svn path=/trunk/; revision=32272
2008-02-10 19:40:36 +00:00
Magnus Olsen
843c852714 some case psdk unknown.h being include when it should be ddk version
for now we do not double inlcude the ddk version for ksfilter.


svn path=/trunk/; revision=32271
2008-02-10 19:25:42 +00:00
Magnus Olsen
e1a0d23b9f Fix a comptaible issue with dxsdk and vc, our dxsdk want the name #define __wtypes_h__ (same as windows psdk)
this fix a comptiable issue with vc as well, wine ldl can not name a idl correct so I hardcode in this name


svn path=/trunk/; revision=32269
2008-02-10 18:35:20 +00:00
Hervé Poussineau
8b072734a8 Simplify SetupDiSetDeviceRegistryPropertyW/SetupDiGetDeviceRegistryPropertyW
Misc cleanup

svn path=/trunk/; revision=32265
2008-02-10 14:37:19 +00:00
Aleksey Bragin
df50719664 - Update winesync status.
svn path=/trunk/; revision=32264
2008-02-10 13:52:47 +00:00
Aleksey Bragin
8522101da4 Winesync to Wine-0.9.55.
svn path=/trunk/; revision=32263
2008-02-10 13:51:59 +00:00
Aleksey Bragin
4a02dc8ca5 Winesync to Wine-0.9.55.
svn path=/trunk/; revision=32262
2008-02-10 13:22:36 +00:00
Aleksey Bragin
235ef9487e Winesync to Wine-0.9.55.
svn path=/trunk/; revision=32261
2008-02-10 13:16:32 +00:00
Aleksey Bragin
9791a75ef7 - Fix a leakage during DC deletion (introduced in revision 773), spotted by Samuel Serapion.
svn path=/trunk/; revision=32260
2008-02-10 13:06:53 +00:00
Aleksey Bragin
29ad9dab05 - Add LSTATUS definition.
svn path=/trunk/; revision=32259
2008-02-10 13:00:31 +00:00
Aleksey Bragin
a00aedd211 - Winesync to Wine-0.9.55.
svn path=/trunk/; revision=32257
2008-02-10 12:33:16 +00:00
Aleksey Bragin
ee45368315 Winesync to Wine-0.9.55.
svn path=/trunk/; revision=32256
2008-02-10 12:26:59 +00:00
Aleksey Bragin
b14288d0bf Winesync to Wine-0.9.55.
svn path=/trunk/; revision=32255
2008-02-10 12:17:32 +00:00
Aleksey Bragin
ec94707831 - Mark WIDL as updated.
svn path=/trunk/; revision=32254
2008-02-10 12:00:21 +00:00
Pierre Schweitzer
47b892354b NTFS driver improvments :
- Implemented NtfsFsdDispatch to dispatch some IO requests (use it with implemented functions that need it)
- Implemented NtfsIsIrpTopLevel (From Rajeev Nagar), NtfsAllocateIrpContext
- Added more checks
- Renamed functions that are called by IO to NtfsFsd* (similar to Windows NTFS driver)
- Use NTAPI instead of STDCALL to have MSVC compatibility, thanks to Hervé
- Reorganized functions order with increasing index
- Updated files headers

svn path=/trunk/; revision=32253
2008-02-10 11:20:29 +00:00
Aleksey Bragin
b78400c9f4 Sync to Wine-0.9.55:
- Rob Shearman <rob@codeweavers.com> Sun, 20 Jan 2008
widl: Write out code for initialising out-only client context handles.

- Francois Gouget <fgouget@free.fr> Wed, 23 Jan 2008
Assorted spelling fixes.

- Jacek Caban <jacek@codeweavers.com> Tue, 29 Jan 2008  
widl: Ignore ATTR_LOCAL in create_msft_typeinfo.

- Rob Shearman <rob@codeweavers.com> Wed, 30 Jan 2008  
widl: Don't search for a import file name with a path in the include directories for compatibility with MIDL.

- Rob Shearman <rob@codeweavers.com> Wed, 30 Jan 2008
widl: Output code for initialising and freeing full pointer translation tables.

- Colin Finck <mail@colinfinck.de> Thu, 7 Feb 2008
widl: Support Windows paths in dup_basename and make_token.

- Colin Finck <mail@colinfinck.de> Thu, 7 Feb 2008
widl: Write the TLB file in binary mode, so the line endings won't be changed.

svn path=/trunk/; revision=32252
2008-02-10 10:10:44 +00:00
Gregor Brunmar
9520cefdd4 Fixed a typo
svn path=/trunk/; revision=32251
2008-02-10 09:08:50 +00:00
Gregor Brunmar
fd8beb028a * Fixed a comment typo
svn path=/trunk/; revision=32250
2008-02-10 08:54:25 +00:00
Gregor Brunmar
51dfcdc44d Implemented IDirect3D9::GetAdapterModeCount() and IDirect3D9::EnumAdapterModes().
svn path=/trunk/; revision=32249
2008-02-10 08:44:06 +00:00
Gregor Brunmar
7f15e53fd8 * Made it possible to include both d3d9types.h and ddrawgdi.h at the same time
svn path=/trunk/; revision=32248
2008-02-10 07:30:27 +00:00
Timo Kreuzer
412242bf24 fix a mem leak in win32k bitmap code
svn path=/trunk/; revision=32247
2008-02-10 02:33:11 +00:00
Daniel Reimer
7099cce31f Bug 3047: USetup and Desk recent translation update (polish locale) (olaf_siejka@o2.pl)
Bug 3049: Ukrainian translation update (temarez@yandex.ru)

svn path=/trunk/; revision=32240
2008-02-09 15:27:34 +00:00
Daniel Reimer
6f9adbd340 Resort setupapi. Now all Resource files except the ones synched with Wine are sorted the same way.
svn path=/trunk/; revision=32239
2008-02-09 12:07:48 +00:00
Daniel Reimer
0740d9bb9b Resort all RC Files in User32 to be in "lang" Subfolder and with correct names.
Still tbd: setupapi.

svn path=/trunk/; revision=32238
2008-02-09 11:28:00 +00:00
Pierre Schweitzer
9a9c5fb434 Oops... Header was wrong...
svn path=/trunk/; revision=32237
2008-02-09 11:26:53 +00:00
Pierre Schweitzer
7c5eae46cf Added French translation for vgafondedit.exe
svn path=/trunk/; revision=32236
2008-02-09 11:25:06 +00:00
Pierre Schweitzer
850e5ace47 Updated French translations for :
- desk.cpl
- mmsys.cpl
- usetup.exe

svn path=/trunk/; revision=32235
2008-02-09 10:34:00 +00:00
Colin Finck
1073373f81 - Updated Slovak translation for usetup by Mario Kacmar (kario AT szm DOT sk)
- Convert the new strings of the German translation to CP850 encoding

svn path=/trunk/; revision=32234
2008-02-09 10:16:19 +00:00
ReactOS Portable Systems Group
23539081bb A couple of header fixes to get all the FreeLDR-loaded boot drivers to compile and link.
FreeLDR now stops at ArmPrepareForReactOS, when we get to enable the MMU, Caches and other such fun stuff.
Bring-up now really starts!

svn path=/trunk/; revision=32233
2008-02-09 00:59:05 +00:00
Aleksey Bragin
d4a0287d86 Kamil Hornicek <tykef@atlas.cz>
- Add TRACEs to unimplemented functions.

svn path=/trunk/; revision=32231
2008-02-08 20:11:56 +00:00
Hervé Poussineau
79d172f71f Use a generic .spec file, instead of a .def file per architecture
svn path=/trunk/; revision=32230
2008-02-08 19:59:30 +00:00
Hervé Poussineau
0568ff9b20 Use a generic .spec file, instead of a .def file per architecture
svn path=/trunk/; revision=32229
2008-02-08 19:46:17 +00:00
Hervé Poussineau
f53e2b67f0 Add WINEBUILD_FLAGS, and set it to --kill-at for ARM
svn path=/trunk/; revision=32228
2008-02-08 19:45:30 +00:00
Hervé Poussineau
19b93a9778 Do not emit __wine_spec_unimplemented_stub() function if not needed
svn path=/trunk/; revision=32227
2008-02-08 19:27:32 +00:00
Hervé Poussineau
1d39ac6bc4 Add Rule class, which writes to Makefile how to handle a source file
Later, hardcoded rules should be read from .rbuild files

svn path=/trunk/; revision=32226
2008-02-08 19:10:19 +00:00
Colin Finck
1086d26c56 Change the encoding of the slovak translation yet another time, hopefully it's correct now
svn path=/trunk/; revision=32225
2008-02-08 18:07:29 +00:00
Aleksey Bragin
3a05e940a0 - Make LsaOpenPolicy return a fake handle (ported from Wine), so that it doesn't leave garbage instead of a handle, which is going to be closed later by LsaClose.
- Make LsaClose understand the fake handle, and don't do anything in that case but just return success.
- Make one unimplemented func show a fixme (also from Wine).

svn path=/trunk/; revision=32224
2008-02-08 17:52:48 +00:00
ReactOS Portable Systems Group
02dc4b9442 We now have an official hal-arm which exports KeSwapIrql, allowing many more drivers to compile and link properly.
We now have ARM export files for Class2 and Scsiport, allowing these drivers plus disk, cdrom and other dependencies to build and link.

svn path=/trunk/; revision=32223
2008-02-08 17:13:09 +00:00
Aleksey Bragin
f190c5ef68 Kamil Hornicek <tykef@atlas.cz>
- Convert advapi32 to use wine-style debug macros.

svn path=/trunk/; revision=32222
2008-02-08 17:04:39 +00:00
Colin Finck
6e15b35fe2 ANSI -> OEM charset conversion
svn path=/trunk/; revision=32220
2008-02-08 14:46:27 +00:00
Daniel Reimer
f28d0a6445 Update German translation
svn path=/trunk/; revision=32219
2008-02-08 14:10:52 +00:00
Dmitry Chapyshev
bf724ddcf9 - Add WinBoard and Opera to downloader.xml
svn path=/trunk/; revision=32218
2008-02-08 13:14:22 +00:00
Dmitry Chapyshev
b1c9f9232c - Update Russian translation
svn path=/trunk/; revision=32217
2008-02-08 13:11:55 +00:00
Aleksey Bragin
62b9a5ba19 - Implement one more hack to obtain LaskKrnlPhysAddr (not really a solution for reactos, since ntldr allows kernel+drivers+hal to not be continuous in memory), when booting via ntldr/winldr.
svn path=/trunk/; revision=32216
2008-02-08 13:11:01 +00:00
Dmitry Chapyshev
822f692add - Start implement Advanced General page
- Update Russian translation

svn path=/trunk/; revision=32215
2008-02-08 13:07:37 +00:00
Aleksey Bragin
b807bc63c0 - Implement MiCountFreePagesInLoaderBlock() to correctly count free pages (instead of using a variable introduced somewhere below r2000 (MemHigher), and later converted to MmFreeLdrMemHigher).
- Get rid of MmFreeLdrMemHigher and MmFreeLdrMemLower (they were not actually used for anything except getting number of free pages).

svn path=/trunk/; revision=32214
2008-02-08 10:55:40 +00:00
Aleksey Bragin
82d29cb087 - Formatting fixes.
svn path=/trunk/; revision=32213
2008-02-08 10:52:20 +00:00
Daniel Reimer
9b1ded0b01 Bug 3043: Polish translation update (olaf_siejka@o2.pl)
Bug 3044: Ukrainian translation update (temarez@yandex.ru)
Part 3 of 3.

svn path=/trunk/; revision=32212
2008-02-08 10:24:02 +00:00
Daniel Reimer
085c463f52 Bug 3043: Polish translation update (olaf_siejka@o2.pl)
Bug 3044: Ukrainian translation update (temarez@yandex.ru)
Part 1 of 3.

svn path=/trunk/; revision=32210
2008-02-08 10:22:50 +00:00
Daniel Reimer
89aff6dc8a Bug 3040: add some functionality to mmsys.cpl by Kamil Hornicek (tykef at atlas dot cz) irc nick Pigglesworth
I updated all rc files according to the changes in the english one and removed DS_3DLOOK.

svn path=/trunk/; revision=32209
2008-02-08 10:08:26 +00:00
Daniel Reimer
6879d09095 Apply r32184 for Slovak Translation too.
svn path=/trunk/; revision=32208
2008-02-08 08:21:12 +00:00
ReactOS Portable Systems Group
a0309ee531 We now also implement InterlockedExchange (Fixes rtl build).
We now set -lgcc for all builds (to get built-in division helpers), and also -static (not to import libgcc.dll -- it seems -static isn't needed on x86, but it is on ARM).
We hackfix kdcom to use the FeroUart base address -- this driver won't be used for a while, but we need to have it built.
Now binaries are being created properly (previously kernel was 15MB and importing .DLL files...). FreeLDR output:
FreeLoader v3.0 for ARM
Bootargs: rdbase=0x2000000 rdsize=0x1400000
Detecting Hardware...
Loading...
Reading NTOSKRNL.EXE
Reading BOOTVID.DLL
Reading HAL.DLL
Reading HAL.DLL                                                                 
Reading c_1252.nls
Reading c_437.nls
Reading l_intl.nls
Reading scsiport.sys


svn path=/trunk/; revision=32207
2008-02-08 08:20:06 +00:00
ReactOS Portable Systems Group
216376229d We now have the correct intrinsics for ARM.
The ARM linkerscript is now created (copy of the x86 linker script).
The kernel can now be linked.

svn path=/trunk/; revision=32206
2008-02-08 07:51:01 +00:00
ReactOS Portable Systems Group
a81c54beff We no longer generate broken kernel-mode system call stubs.
We now have per-architecture definition files, since stdcall differences between the architectures cannot be fixed (tried a combination of --kill-at, which is ignored, and -add-stdcall-alias and --enable-stdcall-fixup. This is the same problem that breaks MSVC builds, according to Alex.)
Fixed KeRaiseIrqlToSynchLevel.
Added an arm directory in /ke where we have all the stubs for non-implemented ARM routines. We can now build almost the entire kernel and link it.
We now use intrinsics to export the Interlocked* APIs, for the ARM build. Recommend doing this for x86 too.
Hal and bootvid build and link.

svn path=/trunk/; revision=32205
2008-02-08 06:07:47 +00:00
Timo Kreuzer
3f09812318 - allow translation of strings in usetup
- so far most strings are still hardcoded, but the needed functionality is in place

svn path=/trunk/; revision=32204
2008-02-08 04:14:09 +00:00
Timo Kreuzer
5aeda067d0 patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
remove obsolete syscalls NtUserGetDesktopWindow and NtUserGetParent

svn path=/trunk/; revision=32203
2008-02-08 01:45:54 +00:00
Timo Kreuzer
dfb1765988 fix a typo
svn path=/trunk/; revision=32202
2008-02-08 00:18:45 +00:00
Daniel Reimer
d57a6ccafe Bug 3033: patch for packmgr (kario@szm.sk)
Bug 3039: Ukrainian translation update (temarez@yandex.ru)
Bug 3041: Bulgarian translation of ReactOS. (sstpr@narod.ru)

svn path=/trunk/; revision=32201
2008-02-07 21:23:46 +00:00
Daniel Reimer
252c05ab34 Bug 3033: patch for packmgr (kario@szm.sk)
Bug 3039: Ukrainian translation update (temarez@yandex.ru)
Bug 3041: Bulgarian translation of ReactOS. (sstpr@narod.ru)

svn path=/trunk/; revision=32200
2008-02-07 21:22:04 +00:00
Colin Finck
7f402f3f12 Yet another attempt to fix build
svn path=/trunk/; revision=32199
2008-02-07 20:58:58 +00:00
Colin Finck
026972be9b Revert the winddk.h changes of r32197 to make the hal compilable again without any warnings.
Someone (preferably ros-arm-bringup ;-), please fix this correctly.

The warning is caused, because after the change in r32197, KeRaiseIrqlToSynchLevel is defined as NTKERNELAPI for all architectures.
NTKERNELAPI itself is defined to DECLSPEC_IMPORT if the header is not included from ntoskrnl. This is why hal outputs a warning for its KeRaiseIrqlToSynchLevel implementation.
As warnings are treated as errors for hal, the build fails.

svn path=/trunk/; revision=32198
2008-02-07 20:49:58 +00:00
ReactOS Portable Systems Group
fb86c24408 We can now build the ARM kernel (but not link it).
We now define _disable and _enable for ARM.
We shouldn't define KeRaiseIrqlToSynchLevel for each architecture, since the prototype is portable itself.
It was a mistake to guard against x86 only system calls -- the system calls should be the same on all archs, just return STATUS_NOT_IMPLEMENTED if they don't make sense. Undo the guards.
We now define KeGetPcr() as portable -- it's PCR itself that is a per-arch define.
We now support ARM in RtlWalkFrameChain.
We now support ARM in PspCreateThread.
We now define KeArchHaltProcessor for ARM by using Wait-For-Interrupt Mode.
We now define KeArmInitThreadWithContext for ARM.
KiRestore/SaveProcessorControlState are portable prototypes, we now define them as such.
Bochs KD code should use the portable WRITE/READ_PORT_UCHAR defines, we now do so.
We now support ARM in SharedUserData->ImageNumberLow/High during ExpInitializeExecutive.
NtQuerySytemInformation for SystemProcessorInformation has now been fixed to use the portable KeProcesssorXxx variables instead of reading from the non-portable PRCB values.
We now support NtFlushInstructionCache for ARM by flushing the I-Cache.

svn path=/trunk/; revision=32197
2008-02-07 20:04:31 +00:00
Hervé Poussineau
79f55526f5 Fix for the fix
svn path=/trunk/; revision=32196
2008-02-07 19:58:31 +00:00
Colin Finck
44fece0a7a Bulgarian translation for rosapps by Станев (sstpr AT narod DOT ru)
See issue #3042 for more details.

svn path=/trunk/; revision=32195
2008-02-07 19:33:11 +00:00
Colin Finck
3a86c280a8 - Open the Edit windows as modeless dialogs, so the user can edit more than one character at the same time
- Simplify the linked-list functions

svn path=/trunk/; revision=32194
2008-02-07 19:14:55 +00:00
Aleksey Bragin
21ab956cf9 - Rename vfatfs.sys to fastfat.sys for compatibility reasons.
svn path=/trunk/; revision=32193
2008-02-07 18:06:11 +00:00
Hervé Poussineau
deb657fdaa Fill output variable before returning
svn path=/trunk/; revision=32192
2008-02-07 18:04:03 +00:00
Johannes Anderwald
9bed8e1811 - fix auto timezone selection for bulgarian locale
- patch by CCTAHEB
See issue #2887 for more details.

svn path=/trunk/; revision=32191
2008-02-07 17:52:24 +00:00
Gregor Brunmar
89a49eb4b7 * Fixed d3d9 critical section not being unlocked in GetAdapterIdentifier
* Implemeted IDirect3D9::GetAdapterMonitor

svn path=/trunk/; revision=32190
2008-02-07 17:32:49 +00:00
Colin Finck
df5582f1dd Define O_BINARY to 0 in include/wine/port.h if it's not defined. Wine's version of this file already contains this #define.
This way we can remove one more difference in our widl version compared to the Wine one.

svn path=/trunk/; revision=32189
2008-02-07 17:27:25 +00:00
Gregor Brunmar
26db2d81e1 Fixed a compiler warning with msvc
svn path=/trunk/; revision=32188
2008-02-07 17:26:05 +00:00
Colin Finck
6848a25e87 creat() is equivalent to open() with the flags O_CREAT | O_WRONLY | O_TRUNC.
Use these flags and O_BINARY to replace the creat() call we previously had.

Requested by Wine for patch acceptance

svn path=/trunk/; revision=32187
2008-02-07 14:53:03 +00:00
Aleksey Bragin
9a3b43aa45 - Port LookupAccountNameA/W from Wine. This fixes VMWare Tools crash in NTDLL introduced by msiexec sync.
svn path=/trunk/; revision=32186
2008-02-07 14:05:10 +00:00
Aleksey Bragin
d7e3b6a80d - Apply elf-changes changes to ntkrnlmp.rbuild.
- Small formatting fix for ntoskrnl.rbuild.

svn path=/trunk/; revision=32185
2008-02-07 13:42:29 +00:00
Johannes Anderwald
d1741b3c64 - change cmd "control" to "control.exe"
- fix over-translated strings
- acquire full path for the traget executable and directly invoke CreateProcess 
- zero initialize param szTemp to fix a possible buffer overflow
- fixes bug 3027

svn path=/trunk/; revision=32184
2008-02-07 11:23:38 +00:00
Johannes Anderwald
fb6911a1bb - improve control a bit so it that can execute cpl specified on the command line
- ignore the function index, page index for now

svn path=/trunk/; revision=32183
2008-02-07 11:21:10 +00:00
Filip Navara
6055ece647 Fix one more bug in adding subkeys.
svn path=/trunk/; revision=32181
2008-02-07 08:22:24 +00:00
Filip Navara
f5d676df0d Fix hash table generating.
svn path=/trunk/; revision=32180
2008-02-07 08:04:17 +00:00
ReactOS Portable Systems Group
ac30a263d8 We now generate the correct ARM syscall stub code for system calls with IDs > 0x100.
We never call KfRaise/LowerIrql in portable code anymore, isntead, we use Ke.
We now have correctly defined IRQL routines for ARM, much more of the kernel builds as a result.

svn path=/trunk/; revision=32179
2008-02-07 07:10:13 +00:00
ReactOS Portable Systems Group
46c6129581 We don't define types which are usually documented on "real" NT platforms in the NDK aynmore, but instead in the ARMDDK.h. This also avoids many ndk-from-ddk cross-header issues.
Added x86-only guards around certain structures and functions which are non-portable. Also guarded certain inline functions.
Added some more ARM structures, and filled out the KPRCB.
Created ARM-specific headers when required.
We can now have a buildable ARM kernel, minus a couple of compile errors.

svn path=/trunk/; revision=32178
2008-02-07 06:40:42 +00:00
ReactOS Portable Systems Group
d54c5304b2 We now only compile the ELF loader if _ELF_ is defined (both because this isn't a standard Windows feature, and because the current code is completely not portable with ARM)
svn path=/trunk/; revision=32177
2008-02-07 06:36:31 +00:00
ReactOS Portable Systems Group
2c43803e7a We now return failed in FrLdrMapImage if the file could not be read.
FreeLDR ARM now loads properly, however, we need to start building the ARM kernel and ARM boot drivers, otherwise their relocations will have byte offsets which will lead to alignment errors (on ARM relocaitons are DWORD-aligned).
Next steps are to get the kernel building, then the HAL, then bootvid/kdcom.

svn path=/trunk/; revision=32176
2008-02-07 05:25:37 +00:00
Filip Navara
9c1dc73ab3 Make HvIsCellAllocated working.
svn path=/trunk/; revision=32175
2008-02-07 03:32:47 +00:00
Timo Kreuzer
dbfe16d4c3 make the table smaller
svn path=/trunk/; revision=32174
2008-02-07 02:36:20 +00:00
ReactOS Portable Systems Group
254e81c7ef There was no reason to have most of the i386Disk routines as i386-only routines, since they are quite generic and portable assuming MBR-based disks. GPT disks are another matter, but in either case, any architecture should support both, and that's the real distinction.
Made the ARM code use the shared disk routines, which allowed us to remove some hacks -> we now detect the boot/system volume just like on x86.
FreeLDR now loads NTOSKRNL.EXE on ARM.
Also made the DiskIsBootDeviceFloppy return FALSE for ramdisks.
Finally, note that the disk routines were still kept as Machine-specific routines in the Mach Table, so other architectures can still override them if they really need to (for example, the XBOX port overrides one of them for a specific XBOX hack).


svn path=/trunk/; revision=32173
2008-02-07 00:43:09 +00:00
Gregor Brunmar
c9fee31613 * Fixed compiling of the native d3d9.dll
* Packed structures in d3d9types.h correctly to be compatible with Windows

svn path=/trunk/; revision=32172
2008-02-06 21:22:23 +00:00
ReactOS Portable Systems Group
2c11320128 Removed certain ARM Machine Callbacks which we shouldn't need at all until much later for SetupLDR.
Kept the ArmDisk ones though since they'll be needed for NAND boot, but improved the assertions.

svn path=/trunk/; revision=32171
2008-02-06 20:47:53 +00:00
ReactOS Portable Systems Group
5dfb41e641 We now report the correct sector start for the ramdisk -- the actual volume boot sector is at 0x63, not 0x00 which is the MBR.
FreeLDR now reads freeldr.ini correctly and continues all the way to hardware detection (ArmHwDetect)

svn path=/trunk/; revision=32170
2008-02-06 20:38:59 +00:00
ReactOS Portable Systems Group
336ca7d838 We now enable ramdisk support by calling RamDiskSwitchFromBios() to allow the ramdisk routines to take control of disk r/w.
Unlike the x86 virtual-ramdisk, the ramdisk here is also used as boot device, not only system device.
Current FreeLDR output:
    Booting FreeLDR...
    FreeLoader v3.0 for ARM
    Bootargs: rdbase=0x2000000 rdsize=0x1400000
    This file system has cluster sizes bigger than 64k.
    FreeLoader does not support this.
    Press any key


svn path=/trunk/; revision=32169
2008-02-06 19:15:46 +00:00
Johannes Anderwald
5a83b091b5 - apply changes from prev rev
svn path=/trunk/; revision=32168
2008-02-06 18:59:51 +00:00
Johannes Anderwald
e20076c868 - partly fix AddConsoleAlias/GetConsoleAlias
- add hack for GetConsoleAliasW to circumvent CsrCaptureMessageBuffer is not working

svn path=/trunk/; revision=32167
2008-02-06 18:59:18 +00:00
Johannes Anderwald
5f2abd25fc - partly fix AddConsoleAlias/GetConsoleAlias
- add hack for GetConsoleAliasW to circumvent CsrCaptureMessageBuffer is not working

svn path=/trunk/; revision=32166
2008-02-06 18:57:40 +00:00
Colin Finck
ba0c8c84e6 - Cast the OutputBuffer to a byte (UCHAR) array, not a ULONG array, so adding a byte offset to its address works as expected.
This fixes the extraction of any file, which is not the first file in the cabinet.
- I don't see a reason for reading the file name in 32 byte chunks in ReadString() instead of reading it completely in one call.
  As the previous algorithm was buggy for files longer than 32 characters, I read the file name string completely now.
  Cabman is now able to extract the "reactos.cab" it created itself without any problems :-)
- Simplify CreateSimpleCabinet() a bit

svn path=/trunk/; revision=32165
2008-02-06 18:30:15 +00:00
ReactOS Portable Systems Group
f20598a976 We now support ArmDiskGetBootVolume for ramdisk only, later revisions will support NAND boot as well.
The ramdisk parameter parsing had several bugs which were fixed, including support for hex parameters and using proper return values from strstr.
We also rewrote command line parsing to be much simpler. It was very broken, modifying the memory contents of the command line -- this wouldn't work on systems where the command line is stored in ROM unless a copy is first made. It also broke ram disk parameters by modifying whitespaces to NULL chars for purposes of reading its own parameters, but did not put the whitespace back, terminating the command line early.
Finally, we now have an integrated ramdisk parameter parsing with the new command line code.

svn path=/trunk/; revision=32164
2008-02-06 18:27:53 +00:00
Dmitry Chapyshev
bd50edb2a5 - Import atl.dll from Wine
- Add atl to bootcd

svn path=/trunk/; revision=32163
2008-02-06 17:29:28 +00:00
ReactOS Portable Systems Group
1e5a0b3061 We now return memory map.
We added a new member to the ARM board configuration block that specifies the number of memory map entries.
Board boot loaders are responsible for sending the base and size of all DRAM and FLASH banks. FLASH banks should be marked as Reserved so we don't try using them as RAM.

svn path=/trunk/; revision=32162
2008-02-06 15:47:02 +00:00
Dmitry Chapyshev
4980e5f7eb - Add vga font for cp437
svn path=/trunk/; revision=32161
2008-02-06 15:36:29 +00:00
Dmitry Chapyshev
a0841bec8b - Fix formatting for ras.h, rasdlg.h and rasapi.h
- Add raseapif.h header file

svn path=/trunk/; revision=32160
2008-02-06 15:29:45 +00:00
Dmitry Chapyshev
8d342df2a5 - Import tapi32.dll from Wine
- Add more defines and structures to tapi.h
- Add tapi32 to bootcd

svn path=/trunk/; revision=32159
2008-02-06 15:23:40 +00:00
Daniel Reimer
5d50f3a918 Update German RC File
svn path=/trunk/; revision=32158
2008-02-06 12:20:34 +00:00
Dmitry Chapyshev
109672cf30 - Add more dialogs
- Add disable all controls functions
- Add icons

svn path=/trunk/; revision=32157
2008-02-06 11:36:37 +00:00
Hervé Poussineau
a0acd67f71 Fix typo
svn path=/trunk/; revision=32155
2008-02-06 10:37:21 +00:00
Ged Murphy
73f2103105 fix indentation
svn path=/trunk/; revision=32154
2008-02-06 10:34:03 +00:00
Aleksey Bragin
dbc44341a9 - Make i8042Flush flush both output and input buffers.
- Make i8042Flush apply only KBD_OBF flag (applying MOU_OBF leads to an infinite loop trying to flush the buffer).
- Fix a bug in i8042Write, where instead of waiting by polling a PollingIterations times (~10000), it was using ResendIterations (=3), thus giving 8042 very small chance of processing the data.
- Make i8042BasicDetect resend CTRL_SELF_TEST sequence, if controller asks so. Maximum resend iterations are limited by ResendIterations variable.
- Reinsert debug-messages hack, since this is an early-loading driver, and it's not possible to break in to KDBG to change debug filter values.
- As a result, keyboard and mouse work on real hardware again.
See issue #3036 for more details.

svn path=/trunk/; revision=32153
2008-02-06 09:46:38 +00:00
ReactOS Portable Systems Group
75172afb72 We implemented console support (through serial port), for the current board types supported (Feroceon, using UART 16550).
We added a new ClockRate member to the ARM Board Block structure.
We now print out the FreeLDR header after initialization to give some output to the user that we are alive.
Started putting shared stuff in headers.
Fixed copy/paste leftovers from file headers (wrong file names, implementation details, author).

svn path=/trunk/; revision=32151
2008-02-06 07:32:47 +00:00
ReactOS Portable Systems Group
233107aabb We now make sure to build with the static version of libgcc. Previously, this resulted in FreeLDR having an import table and trying to import a .DLL file -- not a very wise attempt.
svn path=/trunk/; revision=32150
2008-02-06 07:19:13 +00:00
Timo Kreuzer
90a6601c3e - use intrinsic interlocked functions
- add a function to get a full stackbacktrace including usermode

svn path=/trunk/; revision=32149
2008-02-06 05:09:26 +00:00
ReactOS Portable Systems Group
c759455e9e Implement a proper ARM startup routine. We disable the FIQ and IRQ lines, then disable and flush D and I caches, set up a temporary boot stack, and call ArmInit.
In ArmInit we define the structure that a compatible bootloader has to send us and currently make some assertions on it, before dropping into the common, portable, freeldr startup (BootMain).
This would be the place where we would want to setup UART0 for serial support later on, as well as TIMER0.
In MachInit, we now define the required ARM routines we'll need, all which simply loop for now.
Also fix a bug in RamDiskInit, which could do reads from NULL pointers.


svn path=/trunk/; revision=32148
2008-02-06 04:48:22 +00:00
Timo Kreuzer
c3253b0df9 Windows doesn't store a hbrBack, when creating a window
svn path=/trunk/; revision=32147
2008-02-06 04:01:02 +00:00
Timo Kreuzer
d03dd0d4f6 use syscolor brush for menu background, fixes a brush leak.
svn path=/trunk/; revision=32146
2008-02-06 00:43:15 +00:00
Colin Finck
8de349c343 - Move each VGA font file to a new "media/vgafonts" directory and convert all PSF fonts to BIN files.
- Add a line to the autogenerated Makefile for Boot-CDs, which creates a "vgafonts.cab" file from the binary fonts at build time.
- Change blue.sys to read the fonts from the "vgafonts.cab" file instead of the "vgafont.bin" (ZIP format) file.
  I dropped support for PSF fonts in blue.sys, because with the vgafontedit app, we can easily convert PSF fonts to BIN fonts now.
  If someone still needs this format in blue.sys, I can reimplement it.

svn path=/trunk/; revision=32145
2008-02-05 19:31:05 +00:00
Dmitry Chapyshev
54409710c6 - Fix typo
svn path=/trunk/; revision=32144
2008-02-05 19:27:03 +00:00
Colin Finck
7c3b17b7b0 Fix the usetup text screen (broken in r32135)
svn path=/trunk/; revision=32143
2008-02-05 19:22:14 +00:00
Daniel Reimer
f74b6fd4f4 Move and rename all rc files of rosapps according to our standards.
svn path=/trunk/; revision=32142
2008-02-05 17:00:30 +00:00
Daniel Reimer
03ef60712e Fix whatever TortoiseSVN made wrong here again... Build fixed
svn path=/trunk/; revision=32141
2008-02-05 16:33:47 +00:00
Daniel Reimer
93c2742e8a Bug 3037: Rosapps polish translation patch (olaf_siejka@o2.pl)
Bug 3038: Ukrainian translation update (temarez@yandex.ru)
RC Files resorting like in the Bug reports before these will be done later this day.

svn path=/trunk/; revision=32140
2008-02-05 15:50:59 +00:00
Colin Finck
ed5e6ac231 - Handle the different slashes correctly, also in combination (like "../..\*.txt") by using the ConvertPath() function
- Only compare file names, not the whole pathes, in the Unix code path using MatchFileNamePattern
- Small change to the Usage text

svn path=/trunk/; revision=32139
2008-02-05 15:31:12 +00:00
Colin Finck
faa96fba14 - Don't set a fixed size for the application name, allocate the needed memory dynamically using AllocAndLoadString
- Small fixes to the german translation

svn path=/trunk/; revision=32138
2008-02-05 15:12:35 +00:00
Dmitry Chapyshev
fe7fff143c - Add Russian translation
- Move application title to resources

svn path=/trunk/; revision=32137
2008-02-05 14:50:02 +00:00
ReactOS Portable Systems Group
8a8e8285a9 On ARM, it seems first = "true" parsing doesn't actually work in .rbuild files -- the object is not properly placed in the beginning of the FreeLDR text section.
As a workaround, a special "startup" section is now used to contain the boot.s code, and a linker flag is used to set this section as the entrypoint section at 0x8000.
FreeLDR for ARM now links properly, with _start at 0x8000.


svn path=/trunk/; revision=32136
2008-02-05 11:15:59 +00:00
ReactOS Portable Systems Group
b9ad8e61be Fix a couple of problems with FreeLDR portability.
beep is now MachBeep since the code is not portable.
A variety of portable PE loading routines were in arch/loader.c for no reason. These are now in reactos/imageldr.c. arch/loader.c now only contains the architecture-specific ReactOS initialization code.
AcpiPresent was used on all builds, even though it's a non-portable x86-only flag. Now, ACPI detection itself, if present, will set the appropriate ACPI flag directly in the loader blog, so other architectures don't have to worry about exporting AcpiPresent;
DiskStopFloppyMotor is only relevant to x86, as is preparing for Video. MachVideoPrepareForReactOS has therefore been replaced by MachPrepareForReactOS as a generic pre-boot preparation routine.
Implemented MachPrepareForReactOS across current architectures to preserve functionality.


svn path=/trunk/; revision=32135
2008-02-05 11:13:17 +00:00
ReactOS Portable Systems Group
81cd907fc7 Implement ARM version of DbgBreakPoint in the RTL. We do a bkpt with a special value of 3 (to be as close as possible to x86 int 3).
Fix NtCurrentTeb definition for ARM. We will expose the KPCR to user-mode much like KUSER_SHARED_DATA on x86 (this is how ARM-CE and NT-MIPS do it) and link the TEB there.


svn path=/trunk/; revision=32134
2008-02-05 11:08:34 +00:00
Gregor Brunmar
d796fed021 Fixed an infinite loop in IDirect3D::GetAdapterIdentifier()
svn path=/trunk/; revision=32133
2008-02-05 06:37:48 +00:00
ReactOS Portable Systems Group
525c69f0c1 Build FreeLDR for ARM.
We merely provide a _start entrypoint stub and two stub architecture files with no functions implemented.
We also supply the proper ARM configuration settings in the .rbuild files, and add the necessary headers.
FreeLDR can now be compiled (along with rossym, libcntptr, rtl and cmlib) but it will not link until the actual ARM code is implemented.

svn path=/trunk/; revision=32132
2008-02-05 03:06:20 +00:00
ReactOS Portable Systems Group
57ad1f5f20 Add basic arm target support to the build system.
Reactos-arm.rbuild uses the same settings as the x86 version, but defines _ARM_ and __arm__ instead. _M_ARM is already defined by the compiler.
Add ARM system call stub support to ncitool. We are currently using a SWI 0x2E to achieve this.
Add ARM support to winnt.h.
Add a preliminary intrin_arm.h
Add ketypes.h and mmtypes.h for ARM in the NDK. For now these are mostly stubs to allow compiling to work.
Add ARM support to winddk.h.
Fix some broken x86-only assumptions in the NDK.
Add config-arm-template.rbuild. By defauilt we build for armv5te (armv4 and v5 are supported, not v6).
Set ROS_ARCH=arm to switch to ARM. Set ROS_PREFIX to an appropriate MinGW-32 ARM PE crosscompiler.


svn path=/trunk/; revision=32131
2008-02-05 02:58:28 +00:00
ReactOS Portable Systems Group
3be034d2ce The Windows headers include a file called ioaccess.h in the ddk folder, which exposes various READ/WRITE_PORT/REGISTER_ routines as inlined macros for various architectures (PPC, MIPS, AMD64, IA64, X86), making use of the MSVC compiler-intrinsics (inp, outp, etc). Since ReactOS already has those intrinscs implemented, we've also created an ioaccess.h w32api header file which makes use of them.
We can now remove the portio.h and portio.c files in FreeLDR, since there's no more need to duplicate this code.
Additionally, this can be also done with the PPC port of FreeLDR or any other architecture, since it doesn't require per-architecture support in FreeLDR anymore -- only the underlying intrinsics in intrin.h must be implemented (note that for PPC, MIPS and ARM, the notion of a port doesn't even exist -- those functions map to register-reading functions, where register basically means memory).


svn path=/trunk/; revision=32130
2008-02-05 02:40:08 +00:00
ReactOS Portable Systems Group
74e7cbf5b8 --- FIXED COMMIT LOG FOR r32128. NO CHANGES IN THIS REVISION ---
Implement ramdisk support for FreeLDR (ramdisk.c and ramdisk.h). The implementation is portable across all architectures.
We also define a virual ramdisk file (hardcoded name is reactos.img, on the boot volume) for testing ramdisk support on architectures without native ramdisk support (such as x86). This could be further extended to allow network booting as a ramdisk at a later time, but is now primarly for test purposes.
We introduce two new FreeLDR command-line parameters that should be sent by non-x86 firmware: rdbase and rdsize, and a new freeldr.ini ARC path: ramdisk(0) -- this is compatible with Windows.
For compatibility and status output, we use 8MB chunks for reading virtual ramdisk files (a dot is displayed for each additional 8MB chunk).
Finally, for code-reuse, the ramdisk implementation will "steal" the BIOS support routines in the arch-vtable and replace them with simple memcpy wrappers. To the disk/filesystem routines in FreeLDR, they think they are reading from the BIOS (or other firmware), but instead, the sector reads are coming from memory).
For now, only FAT ramdisks have been tested, and a sector size of 512 bytes is implied. We also disable the FAT block cache since it wouldn't make much sense to cache RAM.
*** Note that kernel ramdisk support is missing, so once the kernel attempts to load drivers from the boot device (ramdisk(0)), it will panic. This is currently non an issue on non-x86 builds since the kernel won't get that far for a while.


svn path=/trunk/; revision=32129
2008-02-05 01:39:22 +00:00
ReactOS Portable Systems Group
0e6d37fe00 Implement ramdisk support for FreeLDR (ramdisk.c and ramdisk.h). The implementation is portable across all architectures.
We also define a virual ramdisk file (hardcoded name is reactos.img, on the boot volume) for testing ramdisk support on architectures without native ramdisk support (such as x86). This could be $
We introduce two new FreeLDR command-line parameters that should be sent by non-x86 firmware: rdbase and rdsize, and a new freeldr.ini ARC path: ramdisk(0) -- this is compatible with Windows.
For compatibility and status output, we use 8MB chunks for reading virtual ramdisk files (a dot is displayed for each additional 8MB chunk).
Finally, for code-reuse, the ramdisk implementation will "steal" the BIOS support routines in the arch-vtable and replace them with simple memcpy wrappers. To the disk/filesystem routines in Fre$
For now, only FAT ramdisks have been tested, and a sector size of 512 bytes is implied. We also disable the FAT block cache since it wouldn't make much sense to cache RAM.
$lds since the kernel won't get that far for a while.


svn path=/trunk/; revision=32128
2008-02-05 01:29:49 +00:00
Colin Finck
7356090407 - Add a function MatchFileNamePattern for matching a file against a pattern (imported from Busybox under GPL2 or later license, heavily modified for our purposes, more information in the function comments)
- Add support for multiple search criterias, which are actually checked.
  This makes it possible to pass parameters like "*.rbuild *.txt" to the cabman command line for adding, displaying and extracting files in a cabinet.
- Overhaul CreateSimpleCabinet, make it able to add multiple files to the cabinet using the new search criteria functions.
- Fix some comments and indentation here and there.

svn path=/trunk/; revision=32127
2008-02-04 22:48:42 +00:00
Christoph von Wittich
38c6c12999 always return Request->Status;
svn path=/trunk/; revision=32126
2008-02-04 22:41:09 +00:00
Johannes Anderwald
5f802cde10 - remove unused members
svn path=/trunk/; revision=32125
2008-02-04 22:33:21 +00:00
Johannes Anderwald
7a92e8a9e6 - fix error status
svn path=/trunk/; revision=32124
2008-02-04 22:32:37 +00:00
Christoph von Wittich
e31d1017f5 return 0 when type is DWORD
remove unused alias struct

svn path=/trunk/; revision=32123
2008-02-04 22:11:56 +00:00
Gregor Brunmar
db26f5d219 * Implemented IDirect3D9's GetAdapterCount() and GetAdapterIdentifier()
* Made d3d9.dll compile with MSVC

svn path=/trunk/; revision=32122
2008-02-04 21:33:12 +00:00
Johannes Anderwald
817d9a0beb - insert new entry when required
- check for null

svn path=/trunk/; revision=32121
2008-02-04 21:24:09 +00:00
Aleksey Bragin
86a77f7088 - Build FreeLdr the same way other modules are built, by using gcc -Wl.
- This allows us to get rid of the /math directory and use -lgcc instead.
- Get rid of -ffreestanding, -fno-builtin and -O2. The former are not needed anymore since we're properly building a "freestanding" image anyway, just like the kernel. The latter is removed since optimization flags come from the project settings.
- Update code to fix warnings caused since we've removed -ffreestanding. GCC now warns about printf, sprintf and other C calls (including a change from %wZ to %S in winldr.c's sprintf calls).
- Don't use printf anymore -- rename freeldr's implementation to TuiPrintf. Just like in the kernel, you can't use printf in freeldr (since it's not running in a standard/full CRT environment).
- 124kb saved!

svn path=/trunk/; revision=32120
2008-02-04 20:27:43 +00:00
Johannes Anderwald
286cc44351 - rename member
svn path=/trunk/; revision=32119
2008-02-04 18:58:46 +00:00
Johannes Anderwald
f63b6c9df1 - call csrss for Console alias related functions
svn path=/trunk/; revision=32118
2008-02-04 18:58:17 +00:00
Johannes Anderwald
188cc187b1 - implement GetConsoleAlias* AddConsoleAlias function in csrss
- 

svn path=/trunk/; revision=32117
2008-02-04 18:57:19 +00:00
Aleksey Bragin
8b88c6aa50 - Add missing registry values.
svn path=/trunk/; revision=32116
2008-02-04 17:10:01 +00:00
Johannes Anderwald
8ceafd73c8 - add api message structs / constants for doskey
svn path=/trunk/; revision=32115
2008-02-04 15:06:09 +00:00
Aleksey Bragin
fcdad0ecd0 - Sync RPC headers with Wine.
svn path=/trunk/; revision=32114
2008-02-04 13:15:01 +00:00
Aleksey Bragin
ac79d6ae4b - Make Mm allocation strategy low->high by default.
- Clean up Mm APIs which are not needed anymore.
- Get rid of the LOADER_HIGH_ZONE definition, now the real LoaderPagesSpanned value is calculated and used. As a result, minimum memory requirement (which was >= LOADER_HIGH_ZONE) is gone, and a maximum amount of memory which could be allocated is also gone (previously, not more that the LOADER_HIGH_ZONE).
- IMPORTANT: The FAT filesystem caching is disabled by default now due strange problems in 3rd boot stage, after switching the cache to use heap routines. Cache can't use non-heap routines anymore, since the memory will overlap the contigious modules memory space which ReactOS needs.
- More cleanup and more usage of the heap routines for temporary buffers.
- Fix a bug in MmAllocateMemoryWithType, where result of MmFindAvailablePages was checked against -1 in error case, when in reality it's 0 (spotted by Alex). NB: 0 page is marked as a reserved in x86 arch, so it's never going to be returned as an available.

svn path=/trunk/; revision=32113
2008-02-04 10:45:55 +00:00
Aleksey Bragin
f971658fb8 - Make other filesystems use the new heap mm routines.
svn path=/trunk/; revision=32112
2008-02-04 09:37:59 +00:00
Timo Kreuzer
73bf020856 - recurse into IntGdiDeleteDC directly, instead of going back to NtGdiDeleteObjectApp and pass Force parameter on.
- add a FIXME for dangerous code

svn path=/trunk/; revision=32111
2008-02-04 03:31:09 +00:00
Timo Kreuzer
edff92650c - simplify a check
- fix a check
- fix a region leak
- don't abuse GDIOBJ_LockObj to validate a handle, use GDIOBJ_ValidateHandle instead
- add some additional debug output

svn path=/trunk/; revision=32110
2008-02-04 03:22:27 +00:00
Timo Kreuzer
faf0212f7b - remove GDIOB_XxxDbg functions
- enhance backtracing and debug output for GDI_DEBUG
- implement GDIOBJ_ValidateHandle()
Stack record dumping is commented out atm due to missing support from ntoskrnl

svn path=/trunk/; revision=32109
2008-02-04 03:17:37 +00:00
Aleksey Bragin
4c73dc576a - Revert 32105 to make trunk bootable, as agreed with Colin.
svn path=/trunk/; revision=32108
2008-02-03 21:47:35 +00:00
Aleksey Bragin
c7a1042e5c - Make caching enable/disable a runtime switch instead of a compile time one.
svn path=/trunk/; revision=32107
2008-02-03 18:51:48 +00:00
Timo Kreuzer
005a190594 fix a DC handle leak
svn path=/trunk/; revision=32106
2008-02-03 14:26:52 +00:00
Colin Finck
77a3a581b7 - Use host/typedefs.h for rsym instead of reinventing the wheel for host types
- Get rsym to compile warning-free under any host

svn path=/trunk/; revision=32105
2008-02-03 13:53:27 +00:00
Colin Finck
bec6c89c6d Get inflib_host to build warning-free
svn path=/trunk/; revision=32104
2008-02-03 13:36:10 +00:00
Colin Finck
720b53c4b2 Finally fix all cabman warnings and the 64-bit build
svn path=/trunk/; revision=32103
2008-02-03 11:52:42 +00:00
Aleksey Bragin
5b397144a9 - Remove accidentally committed stuff, noticed by Stefan.
svn path=/trunk/; revision=32102
2008-02-03 11:50:26 +00:00
Colin Finck
da6d641d4e Fix many warnings (hopefully all) in cabman under different hosts.
We cast all ULONG's to UINT's here, because this is the only type for which we can be sure that it defines to "unsigned int".
ULONG is "unsigned long" with the Windows headers and "unsigned int" with the host headers (for 64-bit compatibility), therefore we need the casts.

svn path=/trunk/; revision=32101
2008-02-03 11:23:31 +00:00
Daniel Reimer
aab2c713d3 German Translations by Dark_Shadow@gmx.at
svn path=/trunk/; revision=32100
2008-02-03 08:34:44 +00:00
Daniel Reimer
920359cc1b German RC File Updates by (Dark_Shadow@gmx.at)
svn path=/trunk/; revision=32099
2008-02-03 08:21:00 +00:00
Christoph von Wittich
5751b595ac build unicode version
svn path=/trunk/; revision=32098
2008-02-02 22:49:24 +00:00
Christoph von Wittich
9c69b6f7f8 add support for /macrofile (bit hacky - but it should work for RosBE)
svn path=/trunk/; revision=32097
2008-02-02 21:52:46 +00:00
Christoph von Wittich
f536a06a34 support for adding and deleting macros
doskey macroname=command
doskey macroname=

svn path=/trunk/; revision=32096
2008-02-02 21:32:11 +00:00
Christoph von Wittich
2b87bc4cd1 add doskey to bootcd
svn path=/trunk/; revision=32095
2008-02-02 21:26:26 +00:00
Christoph von Wittich
2b18c773d7 add doskey (not finished yet)
svn path=/trunk/; revision=32094
2008-02-02 21:23:38 +00:00
Christoph von Wittich
775daf6fd1 rewrote alias handling in cmd for doskey compatibility
implemented AddConsoleAliasA, GetConsoleAliasesLengthA, GetConsoleAliasesLengthW
halfplemented: AddConsoleAliasW, GetConsoleAliasW, GetConsoleAliasesW

svn path=/trunk/; revision=32093
2008-02-02 21:06:53 +00:00
Colin Finck
3fdd323b73 - Fix funky ways of checking for success, when calling SetFilePointer.
The only correct and always working way is checking for INVALID_SET_FILE_POINTER.
- Fix setting the file attributes.
  We didn't pass the destination directory before, so if the user specified another destination directory, the SetFileAttributes call failed.
- Simplify GetAttributesOnFile and SetAttributesOnFile

svn path=/trunk/; revision=32092
2008-02-02 19:21:35 +00:00
Aleksey Bragin
6a480b0db6 - Mark APIC's memory as WriteThrough / CacheDisabled.
svn path=/trunk/; revision=32090
2008-02-02 15:15:41 +00:00
Colin Finck
b1d37b0e86 - Add an -M option to specify, which compression codec shall be used (either "raw" or "mszip")
- Enable the RAW codec in the SelectCodec() function
- Don't initialize a codec in the CCabinet constructor, this will be done by the ParseCmdline() function
- Fix parsing the -L and -P parameters, when there's no whitespace between the parameter and the value
- Remove some unneeded casts
- Remove the cabman vesion number, it was never updated, although there were many changes since the first version

svn path=/trunk/; revision=32089
2008-02-02 14:32:44 +00:00
Colin Finck
982e1cf181 Get it to compile warning-free under MSVC (at /W3)
svn path=/trunk/; revision=32087
2008-02-02 12:05:05 +00:00
Colin Finck
8dc242259f [FORMATTING] TABs -> 4 spaces
svn path=/trunk/; revision=32086
2008-02-02 11:57:16 +00:00
Christoph von Wittich
d91afce7df display short version info for "ver" as default
use /c, /r or /w to get more details

svn path=/trunk/; revision=32085
2008-02-02 11:03:43 +00:00
Christoph von Wittich
696d5b4b7c move code to the correct position to handle all cases in 'if'
svn path=/trunk/; revision=32084
2008-02-02 10:52:29 +00:00
Christoph von Wittich
9b8be30ee9 don't overwrite terminating \0 char
some code cleanup

svn path=/trunk/; revision=32083
2008-02-02 10:38:37 +00:00
Christoph von Wittich
ddf20ad13d fix length calculation for :~
svn path=/trunk/; revision=32082
2008-02-02 09:29:42 +00:00
Christoph von Wittich
18e69dbf76 set correct varNameLen for %~dp0
svn path=/trunk/; revision=32081
2008-02-02 09:21:22 +00:00
Christoph von Wittich
3a1bd096c1 fix formatting
svn path=/trunk/; revision=32080
2008-02-01 23:27:27 +00:00
Colin Finck
7901978873 Wrote a Win32 Font Editor for our VGA Fonts used in blue.sys.
It has a MDI user interface, imports binary fonts (.bin) and PC Screen Fonts (.psf) and exports .bin fonts.
Compiles without any warnings with GCC and MSVC (at /W3).

The "misc.c" file was taken from devmgmt (thanks Ged!) and modified.
The used bitmaps and icons were all done myself, but partly consist of characters of the cp737 font we have in media/vgafont.

svn path=/trunk/; revision=32079
2008-02-01 21:40:18 +00:00
Christoph von Wittich
817d837921 fix a problem with length calculation
handle vars with exclamation marks instead of %
like !errorlevel!

svn path=/trunk/; revision=32078
2008-02-01 21:25:21 +00:00
Colin Finck
821c381455 Remove some redefined macros from "winnls.h"
As we set #pragma GCC system_header, all warnings are suppressed for that header, but in MSVC they are shown again.

svn path=/trunk/; revision=32077
2008-02-01 21:22:02 +00:00
Christoph von Wittich
8872eea630 ZeroMemory the batchfile path
svn path=/trunk/; revision=32076
2008-02-01 20:30:51 +00:00
Aleksey Bragin
6db22908ce - Filip Navara: Take into account non-fast/non-hash indices in CmPrepareHive.
- Apply similar changes to freeldr's registry importing function.

svn path=/trunk/; revision=32075
2008-02-01 18:53:43 +00:00
Peter Ward
4e8df678d2 - Make dp0 give the directory the batch was run from instead of the current directory.
svn path=/trunk/; revision=32074
2008-02-01 14:15:41 +00:00
Christoph von Wittich
cf39f6646d fix a bug in goto
a stubs for setlocal and endlocal (our default is delayed expansion)

svn path=/trunk/; revision=32073
2008-02-01 09:49:58 +00:00
Sebastian Gasiorek
8c1cafd4fb Polish resource changes:
- change Wine to ReactOS in "Run" dialog
- insert and translate IDS_RESTART

svn path=/trunk/; revision=32072
2008-01-31 23:17:24 +00:00
Timo Kreuzer
e8c790f781 fix definitions of WM_MOUSEWHEEL and WM_MOUSELAST
svn path=/trunk/; revision=32071
2008-01-31 21:29:03 +00:00
Christoph von Wittich
76569bc213 handle call :Label
fix goto :Label

svn path=/trunk/; revision=32070
2008-01-31 20:55:05 +00:00
Christoph von Wittich
97b5e11eba handle %dp0
svn path=/trunk/; revision=32069
2008-01-31 19:01:23 +00:00
Christoph von Wittich
11ca34b0e3 support else
handle negative values in special envvars
stdin,out,err can't be redirected for windows gui apps

svn path=/trunk/; revision=32068
2008-01-31 17:59:02 +00:00
Christoph von Wittich
00e33fbce3 don't print the new color value when echo is off
svn path=/trunk/; revision=32067
2008-01-31 17:26:57 +00:00
Daniel Reimer
c3148085fe Bug 3021: slovak translations of rosapps (kario@szm.sk)
svn path=/trunk/; revision=32066
2008-01-31 16:41:33 +00:00
Christoph von Wittich
8f8faff777 allow nested (...) blocks (but still no support for else)
svn path=/trunk/; revision=32065
2008-01-31 15:11:25 +00:00
Christoph von Wittich
4a894bb597 rename it back to matrix.src to get it included on bootcd again
svn path=/trunk/; revision=32064
2008-01-31 10:35:34 +00:00
Christoph von Wittich
871c1fe88e fix storing and loading registry settings
svn path=/trunk/; revision=32063
2008-01-31 10:05:02 +00:00
Christoph von Wittich
08720c6375 don't try to append when there is only one parameter given
See issue #3023 for more details.

svn path=/trunk/; revision=32062
2008-01-31 09:00:27 +00:00
Christoph von Wittich
918dc6ab7d don't draw the standard UI background in minimal mode
some code reduction

svn path=/trunk/; revision=32061
2008-01-31 07:33:02 +00:00
Filip Navara
d893df2e75 Add NT6 members to the enumerations and structures.
svn path=/trunk/; revision=32060
2008-01-30 23:04:37 +00:00
Daniel Reimer
25ee2e97d9 Bug 2993: slovak translation for usetup (kario@szm.sk)
Bug 3020: Ukrainian translation update (temarez@yandex.ru)

svn path=/trunk/; revision=32059
2008-01-30 17:59:13 +00:00
Daniel Reimer
251febcd4d Bug 2993: slovak translation for usetup (kario@szm.sk)
Bug 3020: Ukrainian translation update (temarez@yandex.ru)

svn path=/trunk/; revision=32058
2008-01-30 17:43:12 +00:00
Christoph von Wittich
d6dc1ebe36 disable Search when there is no text
call SearchDialog when SearchNext is called without a string to search for

svn path=/trunk/; revision=32057
2008-01-30 17:20:47 +00:00
Christoph von Wittich
8e346ad979 use FILE_SHARE_READ | FILE_SHARE_WRITE to open files which are in use by another process
See issue #3011 for more details.

svn path=/trunk/; revision=32056
2008-01-30 16:02:49 +00:00
Christoph von Wittich
4afb9d0704 translate some GreatLordish comments in something more similar to english
svn path=/trunk/; revision=32055
2008-01-30 13:46:37 +00:00
Aleksey Bragin
fca1165c23 - Wrap MmProbeAndLockPages invocations into SEH.
See issue #2121 for more details.

svn path=/trunk/; revision=32054
2008-01-30 13:33:16 +00:00
Christoph von Wittich
07c489c7d2 call WriteFile with the correct Buffer instead of a NULL pointer
See issue #2121 for more details.

svn path=/trunk/; revision=32053
2008-01-30 12:33:28 +00:00
Aleksey Bragin
c9b8e73e23 - Dehaxx0r MmInitializeMemoryManager in freeldr.
- Add slightly better bios memory map projection to the loader memory types, but this is still being investigated.
- Remove unneeded code.
- Change 'WINNT' to 'WINDOWS', but anyway this will be fixed later to get a real system path.

svn path=/trunk/; revision=32052
2008-01-30 10:46:38 +00:00
Aleksey Bragin
7550f93c9e - Allocate memory for groups list dynamically, and make it enough (4096 bytes) for a really long list of groups. This makes Windows 2003 booting up to explorer without crashing.
svn path=/trunk/; revision=32051
2008-01-30 10:32:22 +00:00
Christoph von Wittich
f6e0124144 add support for svn-1.5 entries patch by <roytam1 at yahoo dot com.hk>
See issue #2983 for more details.

svn path=/trunk/; revision=32050
2008-01-30 10:29:27 +00:00
Christoph von Wittich
8994a89463 save window position
svn path=/trunk/; revision=32049
2008-01-30 09:25:54 +00:00
Christoph von Wittich
ee02b70f0e improve StatusBar handling
See issue #3011 for more details.

svn path=/trunk/; revision=32048
2008-01-30 08:49:48 +00:00
Christoph von Wittich
a1407fd619 convert translations to DOS encodings by <cman at cman dot us> and <olaf_siejka at o2 dot pl>
See issue #3015 for more details.

svn path=/trunk/; revision=32047
2008-01-30 07:39:52 +00:00
Christoph von Wittich
e02b937d56 add font for codepage 775 by <cman at cman dot us> and 852 by <olaf_siejka at o2 dot pl>
See issue #3013 for more details.

svn path=/trunk/; revision=32046
2008-01-30 07:38:29 +00:00
Christoph von Wittich
fa9c8d859f add Lithuanian
svn path=/trunk/; revision=32045
2008-01-30 07:35:06 +00:00
Marc Piulachs
86341ddd28 Added xcopy to README.WINE
svn path=/trunk/; revision=32044
2008-01-29 23:50:54 +00:00
Marc Piulachs
9b18666718 sync to wine-0.9.54
svn path=/trunk/; revision=32043
2008-01-29 23:48:40 +00:00
Sylvain Petreolle
f984d31cc0 Added notepad to readme.wine
svn path=/trunk/; revision=32042
2008-01-29 18:02:14 +00:00
Daniel Reimer
174af446c8 Bug 3014: DLL-Win32-Shellext translation patch by Olaf Sjeka
svn path=/trunk/; revision=32041
2008-01-29 14:36:49 +00:00
Aleksey Bragin
0be1a279ad - Fix a typo in the if branch, which resulted in marking almost all memory above the bootloader as "FirmwareTemporary", even reserved ACPI pages. This should fix the ACPI BSOD Windows 2003 and XP show up.
- If a memory is marked as "free", leave it so, without transferring to FirmwareTemporary.

svn path=/trunk/; revision=32040
2008-01-29 10:08:18 +00:00
Aleksey Bragin
1d8a4b5828 - Fix an incorrect type of memory behind PDE, HAL mapping and kernel segment pagetables. They should be MemoryData. (and change allocation algorithm slightly).
- With this change Windows 2003 boots up to the BSOD showing ACPI_BIOS_ERROR.

svn path=/trunk/; revision=32039
2008-01-28 18:50:29 +00:00
Sylvain Petreolle
4ec56a71ac forgot that one
svn path=/trunk/; revision=32038
2008-01-28 18:05:54 +00:00
Sylvain Petreolle
848daa0d10 apply missing part of wordpad manual winesync
svn path=/trunk/; revision=32037
2008-01-28 17:51:00 +00:00
Daniel Reimer
c0808d2c1c Update translations of wordpad by syncin to wine 0.9.54
svn path=/trunk/; revision=32036
2008-01-28 15:08:37 +00:00
Aleksey Bragin
015995a0a4 - Properly fill ACPI BIOS configuration entry (a couple of ACPI specification structures were added, which should be moved to another header in future). This makes Windows 2003 initialize HAL (ACPI version) properly and be able to connect to the debugger.
- Make harddisk identifiers lowercase.

svn path=/trunk/; revision=32035
2008-01-28 13:29:45 +00:00
Daniel Reimer
4c740ec140 Remove all Manifests. They will be autogenerated in the future. This is one step to MSVC Support, too. And it fixes Bug 3010
svn path=/trunk/; revision=32034
2008-01-28 12:24:05 +00:00
Daniel Reimer
7d88c21275 Remove all Manifests. They will be autogenerated in the future. This is one step to MSVC Support, too. And it fixes Bug 3010
svn path=/trunk/; revision=32033
2008-01-28 12:24:03 +00:00
Magnus Olsen
2d4f0518a0 revert codepage 862 changes from rev 31935
Now swedish should work again in usetup

svn path=/trunk/; revision=32032
2008-01-27 19:21:53 +00:00
Aleksey Bragin
1d395f41fb - Finally switch to the new memory manager, which is compatible both with ReactOS and NT-style boot types.
- Added: memory types for each allocation request, ability to alloc and free memory from the heap, ability to use 1 megabyte of low memory too (which was just wasted previously).
- Removed: a bunch of hacky stuff.

svn path=/trunk/; revision=32031
2008-01-27 17:38:15 +00:00
Aleksey Bragin
4e1eca2cae - Map APIC pages, if they are present.
- Set the size of the memory new MM uses to 24Mb.
- Set heap size to 4Mb.
- Misc code cleanup.

svn path=/trunk/; revision=32030
2008-01-27 17:22:57 +00:00
Aleksey Bragin
ec85daf548 - Make small allocations from the heap.
svn path=/trunk/; revision=32029
2008-01-27 14:18:30 +00:00
Aleksey Bragin
8c9bb75736 - Add cache enable switch to fat.c. Comment out #define CACHE_ENABLED if you don't want freeldr to cache peripheral devices access.
svn path=/trunk/; revision=32028
2008-01-27 14:13:20 +00:00
Pierre Schweitzer
53405da51b Get back DO_DIRECT_IO flag that has been removed in r31747
svn path=/trunk/; revision=32027
2008-01-27 13:51:48 +00:00
Aleksey Bragin
a1af57e18c Paolo Devoti <devotip@tiscali.it>
- Separated the structure definition from the instance of it.
See issue #2037 for more details.

svn path=/trunk/; revision=32026
2008-01-27 13:37:40 +00:00
Pierre Schweitzer
34482cc96a [FORMATTING] Fix indentation
svn path=/trunk/; revision=32025
2008-01-27 13:16:52 +00:00
Gregor Brunmar
e44b25d2c4 * Replaced d3d9 debug helper function with native call
* Fixed adapter info overwrite and possible memory overwrite in d3d init code

svn path=/trunk/; revision=32024
2008-01-27 09:53:46 +00:00
Christoph von Wittich
5f29c7daea add newline before eof
svn path=/trunk/; revision=32023
2008-01-26 19:27:43 +00:00
Christoph von Wittich
d03938b37e silence some warnings
svn path=/trunk/; revision=32022
2008-01-26 19:20:55 +00:00
Christoph von Wittich
1e1430ab8b silence some warnings (this flag can't be set globally because then the function would have to take care of ifable data - and this would add a nested extra loop for every single file in the project)
svn path=/trunk/; revision=32021
2008-01-26 19:05:47 +00:00
Christoph von Wittich
095d586009 set the correct flags for PCH too
svn path=/trunk/; revision=32020
2008-01-26 18:49:51 +00:00
Christoph von Wittich
37d7255bc8 set -Wno-non-virtual-dtor for c++ code
svn path=/trunk/; revision=32019
2008-01-26 18:28:18 +00:00
Christoph von Wittich
d9fdef4e6b compilerflags can be set for compiler {ALL|CC|CPP} now (ALL is default)
svn path=/trunk/; revision=32018
2008-01-26 18:27:37 +00:00
Aleksey Bragin
9446625ead - Add CDB16 structure.
svn path=/trunk/; revision=32017
2008-01-26 17:57:12 +00:00
Aleksey Bragin
16e90bb8ca - Revert 32007 by Alex's request. Explanations in the ros-dev mailing list.
svn path=/trunk/; revision=32016
2008-01-26 16:50:31 +00:00
Christoph von Wittich
57d135db9d hackfix PSEH for gcc > 4.2
this will hide uninitialized variable warnings in the following code

svn path=/trunk/; revision=32015
2008-01-26 14:36:52 +00:00
Daniel Reimer
d97a210338 Bug 3005: Italian translation update (devotip@tiscali.it)
svn path=/trunk/; revision=32014
2008-01-26 14:27:11 +00:00
Aleksey Bragin
42c0450877 - Set LoaderPagesSpanned field in the extension.
svn path=/trunk/; revision=32013
2008-01-26 13:57:55 +00:00
Ged Murphy
499a6cf3db fix typo
svn path=/trunk/; revision=32012
2008-01-26 13:05:39 +00:00
Aleksey Bragin
94fc5d3927 - Display string identifiers in debug log too.
svn path=/trunk/; revision=32011
2008-01-26 13:03:32 +00:00
Ged Murphy
5b5baba7f5 - fix number of params in 3 win32k syscalls
- patch by Stefan Ginsberg  (stefan__100__@hotmail.com)
(NtUserGetClassInfo params advised by myself)


svn path=/trunk/; revision=32010
2008-01-26 12:55:46 +00:00
Christoph von Wittich
e75fa7f9f6 allowwarnings="true" (req. by gcc 4.3.0)
svn path=/trunk/; revision=32009
2008-01-26 10:40:53 +00:00
Christoph von Wittich
48598dcb2b the address of gpDxFuncs will always evaluate as true
svn path=/trunk/; revision=32008
2008-01-26 10:10:43 +00:00
Art Yerkes
4b0245fc44 Fix termination of process under debug.
svn path=/trunk/; revision=32007
2008-01-26 09:20:56 +00:00
Sylvain Petreolle
ff436a13fc display exception text as well
svn path=/trunk/; revision=32006
2008-01-25 21:38:43 +00:00
Christoph von Wittich
8acf5e8480 Fno-strict-aliasing -> fno-strict-aliasing
svn path=/trunk/; revision=32005
2008-01-25 20:30:52 +00:00
Christoph von Wittich
d882c08be3 use Fno-strict-aliasing
svn path=/trunk/; revision=32004
2008-01-25 18:32:27 +00:00
Christoph von Wittich
3799424d9e fix warnings
svn path=/trunk/; revision=32003
2008-01-25 18:19:41 +00:00
Christoph von Wittich
5f0802d25b wasn't fast enough to hit the cancel button
cast to VOID* instead of using CopyMemory

svn path=/trunk/; revision=32002
2008-01-25 17:41:29 +00:00
Christoph von Wittich
16361a1a3d fix warnings
don't try to cast away const

svn path=/trunk/; revision=32001
2008-01-25 17:36:55 +00:00
Aleksey Bragin
e129089730 - Make identifiers in configuration trees ASCII-strings, as they are in real NT.
- NB: Don't forget to update the bootloader in your installation.

svn path=/trunk/; revision=31999
2008-01-25 16:35:34 +00:00
Christoph von Wittich
83fa95b657 fix 640x480 resolution
svn path=/trunk/; revision=31997
2008-01-25 15:16:14 +00:00
Aleksey Bragin
90c012403c - Add a runtime switch between using freeldr-embedded configuration tree heap, or using a real heap allocation (for NT-way).
- Use that in winldr.

svn path=/trunk/; revision=31996
2008-01-25 15:08:27 +00:00
Christoph von Wittich
486430a6fa reenable it...
svn path=/trunk/; revision=31995
2008-01-25 15:04:03 +00:00
Christoph von Wittich
080e09635b disable the Back button on Finish page
svn path=/trunk/; revision=31994
2008-01-25 15:00:29 +00:00
Christoph von Wittich
262fbb9159 changed the index to get better readable code
spotted by pablo at menichini dot com dot ar

svn path=/trunk/; revision=31993
2008-01-25 14:18:41 +00:00
Christoph von Wittich
96177328b5 revert r31978
svn path=/trunk/; revision=31992
2008-01-25 14:15:27 +00:00
Aleksey Bragin
43dbecaac6 - Use new way of obtaining the hardware tree in winldr too.
- NT4 requires text mode to be set up, and further version of Windows OS require a different preparation.
- Fix configuration tree conversion routine to also convert Identifier pointers from physical address to virtual address.

svn path=/trunk/; revision=31991
2008-01-25 14:13:54 +00:00
Aleksey Bragin
57da0f7d20 - Fix out-of-bounds access, spotted by Christoph & GCC 4.3.0.
svn path=/trunk/; revision=31990
2008-01-25 14:08:11 +00:00
Christoph von Wittich
3ddd95ec4d don't write beyond the arraysize
svn path=/trunk/; revision=31989
2008-01-25 14:03:23 +00:00
Christoph von Wittich
d19078580f fix some warnings
svn path=/trunk/; revision=31988
2008-01-25 13:26:12 +00:00
Aleksey Bragin
6fd43506eb - Make HwDetect routine return a pointer to the root of a configuration tree (instead of directly referencing a global variable).
svn path=/trunk/; revision=31987
2008-01-25 12:22:51 +00:00
Christoph von Wittich
6b4b28c977 fix build with gcc 4.3.0
svn path=/trunk/; revision=31986
2008-01-25 12:13:24 +00:00
Christoph von Wittich
89da0c1216 change swedish codepage back to 850
svn path=/trunk/; revision=31985
2008-01-25 11:52:32 +00:00
Aleksey Bragin
d5c9b72407 - Change hardware.c to the new heap allocation mm-apis.
svn path=/trunk/; revision=31984
2008-01-25 11:35:51 +00:00
Aleksey Bragin
7cd6896619 - Don't store memory allocation descriptors inside the bootloader, since this memory is unmapped in kernelmode. Fixes a pagefault after switching to paged mode.
- Store the configuration data in the LPB.

svn path=/trunk/; revision=31983
2008-01-25 11:19:11 +00:00
Christoph von Wittich
d5a5554fcd disable DbgPrint
svn path=/trunk/; revision=31981
2008-01-25 09:36:48 +00:00
Christoph von Wittich
6a395541bb remove statement with no effect
svn path=/trunk/; revision=31978
2008-01-24 20:47:56 +00:00
Christoph von Wittich
94f5c1c49c fix some warnings
svn path=/trunk/; revision=31977
2008-01-24 20:40:57 +00:00
Christoph von Wittich
307d14e5c5 fix building with gcc 4.3.0
svn path=/trunk/; revision=31976
2008-01-24 18:29:50 +00:00
Christoph von Wittich
5af79446f0 fix a typo
svn path=/trunk/; revision=31975
2008-01-24 17:45:52 +00:00
Christoph von Wittich
24f6bca826 fix index out of bounds warning
svn path=/trunk/; revision=31974
2008-01-24 17:27:38 +00:00
Christoph von Wittich
be0f87b133 do not redefine _pctype
svn path=/trunk/; revision=31973
2008-01-24 17:26:18 +00:00
Christoph von Wittich
ad976f79ed don't write beyond the arraysize
svn path=/trunk/; revision=31972
2008-01-24 17:06:19 +00:00
Christoph von Wittich
cf647b0d3b fix build with gcc 4.3.0
svn path=/trunk/; revision=31971
2008-01-24 16:42:57 +00:00
Christoph von Wittich
923ae85f03 do not redefine _pctype
svn path=/trunk/; revision=31970
2008-01-24 16:40:11 +00:00
Christoph von Wittich
7c9c0fea0f use explicit braces to make gcc happy
svn path=/trunk/; revision=31969
2008-01-24 16:17:26 +00:00
Christoph von Wittich
cba50726e4 don't try to delete the bitmap object in case of failure as it doesn't belong to the calling process anymore
svn path=/trunk/; revision=31962
2008-01-23 17:34:06 +00:00
Christoph von Wittich
7fd698ea9a improve the genlist code a bit further
svn path=/trunk/; revision=31961
2008-01-23 17:14:08 +00:00
Christoph von Wittich
d06204ede8 improve the generic list by allowing faster navigation with chars [a-z]
svn path=/trunk/; revision=31960
2008-01-23 16:14:50 +00:00
Daniel Reimer
80b3277158 Updated readme.wine to include three more synced apps.
svn path=/trunk/; revision=31959
2008-01-23 10:37:32 +00:00
Hervé Poussineau
cca197c311 Revert r31093
svn path=/trunk/; revision=31958
2008-01-23 10:35:49 +00:00
Daniel Reimer
afe0dfeb1f No Idea if theres any reason to sync this, but...
Synced Winefile to Wine 0.9.53

svn path=/trunk/; revision=31957
2008-01-23 08:51:31 +00:00
Art Yerkes
9ebb58eb88 Unhack freeldr.c a bit by applying some adjustment macros.
Fix slow bitscanreverse and make LARGE_INTEGER and kin bi-endian.

svn path=/trunk/; revision=31956
2008-01-23 02:47:22 +00:00
Art Yerkes
56a886e58d Unstub some interlocked functions.
svn path=/trunk/; revision=31955
2008-01-23 01:11:13 +00:00
Art Yerkes
9dc65bb296 Page fault, system calls, context switches debugged.
Heaps, system calls, context switches all functional.

svn path=/trunk/; revision=31953
2008-01-23 00:43:39 +00:00
Daniel Reimer
887d6dd76e Final Apps to get modified. Now all non Synched Files use these rules:
1. Use a DIALOGEX template instead of a DIALOG template.
2. Set the DS_SHELLFONT flag in your dialog styles.
3. Set the dialog font to "MS Shell Dlg".
-> Windows 2000+ Look

svn path=/trunk/; revision=31952
2008-01-22 22:20:02 +00:00
Colin Finck
df78039f8e Convert the Italian and Spanish usetup translations to OEM charset, so they are displayed correctly in text-mode using codepage 850.
svn path=/trunk/; revision=31951
2008-01-22 21:56:53 +00:00
Daniel Reimer
4f9e319da6 BIIG RC File Update.
Added DS_SHELLFONT to all Dialogs and removed DS_FIXEDSYS and DS_SETFONT if existant (most of the time they were not.)
Checked for the right Font for Asian Languages and set a unified Font size fot them.
Synched some translated stuff to contain all data (in English, but hey..)
Bug 2991 (cman@cman.us) / Bug 2992 (kario@szm.sk) / Bug 2994 (remialdo@gmail.com)
Not completed yet, but I need to tidy up my tree. Rest will come tomorrow (Not much left)

svn path=/trunk/; revision=31950
2008-01-22 19:08:51 +00:00
Sylvain Petreolle
002eaf2fae usetup french translation update,
now taking advantage of vga font.


svn path=/trunk/; revision=31948
2008-01-22 17:58:33 +00:00
Christoph von Wittich
319beb2581 update comment
svn path=/trunk/; revision=31947
2008-01-22 16:52:28 +00:00
Christoph von Wittich
ba4d75b417 allow filemode 2 for PSF files (but ignoring unicode data)
svn path=/trunk/; revision=31946
2008-01-22 16:21:06 +00:00
Daniel Reimer
98b82a4aeb Forgot to remove the DS_FIXEDYS. DS_SHELLFONT adds this.
svn path=/trunk/; revision=31945
2008-01-22 14:02:45 +00:00
Christoph von Wittich
d5243859b8 revert r31942 - didn't notice the font had a different filesize - so blue.sys isn't able to load it
svn path=/trunk/; revision=31944
2008-01-22 10:59:32 +00:00
Christoph von Wittich
a6d75ac528 add turkish font from debian (untested)
svn path=/trunk/; revision=31943
2008-01-22 10:54:27 +00:00
Christoph von Wittich
27e5800b6a change swedish codepage to 865
svn path=/trunk/; revision=31942
2008-01-22 10:52:08 +00:00
Christoph von Wittich
84b3ce2136 convert greek translation to cp737 and enable it in usetup
svn path=/trunk/; revision=31941
2008-01-22 09:45:41 +00:00
Christoph von Wittich
1f6b3e80e1 add gr8x8.psf from debian console-data package
svn path=/trunk/; revision=31940
2008-01-22 09:44:54 +00:00
Christoph von Wittich
7901f352e6 add support for loading the PSF font-file-format as understood by version 0.94
and above of the Linux console utilities ('kbd')

svn path=/trunk/; revision=31939
2008-01-22 09:42:37 +00:00
Christoph von Wittich
7776978a09 add sources
svn path=/trunk/; revision=31938
2008-01-22 08:41:35 +00:00
Christoph von Wittich
483a0e2a51 reapply r31919
svn path=/trunk/; revision=31937
2008-01-22 08:26:18 +00:00
Christoph von Wittich
c795bfe37f add cp865 to archive
svn path=/trunk/; revision=31936
2008-01-22 08:19:45 +00:00
Christoph von Wittich
4de49fe5b6 convert to cp865
svn path=/trunk/; revision=31935
2008-01-22 08:19:22 +00:00
Christoph von Wittich
281b4c11bd add fonts to /media/vgafont
svn path=/trunk/; revision=31934
2008-01-22 07:53:27 +00:00
Daniel Reimer
616e0deb3e Add DS_SHELLFONT to all Dialogs. These apps are completed.
svn path=/trunk/; revision=31932
2008-01-21 21:29:59 +00:00
Christoph von Wittich
2ab25d96d4 load the fonts from a zip archive
svn path=/trunk/; revision=31931
2008-01-21 21:01:52 +00:00
James Tabor
f57df98235 Fix static.
svn path=/trunk/; revision=31928
2008-01-21 19:45:05 +00:00
Andrey Korotaev
5efc70dd3f Some spellchecking and update russian translation
svn path=/trunk/; revision=31927
2008-01-21 18:50:08 +00:00
Sylvain Petreolle
003acee735 revert wordpad changes, this component is manually winesync'ed
fixes the build

svn path=/trunk/; revision=31926
2008-01-21 18:01:42 +00:00
Daniel Reimer
8079b00aa9 Bug 2988: slovak translation for downloader by kario@szm.sk
Same fixes as for trunk done here too.

svn path=/trunk/; revision=31923
2008-01-21 17:01:31 +00:00
Daniel Reimer
ce7b3191c1 Bug 2984 / Bug 2986 some spanish translations By Marc Piulachs
Final DIALOG to DIALOGEX and Font Editing

svn path=/trunk/; revision=31921
2008-01-21 17:00:01 +00:00
Colin Finck
17643b4358 Modify 0xDD in the codepage 850 font to make the usetup progress bar look right. (thanks to Hervé for the hint)
svn path=/trunk/; revision=31919
2008-01-21 16:41:21 +00:00
Colin Finck
19fdd0597a - Disable the Greek setup pages as long as we don't have a CP737 font
- Use the Greek keyboard layout, when selecting the "Greek" option

requested by smiley1_ on IRC

svn path=/trunk/; revision=31918
2008-01-21 15:22:03 +00:00
Daniel Reimer
6315c60b65 oops... fixed build
svn path=/trunk/; revision=31917
2008-01-21 14:23:52 +00:00
Daniel Reimer
393786c128 DIALOG -> DIALOGEX
1st step to set DS_SHELLFONT to all Dialogs.
MS Shell Dlg was already set as Font for all Dialogs
TBD: Scan through all Dialogs and add the missing DS_SHELLFONT

svn path=/trunk/; revision=31916
2008-01-21 14:17:57 +00:00
Dmitry Chapyshev
08c6e8b084 - Fix formating
svn path=/trunk/; revision=31915
2008-01-21 13:37:05 +00:00
Colin Finck
8d4ed7fa0a - Add a codepage 850 font imported from DragonFlyBSD / FreeBSD (original URL is http://opengrok.creo.hu/dragonfly/xref/src/share/syscons/fonts/cp850-8x8.fnt)
- Change the german translation to use umlauts
- Pass a codepage to blue.sys now, not a language ID. According to the comments, this is the right way.

TODO for the translators: Change the other codepage 850 languages to use the new available latin characters if needed.

svn path=/trunk/; revision=31914
2008-01-21 13:33:52 +00:00
Dmitry Chapyshev
6d369c1393 - Delete non-translated files
- Fix typo in Russian translation

svn path=/trunk/; revision=31913
2008-01-21 11:16:19 +00:00
Christoph von Wittich
0243a7af4e display Delphi library exceptions in debug log
svn path=/trunk/; revision=31912
2008-01-21 11:02:14 +00:00
Aleksey Bragin
dcc20b8f3c - Fix warnings.
svn path=/trunk/; revision=31911
2008-01-20 21:33:56 +00:00
Aleksey Bragin
0d639bb4b8 - Fix warnings.
svn path=/trunk/; revision=31910
2008-01-20 21:24:32 +00:00
Aleksey Bragin
9a4fa2716b - Add swprintf prototype, since oleaut32 needs it.
svn path=/trunk/; revision=31909
2008-01-20 20:29:42 +00:00
Christoph von Wittich
68e04f0711 stdole2.tlb doesn't have an entrypoint
svn path=/trunk/; revision=31908
2008-01-20 17:28:56 +00:00
Christoph von Wittich
2a6c3ea68a fix process token leaks
svn path=/trunk/; revision=31907
2008-01-20 17:01:42 +00:00
Filip Navara
874eec2648 Remove redundant memset call.
svn path=/trunk/; revision=31906
2008-01-20 15:41:49 +00:00
Aleksey Bragin
cd36a05851 - Sync the header with Wine, it's vital for the new rpcrt4 imported.
svn path=/trunk/; revision=31905
2008-01-20 15:25:31 +00:00
Christoph von Wittich
78f6ee1af6 startpos is zero based
svn path=/trunk/; revision=31904
2008-01-20 14:41:22 +00:00
Christoph von Wittich
67ed022d72 support blocks ( ... )
support parsing of env vars like %TIMERAW:~0,2%
there is still room for improvement... 

svn path=/trunk/; revision=31903
2008-01-20 14:29:18 +00:00
Aleksey Bragin
95ed37888e - Fix a bug, which led to incorrect prefix tree construction (and thus led to a crash when trying native npfs.sys).
- Add tracing.

svn path=/trunk/; revision=31902
2008-01-20 13:49:58 +00:00
Christoph von Wittich
afb39ce8fa fix a buffer overflow
svn path=/trunk/; revision=31901
2008-01-20 12:21:39 +00:00
Filip Navara
0fa9a1e144 Correct the parameter check in CreateIoCompletionPort.
svn path=/trunk/; revision=31900
2008-01-20 11:18:22 +00:00
Aleksey Bragin
24fe77488c - Make deregistering of the event source return STATUS_SUCCESS too (since unimplemented registering succeeds too).
svn path=/trunk/; revision=31899
2008-01-20 10:10:35 +00:00
Pierre Schweitzer
b83306cd61 Fixed two bugs (this fixes Diablo II download) :
- Check if returned structure for dependency is null, to avoid crash
- Compare good fields to get dependency. According to xml file, it's regname that should be used.

svn path=/trunk/; revision=31897
2008-01-19 21:32:39 +00:00
Dmitry Chapyshev
9e2b8d350c - Update Russian translation
svn path=/trunk/; revision=31896
2008-01-19 19:57:48 +00:00
Christoph von Wittich
5bf0c6933e enable KDBG as default
svn path=/trunk/; revision=31895
2008-01-19 18:11:12 +00:00
Christoph von Wittich
21d4613b0f fix memory leak
svn path=/trunk/; revision=31894
2008-01-19 17:29:49 +00:00
Aleksey Bragin
5af1cb9136 - Add ASSERTs.
svn path=/trunk/; revision=31893
2008-01-19 17:24:52 +00:00
Christoph von Wittich
b5b7d01acc add d2fix source
svn path=/trunk/; revision=31892
2008-01-19 17:13:39 +00:00
Christoph von Wittich
7c8827098e set correct Diablo 2 <regname>
set a working link to d2fix.exe which sets the correct registry settings to get Diablo 2 working on ReactOS

svn path=/trunk/; revision=31891
2008-01-19 17:12:14 +00:00
Daniel Reimer
297fefa2c7 Sync Winhelp to Wine 0.9.53 (WOW, NOT ONE WARNING!!! OMGWTFBBQ)
svn path=/trunk/; revision=31890
2008-01-19 16:46:21 +00:00
Aleksey Bragin
6e6060a610 - Use _enable/_disable intrinsics instead of inline asm.
svn path=/trunk/; revision=31889
2008-01-19 16:36:54 +00:00
Daniel Reimer
462e22a7ea Sync WordPad with Wine 0.9.53.
svn path=/trunk/; revision=31888
2008-01-19 16:25:54 +00:00
Aleksey Bragin
45e2da02d4 - Fix build.
svn path=/trunk/; revision=31887
2008-01-19 15:11:48 +00:00
Aleksey Bragin
48c842b509 - Convert russian translation back to DOS codepage. This makes cyrillic visible in the first stage setup.
- Fix first three pages translation (by me).

svn path=/trunk/; revision=31886
2008-01-19 15:11:09 +00:00
Aleksey Bragin
c3c7285a9b - Add SetConsoleCP api to the usetup, and make it call blue.sys in order to load font if needed.
- Fix a typo in WriteConsoleOutputCharacterW prototype.
- Add font.c to the blue.sys, move and add more definitions to a common header blue.h.
- Add Cyrillic font to blue.sys driver.

svn path=/trunk/; revision=31885
2008-01-19 14:51:12 +00:00
Pierre Schweitzer
f3e620fb65 Updated French translation for Downloader
svn path=/trunk/; revision=31884
2008-01-19 12:48:53 +00:00
Christoph von Wittich
0bc44b86a6 ask before installing dependecies
svn path=/trunk/; revision=31883
2008-01-19 11:52:29 +00:00
Aleksey Bragin
75abc4b6f9 - Add missing label.
svn path=/trunk/; revision=31882
2008-01-19 11:47:55 +00:00
Daniel Reimer
8a132d82a5 Bug 2944: Last fixes for Polish Translation. Translates the new Strings which came with my sync to the English RC Files, which are more up to date. Thx to Caemyr
svn path=/trunk/; revision=31881
2008-01-18 23:41:53 +00:00
James Tabor
13460ac91f Enable
svn path=/trunk/; revision=31880
2008-01-18 23:07:14 +00:00
Colin Finck
0b6aa2dfb5 Download AbiWord 2.4.6 instead of 2.5.2 (2.5.2 is a development version, 2.4.6 the latest stable one)
svn path=/trunk/; revision=31879
2008-01-18 22:46:29 +00:00
Christoph von Wittich
a00d6a195f add <Depends> and <PostInstallAction> to be able to install Diablo 2 Shareware with Download!
TODO: write the req. fix which creates a new shortcut with -w -glide
see <PostInstallAction> in the xml file

svn path=/trunk/; revision=31878
2008-01-18 22:23:52 +00:00
Christoph von Wittich
21613e19af constify parse_options parameter like it is done in wine
svn path=/trunk/; revision=31877
2008-01-18 19:14:30 +00:00
James Tabor
e51a783417 Fix logic in IntGdiDeleteDC with permanent set.
svn path=/trunk/; revision=31876
2008-01-18 18:10:42 +00:00
Christoph von Wittich
126214d889 don't crash when GetUserNameW is called with NULL - fixes launching of Office 2003 setup
svn path=/trunk/; revision=31875
2008-01-18 17:54:09 +00:00
Aleksey Bragin
f1b7277633 - Winesync to Wine-20080118.
svn path=/trunk/; revision=31874
2008-01-18 17:39:35 +00:00
Daniel Reimer
faa2ab3874 Begin of adding DS_SHELLFONT to all RC files.
Changed the Font Size of Calc. 9 -> 8

svn path=/trunk/; revision=31873
2008-01-18 17:28:28 +00:00
Colin Finck
06fcf0c718 Hopefully the last fix to get this to compile under Windows and Unix hosts...
svn path=/trunk/; revision=31872
2008-01-18 17:14:31 +00:00
Colin Finck
b93ff8eedd Define O_BINARY to 0 if it is not defined (all hosts, which don't define it, don't need it).
Update the .diff file as well.

svn path=/trunk/; revision=31871
2008-01-18 17:07:20 +00:00
Hervé Poussineau
83ea0639c1 Fix separators for .rbuild files in the generated makefile
Add a 'don't care' value for types and host.

svn path=/trunk/; revision=31870
2008-01-18 16:55:56 +00:00
Colin Finck
462e70bed3 Fix the fix
svn path=/trunk/; revision=31869
2008-01-18 16:26:31 +00:00
Colin Finck
e2a747b76d Write the TLB file in binary mode, so the line endings won't be changed.
Fixes the MSI registration (I reenabled it as well).
Credits go to Aleksey and Hervé again.

svn path=/trunk/; revision=31868
2008-01-18 16:12:59 +00:00
Daniel Reimer
c9cf79d518 Bug 2975: slovak translations for logoff and cacls (kario<AT>szm<DOT>sk)
Bug 2976: Lithuanian translation by Vytis Girdzijauskas (cman<AT>cman<DOT>us)
Bug 2979: Brazilian Portuguese Translation (wagner<DOT>snake<AT>gmail<DOT>com)
Bug 2980: Bulgarian language update (sstpr<AT>narod<DOT>ru)

svn path=/trunk/; revision=31867
2008-01-18 15:55:02 +00:00
Christoph von Wittich
a9de2ac45a add wpp_ros.diff
svn path=/trunk/; revision=31866
2008-01-18 14:42:20 +00:00
Christoph von Wittich
d4fb037596 update wine headers included by widl to wine-0.9.53
svn path=/trunk/; revision=31865
2008-01-18 14:11:42 +00:00
Colin Finck
5c06769534 Switch to the new widl (Wine-20080118)
svn path=/trunk/; revision=31864
2008-01-18 12:41:15 +00:00
Hervé Poussineau
4caea795dd Update status
svn path=/trunk/; revision=31862
2008-01-18 12:25:40 +00:00
Christoph von Wittich
ca51e7ab6e Rob Shearman : rpcrt4: Set ReservedForRuntime to NULL in NdrClientInitializeNew.
<rob at codeweavers.com>

svn path=/trunk/; revision=31861
2008-01-18 11:57:48 +00:00
Hervé Poussineau
327cd0f9bc Shuffle functions to look more like in Wine.
Add a few stubs

svn path=/trunk/; revision=31860
2008-01-18 11:51:01 +00:00
Christoph von Wittich
cc0209690e Rob Shearman : rpcrt4: Handle complex arrays in calc_arg_size. <rob at codeweavers.com>
svn path=/trunk/; revision=31859
2008-01-18 11:38:47 +00:00
Christoph von Wittich
88179de4f8 rpcrt4: Fix the calculation of element sizes for complex arrays by using a new function ComplexStructSize that doesn 't touch the buffer to calculate the size.
<rob at codeweavers.com>

svn path=/trunk/; revision=31858
2008-01-18 11:35:06 +00:00
Christoph von Wittich
690e2cd071 rpcrt4: Add support for calculating the memory size of complex types with embedded non-conformant strings. <rob at codeweavers.com>
svn path=/trunk/; revision=31857
2008-01-18 11:28:18 +00:00
Christoph von Wittich
34190c7a32 rpcrt4: Allocate a context handle if a NULL GUID is being unmarshalled. <rob at codeweavers.com>
svn path=/trunk/; revision=31856
2008-01-18 11:25:21 +00:00
Christoph von Wittich
d9ca23e550 rpcrt4: Don't print fixmes for NDR types without a freeing function.
rpcrt4: Add traces to the start of TowerConstruct and TowerExplode.
<rob at codeweavers.com>

svn path=/trunk/; revision=31855
2008-01-18 11:22:16 +00:00
Christoph von Wittich
7e4a0d01fb widl: Fix context handle "cannot be null" detection.
The "cannot be null" attibute is applied to a parameter if and only if 
it is in-only.

widl: Fix the conditions under which array freeing code is output.

It doesn't matter whether or not the array is declared as a pointer or 
is declared using array subscripts - the array is still allocated by the 
unmarshalling function and so needs to be freed.

<rob at codeweavers.com>

svn path=/trunk/; revision=31854
2008-01-18 11:17:50 +00:00
Christoph von Wittich
643cc20639 rpcrt4: Don't set Buffer to NULL in I_RpcFreeBuffer. <rob at codeweavers.com>
svn path=/trunk/; revision=31853
2008-01-18 10:42:16 +00:00
Christoph von Wittich
02f7a25753 rpcrt4: Fix memory leak in NdrFullPointerXlatFree. <rob at codeweavers.com>
First of all, the code was freeing the wrong pointer (i.e. the pointer
supplied by the caller of one of the NdrFullPointer* functions, not the
PFULL_PTR_TO_REFID_ELEMENT. Second, the code wasn't following the Next
link to the next entry in the list.

svn path=/trunk/; revision=31852
2008-01-18 10:37:37 +00:00
Christoph von Wittich
bf565b3d3a rpcrt4: Fix a leak of msg in RPCRT4_io_thread on the error paths. <rob at codeweavers.com>
svn path=/trunk/; revision=31851
2008-01-18 10:34:34 +00:00
Christoph von Wittich
41862fd922 Rob Shearman : rpcrt4: Improve error handling in RPCRT4_io_thread and remove commented-out code. <rob at codeweavers.com>
svn path=/trunk/; revision=31850
2008-01-18 10:09:21 +00:00
Hervé Poussineau
5914c98aa9 Use new interface names
svn path=/trunk/; revision=31849
2008-01-18 10:08:49 +00:00
Christoph von Wittich
e83b5427a6 Rob Shearman : rpcrt4: Set the fBufferValid flag in NdrProxyGetBuffer. <rob at codeweavers.com>
svn path=/trunk/; revision=31848
2008-01-18 10:05:52 +00:00
Christoph von Wittich
714d031d4f Rob Shearman : rpcrt4: Remove some unused includes. <rob at codeweavers.com>
svn path=/trunk/; revision=31847
2008-01-18 10:02:41 +00:00
James Tabor
3f063e5fa2 Patch by Stefan100 stefan__100__ at hotmail.com. Remove NtGdiGetTextExtentPoint32, update all related.
svn path=/trunk/; revision=31846
2008-01-18 03:43:03 +00:00
Daniel Reimer
6274286a77 Hopefully the last changes for now. Fixed the warnings due to a missing empty line.
svn path=/trunk/; revision=31845
2008-01-17 20:18:11 +00:00
Thomas Bluemel
162436143d Patch by Carlo Bramix <carlo.bramix@libero.it>
Enable the find menu items
See issue #2978 for more details.

svn path=/trunk/; revision=31844
2008-01-17 20:08:18 +00:00
Hervé Poussineau
beaf1037f9 Do not autoregister msi, as long as problem is not fixed (2nd stage break)
svn path=/trunk/; revision=31843
2008-01-17 16:12:44 +00:00
Colin Finck
860c4aab05 These files still included the now non-existent "resource.h" files.
svn path=/trunk/; revision=31842
2008-01-17 15:22:18 +00:00
Colin Finck
c64d173b9a This file was still including "resource.h" although there is no "resource.h" for xcopy
svn path=/trunk/; revision=31841
2008-01-17 15:01:14 +00:00
Colin Finck
2d0464ddb2 - Define the copyright year one time and then use this constant everywhere instead of redefining it at X places
- Get rid of the "include/reactos/resource.h" header file.
  It contained outdated strings and had no effect on the resource files anymore. The "version.rc" file has the same purpose and does a better job.

svn path=/trunk/; revision=31840
2008-01-17 14:50:36 +00:00
Daniel Reimer
9238f49148 Continue of my try to get all RCs in Sync.
Same as before. Killed {}, changed to default font etc.

svn path=/trunk/; revision=31839
2008-01-17 14:02:01 +00:00
Daniel Reimer
ff4f467cdb Continue of my try to get all RCs in Sync.
Same as before. Killed {}, changed to default font etc.
This syncs all cpls except the diabled rcs of intl and sysdm which are in a rather incomplete shape.
I might fill them up again later this day to gether with the rest of the dlls folder which is not synched..

svn path=/trunk/; revision=31838
2008-01-17 14:01:53 +00:00
Daniel Reimer
8a120c9e61 Bug 2944: Polish translation: part 4/4 - Dll (olaf_siejka<AT>o2<DOT>pl)
Some German RC Fixes by Dark_Shadow<AT>gmx<DOT>at and me
Remove the {} and replace with BEGIN END
Still TBD:
- Sync the CPL Resources
- DO all the same for DLL Folder.

svn path=/trunk/; revision=31837
2008-01-17 09:34:17 +00:00
Colin Finck
76fa5d59e8 Get rid of bin2res and all rbuild stuff associated with it. We don't need it anymore after the latest winesyncs.
This also requires adding an '<include base="stdole2" root="intermediate">.</include>' line to stdole2.rbuild, because previously this include directory was automatically added when processing Wine modules.
This is already done for similar modules like "msi".

svn path=/trunk/; revision=31836
2008-01-17 00:35:44 +00:00
Aleksey Bragin
7b3487eb9a - Sync NDK changes.
svn path=/trunk/; revision=31835
2008-01-16 23:19:01 +00:00
Daniel Reimer
0402021d21 Final Update for now. DLLs will come later. (Too tired)
svn path=/trunk/; revision=31834
2008-01-16 21:39:50 +00:00
Daniel Reimer
ac3c1e1cfa Bug 2975: slovak translations for logoff and cacls (kario<AT>szm<DOT>sk)
Some fixes for shell32 which I got from a Austrian guy: Dark_Shadow<AT>gmx<DOT>at

svn path=/trunk/; revision=31833
2008-01-16 21:39:35 +00:00
Daniel Reimer
59259e3005 Tahoma, MS Sans Serif... to MS Shell Dlg (I did not touch the Japanese Font)
svn path=/trunk/; revision=31832
2008-01-16 19:49:11 +00:00
Christoph von Wittich
f348fd1edc fix explorer build
svn path=/trunk/; revision=31831
2008-01-16 19:29:09 +00:00
Daniel Reimer
55ea1cb8dc Sync all RC Files to contain all Stuff. Non Translated stuff is in English.
Fix some Bugs and Typos.
Say byebye to { and }. Say Hello to BEGIN and END. :-P
Fix Part of the mess of different fonts used. (Still needs to be completed)

svn path=/trunk/; revision=31830
2008-01-16 18:37:56 +00:00
Aleksey Bragin
c42936177e - Update WRC to Wine-0.9.53.
- Update and include to the build process utf8.c of unicode library.

svn path=/trunk/; revision=31829
2008-01-16 17:16:34 +00:00
Aleksey Bragin
78150156e2 - Add more NLS definitions.
svn path=/trunk/; revision=31828
2008-01-16 17:05:31 +00:00
Aleksey Bragin
f311e418d5 - Uncomment typelib data from the msi resource file.
svn path=/trunk/; revision=31827
2008-01-16 15:22:24 +00:00
Aleksey Bragin
b712d37e28 - Fix a typo.
svn path=/trunk/; revision=31826
2008-01-16 14:50:23 +00:00
Hervé Poussineau
c57a376eca Add missing files to bootcd
svn path=/trunk/; revision=31825
2008-01-16 10:52:22 +00:00
Christoph von Wittich
712914b384 add stdole2.tlb to bootcd
svn path=/trunk/; revision=31824
2008-01-16 10:40:27 +00:00
Christoph von Wittich
a511d858af add stdole2.tlb to build as wrc seems to be fixed now
svn path=/trunk/; revision=31823
2008-01-16 10:28:32 +00:00
Hervé Poussineau
70ac7c5e51 Fix double " spotted by Christoph_vW
svn path=/trunk/; revision=31822
2008-01-16 10:19:58 +00:00
Hervé Poussineau
ec57c0c87d Update prototype
svn path=/trunk/; revision=31821
2008-01-16 10:16:32 +00:00
The Wine Synchronizer
bb90d50b08 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31820
2008-01-16 10:11:22 +00:00
Hervé Poussineau
f56ddc98c9 Add missing FOF_NORECURSION
svn path=/trunk/; revision=31819
2008-01-16 10:07:35 +00:00
Hervé Poussineau
7f19df1da4 Fix typo
svn path=/trunk/; revision=31818
2008-01-16 08:59:57 +00:00
Peter Ward
dfc4d23bdf Big polish translation patch by Olaf Siejka (caemyr AT gmail DOT com)
See issue #2944 for more details.
- Polish translation for 0.3.4 is now complete... almost :)
  One thing left is kernel32 error codes. As it requires integration, it will be
  completed this week, right now i`m just adding a pl file for starters.

svn path=/trunk/; revision=31817
2008-01-16 05:06:57 +00:00
Colin Finck
a89e08f7e8 Updated "widl_ros.diff" file.
I created it with SVN's diff command against our vendor-imported widl version, but it is also possible to patch the Wine widl CVS version with it.

svn path=/trunk/; revision=31816
2008-01-15 21:54:49 +00:00
Colin Finck
ec72c52773 Change make_token and dup_basename to also support Windows paths. Remove the previous hack for this. Fixes the build for Windows users.
I'll update the widl_ros.diff file later :-P

svn path=/trunk/; revision=31815
2008-01-15 21:34:24 +00:00
Johannes Anderwald
b3349ee656 - misc cleanups ported from Wine project by Christoph Brill (egore@irc)
- reflect changes in header

See issue #2946 for more details.

svn path=/trunk/; revision=31814
2008-01-15 21:07:06 +00:00
The Wine Synchronizer
3feabfc4bd Autosyncing with Wine HEAD
svn path=/trunk/; revision=31813
2008-01-15 19:22:36 +00:00
Hervé Poussineau
d2821af997 Add RPC proxy support
svn path=/trunk/; revision=31812
2008-01-15 18:08:25 +00:00
Hervé Poussineau
0f61bddc45 umpnpmgr only needs the server component, not the client one
svn path=/trunk/; revision=31811
2008-01-15 18:04:19 +00:00
Daniel Reimer
9acaff6a65 Update German Resource.
svn path=/trunk/; revision=31810
2008-01-15 15:09:29 +00:00
Christoph von Wittich
977a41091d don't pass arguements as formatstring to DbgPrint as it will fusk up strings like %SystemRoot%
svn path=/trunk/; revision=31809
2008-01-15 14:14:43 +00:00
Christoph von Wittich
909e8a4ef0 don't use double '%' in the string
svn path=/trunk/; revision=31808
2008-01-15 14:13:40 +00:00
Hervé Poussineau
8f5ee036a8 Support an arbitrary length for ReactOS version text
svn path=/trunk/; revision=31807
2008-01-15 08:20:39 +00:00
Daniel Reimer
0513bf6885 oops... This was not meant to be here
svn path=/trunk/; revision=31806
2008-01-14 20:42:52 +00:00
Daniel Reimer
01e0b16188 Bug 2949: Update dbghelp from wine (egore<AT>gmx<DOT>de)
Bug 2959: some spanish translations (remialdo<AT>gmail<DOT>com)
Bug 2960: Italian translation update (devotip<AT>tiscali<DOT>it)

svn path=/trunk/; revision=31805
2008-01-14 20:31:10 +00:00
Gregor Brunmar
1d8f1474c1 Added missing decleration of StringCbPrintfA and StringCbPrintfW to strsafe.h.
svn path=/trunk/; revision=31804
2008-01-14 18:38:48 +00:00
Andrey Korotaev
006e4b96d5 Fix visual glitch in usetup on BootLoader page when pressing up key
svn path=/trunk/; revision=31803
2008-01-14 18:05:28 +00:00
Aleksey Bragin
415e9cecc1 - Fix a bug (% is a reserved character in string operations).
svn path=/trunk/; revision=31802
2008-01-14 17:26:46 +00:00
Aleksey Bragin
9b168c7e2d - Add special handling of drivers and win32 services binarynames. A few buffer overflows fixed by Herve.
See issue #2962 for more details.

svn path=/trunk/; revision=31801
2008-01-14 17:15:19 +00:00
Hervé Poussineau
aaf221a3ec Update status
svn path=/trunk/; revision=31800
2008-01-14 17:08:42 +00:00
The Wine Synchronizer
62b25eb05e Autosyncing with Wine HEAD
svn path=/trunk/; revision=31799
2008-01-14 17:07:49 +00:00
The Wine Synchronizer
675de0d583 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31798
2008-01-14 16:52:12 +00:00
The Wine Synchronizer
6a4a6d7b1c Autosyncing with Wine HEAD
svn path=/trunk/; revision=31797
2008-01-14 16:50:34 +00:00
The Wine Synchronizer
7c79f1411f Autosyncing with Wine HEAD
svn path=/trunk/; revision=31796
2008-01-14 16:39:00 +00:00
Hervé Poussineau
183e6521c1 Add missing constants/prototypes
svn path=/trunk/; revision=31795
2008-01-14 16:38:35 +00:00
The Wine Synchronizer
c786fcbecc Autosyncing with Wine HEAD
svn path=/trunk/; revision=31794
2008-01-14 16:32:09 +00:00
The Wine Synchronizer
f9c674b43c Autosyncing with Wine HEAD
svn path=/trunk/; revision=31793
2008-01-14 16:27:48 +00:00
Hervé Poussineau
d254b4ea52 Why freeldr decided to redefine some error codes, instead of including winerror.h?
svn path=/trunk/; revision=31792
2008-01-14 16:03:43 +00:00
Hervé Poussineau
5fbbb1ea64 Add some constants
svn path=/trunk/; revision=31791
2008-01-14 15:57:18 +00:00
The Wine Synchronizer
c52369c0a0 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31790
2008-01-14 15:54:12 +00:00
The Wine Synchronizer
1fbef3e9c2 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31789
2008-01-14 15:52:45 +00:00
The Wine Synchronizer
5df342fc2e Autosyncing with Wine HEAD
svn path=/trunk/; revision=31788
2008-01-14 15:50:17 +00:00
The Wine Synchronizer
9eb1c01f64 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31787
2008-01-14 15:45:45 +00:00
The Wine Synchronizer
d139a3828b Autosyncing with Wine HEAD
svn path=/trunk/; revision=31786
2008-01-14 15:42:52 +00:00
The Wine Synchronizer
02d0ab4e51 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31785
2008-01-14 15:41:33 +00:00
The Wine Synchronizer
410e3f4d4a Autosyncing with Wine HEAD
svn path=/trunk/; revision=31784
2008-01-14 15:39:30 +00:00
The Wine Synchronizer
3127d9aeb9 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31783
2008-01-14 15:37:24 +00:00
Hervé Poussineau
0891487783 Update _ros.diff file
svn path=/trunk/; revision=31782
2008-01-14 15:36:21 +00:00
The Wine Synchronizer
91e33fa6f1 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31781
2008-01-14 15:34:43 +00:00
Hervé Poussineau
4913d9e17d Add missing constants/prototypes
Reformat winerror.h to looks more like Wine one

svn path=/trunk/; revision=31780
2008-01-14 15:18:47 +00:00
Hervé Poussineau
8ab11ad7f9 Add more UUIDs
svn path=/trunk/; revision=31779
2008-01-14 14:52:14 +00:00
The Wine Synchronizer
462c088866 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31778
2008-01-14 13:04:25 +00:00
The Wine Synchronizer
ab13e8a841 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31777
2008-01-14 13:00:47 +00:00
The Wine Synchronizer
d33ed41a92 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31776
2008-01-14 12:56:22 +00:00
The Wine Synchronizer
3a6d558da6 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31775
2008-01-14 12:51:35 +00:00
The Wine Synchronizer
9801c4a81f Autosyncing with Wine HEAD
svn path=/trunk/; revision=31774
2008-01-14 12:43:19 +00:00
The Wine Synchronizer
5763a92d61 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31773
2008-01-14 12:40:24 +00:00
Aleksey Bragin
ae52811702 - Fix a bug in %SystemRoot% substitution branch.
svn path=/trunk/; revision=31772
2008-01-14 12:31:35 +00:00
The Wine Synchronizer
dde4bc9089 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31771
2008-01-14 12:29:35 +00:00
The Wine Synchronizer
a348280fcc Autosyncing with Wine HEAD
svn path=/trunk/; revision=31770
2008-01-14 12:26:48 +00:00
Hervé Poussineau
0c189da5cd Autosyncing with Wine HEAD
svn path=/trunk/; revision=31769
2008-01-14 12:20:56 +00:00
Aleksey Bragin
c325864075 - Implement canonicalizing the service binary path properly, handling all possible cases (instead of a memory-overwriting hack Christoph noticed yesterday).
svn path=/trunk/; revision=31768
2008-01-14 11:46:14 +00:00
Thomas Bluemel
9f1182353d Add more definitions
svn path=/trunk/; revision=31767
2008-01-13 22:44:07 +00:00
Sylvain Petreolle
3328aa9506 french translation for devmgr
thanks to amine48rz for dialogs

svn path=/trunk/; revision=31766
2008-01-13 20:41:28 +00:00
Colin Finck
656f2e0b28 - Change the comment about the build tag for releases in "version.h"
- Update Thunderbird 1.5 to 1.5.0.14 in "downloader.xml"

svn path=/trunk/; revision=31765
2008-01-13 19:45:24 +00:00
Hervé Poussineau
6ca3b199c7 Better arguments check
Do not prepend '-' if build tag is empty
Fix check to know if file needs to be rewritten
Support a custom buildtag with -t

svn path=/trunk/; revision=31764
2008-01-13 18:54:52 +00:00
Christoph von Wittich
fab53367f4 don't crash on thread detach - now Diablo 2 videotest isn't crashing anymore
svn path=/trunk/; revision=31763
2008-01-13 15:42:23 +00:00
Aleksey Bragin
1449fc2b23 - Use new APIs MmHeapAlloc / MmHeapFree for small and discardable memory allocations (not everywhere yet). There is currently no difference, since they all point to the same old memory allocator.
- Include bget.h to freeldr.h.

svn path=/trunk/; revision=31762
2008-01-13 15:17:54 +00:00
Christoph von Wittich
ea6661ca60 only allocate a buffer in StartServiceA when dwNumServiceArgs > 0
adjust the image path in services/rpcserver

svn path=/trunk/; revision=31761
2008-01-13 14:22:55 +00:00
Christoph von Wittich
16f2303c0b don't corrupt the image path
svn path=/trunk/; revision=31760
2008-01-13 13:44:14 +00:00
Dmitry Chapyshev
497eab27f4 - Add more languages
svn path=/trunk/; revision=31759
2008-01-13 13:39:36 +00:00
Dmitry Chapyshev
ab6796b2f1 - Add more languages (not translated)
svn path=/trunk/; revision=31758
2008-01-13 13:37:35 +00:00
Christoph von Wittich
0a1860718e fix a bug in CreateServiceA
svn path=/trunk/; revision=31757
2008-01-13 13:33:28 +00:00
Aleksey Bragin
56ed86bd5b - Add BGET (public domain heap implementation).
svn path=/trunk/; revision=31756
2008-01-13 13:03:42 +00:00
Aleksey Bragin
0165cc9725 - Sync up Mm interface with WinLdr branch (introduce the concept of a memory type at every allocation, however in freeldr's implementation it's just ignored now).
- Copy winldr's files from the branch, with the only #ifdef WHEN_MERGE_COMPLETE hack.

svn path=/trunk/; revision=31755
2008-01-13 12:53:49 +00:00
Gregor Brunmar
f4ee84bae1 Refactored d3d9 a bit
svn path=/trunk/; revision=31754
2008-01-13 11:45:31 +00:00
Christoph von Wittich
e23f06ce53 -use ExAllocatePoolWithTag instead of ExAllocatePool
-add missing critical region acquiring to the NtfsCreate routine.

svn path=/trunk/; revision=31753
2008-01-13 11:36:54 +00:00
Hervé Poussineau
e48805d7fc buildno.cpp depends of version.h
svn path=/trunk/; revision=31752
2008-01-13 10:52:55 +00:00
Dmitry Chapyshev
ec7508b924 - Update Russian translation
svn path=/trunk/; revision=31750
2008-01-13 06:25:16 +00:00
Daniel Reimer
4fc067f18d Update German RC File
svn path=/trunk/; revision=31749
2008-01-12 23:56:57 +00:00
Pierre Schweitzer
fa5fbbefd2 Make "My Network Places" translatable and translate it into French
svn path=/trunk/; revision=31748
2008-01-12 22:38:48 +00:00
Pierre Schweitzer
8d54c16b65 Rewritten NTFS driver entry :
- Use Hervé debug method (better), thanks to Hervé
- Use NTAPI instead of STDCALL to have MSVC compatibility, thanks to Hervé
- Moved IRP functions array to a new function, NtfsInitializeFunctionPointers
- Added more checks
- Initialize global and local data before acting with kernel
- Removeed the use of one var
That should be all....

svn path=/trunk/; revision=31747
2008-01-12 20:54:41 +00:00
Daniel Reimer
6072b41a71 Bug 2958: Ukrainian translation Update (temarez<AT>yandex<DOT>ru)
svn path=/trunk/; revision=31746
2008-01-12 18:06:46 +00:00
Daniel Reimer
7c66463845 Update German RC File.
svn path=/trunk/; revision=31745
2008-01-12 18:01:41 +00:00
Hervé Poussineau
f94c2a7484 [FORMATTING] Fix formatting
svn path=/trunk/; revision=31744
2008-01-12 17:54:45 +00:00
Dmitry Chapyshev
896d74327d - Activate all languages
svn path=/trunk/; revision=31743
2008-01-12 17:41:59 +00:00
Dmitry Chapyshev
d8d8752ea2 - Add more languages (not translated)
svn path=/trunk/; revision=31742
2008-01-12 17:40:38 +00:00
Colin Finck
8d77b86693 Fix creating a directory, deleting it and recreating it. Thanks to Aleksey and Hervé!
r25255 broke it, because the OpenHandleCount was decremented, but the check for the last handle was not updated.

svn path=/trunk/; revision=31741
2008-01-12 17:29:26 +00:00
Hervé Poussineau
0e38eeaf88 [FORMATTING] Fix indentation
svn path=/trunk/; revision=31740
2008-01-12 17:20:11 +00:00
Aleksey Bragin
daea1a27a5 - Fix build.
svn path=/trunk/; revision=31738
2008-01-12 15:38:35 +00:00
Dmitry Chapyshev
2fe5326868 - Activate Bulgarian translation for usetup
- Fix formatting

svn path=/trunk/; revision=31737
2008-01-12 15:26:57 +00:00
Aleksey Bragin
455c9a6b04 - Add missing critical region acquiring to the VfatShutdown routine.
- Remove that irql <= PASSIVE_LEVEL check, always entering the critical region. And for vfat calls with an unusual high irql leave a DPRINT.

svn path=/trunk/; revision=31736
2008-01-12 15:20:22 +00:00
Dmitry Chapyshev
cd8742fff2 - Fix formatting
svn path=/trunk/; revision=31735
2008-01-12 15:14:54 +00:00
Dmitry Chapyshev
92ceb5c77c - Add "Computer Name Changes" and "DNS Suffix and NetBIOS Computer Name" dialogs
- Add more strings
- Add more icons

svn path=/trunk/; revision=31734
2008-01-12 15:11:44 +00:00
Dmitry Chapyshev
a83b654d69 - Fix Russian translation
svn path=/trunk/; revision=31733
2008-01-12 15:07:14 +00:00
Daniel Reimer
c9a0696981 Bug 2922: en-US updated shell translations (atylmo<AT>gmail<DOT>com)
Bug 2957: Bulgarian translation of ReactOS (sstpr<AT>narod<DOT>ru)

svn path=/trunk/; revision=31730
2008-01-12 10:20:26 +00:00
Colin Finck
c29d4427ad Polish translation for rasdlg by Olaf Siejka (caemyr AT gmail DOT com)
See issue #2944 for more details.

svn path=/trunk/; revision=31729
2008-01-11 21:25:50 +00:00
Aleksey Bragin
d33a2b5597 - Update ros diff according to recent Colin's changes.
svn path=/trunk/; revision=31726
2008-01-11 16:32:28 +00:00
Hervé Poussineau
0c8a8e9740 Fix 2nd stage hang
svn path=/trunk/; revision=31722
2008-01-11 15:37:43 +00:00
Aleksey Bragin
9d5c828c5a - Merge leftovers.
svn path=/trunk/; revision=31721
2008-01-11 15:28:28 +00:00
Aleksey Bragin
139211de9f - Update wine sync doc.
- Add rpcrt4_winetest to the install CD.

svn path=/trunk/; revision=31720
2008-01-11 15:16:33 +00:00
Aleksey Bragin
1146ba6e6b - Correct fix for the obj-i386 dependent path hack, by hpoussin.
svn path=/trunk/; revision=31719
2008-01-11 15:12:54 +00:00
Colin Finck
b58eaf320a Trying to fix the build on Unix hosts by only using host headers in widl
svn path=/trunk/; revision=31718
2008-01-11 14:46:27 +00:00
Aleksey Bragin
6f10c76e4a - Switch to the new widl and new rpcrt4.
- Old widl had some more patches applies, and old rpcrt4 had Saveliy Tretiakov's patches applied. They were not explicitly added into this update (some of them might be reworked and got accepted by Wine).

svn path=/trunk/; revision=31717
2008-01-11 13:46:33 +00:00
Aleksey Bragin
9358a8f3bc - Add missing \n to the debug print.
svn path=/trunk/; revision=31716
2008-01-11 13:15:53 +00:00
Aleksey Bragin
9e388b6581 - Apply adapted patch by Damjan Jovanovic <damjan.jov@gmail.com> "Make RpcMgmtWaitServerListen wait for the server to stop listening, like it is supposed to". Rob Shearman commented that "it prevented the dispatching of simultaneous RPCs on an endpoint", however it's enough for ReactOS for now, until a better patch is made.
- Uncomment commented out error checks.
- Update rpcrt4_ros.diff accordingly.

svn path=/trunk/; revision=31715
2008-01-11 13:13:05 +00:00
Hervé Poussineau
fb3185bf85 Display hardware wizard only after user logged in.
It still needs improvement, to first try once to install without user intervention, and then, once an admin is logged on, ask it for still not installed devices.

svn path=/trunk/; revision=31714
2008-01-11 13:00:44 +00:00
Hervé Poussineau
8f6a9bb877 Add missing \n
svn path=/trunk/; revision=31713
2008-01-11 11:35:44 +00:00
Hervé Poussineau
93889a1f83 Use same UNIMPLEMENTED macro syntax as in other parts
svn path=/trunk/; revision=31712
2008-01-11 11:35:09 +00:00
Aleksey Bragin
bbca7c647c Dmitry Philippov <shedon@mail.ru>
- Respect format of the returned string (unicode or ansi). This fixes the text inside csrss hard error message box.
- Unicode->ansi conversion is done especially.

svn path=/trunk/; revision=31711
2008-01-11 11:16:02 +00:00
Aleksey Bragin
f1df2b6693 - Import rpcrt4 tests from Wine-20080105.
- There is an ugly hack applied, which defines the relative path to the server_*.h files inside obj-i386 directory, thus being dependent on its name.

svn path=/trunk/; revision=31710
2008-01-11 10:57:59 +00:00
Hervé Poussineau
8f381d925f Prevent creation 1500000 temporary objects by caching value of CompilationUnit::GetFilename().
Limit access to variables of CompilationUnit

svn path=/trunk/; revision=31709
2008-01-11 09:09:49 +00:00
Marc Piulachs
4a758fd9fb - Spanish localization by Javier Remacha <remialdo at gmail dot com>
See issue #2956 for more details.

svn path=/trunk/; revision=31708
2008-01-10 23:34:04 +00:00
Aleksey Bragin
eefba1f4a6 - Add more defines from Wine.
svn path=/trunk/; revision=31706
2008-01-10 21:04:36 +00:00
Christoph von Wittich
b5e930a979 use plural in english version
svn path=/trunk/; revision=31705
2008-01-10 18:18:47 +00:00
Gregor Brunmar
ec77be9664 Added self to CREDITS :)
svn path=/trunk/; revision=31704
2008-01-10 17:16:49 +00:00
Timo Kreuzer
d6579437d3 Update German Translation of kernel32 errorcodes by Michael Fritscher (michael at fritscher dot net) and me.
svn path=/trunk/; revision=31703
2008-01-10 16:25:45 +00:00
Aleksey Bragin
83821cecc6 Christoph Brill <egore@gmx.de>
- Sync msvcrt20.c with Wine.
See issue #2947 for more details.

svn path=/trunk/; revision=31702
2008-01-10 13:50:32 +00:00
Aleksey Bragin
11cd25ed6f Christoph Brill <egore@gmx.de>
- Sync msiexec to Wine-20080105.
See issue #2948 for more details.

svn path=/trunk/; revision=31701
2008-01-10 13:33:25 +00:00
Christoph von Wittich
ba8ac4fd2f fix some text strings
svn path=/trunk/; revision=31699
2008-01-10 07:45:12 +00:00
James Tabor
f7c4eb1117 Removed Enhmeta code from win32k.
svn path=/trunk/; revision=31698
2008-01-10 07:42:32 +00:00
Christoph von Wittich
0edf0e7061 add cpu.inf
svn path=/trunk/; revision=31697
2008-01-10 07:37:55 +00:00
James Tabor
340f80454a Add member items for meta clipping region and bounding rectangle support.
svn path=/trunk/; revision=31696
2008-01-10 07:21:02 +00:00
James Tabor
8592433357 See http://msdn2.microsoft.com/en-us/library/aa293810(VS.60).aspx for details.
svn path=/trunk/; revision=31694
2008-01-10 06:34:37 +00:00
Aleksey Bragin
faeef3e4d1 - Fix a typo, spotted by Johannes Anderwald.
svn path=/trunk/; revision=31692
2008-01-09 22:03:42 +00:00
Aleksey Bragin
bb5bf44217 - Make WaitNamedPipe (copied from the new implementation #ifdef USING_PROPER_NPFS_WAIT_SEMANTICS) and corresponding part in npfs.sys actually respect the timeout.
svn path=/trunk/; revision=31691
2008-01-09 20:38:52 +00:00
Colin Finck
5c1602ce91 If W32kGetDefaultKeyLayout() is called before a user logged on, fall back to the layout set in HKU\.DEFAULT instead of falling back to US English.
This enables the layout set in 1st stage setup also in 2nd stage setup and half-fixes bug 2952. (win32csr will only use the HKU\.DEFAULT setting as it's loaded before a user logged on. Currently, we don't change the keyboard layout for win32csr, when a user logs on).

svn path=/trunk/; revision=31690
2008-01-09 17:46:36 +00:00
Ged Murphy
cf111d5b8d add a temp debug output whilst we're still walking on egg shells
svn path=/trunk/; revision=31689
2008-01-09 16:44:39 +00:00
Ged Murphy
4461c225f8 forgot to remove the assert
svn path=/trunk/; revision=31688
2008-01-09 16:07:48 +00:00
Ged Murphy
1300cdce17 - Fall back onto some of the previous win32k icon handling code, and fix user32 to suit.
- This fixes the handle problem we were seeing which was caused by a failing NtUserFindExistingCursorIcon call in user32. It was incompatible with the new code and thus, creating a new icon for all LR_SHARED resources.
- The new code is correct, and will be re-enabled once I've finished the cursoricon object rewrite (which will make it compatible with windows)
- You'll probably need to 'make win32k_clean' before building

svn path=/trunk/; revision=31687
2008-01-09 16:04:34 +00:00
Christoph von Wittich
092498cbd7 add Internet Explorer registry entries (now Visio 2003 installer doesn't complain about missing IE anymore)
svn path=/trunk/; revision=31686
2008-01-09 14:21:39 +00:00
Ged Murphy
e0ab1d2077 sorry, I deleted the wrong entry
svn path=/trunk/; revision=31685
2008-01-09 14:03:13 +00:00
Christoph von Wittich
d4bce29f60 add missing forwarders
svn path=/trunk/; revision=31684
2008-01-09 12:59:36 +00:00
Ged Murphy
ff357994a2 remove duplicate entry
svn path=/trunk/; revision=31683
2008-01-09 12:42:21 +00:00
Hervé Poussineau
c21f0dc69a Add 'const' when needed
Remove a string copy (an a possible buffer overflow)

svn path=/trunk/; revision=31682
2008-01-09 09:40:47 +00:00
Dmitry Chapyshev
76b039af9f - Update Russian translation
- Added some functionality

svn path=/trunk/; revision=31681
2008-01-09 08:34:47 +00:00
Daniel Reimer
87f32e202a Bug 2944: Polish translation: part 4/4 - Dll by Olaf Siejka
svn path=/trunk/; revision=31680
2008-01-09 07:51:42 +00:00
James Tabor
025c424479 Update SetMetaRgn, UpdateColors, ResizePalette and add support for windows client info gdi.
svn path=/trunk/; revision=31679
2008-01-09 04:15:42 +00:00
Colin Finck
01761273fd Remove the (already commented) BINRES icons as taskmgr is not synchronized with Wine and Wine also allows binary files in their repo nowadays.
Also remove another Wine-specific check, which was already useless.

svn path=/trunk/; revision=31678
2008-01-08 23:05:19 +00:00
Colin Finck
25bc1b3427 Get rid of much more duplicated code in taskmgr (patch by Carlo Bramini, carlo DOT bramix AT libero DOT it)
I also got rid of 6 other functions, which all just call the same function.

See issue #2941 for more details.

svn path=/trunk/; revision=31677
2008-01-08 22:52:56 +00:00
Colin Finck
2d23d947cf Also create the temporary directory if it does not exist.
See issue #2518 for more details.

svn path=/trunk/; revision=31676
2008-01-08 21:22:27 +00:00
Colin Finck
211c9fad23 - Don't stop processing the keyboard layouts, when no "Keyboard Layouts\Substitudes" key exists (WinXP's input.dll behaves the same way).
Now input.dll already shows us the current selected keyboard layout under ROS :-)
- Make the dialogs a bit wider, so all captions (at least of the german dialog) are shown.
- Fix indentation

svn path=/trunk/; revision=31675
2008-01-08 21:17:24 +00:00
Hervé Poussineau
b578852e42 Update _ros.diff file after r31673
svn path=/trunk/; revision=31674
2008-01-08 17:25:01 +00:00
Christoph von Wittich
fe7958aa0b fix downloader!
svn path=/trunk/; revision=31673
2008-01-08 17:16:51 +00:00
Daniel Reimer
ab7e8a8834 Revert Manifest Commits due to popular demand. They will be Autogenerated by RBuild in the Future.
svn path=/trunk/; revision=31672
2008-01-08 16:13:01 +00:00
Daniel Reimer
aa9fd8c419 Revert Manifest Commits due to popular demand. They will be Autogenerated by RBuild in the Future.
svn path=/trunk/; revision=31671
2008-01-08 16:12:49 +00:00
Daniel Reimer
4b9377aa40 Bug 2943: Ukrainian translation update
svn path=/trunk/; revision=31670
2008-01-08 15:11:33 +00:00
Daniel Reimer
51c114304f Bug 2943: Ukrainian translation update
svn path=/trunk/; revision=31669
2008-01-08 15:11:29 +00:00
Hervé Poussineau
81ac40ae05 By default, display ERROR level debug output
Let KDBG change default output mask

svn path=/trunk/; revision=31668
2008-01-08 09:51:53 +00:00
Hervé Poussineau
24e8a63544 Fix debug message
svn path=/trunk/; revision=31667
2008-01-08 09:49:22 +00:00
Hervé Poussineau
8285f46476 No need to link to ntdll for such a simply functionality
svn path=/trunk/; revision=31666
2008-01-08 09:34:47 +00:00
Daniel Reimer
cf5631fac8 Bug 2942: Ukrainian translation update (temarez<AT>yandex<DOT>ru)
svn path=/trunk/; revision=31665
2008-01-08 08:06:08 +00:00
Daniel Reimer
cdf6136478 Bug 2942: Ukrainian translation update (temarez<AT>yandex<DOT>ru)
svn path=/trunk/; revision=31664
2008-01-08 08:06:08 +00:00
Hervé Poussineau
36598431fe Add debug trace
svn path=/trunk/; revision=31663
2008-01-08 07:28:45 +00:00
James Tabor
f8150df959 Add layout support for CreateCompatibleDC.
svn path=/trunk/; revision=31662
2008-01-08 05:29:13 +00:00
Timo Kreuzer
eb5c44b4a9 change gdi object deleting mechanism to a windows compatible one.
svn path=/trunk/; revision=31661
2008-01-08 05:04:52 +00:00
James Tabor
238f8e2ac9 Remove unused flags and start using new dc type ids.
svn path=/trunk/; revision=31660
2008-01-08 03:48:08 +00:00
Timo Kreuzer
689819ce3e fix 2 names
svn path=/trunk/; revision=31659
2008-01-08 02:49:09 +00:00
Hervé Poussineau
d4eefffcc2 Fix build
svn path=/trunk/; revision=31658
2008-01-07 21:58:00 +00:00
Hervé Poussineau
def6b93ee4 Link to wine library, as we're using wine debug macros
svn path=/trunk/; revision=31657
2008-01-07 21:50:21 +00:00
Hervé Poussineau
aa482ff783 Add traces
svn path=/trunk/; revision=31656
2008-01-07 21:42:59 +00:00
Colin Finck
6345038990 Win32k:
- Read from HKCU\Keyboard Layout\Preload for getting the keyboard layout ID to use instead of using the default locale.
  This finally makes it possible to set the keyboard layout and system locale independently.
- Change ReadRegistryValue from KEY_ALL_ACCESS to KEY_READ, we don't need more rights.

usetup:
- Rename "ProcessKeyboardLayoutRegistry" to "ProcessLocaleRegistry" as it doesn't set anything related to keyboard layouts.
- Add a new function "ProcessKeyboardLayoutRegistry", which sets the keyboard layout ID in the correct registry key.
- Add ERROR_UPDATE_LOCALE_SETTINGS
- Fix the indentation of some parts of the language headers and update the german one.

Known issues:
- Before input.dll is finished, we can only set the keyboard layout in usetup or by manually editing the registry.
- 1st stage and 2nd stage setup always use US English keyboard layout for now.

See issue #2635 for more details.

svn path=/trunk/; revision=31655
2008-01-07 21:34:56 +00:00
Dmitry Chapyshev
98128b8390 - Apply patch from GedMurphy
svn path=/trunk/; revision=31654
2008-01-07 21:08:02 +00:00
Hervé Poussineau
cd933bb16c [FORMATTING] Fix indentation
svn path=/trunk/; revision=31653
2008-01-07 20:55:02 +00:00
Dmitry Chapyshev
b195ebe655 - Fix buffer overflows
svn path=/trunk/; revision=31652
2008-01-07 20:07:09 +00:00
Aleksey Bragin
9694f40179 - Don't include ntsecpkg.h for now. If it's needed, it should be included differently.
svn path=/trunk/; revision=31651
2008-01-07 19:51:02 +00:00
Dmitry Chapyshev
696cbe0336 - Fix typos
- Update Russian translation

svn path=/trunk/; revision=31650
2008-01-07 17:46:56 +00:00
Dmitry Chapyshev
b9fe66f51c - Add locale information to registry
- Change main.cpl to input.dll

svn path=/trunk/; revision=31649
2008-01-07 17:36:02 +00:00
Colin Finck
bd334b2185 Fix the indentation mess in "settings.c" as well
svn path=/trunk/; revision=31648
2008-01-07 17:22:05 +00:00
Colin Finck
65bd222a65 Fix the indentation mess in "usetup.c"
svn path=/trunk/; revision=31647
2008-01-07 16:50:40 +00:00
Aleksey Bragin
cfe56f2869 - Add declaration for KdChangeOption exported native API.
svn path=/trunk/; revision=31645
2008-01-07 16:12:48 +00:00
Hervé Poussineau
001fd00066 Update irot.idl
Misc cleanup

svn path=/trunk/; revision=31644
2008-01-07 15:17:48 +00:00
Dmitry Chapyshev
a6719d5f5f - Add Russian translation
svn path=/trunk/; revision=31643
2008-01-07 15:08:18 +00:00
Dmitry Chapyshev
00fe6ccc98 - Added ACP, OEMCP and MACCP keys to registry
- Added ERROR_ADDING_CODEPAGE to all languages
- Update Russian translation

svn path=/trunk/; revision=31642
2008-01-07 14:51:42 +00:00
Aleksey Bragin
a173909f74 - WIDL Wine vs. ReactOS differences.
svn path=/trunk/; revision=31641
2008-01-07 14:23:35 +00:00
Aleksey Bragin
77de066997 - Change incorrect rpcrt4's synchronous operation back to asynchronous (which was in Wine back in 0.9.5).
- Update corresponding patch file, increasing context to 5 lines for better merging.

svn path=/trunk/; revision=31640
2008-01-07 14:16:27 +00:00
Hervé Poussineau
8fbe89bbba Use kernel facilities to change debug level at runtime
svn path=/trunk/; revision=31639
2008-01-07 12:57:32 +00:00
Dmitry Chapyshev
105d16cdd9 - Add ANSI, OEM and MAC codepage to MUI_LANGUAGE structure
svn path=/trunk/; revision=31638
2008-01-07 12:34:54 +00:00
Johannes Anderwald
82aae4981b - alter keyboard layout when a non default language is chosen
- fix typo

svn path=/trunk/; revision=31636
2008-01-06 23:36:01 +00:00
Thomas Bluemel
2eacda93bd Fix handling of WM_COMMAND messages
svn path=/trunk/; revision=31635
2008-01-06 22:28:28 +00:00
Aleksey Bragin
9d4716655a - Add a sample, commented out line to simplify enabling debug channels in usermode applications.
svn path=/trunk/; revision=31633
2008-01-06 16:37:44 +00:00
Aleksey Bragin
1a8f12eaee - Add ros-specific changes patch.
- Set svn:eol-style properties.

svn path=/trunk/; revision=31632
2008-01-06 16:33:52 +00:00
Aleksey Bragin
ecdee48d72 - Update rpcrt4 to Wine-20080105, so it corresponds to the WIDL. Local changes applied.
svn path=/trunk/; revision=31631
2008-01-06 16:18:31 +00:00
Art Yerkes
07dce281aa Removed library.
svn path=/trunk/; revision=31630
2008-01-06 15:23:26 +00:00
Art Yerkes
512fc27314 Some cleanup. Didn't mean to turn on debug in mminit.
Remove ppcdevtree.  It's not needed anymore.

svn path=/trunk/; revision=31629
2008-01-06 15:12:41 +00:00
Daniel Reimer
6c62866642 Final commmit with manifests for now. I did not touch Wine Synched and dlls which are not skinned in XP anyway.
svn path=/trunk/; revision=31628
2008-01-06 15:10:45 +00:00
Art Yerkes
f139636237 Whoops got some WIP code in here.
svn path=/trunk/; revision=31627
2008-01-06 15:07:18 +00:00
Art Yerkes
b093ef0584 Straggler.
svn path=/trunk/; revision=31626
2008-01-06 15:03:31 +00:00
Art Yerkes
36de05867e t's a bit embarrasing that some of this was undone until recently, but we now
correctly communicate the boot-time memory map to kernel land.  In question is
still how the ppcmmu idea of free pages and the ntoskrnl one will coincide.

Lots of things were adapted in ofwldr as ntoskrnl and freeldr changed a bit
since this was forked.  Also, some hacks were in here to allow ofwldr to be
ignorant of how some things were mapped.  That's fixed.

Many stupid and obvious bugs have been fixed.

I've basically gutted a lot of HAL stuff, so it isn't committed here.

I had mistakenly used the same array size as x86 did in the ports array in
kdcom.  This is corrected.

I added in some support for boot time device detection (sadly, I haven't yet
decided what will become of openfirmware properties yet).

Much has been done to simplify the mess that mboot became.

svn path=/trunk/; revision=31625
2008-01-06 14:52:00 +00:00
Daniel Reimer
47a870ac46 More Manifests and now all relevant Apps are Skinned. (Tell me if I missed one) DLLs will come later this day.
svn path=/trunk/; revision=31624
2008-01-06 14:04:44 +00:00
Daniel Reimer
70f5d3c4d7 Add Manifests to RosApps. Not very useful yet, but when we really get a XP Compatible Skinning System in the Future, it will be for sure!
svn path=/trunk/; revision=31623
2008-01-06 13:35:12 +00:00
Aleksey Bragin
68354a9baf - Add rpcasync.h from wine and include it.
- Add missing GetThreadId winapi function declaration.

svn path=/trunk/; revision=31622
2008-01-06 10:09:50 +00:00
James Tabor
b5c759cceb Fix regression in RealizePalette. Send broadcast message if palette was changed.
svn path=/trunk/; revision=31621
2008-01-06 06:57:57 +00:00
James Tabor
6880f63f6f Patch by Stefan100 stefan__100__ at hotmail.com. Removes unimplemented NtGdi functions.
svn path=/trunk/; revision=31620
2008-01-06 02:52:19 +00:00
James Tabor
4197bbe411 Removed NtGdiExtTextOut/PolyTextOut. Update related files.
svn path=/trunk/; revision=31619
2008-01-06 02:16:09 +00:00
Daniel Reimer
0eadf4a00c Bug 2935: Polish translation part 3/x and the rest of 2/x by Olaf Siejka
svn path=/trunk/; revision=31618
2008-01-05 23:06:05 +00:00
Hervé Poussineau
6a94d219db Add ntdllsys library to contain the syscalls of ntdll.dll
svn path=/trunk/; revision=31617
2008-01-05 22:38:42 +00:00
Aleksey Bragin
0642d6bf5c - Merge 31498 (include define guard fix).
svn path=/trunk/; revision=31616
2008-01-05 20:45:31 +00:00
Aleksey Bragin
0b560fde00 - WIDL from Wine-20080105, with 2 ReactOS-specific changes:
* LANG_SUTU and other non-standard language defines are guarded with #ifndef __REACTOS__
 * "#define NO_NATIVE_LNG" hpoussin's patch.

svn path=/trunk/; revision=31615
2008-01-05 20:40:33 +00:00
James Tabor
b38a8a2d4c Fixed regression in RealizePalette, found by Stefan100.
svn path=/trunk/; revision=31614
2008-01-05 19:35:03 +00:00
Hervé Poussineau
94f4d04f97 Fix svn properties
svn path=/trunk/; revision=31613
2008-01-05 18:57:24 +00:00
James Tabor
569862a321 Patch by Stefan100 stefan__100__ at hotmail.com. Remove EnhMeta calls from win32k and ntgdibad.h.
svn path=/trunk/; revision=31609
2008-01-05 17:35:23 +00:00
Hervé Poussineau
2134c50b74 Be compatible with MS Windows 2003 SP1 syscall list
svn path=/trunk/; revision=31608
2008-01-05 17:29:44 +00:00
Hervé Poussineau
99f6c30541 Add NtRenameKey prototype
svn path=/trunk/; revision=31607
2008-01-05 17:28:07 +00:00
Pierre Schweitzer
adee0f7cc8 Zero memory before use
svn path=/trunk/; revision=31606
2008-01-05 13:15:54 +00:00
Colin Finck
d2a9119447 Attempt to fix build :)
svn path=/trunk/; revision=31604
2008-01-05 11:51:51 +00:00
Magnus Olsen
f6ec459639 add #ifndef _DDRAWGDI_ so we can use this file more and once.
and gcc does not complain if it include twice

svn path=/trunk/; revision=31603
2008-01-05 11:07:31 +00:00
Aleksey Bragin
0a5f4f5403 - Fix possible handle leak.
See issue #2934 for more details.

svn path=/trunk/; revision=31602
2008-01-05 10:01:34 +00:00
James Tabor
3a4e403d40 Fix inverse sort for rects.
svn path=/trunk/; revision=31601
2008-01-05 05:58:40 +00:00
Ziliang Guo
21fd38fc61 Continue with editing of documentation.
svn path=/trunk/; revision=31600
2008-01-04 23:24:37 +00:00
Hervé Poussineau
cb25e9a856 Add hlink.dll and schannel.dll to bootcd
svn path=/trunk/; revision=31599
2008-01-04 21:55:51 +00:00
The Wine Synchronizer
d87e26dee7 Autosyncing with Wine HEAD
svn path=/trunk/; revision=31598
2008-01-04 21:53:55 +00:00
Hervé Poussineau
a2fb8f72ae Autosyncing with Wine HEAD
svn path=/trunk/; revision=31597
2008-01-04 21:53:35 +00:00
Christoph von Wittich
27f5377445 add Active Setup\HTML Help entries to registry
svn path=/trunk/; revision=31595
2008-01-04 10:44:54 +00:00
Christoph von Wittich
ce7b9c90f9 add RPC entries to registry
svn path=/trunk/; revision=31594
2008-01-04 10:27:19 +00:00
Christoph von Wittich
1ec4fc1716 add DirectX version information to registry
svn path=/trunk/; revision=31593
2008-01-04 10:12:00 +00:00
Christoph von Wittich
ac87baf21c add baseaddress for mscoree
svn path=/trunk/; revision=31592
2008-01-04 08:56:17 +00:00
Christoph von Wittich
19b39930c2 add mscoree headers from wine
svn path=/trunk/; revision=31591
2008-01-04 08:55:12 +00:00
Christoph von Wittich
169fc1ed67 add baseaddress for schannel.dll
svn path=/trunk/; revision=31590
2008-01-04 08:24:01 +00:00
Christoph von Wittich
c3d056e081 update header with definitions from wine
svn path=/trunk/; revision=31589
2008-01-04 08:23:29 +00:00
James Tabor
f7a3ba1f59 Add graphics device structure.
svn path=/trunk/; revision=31588
2008-01-04 02:26:09 +00:00
Christoph von Wittich
03c24541f1 inlcude guids for hlink
svn path=/trunk/; revision=31587
2008-01-03 18:41:28 +00:00
Christoph von Wittich
ee6499e26c add baseaddress for hlink.dll
svn path=/trunk/; revision=31586
2008-01-03 18:41:02 +00:00
Christoph von Wittich
ce755a0011 update hlink headers to wine 0.9.52
svn path=/trunk/; revision=31585
2008-01-03 18:40:38 +00:00
Dmitry Chapyshev
cdf8169c1f - Add Russian Translation
svn path=/trunk/; revision=31584
2008-01-03 17:48:05 +00:00
Dmitry Chapyshev
0eb828b64d - Update Russian translation
svn path=/trunk/; revision=31583
2008-01-03 16:26:08 +00:00
Dmitry Chapyshev
f1ba25a678 - Update Russian translation for regedit
- Small fix English translation for devmgmt

svn path=/trunk/; revision=31582
2008-01-03 16:24:08 +00:00
Magnus Olsen
2b20413d87 cleanu dxeng.c
add docs for DxEngGetHdevData

svn path=/trunk/; revision=31581
2008-01-03 15:33:54 +00:00
Hervé Poussineau
100ea6cbd6 Display a message in debug log if umpnpmgr thread stops
svn path=/trunk/; revision=31580
2008-01-03 12:53:17 +00:00
James Tabor
c8d1a61558 Fix DxEngGetHdevData.
svn path=/trunk/; revision=31578
2008-01-02 23:57:05 +00:00
Ziliang Guo
6d00dc78e4 More documentation fixes
svn path=/trunk/; revision=31577
2008-01-02 23:32:04 +00:00
James Tabor
1f316e8323 Fix DxEngSetHdevData.
svn path=/trunk/; revision=31576
2008-01-02 23:21:24 +00:00
James Tabor
83c6c123e8 Add tests and comments to IntPrepareDriver.
svn path=/trunk/; revision=31575
2008-01-02 23:04:31 +00:00
James Tabor
420a4b869c Add new dxdd support members to gdi device structure.
svn path=/trunk/; revision=31573
2008-01-02 22:17:59 +00:00
Hervé Poussineau
46bfef770b Divide by 10 memory requirements for rbuild,
from 270MB to 20MB, by deleting unused objects

svn path=/trunk/; revision=31571
2008-01-02 20:37:09 +00:00
Aleksey Bragin
9c38808917 - Merge 31498 from old widl.
svn path=/trunk/; revision=31570
2008-01-02 20:34:43 +00:00
Daniel Reimer
6205777500 Update for German RC File
svn path=/trunk/; revision=31569
2008-01-02 20:09:03 +00:00
Marc Piulachs
8ead869bf3 Patch by Olaf Siejka <olaf_siejka (at) o2 (dot) pl>
- Partial usetup polish translation 
- Adds missing "Setup" word in ERROR_WRITE_BOOT section

by me:
- Activate all current (10) usetup translations in txtsetup.sif
- Add polish localization in mui.c
See issue #2930 for more details.

svn path=/trunk/; revision=31566
2008-01-02 18:54:54 +00:00
Aleksey Bragin
3c0efbc70d - Get rid of possible buffer overflows and memory corruptions due to an assumption that UNICODE_STRING's buffers are always NULL-terminated.
svn path=/trunk/; revision=31565
2008-01-02 16:06:03 +00:00
Marc Piulachs
681c695d20 - Add missing REGISTRY_PAGE localizations
note: "make usetup_clean" may be required

svn path=/trunk/; revision=31564
2008-01-02 15:07:27 +00:00
Marc Piulachs
eae9ec5c8f - Show localized error messages
svn path=/trunk/; revision=31563
2008-01-02 14:34:51 +00:00
Hervé Poussineau
09b813c184 Release memory when not needed anymore
Do not display errors when checking for binutils
Cleanup PCH handling

svn path=/trunk/; revision=31562
2008-01-02 14:04:35 +00:00
Marc Piulachs
f7b85736c3 - Fix typo
svn path=/trunk/; revision=31561
2008-01-02 13:50:37 +00:00
Aleksey Bragin
8eef55e4c9 - Use IopOpenRegistryKeyEx() to reduce code size and improve readability.
svn path=/trunk/; revision=31560
2008-01-02 13:33:40 +00:00
Pierre Schweitzer
4caa79160b [FORMATTING] Fix indentation
svn path=/trunk/; revision=31559
2008-01-02 11:04:48 +00:00
Magnus Olsen
a3bdf2f292 implement DxEngIncDispUniq
svn path=/trunk/; revision=31558
2008-01-02 10:19:56 +00:00
Magnus Olsen
8429f99652 sorry a file been accent committed.
svn path=/trunk/; revision=31557
2008-01-02 09:58:51 +00:00
Magnus Olsen
dacc7315f3 partly implement DxEngSetHdevData
fixed DxEngGetHdevData protoype as well

svn path=/trunk/; revision=31556
2008-01-02 09:37:05 +00:00
Magnus Olsen
df1782995e fixed DxEngCleanDC protoype
svn path=/trunk/; revision=31555
2008-01-02 09:13:51 +00:00
Magnus Olsen
57cfafda1d implement DxEngLockShareSem
implement DxEngUnlockShareSem

svn path=/trunk/; revision=31554
2008-01-02 08:47:46 +00:00
Ziliang Guo
e71f4394b7 Completion of editing current documentation in dxg
svn path=/trunk/; revision=31553
2008-01-02 05:44:59 +00:00
Ziliang Guo
9ee4137a1e Finish editing all the documentation in ntddraw.
svn path=/trunk/; revision=31552
2008-01-02 05:26:00 +00:00
Ziliang Guo
d8b4744594 Grammar and spelling corrections for the documentation and comments.
svn path=/trunk/; revision=31551
2008-01-02 01:28:58 +00:00
Johannes Anderwald
f5b133c75a - fix button control size for german language
svn path=/trunk/; revision=31549
2008-01-01 23:57:59 +00:00
Johannes Anderwald
fd873fc931 - revert changes which shouldnt be in (yet)
svn path=/trunk/; revision=31548
2008-01-01 23:42:01 +00:00
Johannes Anderwald
562c812846 - scan HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu key if a shellfolder should be hidden
- also add items which should should not be hidden 
- network location shell folder now appears but isnt working

svn path=/trunk/; revision=31547
2008-01-01 23:34:28 +00:00
Johannes Anderwald
054c755d91 - register the network folder location shell folder
svn path=/trunk/; revision=31545
2008-01-01 23:30:18 +00:00
Eric Kohl
f873fd5ffe - Rotate the text around its center.
svn path=/trunk/; revision=31544
2008-01-01 22:59:06 +00:00
Eric Kohl
4f648ef5d9 [FORMATTING] Fix indentation and move comments
svn path=/trunk/; revision=31542
2008-01-01 22:15:10 +00:00
Aleksey Bragin
68981a6100 - Implement a helper registry key opening function to reduce code size.
- http://www.tech-archive.net/Archive/Development/microsoft.public.development.device.drivers/2004-10/1623.html

svn path=/trunk/; revision=31540
2008-01-01 21:01:28 +00:00
Aleksey Bragin
3cd13713b0 - Move ENUM_ROOT to internal/io.h, so that io/driver.c can use it too.
- Rewrite IopAttachFilterDrivers() to get rid of dangerous strings operations.

svn path=/trunk/; revision=31539
2008-01-01 20:44:09 +00:00
Pierre Schweitzer
2df4726732 Updated NTFS header :
- Separate a field into two distinct fields. One will be used when mounting volume
- Added comment to unusedX fields that are used anyway when mounting volume

svn path=/trunk/; revision=31538
2008-01-01 19:26:26 +00:00
Magnus Olsen
6fc0e58cb6 adding documentations for DxEngGetDCState
svn path=/trunk/; revision=31537
2008-01-01 19:15:22 +00:00
Pierre Schweitzer
6a29226cd2 [FORMATTING] Fix indentation
svn path=/trunk/; revision=31536
2008-01-01 18:55:52 +00:00
James Tabor
070123e351 Update DxEngGetDCState and fix retun val for HDEV.
svn path=/trunk/; revision=31535
2008-01-01 18:50:42 +00:00
Hervé Poussineau
254445ecc4 Bugcheck if no miniport driver is available
See issue #2899 for more details.

svn path=/trunk/; revision=31534
2008-01-01 16:35:21 +00:00
Daniel Reimer
7f89ec982f Fix typos in cmd. thx to amine for spotting.
svn path=/trunk/; revision=31533
2008-01-01 12:29:19 +00:00
Daniel Reimer
2d4ccf4da2 Getting closer to what I would call Default Dialogs. Sad but true. It still does not activate skinning.
svn path=/trunk/; revision=31532
2008-01-01 12:07:06 +00:00
James Tabor
5a992d7f0d Merry New Year post!
svn path=/trunk/; revision=31531
2008-01-01 05:53:10 +00:00
Magnus Olsen
7ef202bdd6 rename Pdev to hPDev in GDIDEVICE struct
fixed bug in DxEngGetDCState

svn path=/trunk/; revision=31530
2008-01-01 01:08:07 +00:00
Johannes Anderwald
615d3af648 - use default CLSID for ControlPanel extension
- add network hood shellfolder byMike McCormack (wine sync)
- happy new year!

svn path=/trunk/; revision=31529
2007-12-31 19:13:36 +00:00
Dmitry Chapyshev
e6cd1f7970 Happy New Year! ;)
svn path=/trunk/; revision=31528
2007-12-31 18:55:37 +00:00
James Tabor
d9677f49ad Add documented gdi object types enum.
svn path=/trunk/; revision=31527
2007-12-31 18:54:41 +00:00
Sylvain Petreolle
c40d5acfe8 usetup: translate error codes, fix a typo
svn path=/trunk/; revision=31526
2007-12-31 18:29:49 +00:00
Marc Piulachs
e9a91f1d9e Add missing error entries for Russian and Swedish
svn path=/trunk/; revision=31525
2007-12-31 18:22:25 +00:00
Marc Piulachs
f7cb25576d Allow usetup page title localization
svn path=/trunk/; revision=31524
2007-12-31 17:56:13 +00:00
James Tabor
794e7aaf59 Implement gdi ScaleViewport/WindowExtEx and mirror region support. Mirroring is not finished and is unplugged.
svn path=/trunk/; revision=31523
2007-12-31 17:26:57 +00:00
Sylvain Petreolle
7cd334d33e update french translation for usetup
svn path=/trunk/; revision=31522
2007-12-31 16:23:00 +00:00
Sylvain Petreolle
1453c5fe36 fix typo
svn path=/trunk/; revision=31521
2007-12-31 16:15:59 +00:00
Daniel Reimer
2f2f72944c Bug 2928: spanish translation for roscalc (remialdo<AT>gmail<DOT>com)
Added German RC File which I made.
Added manifrest.xml

svn path=/trunk/; revision=31520
2007-12-31 15:57:12 +00:00
Daniel Reimer
74f15c4ff2 Bug 2927: Update/add greek resource files (johnyadams<AT>hotmail<DOT>com)
svn path=/trunk/; revision=31519
2007-12-31 15:54:36 +00:00
Hervé Poussineau
f0418aa976 Display ReactOS logo when not booted in debug mode
svn path=/trunk/; revision=31518
2007-12-31 15:52:48 +00:00
Magnus Olsen
4d1b51886c cleanup ntgdibad from api that have been remove.
svn path=/trunk/; revision=31517
2007-12-31 14:34:23 +00:00
Magnus Olsen
0370130854 Documented ddmg api that been implement
svn path=/trunk/; revision=31516
2007-12-31 14:31:06 +00:00
Aleksey Bragin
ad4f47ec96 - Reapply fixed IoGetDeviceProperty() patch from 31467.
- Reformat the code.

svn path=/trunk/; revision=31515
2007-12-31 13:22:52 +00:00
Aleksey Bragin
bd85b22ea9 - Turn on libxml2 support in msxml3.dll.
- Move libxml2 includes to include/reactos/libs/libxml.
- Add one reactos-specific hack into libxml2/trionan.c (fpclassify-related).
- With a number of glitches in msi, ole32 and rpcrt4, I was able to half-complete the Office 2003 setup.

svn path=/trunk/; revision=31514
2007-12-31 10:48:43 +00:00
James Tabor
0c9e6b6cac Merge DD structure info into gdi structures.
svn path=/trunk/; revision=31513
2007-12-31 06:09:05 +00:00
Timo Kreuzer
ca60bdfbe8 New version of calc written by Carlo Bramini (carlo(dot)bramix AT libero.it)
Better than the one we currently have. For now in rosapps, so we can test it, if it's all working fine, we should replace the wine one.
Changes by me: use pow() instead of cbrt(), as cbrt doesn't work in our tree.
I imported the whole codebase, although the mpfr files are not used.
I moved the localizations to "lang" and the icons to "res" subfolder.

svn path=/trunk/; revision=31512
2007-12-31 05:51:52 +00:00
Magnus Olsen
96ded05843 remve EDD_SURFACE_LOCAL after reexaime it.
Use EDD_SURFACE instead 
move _DD_BASEOBJECT struct to correct header file
make sure right unlock and lock using EDD_SURFACE

svn path=/trunk/; revision=31511
2007-12-31 03:17:42 +00:00
Magnus Olsen
39075187dd Add new struct call EDD_SURFACE_LOCAL it is base on DD_SURFACE_LOCAL
Change DxLocksurface using this new struct 

svn path=/trunk/; revision=31510
2007-12-31 02:54:23 +00:00
Magnus Olsen
a4aca0de8c Implement DxDdUnlockDirectDrawSurface
Fixed smaller typo in DxDdLockDirectDrawSurface sorry

svn path=/trunk/; revision=31509
2007-12-30 23:12:59 +00:00
Magnus Olsen
2f61a33495 implement DxDdLockDirectDrawSurface in dxg
svn path=/trunk/; revision=31508
2007-12-30 22:41:31 +00:00
Johannes Anderwald
81de8eeb8d - prevent buffer overflow
- zero initialize value to prevent random values being returned from unimplemented GetCalendarInfoA|W
- fixes bug 2918
See issue #2918 for more details.

svn path=/trunk/; revision=31507
2007-12-30 22:14:04 +00:00
Pierre Schweitzer
1927e3a6c8 [FORMATTING] Fix indentation
svn path=/trunk/; revision=31506
2007-12-30 21:20:54 +00:00
Magnus Olsen
901b1c3221 Add : struct _DD_BASEOBJECT base on alex and own and jim informations
Add : struct _DD_ENTRY base on alex info
change : gpentDdHmgr and gpentDdHmgrLast to PDD_ENTRY pointer 
change : move all DdHmg releated api to own file
Implement : DdHmgLock not yet use
Implement : VerifyObjectOwner it verify how own the DD_ENTRY




svn path=/trunk/; revision=31505
2007-12-30 21:14:20 +00:00
Thomas Bluemel
cba6b0342c Silence warning
svn path=/trunk/; revision=31504
2007-12-30 20:56:04 +00:00
Hervé Poussineau
8d7a4e27b7 Add a function table to access filesystems
svn path=/trunk/; revision=31503
2007-12-30 20:06:13 +00:00
Daniel Reimer
6e9a640854 Bug 2926: Polish translation update part 1/x (olaf_siejka<AT>o2<DOT>pl)
svn path=/trunk/; revision=31502
2007-12-30 17:02:14 +00:00
Daniel Reimer
2ecda6140a Bug 2925: Last Greek resource files updates for 2oo7 (djapal<AT>gmail<DOT>com)
svn path=/trunk/; revision=31501
2007-12-30 15:25:09 +00:00
Aleksey Bragin
daf5504378 - Import and add to the bootcd msxml3.dll from Wine, but build it without libxml2 for now. It's not ready for autosyncing yet.
svn path=/trunk/; revision=31500
2007-12-30 10:49:17 +00:00
Aleksey Bragin
8ddd02c360 - These will be needed soon.
svn path=/trunk/; revision=31499
2007-12-30 10:23:01 +00:00
Aleksey Bragin
3d099d11eb - ReactOS Specific! WIDL in ReactOS is called with a header name including the relative path to it. Thus, the generated #ifndef __WIDL directive also includes the tokenized path to the file, which doesn't conform to its usage in Wine (where it's just __WIDL_HEADERNAME_H). In order to solve this, a small piece of code was added, which omits the relative path from the string sent to the tokenizer.
The only drawback is that the headername passed to the WIDL must never mix different style path separators ('/' and '\\').

svn path=/trunk/; revision=31498
2007-12-30 10:21:51 +00:00
James Tabor
cbae060710 Fix redef of region attr. Add temp union for GDI_TABLE_ENTRY.
svn path=/trunk/; revision=31497
2007-12-30 05:34:11 +00:00
Thomas Bluemel
5df85cd5b2 Fix some handle leaks and warnings
svn path=/trunk/; revision=31496
2007-12-29 21:40:31 +00:00
Aleksey Bragin
6cda2ec675 - Partially revert 31467 to unbreak devices installation.
svn path=/trunk/; revision=31495
2007-12-29 21:39:15 +00:00
Dmitry Chapyshev
a701dd6a99 Add 8 bits and 16 bits icons
svn path=/trunk/; revision=31494
2007-12-29 16:02:48 +00:00
Aleksey Bragin
c1087e7b19 - Slightly reformat GetETM's code.
svn path=/trunk/; revision=31493
2007-12-29 15:27:19 +00:00
Gregor Brunmar
c81101f016 Display device enumeration in d3d9
svn path=/trunk/; revision=31492
2007-12-29 15:19:13 +00:00
Dmitry Chapyshev
21eebc4eca Add strsafe library (Part 2/2)
svn path=/trunk/; revision=31491
2007-12-29 15:16:35 +00:00
Dmitry Chapyshev
d3794a7412 Header file for strsafe library (Part 1/2)
svn path=/trunk/; revision=31490
2007-12-29 15:12:34 +00:00
Gregor Brunmar
67af11f847 Added missing display device state flags to wingdi.h
svn path=/trunk/; revision=31489
2007-12-29 14:30:56 +00:00
Magnus Olsen
e2aaa37191 update the docummactions of DxEngSetDeviceGammaRamp
svn path=/trunk/; revision=31488
2007-12-29 12:48:49 +00:00
Dmitry Chapyshev
a2b7ac9f2f - Fix typo
svn path=/trunk/; revision=31487
2007-12-29 12:33:35 +00:00
James Tabor
3f58cb978f Fix set device gamma ramp. Now we test the range of the ramp.
svn path=/trunk/; revision=31486
2007-12-29 06:39:06 +00:00
James Tabor
500a6e0e0f Add Get/SetLayout to psdk.
svn path=/trunk/; revision=31485
2007-12-29 06:34:19 +00:00
James Tabor
de36e54946 Fix GetkerningPairsA, so it can handle null count and pointer. Fix export problem for user32.
svn path=/trunk/; revision=31484
2007-12-29 06:27:19 +00:00
Pierre Schweitzer
df28dbd1ee Reorganized NTFS driver header :
- Renamed Magic (bad !) to jump, and OemName to OEMID
- Created structures for BPB and EBPB and used them in BOOT_SECTOR one
- Added a field to BOOY_SECTOR structure
This is based on Technet doc and Alex Ionescu doc

svn path=/trunk/; revision=31483
2007-12-28 21:56:19 +00:00
Hervé Poussineau
3a0687218d Use kernel facilities to change debug level at runtime
svn path=/trunk/; revision=31482
2007-12-28 21:10:07 +00:00
Magnus Olsen
84f1d84f2d small bugfix in DxDdCleanupDxGraphics
forget set ghsemDummyPage to 0 after it been free

svn path=/trunk/; revision=31481
2007-12-28 20:32:30 +00:00
James Tabor
a3acf40d6f Implement GetETM.
svn path=/trunk/; revision=31480
2007-12-28 20:06:09 +00:00
James Tabor
1d95f6ebc0 Move GetKerningPairs from stubs to font.c. Ported GetKerningPairsA from Wine.
svn path=/trunk/; revision=31479
2007-12-28 19:36:31 +00:00
Daniel Reimer
ffce1d4abf Bug 2920: various spanish localizations. (remialdo<AT>gmail<DOT>com) (I Fixed a typo in servman RC file)
svn path=/trunk/; revision=31478
2007-12-28 15:05:35 +00:00
Hervé Poussineau
5b799176ba Use kernel facilities to change debug level at runtime
svn path=/trunk/; revision=31477
2007-12-28 14:47:03 +00:00
Hervé Poussineau
7ac6443e27 Export vDbgPrintEx/vDbgPrintExWithPrefix
svn path=/trunk/; revision=31476
2007-12-28 14:39:43 +00:00
Hervé Poussineau
8ecfeb0f84 Add vDbgPrintEx/vDbgPrintExWithPrefix prototypes
svn path=/trunk/; revision=31475
2007-12-28 14:39:05 +00:00
Daniel Reimer
c73c3e4279 Bug 2923: Ukrainian translation update.
Updated German RC File, too.

svn path=/trunk/; revision=31474
2007-12-28 14:35:44 +00:00
Daniel Reimer
876d2040fd Bug 2923: Ukrainian translation update.
Bug 2919: slovak translation for shell32.

svn path=/trunk/; revision=31473
2007-12-28 14:35:40 +00:00
Magnus Olsen
30eb26e6fb Add #define VIDMEM_* * to make some older drv code happy
svn path=/trunk/; revision=31472
2007-12-28 13:56:03 +00:00
Hervé Poussineau
3875bcd631 Use the captured string instead of the original one
Fix little bugs introduced in r31467

svn path=/trunk/; revision=31471
2007-12-27 21:21:36 +00:00
Hervé Poussineau
707c10cf78 Add traces
svn path=/trunk/; revision=31470
2007-12-27 20:51:53 +00:00
Magnus Olsen
9781b2b0d9 documented : EngLockDirectDrawSurface
small optimize of EngLockDirectDrawSurface, EngDxIoctl, 

svn path=/trunk/; revision=31469
2007-12-27 19:24:22 +00:00
Magnus Olsen
1f954bbfe6 documented : EngUnlockDirectDrawSurface
svn path=/trunk/; revision=31468
2007-12-27 19:11:56 +00:00
Hervé Poussineau
0edb8fe2f9 Use UNICODE_STRING and Rtl functions instead of LPWSTR variables (can prevent some buffer overflows)
Remove assumption that UNICODE_STRING buffers are always NULL terminated
Remove some intermediate buffers
Do not define multiple times PnP parent key

svn path=/trunk/; revision=31467
2007-12-27 19:02:32 +00:00
Hervé Poussineau
fe052d8d46 NULL terminate string before sending it
svn path=/trunk/; revision=31466
2007-12-27 18:53:24 +00:00
Magnus Olsen
8dd1e30e97 implement DxEngGetDeviceGammaRamp
implement DxEngSetDeviceGammaRamp

svn path=/trunk/; revision=31465
2007-12-27 18:51:27 +00:00
Magnus Olsen
290a73238b TAG video buffer memory at alloc
svn path=/trunk/; revision=31464
2007-12-27 18:30:36 +00:00
James Tabor
88eea4a9ce Support NtGdiGetDhpdev.
svn path=/trunk/; revision=31463
2007-12-27 17:56:31 +00:00
Pierre Schweitzer
5778b4df0d If download if canceled, delete temporary file
svn path=/trunk/; revision=31462
2007-12-27 17:06:30 +00:00
Pierre Schweitzer
3dce2f69c7 [FORMATTING] Fix indentation
svn path=/trunk/; revision=31461
2007-12-27 16:52:25 +00:00
Pierre Schweitzer
5f52a2893f Added help tooltips to header buttons
svn path=/trunk/; revision=31460
2007-12-27 14:40:02 +00:00
James Tabor
76133b4c4c Fix a typo in text.h. Implemente NtGdiGetDhpdev.
svn path=/trunk/; revision=31458
2007-12-27 08:41:38 +00:00
Timo Kreuzer
b7761adada w32kdll for vista
svn path=/trunk/; revision=31457
2007-12-27 03:48:36 +00:00
Timo Kreuzer
68dbbc3eaf - enumerate symbols instead of simple lookup, this makes the program slow, but you can now see if an adress has more than one name
svn path=/trunk/; revision=31456
2007-12-27 03:42:56 +00:00
Timo Kreuzer
dd3cdddf47 dbghelp.dll:
- use own .def file instead of wine's spec
- add stubs.c
- move ntdll up to make it load again on ros

svn path=/trunk/; revision=31455
2007-12-27 03:36:57 +00:00
Timo Kreuzer
9365fd9e4d - fix definition of SymGetFileLineOffsets64
- add definitions for PSYM_ENUMPROCESSES_CALLBACK and SymEnumProcesses

svn path=/trunk/; revision=31454
2007-12-27 03:07:34 +00:00
Timo Kreuzer
2405f9f737 add PDBGHELP_CREATE_USER_DUMP_CALLBACK, DbgHelpCreateUserDump, DbgHelpCreateUserDumpW to dbghelp.h
svn path=/trunk/; revision=31453
2007-12-27 01:01:34 +00:00
Timo Kreuzer
c8b1130216 fix definition of FindFileInPath
svn path=/trunk/; revision=31452
2007-12-27 00:47:39 +00:00
Aleksey Bragin
f711c1af2c - Silence debug messages.
svn path=/trunk/; revision=31451
2007-12-26 18:09:37 +00:00
Timo Kreuzer
f9840d8e29 - fix section pointer calculation
- print parameter byte count from W32pArgumentTable
- use value of W32pServiceLimit for the loop

svn path=/trunk/; revision=31450
2007-12-26 17:57:53 +00:00
Hervé Poussineau
8003f935df Add support for REG_EXPAND_SZ variables
Display the string value only if it is a string

svn path=/trunk/; revision=31449
2007-12-26 16:18:15 +00:00
Hervé Poussineau
361a5b6d9f [FORMATTING] Fix tabs/spaces mess
svn path=/trunk/; revision=31448
2007-12-26 16:16:45 +00:00
Hervé Poussineau
0f74061681 In filter command, use component names instead of components ids
svn path=/trunk/; revision=31446
2007-12-26 13:58:41 +00:00
Daniel Reimer
96d7ea9ee5 Fixed two more lines which are too long and look a bit crappy in USetup.
svn path=/trunk/; revision=31445
2007-12-26 13:25:13 +00:00
Hervé Poussineau
9fbf6521e5 Add more DPFLTR_*_ID constants
svn path=/trunk/; revision=31444
2007-12-26 11:08:41 +00:00
Hervé Poussineau
58212876b4 Remove hack, as we can use 'filter' command in kdbg instead
Fix debug level definitions

svn path=/trunk/; revision=31443
2007-12-26 10:24:31 +00:00
Hervé Poussineau
65987f47f6 Remove hack, as we can use 'filter' command in kdbg instead
svn path=/trunk/; revision=31442
2007-12-26 10:21:35 +00:00
Pierre Schweitzer
6dbe67f869 Updated Slovak translation of Explorer by Mario Kacmar (kario@szm.sk)
See issue #2551 for more details.

svn path=/trunk/; revision=31441
2007-12-26 08:41:30 +00:00
Hervé Poussineau
ea47043b29 Try to fix INFO_, TRACE_, WARN_ ERROR_ macros
svn path=/trunk/; revision=31440
2007-12-25 21:34:07 +00:00
Marc Piulachs
f46f2984da - fix typo
svn path=/trunk/; revision=31439
2007-12-25 20:44:46 +00:00
Marc Piulachs
08533b6459 update the spanish localization
svn path=/trunk/; revision=31438
2007-12-25 20:41:39 +00:00
Marc Piulachs
efe106fcd9 - Allow LANGUAGE_PAGE localization
- Use DefaultLanguage setting to set the user interface language even for the language selection itself
- Add missing language page entries to current localizations, translators get to work!

svn path=/trunk/; revision=31437
2007-12-25 20:24:19 +00:00
James Tabor
55888d315a Move string object function to eng/string.c.
svn path=/trunk/; revision=31436
2007-12-25 19:52:42 +00:00
Aleksey Bragin
c9c1def2a8 - Move preferred stack boundary = 2^2 out of the OPTIMIZE switch, because it's always defined.
- Remove assumption that GDB=1 automatically means -O0. This is wrong, optimization and debugger should be controlled independently.
- Cleanup blah-blah from config.template.rbuild.

svn path=/trunk/; revision=31435
2007-12-25 16:22:20 +00:00
Eric Kohl
36e97b472a Fix function prototypes and two typos.
svn path=/trunk/; revision=31434
2007-12-25 15:45:53 +00:00
Eric Kohl
046826a03e Query and set the display string using data length counted in bytes.
svn path=/trunk/; revision=31433
2007-12-25 13:59:57 +00:00
Aleksey Bragin
2caea04e87 - Initialize FlusherLock as a pushlock, not as an Ex-resource (it's used as a pushlock in the code now).
svn path=/trunk/; revision=31432
2007-12-25 13:15:52 +00:00
Aleksey Bragin
aebd438db0 I wonder, if Eric actually compiles before committing (AKA "merry christmas" commit :) ).
svn path=/trunk/; revision=31431
2007-12-25 12:56:11 +00:00
Aleksey Bragin
13db85781b - Do CmpShutdownWorkers only when the registry was actually initialized.
- Guard HvSyncHive with a flusher lock in CmpDoFlushAll.
- Misc typo fixes / spaces cleanup in cmlazy.c.

svn path=/trunk/; revision=31430
2007-12-25 12:35:15 +00:00
Eric Kohl
c60950760b Create image lists for the groups and users list views and add images to the list view items.
svn path=/trunk/; revision=31429
2007-12-25 11:41:08 +00:00
Aleksey Bragin
73c4e223ec - Fix incorrect NtSetDebugFilter behavior (Level below 32 should be converted into a mask). Now DbgPrintEx works as expected.
svn path=/trunk/; revision=31428
2007-12-25 10:45:14 +00:00
Pierre Schweitzer
7cae9f8a8e en-US updated translation of intl.cpl
atylmo <fat_gamer_176@yahoo.com>
See issue #2917 for more details.

svn path=/trunk/; revision=31427
2007-12-25 00:40:32 +00:00
Daniel Reimer
b63f853b94 Fixed a bunch of errors in German USetup Variation
svn path=/trunk/; revision=31426
2007-12-24 23:21:41 +00:00
Pierre Schweitzer
8dee32e2b0 Fixed a typo in usetup French translation
svn path=/trunk/; revision=31421
2007-12-24 17:54:36 +00:00
Pierre Schweitzer
74dc40c858 Removed an old hack that's not necessary any longer since r31418 (2nd stage localization).
svn path=/trunk/; revision=31420
2007-12-24 12:12:18 +00:00
Thomas Bluemel
9b9fb75e31 Remove obsolete debug output
svn path=/trunk/; revision=31419
2007-12-23 22:02:05 +00:00
Marc Piulachs
8d4251bd66 - Reorder the pages , the non graphical START_PAGE should be allways the first page to be loaded because it initializes txtsetup.sif
- Apply the selected language to the installed OS
- Get the list of languages from txtsetup.sif, it will allow us to not include explicitly excluded languages
- Various formatting fixes
- Add a default language setting to txtsetup.sif

svn path=/trunk/; revision=31418
2007-12-23 20:29:52 +00:00
Aleksey Bragin
2fa730f845 - Fix typos and debug messages.
svn path=/trunk/; revision=31417
2007-12-23 19:20:10 +00:00
Aleksey Bragin
a6ca74e2cf Dmitry Philippov <shedon@mail.ru>
- The EngLoadImage and EngUnloadImage functions have been fixed to store handles of loaded drivers. EngLoadImage should not fail if a driver is already loaded, it should return a handle of the already loaded driver instead.
- The gpDxFuncs variable has been redefined. Earlier, memory was not allocated for this variable, thus resulting in memory corruption.

svn path=/trunk/; revision=31416
2007-12-23 19:13:05 +00:00
Hervé Poussineau
41e2d7b240 Add list of missing exported functions
svn path=/trunk/; revision=31415
2007-12-23 18:29:09 +00:00
Hervé Poussineau
cfe3b0097e Fix debug message
svn path=/trunk/; revision=31414
2007-12-23 18:23:03 +00:00
Marc Piulachs
e20421e167 - Remove hard-coded reference to cmdstart.bat and load it from registry (Software\Microsoft\Command Processor\Autorun)
- Show a simple version information when called without command line parameters like the ms's cmd.exe does.

svn path=/trunk/; revision=31413
2007-12-23 13:27:00 +00:00
Marc Piulachs
945a21ed67 Spanish localizations by Remialdo <remialdo at gmail dot com>
Updated:intl,mmsys,user32
New:mstsc,appwiz

See issue #2916 for more details.

svn path=/trunk/; revision=31412
2007-12-23 09:20:37 +00:00
James Tabor
aa95d25bda Fix STRGDI structure and update it. Move it into text.h.
svn path=/trunk/; revision=31411
2007-12-23 06:38:08 +00:00
Marc Piulachs
14b8e0949e Move ntstatus.h/rc generation from Makefile to ntdll.rbuild
svn path=/trunk/; revision=31410
2007-12-23 00:55:02 +00:00
Pierre Schweitzer
f4ea030be3 - Various fixes for French translations (control, sysdm, syssetup, usetup)
svn path=/trunk/; revision=31409
2007-12-23 00:01:41 +00:00
Marc Piulachs
1b7ac1d2db Add support for mc files and remove hardcoded WMC instructions from Makefile . Thanks to Amine and Colin for helping to test it
svn path=/trunk/; revision=31408
2007-12-22 23:41:57 +00:00
Timo Kreuzer
3cc5fbd970 set svn:eol-style = native
svn path=/trunk/; revision=31407
2007-12-22 22:29:48 +00:00
Timo Kreuzer
8d3fb2eb0d commit my first translated error messages for kernel32, unused atm, but we can translate it now. There are enough left for everyone ;-)
svn path=/trunk/; revision=31406
2007-12-22 22:27:58 +00:00
Magnus Olsen
cd328cee64 DO not use magic number for debug version of d3d9d detections use DX_D3D9_DEBUG instead. the value are documented in ms dxsdk but ms have not set any name of it.
svn path=/trunk/; revision=31403
2007-12-22 20:57:02 +00:00
Magnus Olsen
6640969f1f Fixing smaller bugs in ddraw.dll
GetCaps
1. GetCaps should not call get avail memory for hel
2. add ddcaps size check 
3. add Enter/leave CriticalSection

GetDeviceIdentifier
1. add Enter/leave CriticalSection

svn path=/trunk/; revision=31402
2007-12-22 20:33:11 +00:00
Aleksey Bragin
0a73568c82 Dmitry Philippov
- Implement hard error message handler. Now whenever a hard error occurs (like an exception in the win32 application, or missing DLL import), a user will be presented with a nice message box saying about the problem.

svn path=/trunk/; revision=31400
2007-12-22 17:18:32 +00:00
Aleksey Bragin
aa2093d7d9 - Add a status table for ntdll, which corresponds to Windows 2003 SP1 build. ntstatus.mc is done by Dmitry Philippov, with some additional editing by me. Now we have a real autogenerated ntstatus.h (the one in include/ddk still remains for now).
- Include autogenerated resources in ntdll.dll.

svn path=/trunk/; revision=31399
2007-12-22 16:56:29 +00:00
Sylvain Petreolle
6cc7a5cdb4 update french translation for usetup
remove accentuated characters for now

svn path=/trunk/; revision=31392
2007-12-22 13:10:44 +00:00
James Tabor
905d70862b Fix CHWIDTHINFO size.
svn path=/trunk/; revision=31391
2007-12-22 09:40:49 +00:00
Pierre Schweitzer
2f9efc5d9f Fixed some details in French translation for taskmgr
Thanks to amine48rz to notice them

svn path=/trunk/; revision=31390
2007-12-22 09:29:40 +00:00
Pierre Schweitzer
41c68f8bd0 Updated French translation for systeminfo
svn path=/trunk/; revision=31389
2007-12-22 09:20:32 +00:00
Marc Piulachs
51e1c701bb Translations I forgot to commit on r31387
See issue #2909 for more details.

svn path=/trunk/; revision=31388
2007-12-22 00:36:16 +00:00
Marc Piulachs
73339f7b34 More spanish localizations by Remialdo <remialdo at gmail dot com>
- Updated: eventvwr, usetup
- New: logoff, devmgmt, deskadp, deskmon

See issue #2909 for more details.

svn path=/trunk/; revision=31387
2007-12-21 23:42:26 +00:00
Marc Piulachs
d41e4c53a2 use tango's terminal icon to have a more consistent look
svn path=/trunk/; revision=31385
2007-12-21 22:59:03 +00:00
Pierre Schweitzer
24475c2c98 Updated French translations for input and winemine
svn path=/trunk/; revision=31382
2007-12-21 22:07:25 +00:00
Marc Piulachs
3e167b24aa Butterflies OpenGL screensaver works now on ros, add it to bootcd (by CMan)
svn path=/trunk/; revision=31381
2007-12-21 22:05:12 +00:00
Marc Piulachs
88fbb3b5c5 - Update headers from wine (mostly formatting)
- Add new headers required to build msxml3

svn path=/trunk/; revision=31380
2007-12-21 22:01:15 +00:00
Marc Piulachs
0263a77674 - Give language picker listbox a consistent size
- Give the language selection page a meaningful description
TODO: add a language ID field to the MUI_LANGUAGE structure and store it's value on the registry ("HKEY_CURRENT_USER\Keyboard
Layout\Preload" and/or "HKEY_CURRENT_MACHINE\SYSTEM\CurrentControlSet\Control\NLS\Language")

svn path=/trunk/; revision=31379
2007-12-21 21:51:05 +00:00
Colin Finck
b56a634cec Changes by Carlo Bramini (carlo.bramix@libero.it):
- Convert the app from ANSI to TCHAR and enable Unicode compilation in the .rbuild file
- Dialog procedures now return INT_PTR instead of BOOL
- IDS_NOBODY has been added to the resource files
- Fixed a bug in SetDifficulty(): If custom selection, then no changes are done if the user presses the CANCEL button.
- Show mines in the end board in all mine boxes, which you previously marked with the QUESTION state, when you lost the game
- Added an accelerator table
- Define the WineMine root registry key in just one place as a constant rather than a #define, point it to the Software\Microsoft\WinMine key
- Code simplifications

Changes by me:
- Make our registry settings compatible with the MS WinMine settings, since we write into the WinMine registry key now
- Remove the WINE_STRICT check, which was needed to avoid an ancient WINE bug, but doesn't affect our tree. I also replaced all NULL_HANDLE's by NULL.
- Remove the IDS_APPNAME string, we use "WineMine" as a static constant for the application name now
- Remove the unused "mb" variable from the BOARD structure
- Load all resources by ID, not by name
- Add a manifest for enabling Common Controls 6.0
- Use ShellAbout instead of a custom About dialog
- Use a consistent indentation and consistent variable namings and types

See issue #2815 for more details.

svn path=/trunk/; revision=31378
2007-12-21 21:29:57 +00:00
Aleksey Bragin
f6c01b3703 - Remove ctype.h introduced in revision 1213 by David Welch. For quite a long time there is a proper version of ctype.h in ReactOS CRT.
svn path=/trunk/; revision=31377
2007-12-21 15:43:48 +00:00
Aleksey Bragin
550a5fa9ed - Isolate Hal* #defines, which are absent in WDK, they should not be used in kernel development.
svn path=/trunk/; revision=31376
2007-12-21 14:58:18 +00:00
Hervé Poussineau
be15618a7f Rename ASMCODE to ROS_KERNEL_ENTRY_POINT
svn path=/trunk/; revision=31375
2007-12-21 14:57:31 +00:00
Hervé Poussineau
148fd39043 Add VIDEO_DRIVER_INIT_FAILURE
svn path=/trunk/; revision=31374
2007-12-21 14:56:52 +00:00
James Tabor
9b24164abd fix build
svn path=/trunk/; revision=31373
2007-12-21 14:02:37 +00:00
James Tabor
eca1866f15 Correct size for universal font id.
svn path=/trunk/; revision=31372
2007-12-21 13:48:04 +00:00
Aleksey Bragin
ad11e66d58 - Fix Alex's csrss compilation, however it won't link due to missing functionality in smss.
svn path=/trunk/; revision=31371
2007-12-21 13:40:20 +00:00
James Tabor
68075a2152 Add missing devivemode type.
svn path=/trunk/; revision=31370
2007-12-21 13:01:48 +00:00
Hervé Poussineau
4e7fc1bf52 No need to compile libxml2, as it is not used
svn path=/trunk/; revision=31369
2007-12-21 10:26:41 +00:00
Hervé Poussineau
bee8c290a3 [FORMATTING] Fix indentation
svn path=/trunk/; revision=31368
2007-12-21 10:11:29 +00:00
Hervé Poussineau
ab3c6601b7 Use TRACE/WARN/ERR/FIXME macros for debugging, so they can be enabled at runtime
svn path=/trunk/; revision=31367
2007-12-21 10:09:46 +00:00
Hervé Poussineau
0099292d68 [FORMATTING] Fix indentation
svn path=/trunk/; revision=31366
2007-12-21 10:06:46 +00:00
Hervé Poussineau
e1c174281d Fix hazardous UNICODE_STRING buffer manipulations
svn path=/trunk/; revision=31365
2007-12-21 09:40:32 +00:00
Gregor Brunmar
181f62fec0 * Changed to aligned alloc of Direct3D9 object
* More fields in IDirect3D9 structure

svn path=/trunk/; revision=31364
2007-12-20 21:18:42 +00:00
Marc Piulachs
2d5dcf3064 spanish translation for format and regsvr32 by Remialdo <remialdo at gmail dot com>
See issue #2908 for more details.

svn path=/trunk/; revision=31363
2007-12-20 20:23:06 +00:00
Marc Piulachs
a85765072c Italian translation updates by devpao <devotip at tiscali dot it>
See issue #2907 for more details.

svn path=/trunk/; revision=31362
2007-12-20 20:17:54 +00:00
Aleksey Bragin
c0c897289a - Remove unneeded else-branch, spotted by Dmitry Philippov.
svn path=/trunk/; revision=31361
2007-12-20 19:04:52 +00:00
Aleksey Bragin
a9853e5a80 - Implement LpcRequestWaitReplyPort as a copy of NtRequestWaitReplyPort, but remove object referencing/dereferencing (we already have a pointer to the port object), and SEH (this function is internal to the kernel).
svn path=/trunk/; revision=31360
2007-12-20 18:38:19 +00:00
Colin Finck
8673adbeb8 Change some more text in the german translation of usetup
See issue #2904 for more details.

svn path=/trunk/; revision=31359
2007-12-20 18:19:29 +00:00
Ged Murphy
5fc59e29d9 missed this, apologies for spamming
svn path=/trunk/; revision=31357
2007-12-20 15:43:27 +00:00
Aleksey Bragin
21d4476bfc - Top level exception handler can't be UnhandledExceptionFilter by default, this leads to an infinite recursion if top level was not overriden.
- Add HardError raising to UnhandledExceptionFilter, by Dmitry Philippov.

svn path=/trunk/; revision=31356
2007-12-20 15:41:24 +00:00
Aleksey Bragin
55999c83fb - Turn back messagetables inlining support for now.
svn path=/trunk/; revision=31355
2007-12-20 15:30:12 +00:00
Aleksey Bragin
143d44b9f6 - Substitute MAX_PATH by 256 for now, since Linux hosts have no idea of a MAX_PATH.
svn path=/trunk/; revision=31354
2007-12-20 15:22:01 +00:00
Aleksey Bragin
afa1e79577 - Remove inlining messagetables option from wmc invocations.
svn path=/trunk/; revision=31353
2007-12-20 13:17:12 +00:00
Aleksey Bragin
3a189522d7 - Implement bin-files creation (as opposed to inlining resource data, which is incompatible with MSVC). Result matches 1:1 with mc.exe output on the same input file.
- This patch was submitted to Wine, but it needs to be reworked.

svn path=/trunk/; revision=31352
2007-12-20 13:11:30 +00:00
Aleksey Bragin
ef58f0b65b - Provide ntcfgx.dll a preferred baseaddress.
svn path=/trunk/; revision=31351
2007-12-20 13:07:06 +00:00
Aleksey Bragin
79a2c2db56 - Make VBEMP look like a legacy driver.
- Reorganize VideoPortInitialize (firstly do all checks, then do Driver Object Extension related operations).
- Fix the hack Magnus Olsen added for the "No PNP videocard" problem, by adding a real check Windows 2003 SP1 videoport driver is performing (information got by building "stub" miniports and trying to load them with a checked build of W2K3SP1's videoprt.sys).
- Add stubbed handler for IRP_MJ_SYSTEM_CONTROL (for PnP miniports) and IRP_MJ_INTERNAL_DEVICE_CONTROL.

svn path=/trunk/; revision=31350
2007-12-20 12:31:39 +00:00
James Tabor
bf53c43ed8 Add a test to see which is the naughty handle type abusing the system. Free = 0 Window = 225 Menu = 116 CursorIcon = 1695 Hook = 2 CallProc = 6 Accel = 3 Monitor = 1
svn path=/trunk/; revision=31349
2007-12-20 02:36:38 +00:00
Colin Finck
feec3403a4 Remove this deprecated wchar_t logic.
We needed it, when host and target headers weren't fully separated, but this greatly improved now :-)

svn path=/trunk/; revision=31348
2007-12-20 00:30:20 +00:00
Colin Finck
d959db2131 - Don't reinvent the wheel again: Use <host/typedefs.h> in winebuild instead of defining the types for the host manually again
- Get rid of the "include/psdk" include directory in the winebuild makefile
- Add a definition for UINT_PTR and PUINT_PTR to <host/typedefs.h>

svn path=/trunk/; revision=31347
2007-12-20 00:20:01 +00:00
James Tabor
7b80e82207 Reorder code since it is a POWNED DC.
svn path=/trunk/; revision=31345
2007-12-19 23:48:07 +00:00
James Tabor
cefb74f67d Fix a problem when freeing a window class with dirty bit set.
svn path=/trunk/; revision=31344
2007-12-19 23:26:04 +00:00
Timo Kreuzer
8ebdc869ec update README.WINE
svn path=/trunk/; revision=31341
2007-12-19 21:55:04 +00:00
Timo Kreuzer
c9dc5d76f8 syscall dumper for win32k that also works on vista.
You need dbghelp.dll and symsrv.dll. The ones from syscall lister (http://www.openrce.org/blog/view/808/Syscall_lister) work fine, the ones shipped with windows don't.
todo: support x64

svn path=/trunk/; revision=31340
2007-12-19 21:48:15 +00:00
Timo Kreuzer
929e7eeba5 sync dbghelp.dll to wine head. should fix build
svn path=/trunk/; revision=31339
2007-12-19 21:34:55 +00:00
Marc Piulachs
fa17bda2ef spanish localizations by Remialdo <remialdo at gmail dot com>
- Added: systeminfo, mazescr and msgina
- Fix unterminated string in systeminfo/lang/es-ES.rc

See issue #2905 for more details.

svn path=/trunk/; revision=31338
2007-12-19 21:25:05 +00:00
Timo Kreuzer
556b0edec8 - update dbghelp.h and cvconst.h from wine
- update mscvpdb.h, winbase16.h and windef16.h wine headers
- create wine/winbase.h containing SYSLEVEL struct
- add regex.h to include/wine

svn path=/trunk/; revision=31337
2007-12-19 21:11:06 +00:00
Gregor Brunmar
2ba19fb650 * Forgot the struct name change in self-pointer
* Inited self-pointer

svn path=/trunk/; revision=31336
2007-12-19 20:48:58 +00:00
Gregor Brunmar
141a3b554b * Renamed internal IDirect3D9 structure
* Made Direct3D9Impl's IUnknown interface more robust thanks to hpoussin
* Inited more values in internal struct

svn path=/trunk/; revision=31335
2007-12-19 20:44:43 +00:00
Colin Finck
a69fd32e4b Change the umlauts to characters of the english alphabet, otherwise they aren't displayed correctly.
See issue #2902 for more details.

svn path=/trunk/; revision=31334
2007-12-19 20:19:41 +00:00
Gregor Brunmar
23b9c2f3d3 Changed last IDirect3D9->QueryInterface() according to hpoussin's feedback
svn path=/trunk/; revision=31333
2007-12-19 20:06:34 +00:00
Gregor Brunmar
162365cf34 Implemented IDirect3D9->QueryInterface()
svn path=/trunk/; revision=31332
2007-12-19 19:49:10 +00:00
Aleksey Bragin
a5e7839caf - Fix dangerous passing of possibly unterminated wide string to RtlQueryRegistryValues (by opening the keys and passing handle instead).
- Fix incorrect string operation (assuming that the string is terminated). Spotted by hpoussin.

svn path=/trunk/; revision=31331
2007-12-19 17:46:58 +00:00
Gregor Brunmar
a212e8e76d Added stubs and vtable for IDirect3D9 implementation
svn path=/trunk/; revision=31330
2007-12-19 17:41:05 +00:00
Johannes Anderwald
3305aeac57 - register greek translation
- add previously moved strings
- fix include guard

svn path=/trunk/; revision=31329
2007-12-19 15:19:38 +00:00
Johannes Anderwald
874e6f7c4d - should now show all languages again
svn path=/trunk/; revision=31328
2007-12-19 15:12:10 +00:00
Johannes Anderwald
4748610cb7 - fix typos, grammar, style and identation
svn path=/trunk/; revision=31327
2007-12-19 14:50:21 +00:00
Johannes Anderwald
e258452a0d - move nearly all hardcoded strings to the language specific files
- translate the new imported strings for german resource
- put all moved string for all other languages
- remove country identifier for languages which only has currently one translation (english/french)

svn path=/trunk/; revision=31326
2007-12-19 14:29:39 +00:00
Daniel Reimer
af4d563cad Bug 2893: New Greek resource files (djapal@gmail.com)
Bug 2894: Ukrainian translation update (temarez@yandex.ru)

svn path=/trunk/; revision=31325
2007-12-19 11:37:35 +00:00
Aleksey Bragin
5c87231895 - Changed .spec back to .def again (this time .def is a modified output of that .spec, so that stdcall exported symbols are not decorated with @X).
- Added winebuild-generated "real" stubs, to be converted to real implementation in the future.

svn path=/trunk/; revision=31324
2007-12-19 11:30:48 +00:00
Johannes Anderwald
71e4f70b19 - italian translation of usetup by Gabriel Ilardi
See issue #2895 for more details.

svn path=/trunk/; revision=31323
2007-12-19 11:02:56 +00:00
Christoph von Wittich
ef9000bca7 support CP_SYMBOL in MultiByteToWideChar and WideCharToMultiByte ported from Wine. patch by Daniel Zimmermann <netzimme at aim dot com>
See issue #2870 for more details.

svn path=/trunk/; revision=31322
2007-12-19 10:56:29 +00:00
Aleksey Bragin
073599e2de - Fix a problem with parameter passing in DispatchTwoParam (it was always zeroed, which was not correct). Problem found by Dmitry Philippov.
- Fix a typo KiTrap14 which prevented correct passing of the error code to the exception dispatcher. (by Dmitry Philippov).

svn path=/trunk/; revision=31321
2007-12-19 10:29:08 +00:00
Daniel Reimer
fe74c78c12 Updated German RC File of systeminfo.
svn path=/trunk/; revision=31320
2007-12-19 10:28:55 +00:00
Christoph von Wittich
44abeb1293 fix a crash in SaveBoard
svn path=/trunk/; revision=31319
2007-12-19 10:05:36 +00:00
Christoph von Wittich
f576aa4a67 %wZ req. PUNICODE_STRING instead of UNICODE_STRING
svn path=/trunk/; revision=31318
2007-12-19 09:52:12 +00:00
Dmitry Chapyshev
0aae9ce9f5 - Add myself to CREDITS (no comments ;))
- Add rasapi32, rasdlg and rasman to apistatus.lst

svn path=/trunk/; revision=31317
2007-12-19 09:21:21 +00:00
Dmitry Chapyshev
82200e9e04 - Functions for definition BIOS date and version, Domain are added
svn path=/trunk/; revision=31316
2007-12-19 08:54:15 +00:00
Dmitry Chapyshev
3a8a817c07 - Update Russian translation
svn path=/trunk/; revision=31315
2007-12-19 08:44:31 +00:00
Dmitry Chapyshev
0abac7d030 - Fix Russian Translation for mstsc
- Fix English Translation for servman

svn path=/trunk/; revision=31314
2007-12-19 08:42:33 +00:00
Marc Piulachs
f3fa9654f6 Add r31312 new translations to build
svn path=/trunk/; revision=31313
2007-12-18 23:15:35 +00:00
Marc Piulachs
5e418ee356 spanish localizations by Remialdo <remialdo at gmail dot com>
- Updated: downloader,solitarie, winemine,screensaver 3dtext
- Added: mmc,screensaver logon, freeldr fdebug, console
See issue #2898 for more details.

svn path=/trunk/; revision=31312
2007-12-18 23:05:26 +00:00
Johannes Anderwald
4d6569f0b2 - convert buffer back if pidle simple
- fixes error message when opening control panel in explorer and displays the name for the folder option cpl (thus executing is not yet implemented)

svn path=/trunk/; revision=31311
2007-12-18 23:01:14 +00:00
Dmitry Chapyshev
b82d0d95a3 - Add itself rasman.dll (Part 3/3)
svn path=/trunk/; revision=31308
2007-12-18 16:47:49 +00:00
Dmitry Chapyshev
cfaf9a83f3 - Add baseaddress for rasman.dll (Part 2/3)
svn path=/trunk/; revision=31307
2007-12-18 16:41:37 +00:00
Dmitry Chapyshev
1a67ac9564 - Add header for rasman.dll (Part 1/3)
svn path=/trunk/; revision=31306
2007-12-18 16:40:32 +00:00
Ged Murphy
0b2da4ea54 add LR_COPYDELETEORG and ignore LR_COPYFROMRESOURCE
svn path=/trunk/; revision=31305
2007-12-18 14:56:01 +00:00
Ged Murphy
da6e62e245 return the icon bpp in the call to NtUserGetIconInfo
svn path=/trunk/; revision=31304
2007-12-18 14:28:56 +00:00
Ged Murphy
997bebd3b8 update ntuser header
svn path=/trunk/; revision=31303
2007-12-18 13:50:56 +00:00
Ged Murphy
eeb93976b2 - Add a very bare bones implementation of IMAGE_ICON for CopyImage.
- Move the IMAGE_BITMAP stuff to a seperate function which will eventually be rewritten.

svn path=/trunk/; revision=31302
2007-12-18 13:49:38 +00:00
Ged Murphy
4bce737574 - Fix NtUserGetIconInfo and use SEH directly.
- Fix the NtUserSetCursorIconData definition and rewrite it (not fully complete)

svn path=/trunk/; revision=31301
2007-12-18 13:49:00 +00:00
Aleksey Bragin
a03416ebf8 - Recommit the fixed winebuild. The fix was to:
* remove Colin's 31297.
 * spec32.c:625, substitute odp->name check with (odp->name || odp->export_name) check.

svn path=/trunk/; revision=31300
2007-12-18 11:00:37 +00:00
Aleksey Bragin
0bb029564f Filip Navara <xnavara at volny dot cz> 's christmas gift
- Fix certain cases of deallocation inside registry hives.
- Add debug output in case of a problem in HvpRemoveFree.

svn path=/trunk/; revision=31299
2007-12-18 10:13:45 +00:00
Colin Finck
cf6d1c80e6 Revert 31292, 31294 and 31297.
Every change I try for fixing the build in one component breaks the build for another component.
winebuild wasn't synchronized completely to the Wine version anyway, and the current Wine version removed support for the --pedll option we use, so a full clean sync isn't possible.

svn path=/trunk/; revision=31298
2007-12-17 23:36:09 +00:00
Colin Finck
f22e568f90 Get rid of make_internal_name() and only use the name or export name now, also for stub functions.
This is already done this way when creating the SPEC files, but wasn't done when creating the C files with the stubs.

svn path=/trunk/; revision=31297
2007-12-17 23:22:34 +00:00
Colin Finck
c4649e3235 Rename DSOUND_DllRegisterServer to DllRegisterServer and DSOUND_DllUnregisterServer to DllUnregisterServer. (the same is already done in the other DirectX DLL's with SPEC files)
I wonder how dsound.dll could be compiled in the past cause the SPEC file never referenced to these functions.

This should fix the build breakage.

svn path=/trunk/; revision=31296
2007-12-17 22:01:06 +00:00
Gregor Brunmar
1533c7c528 * Check SDKVersion and print error message if debug flag is specified.
* New CreateD3D9 internal function to create a valid IDirect3D9 object.

svn path=/trunk/; revision=31295
2007-12-17 21:22:40 +00:00
Aleksey Bragin
10d88685d7 - It should use only host headers.
svn path=/trunk/; revision=31294
2007-12-17 20:53:08 +00:00
James Tabor
721122fed7 First restructure and reorder the code. Identify bugs and make corrections. Found DCX_CACHE sets to owned DCEs, we do not hold dcattr after ReleaseDC as we should and did not handle ClassDCs correctly. Will continue.
svn path=/trunk/; revision=31293
2007-12-17 20:23:31 +00:00
Aleksey Bragin
26c115dc6a Sync winebuild (keeping ReactOS-specific changes).
3 days ago Michael Stefaniuc winebuild: Remove duplicate declaration of variable ...
6 days ago Alexandre Julliard winebuild: Don't set the IMAGE_FILE_DLL flag on native ...
10 days ago Alexandre Julliard winebuild: Also optimize out imports that are only ...
10 days ago Alexandre Julliard winebuild: Improved checks for missing forward entry ...
10 days ago Alexandre Julliard winebuild: Print a warning when failing to import a ...
2007-11-07 Alexandre Julliard winebuild: Add a few nops to stub entry points to make ...
2007-10-26 Alexandre Julliard winebuild: Add a -ordinal flag for entry points that ...
2007-09-10 Dmitry Timoshkov winebuild: Add IMAGE_FILE_32BIT_MACHINE flag for a ...
2007-07-19 Alexandre Julliard ntdll: Move private data to make room in the TEB for ...
2007-05-29 Dmitry Timoshkov winebuild: Mark builtin DLLs as IMAGE_FILE_LARGE_ADDRES ...
2007-05-24 Alexandre Julliard winebuild: Set the IMAGE_FILE_EXECUTABLE_IMAGE flag ...
2007-05-21 Dmitry Timoshkov winebuild: Fix compilation warnings in 64-bit mode.
2007-04-25 Rob Shearman winebuild: Refer to strings used in generated stubs ...
2007-04-09 Dmitry Timoshkov winebuild: Check if a given forward does exist in one ...
2007-03-17 Andrew Talbot winebuild: Replace inline static with static inline.
2007-03-05 Joris Huizer winebuild: sign-compare fixes.
2006-12-27 Alexandre Julliard make_makefiles: Generate the top-level .gitignore file.
2006-12-07 Alexandre Julliard winebuild: Added --nxcompat option, and mark all module ...
2006-12-04 Alexandre Julliard winebuild: Check for illegal characters in entry point ...
2006-10-12 Andrew Talbot winebuild: Cast-qual warning fix.
2006-09-14 Alexandre Julliard makefiles: Generate the dependencies line to avoid ...
2006-08-23 Andrew Talbot winebuild: Cast-qual warnings fix.
2006-08-11 Alexandre Julliard winebuild: Added output() function to properly deal ...
2006-08-07 Alexandre Julliard makefiles: Use make dependencies to create installation ...
2006-07-11 Ge van Geldorp winebuild: Save registers which might contain parameter ...
2006-07-11 Ge van Geldorp winebuild: Reserve enough space for null function pointer.
2006-07-10 Alexandre Julliard Take advantage of the recursive nature of .gitignore ...
2006-06-19 Alexandre Julliard winebuild: Get rid of the data16 prefix, it shouldn't ...
2006-06-13 Alexandre Julliard winebuild: Fix a few printf format warnings by casting ...
2006-05-23 Jonathan Ernst Update the address of the Free Software Foundation.
2006-04-18 Alexandre Julliard winebuild: Disable linking to external symbols by default.
2006-04-18 Alexandre Julliard winebuild: Fixed index in module table for delayed ...
2006-04-05 Alexandre Julliard winebuild: Remove a no longer necessary movzwl instruction.
2006-02-16 Robert Shearman winebuild: Correction for manpage.
2006-02-14 Mike Frysinger Add support for 'make install DESTDIR'.
2006-01-24 Alexandre Julliard winebuild: Get rid of the default ignored symbols list.
2006-01-23 Alexandre Julliard winebuild: Always import atof, the MS version is different.
2006-01-21 Marcus Meissner winebuild: Output a .note.GNU-stack section to allow ...
2006-01-20 Alexandre Julliard winebuild: Moved offset definitions to relay.c since ...
2006-01-20 Alexandre Julliard ntdll: Move the %gs register to the ntdll_thread_regs ... 

svn path=/trunk/; revision=31292
2007-12-17 20:17:36 +00:00
Ged Murphy
1e284d22a4 - Don't leak bitmaps in the CopyIcon call.
- Pass the call on, don't call straight into win32k

svn path=/trunk/; revision=31291
2007-12-17 16:31:10 +00:00
Ged Murphy
c5d666d363 update header
svn path=/trunk/; revision=31290
2007-12-17 09:41:33 +00:00
Ged Murphy
6d9378a1fd - Add a new routine to NtUSerCallOneParam which returns newly created handles for icons and cursors
- Fix the NtUserGetIconSize prototype

svn path=/trunk/; revision=31289
2007-12-17 09:40:48 +00:00
Daniel Reimer
5d9d776a8e Updated German Input.cpl Resource.
svn path=/trunk/; revision=31288
2007-12-17 09:06:07 +00:00
Hervé Poussineau
7fd1284a89 Use kernel facilities to change debug level at runtime
svn path=/trunk/; revision=31287
2007-12-16 21:12:54 +00:00
Hervé Poussineau
4cf058de4c Use kernel facilities to change debug level at runtime
svn path=/trunk/; revision=31286
2007-12-16 21:00:44 +00:00
Aleksey Bragin
8ba93ade66 - Properly allocate ArcDisk info, so it gets correctly mapped later. Fixes spontaneous INACCESSIBLE_BOOT_DEVICE errors.
svn path=/branches/winldr/; revision=31285
2007-12-16 20:28:29 +00:00
Dmitry Chapyshev
79c2227121 - Add some functionality
- Small fixes and updates

svn path=/trunk/; revision=31284
2007-12-16 20:02:17 +00:00
Aleksey Bragin
137d8c4897 - A bit of cleanup (no code change).
svn path=/trunk/; revision=31283
2007-12-16 17:23:38 +00:00
Aleksey Bragin
8918c7ecb0 - Add a signature field to KCBs, and use it to validate KCBs as well as to mark them dead after they've been freed (to catch invalid reuse).
- Add assertions to make sure key hashes are valid.
- Finish implementing EnlistKeyBodyWithKCB since the new parse routine is now used, and implement analogous DelistKeyBodyFromKCB.
- Fix delay item allocation code which was overwriting pool memory.
- Re-enable allocation-page support for allocating KCBs.
- Implement the CmpDelayDerefKCBWorker now that delay alloc/free works.
- Fix CmpDelayDerefKeyControlBlock which was overwriting KCB flags and incorrectly setting reference counts for the KCB.
- CmpDelayCloseWorkItemActive should be enabled when arming the delayed close timer.
- Fix reference counting bugs in CmpAddToDelayedClose and CmpRemoveFromDelayedClose.
- Fix wrong sizes of CM_KCBS_PER_PAGE and CM_DELAYS_PER_PAGE which caused more pool overwrites.

svn path=/trunk/; revision=31282
2007-12-16 16:37:15 +00:00
Aleksey Bragin
e43bd0bf47 - Sync binhive.c changes with trunk.
- Remove duplicated CM structs definitions.
- Fixed up code so it compiles.

svn path=/branches/winldr/; revision=31281
2007-12-16 16:02:56 +00:00
Aleksey Bragin
db48b40873 - Add shared->Exclusive promotion support to value cache routines as well.
- Implement CmpCompareNewValueDataAgainstKCBCache as an optimization during Set Value Key operations, so that if the value is already identical, it will not be written again.

svn path=/trunk/; revision=31280
2007-12-16 15:41:48 +00:00
Pierre Schweitzer
140729513a Fixed some details
svn path=/trunk/; revision=31279
2007-12-16 15:25:17 +00:00
Sylvain Petreolle
3d5e4d8fd3 fix typo
svn path=/trunk/; revision=31278
2007-12-16 14:55:48 +00:00
Hervé Poussineau
16168cb5ea Fix typo spotted by Usurp
svn path=/trunk/; revision=31277
2007-12-16 14:44:01 +00:00
Magnus Olsen
8484152675 patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
add d3d COM interface to ddraw.dll
Fixed smaller bugs as well

svn path=/trunk/; revision=31276
2007-12-16 14:07:33 +00:00
Aleksey Bragin
ca19199176 - ARC hardware device tree passed to the kernel contains only partial descriptors (contents of full descriptors was ignored anyway).
svn path=/trunk/; revision=31274
2007-12-16 10:04:04 +00:00
Pierre Schweitzer
bf0be00a24 Updated French translations for calc, shell32, syssetup
svn path=/trunk/; revision=31272
2007-12-16 09:53:56 +00:00
Timo Kreuzer
0915b2ac9b fix export definition
svn path=/trunk/; revision=31271
2007-12-16 02:45:59 +00:00
Timo Kreuzer
ae9965fb5d w32kdll for windows 2003 SP2
svn path=/trunk/; revision=31270
2007-12-16 02:32:20 +00:00
Magnus Olsen
53ddbc9868 do not try add DDSD_LPSURFACE when it is already been set
svn path=/trunk/; revision=31269
2007-12-16 00:56:43 +00:00
Magnus Olsen
2dd0e4bc06 fix a typo
svn path=/trunk/; revision=31268
2007-12-16 00:46:43 +00:00
Magnus Olsen
dbd6da8f76 fix a bug in createsurface
DDSD_LPSURFACE should only be automatic set if we have a system memory surface.
 

svn path=/trunk/; revision=31267
2007-12-16 00:43:22 +00:00
Magnus Olsen
2bae495105 fix another bug in createsurface
a program does not need set the flag DDSD_LPSURFACE, if they forget ddraw will automatic set it.

svn path=/trunk/; revision=31266
2007-12-16 00:38:22 +00:00
Magnus Olsen
bff867887d fix a check in createsurface
do not accpect if both flag DDSCAPS_SYSTEMMEMORY and DDSCAPS_VIDEOMEMORY are set in pDDSD->ddsCaps

svn path=/trunk/; revision=31265
2007-12-16 00:28:35 +00:00
Johannes Anderwald
9ff46b90e2 - fix typo spotted by towerr
thanks

svn path=/trunk/; revision=31263
2007-12-15 22:19:24 +00:00
Aleksey Bragin
d9633373f6 - Use CmpLockRegistry instead of manual registry locking -- this also makes the registry lock shared instead of exclusive.
- Start using KCB locking/unlocking, usually shared first.
- Support KCB lock promotion from shared to exclusive when value cache functions require it (SearchNeedExclusiveLock -- not yet used).
- Add multiple checks for deleted KCBs so that operations on them fail.
- Protect symlinks from being erroneously modified.
- Remove a ReactOS symlink hack.
- Add code to setup the KCB Value Cache (right now we use the node list since nobody was setting the value cache up).
- Detect and assert on CM_KCB_SYM_LINK_FOUND, this is used by caching which we don't support.
- Protect KEY_NO_DELETE nodes from deletion.
- Lock the registry during hive flushing.
- Respect CmpNoWrite if it's set.
- Don't ignore Allocate flag sent to CmpLinkhivetoMaster during hive loading.

svn path=/trunk/; revision=31262
2007-12-15 22:06:10 +00:00
Magnus Olsen
442b5501fe Fixed param checks in createsurface code. and one wrong if check
svn path=/trunk/; revision=31260
2007-12-15 21:34:17 +00:00
Magnus Olsen
567306df67 always initate ppSurf to NULL if createsurface fail, the ppSurf must be zero out.
svn path=/trunk/; revision=31259
2007-12-15 21:25:39 +00:00
Magnus Olsen
4485c07783 Do not create a surface from wrong process.
if we found it was another process try call on createsurface that have started ddraw it will fail. 

svn path=/trunk/; revision=31258
2007-12-15 20:53:33 +00:00
Aleksey Bragin
0f4bc4008d - Fix typo in KCB flag.
- CmDeleteKey takes a Key Body, not a KCB.
- Simplify some code since ValueCache.RealKCB is a KCB now, not a hacked PKEY_OBJECT, so a bunch of typecasts can be removed.
- Implement CmpCleanUpSubKeyInfo to remove cached subkey information when a KCB is deleted (subkeys are not cached yet, however).
- Add checks in various code paths to make sure we don't touch a read-only KCB.
- Don't double-dereference a key object during a delete.
- Add checks for invalid key information classes.
- For KeyNameInformation, the caller must have some handle access to succeed the call.
- Validate alignment of key value names.
- Don't accept NULLs at the end of key value names.
- Validate key value name lengths.
- Validate data lengths.
- Remove a couple of forced lazy flushes that aren't required anymore.
- Use CmpLockRegistry() in ntapi.c instead of the manual lock release.

svn path=/trunk/; revision=31257
2007-12-15 20:51:40 +00:00
Dmitry Chapyshev
55dcdfc6c9 - Add Bulgarian layouts
svn path=/trunk/; revision=31256
2007-12-15 19:17:32 +00:00
Dmitry Chapyshev
14cdb9e388 - Add some languages from wine
svn path=/trunk/; revision=31255
2007-12-15 18:44:56 +00:00
Hervé Poussineau
1f387a2397 Check if symbols are defined, not their value!
svn path=/trunk/; revision=31254
2007-12-15 18:38:24 +00:00
Aleksey Bragin
f3e67d1114 - Use CmPrepareKey only in cmlib, since it's a cmlib hack.
svn path=/trunk/; revision=31253
2007-12-15 18:25:08 +00:00
Aleksey Bragin
0b6a2fda00 - Implement NtCreateKey using the new parse routine.
- NtOpenKey should only return the key handle if the operation was successful.
- Point to new parse routine, and rename it to CmParseKey instead of CmParseKey2 which was used during the test phase.
- Delete all of the "cm" directory, this code is now fully gone; the new Configuration Manager is in place.
- Move cm.h and cm_x.h to include/internal where they belong to and fix all their includers.

svn path=/trunk/; revision=31252
2007-12-15 18:14:41 +00:00
Aleksey Bragin
ffa5f05eca - Implement BIOS access routines in HAL.
- Implement HalResetDisplay using those routines.
- Uncomment a display reset in bootvid (as real Windows bootvid does).
- Remove 1 sec delay from the shutdown thread.
- As a result, no more red screen flashing at the end of the 1st stage, shutdown quotes are displayed again, and BSODs are shown correctly.

svn path=/trunk/; revision=31251
2007-12-15 17:15:48 +00:00
Sylvain Petreolle
6d60d0c394 french translation for usetup
svn path=/trunk/; revision=31250
2007-12-15 16:52:40 +00:00
Daniel Reimer
4255cdb33e eeevil trailing spaces :D
svn path=/trunk/; revision=31249
2007-12-15 16:30:15 +00:00
Johannes Anderwald
f7611e2090 - swedish translation of usetup by Stefan Ginsberg stefan__100__@hotmail.com
- IRC: Stefan100

svn path=/trunk/; revision=31248
2007-12-15 16:25:42 +00:00
Daniel Reimer
c53906d07e Updated German USetup localisation. (Not tested yet, if the string are too long.)
svn path=/trunk/; revision=31247
2007-12-15 16:21:12 +00:00
Aleksey Bragin
a78f0c5728 - Add eol-style:native.
svn path=/trunk/; revision=31246
2007-12-15 16:18:49 +00:00
Johannes Anderwald
0600d749e8 - sorry for breaking build
svn path=/trunk/; revision=31245
2007-12-15 16:08:01 +00:00
Johannes Anderwald
d42a0f2bb3 - move static errocodes to header
- translation of errorcodes is not yet ready

svn path=/trunk/; revision=31244
2007-12-15 14:24:02 +00:00
Dmitry Chapyshev
204a24b33e - Add Russian Translation
svn path=/trunk/; revision=31243
2007-12-15 12:48:07 +00:00
Daniel Reimer
a6e6b11761 Bug 2884 : New greek resource files (djapal@gmail.com)
svn path=/trunk/; revision=31242
2007-12-15 12:41:54 +00:00
Hervé Poussineau
a3c09fcea9 Fix {module}_clean target
svn path=/trunk/; revision=31241
2007-12-15 12:27:30 +00:00
Ged Murphy
a054098132 remove NtUserGetCursorIconSize
svn path=/trunk/; revision=31240
2007-12-15 12:17:34 +00:00
Ged Murphy
a8d5e08510 remove the ros only NtUserGetCursorIconSize and implement NtUserGetIconSize in it's place
svn path=/trunk/; revision=31239
2007-12-15 12:16:45 +00:00
Johannes Anderwald
80a90cc261 - register Folder Options panel
- add code to register printer folder 

svn path=/trunk/; revision=31238
2007-12-15 12:03:47 +00:00
Johannes Anderwald
e52d13a403 - register Folder Options control panel
svn path=/trunk/; revision=31237
2007-12-15 11:48:24 +00:00
Sylvain Petreolle
fd649cdc19 include SDK first
svn path=/trunk/; revision=31236
2007-12-15 11:30:07 +00:00
Johannes Anderwald
a2359505b3 - ukrainian translation of usetup by Artem Reznikov (temarez)
- sort languages
See issue #2889 for more details.

svn path=/trunk/; revision=31235
2007-12-15 11:25:03 +00:00
Johannes Anderwald
fec18d2cf4 - add IDS_FOLDER_OPTIONS constant
- start implementing folder options cpl
- export a few functions by name, patch by Kamil Hornicek(Pigglesworth)
- move Options_RunDll[A|W] to new file folder_options.c

svn path=/trunk/; revision=31234
2007-12-15 11:13:01 +00:00
Hervé Poussineau
3e0d6fc8cf Fix deletion of generated proxy makefile
svn path=/trunk/; revision=31233
2007-12-15 10:04:29 +00:00
Aleksey Bragin
61ed2f0c41 - Colin Finck: Replace broken memcmp comparison of wide strings by an own version of wcsncmp (due to the fact it may be different on different hosts).
- Add RtlAssert to mkhive, it was missing in some compiling cases, and fix DbgPrint function implementation.
- Mark a memory overwrite in mkhive with a FIXME, to be fixed later.

svn path=/trunk/; revision=31232
2007-12-15 10:02:00 +00:00
James Tabor
5bd30618ac Use new share handle table info.
svn path=/trunk/; revision=31231
2007-12-15 09:11:59 +00:00
James Tabor
383356eb43 Add CAPS1 capability flags, not found in sdk. Source is from wine.
svn path=/trunk/; revision=31230
2007-12-15 08:39:27 +00:00
James Tabor
9c07113163 Start using gdi shared handle table.
svn path=/trunk/; revision=31229
2007-12-15 08:08:11 +00:00
James Tabor
d7abb13de2 Add new items to gdi handle table. Added cfont and user space share gdi handle table.
svn path=/trunk/; revision=31228
2007-12-15 07:03:51 +00:00
Dmitry Chapyshev
2bac48a11b - Add some dialogs
svn path=/trunk/; revision=31227
2007-12-15 06:35:55 +00:00
Timo Kreuzer
07eb7f5d69 - use own version of GdiQueryTable() instead of relying on gdi32.dll
- more tests for NtGdiGetDIBitsInternal

svn path=/trunk/; revision=31226
2007-12-15 04:35:16 +00:00
Timo Kreuzer
5f55fe95c7 - use own version of GdiQueryTable() instead of relying on gdi32.dll
- CrateFont -> CreateFontA
- A bunch of tests for SelectObject

svn path=/trunk/; revision=31225
2007-12-15 04:22:19 +00:00
Timo Kreuzer
de6ac22db5 - fix type field calculation in GDIOBJ_CovertToStockObject
- add some DPRINTs on problems

svn path=/trunk/; revision=31224
2007-12-15 02:08:23 +00:00
Timo Kreuzer
e324228af3 add a bitmask for the flags in the gdi objects type field
svn path=/trunk/; revision=31223
2007-12-15 02:07:43 +00:00
Timo Kreuzer
12096d19c4 - add GDI_OBJECT_TYPE_PFE
- use own version of GdiQueryTable() instead of relying on gdi32.dll, as vista seems not to support it anymore

svn path=/trunk/; revision=31222
2007-12-15 00:34:57 +00:00
Aleksey Bragin
541c17ddaa Filip Navara <xnavara at volny dot cz>
- Remove unused code from HvGetCellSize().
- Fix situation, when a new cell is allocated with a too small size, resulting in an empty free cell (a cell has to be able to store at least one HCELL_INDEX), then the free list code overrides the next cell after the empty one.
- Reenable commented out assert in HvpRemoveFree(), since now it works as expected.

svn path=/trunk/; revision=31221
2007-12-14 23:17:43 +00:00
James Tabor
716baf379c Use long for HandleIndex.
svn path=/trunk/; revision=31220
2007-12-14 18:02:22 +00:00
James Tabor
24f650c712 Add more items for device capabilities.
svn path=/trunk/; revision=31219
2007-12-14 17:35:31 +00:00
Hervé Poussineau
591c2ff8ee Add missing space
svn path=/trunk/; revision=31218
2007-12-14 16:56:20 +00:00
Aleksey Bragin
0c6328a1e0 - Add compile-time assert, since ReactOS opengl32 depends on the hardcoded value.
svn path=/trunk/; revision=31217
2007-12-14 16:00:53 +00:00
Hervé Poussineau
927f7b56aa Add ERR_, WARN_, TRACE_ and INFO_ macros which call DbgPrintEx
svn path=/trunk/; revision=31216
2007-12-14 15:59:14 +00:00
Hervé Poussineau
0ae8ce587f Stop abusing <debug.h> by including SDK first
svn path=/trunk/; revision=31215
2007-12-14 15:37:21 +00:00
Marc Piulachs
1310ef8510 usetup Spanish localization by gabriel <gabrielilardi at hotmail dot it>
- slight changes to make it use a more neutral and MS-like terminology

See issue #2890 for more details.

svn path=/trunk/; revision=31214
2007-12-14 14:56:32 +00:00
Aleksey Bragin
61fab841f2 - Add debugging macros support to CmLib (to use, set the CmlibTraceLevel debugging mask in cminit.c).
- Add tracing to hivecell.c.

svn path=/trunk/; revision=31213
2007-12-14 13:02:39 +00:00
Johannes Anderwald
4aae9354ae - add resources for folder options cpl
svn path=/trunk/; revision=31212
2007-12-14 12:25:15 +00:00
Hervé Poussineau
03629687b8 Add back support for function pointers override in HalDispatchTable structure
Fixes detection of Xbox disk partitioning

svn path=/trunk/; revision=31211
2007-12-14 11:32:18 +00:00
Johannes Anderwald
5a3101d17b - part of 2/2 of bulgarian translation update
See issue #2886 for more details.

svn path=/trunk/; revision=31210
2007-12-14 11:12:57 +00:00
Hervé Poussineau
fe9cc34414 Add missing forward declaration.
Thanks Fireball to debug this issue!

svn path=/trunk/; revision=31209
2007-12-14 11:12:55 +00:00
Johannes Anderwald
99473322f1 - part of 1/2 of bulgarian translation update
See issue #2886 for more details.

svn path=/trunk/; revision=31208
2007-12-14 11:11:44 +00:00
Hervé Poussineau
c77f80bc75 Remove HALP_HOOKS structure
Revert r31198 and part of r31194, and replace them by compile-time define in pci.c
Don't use one rbuild file per hal, but merge them into one
Share halinit.c between UP and MP versions

svn path=/trunk/; revision=31207
2007-12-14 08:53:56 +00:00
Gregor Brunmar
9cae851aec * Added helper function to read Direct3D registry properties
* Started implementing Direct3DCreate9

svn path=/trunk/; revision=31206
2007-12-14 07:13:21 +00:00
Johannes Anderwald
2125ffa5a5 - fix a bug showing the same dialog twice in rev 31173
See issue #2888 for more details.

svn path=/trunk/; revision=31205
2007-12-13 23:11:24 +00:00
James Tabor
0611e28734 Up the handle count to 0x10000, reset adjustment to support change. Add device capabilities to handle table.
svn path=/trunk/; revision=31204
2007-12-13 20:27:28 +00:00
James Tabor
5232a3eb7a Thanks Timo! I have updated the information too.
svn path=/trunk/; revision=31203
2007-12-13 18:34:46 +00:00
Hervé Poussineau
7c69396b36 [FORMATTING] Fix formatting, no code change
svn path=/trunk/; revision=31202
2007-12-13 17:23:03 +00:00
Daniel Reimer
44083c8d46 OK, this has no right to be in here... "as developed primarily through reverse-engineering of the original MS bios and its boot process."
A diff will be provided in the future.

svn path=/trunk/; revision=31201
2007-12-13 17:03:01 +00:00
Johannes Anderwald
3f301b6835 - implement displaying and showing language dialog
- rename all translated entries in de-DE.h because gcc doesnt understand the scope of static
- add basic language dialog - feel free to improve design, layout etc

svn path=/trunk/; revision=31200
2007-12-13 16:15:43 +00:00
Daniel Reimer
1d0205fba7 Move cromwell in the right folder.
svn path=/trunk/; revision=31199
2007-12-13 16:13:30 +00:00
Hervé Poussineau
9186f2dfd4 Forgot a change in r31194
svn path=/trunk/; revision=31198
2007-12-13 16:06:12 +00:00
Magnus Olsen
8f7e05a52f updated d3d9_private.h with some more info
svn path=/trunk/; revision=31197
2007-12-13 15:55:26 +00:00
Hervé Poussineau
a979fff8fb Call HAL-specific initialization handlers
svn path=/trunk/; revision=31196
2007-12-13 15:44:17 +00:00
Hervé Poussineau
40e8a9ec3a display.c contains only empty functions, it has no reason to not be shared accross all HALs
svn path=/trunk/; revision=31195
2007-12-13 15:35:27 +00:00
Hervé Poussineau
82ae7dcf03 Use PBUS_HANDLER->Get/SetBusData function pointers to call PCI bus handler
Update Xbox PCI bus management after HAL changes
Fix typo

svn path=/trunk/; revision=31194
2007-12-13 15:34:02 +00:00
Daniel Reimer
adf80d74b3 German Translation for usetup.
svn path=/trunk/; revision=31193
2007-12-13 15:01:21 +00:00
Daniel Reimer
f9c0a9419d Commited the modified Cromwell/Xromwell Loader Version 2.33-DEV which is able to boot ReactOS from a Microsoft XBox (not 360). Thank goes out to GvG for send it to me.
svn path=/trunk/; revision=31192
2007-12-13 13:47:31 +00:00
Magnus Olsen
6cc6acf265 Add D3D COM to ddraw (dx1)
svn path=/trunk/; revision=31191
2007-12-13 12:31:05 +00:00
James Tabor
741e32d84d Add device caps and width data structures.
svn path=/trunk/; revision=31190
2007-12-13 08:51:02 +00:00
Magnus Olsen
1cdc5e759c patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
fix one fixme in createsurface.c support more that only dx7 surface in createsurface.c






 

svn path=/trunk/; revision=31189
2007-12-13 02:02:15 +00:00
Magnus Olsen
37b2f521e1 add support for IID_IDirectDrawColorControl, IsEqualGUID(&IID_IDirectDrawGammaControl, IID_IDirectDrawSurfaceKernel
we are getting thues stubs api now from ddraw vtable now when some calls to surface_QueryInterface api

svn path=/trunk/; revision=31188
2007-12-13 01:55:06 +00:00
Magnus Olsen
d684b6f677 update dxguid to match dxsdk 2004 dec
add two guids that does not belong to dxguid for they are need it for ddraw

svn path=/trunk/; revision=31187
2007-12-13 01:49:13 +00:00
Aleksey Bragin
9f8802a889 - Silence memory descriptors output, since it works good now.
- Silence pci.sys's debugging message.

svn path=/trunk/; revision=31186
2007-12-12 21:15:17 +00:00
Aleksey Bragin
6148b9b898 - Remove zeroing of PartialResourceList's fields (we allocate without that list).
- Sync SetupLDR's BIOS MMap-code with FreeLDR's, fixes the "Total: 0A (0 MB") problem in bootcds.

svn path=/trunk/; revision=31185
2007-12-12 20:29:09 +00:00
Aleksey Bragin
4556cc8f16 - Don't ignore empty resource descriptors (they still may have BusNumber info).
- Change pci identifier from "PCI BIOS" to "PCI", so that PCI buses reported by the loader are discovered now.

svn path=/trunk/; revision=31184
2007-12-12 17:04:50 +00:00
Magnus Olsen
9787fc988b patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
design cleanup bit. 
fix so each directdraw surface got own directdraw surface vtable. 
For some api are new in some version and some functions have more param or different struct in newer directdraw surface 






 

svn path=/trunk/; revision=31183
2007-12-12 15:01:25 +00:00
Hervé Poussineau
95e9a03075 Remove useless test
svn path=/trunk/; revision=31182
2007-12-12 12:08:11 +00:00
Hervé Poussineau
f65c950373 Remove hack
svn path=/trunk/; revision=31181
2007-12-12 11:42:20 +00:00
Hervé Poussineau
c44ef93398 Get SeRestorePrivilege before calling RegLoadKey
svn path=/trunk/; revision=31180
2007-12-12 11:41:38 +00:00
Christoph von Wittich
1468b24275 only clear it when the buffer is valid
svn path=/trunk/; revision=31179
2007-12-12 09:17:59 +00:00
The Wine Synchronizer
aa81962d7e Autosyncing with Wine HEAD
svn path=/trunk/; revision=31178
2007-12-12 08:52:08 +00:00
Art Yerkes
a18a66aced Add simple hardware.h for ppc.
svn path=/trunk/; revision=31177
2007-12-12 07:43:07 +00:00
Thomas Bluemel
4c33daaa11 Add support for trustees with objects (building object ACEs is not yet implemented)
svn path=/trunk/; revision=31176
2007-12-12 07:04:12 +00:00
James Tabor
512b0582c6 Temporarily implement GWL_HWNDPARENT in user mode.
svn path=/trunk/; revision=31175
2007-12-12 06:12:02 +00:00
James Tabor
6be093f33b A partial implementation of NtGdiCreate/DeleteClientObj.
svn path=/trunk/; revision=31174
2007-12-12 02:29:21 +00:00
Johannes Anderwald
a2cdbddc57 - move some hardcoded strings to header en-US.h
- move PAGE_NUMBER to usetup.h
- start multiple language input support for usetup

svn path=/trunk/; revision=31173
2007-12-12 00:05:00 +00:00
Aleksey Bragin
697723f229 - Fix default buffer size for user-mode RtlQueryRegistryValues queries, this removes warnings on debug log about buffer being too small (it was!).
- Remove ARC tree dump since this code has now been proven to work.
- Sync PointerFree with WINE, removing the unhandled data type=warning.

svn path=/trunk/; revision=31172
2007-12-11 21:52:12 +00:00
Aleksey Bragin
93675d12ab - Two more leftovers.
svn path=/trunk/; revision=31171
2007-12-11 21:34:04 +00:00
Aleksey Bragin
2cbfda3114 - Reshuflle baseaddresses so no relocations occur during booting.
- Give beepmidi.dll a baseaddress.
- Silence non-critical trace-style messages in umpnpmgr and in the kernel.

svn path=/trunk/; revision=31170
2007-12-11 21:25:10 +00:00
Gregor Brunmar
2cc26122b6 Added an older still valid version of the D3D9 SDK
svn path=/trunk/; revision=31169
2007-12-11 21:02:03 +00:00
Gregor Brunmar
cc08f895b2 * Fixed d3d9.dll stubs
* Added first draft of IDirect3D9 implementation based on greatlrd's work

svn path=/trunk/; revision=31168
2007-12-11 20:53:17 +00:00
Gregor Brunmar
6d228ac0a4 Added debug version of IDirect3D9 interface
svn path=/trunk/; revision=31167
2007-12-11 20:37:55 +00:00
Dmitry Chapyshev
aff24c6156 - Update English and Russian translation
svn path=/trunk/; revision=31166
2007-12-11 20:07:27 +00:00
Hervé Poussineau
ba6959d161 Don't create a key name with a final \0
svn path=/trunk/; revision=31165
2007-12-11 20:07:04 +00:00
Dmitry Chapyshev
1979944d7f - Update English and Russian translation
svn path=/trunk/; revision=31164
2007-12-11 19:31:44 +00:00
Thomas Bluemel
4720c38606 Remove comment, SetEntriesInAcl is now (partly) implemented
svn path=/trunk/; revision=31163
2007-12-11 19:26:28 +00:00
Dmitry Chapyshev
53af7a9d12 - Update Russian translation
svn path=/trunk/; revision=31162
2007-12-11 19:17:03 +00:00
Thomas Bluemel
2391bc80b0 Fix a memory leak in AccpLookupSidByName
svn path=/trunk/; revision=31161
2007-12-11 18:56:55 +00:00
Thomas Bluemel
a064f0f708 Implement looking up a named trustee's sid
svn path=/trunk/; revision=31160
2007-12-11 18:54:23 +00:00
Aleksey Bragin
a94ee6f99f - A message about LdrGetExportByName() is not critical, so downgrade it from DPRINT1 to DPRINT.
svn path=/trunk/; revision=31159
2007-12-11 18:48:52 +00:00
Aleksey Bragin
bec1436ca2 - Silence non-critical debug output.
svn path=/trunk/; revision=31158
2007-12-11 18:31:13 +00:00
Thomas Bluemel
1e9c10e4a5 Fix a buffer overflow accessing the pKeepAce array in AccRewriteSetEntriesInAcl
svn path=/trunk/; revision=31157
2007-12-11 17:52:30 +00:00
Thomas Bluemel
f4985fcee6 Correctly preserve and restore last error code in AccRewriteSetEntriesInAcl
svn path=/trunk/; revision=31156
2007-12-11 17:49:49 +00:00
Thomas Bluemel
39103628df Replace GetOwner helper function with the already existing AccpGetAceSid function and enhance it to also support SYSTEM_MANDATORY_LABEL_ACE_TYPE
svn path=/trunk/; revision=31155
2007-12-11 17:22:34 +00:00
Hervé Poussineau
fc12d1bd8e Partly implement AccRewriteSetEntriesInAcl()
See issue #2707 for more details.

svn path=/trunk/; revision=31153
2007-12-11 17:07:56 +00:00
Peter Ward
be34a30321 - Remove unused variable.
svn path=/trunk/; revision=31152
2007-12-11 17:04:48 +00:00
Aleksey Bragin
4f78e4d3d0 - Forgot the changelog update.
svn path=/trunk/; revision=31151
2007-12-11 16:26:48 +00:00
Aleksey Bragin
337eef1b8c - Fix a bug in CmpCreateLinkNode when the link node alredy exists.
- Add some checks in CmpDoOpen to protect against illegal opens.
- Handle symlinks instead of ignoring them (fixes CurrentControlSet problem).
- Set disposition if this is an open due to a create.

svn path=/trunk/; revision=31150
2007-12-11 16:21:13 +00:00
Aleksey Bragin
23979cefb4 - Update copyright information.
- Bump version to 3.0.

svn path=/trunk/; revision=31148
2007-12-11 15:59:58 +00:00
Aleksey Bragin
f7ee432ae4 - Remove all registry-writing code from FreeLDR.
- Create an empty volatile HARDWARE hive in the Kernel, and build it based on the ARC tree.

svn path=/trunk/; revision=31146
2007-12-11 15:50:30 +00:00
Aleksey Bragin
2ebd2df13f - Don't build the HARDWARE hive in FreeLDR anymore.
svn path=/trunk/; revision=31145
2007-12-11 15:32:24 +00:00
Aleksey Bragin
afa05f7c36 - Add missing types to DDK.
- Fix FldrSetconfigurationData: ARC Configuration Data is a CM_PARTIAL_RESOURCE_LIST, not a CM_FULL_RESOURCE_DESCRIPTOR!
- The Interface Types for PCI BIOS and PCI IRQ Routing Table are Internal, not PCIBus.
- Disk drives are Internal, not Unknown.
- Replace CmpDumpHardwareTree by CmpSetupConfigurationTree which now calls CmpInitializeRegistryNode (a function previously used to build the CPU ARC nodes previously in the kernel). We now write the ARC tree in the HARDWARE\Description\System key.

svn path=/trunk/; revision=31144
2007-12-11 15:12:05 +00:00
Hervé Poussineau
ae400012d9 Don't fail if 'HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\MultifunctionAdapter' key does not exist
svn path=/trunk/; revision=31143
2007-12-11 14:03:12 +00:00
Hervé Poussineau
5692e5315f Get some more details about interrupt in resource list.
This lets ne2000 share its interrupt with another device

svn path=/trunk/; revision=31141
2007-12-11 12:58:05 +00:00
Christoph von Wittich
b3b1b632cb updated german translation
svn path=/trunk/; revision=31140
2007-12-11 11:28:22 +00:00
Hervé Poussineau
048409d7cb Handle AddReg and DelReg in Service section
svn path=/trunk/; revision=31139
2007-12-11 10:26:45 +00:00
Daniel Reimer
1eb3fdd821 Bug 2881 : Bulgarian translation of ReactOS. (sstpr<AT>narod<DOT>ru)
Bug 2882 : Ukrainian translation update. (temarez<AT>yandex<DOT>ru) 

svn path=/trunk/; revision=31138
2007-12-11 08:34:28 +00:00
Daniel Reimer
010b5920af Bug 2881 : Bulgarian translation of ReactOS. (sstpr<AT>narod<DOT>ru)
Bug 2882 : Ukrainian translation update. (temarez<AT>yandex<DOT>ru)

svn path=/trunk/; revision=31137
2007-12-11 08:34:27 +00:00
James Tabor
4a4580c880 Add stub patch for RegDeleteKeyExA/W by Stefan100 stefan__100__ at hotmail.com from IRC.
svn path=/trunk/; revision=31136
2007-12-11 05:33:31 +00:00
Aleksey Bragin
080cda6bc6 Andrey Korotaev <unc0rr@gmail.com>:
- Fix possible infinite looping in kdbg (happening e.g. when moving mouse in a reactos in qemu which entered the debugger).

svn path=/trunk/; revision=31135
2007-12-10 23:01:50 +00:00
Aleksey Bragin
f64694318d - Create an empty configuration tree for Xbox machine, so that ReactOS-Xbox is able to boot further.
svn path=/trunk/; revision=31134
2007-12-10 21:11:16 +00:00
Aleksey Bragin
4529c9c1ff - Improve the FreeLDR->NTLDR conversion layer by now converting the ARC Hardware Tree.
- Apply relocation-style fixups to convert from FreeLDR to Kernel Addresses, since a contiguous buffer was used in FreeLDR, which means we only need to add a delta to each FreeLDR pointer to get the Kernel pointer.
- Don't assert if we receive an ARC tree, since we now do! Instead, pretty-print it to the debug log.
- Remove some registry debug spew.

svn path=/trunk/; revision=31133
2007-12-10 21:01:45 +00:00
Magnus Olsen
4b25246719 Fix some typo in Main_DirectDraw_QueryInterface
svn path=/trunk/; revision=31132
2007-12-10 20:29:51 +00:00
Aleksey Bragin
a1c2403f66 - Pass ARC Hardware Tree in SetupLDR too.
- Zero-initialize memory from the Hardware Heap, just to be sure.
- Don't set the Version/Key/Affinity when creating the system node, let the caller do this.
- Fix the way components were added in the tree, it was busted.
- Enable setting of component information for the APM and ACPI component nodes. This was #if'ed out because it crashed the kernel while PnP was getting bus information for ATAPI/SCSIPORT, since the nodes had no component data. Add some component data to remove the crash, and then enable component information.
- The Real Mode IRQ Routing Table is a Peripheral Class, not a System Class.
- Enable the code to create component nodes for each PCI Bus, it was #if'ed out ages ago.
- Don't create any component data for the PCI BIOS, it doesn't have any.
- Create component data for the first PCI Bus component node based on the PCI_REGISTRY_INFO strucutre.
- Fix the way the BIOS Hard disk Peripheral nodes are created.
- Always create the DiskController node with floppy disk information, but don't do actual floppy detection if no floppies are there.
- Fix flags for Floppy Peripheral nodes.
- Fix vector for Floppy Peripheral node.
- Set component information for each BIOS hard disk peripheral node.
- Fix component information for Serial Peripherals, they were being created on the Serial Controller node instead.
- Set empty component information for the system node.
- TODO: Setup ACPI and APM Bios descriptor information.
- TODO: Setup ROM BIOS Block descriptor information.

svn path=/trunk/; revision=31131
2007-12-10 20:28:31 +00:00
Marc Piulachs
82b5e2eb8b * refactor the code to make it more OOP and extensible
* remove old outdated SD project files
* make it use some .NET 2.0 features as generic collections and settings 

svn path=/trunk/; revision=31130
2007-12-10 19:08:13 +00:00
Christoph von Wittich
588f8770cd Alexandre Julliard : Fix a compiler warning. <julliard at winehq.org>
svn path=/trunk/; revision=31129
2007-12-10 18:49:56 +00:00
Dmitry Chapyshev
dfb70fc664 - Add icons for buttons on "Hardware Profiles" dialog
svn path=/trunk/; revision=31128
2007-12-10 18:20:02 +00:00
Dmitry Chapyshev
44d081e116 - Add some headers from wine
svn path=/trunk/; revision=31127
2007-12-10 17:46:08 +00:00
Marc Piulachs
11a1266b23 Add MSVC8 solution and project files
svn path=/trunk/; revision=31126
2007-12-10 15:48:02 +00:00
Marc Piulachs
e34176dc58 * not quite ok , fix inconsistencies in spanish translation
* update catalan translation

svn path=/trunk/; revision=31124
2007-12-10 14:34:52 +00:00
Colin Finck
acd9e9c3a1 Spanish translation for "find" by Grant A. Brady (bragr AT bradphi DOT com) with some fixes by encoded.
See issue #2880 for more details.

svn path=/trunk/; revision=31123
2007-12-10 14:24:42 +00:00
Christoph von Wittich
563fc21e30 fix a typo
svn path=/trunk/; revision=31122
2007-12-10 12:21:51 +00:00
Christoph von Wittich
f02a249d62 fix redzone overwrite when launching solitaire
ntoskrnl\mm\/rpoolmgr.h(707): High-side redzone overwrite detected for paged pool address 0x8d882000
Tag   th(68742020), Size 4148, UserSize 4096, LoZone 87878787, HiZone 00000000

svn path=/trunk/; revision=31121
2007-12-10 09:57:30 +00:00
Magnus Olsen
13dc179a11 patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
Fixed Main_DirectDraw_GetDisplayMode for dx1, dx2 
Fixed some compile warnings 







svn path=/trunk/; revision=31120
2007-12-10 07:34:54 +00:00
Dmitry Chapyshev
ce09f0b1a4 - Update Russian translation
svn path=/trunk/; revision=31119
2007-12-10 07:19:34 +00:00
Christoph von Wittich
f4081a9668 Alexander Nicolaysen Sørnes : Localize 'new folder' string. <alex at thehandofagony.com>
svn path=/trunk/; revision=31118
2007-12-10 07:06:29 +00:00
Thomas Bluemel
2ef4f7e239 _findnext is already implemented. Fixes a crash during Abiword startup
svn path=/trunk/; revision=31117
2007-12-10 05:07:47 +00:00
Aleksey Bragin
222172277b - Because we'll need to pass the ARC hardware information to the kernel, we need to use the usual FreeLDR trick of using a static buffer where to store the data instead of allocating memory. But, unlike our other data, this kind of information is variably-sized, and it's not possible to make arrays of arrays and start assuming upper bounds. Therefore, give us a large 16KB stash buffer, and implement a very simple array-based heap allocator so that all the ARC hardware memory will be contiguous and static as the kernel will expect it.
- Copy all configuration data, identifiers and other data passed to the arc hardware routines into a new location. This is because the caller will free this information, and we want to keep it in memory. We also want it to be contiguous and part of our stash buffer, so allocate the copies from the stash buffer described above.
- Store the root of the hardware tree in the ArchExtra ReactOS Loader Parameter Block, the kernel's freeldr->ntldr conversion routines will later deal with this data.

svn path=/trunk/; revision=31116
2007-12-09 22:57:40 +00:00
Aleksey Bragin
4fa42fad47 - Further refactor the code by completing getting rid of the registry key parameters and work only with ARC configuration component nodes; the registry key is now hidden in an opaque structure from the rest of the code.
- Fix some bugs in the ARC component node creation.

svn path=/trunk/; revision=31115
2007-12-09 22:09:37 +00:00
Aleksey Bragin
35d35bd7e9 - Start filling out ARC component data nodes for all the new refactored hardware node APIs (these are just dummies for now).
svn path=/trunk/; revision=31114
2007-12-09 21:49:17 +00:00
Aleksey Bragin
0e2f7faae4 - Refactor creation of component data under the HARDWARE\DESCRIPTION node to use separate routines in a new ARC file, so that registry routines are factored out of the process. This allows 1) Better portability with PPC branch (which will need to do the same kind of hardware work) 2) Ability to eventually get rid of the registry calls and build a true ARC hardware device tree instead (which the kernel will have to parse during boot). The idea is to remove registry writing support from freeldr (because the code is old and freeldr shouldn't be touching the registry anyway). Patch by Alex.
svn path=/trunk/; revision=31113
2007-12-09 20:17:56 +00:00
Aleksey Bragin
a0da7760d4 - Our NtCreateKey currently allows building trees (which is incorrect) if the parent key is a symbolic link (which does exist), but if the target doesn't exist (Since the check 'does parent exist' is done Before the symlink is converted to its target. One side-effect is that although we create the CurrentControlSet symlink to ControlSet001, we never create ControlSet001. We end up creating it later during the boot by creating a sub-key, by exposing the bug in NtCreateKey. Since the new NtCreateKey uses the new parse routine code and doesn't exhibit this bug, we have to create ControlSet001 manually to avoid a failure. Other bugs of this nature may exist. Bug found and fixed by Alex.
- Implement the last bit of the new parse routine (creating children) and write a new version of NtCreateKey which uses the parse routine. Disable it for now until other latent bugs are fixed.

svn path=/trunk/; revision=31112
2007-12-09 19:36:04 +00:00
James Tabor
9f375e0914 Prevent crash in gdibatch.
svn path=/trunk/; revision=31111
2007-12-09 18:45:13 +00:00
Hervé Poussineau
709089678a CurrentControlSet should already be created at this point.
svn path=/trunk/; revision=31110
2007-12-09 18:07:33 +00:00
Christoph von Wittich
0b9eeb1205 fix a bug in ScConnectControlPipe
svn path=/trunk/; revision=31109
2007-12-09 18:05:02 +00:00
Christoph von Wittich
64e05ea20e Andrew Talbot : advapi32: Explicitly initialize nested array element. <Andrew.Talbot at talbotville.com>
svn path=/trunk/; revision=31108
2007-12-09 15:46:24 +00:00
Christoph von Wittich
bdd068e087 regedit: Correctly parse key name containing ']' when deleting/exporting. <thestig at google.com>
svn path=/trunk/; revision=31107
2007-12-09 15:34:14 +00:00
Christoph von Wittich
e24f9c4632 Lei Zhang : regedit: Allow entering - for a key in a . reg file to delete that key. <thestig at google.com>
Lei Zhang : regedit: Removed dead code from regproc.c. <thestig at google.com>

svn path=/trunk/; revision=31106
2007-12-09 15:31:41 +00:00
Christoph von Wittich
04b04c90ab forgot to save this one before committing
svn path=/trunk/; revision=31105
2007-12-09 14:16:49 +00:00
Christoph von Wittich
609e6d2ac0 Dmitry Timoshkov : wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. <dmitry at codeweavers.com>
svn path=/trunk/; revision=31104
2007-12-09 14:15:31 +00:00
Christoph von Wittich
da3a3f761b Dmitry Timoshkov : include/wine/debug.h: Fix compilation warning in 64-bit mode. <dmitry at codeweavers.com>
svn path=/trunk/; revision=31103
2007-12-09 13:57:09 +00:00
Pierre Schweitzer
7adb28bee6 Updated French translation for butterflies
svn path=/trunk/; revision=31102
2007-12-09 13:03:07 +00:00
Hervé Poussineau
55739a66c6 Merge 28311. WinLdr is now merged up to r28364 (included)
svn path=/branches/winldr/; revision=31101
2007-12-09 12:58:21 +00:00
Magnus Olsen
9626ca08f9 BugFix : Main_DirectDraw_EnumDisplayModes and Main_DirectDraw_EnumDisplayModes4
it did never entry the callbacks loops it was wrong logic check in the begin of 
the function. This change are base on Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) patch
and once again Thank you Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) to notice it. and provide a partly fix for it.




svn path=/trunk/; revision=31100
2007-12-09 12:51:50 +00:00
Magnus Olsen
b22185298e fix one smaller mistake in ddraw.h
LPDDENUMMODESCALLBACK, LPDDENUMMODESCALLBACK2, LPDDENUMSURFACESCALLBACK, LPDDENUMSURFACESCALLBACK2, LPDDENUMSURFACESCALLBACK4, LPDDENUMSURFACESCALLBACK7
is STDCALL and I did miss that. 
Thank you Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) to notice it. and provide a partly fix for it.




svn path=/trunk/; revision=31099
2007-12-09 12:38:49 +00:00
Daniel Reimer
9d091efc46 Add and Update German RC Files of the Screensavers.
svn path=/trunk/; revision=31098
2007-12-09 11:58:39 +00:00
Marc Piulachs
ecf35e3b7e - Trimed space from shlfldr_mydocuments.c in shell32.rbuild don't yet understand how rbuild was happy with it. I haven't modified what seems to be a typo on filename.
- Properly express paths with rbuild syntax (when possible)

svn path=/trunk/; revision=31097
2007-12-09 11:56:11 +00:00
Marc Piulachs
c199df2315 Partly applied patch from bug 2874 by Vytis Girdzijauskas "CMan" cman<at>cman<dot>us
* Added description string to Butterflies screensaver for all languages.
* Use string resources in Maze screensaver.

My notes:
I haven't added butterflies.scr to reactos.dff as opengl screen savers are still broken under reactos , we already have 3dtext added for testing no need to add another one
I have modified mazescr installname to have the same name as the module has inset of changing it on reactos.dff
See issue #2874 for more details.

svn path=/trunk/; revision=31096
2007-12-09 11:27:23 +00:00
Aleksey Bragin
661de9fa33 - Convert msvcrt.def to msvcrt.spec (it better suits dll with stubbed functions).
svn path=/trunk/; revision=31095
2007-12-08 21:04:06 +00:00
Aleksey Bragin
60fad32ecf - Move NtCreateKey to regobj.c, delete ntfunc.c, now all those routines exist solely for creating keys.
- Move NtOpenKey to ntapi.c and rewrite it to use the new parse routine. It's now 6 lines of code instead of 80.
- Fix a bug in CmpDereferenceNameCnotrolBlockWithLock.
- Fix bugs during reference and dereference of KCB.
- Fix KCB structure.
- CmpDelayDerefKCBWorker is now called, don't make it assert anymore, just print out that it's not completed.
- Remove debug output from new parse routine, since it's now called for each key open.
- Add one more case to handle: opening the root \REGISTRY node.
- Don't dereference KCBs in the parse routine anymore: we have some bugs related to this and it would make ReactOS crash.

svn path=/trunk/; revision=31094
2007-12-08 21:00:45 +00:00
Aleksey Bragin
f7d91421f8 - Temporary disable PnP in 1st stage, until a problem with CM is resolved.
svn path=/trunk/; revision=31093
2007-12-08 20:55:38 +00:00
Hervé Poussineau
8366ad6ef8 Fix some possible problems
svn path=/trunk/; revision=31091
2007-12-08 19:38:39 +00:00
Christoph von Wittich
24707452c1 Dmitry Timoshkov : kernel32: Fix the size of ThreadAffinityMask to match PSDK. <dmitry at codeweavers.com>
Dmitry Timoshkov : winternl.h: Make the fields of the PROCESS_BASIC_INFORMATION structure use same type width as a PSDK one .

svn path=/trunk/; revision=31090
2007-12-08 18:58:42 +00:00
Christoph von Wittich
d7b6fab9eb -UniqueProcessId is ULONG_PTR not ULONG
-some formatting fixes

svn path=/trunk/; revision=31089
2007-12-08 18:42:10 +00:00
James Tabor
5b49088f56 Louis Lenders : gdi32: Add check for null pointer in SetDIBitsToDevice.
svn path=/trunk/; revision=31088
2007-12-08 18:32:22 +00:00
Christoph von Wittich
4eeedf2f9e Dmitry Timoshkov : Windows doesn' t send the initialization messages to a dialog if a passed in dlgProc is NULL . <dmitry at codeweavers.com>
svn path=/trunk/; revision=31087
2007-12-08 18:11:28 +00:00
Christoph von Wittich
2d1aaeaa7e use REFGUID instead of UUID* to be compatible with MS PSDK
svn path=/trunk/; revision=31086
2007-12-08 17:37:25 +00:00
Christoph von Wittich
665ac7b486 revert 31080 and apply the patch from Francois Gouget to delete_registry_key (Modify getRegClass() to avoid dubious comparisons and casts between HKEYs and error codes.)
svn path=/trunk/; revision=31085
2007-12-08 16:48:36 +00:00
Christoph von Wittich
e936501a0c Michael Stefaniuc : kernel32: Pass HEAP_ZERO_MEMORY to HeapAlloc() instead of clearing the memory with a separate memset() call. <mstefani at redhat.de>
svn path=/trunk/; revision=31084
2007-12-08 16:33:05 +00:00
Christoph von Wittich
012c324bfb move GetTextExtentExPointI and GetTextExtentPointI from stubs.c to text.c
svn path=/trunk/; revision=31083
2007-12-08 16:26:40 +00:00
Christoph von Wittich
e2181b108c Francois Gouget : Make the dword and binary data parsing both more flexible and stricter. <fgouget at codeweavers.com>
Jason Edmeades : Fix importing of .reg hex. <jason.edmeades at googlemail.com>

svn path=/trunk/; revision=31082
2007-12-08 15:17:39 +00:00
Christoph von Wittich
50ac6f77f8 Francois Gouget : Add missing '\n' to an error message. <fgouget at codeweavers.com>
Francois Gouget : Modify getRegClass() to avoid dubious comparisons and casts between HKEYs and error codes.
Francois Gouget : Having garbage after the dash in '"foo"=-' is not valid.
Francois Gouget : The registry functions return standard error codes, not HRESULTs.
Francois Gouget : If the data for a given value is in an unknown format, then print an error and don't modify the value.

svn path=/trunk/; revision=31081
2007-12-08 14:29:51 +00:00
Christoph von Wittich
6afc7d34d9 Stefan Leichter : Replace call to delete_branch with RegDeleteTreeA. <Stefan.Leichter at camline.com>
svn path=/trunk/; revision=31080
2007-12-08 14:05:00 +00:00
Pierre Schweitzer
1f5cacc4ff Apply r31071 changes to all untranslated strings
svn path=/trunk/; revision=31078
2007-12-08 13:41:57 +00:00
Magnus Olsen
eea85cc484 Fixed a werid case when setdisplay mode does not working.
tested with ati hd2400 that does not official support 256 color in windows. 
with the official drv I have

svn path=/trunk/; revision=31077
2007-12-08 13:40:07 +00:00
Daniel Reimer
794e87f37f Bug 2869 - Lithuanian translation update - cman<AT>cman<DOT>us
Bug 2867 - Italian resource files, some updates and some added - devotip<AT>tiscali<DOT>it
Part II

svn path=/trunk/; revision=31076
2007-12-08 13:38:43 +00:00
Daniel Reimer
fd904a51bb Bug 2869 - Lithuanian translation update - cman<AT>cman<DOT>us
Bug 2867 - Italian resource files, some updates and some added - devotip<AT>tiscali<DOT>it
Add me to the Credits too :-)

svn path=/trunk/; revision=31075
2007-12-08 13:38:43 +00:00
Christoph von Wittich
c10fc4547a Ted Percival : Display REG_DWORD as unsigned with lowercase hex digits. <ted at midg3t.net>
svn path=/trunk/; revision=31074
2007-12-08 13:37:28 +00:00
Christoph von Wittich
3d376e1acb Vitaly Lipatov : Use sizeof instead of constant for buffer size. <lav at etersoft.ru>
Alexander Nicolaysen Sørnes : Handle backspace key in shellview. <alex at thehandofagony.com>
Gerald Pfeifer : Avoid checking for <0 for unsigned variables. <gerald at pfeifer.com>
Thomas Weidenmueller : Use SHStrDupW in IShellFolder2:: GetDetailsOf to allocate returned string. <thomas at reactsoft.com>
Rob Shearman : Fix the length calculation of the pidl in ILSaveToStream by using the helper function ILGetSize . <rob at codeweavers.com>
Rob Shearman : Fix a memory leak in Stream_WriteLocationInfo. <rob at codeweavers.com>
Lei Zhang : Don't crash if $HOME is not set. <thestig at google.com>
Alexandre Julliard : Pass some of the ShellExecute flags through InvokeCommand. <julliard at winehq.org>
Juan Lang : Don't overwrite the caller's buffer when doing a dde connection. <juan.lang at gmail.com>
Juan Lang : Remove a bad comment. <juan.lang at gmail.com>
Juan Lang : Use more restricted registry rights when quering values. <juan.lang at gmail.com>
Rob Shearman : Add a stub for LinkWindow_RegisterClass. <rob at codeweavers.com>
Rob Shearman : Add a stub for LinkWindow_UnregisterClass. <rob at codeweavers.com>
Michael Stefaniuc : Fix a mem leak on an error path. Found by Smatch. <mstefani at redhat.de>
Marcus Meissner : GetModuleFileNameW gets number of WCHARs not bytes. <marcus at jet.franken.de>
Lei Zhang : rename My Video to My Videos. <thestig at google.com>

svn path=/trunk/; revision=31071
2007-12-08 13:03:24 +00:00
Magnus Olsen
f8072187ba fixed bug with EnumDisplayModes for dx 1,2 it use wrong size of Surface and callbacks.
we need two diffrent version of EnumDisplayModes to solv it
 

svn path=/trunk/; revision=31070
2007-12-08 13:00:55 +00:00
Christoph von Wittich
b227bebec5 Added definition for SEE_MASK_NOASYNC.
svn path=/trunk/; revision=31069
2007-12-08 12:48:14 +00:00
Peter Ward
09fd3229a5 - Add myself to the credits file.
svn path=/trunk/; revision=31068
2007-12-08 12:45:18 +00:00
James Tabor
30e5bc01a9 Move WS_EX_MDICHILD check back in win32k. Reordered CreateWindowEx menu sets. All based on wine logic. Should SetMenu first or System menu? Tested with FF and AbiWord.
svn path=/trunk/; revision=31065
2007-12-07 22:56:58 +00:00
Magnus Olsen
0102f7431b revert 30735 that change was wrong it should have gone into own header call ddrawex.h
for it deal with directdraw 3 (ddrawex.dll)

svn path=/trunk/; revision=31063
2007-12-07 21:01:48 +00:00
Magnus Olsen
0fc011a74a Start building up ddrawex.h
it is directdraw 3 header, ms have separeate directdraw 3 to a file ddrawex.dll

svn path=/trunk/; revision=31062
2007-12-07 21:00:26 +00:00
Pierre Schweitzer
30d6c1eac9 Updated French translations for winemine and control
svn path=/trunk/; revision=31061
2007-12-07 20:54:03 +00:00
Colin Finck
1c47c2d4a0 Added and updated greek translations by Apostolos Alexiadis (djapal AT gmail DOT com)
See issue #2853 for more details.

svn path=/trunk/; revision=31060
2007-12-07 19:30:01 +00:00
Aleksey Bragin
2da86f7197 - Fix a bug in delay dereferencing which could lead to an ASSERT.
- Try to work around the ReactOS hack of saving user-mode registry flags in the keynode, by at least masking out the REG_OPTION_CREATE_LINK flag which interferes with HIVE_EXIT.
- Implement symbolic link parsing and resolution in the new parse routine (with CmpGetSymbolicLink).

svn path=/trunk/; revision=31059
2007-12-07 17:38:03 +00:00
Dmitry Chapyshev
27f907dc11 - Update Russian Translation for servman
- Add rasdlg to bootcd
- Delete unused icons for main.cpl
- Update English and Russian Translation for console.dll
- Small fix Russian Translation for kernel32
- Update Russian Translation for shell32

svn path=/trunk/; revision=31058
2007-12-07 17:05:46 +00:00
Hervé Poussineau
fbb0ffdbe2 Better guess of the file path
svn path=/trunk/; revision=31057
2007-12-07 17:00:21 +00:00
Aleksey Bragin
c76fa603f3 - Fix LiveCD.
- Move CmpQueryKeyName and CmpDeleteKeyObject to config, and actually make CmpDeleteKeyObject do something.
- Partly implement CmpCloseKeyObject.
- Rewrite CmpLinkHiveToMaster to use ObOpenObjectByName instead of Ob-hacks, and add proper call in new parse routine to handle link node creation. We don't use Ob hacks for this anymore!
- Setup the CM_KEY_BODY when required.
- Call (and partly implement) EnlistKeyBodyWithKCB when required.

svn path=/trunk/; revision=31056
2007-12-07 16:11:02 +00:00
Hervé Poussineau
d709944d3b Remove useless files
svn path=/trunk/; revision=31055
2007-12-07 14:23:40 +00:00
Dmitry Chapyshev
72fbf8e8eb - Update Russian translation
svn path=/trunk/; revision=31054
2007-12-07 10:59:53 +00:00
Aleksey Bragin
ce97b6aeaa - Replace KEY_OBJECT by real CM_KEY_BODY NT type.
svn path=/trunk/; revision=31052
2007-12-06 21:11:57 +00:00
Magnus Olsen
847f27f307 Fixed a bug for Main_DirectDraw_SetDisplayMode for DirectX 1 it did accepted to many param
Thx Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) to found this bug


svn path=/trunk/; revision=31050
2007-12-06 19:56:53 +00:00
Daniel Reimer
122793a01a Update German RC File
svn path=/trunk/; revision=31049
2007-12-06 19:56:11 +00:00
Dmitry Chapyshev
52afd0a13d - Move all hardcode strings to resource
svn path=/trunk/; revision=31048
2007-12-06 19:49:12 +00:00
Aleksey Bragin
0f9a48b2b5 - Rewrite CmiScanKeyList to use the NCB.
- Disable private KCB allocator and allocate separate pool entries for each KCB -- should fix issues some people have been experiencing until the real bug is found
- Remove all code that builds the name for the PKEY_OBJECT. This reduces non-paged pool allocation usage since the name is now stored compressed in the NCB, in paged pool.

svn path=/trunk/; revision=31047
2007-12-06 19:46:59 +00:00
Aleksey Bragin
2aadece3c1 - Remove CmiAddKeyToList.
- Use ParseContext in CmpDoCreate, removing OriginatingHive parameter since ReactOS doesn't use this.
- Sending the create options as key node flags is wrong -- identify this in the code (fixing this however will break the boot -- need to investigate).

svn path=/trunk/; revision=31046
2007-12-06 18:31:37 +00:00
Christoph von Wittich
bac46608b2 fix Device and Desktop rect values
svn path=/trunk/; revision=31045
2007-12-06 16:53:50 +00:00
Hervé Poussineau
fe87541e38 After plug&play at 3rd boot since r18448, after plug&play in 2nd stage setup since r22607, here is plug&play in 1st stage setup!
svn path=/trunk/; revision=31044
2007-12-06 16:25:57 +00:00
Aleksey Bragin
96fcea9b72 - Fix Greatlordisms:
* Don't try to link *user*mode program to static *kernelmode* libcntpr. msvcrt.dll exists for this.
* Fix main()'s declaration and definition.
* The above changes fix compiling of rostest module.

svn path=/trunk/; revision=31043
2007-12-06 15:44:23 +00:00
Hervé Poussineau
766f1a8a1b Fix indentation
svn path=/trunk/; revision=31042
2007-12-06 14:51:53 +00:00
Christoph von Wittich
c73bd8cb3f zero DEVMODE and setting the correct size before calling ChangeDisplaySettings
svn path=/trunk/; revision=31041
2007-12-06 14:46:56 +00:00
Hervé Poussineau
3e7681fbee Fix small typo
svn path=/trunk/; revision=31040
2007-12-06 13:43:47 +00:00
Hervé Poussineau
82efa9c6a0 Define serial port bases only once
Formatting, cleanup, code factorization

svn path=/trunk/; revision=31039
2007-12-06 13:11:21 +00:00
Christoph von Wittich
8b186a16b8 really fix the bug now - count from CM_KCBS_PER_PAGE -1 to 0 instead of CM_KCBS_PER_PAGE -1 to 1
svn path=/trunk/; revision=31037
2007-12-06 07:11:20 +00:00
James Tabor
86e1b5605d Restore to default behavior for now.
svn path=/trunk/; revision=31035
2007-12-06 04:00:51 +00:00
James Tabor
3f26c051e8 Sorry Fix bug.
svn path=/trunk/; revision=31034
2007-12-06 02:20:37 +00:00
James Tabor
5c4628595b Fixed one more test, now from 23 to 22 fail. Reordered NtGdiDeleteObjectApp and created a separate function so that applications can not delete DCs belonging to DCEs. Add a check for Wnd = NULL for UserGetDCEx, this did not help the test results. Test Qemu Linux, Xp and hardware. Install and run AbiWord and FF as tests.
svn path=/trunk/; revision=31033
2007-12-06 02:09:56 +00:00
Colin Finck
107d3b15e1 - Changes by Martin Grogan (groganm AT gmail DOT com, IRC nick _Lazybones_):
* Make the appearance and layout more like the MS version
    * Added functionality for resetting scores
    * Auto-complete the board, when the player is guaranteed to win

- Changes by myself:
    * Add a new define WINEMINE_REGKEY to define the registry path of the WineMine settings only one time
    * Store the settings in HKCU instead of HKLM and use REG_DWORD, when it makes sense
    * Get WineMine to compile warning-free under MSVC
    * Make the new "seconds" string translateable
    * Make all WineMine resource files consistent and ensure that all visual elements are visible

See issue #2060 for more details.

svn path=/trunk/; revision=31032
2007-12-05 23:17:15 +00:00
James Tabor
291c2b99ef Fix one wine test, from 75 to 23 no.
svn path=/trunk/; revision=31031
2007-12-05 22:30:44 +00:00
Aleksey Bragin
6dea234022 - Save hive flags instead of ignoring them (but ignore no lazy flush for now).
- Get rid of CmiKeyObjectListHead and code that was adding/removing entries into it, it wasn't used for anything.
- Change the stupid subkey array (which caused pool fragmentation and slow-downs) with a linked-list version, since we never used the array for random indexing (the point of an array vs a linked list).
- Link key object children to parent key control blocks so that KCBs now own PKEY_OBJECTs (will help with parsing later).
- Get rid of CmiAddKeyToList since this is just an InsertTailList now.
- Remove ReactOS hacks in flush code.
- Do full parallel hive loading code in normal boot too, not just in cd-rom boot: CmpSetFileSize was causing the problem to happen so it's been disabled for now; this allowed removal of multiple ReactOS hacks.
- Use the "Allocate" flag during linking instead of hard-coding FALSE, since this also works now.
- Set HIVE_NOLAZYFLUSH to newly create hives since this is required for later.
- Remove CmiConnectedHiveList since it's not used for anything.

svn path=/trunk/; revision=31030
2007-12-05 22:30:33 +00:00
Timo Kreuzer
60b1915ae7 fix compilation with GDI_DEBUG
svn path=/trunk/; revision=31028
2007-12-05 21:54:05 +00:00
Dmitry Chapyshev
08cae5540c - Fix small bug
svn path=/trunk/; revision=31024
2007-12-05 20:30:54 +00:00
Aleksey Bragin
99d3788d8b - Fix a bug.
svn path=/trunk/; revision=31019
2007-12-05 19:07:23 +00:00
Hervé Poussineau
79e182b387 Add missing include file
svn path=/trunk/; revision=31018
2007-12-05 18:21:11 +00:00
Hervé Poussineau
603edfdfc1 Do not add twice a link to crt library
svn path=/trunk/; revision=31017
2007-12-05 16:53:14 +00:00
Hervé Poussineau
b22abd272b Don't add implicit dependencies for ntdll
svn path=/trunk/; revision=31016
2007-12-05 16:17:51 +00:00
Hervé Poussineau
e3876e7f3c Send correct data to MiDereferenceImports()
svn path=/trunk/; revision=31015
2007-12-05 16:04:47 +00:00
Hervé Poussineau
155a5c8344 Implement GetLargePageMinimum()
svn path=/trunk/; revision=31014
2007-12-05 14:55:52 +00:00
Christoph von Wittich
75db192c8d fix formatting
svn path=/trunk/; revision=31013
2007-12-05 14:51:06 +00:00
Christoph von Wittich
fe7df0e59f add stub for GetLargePageMinimum
svn path=/trunk/; revision=31012
2007-12-05 14:48:19 +00:00
Hervé Poussineau
4e74b61d76 Revert r29433, it's wrong
Thanks Alex ;)

svn path=/trunk/; revision=31011
2007-12-05 13:40:14 +00:00
Aleksey Bragin
729df301cd Andrey Korotaev <unc0rr@mail.ru>:
- Never trust MaximumLength passed from usermode when copying a unicode string (fixes a wide amount of crashes, tested with CdrLabel 4.1).

svn path=/trunk/; revision=31010
2007-12-04 22:52:05 +00:00
Aleksey Bragin
98a17200e4 - Finish correct definition of CM_KEY_NODE.
- Fix broken CmpTestRegistryLock functions, they could return FALSE even if the lock was held.
- Enable some extra assertions.
- Update KCB flags as well when updating keynode flags in CmpDoCreate.
- Update KCB Last write time as well when updating keynode lastwritetime in CmpDoCreate.
- Do CmpDoOpen with the registry lock held, and tell CmpCreateKeycontrolBlock to lock the KCB exclusively.
- Enable link-node create code to set the ChildHiveRefernece values. This is used to "escape" the current Hive when a KEY_HIVE_EXIT node is detected (an internal symlink) and required for new parsing semantics.
- Implement CmpHandleExitNode to test how "escaping" from an exit node into a link hive works (it does).
- Plug that function into the new parse routine for testing purposes.
- Enable CmpDoOpen path in the new parse routine, only used for link node creation for now.

svn path=/trunk/; revision=31009
2007-12-04 21:39:15 +00:00
Aleksey Bragin
6117db4db0 - Remove GreatLordisms.
- Slightly improve NtGdiOpenDCW() code (without changing the logic). 

svn path=/trunk/; revision=31008
2007-12-04 20:07:35 +00:00
Gregor Brunmar
6f48e39be2 Fixed msvc project generation making duplicate project names.
svn path=/trunk/; revision=31007
2007-12-04 19:53:47 +00:00
Aleksey Bragin
714d0d6737 - Fix _enable/_disable intrinsics when compiling with WDK 6001.
svn path=/trunk/; revision=31006
2007-12-04 19:22:33 +00:00
Aleksey Bragin
5b82b54952 - Fix a typo.
svn path=/trunk/; revision=31005
2007-12-04 18:56:25 +00:00
Aleksey Bragin
d7eb720f13 Do a full clean rebuild after this commit!
- Begin fixing CM_KEY_NODE.
- More proper use of registry lock in create operations.
- Use ObOpenObjectByName (as a test only, ignore the results) in CmpLinkHiveToMaster.
- Implement routines to acquire/release two KCB locks atomically.
- Implement KCB dereference without lock.
- Fix locking in CmpCreateKeyControlBlock so that it now properly locks KCBs when requested.
- Implement rudimentary new-style parse routine that only walks the registry path until it's time to create the link node (since this is the only scenario where it's called from). Prints out the status of the operation but doesn't actually do anything.

svn path=/trunk/; revision=31004
2007-12-04 18:44:51 +00:00
Hervé Poussineau
b3fad2a219 Change service interface too
svn path=/trunk/; revision=31003
2007-12-04 17:21:46 +00:00
Hervé Poussineau
653942293a Update idl file too
svn path=/trunk/; revision=31002
2007-12-04 17:10:45 +00:00
Ged Murphy
36ade9da3b the 'trash' americanism drives me mad
svn path=/trunk/; revision=31001
2007-12-04 17:00:09 +00:00
Hervé Poussineau
379640be1c Use win types when possible
svn path=/trunk/; revision=31000
2007-12-04 16:40:12 +00:00
Christoph von Wittich
67c0893d5d check for a valid dc before accessing Dc_Attr
svn path=/trunk/; revision=30997
2007-12-04 15:31:11 +00:00
Hervé Poussineau
546ed0b8d6 CTRL+SCROLL LOCK+SCROLL LOCK should only work with right control key
svn path=/trunk/; revision=30996
2007-12-04 14:55:49 +00:00
Magnus Olsen
e1f665fd09 remove wrong fixme comment from win32k
svn path=/trunk/; revision=30995
2007-12-04 09:42:05 +00:00
James Tabor
124f989076 Fix NtGdiFlush so it will not spam the debug list. Add changes and fixups.
svn path=/trunk/; revision=30994
2007-12-04 07:51:03 +00:00
James Tabor
657accd8bd Fix zero bug.
svn path=/trunk/; revision=30993
2007-12-04 02:52:46 +00:00
Johannes Anderwald
f4edca4243 - show nice display name when full path for executable is available
- enumerate default open verb too
- look in HKCR progid for default verbs/file associations
- fix a bug in SHEOW_LoadOpenWithItems

svn path=/trunk/; revision=30992
2007-12-03 23:33:36 +00:00
Colin Finck
02a330f5da Always add _CRT_SECURE_NO_WARNINGS to the preprocessor definition list to disable warnings about not using the safe functions introduced in MSVC8.
svn path=/trunk/; revision=30991
2007-12-03 23:03:58 +00:00
Johannes Anderwald
f076b05fed - display recently used programs
- append %1 to allow executing in default command
- store prog id as default key in new file ext
- assign default file association when requested

svn path=/trunk/; revision=30990
2007-12-03 22:52:27 +00:00
James Tabor
ab3c49a539 Fix dce test. User32 wine test 57 pass and only 2 fail.
svn path=/trunk/; revision=30989
2007-12-03 22:03:26 +00:00
Gregor Brunmar
f6378b2c7f Added registry key for video devices that exists in Windows
svn path=/trunk/; revision=30986
2007-12-03 18:39:13 +00:00
Gregor Brunmar
ac99058ffc Fixed some minor things with (yet unused) svchost
svn path=/trunk/; revision=30985
2007-12-03 18:24:05 +00:00
Dmitry Chapyshev
ec985fceef - Update icons
svn path=/trunk/; revision=30984
2007-12-03 17:44:44 +00:00
Daniel Reimer
5510ebae52 Finalized German rasdlg resource.
Added manifest.xml to rasdlg.

svn path=/trunk/; revision=30983
2007-12-03 15:29:13 +00:00
Christoph von Wittich
70d6253c17 update german translation
svn path=/trunk/; revision=30982
2007-12-03 10:37:31 +00:00
Aleksey Bragin
59013eaa31 - Build with "char" being "unsigned" by default, fixes MS's CRT assert.
svn path=/trunk/; revision=30981
2007-12-03 10:07:55 +00:00
Aleksey Bragin
56568e2d0c - Don't try to perform "mkdir Z:" (where Z: is your ROS_INSTALL target disk), that's meaningless. Fixes an exception when built with MSVC.
svn path=/trunk/; revision=30980
2007-12-03 09:56:11 +00:00
Hervé Poussineau
3f543f3230 Implement IoForwardIrpSynchronously
Use it in root bus

svn path=/trunk/; revision=30979
2007-12-03 09:03:38 +00:00
Hervé Poussineau
3e89cd6ca5 [FORMATTING] Fix indentation, no code change
svn path=/trunk/; revision=30978
2007-12-03 08:25:54 +00:00
Hervé Poussineau
8459487b4b Remove "Unknown device" wizards
svn path=/trunk/; revision=30977
2007-12-03 08:04:26 +00:00
James Tabor
4aee5c9e17 Imp Get/SetDeviceGammaRamp, not fully supported yet. Fix typos and updates.
svn path=/trunk/; revision=30976
2007-12-03 07:32:10 +00:00
Daniel Reimer
93dd38b8e4 Add German RC File to RasDLG (still TBD: Strings)
svn path=/trunk/; revision=30972
2007-12-02 20:16:33 +00:00
Dmitry Chapyshev
97c24b0a17 - Add defines for "Delete" and "Save As" buttons to all languages
- Delete 4-bits icons

svn path=/trunk/; revision=30971
2007-12-02 19:51:15 +00:00
Dmitry Chapyshev
cf234fd313 - Add Russian translation for deskadp and deskmon
svn path=/trunk/; revision=30970
2007-12-02 19:39:59 +00:00
Dmitry Chapyshev
bbf60bee7e - Update Russian translation
svn path=/trunk/; revision=30969
2007-12-02 19:31:33 +00:00
Aleksey Bragin
cff82f4686 - Implement NtInitalizeRegistry with proper boot flags instead of TRUE/FALSE (our winlogon doesn't yet call the function with the CM_BOOT_FLAG_ACCEPTED_X flag-- this is needed to support setting the last known good boot/current control set).
- Always set last mode to kernel-mode when calling this function.

svn path=/trunk/; revision=30966
2007-12-02 18:40:33 +00:00
Dmitry Chapyshev
2d7e275751 - Add Russian translation
svn path=/trunk/; revision=30965
2007-12-02 18:37:23 +00:00
Magnus Olsen
42fa951ba7 Fix two smaller bugs in DxDdStartupDxGraphics
------------------------------------------------
fix : use full path to dxg.sys when we trying load it
fix : only try unload dxg.sys if it really been load and got a fail status code. 



svn path=/trunk/; revision=30963
2007-12-02 17:31:12 +00:00
Aleksey Bragin
7ab27912da - Hackfix the build: remove the function call to NetUserSetInfo (#if0/#endif). Eric, please, do a proper fix and revert this commit when it's ready.
svn path=/trunk/; revision=30962
2007-12-02 16:54:32 +00:00
Pierre Schweitzer
0146915176 Fixed a typo
svn path=/trunk/; revision=30960
2007-12-02 14:49:33 +00:00
Colin Finck
58e12f3874 Remove all that VS stuff from the butterflies screensaver resource files, create a "rsrc.rc" file and add common resources only one time. Also remove an unused string.
This makes the screensaver much smaller and easier to translate.

svn path=/trunk/; revision=30959
2007-12-02 14:39:07 +00:00
Eric Kohl
626e85df7f - Add icons for user, locked user and group.
- Enable users to change their name and password (not fully working yet).
- Use the IDI_ prefix for icons.

svn path=/trunk/; revision=30958
2007-12-02 14:35:59 +00:00
Eric Kohl
7646664619 - Make local functions static.
- Reorder functions to reduce the number of required prototypes.
- Use Win32 types instead of generic types (e.g. int -> INT) and add missing VOIDs.
- No code changes.

svn path=/trunk/; revision=30957
2007-12-02 14:25:17 +00:00
Colin Finck
4f987d4817 Spanish translations for screensavers by Javier Remacha (remialdo AT gmail DOT com)
See issue #2863 for more details.

svn path=/trunk/; revision=30956
2007-12-02 14:16:09 +00:00
Colin Finck
cd714dc38e Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2854 for more details.

svn path=/trunk/; revision=30955
2007-12-02 12:44:21 +00:00
Hervé Poussineau
42c2e8a70b In txtsetup.sif, replace SourceFiles section by SourceDisksFiles
See http://www.win-web.be/forum/index.php?showtopic=10706&st=0&p=86340&#entry86340

svn path=/trunk/; revision=30954
2007-12-02 11:32:52 +00:00
Pierre Schweitzer
bafbcc303d Updated download.xml with newer releases.
svn path=/trunk/; revision=30953
2007-12-02 11:24:35 +00:00
Aleksey Bragin
aa64119a57 - Fix a typo (lead to memory overwrite).
svn path=/trunk/; revision=30952
2007-12-02 10:29:12 +00:00
James Tabor
35fcb63351 Add palette mode flags.
svn path=/trunk/; revision=30951
2007-12-02 03:08:00 +00:00
James Tabor
de21070985 Add GdiDevice flags.
svn path=/trunk/; revision=30950
2007-12-02 00:42:31 +00:00
James Tabor
2233ee9183 Imp NtGdiMirrorWindowOrg, GetDeviceWidth and finish SetLayout.
svn path=/trunk/; revision=30947
2007-12-01 21:47:27 +00:00
James Tabor
d6433a1128 Complete driver function table. This is the best we can do for now.
svn path=/trunk/; revision=30946
2007-12-01 21:39:28 +00:00
Pierre Schweitzer
ba1a443efd Updated French translation
svn path=/trunk/; revision=30944
2007-12-01 20:21:50 +00:00
Pierre Schweitzer
31688fa7f5 Updated French translations
svn path=/trunk/; revision=30943
2007-12-01 20:14:16 +00:00
Magnus Olsen
847a0bfde8 Fixed regress for lock and unlock in ddraw.
now dxsdk example font works again with reactos ddraw.dll in windows

svn path=/trunk/; revision=30942
2007-12-01 19:45:17 +00:00
Hervé Poussineau
d6795a59bd Do not put acpi.sys and pci.sys in reactos.cab
svn path=/trunk/; revision=30941
2007-12-01 19:00:57 +00:00
Hervé Poussineau
87d0706057 Update status
svn path=/trunk/; revision=30939
2007-12-01 18:30:48 +00:00
Aleksey Bragin
3efe3d1fcf - Fix incorrect russian translation (thanks tower).
svn path=/trunk/; revision=30938
2007-12-01 18:29:42 +00:00
The Wine Synchronizer
58ffb98f70 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30937
2007-12-01 18:29:29 +00:00
The Wine Synchronizer
5be02c6da0 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30936
2007-12-01 18:28:50 +00:00
Johannes Anderwald
98f79299bd - implemented adding programs to new open list
- implemented assigning default file association
- options still if'0

svn path=/trunk/; revision=30934
2007-12-01 17:58:01 +00:00
Hervé Poussineau
af80154d9f Create required reg keys if needed
svn path=/trunk/; revision=30933
2007-12-01 16:49:22 +00:00
Aleksey Bragin
ff325e041a - Sync with Wine.
svn path=/trunk/; revision=30932
2007-12-01 15:56:03 +00:00
James Tabor
d660a25834 Unbreak gdi batch... Sometimes dc is null.
svn path=/trunk/; revision=30931
2007-12-01 13:26:45 +00:00
Timo Kreuzer
a21e119b07 patch by jimtabor: add some usermode handling to SelectObject, currently if'ed out, as it doesn't properly work yet, add GDI_OBJECT_TYPE_COLORSPACE using SetColorSpace
svn path=/trunk/; revision=30930
2007-12-01 02:14:35 +00:00
Timo Kreuzer
8553d5ea02 patch by jimtabor: add GdiBCSelObj to GdiFlushUserBatch
svn path=/trunk/; revision=30929
2007-12-01 02:09:39 +00:00
Timo Kreuzer
5350a24feb update ntgdibad.h
svn path=/trunk/; revision=30928
2007-12-01 01:38:10 +00:00
Timo Kreuzer
eef9f0a1b4 - replace NtGdiSelectObject with NtGdiSelectBitmap/Pen/Brush/Font in dc.c
- remove NtGdiSelectObject from win32k

svn path=/trunk/; revision=30927
2007-12-01 01:37:08 +00:00
Timo Kreuzer
6285817948 use PatBlt and SelectObject instead of Nt functions
svn path=/trunk/; revision=30926
2007-12-01 01:31:10 +00:00
Timo Kreuzer
4bb2dd0e07 replace NtGdiSelectObject with NtGdiSelectBitmap, NtGdiSelectBrush and NtGdiSelectFont in painting.c
svn path=/trunk/; revision=30925
2007-12-01 01:14:52 +00:00
Timo Kreuzer
6b97efb7ed replace NtGdiSelectObject with NtGdiSelectBitmap and NtGdiSelectBrush in desktop.c
svn path=/trunk/; revision=30924
2007-12-01 01:11:25 +00:00
James Tabor
7c34f36a33 Reorder drv function and added missing items. One update to winddi.h.
svn path=/trunk/; revision=30923
2007-11-30 23:52:25 +00:00
Marc Piulachs
6eb82849c7 - XML compliance : add XInclude namespace
svn path=/trunk/; revision=30922
2007-11-30 23:45:10 +00:00
Aleksey Bragin
e4597300f8 - Cleanup code, add inline assembly versions for MSVC compiler.
svn path=/trunk/; revision=30921
2007-11-30 21:04:12 +00:00
Aleksey Bragin
88abaa75d9 - Move the check for a NULL dc higher (before it's actually used). Fixes crashes (in FireFox, for example).
svn path=/trunk/; revision=30920
2007-11-30 20:19:25 +00:00
Aleksey Bragin
d2a8cdcae5 Dmitry Chapyshev <lentind@yandex.ru>
- Add power scheme delete removing function.
- Improve design of english resources.
- Add new strings to all resources.
- Add hibernate.ico icon and update screen.ico.

svn path=/trunk/; revision=30919
2007-11-30 18:52:33 +00:00
James Tabor
ff6b99cc12 Replace fix for FF. Thanks Chistoph!
svn path=/trunk/; revision=30918
2007-11-30 13:30:15 +00:00
Magnus Olsen
70e3a2dcb6 revert r30916.
the struct was compatible with windows nt, read Read Feng Yuan - Windows Graphics Programming Win32 Gdi And Directdraw
before r30916 changes was intrudes. 

svn path=/trunk/; revision=30917
2007-11-30 12:16:32 +00:00
Christoph von Wittich
68722d6482 revert r28932 - this may be needed for thread safety - but it isn't firefox safe
svn path=/trunk/; revision=30916
2007-11-30 11:46:48 +00:00
Timo Kreuzer
3672e73aa8 disable EXTPENS for now to stop debugmessage overflow
svn path=/trunk/; revision=30915
2007-11-30 04:14:20 +00:00
Timo Kreuzer
33a99e26d8 fix some bugs
svn path=/trunk/; revision=30914
2007-11-30 04:12:23 +00:00
Timo Kreuzer
5455b61b46 replace NtGdiSelectObject with NtGdiSelectBitmap and NtGdiSelectBrush in cursoricon.c
svn path=/trunk/; revision=30912
2007-11-30 02:44:29 +00:00
Timo Kreuzer
d1af00982b replace NtGdiSelectObject with NtGdiSelectBitmap in bitblt.c
svn path=/trunk/; revision=30911
2007-11-30 02:41:12 +00:00
Timo Kreuzer
180c07024b replace NtGdiSelectObject with NtGdiSelectBitmap and NtGdiSelectBrush in bitmaps.c
svn path=/trunk/; revision=30910
2007-11-30 02:38:19 +00:00
Timo Kreuzer
9748f79adc replace NtGdiSelectObject with NtGdiSelectBrush in region.c
svn path=/trunk/; revision=30909
2007-11-30 02:32:39 +00:00
Timo Kreuzer
89a612e99d replace NtGdiSelectObject with NtGdiSelectbrush in dcutils.c
svn path=/trunk/; revision=30908
2007-11-30 02:27:40 +00:00
Timo Kreuzer
86bbb43736 replace NtGdiSelectObject with NtGdiSelectBitmap in dibobj.c
svn path=/trunk/; revision=30907
2007-11-30 02:22:34 +00:00
Timo Kreuzer
c8dc03129f Beginning of an implementation of SelectObject, using NtGdiSelectBitmap, NtGdiSelectBrush, NtGdiselectFont, NtGdiSelectPen and ExtSelectClipRgn instead of NtGdiSelectObject.
Todo: Do most stuff in user mode

svn path=/trunk/; revision=30906
2007-11-30 02:14:58 +00:00
Timo Kreuzer
39f5d78fed implement NtGdiSelectBitmap, NtGdiSelectBrush, NtGdiSelectFont and NtGdiSelectPen based on NtGdiSelectObject and tests, move those functions to dc.c. Not used yet.
svn path=/trunk/; revision=30905
2007-11-30 02:05:03 +00:00
Timo Kreuzer
142fc9bedc - another test for NtGdiBitBlt
- Add tests for NtGdiSelectBitmap, NtGdiSelectBrush, NtGdiSelectFont and NtGdiSelectPen

svn path=/trunk/; revision=30904
2007-11-30 00:09:28 +00:00
Colin Finck
3be1a28fa9 Change "ca-CA" to "ca-ES" again, forgot about that when committing some Catalan translations from Bugzilla
svn path=/trunk/; revision=30903
2007-11-29 22:19:15 +00:00
Magnus Olsen
1d8e255126 fixed almost all case for wglGetPixelFormatAttribivARB and wglGetPixelFormatAttribfvARB
full support of them are not done yet. documations over it is found at http://msdn2.microsoft.com/EN-US/library/ms537569.aspx 
and http://developer.3dlabs.com/documents/WGLmanpages/wglgetpixelformatattribarb.htm
This change was done by me (Magnus Olsen magnus at greatlord dot com) and Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) we done this toghter


svn path=/trunk/; revision=30902
2007-11-29 21:30:21 +00:00
Christoph von Wittich
64d2ea9f56 remove ros specific hack
svn path=/trunk/; revision=30901
2007-11-29 20:50:06 +00:00
Christoph von Wittich
1730b3a891 correctly set the desktop bkcolor
svn path=/trunk/; revision=30900
2007-11-29 20:47:33 +00:00
Christoph von Wittich
c6a485b0c0 remove the const from the DrawShadowText function to be compatible to PSDK
svn path=/trunk/; revision=30899
2007-11-29 16:04:38 +00:00
Magnus Olsen
64589a9489 make DirectDrawEnumerateExA working in windows
but not finish. Patch from  Martin Ljungström  (martin_lj88 at yahoo dot se) with 
some change I need it todo before I approve
his patch

svn path=/trunk/; revision=30898
2007-11-29 15:14:19 +00:00
James Tabor
7cfe53d57d Add Region object types and one Dc that was missed. Thanks Thomas!
svn path=/trunk/; revision=30897
2007-11-29 13:07:38 +00:00
The Wine Synchronizer
83c857dfd3 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30896
2007-11-29 12:54:54 +00:00
Hervé Poussineau
ffbe9d4a1a Fix build
svn path=/trunk/; revision=30895
2007-11-29 12:52:29 +00:00
The Wine Synchronizer
45a4774b49 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30894
2007-11-29 12:52:01 +00:00
The Wine Synchronizer
0fd742014c Autosyncing with Wine HEAD
svn path=/trunk/; revision=30893
2007-11-29 11:52:28 +00:00
The Wine Synchronizer
ec26560b9f Autosyncing with Wine HEAD
svn path=/trunk/; revision=30892
2007-11-29 11:52:05 +00:00
Hervé Poussineau
bc0c2b4bef Fix build
svn path=/trunk/; revision=30891
2007-11-29 11:26:44 +00:00
The Wine Synchronizer
2ffe4fd798 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30890
2007-11-29 11:26:23 +00:00
The Wine Synchronizer
a1e248d5f0 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30889
2007-11-29 11:21:01 +00:00
The Wine Synchronizer
44606e911b Autosyncing with Wine HEAD
svn path=/trunk/; revision=30888
2007-11-29 11:20:31 +00:00
The Wine Synchronizer
3d7d9dd3d6 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30887
2007-11-29 11:15:59 +00:00
The Wine Synchronizer
e102e0a25c Autosyncing with Wine HEAD
svn path=/trunk/; revision=30886
2007-11-29 11:15:00 +00:00
The Wine Synchronizer
83e9bf02ee Autosyncing with Wine HEAD
svn path=/trunk/; revision=30885
2007-11-29 11:14:22 +00:00
The Wine Synchronizer
c7c9522131 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30884
2007-11-29 11:13:58 +00:00
The Wine Synchronizer
e8794d65e1 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30883
2007-11-29 11:13:29 +00:00
The Wine Synchronizer
4a6768cea2 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30882
2007-11-29 11:13:10 +00:00
The Wine Synchronizer
8fe4fd0f52 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30881
2007-11-29 11:12:33 +00:00
The Wine Synchronizer
09bef04650 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30880
2007-11-29 11:07:07 +00:00
The Wine Synchronizer
187bdad2ea Autosyncing with Wine HEAD
svn path=/trunk/; revision=30879
2007-11-29 11:06:46 +00:00
The Wine Synchronizer
da37d03ee2 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30878
2007-11-29 11:06:11 +00:00
The Wine Synchronizer
703674a6fe Autosyncing with Wine HEAD
svn path=/trunk/; revision=30877
2007-11-29 11:05:00 +00:00
The Wine Synchronizer
c0126761a5 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30876
2007-11-29 11:04:34 +00:00
The Wine Synchronizer
6a7949f977 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30875
2007-11-29 11:03:59 +00:00
The Wine Synchronizer
aa2b5ddb72 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30874
2007-11-29 11:02:32 +00:00
The Wine Synchronizer
225ea6c550 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30873
2007-11-29 11:01:17 +00:00
The Wine Synchronizer
fd3a6c8bba Autosyncing with Wine HEAD
svn path=/trunk/; revision=30872
2007-11-29 10:55:24 +00:00
The Wine Synchronizer
66fba2f89d Autosyncing with Wine HEAD
svn path=/trunk/; revision=30871
2007-11-29 10:50:33 +00:00
The Wine Synchronizer
a1a2b731f0 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30870
2007-11-29 10:48:50 +00:00
The Wine Synchronizer
0b2b16019e Autosyncing with Wine HEAD
svn path=/trunk/; revision=30869
2007-11-29 10:48:07 +00:00
The Wine Synchronizer
8de7147fe9 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30868
2007-11-29 10:47:25 +00:00
The Wine Synchronizer
0c99121b2e Autosyncing with Wine HEAD
svn path=/trunk/; revision=30867
2007-11-29 10:46:56 +00:00
The Wine Synchronizer
84137c8268 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30866
2007-11-29 10:36:22 +00:00
Johannes Anderwald
80da58bad1 - registry keys for open with
svn path=/trunk/; revision=30865
2007-11-29 10:35:23 +00:00
The Wine Synchronizer
173cee5d1e Autosyncing with Wine HEAD
svn path=/trunk/; revision=30864
2007-11-29 10:28:12 +00:00
The Wine Synchronizer
635d91b536 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30863
2007-11-29 10:27:59 +00:00
Hervé Poussineau
b1a02c47c9 Fix build
svn path=/trunk/; revision=30862
2007-11-29 10:20:14 +00:00
The Wine Synchronizer
c1eaa7b625 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30861
2007-11-29 10:19:56 +00:00
The Wine Synchronizer
4ba3681eb1 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30860
2007-11-29 10:11:45 +00:00
The Wine Synchronizer
8d185659a8 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30859
2007-11-29 10:03:33 +00:00
The Wine Synchronizer
255abc607a Autosyncing with Wine HEAD
svn path=/trunk/; revision=30858
2007-11-29 09:56:40 +00:00
Magnus Olsen
e8360ce5fe revert part of rev30826 that was accented committed
svn path=/trunk/; revision=30857
2007-11-29 09:56:03 +00:00
The Wine Synchronizer
c0507448cf Autosyncing with Wine HEAD
svn path=/trunk/; revision=30856
2007-11-29 09:44:39 +00:00
The Wine Synchronizer
c129bf95ec Autosyncing with Wine HEAD
svn path=/trunk/; revision=30855
2007-11-29 09:38:17 +00:00
Hervé Poussineau
0dd126df47 Add a few more GUIDs to uuid library
svn path=/trunk/; revision=30854
2007-11-29 09:33:35 +00:00
Hervé Poussineau
650d81cf9e Add some prototypes
svn path=/trunk/; revision=30853
2007-11-29 09:32:43 +00:00
Thomas Bluemel
1a43a12889 Check the GDI object type in GdiGetHandleUserData()
svn path=/trunk/; revision=30852
2007-11-29 05:21:19 +00:00
James Tabor
17ea116ec5 Fix typos again, use || and != this time.
svn path=/trunk/; revision=30851
2007-11-29 03:48:32 +00:00
James Tabor
b6a91f911b Fix typos and add check for DC type object.
svn path=/trunk/; revision=30850
2007-11-29 03:32:23 +00:00
Timo Kreuzer
a63375b80e Another test for AddFontResourceEx
svn path=/trunk/; revision=30849
2007-11-28 23:45:23 +00:00
Timo Kreuzer
3ac4bd2b4f Query the gdi handle table for later use in tests
svn path=/trunk/; revision=30848
2007-11-28 23:41:11 +00:00
Timo Kreuzer
86962e6878 - some more tests for GetObject
svn path=/trunk/; revision=30847
2007-11-28 23:39:45 +00:00
Colin Finck
6caaf5758e Looks like my previous changes were already enough, so we can finally remove this hack :-)
See issue #2779 for more details.

svn path=/trunk/; revision=30846
2007-11-28 23:02:12 +00:00
Aleksey Bragin
b77f5b196a - Cleanup kdb_cli's code: be consistent in used types, don't use unsigned vars and then check if it's below 0, don't use inline assembly if there are reactos intrinsics for this.
svn path=/trunk/; revision=30845
2007-11-28 22:50:55 +00:00
Thomas Bluemel
decb224735 Fix typo in RegpApplyRestrictions (patch submitted to WINE by Andrew Talbot)
svn path=/trunk/; revision=30844
2007-11-28 22:37:23 +00:00
Colin Finck
dba56805a0 Don't define the "min" and "max" macros in the general "typedefs.h", they conflict with the similar functions in the "std" namespace in C++ apps then.
Instead just define them in widl, this is currently the only place where we need them.

svn path=/trunk/; revision=30843
2007-11-28 22:01:17 +00:00
Colin Finck
484d24fef4 Change widl to use only host headers.
Part of my ongoing attempt to separate host and target headers properly (see also bug 2779)
- Add a new header "nls.h" in the host directory, which contains a bunch of definitions needed for both widl and wrc.
- Add some more important defines to "typedefs.h".

svn path=/trunk/; revision=30842
2007-11-28 21:40:39 +00:00
James Tabor
6847d5fa1a Fix typo in GetWindow/Viewport/OrgEx and move them over to coord.c.
svn path=/trunk/; revision=30841
2007-11-28 21:29:05 +00:00
Johannes Anderwald
6eb216cb32 - display printer folder
svn path=/trunk/; revision=30840
2007-11-28 15:55:26 +00:00
Christoph von Wittich
aebe661533 add winineti.h from wine
svn path=/trunk/; revision=30839
2007-11-28 14:33:56 +00:00
Christoph von Wittich
4497838ce7 fix exception filters
svn path=/trunk/; revision=30838
2007-11-28 13:27:42 +00:00
Christoph von Wittich
0241a0c838 add some defines
svn path=/trunk/; revision=30837
2007-11-28 13:25:56 +00:00
Hervé Poussineau
d7c3063161 Fix indentation
svn path=/trunk/; revision=30836
2007-11-28 12:32:06 +00:00
Hervé Poussineau
407c506421 Support real deletion of directories from the recycle bin
svn path=/trunk/; revision=30835
2007-11-28 09:32:14 +00:00
James Tabor
d313d22b18 Check first to see if the DC handle is dead, if so return true.
svn path=/trunk/; revision=30833
2007-11-28 08:35:47 +00:00
James Tabor
d2bb5d906c - Removed NtGdiGet/SetStretchBltMode, updated all related files.
- Implement GetHFONT & Get/SetLayout/Width.
- Add layout types to PSDK.
- Updates and small cleanups.

svn path=/trunk/; revision=30831
2007-11-28 07:52:51 +00:00
Magnus Olsen
b463864293 hopply this will make wined3d more happy,
implement all need it flags for wglGetPixelFormatAttribfvARB and wglGetPixelFormatAttribivARB
that wined3d using

svn path=/trunk/; revision=30830
2007-11-28 00:10:13 +00:00
Christoph von Wittich
735683e009 translated some DPRINTs from GreatLordish into a human readable format
svn path=/trunk/; revision=30829
2007-11-28 00:09:52 +00:00
Magnus Olsen
24d18e2aaa start implement wglGetPixelFormatAttribivARB and wglGetPixelFormatAttribfARB
svn path=/trunk/; revision=30828
2007-11-27 23:41:57 +00:00
Christoph von Wittich
a141ea751d use ExAllocatePoolWithTag instead of ExAllocatePool
svn path=/trunk/; revision=30827
2007-11-27 23:25:56 +00:00
Magnus Olsen
07f58bd561 Fix ddraw start in windows again and activate the debug msg again.
svn path=/trunk/; revision=30826
2007-11-27 21:32:59 +00:00
James Tabor
816981675a Fix typo!
svn path=/trunk/; revision=30825
2007-11-27 21:04:25 +00:00
James Tabor
940927a689 Correct the offset in NtUserGetMenuItemRect. It was unfinished.
svn path=/trunk/; revision=30824
2007-11-27 20:56:18 +00:00
Magnus Olsen
d747ce2059 Last stubbing we need for mesa icd interface was done by Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
----------------------------------------------------------------------------------------------------------------------

svn path=/trunk/; revision=30823
2007-11-27 19:55:19 +00:00
Magnus Olsen
c4ca0c166c adding the last hack we need for wined3d. This bug is wine, not our or windows fault
And I also wrote down all three change we have done in wined3d. 
--------------------------------------------------------------------------------------
Thx Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) 
for the last hack

svn path=/trunk/; revision=30822
2007-11-27 19:49:49 +00:00
Johannes Anderwald
2ff760ccdf - fix typo
svn path=/trunk/; revision=30821
2007-11-27 18:42:44 +00:00
Johannes Anderwald
84b7e8a4e6 - implement Options_RunDLL, Options_RunDLLA, Options_RunDLLW
svn path=/trunk/; revision=30820
2007-11-27 18:14:06 +00:00
Daniel Reimer
01d7f6649c Fix a typo
svn path=/trunk/; revision=30819
2007-11-27 16:39:18 +00:00
Aleksey Bragin
2162908510 - Add a reset of a "failure" flag in a successive case. Previous behavior was scary, that once a failure occured, it was always freeing all further entries.
- Readd what was removed in 30812.
- Herve Poussineaue really did all work on tracing down the problem, spending much time writing debug/check routines, I would not spot this bug without him.
See issue #2545 for more details.

svn path=/trunk/; revision=30818
2007-11-27 13:27:39 +00:00
Aleksey Bragin
ac0b79ca29 - Display kernelmode source file:line in KeRosDumpStackFrames() too if KDBG is enabled.
svn path=/trunk/; revision=30817
2007-11-27 12:51:08 +00:00
Magnus Olsen
4223e8ab74 Updating d3d9 from winehq.org cvs/git date 27/11-2007
svn path=/trunk/; revision=30816
2007-11-27 11:24:22 +00:00
Magnus Olsen
e215ac24f1 Updating d3d8 from winehq.org cvs/git date 27/11-2007
svn path=/trunk/; revision=30815
2007-11-27 11:23:43 +00:00
Magnus Olsen
b7fb058e20 part 2/2
Updating wined3d from winehq.org cvs/git date 27/11-2007
this update solv allot of bugs in wined3d
------------------------------------------
Include one ReactOS specify hack. do not use gdi32.dll use opengl32.dll instead. 

svn path=/trunk/; revision=30814
2007-11-27 11:16:57 +00:00
Magnus Olsen
10d28df34a part 1/2
Updating wined3d from winehq.org cvs/git date 27/11-2007
this update solv allot of bugs in wined3d

svn path=/trunk/; revision=30813
2007-11-27 11:15:08 +00:00
Hervé Poussineau
3de1da8cb9 No need to increment handle count, it is already done in ExpAllocateHandleTableEntry()
svn path=/trunk/; revision=30812
2007-11-27 08:41:27 +00:00
Hervé Poussineau
5220fd6970 Better compatibility with MS Windows recycle bin
Add traces

svn path=/trunk/; revision=30811
2007-11-27 08:22:16 +00:00
James Tabor
df9ecdbb80 Implement SetTextJustification. Add code for Window and Viewport Org and Ext. Setup SetRectRgn and added rgn_attr types.
svn path=/trunk/; revision=30809
2007-11-27 05:40:50 +00:00
Thomas Bluemel
19c56142c7 Fix underline bug introduced in r30780
svn path=/trunk/; revision=30808
2007-11-27 01:33:16 +00:00
James Tabor
cc030181aa Revert 30780 for gdibatch. Size, space and time are very critical in here. If you dont know what your are doing? Do not play in here.
svn path=/trunk/; revision=30807
2007-11-27 01:14:38 +00:00
James Tabor
dd84a68c76 Removed NtGdiGet/Set/GraphicsMode/PolyFillMode/MapMode, update all related files. Tested with Qemu and AbiWord. The underline problem is pre rev 30783.
svn path=/trunk/; revision=30806
2007-11-27 01:01:39 +00:00
Marc Piulachs
48e650eb3b - updated blankscr.scr file name to scrnsave.scr
svn path=/trunk/; revision=30805
2007-11-27 00:58:24 +00:00
Marc Piulachs
b6c3503427 - Change blankscr installname attribute to scrnsave.scr as it's the name it has the equivalent component on MS Windows.
svn path=/trunk/; revision=30804
2007-11-27 00:57:09 +00:00
Marc Piulachs
78d2cfde69 - Do not use module (name + extension) as default target if installname attribute is present , use the value of it inset.
svn path=/trunk/; revision=30803
2007-11-27 00:56:25 +00:00
Marc Piulachs
f31c48be7c - reverted 30799 as I found there was a reason. we have a dll with the same name odbccp32
svn path=/trunk/; revision=30802
2007-11-27 00:46:16 +00:00
Thomas Bluemel
6e2d5efb41 cmd_alloc_dbg is NOT available in release builds!!!
svn path=/trunk/; revision=30801
2007-11-27 00:41:44 +00:00
Timo Kreuzer
209a4eb72e - implement GrowIfNecessary_dbg() using file and line from the caller to cmd_alloc_dbg memory.
- fix memory allocation size, respecting the terminating 0
See issue #2845 for more details.

svn path=/trunk/; revision=30800
2007-11-27 00:28:40 +00:00
Marc Piulachs
4ade767c50 - Fix what seems to be a typo in the module name. Undo it if the name was intentional
caution: manually deleting makefile.auto maybe required!

svn path=/trunk/; revision=30799
2007-11-26 23:33:44 +00:00
Johannes Anderwald
00b8bf0622 - pass the directory of the target application in
- should fix bug 2849
See issue #2849 for more details.

svn path=/trunk/; revision=30798
2007-11-26 22:18:50 +00:00
Daniel Reimer
311fc09aa3 Fix crap I made
svn path=/trunk/; revision=30797
2007-11-26 22:11:54 +00:00
Daniel Reimer
907312eb12 Bug 2844: Ukrainian translation update (temarezATyandexDTru)
Bug 2852: New Greek resource files (djapalATgmailDTcom)
Part 2

svn path=/trunk/; revision=30796
2007-11-26 21:55:36 +00:00
Daniel Reimer
c5a4ece055 Bug 2844: Ukrainian translation update (temarezATyandexDTru)
Bug 2852: New Greek resource files (djapalATgmailDTcom)
Part 1 (Who deleted scrnsave when I wanted to commit???!)

svn path=/trunk/; revision=30795
2007-11-26 21:51:56 +00:00
Marc Piulachs
a2e7d3620d - updated blankscr.scr file location
svn path=/trunk/; revision=30794
2007-11-26 21:48:35 +00:00
Marc Piulachs
fdb78c697c final step , rename the scrnsave.scr to blankscr.scr to avoid conflicts with scrnsave.lib
caution: manually deleting makefile.auto may be required!
note: It works fine in windows it highlights a but in reactos

svn path=/trunk/; revision=30793
2007-11-26 21:47:35 +00:00
Magnus Olsen
1c8ecf1d2a sorry I forget update this file as well
svn path=/trunk/; revision=30792
2007-11-26 21:10:33 +00:00
Magnus Olsen
10d34eed76 adding mesa3d 7.0.2 update with our local patch
-----------------------------------------------
update was done once again by Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) 


svn path=/trunk/; revision=30791
2007-11-26 21:08:48 +00:00
Christoph von Wittich
f63f322ecb fix TAG_BITMAP redzone overwrite for colordepths != 32 bit
svn path=/trunk/; revision=30790
2007-11-26 20:45:05 +00:00
Johannes Anderwald
e611490600 - break out when required (fixes a bug when checkbox is clicked)
svn path=/trunk/; revision=30787
2007-11-26 20:21:11 +00:00
Johannes Anderwald
139ec5a366 - was not meant to commited
svn path=/trunk/; revision=30785
2007-11-26 20:16:54 +00:00
Johannes Anderwald
4ff1aa5fac - update resources
- partially implement open with dialog (stored are not yet stored or retrieved)

svn path=/trunk/; revision=30784
2007-11-26 20:15:29 +00:00
James Tabor
9646bd9956 Removed NtGdi/GetCurrentPositionEx/MoveToEx, update all related files.
svn path=/trunk/; revision=30783
2007-11-26 18:47:21 +00:00
Johannes Anderwald
755bf1c3e7 - make code ANSI-C compatible (makes msvc more happier )
svn path=/trunk/; revision=30780
2007-11-26 11:24:48 +00:00
Johannes Anderwald
d5c52ddf0e - german translation of open with dialog
svn path=/trunk/; revision=30779
2007-11-26 10:59:30 +00:00
Aleksey Bragin
10e97e413e Dmitry Chapyshev <lentind@yandex.ru>
- Improve "Open With..." dialog in terms of UI/design.
- Add one more icon.

svn path=/trunk/; revision=30778
2007-11-26 10:25:07 +00:00
Magnus Olsen
f8ae7d8856 activate ARB_multisample in mesa ext,
add stub for wglGetPixelFormatAttribivARB and  wglGetPixelFormatAttribfvARB

svn path=/trunk/; revision=30772
2007-11-25 23:27:24 +00:00
Aleksey Bragin
99f11f71d9 - Misc cleanups/fixes.
svn path=/trunk/; revision=30771
2007-11-25 23:00:46 +00:00
Johannes Anderwald
2ab4945ae6 - german translation of open with dialog
svn path=/trunk/; revision=30770
2007-11-25 22:57:49 +00:00
Magnus Olsen
ee56a4e474 Fix wglGetExtensionsStringARB and wglGetExtensionsStringEXT so it tell we support all wgl*
but we do not support all of them yet.

svn path=/trunk/; revision=30768
2007-11-25 22:55:05 +00:00
Magnus Olsen
462d823f7f ReactOS spefify change. our gdi32.dll does not have all opengl32 api yet.
so we need load opengl32.dll to solv this issue.  

svn path=/trunk/; revision=30767
2007-11-25 22:48:35 +00:00
Johannes Anderwald
36f131d36e - add resources for open with dialog
- use CDefFolderMenu_Create2 to create the default menu

svn path=/trunk/; revision=30766
2007-11-25 22:48:03 +00:00
Aleksey Bragin
832958b9bb - Remove unneeded kdb_string.c from the build, and a misc fix.
svn path=/trunk/; revision=30765
2007-11-25 22:46:13 +00:00
Aleksey Bragin
1ae1161ce9 - Remove Ke386WbInvd() and use compatible __wbinvd() intrinsic, already existing in ReactOS headers.
- Make i386-dis.c include ntoskrnl.h, remove all unneeded defines, fix function prototypes to match declared in kdb.h.

svn path=/trunk/; revision=30764
2007-11-25 22:33:50 +00:00
Johannes Anderwald
ceafa9d259 - check for NoOpen key (not yet used)
- recurse into persistent handler when required
- fix position for open with shell extension
- add notes for internet search for file type

svn path=/trunk/; revision=30763
2007-11-25 22:06:25 +00:00
Johannes Anderwald
6dcabded4e - add RRF_RT_ANY constant
svn path=/trunk/; revision=30762
2007-11-25 21:47:17 +00:00
Peter Ward
7f657113f7 - Fix a display bug when displaying binutils version.
svn path=/trunk/; revision=30761
2007-11-25 21:12:24 +00:00
Aleksey Bragin
bacd01ad48 - Fix an awful mistake, which made any request to unload a driver to end up in a BSOD (reading of an uninitialized variable, and again GCC silently missed that).
svn path=/trunk/; revision=30760
2007-11-25 21:04:44 +00:00
Johannes Anderwald
b344e147b3 - implement SHCreateDataObject
- fix prototype of CIDLData_CreateFromIDArray
- remove CIDLData_CreateFromIDArray from undocshell.h as its now documented in shlobj.h

svn path=/trunk/; revision=30759
2007-11-25 20:41:28 +00:00
Johannes Anderwald
9ece943c19 - add declaration of SHCreateDataObject
- fix & move declaration of CIDLData_CreateFromIDArray from shell32

svn path=/trunk/; revision=30758
2007-11-25 20:39:43 +00:00
Marc Piulachs
090e490da6 Add missing include glext.h
svn path=/trunk/; revision=30757
2007-11-25 20:32:10 +00:00
Magnus Olsen
f7c97d73d8 adding stub for wglChoosePixelFormatARB, wglSwapIntervalEXT, wglGetSwapIntervalEXT
svn path=/trunk/; revision=30756
2007-11-25 20:28:04 +00:00
Marc Piulachs
b98f8ef114 - updated blankscr file name
svn path=/trunk/; revision=30754
2007-11-25 20:10:29 +00:00
Marc Piulachs
2750f99b97 - Modified butterflies screensaver registry key
- Updated scrnsave library reference name
- started removing MSVC resource stuff
- renamed scrnsave to blankscr to avoid name conflicts with scrnsave library
- modified scrnsave (aka blankscr) to use scrnsave library . simplified the code a lot!
- various other small changes

svn path=/trunk/; revision=30753
2007-11-25 20:09:27 +00:00
Marc Piulachs
1a755132e9 rename scrnsavelib to scrnsave as it's the name for this library on MS's psdk
svn path=/trunk/; revision=30752
2007-11-25 20:05:51 +00:00
Magnus Olsen
c92208e81e starting add wgl support to icd
Thx Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) 
for the help getting this change

svn path=/trunk/; revision=30750
2007-11-25 19:42:51 +00:00
Aleksey Bragin
fbfd6f38a5 - Add isprint to ctype.h.
- Fix an uninitialized variable (I wonder how gcc missed that!).

svn path=/trunk/; revision=30748
2007-11-25 17:52:02 +00:00
Johannes Anderwald
93ad35126d - retrieve folder names for personal and bit bucket folder
- fix a few bugs in mydocuments shell folder code
- add a hack to get the path working

svn path=/trunk/; revision=30747
2007-11-25 17:46:11 +00:00
Aleksey Bragin
6a5dc65df6 - Use PISECURITY_DESCRIPTOR instead of an opaque PSECURITY_DESCRIPTOR.
svn path=/trunk/; revision=30746
2007-11-25 17:14:50 +00:00
Magnus Olsen
8067ef28f9 update mesa32 icd def file so it contain almost all standalon. so it can be use as opengl32.dll or icd interface
svn path=/trunk/; revision=30745
2007-11-25 17:12:27 +00:00
Pierre Schweitzer
63c8167a57 Simplified code
svn path=/trunk/; revision=30744
2007-11-25 17:08:13 +00:00
Magnus Olsen
32162878f4 Update the icd with two more opengl api.
mark up which opengl api belong to which version
BugFix : DrvDescribePixelFormat so it does not crash in windows.
mesa3D ICD works now in windows. 

svn path=/trunk/; revision=30743
2007-11-25 16:56:51 +00:00
Daniel Reimer
dfe92554e8 German Translation fixes by Gregor Schneider (grschneiderATgmailDTcom)
svn path=/trunk/; revision=30741
2007-11-25 15:57:20 +00:00
Pierre Schweitzer
1b3dd9fe0e Use a default path if there are no settings
svn path=/trunk/; revision=30740
2007-11-25 15:46:06 +00:00
Magnus Olsen
fb7fa3afaf add directdraw3 guid to dxguid
svn path=/trunk/; revision=30737
2007-11-25 14:43:36 +00:00
Magnus Olsen
8b838171f0 fix a header issue with wine d3d.h
svn path=/trunk/; revision=30736
2007-11-25 13:35:45 +00:00
Magnus Olsen
2d0b2c25bf make our ddraw.h better that ms.
add the DirectDraw3 interface, I did not found any doc of it from ms.
 so I did look at wine headers see if they got it, so I using that info into our ddraw.h
DirectDraw3 are being use of ms iexplorer according some devs from wine  

svn path=/trunk/; revision=30735
2007-11-25 12:59:30 +00:00
Magnus Olsen
6bdea4f82c include wine d3d9 to bootcd
svn path=/trunk/; revision=30734
2007-11-25 12:42:13 +00:00
Magnus Olsen
2c03dfe5ad do not build our stub d3d9 build wine instead
svn path=/trunk/; revision=30733
2007-11-25 12:41:00 +00:00
Magnus Olsen
fc63f9adee import wine directx d3d9 version 0.9.49
svn path=/trunk/; revision=30732
2007-11-25 12:13:33 +00:00
Magnus Olsen
7a53ca4d32 fix compiling warings for d3d9 that I got local.
svn path=/trunk/; revision=30731
2007-11-25 12:08:36 +00:00
Magnus Olsen
c6102fb959 update d3d8 to wine 0.9.49
svn path=/trunk/; revision=30730
2007-11-25 11:16:27 +00:00
Magnus Olsen
3d237b54ad fix some of wine d3d8 waring at compiling.
no waring are show in d3d8 now. 

svn path=/trunk/; revision=30729
2007-11-25 11:14:43 +00:00
Aleksey Bragin
0b0fb5b032 - Guard MSVC's intrinsics with #ifdefs. Proper solution is to move those functions to intrin.h once host tools including target headers problem is solved. libcntpr now builds with MSVC8.
svn path=/trunk/; revision=30728
2007-11-24 21:28:11 +00:00
Thomas Bluemel
9e8530d01a Support hiding keyboard cues and focus rectangles
See issue #2839 for more details.

svn path=/trunk/; revision=30727
2007-11-24 20:49:20 +00:00
Aleksey Bragin
5e4658d7a9 - Don't escape defines with a " -> &quot; conversion, just omit the quotes.
svn path=/trunk/; revision=30724
2007-11-24 17:13:30 +00:00
Aleksey Bragin
db2556cb04 - MS's crt headers define this as 'const'. Fixes an error with MSVC compilation.
svn path=/trunk/; revision=30723
2007-11-24 16:51:05 +00:00
Hervé Poussineau
0777353232 Remove YDEBUG define support, replaced by DEBUGCHANNEL environment variable
Syntax: set DEBUGCHANNEL = [[fixme|err|warn|trace]+|-{channel}|all]*

svn path=/trunk/; revision=30722
2007-11-24 15:31:50 +00:00
Colin Finck
b3cfc14c86 Bulgarian translations by Станев (sstpr AT narod DOT ru)
See issue #2837 for more details.

svn path=/trunk/; revision=30721
2007-11-24 13:28:58 +00:00
Magnus Olsen
19ae483e87 Main_DirectDraw_EnumDisplayModes
Forget Zero out two struct before they are being use

svn path=/trunk/; revision=30717
2007-11-24 12:57:26 +00:00
Pierre Schweitzer
f05d14ae61 Updated French translation
svn path=/trunk/; revision=30716
2007-11-24 11:20:53 +00:00
Pierre Schweitzer
ec59ed82f2 - Fixed and enabled about dialog
- Added French translation

svn path=/trunk/; revision=30714
2007-11-24 09:14:56 +00:00
Magnus Olsen
267c6c63f9 fix stupied bug in GetDeviceIdentifier/GetDeviceIdentifier7,
spotted by Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) 


svn path=/trunk/; revision=30709
2007-11-23 23:36:53 +00:00
Magnus Olsen
be9c3ff7cb fix return code in ddraw.dll GetCaps.cbug spotted by Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
svn path=/trunk/; revision=30706
2007-11-23 22:02:43 +00:00
Aleksey Bragin
cbf9e5b6d4 - Cleanup NtCreateKey and NtOpenKey to make it simpler for the final steps of the rewirte.
- Remove SEH and callbacks (yes this is "bad", but won't break anything, and it will be added back).
- Try to make the code as similar as possible to isolate broken-Ob calls from proper Cm behavior.

svn path=/trunk/; revision=30705
2007-11-23 20:32:38 +00:00
Aleksey Bragin
0fa0af9d7a - Huge cleanup of cm.h -- remove stuff that's not needed/used anymore
- Get rid of registry.c.
- Move CmpLinkHiveToMaster to cmsysini.c since it now uses new config code and works properly.
- Move CmpRosGetHardwareHive to cmsysini.c since it's an initialization function (will go away eventually).

svn path=/trunk/; revision=30704
2007-11-23 19:29:45 +00:00
Aleksey Bragin
ab909ae7aa - Remove CmiInitHives.
- Enable parallel hive loading, this speeds up boot by loading the registry in 6 threads instead of just one (once we start having large registries and MP support this will be more evident).
- Added some little hacks to make this work for now.
- Fix a memory leak in CmInit1.
- Add hardware hive to machine hive list so it can be properly loaded after.

svn path=/trunk/; revision=30703
2007-11-23 18:52:46 +00:00
Art Yerkes
011800f50d Mostly revert my earlier attempt at fixing IRP cancellation. I'll attack it
again later.

svn path=/trunk/; revision=30701
2007-11-23 18:06:07 +00:00
Art Yerkes
3e39927a8f We need an address within the stack in order for freeing it to work properly.
svn path=/trunk/; revision=30700
2007-11-23 17:33:29 +00:00
Colin Finck
517c73e082 [FORMATTING]
- Fix the indentation mess
- Fix some typos in comments

No code changes

svn path=/trunk/; revision=30698
2007-11-23 16:21:10 +00:00
Colin Finck
8d91a510a9 When someone tries to copy a file over itself, show an error message.
We already had such a check in the code, but after Brandon's copy.c rewrite in r16561, it never got called.
I removed the old check now and put a new one at the right position.

See issue #2827 for more details.

svn path=/trunk/; revision=30696
2007-11-23 15:53:57 +00:00
Aleksey Bragin
ccba9533e8 - Remove hack in CmpLinkHiveToMaster and make it support the "Allocate" boolean parameter.
- Enable code in CmiInitHives to take advantage of the new link code when using the SYSTEM hive on the bootcd/setup.
- Don't skip CmpCreateControlSet anymore, just add a simple hack to hard-code Current to 001.
- Remove CmiInitControlSetLink since CmpCrateControlSet now does the work
- Enable code in CmpInitializeSystemHive to use CmpInitializeHive(HINIT_CREATE) when creating a new SYSTEM hive, since we now have new link code that supports the "Allocate" flag.
- This means we now have a working SYSTEM hive on the Boot CD as well since early bootup, and not only when NtInitializeRegistry is called
- Do bootcd vs hard-disk boot registry path setup in CmpGetRegistryPath instead of in-line.

svn path=/trunk/; revision=30695
2007-11-23 15:26:27 +00:00
Aleksey Bragin
6896e0c290 - Major cleanup of code inside CmiConnectHive:
- Don't derefernece the parent key since we need to keep a reference to it
- Set the hive dirty flag to clean after a connect
- Simplify code
- Move code as part of CmpLinkHivetoMAster
- Use new function CmpCreateLinkNode instead of CmpDoCreate
- Fix some asserts in CmpCreateLinkNode since we don't lock the KCB yet.

svn path=/trunk/; revision=30694
2007-11-23 14:15:04 +00:00
Art Yerkes
06220aab9e tcpip:
Factor out common datagram receive code.
Actually implement datagram cancellation.

afd:
Reorganize IRP cancellation and simplify socket shutdown.
Fix datagram recv with no address differently (and better).

Overall: fix hang after ping.

svn path=/trunk/; revision=30693
2007-11-23 13:52:56 +00:00
Aleksey Bragin
c24f0e963d - Fix typos.
svn path=/trunk/; revision=30692
2007-11-23 13:48:25 +00:00
Aleksey Bragin
787a5cdaa4 - Add a check for an incorrect virtual size. Currently ReactOS's floppy.sys has such an incorrect section.
svn path=/trunk/; revision=30691
2007-11-23 13:39:31 +00:00
Christoph von Wittich
d4e96ba358 don't free pool when allocation failed
svn path=/trunk/; revision=30690
2007-11-23 10:36:00 +00:00
Christoph von Wittich
337038529d link to secur32 - will be needed by newer wine versions
svn path=/trunk/; revision=30689
2007-11-23 10:10:21 +00:00
Christoph von Wittich
6691091e28 add stub for InitializeSecurityContextW
svn path=/trunk/; revision=30688
2007-11-23 09:10:32 +00:00
Christoph von Wittich
119d8d8d28 don't try to alphablend monochrome bitmaps - fixes the red zone overwrite in opera 9.24
svn path=/trunk/; revision=30687
2007-11-23 07:33:54 +00:00
Magnus Olsen
4a7a3ecee7 small fix for cGetTTFFromFOT
fix the number of param, 
did do a pedump. on export to found out it is @28
but I need look at my private note later

svn path=/trunk/; revision=30686
2007-11-23 01:38:54 +00:00
Timo Kreuzer
5aff597e67 add cGetTTFFromFOT stub. I don't know the number of parameters, but this allows loading gdi32 on win xp using myapp.exe.local
gdi32api test on win xp: 209 tests pass, 62 tests fail.

svn path=/trunk/; revision=30685
2007-11-23 01:08:47 +00:00
Magnus Olsen
669a391613 patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
update the dx version number for ddraw.dll to same as windows xp ddraw.dll 
it help some program works. 


svn path=/trunk/; revision=30684
2007-11-22 22:26:04 +00:00
Timo Kreuzer
ed7c97c492 add fontview to bootcd and add ttf file association
See issue #1411 for more details.

svn path=/trunk/; revision=30683
2007-11-22 20:15:30 +00:00
Magnus Olsen
f249b4f16d Implement DirectDrawEnumerateW, DirectDrawEnumerateExW they always return DDERR_UNSUPPORTED
svn path=/trunk/; revision=30682
2007-11-22 19:36:16 +00:00
Magnus Olsen
de3d1d2725 Implement DirectDrawEnumerateA
the DirectDrawEnumerateProcData struct are from wine. rest of the code are writen by me. 
the DirectDrawEnumerateExA are not finish but it is a start. 


svn path=/trunk/; revision=30681
2007-11-22 19:11:43 +00:00
Aleksey Bragin
95e31f7de7 - Fix prototype of NtLoadKeyEx.
- Refactor CmiLoadHives using new config routines instead of deprecated cm routines.
- Stop using deprecated CmiScanKeyForValue (delete regfile.c as a result).
- Add code for parallel hive loading to speed up boot process, but don't yet fully use it due to changes required in linking hives.
- Add code for new hive linking process (CmpCreateLinkNode/CmpDoOpen). Not yet used to avoid too many changes in one patch. 
- Add new code in CmiLoadHives to deal with updated linking process when it becomes used.
- Implement NtLoadKey2 to cal NtLoadKeyEx.
- Implement NtLoadKeyEx as a new config routine, using CmLoadKey, move out of Cm.
- Add some more code in CmpInitializeSystemHive to deal with SYSTEM hive creation during setup, once hive linking is refactored.
- Implement a new command except for flushing -- open: CmpCmdHiveOpen. Used by CmLoadKey.
- Add support for impersonating the SYSTEM account if the hive can't be open in the current client security context.
- Fill out CmpMachineHiveList, to be used in parallel hive loading.

svn path=/trunk/; revision=30680
2007-11-22 18:38:32 +00:00
Aleksey Bragin
76f076659d Igor Koshpaev <tumans@nm.ru>
- More fixes for rasapi32's russian translation.

svn path=/trunk/; revision=30679
2007-11-22 18:22:28 +00:00
Aleksey Bragin
1cbd3b7d55 Dmitry Chapyshev <lentind@yandex.ru>
- Fix russian translation in shell32 and rasapi32.
- Add rasdlg.dll ("Wine-style").

svn path=/trunk/; revision=30678
2007-11-22 18:04:21 +00:00
Aleksey Bragin
e26d80c4fc Dmitry Chapyshev <lentind@yandex.ru>
- Icons cleanup/fixes (remove 4bit images, etc).

svn path=/trunk/; revision=30677
2007-11-22 17:52:42 +00:00
Daniel Reimer
9bf128a547 Last missing German RC File. :-)
svn path=/trunk/; revision=30676
2007-11-22 15:46:10 +00:00
Daniel Reimer
a9013910f1 Two more German translations by me, myself and my humble personality. One for modemui.dll and one for appwiz.cpl.
svn path=/trunk/; revision=30675
2007-11-22 15:15:14 +00:00
Timo Kreuzer
d79659982b rbuild files use tab indentation
svn path=/trunk/; revision=30674
2007-11-22 15:12:39 +00:00
Christoph von Wittich
17e098c5bf fix msvc build
svn path=/trunk/; revision=30673
2007-11-22 14:28:21 +00:00
Christoph von Wittich
db79be2e33 fix memory corruption
svn path=/trunk/; revision=30672
2007-11-22 14:06:12 +00:00
Art Yerkes
95dd7ac0b9 Fix prefast errors (submitted by Christoph Von Wittich)
1 Function was unused.
lock.c: Add missing null check.

svn path=/trunk/; revision=30671
2007-11-22 12:10:08 +00:00
Christoph von Wittich
f8d4f55a39 fix some PREfast warnings
svn path=/trunk/; revision=30670
2007-11-22 11:54:26 +00:00
Christoph von Wittich
1c2dcfb8fa fix a PREfast warning
svn path=/trunk/; revision=30669
2007-11-22 11:48:43 +00:00
Christoph von Wittich
d8bcaefe5e fix some PREfast warnings
svn path=/trunk/; revision=30668
2007-11-22 11:36:32 +00:00
Christoph von Wittich
485fb49bc0 fix msvc build by replacing DDKAPI with NTAPI (both __stdcall)
fix some format strings

svn path=/trunk/; revision=30667
2007-11-22 11:27:17 +00:00
Christoph von Wittich
fd1d7e0437 don't return a value in a void function
svn path=/trunk/; revision=30666
2007-11-22 11:12:39 +00:00
Aleksey Bragin
4349c4c375 Dmitry Chapyshev <lentind@yandex.ru>
- Add two include files from Wine, they will be needed for a DLL to be committed later.

svn path=/trunk/; revision=30665
2007-11-22 09:42:50 +00:00
Daniel Reimer
9a06cfbe8c German Translations for ipconfig, clb.dll and rasapi32.dll
tbd: modemui and appwiz

svn path=/trunk/; revision=30664
2007-11-22 09:16:23 +00:00
Aleksey Bragin
479e1def7c Dmitry Chapyshev <lentind@yandex.ru>
- Add russian translation for screensavers.

svn path=/trunk/; revision=30663
2007-11-22 09:11:32 +00:00
Aleksey Bragin
1632a10382 Dmitry Chapyshev <lentind@yandex.ru>
- Add more defines to ras.h and rasdlg.h

svn path=/trunk/; revision=30662
2007-11-22 09:06:12 +00:00
Thomas Bluemel
55e7ab53a2 Add a hack for SPI_GETKEYBOARDCUES
svn path=/trunk/; revision=30661
2007-11-22 05:36:01 +00:00
Thomas Bluemel
e4c06afd1d Forward WM_UPDATEUISTATE to DefWindowProc
svn path=/trunk/; revision=30660
2007-11-22 05:33:22 +00:00
Thomas Bluemel
c0a6ffd7ce - Support DT_PREFIXONLY and DT_HIDEPREFIX in DrawTextEx
- Support DSS_PREFIXONLY and DSS_HIDEPREFIX in DrawState

svn path=/trunk/; revision=30659
2007-11-22 00:40:24 +00:00
Thomas Bluemel
682de0efb8 Add missing definitions
svn path=/trunk/; revision=30658
2007-11-22 00:38:24 +00:00
Thomas Bluemel
9e7d6ab10e - Display cues and focus when hitting the ALT key.
- Simplify broadcasting the UI state change

svn path=/trunk/; revision=30657
2007-11-22 00:09:21 +00:00
Colin Finck
cb52e39d9f Update mingw headers to version 3.13
Patch by encoded

I made the following modifications to the patch:
- excpt.h   - Removed the inclusion of <windef.h>, it caused compilation problems and I don't see a need for it, also CRT headers shouldn't include PSDK headers at all
- tchar.h   - Removed the file as it would most-probably interfere with our PSDK tchar.h and this shouldn't be a CRT header
- values.h  - Removed the file, it has no real content
- varargs.h - Removed the file, it just contains a #include_next line to include the next available varargs.h, also #include_next directives aren't supported by MSVC
See issue #2736 for more details.

svn path=/trunk/; revision=30656
2007-11-21 23:50:03 +00:00
Colin Finck
fdc5759408 Get avtest to build again by adding the _NTDDK_ define
See issue #2220 for more details.

svn path=/trunk/; revision=30655
2007-11-21 22:41:24 +00:00
Christoph von Wittich
45c4d83bf6 fix some format strings
svn path=/trunk/; revision=30652
2007-11-21 21:25:26 +00:00
Christoph von Wittich
c045e00d74 SetDlgItemText doesn't like NULL
svn path=/trunk/; revision=30650
2007-11-21 21:02:16 +00:00
Christoph von Wittich
29135cfaaf fix some PREfast warnings
svn path=/trunk/; revision=30649
2007-11-21 20:35:52 +00:00
Colin Finck
4183277285 Bulgarian translations by Станев (sstpr AT narod DOT ru)
See issue #2838 for more details.

svn path=/trunk/; revision=30647
2007-11-21 20:23:15 +00:00
Christoph von Wittich
c07289cdd1 fix some warnings
svn path=/trunk/; revision=30646
2007-11-21 20:14:25 +00:00
Aleksey Bragin
7353b246e9 Dmitry Chapyshev <lentind@yandex.ru>
- Add russian translation.
- Fix control's size (in all languages).

svn path=/trunk/; revision=30645
2007-11-21 19:54:06 +00:00
Thomas Bluemel
e0aab6ead8 Only update the UI state if the dialog is a top level window. If it is a client window (e.g. a property sheet or embedded dialog) we simply copy the UI state from the parent.
svn path=/trunk/; revision=30644
2007-11-21 19:53:09 +00:00
Christoph von Wittich
7e90f1d184 set DRIVER_DISPATCH where needed
svn path=/trunk/; revision=30643
2007-11-21 19:37:33 +00:00
Christoph von Wittich
8780344b1b fix condition
svn path=/trunk/; revision=30642
2007-11-21 19:11:40 +00:00
Christoph von Wittich
5d2b1b1435 fix a format string
svn path=/trunk/; revision=30641
2007-11-21 17:28:15 +00:00
Christoph von Wittich
3da1b0d2e9 fix some format strings
svn path=/trunk/; revision=30640
2007-11-21 17:20:36 +00:00
Christoph von Wittich
20d54e190b fix building with msvc
svn path=/trunk/; revision=30639
2007-11-21 17:18:25 +00:00
Christoph von Wittich
13381f6a4b don't assign DO_DIRECT_IO directly to DeviceObject->Flags
set DRIVER_DISPATCH where needed

svn path=/trunk/; revision=30638
2007-11-21 17:11:49 +00:00
Christoph von Wittich
e7df482753 fix some format strings
svn path=/trunk/; revision=30637
2007-11-21 17:08:21 +00:00
Christoph von Wittich
2ebb95a057 fix some format strings
svn path=/trunk/; revision=30636
2007-11-21 16:50:07 +00:00
Colin Finck
06d7a1861b Add the greek translation for comctl32 from Wine on request of Apostolos Alexiadis (djapal AT gmail DOT com)
He published it some months ago in bug 2464, then sent it to Wine and now it got applied there.

As I don't want to risk new regressions, I only imported the translation from Wine instead of doing a full winesync.

svn path=/trunk/; revision=30634
2007-11-21 16:27:35 +00:00
Christoph von Wittich
37f215e162 don't assign DO_DIRECT_IO directly to DeviceObject->Flags
svn path=/trunk/; revision=30633
2007-11-21 16:01:59 +00:00
Colin Finck
3d3273d8a4 Italian translation for mstsc by Gabriel Ilardi (gabrielilardi AT hotmail DOT it)
See issue #2794 for more details.

svn path=/trunk/; revision=30632
2007-11-21 15:58:33 +00:00
Ged Murphy
ff3ab4a9f3 add some basic command line parsing
svn path=/trunk/; revision=30631
2007-11-21 15:58:00 +00:00
Christoph von Wittich
6f2afc126e fix format strings
svn path=/trunk/; revision=30630
2007-11-21 15:55:58 +00:00
Christoph von Wittich
96cebf42c3 set DRIVER_CANCEL and DRIVER_DISPATCH where needed
svn path=/trunk/; revision=30629
2007-11-21 15:53:31 +00:00
Christoph von Wittich
e4a00dc451 don't include crt
define STDCALL

svn path=/trunk/; revision=30628
2007-11-21 15:46:38 +00:00
Christoph von Wittich
ddcd968807 initialize Bios Parameter Block
fix building with msvc

svn path=/trunk/; revision=30627
2007-11-21 15:40:41 +00:00
Colin Finck
16a82647de Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2836 for more details.

svn path=/trunk/; revision=30625
2007-11-21 14:26:42 +00:00
Colin Finck
d257461c98 Update information about shell32, it has been forked at Wine-20071011
svn path=/trunk/; revision=30623
2007-11-21 12:17:44 +00:00
Christoph von Wittich
1b69e6d038 adding back -enable-stdcall-fixup linkerflag
svn path=/trunk/; revision=30622
2007-11-21 11:47:58 +00:00
Aleksey Bragin
27cfa889db - Slightly reformat.
svn path=/trunk/; revision=30621
2007-11-21 11:21:07 +00:00
Aleksey Bragin
776a248981 - Remove stupid and greatly broken "let's wait in a loop, while querying current time" by calls to KeDelayExecutionThread().
svn path=/trunk/; revision=30620
2007-11-21 11:18:15 +00:00
Aleksey Bragin
ac0ce5049d - Implement some roothub URB handling, and generic URB completion (copied from EHCI's).
- Now OHCI is able to read ports statuses, and even discovers a low-speed device connected to the port, however port status clearing doesn't seem to work.

svn path=/trunk/; revision=30619
2007-11-21 11:15:43 +00:00
Christoph von Wittich
aeab4b393d fix some PREfast warnings
svn path=/trunk/; revision=30618
2007-11-21 11:09:47 +00:00
Christoph von Wittich
b72f3e3943 don't try to free CurrentBuffer when allocation failed
svn path=/trunk/; revision=30617
2007-11-21 10:57:25 +00:00
Aleksey Bragin
167bf281dc - Start implementing URB operations (so that at least roothub URB could come through).
svn path=/trunk/; revision=30616
2007-11-21 09:51:03 +00:00
Aleksey Bragin
fb08021b40 Andrey Korotaev <unC0Rr@inbox.ru>
- Fix inverted logic in fs recognizer, and some comment fixes.
See issue #2325 for more details.

svn path=/trunk/; revision=30615
2007-11-21 09:18:32 +00:00
Christoph von Wittich
4f69fa75ae initialize FileName and SourceBuffer
svn path=/trunk/; revision=30614
2007-11-21 09:13:33 +00:00
Thomas Bluemel
fc02f8d454 Make dialogs update the UI state
svn path=/trunk/; revision=30613
2007-11-21 09:12:20 +00:00
Thomas Bluemel
6e7848434b Check SPI_GETKEYBOARDCUES to find out if we should process WM_CHANGEUISTATE and WM_UPDATEUISTATE
svn path=/trunk/; revision=30612
2007-11-21 08:43:20 +00:00
Thomas Bluemel
d77503dadb Implement WM_QUERYUISTATE, WM_CHANGEUISTATE and WM_UPDATEUISTATE
svn path=/trunk/; revision=30611
2007-11-21 08:32:45 +00:00
Thomas Bluemel
2bc07496f3 Store the internal window placement directly inside the WINDOW structure
svn path=/trunk/; revision=30610
2007-11-21 05:35:33 +00:00
Thomas Bluemel
bfc8890eee Optimize GetDesktopWindow() to read the information from the shared heap
svn path=/trunk/; revision=30609
2007-11-20 23:15:49 +00:00
Aleksey Bragin
836f7e1954 - Implement a port reset function.
- Fix a bug in get_dev_change function.

svn path=/trunk/; revision=30608
2007-11-20 22:45:48 +00:00
Aleksey Bragin
de4fffafa1 - Implement init and start of OHCI controller (interrupts are still disabled, because corresponding code is not implemented).
- Implement stubbed HCD interface functions for OHCI.
- Add Endpoint Descriptor and Transfer Descriptor structs from Linux.

svn path=/trunk/; revision=30607
2007-11-20 20:50:56 +00:00
Christoph von Wittich
0fdacaa71e SetupDiGetDeviceInstanceId returns size in characters not in bytes
svn path=/trunk/; revision=30606
2007-11-20 20:44:24 +00:00
Christoph von Wittich
2b14de3b3c set TARGETTYPE=LIBRARY when fileext is dll
svn path=/trunk/; revision=30605
2007-11-20 20:05:38 +00:00
Thomas Bluemel
258050487c Optimize TranslateMessage() to only call win32k for messages that need to be translated
svn path=/trunk/; revision=30604
2007-11-20 19:58:51 +00:00
James Tabor
48a2026e7a Removing old syscalls and updated related files. Old syscalls will be renamed for internal use.
svn path=/trunk/; revision=30603
2007-11-20 19:56:57 +00:00
Christoph von Wittich
5c489c528b use sizeof(OBJECT_ATTRIBUTES) instead of sizeof(POBJECT_ATTRIBUTES) when probing ObjectAttributes for read
svn path=/trunk/; revision=30602
2007-11-20 19:35:40 +00:00
Christoph von Wittich
f61535edf3 add missing brackets in MmReserveSwapPages
svn path=/trunk/; revision=30601
2007-11-20 19:15:02 +00:00
Christoph von Wittich
8082ec1aff fix some format strings
svn path=/trunk/; revision=30600
2007-11-20 19:10:42 +00:00
Christoph von Wittich
78be83f3a8 limit length of szValue to LF_FACESIZE to prevent a buffer overflow
initialize szValue

svn path=/trunk/; revision=30599
2007-11-20 16:05:59 +00:00
Christoph von Wittich
28b9cdca2f define DDDKAPI - it isn't defined in WDK
svn path=/trunk/; revision=30598
2007-11-20 15:42:29 +00:00
Christoph von Wittich
5fa07ce1cc use ExAllocatePoolWithTag instead of ExAllocatePool
svn path=/trunk/; revision=30597
2007-11-20 15:26:17 +00:00
Aleksey Bragin
418e0cc05a - Add roothub status operations.
- Ports count is correctly detected now.
- Added all necessary stubs for HCD interface, so that usbdriver can work further.

svn path=/trunk/; revision=30596
2007-11-20 15:16:16 +00:00
Aleksey Bragin
9a0b86e617 - Further develop OHCI init code (based on linux-2.6.14.3).
svn path=/trunk/; revision=30595
2007-11-20 13:51:59 +00:00
Aleksey Bragin
50c8bf2b7a - Fix build.
svn path=/trunk/; revision=30594
2007-11-20 13:47:45 +00:00
Aleksey Bragin
d694ddff70 - Implement more OHCI helper routines.
svn path=/trunk/; revision=30593
2007-11-20 12:58:23 +00:00
Aleksey Bragin
9e0a62ad2c - Don't create a possibility for CriticalRegion leakage (spotted by PREfast).
svn path=/trunk/; revision=30592
2007-11-20 11:53:15 +00:00
Art Yerkes
b74b8c6e6a We need to separate the idea of 'fully initialized' from 'ldr data structures
are present' so we can deal with early thread creation.  This fixes cygwin.

svn path=/trunk/; revision=30591
2007-11-20 10:22:52 +00:00
Aleksey Bragin
7de35ea613 - Load symbols for NTOSKRNL and HAL as 1st and 2nd entries in LoadOrderList in LPB.
- Remove now unused symbol-loading function, silence an error message in rossym/frommem.c, since it's a normal situation now (if it's not in memory, then it's on disk and needs to be loaded).

svn path=/trunk/; revision=30590
2007-11-20 10:17:34 +00:00
Christoph von Wittich
28960f40d7 add missing STDCALL decorations
svn path=/trunk/; revision=30589
2007-11-20 08:12:33 +00:00
Christoph von Wittich
2d54e54552 remove the -enable-stdcall-fixup linkerflag
svn path=/trunk/; revision=30588
2007-11-20 08:06:46 +00:00
Christoph von Wittich
dc20252719 adding back STDCALL decorations
svn path=/trunk/; revision=30587
2007-11-20 08:05:41 +00:00
Christoph von Wittich
7d817d0436 adding back STDCALL decorations
svn path=/trunk/; revision=30586
2007-11-20 08:05:20 +00:00
Christoph von Wittich
ef764f615e autogenerate module definition files for msvc
svn path=/trunk/; revision=30585
2007-11-20 07:51:53 +00:00
James Tabor
b9e90f2866 Sorry! revert the dump!
svn path=/trunk/; revision=30584
2007-11-20 05:31:21 +00:00
James Tabor
cc020a45fb Add IsObjectDead call and fixed the exceptions in gdiobj.
svn path=/trunk/; revision=30583
2007-11-20 05:25:13 +00:00
James Tabor
3d30146033 Optimize and cleanup dcutil.
svn path=/trunk/; revision=30582
2007-11-20 02:22:30 +00:00
James Tabor
d8159c7929 Fix another missing dca set.
svn path=/trunk/; revision=30581
2007-11-20 01:03:00 +00:00
Colin Finck
214c6fef87 Commit the "write" translation, which wasn't committed in r30579
See issue #2832 for more details.

svn path=/trunk/; revision=30580
2007-11-19 20:35:46 +00:00
Daniel Reimer
6cd36e2cba Patch: 2832 Ukrainian translation update (except the outdated downloader RC file) by temarezATyandex.ru
svn path=/trunk/; revision=30579
2007-11-19 20:05:05 +00:00
Christoph von Wittich
9c326c1b0b don't crash on media change while accessing data
svn path=/trunk/; revision=30578
2007-11-19 14:24:03 +00:00
Christoph von Wittich
17095a0c94 don't crash when Buffer is NULL
svn path=/trunk/; revision=30577
2007-11-19 12:14:54 +00:00
Aleksey Bragin
735f6dcf69 - Rewrite KdbSymProcessSymbols to use the KD_SYMBOLS_INFO structure kernel sends us. This removes the need for ugly names operations (maybe buggy!), and presents an elegant solution: just finding the needed module by its base address.
- As a result, ALL modules get their symbols loaded now.
- TODO: Remove KdbSymProcessBootSymbols(), it's used right now to load ntoskrnl and hal symbols during boot process.

svn path=/trunk/; revision=30576
2007-11-19 11:26:52 +00:00
James Tabor
49fd02d478 Fireball found one I missed.
svn path=/trunk/; revision=30575
2007-11-19 10:36:23 +00:00
Daniel Reimer
61705cebb5 Remove all trailing Spaces.
Change the Name shown for the ScreenSaver in the String to a more fitting one.
Add a German Resource.

svn path=/trunk/; revision=30574
2007-11-19 10:04:29 +00:00
James Tabor
daffd42203 Add a test for VM address space when accessing user data.
svn path=/trunk/; revision=30573
2007-11-19 07:41:11 +00:00
James Tabor
effad19afc Move gdi functions to dcattr. Tested Qemu with AbiWord.
svn path=/trunk/; revision=30572
2007-11-19 02:48:25 +00:00
Marc Piulachs
502b2e6106 Add butterfiles OpenGL screen saver to build
svn path=/trunk/; revision=30571
2007-11-19 01:26:33 +00:00
Marc Piulachs
be611cca2b Cool flying butterflies screen saver. It uses the new scrnsave library. All screen savers *should* be modified to use this library inset of replicating a large amount of code
Original work by Jeff Molofee tutorials (http://nehe.gamedev.net)
basically converted from C++ to C and adapted as a windows screensaver

svn path=/trunk/; revision=30570
2007-11-19 01:11:35 +00:00
Marc Piulachs
57993ed6d3 add scrnsave to build
svn path=/trunk/; revision=30569
2007-11-19 00:44:52 +00:00
Marc Piulachs
d155e9ddf8 Move scrnsave to a more correct location as it's a static library part of MS DDK
svn path=/trunk/; revision=30568
2007-11-19 00:35:39 +00:00
Art Yerkes
74c80e3705 When doing NtAllocateVirtualMemory, you need to MEM_RELEASE if you intend to
free the memory, otherwise you'll get stray address space hanging around.  This
was noticeable as a leak if you just left the command prompt sitting, because
every DC allocated to blink the cursor kept address space that was never freed.

svn path=/trunk/; revision=30567
2007-11-18 23:59:48 +00:00
Marc Piulachs
4ba2b63f3b This library is (hopefully) compatible with Microsoft's screen saver library.
svn path=/trunk/; revision=30566
2007-11-18 23:27:54 +00:00
Colin Finck
df58cb654b Also commit the previously left out translation for mstsc by Marc Tormo i Bochaca (mtbochaca AT ya DOT com)
See issue #2831 for more details.

svn path=/trunk/; revision=30565
2007-11-18 23:22:09 +00:00
Aleksey Bragin
03be8c2b8f - Reference/dereference the file object when working with it in the context of MPW thread. This prevents massive file operations (like copying) to crash ReactOS with writing to a freed memory exception.
svn path=/trunk/; revision=30564
2007-11-18 23:11:20 +00:00
Colin Finck
34d621bb58 MSVC compatibility fix (inline -> __inline)
This makes building rbuild with VS possible again.

svn path=/trunk/; revision=30563
2007-11-18 23:00:21 +00:00
Colin Finck
638f3da863 Some Catalan translations by Marc Tormo i Bochaca (mtbochaca AT ya DOT com)
See issue #2831 for more details.

svn path=/trunk/; revision=30562
2007-11-18 22:55:58 +00:00
Thomas Bluemel
ab4e7b1729 Get rid of string pool helper routines
svn path=/trunk/; revision=30561
2007-11-18 22:53:30 +00:00
Eric Kohl
35f10174b2 List all user profiles (SIDs only).
svn path=/trunk/; revision=30559
2007-11-18 19:54:04 +00:00
Aleksey Bragin
15fbbf1138 - Make .def file more consinsten with mingw's syntax (by aicommander).
svn path=/trunk/; revision=30558
2007-11-18 19:15:11 +00:00
Christoph von Wittich
73b55e61c8 fix most compilation issues with msvc
svn path=/trunk/; revision=30557
2007-11-18 19:00:17 +00:00
Christoph von Wittich
8d6220cb32 forgot to add #ifdef MSVC_VER
svn path=/trunk/; revision=30556
2007-11-18 18:20:07 +00:00
Christoph von Wittich
77993f765c fix compilation with msvc
svn path=/trunk/; revision=30555
2007-11-18 17:58:05 +00:00
Johannes Anderwald
9e5fc92cad - add rtf file association by Cameron Gutman aicommander [at] gmail [dot] com
- add shellnew static handler

svn path=/trunk/; revision=30553
2007-11-18 17:29:52 +00:00
Aleksey Bragin
b0390b71c0 Igor Koshpaev <tumans@nm.ru>
- Add russian translations for input.dll and rasapi32.dll

svn path=/trunk/; revision=30552
2007-11-18 16:49:29 +00:00
Aleksey Bragin
3a82305cde - Fix paged pool overwrite in IopUnloadDriver, due to a typo in arithmetic. Thanks to Andrey Korotaev (unC0Rr) for the testcase.
- Make error debug output DPRINT1 instead of DPRINT.

svn path=/trunk/; revision=30551
2007-11-18 16:12:45 +00:00
James Tabor
99b52bc16a Fix dprint.
svn path=/trunk/; revision=30550
2007-11-18 15:52:31 +00:00
Aleksey Bragin
0217654258 - Revert 30542, bend to mingw, and use its crappy @nn syntax. Otherwise it can't link glu32 and other.
svn path=/trunk/; revision=30549
2007-11-18 15:51:57 +00:00
Christoph von Wittich
1b11a5e02b fix a typo
svn path=/trunk/; revision=30548
2007-11-18 14:39:28 +00:00
Johannes Anderwald
a6b1efe4da - implement setting values WantsFORDisplay && HideAsDeletePerUser (not yet used)
- register control panel shell folder
- fix a memory leak

svn path=/trunk/; revision=30547
2007-11-18 14:17:39 +00:00
James Tabor
92f9c23098 Complete move to Dc_Attr in win32k. Tested Qemu Linux, Xp with AbiWord.
svn path=/trunk/; revision=30546
2007-11-18 13:51:34 +00:00
Aleksey Bragin
29077a08f7 - Include "obj-i386"\include path in the 'additional include directories' too for MSVC (since roscfg.h resides there).
svn path=/trunk/; revision=30545
2007-11-18 13:43:13 +00:00
Pierre Schweitzer
2bf254d901 Hackfix Download! to get it working under ReactOS
svn path=/trunk/; revision=30544
2007-11-18 13:33:06 +00:00
Aleksey Bragin
83593d753a - MSVC compatibility fix (inline -> __inline).
svn path=/trunk/; revision=30543
2007-11-18 13:29:57 +00:00
Aleksey Bragin
b880c442cc - Make opengl32.def MSVC-compatible.
svn path=/trunk/; revision=30542
2007-11-18 13:06:38 +00:00
Pierre Schweitzer
a651f76068 Updated French translation
svn path=/trunk/; revision=30541
2007-11-18 13:01:18 +00:00
Daniel Reimer
475e550ac8 Add German Translation.
svn path=/trunk/; revision=30540
2007-11-18 12:46:55 +00:00
Christoph von Wittich
d1c6db9923 fix compilation with msvc
svn path=/trunk/; revision=30539
2007-11-18 12:36:52 +00:00
Hervé Poussineau
afeaa146f4 Add back ClassInstall32 section, accidentally removed in r30320
svn path=/trunk/; revision=30538
2007-11-18 12:00:46 +00:00
Gregor Brunmar
f33d18ade0 Corrected small typo
svn path=/trunk/; revision=30537
2007-11-18 11:28:46 +00:00
Pierre Schweitzer
ace610467a Updated French translation
svn path=/trunk/; revision=30536
2007-11-18 10:53:07 +00:00
Aleksey Bragin
95e1eddf2d Dmitry Chapyshev <lentind@yandex.ru>
- Improve the icon, as usual.

svn path=/trunk/; revision=30535
2007-11-18 10:06:20 +00:00
Aleksey Bragin
b6e40ce60a - Revert sysdm changes made in 30533.
svn path=/trunk/; revision=30534
2007-11-18 10:05:23 +00:00
Aleksey Bragin
330224b972 Dmitry Chapyshev <lentind@yandex.ru>
- Slightly improve icons.
- Add buttons icons in the dlg "Hardware Profiles".
- Russian translation fixes for shell32, syssetup, devmgr.

svn path=/trunk/; revision=30533
2007-11-18 10:02:30 +00:00
Aleksey Bragin
ed9851a353 Dmitry Chapyshev <lentind@yandex.ru>
- Improve icons, as usual (add missing icon images, slightly improve icons).
- Some translation fixes for servman.
- Removed message forbidding mstsc translation.
- Added 8 and 16 bits icons for mstsc.
- Change notepad's icon, the old one was too bad.

svn path=/trunk/; revision=30532
2007-11-18 09:59:52 +00:00
Eric Kohl
15cceadaff Start working on the user profile page:
- Initialize the list view columns.
- Disable the "Delete" and "Copy To" buttons if the user is not an admin.

svn path=/trunk/; revision=30531
2007-11-17 22:24:29 +00:00
Aleksey Bragin
a7627d27fa Dmitry Chapyshev <lentind@yandex.ru>
- Add modemui.dll implementation.

svn path=/trunk/; revision=30530
2007-11-17 22:09:34 +00:00
Pierre Schweitzer
e27bf617b3 Italian translations update by Paolo Devoti (devotip@tiscali.it)
See issue #2773 for more details.

svn path=/trunk/; revision=30529
2007-11-17 21:23:31 +00:00
Pierre Schweitzer
73034772dd - Reactivated French translation in mstsc
- Added French translation for telephon

svn path=/trunk/; revision=30528
2007-11-17 20:59:33 +00:00
Pierre Schweitzer
f9cfbc7b38 Ukrainian translation update (temarez@yandex.ru)
See issue #2812 for more details.

svn path=/trunk/; revision=30527
2007-11-17 20:49:49 +00:00
Magnus Olsen
90c87db539 Fix a WCHAR issue in opengl32 one char was not in wchar format. discover it by compiling with VS
Use the C version of GLFUNCS_MACRO for VS and only use the inline assembler version if it _MINGW32_ set
Fix few warnings for VS


svn path=/trunk/; revision=30526
2007-11-17 20:22:45 +00:00
Christoph von Wittich
133a4f5385 initialize DirectoryHandle, add a DPRINT which displays the status returned by NtCreateFile in case of error
svn path=/trunk/; revision=30525
2007-11-17 18:23:16 +00:00
Pierre Schweitzer
fc85b8befa Updated French translation
svn path=/trunk/; revision=30524
2007-11-17 18:01:55 +00:00
Pierre Schweitzer
f7dae856a2 Updated French translation
svn path=/trunk/; revision=30523
2007-11-17 17:16:58 +00:00
Eric Kohl
26db43fc7e Sort the default input languages alphabetically.
svn path=/trunk/; revision=30522
2007-11-17 16:16:22 +00:00
Thomas Bluemel
80036846f5 Optimize GetWindow() for the case GW_OWNER to read from the desktop heap
svn path=/trunk/; revision=30521
2007-11-17 07:19:47 +00:00
Thomas Bluemel
53b892f4d2 Optimize IsWindowVisible() a bit more to use the desktop heap directly
svn path=/trunk/; revision=30520
2007-11-17 07:01:14 +00:00
Thomas Bluemel
0a9026f76e Optimize IsChild() to use the desktop heap instead of calling win32k
svn path=/trunk/; revision=30519
2007-11-17 06:50:23 +00:00
Thomas Bluemel
1e40d2861b Optimize GetAncestor for the most common case GA_PARENT (for now)
svn path=/trunk/; revision=30518
2007-11-17 06:22:39 +00:00
Thomas Bluemel
07c6776607 Optimize GetParent() to read the information from the desktop heap
svn path=/trunk/; revision=30517
2007-11-17 06:12:48 +00:00
Thomas Bluemel
5a3970d087 Optimize DispatchMessageA/W to avoid calls to win32k
svn path=/trunk/; revision=30516
2007-11-17 05:08:13 +00:00
Thomas Bluemel
f5e6721b33 Allow selecting disabled menu items
svn path=/trunk/; revision=30515
2007-11-17 02:24:50 +00:00
Thomas Bluemel
232b9edcf0 Optimize SendMessageA/W to allow certain messages be sent without calling win32k
svn path=/trunk/; revision=30514
2007-11-17 00:40:22 +00:00
Thomas Bluemel
7033c976bb Protect GetClassLong() and GetWindowText() with SEH as they're following pointers in the desktop heap
svn path=/trunk/; revision=30513
2007-11-16 21:56:23 +00:00
Aleksey Bragin
2348eeb813 - Fix a typo.
svn path=/trunk/; revision=30511
2007-11-16 19:49:09 +00:00
Christoph von Wittich
e53cdd4d78 sync to wine
svn path=/trunk/; revision=30510
2007-11-16 17:50:54 +00:00
Christoph von Wittich
088ea0e914 sync LISTBOX_InsertString to wine
svn path=/trunk/; revision=30509
2007-11-16 14:45:36 +00:00
The Wine Synchronizer
f8bee32f89 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30508
2007-11-16 14:08:22 +00:00
The Wine Synchronizer
d836202ddb Autosyncing with Wine HEAD
svn path=/trunk/; revision=30507
2007-11-16 14:07:03 +00:00
The Wine Synchronizer
3e6e325148 Autosyncing with Wine HEAD
svn path=/trunk/; revision=30506
2007-11-16 14:06:39 +00:00
Hervé Poussineau
d530018cd7 Prepare import of rsabase.dll and rsaenh.dll from Wine
svn path=/trunk/; revision=30505
2007-11-16 14:04:32 +00:00
Ged Murphy
eb78b6a630 bump up the _WIN32_IE number to make various PSDK interfaces available
svn path=/trunk/; revision=30504
2007-11-16 13:45:21 +00:00
Ged Murphy
83ea1f3b3b remove from todo.h
svn path=/trunk/; revision=30503
2007-11-16 13:30:44 +00:00
Ged Murphy
efd76c656d add IDeskBarClient interface to shlobj
svn path=/trunk/; revision=30502
2007-11-16 13:28:02 +00:00
Hervé Poussineau
a5728dd37f Fix race condition
svn path=/trunk/; revision=30501
2007-11-16 13:16:43 +00:00
James Tabor
910520b648 This helps FF 1.5.03 Restore from Maximize. Anyone open to a full rewrite of winpos and support?
svn path=/trunk/; revision=30500
2007-11-16 12:57:01 +00:00
Hervé Poussineau
4dc31c38a9 Enable mouse before resetting it
svn path=/trunk/; revision=30499
2007-11-16 11:05:22 +00:00
Christoph von Wittich
f1ca500ada fix some bugs in GetTimeZoneListIndex
svn path=/trunk/; revision=30498
2007-11-16 10:22:01 +00:00
Thomas Bluemel
a61d6e83df Optimize IsWindow() and IsWindowUnicode()
svn path=/trunk/; revision=30497
2007-11-16 09:03:51 +00:00
Thomas Bluemel
7cd69cac74 Use correct buffer size in GetClassNameW()
svn path=/trunk/; revision=30496
2007-11-16 08:43:50 +00:00
Thomas Bluemel
cb75e8f462 Optimize ClientToScreen(), ScreenToClient() and MapWindowPoints()
svn path=/trunk/; revision=30495
2007-11-16 08:03:04 +00:00
Christoph von Wittich
43eb284cea sync to wine
Author: Alexandre Julliard <julliard at winehq.org>
Don't wait for the command to terminate in ShellLink_InvokeCommand.

svn path=/trunk/; revision=30493
2007-11-16 07:36:46 +00:00
Thomas Bluemel
bc74f1df6f Make registration of system window classes a bit more robust
svn path=/trunk/; revision=30492
2007-11-16 07:12:59 +00:00
Thomas Bluemel
6687385c3b Optimize GetClassLongA/W to read most information from the desktop heap
svn path=/trunk/; revision=30491
2007-11-16 03:02:38 +00:00
Thomas Bluemel
fdb8bd5a53 Optimize GetWindowText(Length)A/W and WM_GETTEXT(LENGTH)
svn path=/trunk/; revision=30490
2007-11-16 02:37:14 +00:00
Thomas Bluemel
99767a3b59 Some minor optimizations
svn path=/trunk/; revision=30489
2007-11-15 23:57:50 +00:00
Christoph von Wittich
ef944678e3 better stub for FileEncryptionStatusW
svn path=/trunk/; revision=30488
2007-11-15 23:46:15 +00:00
Christoph von Wittich
705aec95ec add some defines
svn path=/trunk/; revision=30487
2007-11-15 23:44:18 +00:00
Thomas Bluemel
38d979cc6c Change call to NtUserGetWindowLong to GetWindowLong in EnableWindow
svn path=/trunk/; revision=30486
2007-11-15 23:00:01 +00:00
Magnus Olsen
30f2c8cc1c Updating Mesa32 icd interface to support some of opengl 2.1 api.
more will comes. 

svn path=/trunk/; revision=30485
2007-11-15 22:52:40 +00:00
Art Yerkes
bc5448476a Rolled into RosBE-PPC.
svn path=/trunk/; revision=30484
2007-11-15 22:46:58 +00:00
Magnus Olsen
0c1dbbc1ff Updating Mesa32 icd interface to support some of opengl 2.1 api.
more will comes. 

svn path=/trunk/; revision=30482
2007-11-15 22:44:48 +00:00
Christoph von Wittich
2e1a67c326 add some defines
svn path=/trunk/; revision=30480
2007-11-15 22:34:51 +00:00
Colin Finck
2e7c00d808 Brazilian Portuguese translation for msconfig by Mateus de Lima (mateusloliveira AT hotmail DOT com)
See issue #2771 for more details.

svn path=/trunk/; revision=30479
2007-11-15 22:26:15 +00:00
Colin Finck
71db3667f7 Ukrainian translation for WinHelp by Rostislav Zabolotny (rstzab AT yandex DOT ru)
See issue #2765 for more details.

svn path=/trunk/; revision=30478
2007-11-15 22:11:27 +00:00
Thomas Bluemel
4fae2f5e49 Implement GetWindowLongA/W without having to call win32k for most cases
svn path=/trunk/; revision=30477
2007-11-15 22:08:13 +00:00
Colin Finck
dc8202841b Attempt to fix the build...
svn path=/trunk/; revision=30476
2007-11-15 22:05:15 +00:00
Colin Finck
b5e7df42cc - Add new spectrum bitmaps for 4bpp, 8bpp and 16-32bpp. The 8bpp one can probably be done better, but at least it's suitable ;-)
As we use StretchBlt in the code, the bitmaps are very small, so they are stretched to the full size at runtime.
- Change the current spectrum bitmap, when the user selects another color depth
- Enable support for 4bpp color depth
- Fix a bug in "monslctl.c", which broke building under MSVC

svn path=/trunk/; revision=30475
2007-11-15 21:38:36 +00:00
Aleksey Bragin
6fa082e5c1 - Thanks hpoussin for remind!
svn path=/trunk/; revision=30473
2007-11-15 21:05:57 +00:00
James Tabor
47037791f7 Add more data for ClientInfo, Callback and support per thread hooks.
svn path=/trunk/; revision=30471
2007-11-15 21:01:13 +00:00
Hervé Poussineau
aa3c97709d Reset mouse to detect its type
See issue #2817 for more details.

svn path=/trunk/; revision=30470
2007-11-15 20:13:49 +00:00
Aleksey Bragin
1971167c46 - Import rasapi32 from Wine, add it to the install disk.
- Add resources (Dmitry Chapyshev).

svn path=/trunk/; revision=30468
2007-11-15 19:58:13 +00:00
Thomas Bluemel
23c877364c - Fix desktop heaps handling and various bugs
- Begin superseding the WINDOW_OBJECT structure by WINDOW which is located on the desktop heap
- Implement GetClientRect() and GetWindowRect() to read the information from the desktop heap

svn path=/trunk/; revision=30467
2007-11-15 19:42:41 +00:00
Aleksey Bragin
7175aa584f Dmitry Chapyshev <lentind@yandex.ru>
- Update ras headers, up to Win2003 version. These headers are not syncable with Wine, since ours are more complete now.

svn path=/trunk/; revision=30464
2007-11-15 17:17:57 +00:00
Marc Piulachs
8747fa8bc6 update maze screensaver path
svn path=/trunk/; revision=30463
2007-11-15 17:00:46 +00:00
Marc Piulachs
57193fc999 Forgot to commit it
svn path=/trunk/; revision=30462
2007-11-15 16:59:12 +00:00
Marc Piulachs
0a68fe54ba Fix maze screensaver and move it to a more adecuate location
svn path=/trunk/; revision=30461
2007-11-15 16:56:54 +00:00
Christoph von Wittich
3108cffbe2 sync CryptAcquireContext to wine (this fixes some Unicode issues)
svn path=/trunk/; revision=30460
2007-11-15 14:08:18 +00:00
Magnus Olsen
c698adf067 Implement wglGetDefaultProcAddress
------------------------------------
Simple copy the wglGetProcAddress, it is only one different between them
it is wglGetProcAddress should call on glflush to clear the interface
before it give the address. 

svn path=/trunk/; revision=30459
2007-11-15 12:57:21 +00:00
Christoph von Wittich
2ac23d7f2c fix a resource leak
svn path=/trunk/; revision=30458
2007-11-15 10:54:11 +00:00
Thomas Bluemel
bbf86d9a89 Dereference callproc handles without a system call
svn path=/trunk/; revision=30455
2007-11-15 05:42:44 +00:00
Thomas Bluemel
1392564c0d Forgot to commit this
svn path=/trunk/; revision=30454
2007-11-15 03:09:44 +00:00
Thomas Bluemel
97d89fe93a Translate pointers in ValidateHandle to the user mode mapping
svn path=/trunk/; revision=30453
2007-11-15 03:08:46 +00:00
Thomas Bluemel
98bcda510c Expose the pointer to the shared heap and the delta to the user mode mapping
svn path=/trunk/; revision=30452
2007-11-15 02:23:41 +00:00
James Tabor
82592efb34 Fix define from wine.
svn path=/trunk/; revision=30451
2007-11-15 01:28:26 +00:00
Thomas Bluemel
0e033bbd53 Delete all GLDCDATA structures in wglDeleteContext that share the same ICD
svn path=/trunk/; revision=30450
2007-11-15 00:13:57 +00:00
Timo Kreuzer
349ba2667d Release keyboard modifiers in KeybardThreadMain on KEY_BREAK. Fixes bug 2751. I think the whole handling of modifiers is still pretty hackish and could need some improvement.
See issue #2751 for more details.

svn path=/trunk/; revision=30449
2007-11-14 23:28:18 +00:00
James Tabor
417b927ad5 Removed code support for dcattr, it was over kill. Fix display locks, take resource from GdiDevice. If pDc_Attr zero, use internal. Fix mass exit error when freeing already freed handle.
svn path=/trunk/; revision=30448
2007-11-14 22:53:19 +00:00
Hervé Poussineau
966589d400 Fix USE_API_SHCREATEDESKTOP = 0 case
svn path=/trunk/; revision=30447
2007-11-14 15:35:58 +00:00
Christoph von Wittich
16e92aa3e5 don't try to copy lpToken when it is NULL
svn path=/trunk/; revision=30446
2007-11-14 15:02:41 +00:00
Daniel Reimer
f29cdc46e5 Update the German Translation and reactivate it.
svn path=/trunk/; revision=30444
2007-11-14 13:52:45 +00:00
Hervé Poussineau
8e6023d4bd Try to be more consistent in unimplemented messages
svn path=/trunk/; revision=30443
2007-11-14 13:14:46 +00:00
Ged Murphy
8b43f34cf0 add part of the patch from bug 2805 with some minor changes
See issue #2805 for more details.

svn path=/trunk/; revision=30442
2007-11-14 13:05:51 +00:00
Hervé Poussineau
06f3a18483 Try to be more consistent in unimplemented messages
svn path=/trunk/; revision=30441
2007-11-14 12:50:12 +00:00
Hervé Poussineau
53516e1e20 No need to cast variables, as they already are of the right type
svn path=/trunk/; revision=30440
2007-11-14 12:26:39 +00:00
Hervé Poussineau
5806de25d7 No need to display function name and file/line twice
svn path=/trunk/; revision=30439
2007-11-14 12:25:53 +00:00
Hervé Poussineau
7eb7ac5e3c Use Wine debug channel infrastructure. I modified it a bit to match our debug message format
To test it, set DEBUGCHANNEL environment variable to what you want to see, and run your program.
Syntax: set DEBUGCHANNEL = [[fixme|err|warn|trace]+|-{channel}|all]*

svn path=/trunk/; revision=30438
2007-11-14 12:18:37 +00:00
Ged Murphy
701d6ddd8c I thought these changes were in the last commit..
svn path=/trunk/; revision=30437
2007-11-14 11:43:10 +00:00
Christoph von Wittich
8e3dc7d845 add stub for Wow64EnableWow64FsRedirection
svn path=/trunk/; revision=30436
2007-11-14 11:39:32 +00:00
Ged Murphy
b0cd70a978 load the header text from the resources
svn path=/trunk/; revision=30435
2007-11-14 11:34:10 +00:00
Hervé Poussineau
0e2f934d30 Let Wine library use kernel32 functions
svn path=/trunk/; revision=30434
2007-11-14 10:56:17 +00:00
Hervé Poussineau
f99a56335f Add missing debug channel declarations
svn path=/trunk/; revision=30433
2007-11-14 09:02:53 +00:00
Hervé Poussineau
287c4e6a3a Don't mix ReactOS and Wine debug style
svn path=/trunk/; revision=30432
2007-11-14 07:53:01 +00:00
Johannes Anderwald
3e367f8894 - implement _ILIsMyDocuments
- halfplement MyDocuments shell folder based on desktop code
- insert MyDocuments folder before MyComputer pidl
- setup still needs to create the MyDocuments folder

svn path=/trunk/; revision=30431
2007-11-14 00:45:08 +00:00
Thomas Bluemel
cf3352e6bc Make initializing the ICD in ROSGL_ICDForHDC thread-safe
svn path=/trunk/; revision=30430
2007-11-14 00:01:36 +00:00
Thomas Bluemel
65636af627 Make opengl initialization thread-safe
svn path=/trunk/; revision=30429
2007-11-13 23:30:17 +00:00
Thomas Bluemel
d3e6d6d283 Fix freeing lists on process detach
svn path=/trunk/; revision=30428
2007-11-13 22:59:49 +00:00
Magnus Olsen
7ebbdf5274 Bugfix : Do not assume unini value ( OPENGL32_tls ) are set to -1 (0xFFFFFFFF), do not assume DWORD always will be 32bits convert all 0xFFFFFFFF value for OPENGL32_tls to -1
svn path=/trunk/; revision=30427
2007-11-13 19:32:36 +00:00
Johannes Anderwald
d23e936e77 - call CDefFolderMenu_Create2 to create the context menus
- should ignore cidl account as the implementation should handle this automatically
- will be enabled for the background context menus later

svn path=/trunk/; revision=30426
2007-11-13 19:30:27 +00:00
Christoph von Wittich
9d3f29f8f2 don't delete the CriticalSection twice when FindClose is called twice - fixes a crash in Photoshop CS installer
svn path=/trunk/; revision=30425
2007-11-13 16:50:44 +00:00
Aleksey Bragin
845f7f54d2 - Make file lock and unlock operations succeed without doing actual locking (enough to make some apps work even if they don't have proper locking). DPRINT1s are inserted, so that this is not going to be forgotten.
svn path=/trunk/; revision=30424
2007-11-13 15:45:33 +00:00
Aleksey Bragin
629a6c0368 - Fix code formatting.
- Add TRACEs.

svn path=/trunk/; revision=30423
2007-11-13 15:41:22 +00:00
Timo Kreuzer
2b043c2212 charmap: scroll 1 position on SB_LINEDOWN and 1 page on SB_PAGEDOWN, update window on SB_THUMPTRACK, use ScrollWindowEx on scrolling.
svn path=/trunk/; revision=30422
2007-11-13 14:18:44 +00:00
Ged Murphy
6b877de3d5 add remote desktop client to the start menu
svn path=/trunk/; revision=30421
2007-11-13 13:41:08 +00:00
Ged Murphy
af74ed5867 add remote desktop to the bootcd as it's now working, but still unfinished.
svn path=/trunk/; revision=30420
2007-11-13 13:19:04 +00:00
Ged Murphy
a01bc65364 fix remaining warnings and add it to the build
svn path=/trunk/; revision=30419
2007-11-13 13:16:17 +00:00
Ged Murphy
fdc6a1425d silence a load of gcc warnings
svn path=/trunk/; revision=30418
2007-11-13 13:10:07 +00:00
Ged Murphy
a55222a1c5 remove a workaround for an early bug. The tabs will display correctly in low resolution now.
svn path=/trunk/; revision=30417
2007-11-13 11:53:31 +00:00
Magnus Olsen
b07f6eda61 fix a typo
svn path=/trunk/; revision=30416
2007-11-13 11:22:24 +00:00
Magnus Olsen
4c996c0670 Thx Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
testing Mesa3D 7.0.1 with all bugfix we have done, thanks to
all bugfix we can remove a smaller hack we did frist in glapi.c
Mesa3D 7.0.1 does not working in ReactOS with SSE support.
if we disable it, Quake 3 will work fine. 

svn path=/trunk/; revision=30415
2007-11-13 10:50:33 +00:00
Aleksey Bragin
7fc70c0db0 - Fix dxtn path once again (thanks Pigglesworth).
- Remove unneeded files from dxtn's source code.

svn path=/trunk/; revision=30414
2007-11-13 10:03:19 +00:00
Aleksey Bragin
88d59ae1a0 - Fix .rbuild indendation.
- Fix path to dxtn.
- All of this could be unneeded if Magnus paid more attention, and actually tested (dxtn) when commiting.

svn path=/trunk/; revision=30413
2007-11-13 09:43:17 +00:00
Hervé Poussineau
4e8cff2746 Add a stub for start menu object
svn path=/trunk/; revision=30412
2007-11-13 08:39:38 +00:00
Magnus Olsen
01e5498417 adding back sse, 3dnow, mmx compiling flag for mesa32.
------------------------------------------------------
Not tested with quake 3  

svn path=/trunk/; revision=30411
2007-11-13 00:49:47 +00:00
Magnus Olsen
4a84f72ff9 This update of Mesa3D to version 7.0.1 was done by Kamil Hornicek tykef at atlas dot cz (
irc nick : Pigglesworth) and me Debuging and testing in many days and week to getting 
this work thank you  Kamil Hornicek We where force doing maintain work on the ICD 
interface, All change we have done toghter are in the file mesa3d_icd_fix_ros.patch
Kamil report with this change Quake 3 works in ReactOS now

svn path=/trunk/; revision=30410
2007-11-13 00:08:33 +00:00
Magnus Olsen
c951b1a0c5 warring warring warring warring warring warring
This commit break the build for short while 
for we are updateing to Mesa3d version 7.0.1 
it does not exists another way doing the update
proper. 

svn path=/trunk/; revision=30409
2007-11-12 23:57:45 +00:00
Hervé Poussineau
544095141d Add IOleCommandTarget to BandSite object
Add BandSiteMenu object
Fix some bugs

svn path=/trunk/; revision=30406
2007-11-12 20:59:59 +00:00
Hervé Poussineau
899ac74d81 section.c wasn't meant to be part of r30401
svn path=/trunk/; revision=30404
2007-11-12 19:47:35 +00:00
James Tabor
9c5a81037b Move types out of handles headers. Add Locks for displays.
svn path=/trunk/; revision=30402
2007-11-12 19:08:44 +00:00
Aleksey Bragin
0b529c1bb5 - Okay so...listen up. First off: When you acquire a lock such as a fast mutex, you should never acquire it recursively.
For example, when you handle a page fault in a section, then page fault while handling that page fault (which is perfectly okay),
  you shouldn't be trying to re-acquire the address space lock that you're already holding. After this fix, this scenario works
  and countless others. Apps like QTInfo now work and load, and PictureViewer doesn't BSOD the system anymore. I've fixed this by changing
  the lock to a pushlock. It not only increases speed inside the memory manager significantly (such as during page fault handling), but
  does allow recursive acquisition without any problems.
- Now if that wasn't bad enough, here's a couple more tips. Fast Mutexes actually require APC_LEVEL to be effective. If you're going
  to be using a Fast Mutex and calling it with the "Unsafe" version, then don't expect anything to work. Also, using functions like
  "CcTryToAcquireBrokenMutex" where correct code is duplicated then hacked to work isn't a big help either. And that's not all. Fast Mutex
  disables kernel APCs by setting the KernelApcDisable flag on, and it's expected that the count inside the fast mutex will match the count
  inside the thread. In other words, LOCK ACQUISITION AND RELEASE MUST BE ORDERED. You can't acquire LOCK A and B, and then release lock A 
  and B, because that leads to deadlocks and other issues. So of course, the Cache Manager acquired a view lock, then acquired a segment lock,
  then released the view lock, then released the segment lock, then re-acquired the view lock. Uh, no, that won't work. You know what else
  doesn't work so well? Disabling APCs about 6-9 times to acquire a single lock, and using spinlocks in the same code path as well. Just how
  paranoid are you about thread safety, but still manage to get it wrong? Okay, so we've got recursion, out-of-order lock acquision and
  release, made-up "broken" acquire functions, and using a lock that depends on APC_LEVEL at PASSIVE_LEVEL. The best part is when Cc builds
  an array of cache segments, and locks each of them... then during release, the list gets parsed head-first, so the first acquired locks
  get released first. So locks a, b, c, d get acquired, then a, b, c, d get released. Great! Sounds about right for ReactOS's Cache Manager
  design. I've changed the view lock to a guarded mutex -- which actually properly disables APCs and works at PASSIVE_LEVEL, and changed the
  segment locks to be push locks. First it'll be 10 times faster then acquiring a bazillion fast mutexes, especially since APCs have already
  been disabled at this point, and it also allows you to do most of the stupid things the Cache Manager does. Out-of-order release is still
  not going to work well, so eventually on a multi-processor machine the code will completely die -- but at least it'll work on UP for now.
  In the end, this makes things like the Inkscape installer and Quicktime Installer to work, and probably countless other things that generated
  ASSERTS in the fast mutex code.
  -- Alex Ionescu

svn path=/trunk/; revision=30401
2007-11-12 19:00:26 +00:00
Magnus Olsen
2653004ec0 Fix the build thx
Pigglesworth for all help and founding the ICD issue in reactos

svn path=/trunk/; revision=30400
2007-11-12 18:42:32 +00:00
Magnus Olsen
a240dabd79 fix Mesa ICD DrvSetFormatPixel, do not create stack cruption by ignore the 3 param.
copy code from fxgl interface and make DrvSetFormatPixel work

svn path=/trunk/; revision=30399
2007-11-12 18:39:47 +00:00
Magnus Olsen
90e352745f rosglSetPixelFormat
Fixing a bug in Opengl32.dll Do not hacking ICD interface to make mesa3D happy fix the 
ICD interface in mesa32 

svn path=/trunk/; revision=30398
2007-11-12 18:20:10 +00:00
Ged Murphy
27b7b817fd fix RosBE build
svn path=/trunk/; revision=30397
2007-11-12 16:08:54 +00:00
Ged Murphy
3f9c3024c8 implement opening of existing .rdp settings
svn path=/trunk/; revision=30396
2007-11-12 16:04:06 +00:00
Ged Murphy
dee600c979 fix build
svn path=/trunk/; revision=30395
2007-11-12 15:31:57 +00:00
Magnus Olsen
4f2cf28f5d forget this file sorry
svn path=/trunk/; revision=30394
2007-11-12 15:17:07 +00:00
Magnus Olsen
45455f92aa Update wine d3d8 and wined3d to wine release version 0.9.49
svn path=/trunk/; revision=30393
2007-11-12 14:56:05 +00:00
Ged Murphy
736f7a1dc9 implement Save As dialog
svn path=/trunk/; revision=30392
2007-11-12 14:45:20 +00:00
Ged Murphy
1d9f599737 Be lazy and add an underline to the bitmap header. Its easier than setting 2 coloured static controls
svn path=/trunk/; revision=30391
2007-11-12 14:21:20 +00:00
Magnus Olsen
8807a0dd76 remove white space commit. for those file are 100% share with wine.
svn path=/trunk/; revision=30390
2007-11-12 14:14:14 +00:00
Magnus Olsen
28ad3034a2 remove the entrypoint="0" in d3d8 wine
revert white space change, all file in directx/wine are from wine, and no change should be made

svn path=/trunk/; revision=30389
2007-11-12 14:08:56 +00:00
Hervé Poussineau
233f55f44f Do not check for a system menu on the NULL window
svn path=/trunk/; revision=30388
2007-11-12 13:36:34 +00:00
Ged Murphy
fe683582db save the settings to file when the connect button is hit
svn path=/trunk/; revision=30387
2007-11-12 12:43:58 +00:00
Ged Murphy
096ed8b631 - refactor .rdp reading
- fix the way the settings are saved
- fix a few other small bugs which I've forgotten about now

svn path=/trunk/; revision=30386
2007-11-12 12:32:32 +00:00
Hervé Poussineau
ed7a5c7e25 Add explorer-new to the build (doesn't work yet)
svn path=/trunk/; revision=30385
2007-11-12 11:41:29 +00:00
Aleksey Bragin
9fbafb9d2e - Fix russian translation (towerr).
svn path=/trunk/; revision=30384
2007-11-12 11:29:08 +00:00
Hervé Poussineau
4ddc7b7be9 Add a stub for rebar band site object
svn path=/trunk/; revision=30383
2007-11-12 10:29:17 +00:00
Aleksey Bragin
df0a21e8a8 - There is no DllMain in mesa32.
svn path=/trunk/; revision=30382
2007-11-12 10:22:41 +00:00
Hervé Poussineau
dd3812a909 Add missing macro
svn path=/trunk/; revision=30381
2007-11-12 10:14:28 +00:00
Hervé Poussineau
c7a1e0107c No need for <library> tags static libraries (which are never linked)
svn path=/trunk/; revision=30380
2007-11-12 10:12:01 +00:00
Hervé Poussineau
89cf1a7029 Silent some MSVC warnings
svn path=/trunk/; revision=30379
2007-11-12 10:06:05 +00:00
Hervé Poussineau
0981bbc07e Silent some MSVC warnings
svn path=/trunk/; revision=30378
2007-11-12 10:03:04 +00:00
Hervé Poussineau
85c79d4b97 Use NEXT_RESOURCE macro in acpi driver
Move pci hack a little bit later

svn path=/trunk/; revision=30377
2007-11-12 10:01:52 +00:00
Hervé Poussineau
be33f0b0ec Display wrong path in case of error
svn path=/trunk/; revision=30376
2007-11-12 09:59:52 +00:00
Hervé Poussineau
3be8ab2337 Small cleanup
svn path=/trunk/; revision=30375
2007-11-12 09:57:58 +00:00
James Tabor
f0e8f2df37 3rd FIN.
svn path=/trunk/; revision=30374
2007-11-12 06:43:44 +00:00
James Tabor
98f75aa494 2nd Sort out gdi device mess.
svn path=/trunk/; revision=30373
2007-11-12 04:58:41 +00:00
James Tabor
a990ff1e0a Removed unused DeviceDriver. Fix behavior for dcattr.
svn path=/trunk/; revision=30371
2007-11-12 03:22:12 +00:00
James Tabor
cd2962c5b8 1st Sort out gdi device mess.
svn path=/trunk/; revision=30370
2007-11-12 01:26:32 +00:00
Art Yerkes
d399d73f7a Handle recvfrom with no address buffer.
svn path=/trunk/; revision=30369
2007-11-11 22:28:39 +00:00
Art Yerkes
1b2108aee2 Properly handle access violation copying from userland.
svn path=/trunk/; revision=30368
2007-11-11 22:21:37 +00:00
Johannes Anderwald
9bcd750116 - hackfix build
svn path=/trunk/; revision=30367
2007-11-11 22:10:53 +00:00
Johannes Anderwald
a6a6521b06 - make INewItem_Constructor compatible to be loaded as a shell extension
- fix api definition of CDefFolderMenu_Create2
- disable loading of inewitem api (reenabled when default context menu api implementation is ready)

svn path=/trunk/; revision=30366
2007-11-11 21:38:44 +00:00
Johannes Anderwald
00b588a9c3 - fix api definition
- add clsid for new object service

svn path=/trunk/; revision=30365
2007-11-11 21:29:31 +00:00
Johannes Anderwald
bdeb24a1cc - add open with clsid && clsid for new object service
svn path=/trunk/; revision=30364
2007-11-11 21:28:10 +00:00
Aleksey Bragin
5b21408b33 - Winesync cppexcept.c. This fixes try/catch C++ exception handling in various apps (like MFC based apps).
svn path=/trunk/; revision=30363
2007-11-11 20:40:21 +00:00
Johannes Anderwald
ace89b703c - move Shell_MergeMenus to shlobj.h where it belongs
svn path=/trunk/; revision=30362
2007-11-11 18:14:11 +00:00
Aleksey Bragin
04be216fbb - Update MSVCRT_thread_data
- Winesync cpp.c.

svn path=/trunk/; revision=30361
2007-11-11 17:03:20 +00:00
Aleksey Bragin
2db7ea2321 - After bugfixing, more complete except_nt exception handling implementation could be used, so get rid of the old one and thus code duplication.
- Move cpp/cppexcept.c to /except directory, and add a specific note in README.WINE that those files are shared with Wine.
- I moved PowerPC stubs too, but it will most probably break anyway, due to more missing stubs, my apologize.
See issue #2371 for more details.

svn path=/trunk/; revision=30359
2007-11-11 15:47:21 +00:00
Eric Kohl
f0c9da09e2 - Display the current drive letter and its free disk space.
- Display the minimum, recommended and current page file size.

svn path=/trunk/; revision=30358
2007-11-11 15:24:31 +00:00
Art Yerkes
9c612e5515 Debug devtree.
Add generation of simple device tree in freeldr.

svn path=/trunk/; revision=30354
2007-11-11 11:14:52 +00:00
Aleksey Bragin
0ad062c8a2 - Fix two more typos, now exception handling doesn't lead to an infinite loop resulting in a stack overflow and thus unhandled exception being caught by ntoskrnl.
svn path=/trunk/; revision=30353
2007-11-11 10:03:12 +00:00
Art Yerkes
4551af021f Add structures related to devtree.c
svn path=/trunk/; revision=30352
2007-11-11 09:27:07 +00:00
Art Yerkes
fcfccd503e Simple way to encode a device tree for early boot operations.
svn path=/trunk/; revision=30351
2007-11-11 09:23:05 +00:00
James Tabor
643de8b21b We need a dpdev support for DX. All should go into ntgdidx.h.
svn path=/trunk/; revision=30350
2007-11-11 05:17:16 +00:00
Art Yerkes
e5be8f87ce Doh. Fix bad vsid assignment.
svn path=/trunk/; revision=30349
2007-11-11 03:41:31 +00:00
Art Yerkes
0eb32850f0 - Don't touch real segments until after booting.
- Hang function isn't too useful.

svn path=/trunk/; revision=30348
2007-11-11 03:19:17 +00:00
Timo Kreuzer
a8f9ec7c2a - NtUserScrollDC() only returns TRUE or FALSE
- NtGdiBitBlt(): don't SetLastError() on invalid dc, don't DPRINT1, DPRINT is enough.
- IntGdiGetClipBox(): don't SetLastError() on invalid dc

svn path=/trunk/; revision=30344
2007-11-11 00:41:27 +00:00
Timo Kreuzer
556614fa8a some more tests for NtUserScrollDC and NtGdiBitBlt
svn path=/trunk/; revision=30343
2007-11-11 00:19:42 +00:00
Timo Kreuzer
9c4b252f62 Some tests for NtUserScrollDC
svn path=/trunk/; revision=30342
2007-11-10 23:04:33 +00:00
Magnus Olsen
ddb0cabc04 Bugfix Mesa 6.1
The ICD interface does not export all functions, as it should, This change was spoken with Alesky about.
it letting us getting closer getting quake3 working in ReactOS/Windows with mesa
Waring 
we can not update to mesa 7.0x for the ICD are broken in mesa 7.0x. I
Need investigate why or some with more opengl experiences should do that 


  

svn path=/trunk/; revision=30341
2007-11-10 22:22:28 +00:00
Magnus Olsen
aa80331a5c fix a syntax erorror
svn path=/trunk/; revision=30340
2007-11-10 21:42:29 +00:00
Aleksey Bragin
bd25193c35 - Fix a bug (wrong push ... pop order).
svn path=/trunk/; revision=30339
2007-11-10 20:36:11 +00:00
Pierre Schweitzer
5a89f9b8b0 Fixed a typo
svn path=/trunk/; revision=30338
2007-11-10 20:08:27 +00:00
Hervé Poussineau
0159a42429 Don't mix ReactOS and Wine debug style
svn path=/trunk/; revision=30336
2007-11-10 17:12:43 +00:00
Eric Kohl
b43d7bc04a - Notify the system of changes to the environment variables.
- Parse pagefile sizes properly.
- Make pagefile sizes fully readable.

svn path=/trunk/; revision=30335
2007-11-10 16:50:22 +00:00
Eric Kohl
24e696cde0 Clean-up the resource files:
- Pushbuttons always have a height of 14 units.
- Use AUTOCHECKBOX and AUTORADIOBUTTON instead of CONTROL.
- Fix indentation.

svn path=/trunk/; revision=30334
2007-11-10 16:44:52 +00:00
Pierre Schweitzer
2f84aba958 - Added dead keys name
- Removed some comments

svn path=/trunk/; revision=30333
2007-11-10 16:22:06 +00:00
Magnus Olsen
a32893eca1 Merge from ReactX branch to trunk
----------------------------------------------------------------------------------
Adding dxtn.dll to reactos it is need for mesa opengl to use compress texture. 
for some issue this library are not build default, it need the patent flag be set
NSWPAT="1", This library are need it for opengl compress texture. But it will
not be in the official build, only for thus doing own build and activate the 
patent flag, will be avail use compress texture. I have spoken with 
Aleasky about this library. 
  

svn path=/trunk/; revision=30332
2007-11-10 16:02:43 +00:00
Maarten Bosma
9e1aa0ccb4 Fix CreateLogoffSecurityAttributes. It does still not work because SetEntriesInAcl is not implemented yet.
svn path=/trunk/; revision=30331
2007-11-10 15:56:36 +00:00
Hervé Poussineau
5800eb6a82 Rename variables
svn path=/trunk/; revision=30330
2007-11-10 15:47:01 +00:00
Hervé Poussineau
019b7e82cd Limit machine name size
Implement SetupDiGetDeviceInfoListDetailA
Rework SetupDiGetDeviceInfoListDetailW

svn path=/trunk/; revision=30329
2007-11-10 15:44:16 +00:00
Magnus Olsen
759c0dde2a Merge from branch ReactX to Trunk,
Please make a clean build after this update

Add dxg.sys driver 
----------------------------------------------------------------
This driver contains all DirectX graphic APIs called by win32k. Most of them
are stubbed, and the following APIs are implemented:
DxDxgGenericThunk, DxDdIoctl, DriverEntry, DxDdStartupDxGraphics, DxDdCleanupDxGraphics

Add dxgthk.sys driver, which is 100% finished
---------------------------------------------------------
The following APIs are implemented (almost all are forwarders):
DriverEntry, EngAcquireSemaphore, EngAllocMem, EngAllocUserMem,
EngCopyBits, EngCreateBitmap, EngCreatePalette, EngCreateSemaphore,
EngDeletePalette, EngDeleteSemaphore, EngDeleteSurface,
EngFindImageProcAddress, EngFreeMem, EngFreeUserMem,
EngLoadImage, EngLockSurface, EngReleaseSemaphore,
EngSetLastError, EngUnloadImage, EngUnlockSurface

Add dxapi.sys driver
--------------------------------------------------------------
Most of the APIs used by the graphic card's driver or win32k are stubs.
The following APIs are implemented:
DriverEntry, GsDriverEntry, DxApiGetVersion, DxApi.
All APIs which DxApi wraps are stubs.
 
Changes in win32k
-------------------------------------------------------------------
Move _DC struct to include\reactos\win32k\ntgdihdl.h
--------------------------------------------------------------------------
Implement NtGdiDdCanCreateD3DBuffer, NtGdiD3dContextDestroy,
NtGdiD3dContextDestroyAll, NtGdiDdCreateD3DBuffer, NtGdiDdDestroyD3DBuffer,
NtGdiD3dDrawPrimitives2, NtGdiDdLockD3D, NtGdiD3dValidateTextureStageState, 
NtGdiDdUnlockD3D, NtGdiDdCreateSurface, NtGdiDdWaitForVerticalBlank, 
NtGdiDdCanCreateSurface, NtGdiDdGetScanLine, NtGdiDdCreateSurfaceEx,
DxDdStartupDxGraphics, NtGdiDdCreateDirectDrawObject, NtGdiDxgGenericThunk,
NtGdiDdGetDriverState, NtGdiDdColorControl, NtGdiDdCreateSurfaceObject,
NtGdiDdCreateSurfaceObject, NtGdiDdDeleteDirectDrawObject, NtGdiDdDeleteSurfaceObject,
NtGdiDdQueryDirectDrawObject, NtGdiDdReenableDirectDrawObject, NtGdiDdGetDriverInfo,
NtGdiDdGetAvailDriverMemory, NtGdiDdSetExclusiveMode, NtGdiDdFlipToGDISurface,
NtGdiDdGetDC, NtGdiDdGetDxHandle, NtGdiDdReleaseDC, NtGdiDdResetVisrgn,
NtGdiDdSetGammaRamp, NtGdiDdDestroySurface, NtGdiDdFlip, NtGdiDdLock, NtGdiDdUnlock,
NtGdiDdBlt, NtGdiDdSetColorKey, NtGdiDdAddAttachedSurface, NtGdiDdGetBltStatus,
NtGdiDdGetFlipStatus, NtGdiDdUpdateOverlay, NtGdiDdSetOverlayPosition,
NtGdiDdAlphaBlt, NtGdiDdAttachSurface, NtGdiDdUnattachSurface,
NtGdiDvpCanCreateVideoPort, NtGdiDvpColorControl, NtGdiDvpCreateVideoPort,
NtGdiDvpDestroyVideoPort, NtGdiDvpFlipVideoPort, NtGdiDvpGetVideoPortBandwidth,
NtGdiDvpGetVideoPortFlipStatus, NtGdiDvpGetVideoPortInputFormats, 
NtGdiDvpGetVideoPortLine, NtGdiDvpGetVideoPortOutputFormats, 
NtGdiDvpGetVideoPortConnectInfo, NtGdiDvpGetVideoSignalStatus,
NtGdiDvpUpdateVideoPort, NtGdiDvpWaitForVideoPortSync,
NtGdiDvpAcquireNotification, NtGdiDvpReleaseNotification,
NtGdiDvpGetVideoPortField, NtGdiDdBeginMoCompFrame,
NtGdiDdCreateMoComp, NtGdiDdDestroyMoComp,
NtGdiDdEndMoCompFrame, NtGdiDdGetInternalMoCompInfo,
NtGdiDdGetMoCompBuffInfo, NtGdiDdGetMoCompFormats,
NtGdiDdGetMoCompGuids, NtGdiDdQueryMoCompStatus,
NtGdiDdRenderMoComp, HeapVidMemAllocAligned,
VidMemFree, EngAllocPrivateUserMem, EngFreePrivateUserMem,
EngLockDirectDrawSurface, EngUnlockDirectDrawSurface

But all those functions are stubbed in dxg.sys
----------------------------------------------------------------------------
Implemented APIsL

DxEngLockDC, DxEngUnlockDC, DxEngGetDCState, EngDxIoctl
----------------------------------------------------------------------------
Stubbed APIs:

DxEngNUIsTermSrv, DxEngRedrawDesktop, DxEngDispUniq, DxEngVisRgnUniq,
DxEngEnumerateHdev, DxEngGetDeviceGammaRamp, DxEngCreateMemoryDC,
DxEngScreenAccessCheck, DxEngLockShareSem, DxEngUnlockShareSem,
DxEngLockHdev, DxEngUnlockHdev, DxEngReferenceHdev,
DxEngIsHdevLockedByCurrentThread, DxEngUnreferenceHdev, 
DxEngSetDeviceGammaRamp, DxEngSpTearDownSprites, 
DxEngSpUnTearDownSprites, DxEngSpSpritesVisible,
DxEngGetHdevData, DxEngSetHdevData, DxEngGetDesktopDC,
DxEngDeleteDC, DxEngCleanDC, DxEngSetDCOwner,
DxEngSetDCState, DxEngSelectBitmap,DxEngSetBitmapOwner, 
DxEngDeleteSurface, DxEngGetSurfaceData, DxEngAltLockSurface,
DxEngUploadPaletteEntryToSurface, DxEngMarkSurfaceAsDirectDraw, 
DxEngSelectPaletteToSurface, DxEngSyncPaletteTableWithDevice,
DxEngSetPaletteState, DxEngGetRedirectionBitmap, DxEngLoadImage, 
DxEngIncDispUniq

----------------------------------------------------------------------------
Remember we need the DxEng APIs implemented and HeapVidMemAllocAligned,
VidMemFree, EngAllocPrivateUserMem, EngFreePrivateUserMem,
EngLockDirectDrawSurface, EngUnlockDirectDrawSurface implemented
before it's possible to have full DirectX support at kmode.

svn path=/trunk/; revision=30328
2007-11-10 15:31:49 +00:00
Hervé Poussineau
6ec1d71d50 Rework SetupDiOpenDevRegKey
svn path=/trunk/; revision=30327
2007-11-10 15:11:56 +00:00
Hervé Poussineau
69a20f248e Merge some changes from Wine
svn path=/trunk/; revision=30326
2007-11-10 14:35:21 +00:00
Hervé Poussineau
040332c006 Add a stub for SetupDiDeleteDevRegKey
svn path=/trunk/; revision=30325
2007-11-10 14:07:45 +00:00
Hervé Poussineau
c39ceb22e6 Rename SETUP_DEV_INFO_SET_MAGIC to SETUP_DEVICE_INFO_SET_MAGIC
Rename struct DeviceInfoElement to struct DeviceInfo
Add a link to DeviceInfoSet in each DeviceInfo structure (not used yet)

svn path=/trunk/; revision=30324
2007-11-10 14:04:55 +00:00
Aleksey Bragin
ce4c1b6f78 - Fix a bug.
( jz -> js, a typo)

svn path=/trunk/; revision=30323
2007-11-10 13:02:04 +00:00
Johannes Anderwald
e08c6513cc - fix a bug
svn path=/trunk/; revision=30321
2007-11-10 11:23:01 +00:00
Aleksey Bragin
399831685e - scsi.inf made by hpoussin, to address the issue in bug 2631.
See issue #2631 for more details.

svn path=/trunk/; revision=30320
2007-11-10 11:21:08 +00:00
Timo Kreuzer
83134d10e3 fix bug in NtUserToUnicodeEx. It still ignores the hkl parameter.
NtUserVkScanKeyEx: use HKL instead of ULONG_PTR.
See issue #2557 for more details.

svn path=/trunk/; revision=30318
2007-11-10 04:53:02 +00:00
Timo Kreuzer
7248541e08 some tests for NtUserToUnicodeEx
svn path=/trunk/; revision=30317
2007-11-10 04:21:35 +00:00
Timo Kreuzer
81b0a20436 add VK_OEM_102 to us keyboard layout
svn path=/trunk/; revision=30316
2007-11-10 03:44:31 +00:00
Johannes Anderwald
c58299d739 - readd MFT_SEPERATOR to background context menu
- add shell new implementation


svn path=/trunk/; revision=30307
2007-11-09 19:49:18 +00:00
Colin Finck
0d730a1f45 Silence some warnings when compiling taskmgr with MSVC2005
svn path=/trunk/; revision=30306
2007-11-09 19:46:01 +00:00
James Tabor
1a98aabcd1 No need for dca here if the ScreenDeviceContext is set inaccessible. So free the dca.
svn path=/trunk/; revision=30304
2007-11-09 18:05:41 +00:00
Magnus Olsen
d05c0eadf6 Update the documentation
adding lite more code 

svn path=/branches/reactx/; revision=30301
2007-11-09 17:33:02 +00:00
Johannes Anderwald
f6df1d4850 - move FCIDM_SHVIEW_NEW, FCIDM_SHVIEW_NEWFOLDER, FCIDM_SHVIEW_NEWLINK, from menu to resource strings
- delete new file object from background contextmenu code as this code this should be implemented as context menu extension

svn path=/trunk/; revision=30300
2007-11-09 17:24:10 +00:00
Aleksey Bragin
940adf0ece - Fix incidentally broken russian translation.
svn path=/trunk/; revision=30298
2007-11-09 15:40:10 +00:00
Colin Finck
58df092425 Many more conversions to Unicode function and type names for taskmgr
svn path=/trunk/; revision=30297
2007-11-09 15:26:02 +00:00
Aleksey Bragin
4be92e3dad Dmitry Chapyshev <lentind@yandex.ru>
- Small visual improvements in 24 and 8 bpp icons.
- Create 8bpp or 24bpp icons if they were missing somewhere.

svn path=/trunk/; revision=30296
2007-11-09 15:15:38 +00:00
Magnus Olsen
7e69094a29 Implement KsCreateAllocator, KsCreateClock, KsCreatePin, KsCreateTopologyNode
stub : KsiCreateObjectType
all functions are call to KsiCreateObjectType, so they are not really implement.
Old code from 2004, it have not been cleanup for KsiCreateObjectType, the new ks.h header I wrote is now ready for this code. 
This module can not be merge to trunk until the new ks.h is ready. 





svn path=/branches/reactx/; revision=30295
2007-11-09 15:08:44 +00:00
Aleksey Bragin
e416dfddb9 Dmitry Chapyshev <lentind@yandex.ru>
- Start implementing telephon.cpl.
- Delete flags.ico from intl.cpl, it's unused.

svn path=/trunk/; revision=30294
2007-11-09 14:56:33 +00:00
Magnus Olsen
6855595796 update the new ks-h with one more struct
svn path=/branches/reactx/; revision=30293
2007-11-09 14:21:55 +00:00
Aleksey Bragin
25c3bd5a53 - This one is not needed anymore (_LIBCNT_ is defined in libcntpr.rbuild, PCH is precomp.h).
svn path=/trunk/; revision=30292
2007-11-09 12:25:10 +00:00
Aleksey Bragin
1402877204 - Build crt and libcntpr from one source tree (using conditional code and/or different source files where code is not shared).
svn path=/trunk/; revision=30291
2007-11-09 12:20:16 +00:00
Ged Murphy
991f9bbaa6 missed a few
svn path=/trunk/; revision=30290
2007-11-09 11:47:10 +00:00
Ged Murphy
6d45e894ef convert to unicode in an attempt to address bug 2805
svn path=/trunk/; revision=30289
2007-11-09 11:40:54 +00:00
Aleksey Bragin
d63772135f - Copy except and memccpy.c from libcntpr.
svn path=/trunk/; revision=30288
2007-11-09 11:22:29 +00:00
James Tabor
28a73df1a2 Fix bug spoted by Stefan100 on IRC.
svn path=/trunk/; revision=30287
2007-11-09 09:13:01 +00:00
Aleksey Bragin
375959c206 - Sync some changes in strings from libcntpr.
- Move string implementation (in "header" files) into /string dir.
- Copy over libcntpr-specific implementations into _nt.c files (for now, later they could do with a define).
- libcntpr's is now almost fully syncronized and could be merged into the tree except for "except" directory.

svn path=/trunk/; revision=30283
2007-11-08 21:06:20 +00:00
Marc Piulachs
c8a87ec7b8 - Build API stats on request (new target "make rgenstat" will create apistatus.xml)
- Partly updated apistatus.lst 

svn path=/trunk/; revision=30282
2007-11-08 20:52:42 +00:00
Marc Piulachs
e85c37638b Don't build rgenstat when "make clean"
svn path=/trunk/; revision=30281
2007-11-08 20:49:55 +00:00
Magnus Olsen
59a7e0c23c Fix the reactx build for ksuser.dll
svn path=/branches/reactx/; revision=30278
2007-11-08 20:09:58 +00:00
Magnus Olsen
b9039cc7c8 Start on ksuser.
svn path=/branches/reactx/; revision=30277
2007-11-08 20:08:42 +00:00
Ged Murphy
45c452c254 add __REACTOS__ specific code to get around the fact that janderwald isn't working hard enough on shell32 ;)
svn path=/trunk/; revision=30276
2007-11-08 16:47:28 +00:00
Magnus Olsen
ea280e00a7 fix wdmguid.a (it is now compatible with ddk version 3790.1830)
svn path=/branches/reactx/; revision=30275
2007-11-08 16:19:08 +00:00
Ged Murphy
78cf4e67ec - save all settings to memory when the connect button is hit
- add some slightly hackish code to get the thing working.
- you should now be able to connect to Windows machines using your choice of IP address, resolution and bpp.

svn path=/trunk/; revision=30274
2007-11-08 15:29:23 +00:00
Ged Murphy
d5b90c8416 rename rdpfile.c to settings.c
svn path=/trunk/; revision=30273
2007-11-08 14:34:13 +00:00
Timo Kreuzer
f76e81e2f4 rename NtGdiGetClipBox to NtGdiGetAppClipBox
svn path=/trunk/; revision=30272
2007-11-08 14:29:31 +00:00
Ged Murphy
d86ceec6a5 move to a precompiled header
svn path=/trunk/; revision=30271
2007-11-08 13:24:13 +00:00
Ged Murphy
27f7b560cd add missing break
svn path=/trunk/; revision=30270
2007-11-08 13:06:00 +00:00
Ged Murphy
aaa63f3354 fix the header mess and get it building with rosbe, albeit with many warnings at the moment
svn path=/trunk/; revision=30269
2007-11-08 12:47:25 +00:00
Aleksey Bragin
75b952dde1 - Move ctype into strings.
- Separate msvcrt-specific exception handling routine into prolog.s file.
- Move bsearch to the search directory.

svn path=/trunk/; revision=30267
2007-11-08 12:15:39 +00:00
Aleksey Bragin
6b0e42017a - Rearrange source files location, so that string/math/etc routines aren't spread throughout the CRT tree.
svn path=/trunk/; revision=30266
2007-11-08 10:54:42 +00:00
James Tabor
67713c6221 Temp fix for the Window Handle issue.
svn path=/trunk/; revision=30261
2007-11-08 08:04:58 +00:00
James Tabor
623bdd6fe3 NtGdiGetChar/ABCWidth/sW now fully functional and tested good with AbiWord. Text looks very nice.
svn path=/trunk/; revision=30260
2007-11-08 06:17:17 +00:00
Timo Kreuzer
84c30a0495 IntGdiPolygon: close the polygon outline
See issue #2782 for more details.

svn path=/trunk/; revision=30259
2007-11-08 02:19:25 +00:00
Magnus Olsen
ce29a81e41 start fixing wdmguid.a 50% is done
svn path=/branches/reactx/; revision=30258
2007-11-08 01:49:53 +00:00
Timo Kreuzer
adece79667 clean up indentation, no code change
svn path=/trunk/; revision=30257
2007-11-08 01:22:40 +00:00
Magnus Olsen
171df52e37 add last guids for ksguid.a
This lib are now completed against ddk version 3790.1830

svn path=/branches/reactx/; revision=30256
2007-11-08 00:59:17 +00:00
Timo Kreuzer
ddbb4de935 clean up indentation, no code change
svn path=/trunk/; revision=30255
2007-11-08 00:36:15 +00:00
Ged Murphy
3eca2d9ddf - convert dialog to unicode
- fix /W4 warnings

svn path=/trunk/; revision=30254
2007-11-08 00:23:55 +00:00
Magnus Olsen
a430817798 add 20 more guids for ksguid.a
svn path=/branches/reactx/; revision=30253
2007-11-08 00:18:34 +00:00
Magnus Olsen
26c0180e8a smaller cleanup/sort in the guids define list bit
svn path=/branches/reactx/; revision=30252
2007-11-07 23:46:50 +00:00
Aleksey Bragin
5c34d25309 - SVN Maintenance.
svn path=/trunk/; revision=30251
2007-11-07 22:59:56 +00:00
Magnus Olsen
f3044a10fe add some more guids id to ksguid
smaller cleanup/sort in the guids define list bit

svn path=/branches/reactx/; revision=30250
2007-11-07 22:47:20 +00:00
Aleksey Bragin
6f00345570 - Partly enable tamlin's implementation, just so it doesn't bitrot being #if0-ed.
svn path=/trunk/; revision=30249
2007-11-07 22:42:34 +00:00
Aleksey Bragin
692eaf0a33 - SVN Maintenance.
svn path=/trunk/; revision=30248
2007-11-07 22:39:24 +00:00
Aleksey Bragin
f5ccdfc8e8 - Don't include <windows.h> if it's not needed.
- Fix strange usage of TABs.

svn path=/trunk/; revision=30247
2007-11-07 22:34:05 +00:00
Magnus Olsen
419b1f3665 add 40 more guids for ksguid.a
svn path=/branches/reactx/; revision=30246
2007-11-07 21:45:50 +00:00
Magnus Olsen
d4856b4202 add around 100 more guids for ksguid.a
svn path=/branches/reactx/; revision=30245
2007-11-07 20:57:31 +00:00
James Tabor
9a0cb042b7 Win32k/Gdi32
- Use Batch with SetBrushOrgEx now, removed NtGdiGetBrushOrgEx, update all related files.
- Fixed WinDC DCE death to all window DCE's. This will move to gdiobj as a check to see if a object handle is on deaths door. This prevents exceptions.
- Implemented NtgdiGet/ABCCharWidth/sW, updated all related files. Float and Indices not supported yet.
- Added Brush, Region and Font user attribute structures. Based on Yuan book.
- All tested with linux qemu with AbiWord 2.4.1.

svn path=/trunk/; revision=30244
2007-11-07 17:58:02 +00:00
Ged Murphy
53a432f25e initialize the main settings settings struct earlier as we'll need it to outside of the dialog
svn path=/trunk/; revision=30242
2007-11-07 14:59:43 +00:00
Ged Murphy
760b14d3cd - add code to set changes to the main configuration and use it for the resolution slider
- fix a bug in showing the current resolution in the label

svn path=/trunk/; revision=30241
2007-11-07 13:49:31 +00:00
Ged Murphy
8274bc6115 - set the colors combo box according to the .rdp file
- add a note for server browsing

svn path=/trunk/; revision=30240
2007-11-07 13:13:05 +00:00
Hervé Poussineau
08a400e41b On *nix systems, support absolute paths in ROS_INTERMEDIATE and ROS_OUTPUT
See issue #2518 for more details.

svn path=/trunk/; revision=30238
2007-11-07 11:29:57 +00:00
Hervé Poussineau
9a65b6cbc0 Set SysThreadCreated to TRUE when possible (used in DisplayBootBitmap() function)
svn path=/trunk/; revision=30237
2007-11-07 08:20:06 +00:00
James Tabor
a221ab29d5 Move NtGdiGetCharWidthW into text.
svn path=/trunk/; revision=30236
2007-11-07 00:12:17 +00:00
Ged Murphy
b2b76c26a3 only write out key/values in the lpSettings struct
svn path=/trunk/; revision=30235
2007-11-07 00:10:24 +00:00
James Tabor
c8c186109e - Removed NtGdiGetCharWidthFloat, NtGdiGetCharABCWidthsFloat and NtGdiGetCharacterPlacement. Update all related items.
svn path=/trunk/; revision=30234
2007-11-06 23:31:28 +00:00
Magnus Olsen
c486e5e7c8 add 5 more guids for ksguid.a
svn path=/branches/reactx/; revision=30233
2007-11-06 23:27:39 +00:00
Ged Murphy
e9648e85b4 - add functionality to save .rdp files
- auto add file ip address to dialog
- fix various bugs

svn path=/trunk/; revision=30232
2007-11-06 23:23:25 +00:00
Magnus Olsen
1fdbfefe85 add 18 more guids for ksguid.a
svn path=/branches/reactx/; revision=30231
2007-11-06 23:15:50 +00:00
Magnus Olsen
ddd1c8f888 add 14 more guids for ksguid.a
svn path=/branches/reactx/; revision=30230
2007-11-06 21:42:29 +00:00
Hervé Poussineau
851285b465 All PnP IRPs must be initialized with STATUS_NOT_SUPPORTED
svn path=/trunk/; revision=30229
2007-11-06 21:37:37 +00:00
Hervé Poussineau
643d746aa9 Simplify code
svn path=/trunk/; revision=30228
2007-11-06 21:36:47 +00:00
Magnus Olsen
82e669aa42 add 37 more guids for ksguid.a
svn path=/branches/reactx/; revision=30227
2007-11-06 21:12:30 +00:00
Ged Murphy
12f6b06910 - fix various bugs in the .rdp parser
- add code to allow querying of key value pairs

svn path=/trunk/; revision=30226
2007-11-06 20:36:31 +00:00
Johannes Anderwald
1723012d87 - fix alignment of checkboxes for general dialog
svn path=/trunk/; revision=30225
2007-11-06 17:31:37 +00:00
Ged Murphy
d2c5de1c50 finish functionality to read .rdp files
svn path=/trunk/; revision=30224
2007-11-06 15:48:10 +00:00
Hervé Poussineau
082af2ff8a Fix some compilation errors in ntkrnlmp
(code has not been tested, so it is probably wrong)

svn path=/trunk/; revision=30223
2007-11-06 14:34:32 +00:00
Hervé Poussineau
169a48594f Add missing IDS_APPNAME in French translation
svn path=/trunk/; revision=30222
2007-11-06 14:06:58 +00:00
Ged Murphy
40e2d21684 Don't adjust the pointer inside the allocation function, otherwise we'll have trouble freeing it later
svn path=/trunk/; revision=30221
2007-11-06 14:06:18 +00:00
Ged Murphy
abb9904ca4 add the start of functionality to read and write standard Microsoft .rdp files
svn path=/trunk/; revision=30220
2007-11-06 13:53:34 +00:00
Hervé Poussineau
6e000cec2a No need to create dependency files for zlib host library
svn path=/trunk/; revision=30219
2007-11-06 13:08:48 +00:00
Hervé Poussineau
8896e371aa Don't hardcode bootsector output name in livecd target
Revert r30199

svn path=/trunk/; revision=30218
2007-11-06 12:36:16 +00:00
Hervé Poussineau
583d32afa5 Don't hardcode multiple times the mechanisms to get object file from source file
Revert r30188 and r30189

svn path=/trunk/; revision=30217
2007-11-06 12:18:36 +00:00
Ged Murphy
d8c2b4be07 add primitive geo selector code
svn path=/trunk/; revision=30215
2007-11-06 09:38:33 +00:00
James Tabor
8693d776a5 Implement GetCharABCWidthsI in gdi.
svn path=/trunk/; revision=30213
2007-11-06 07:27:55 +00:00
James Tabor
4be86e70e0 - Implement GetGlyphIndicesA/W with update changes ported from Wine.
- Tested with Abiword 2.4.1. I think the text file did not load the first time, now it does load.


svn path=/trunk/; revision=30212
2007-11-06 07:12:45 +00:00
James Tabor
06ccf45dd1 Sorry guys! Would have anyone know that Abiword calls GdiFlush every second.
svn path=/trunk/; revision=30211
2007-11-06 02:33:38 +00:00
Aleksey Bragin
6492c8da81 - Get rid of ReactOS Hive Flags.
- Get rid of some cruft from headers.
- Switch to new lazy flush code and get rid of older one.
- Update NtFlushKey to use CmFlushKey.

svn path=/trunk/; revision=30207
2007-11-05 22:54:47 +00:00
Colin Finck
0af0de852b Copy one more header from RosBE-Windows' include directory to the source tree.
This should fix building of "rostests" under Unix-based hosts.

svn path=/trunk/; revision=30202
2007-11-05 22:03:16 +00:00
Colin Finck
4de5218bf0 Remove the "#define _TYPEDEFS64_H" line, which prevented the inclusion of the former typedefs64.h, so future generations are not confused :)
svn path=/trunk/; revision=30201
2007-11-05 20:38:32 +00:00
Magnus Olsen
343b7bf8c5 add 14 more guids for ksguid.a
svn path=/branches/reactx/; revision=30200
2007-11-05 20:37:16 +00:00
Colin Finck
fdf06585f4 Fix bootcd build, hope this fix is not too hackish...
Unfortunately, the backend only has full control over the object filenames, but not over the output filename. Therefore I had to place the change in the general backend-independent "module.cpp" file.

svn path=/trunk/; revision=30199
2007-11-05 20:36:56 +00:00
Pierre Schweitzer
039f648428 - Fixed typo with ";", ":", "?", "!" in French translations (Part 2 of X)
- Added French translation for liccpa (even if it was useless)
- Updated French translations for access, main, powercfg

svn path=/trunk/; revision=30198
2007-11-05 20:16:53 +00:00
Aleksey Bragin
654c68e8dc - Fix a typo (compare a WCHAR with a WCHAR, not CHAR).
svn path=/trunk/; revision=30197
2007-11-05 20:12:03 +00:00
James Tabor
340ac0278b Ntoskrnl:
- Plugged in batching.
- Thanks to Thomas for helping me again! 8^)

svn path=/trunk/; revision=30196
2007-11-05 20:02:58 +00:00
Magnus Olsen
e02097896e add 30 more guids for ksguid.a
svn path=/branches/reactx/; revision=30195
2007-11-05 19:52:44 +00:00
Colin Finck
c41f093eb9 Attempt to fix the build by correcting the hardcoded filenames for "isoboot"
svn path=/trunk/; revision=30194
2007-11-05 18:55:15 +00:00
Pierre Schweitzer
6af7d07b77 Fixed a typo in English translation of access
svn path=/trunk/; revision=30193
2007-11-05 18:52:48 +00:00
Pierre Schweitzer
49ba1a5cfd Gasp, forgotten some text...
svn path=/trunk/; revision=30192
2007-11-05 18:13:37 +00:00
Pierre Schweitzer
061985d6d9 - Fixed typo with ";", ":", "?", "!" in French translations (Part 1 of X)
- Added French translation for find tool
- Updated French translation for servman, regedit, cmd

svn path=/trunk/; revision=30191
2007-11-05 18:06:13 +00:00
Gregor Brunmar
eaa8991ba5 Made ServiceCurrent key volatile
svn path=/trunk/; revision=30190
2007-11-05 17:41:20 +00:00
Hervé Poussineau
6f0df2f887 Also use the module name in wine stubs object files
svn path=/trunk/; revision=30189
2007-11-05 17:38:55 +00:00
Hervé Poussineau
bcd746b012 Also use the module name in idl object files
svn path=/trunk/; revision=30188
2007-11-05 17:27:58 +00:00
James Tabor
ff1da0b87a Ntoskrnl:
- Add callback for BatchFlushRoutine in ps/win32.c.
- Thanks to Thomas for helping me find out why it was not working.

svn path=/trunk/; revision=30187
2007-11-05 17:27:25 +00:00
Pierre Schweitzer
9dd4fbc81c Updated Shell32 French translation
svn path=/trunk/; revision=30186
2007-11-05 17:06:44 +00:00
Ged Murphy
6cb7ffabfb Check the registry for previous servers and fill the combobox with them.
svn path=/trunk/; revision=30185
2007-11-05 16:29:20 +00:00
Hervé Poussineau
8818f37891 Remove MP build option from config.template.rbuild
See issue #1183 for more details.

svn path=/trunk/; revision=30184
2007-11-05 16:20:30 +00:00
Hervé Poussineau
f93fa0baf7 Support to build more than one object file with one source file
svn path=/trunk/; revision=30183
2007-11-05 16:19:10 +00:00
Hervé Poussineau
e10c1b69e6 Add rbuild file to build ntkrnlmp.exe
(not added to main build yet)
See issue #1181 for more details.

svn path=/trunk/; revision=30182
2007-11-05 16:16:41 +00:00
Hervé Poussineau
c42e45b512 Add a Module argument to GetObjectFilename()
Fix a typo when a define in incorrectly overridden

svn path=/trunk/; revision=30181
2007-11-05 15:57:06 +00:00
Ged Murphy
a6cd1d84e7 fix displaying of current resolution
svn path=/trunk/; revision=30180
2007-11-05 15:31:22 +00:00
Magnus Olsen
1d682c45f9 add 10 more guids for ksguid.a
svn path=/branches/reactx/; revision=30179
2007-11-05 15:20:17 +00:00
Ged Murphy
3df6ea56d3 Adding a note to ask translators not to work on this app yet.
The base file is constantly changing, and it becomes difficult to keep track of those changes across multiple resources.
Thanks

svn path=/trunk/; revision=30178
2007-11-05 15:05:51 +00:00
Aleksey Bragin
b2c17d31d7 Dmitry Chapyshev <lentind@yandex.ru>
- Russian translation fixes.
- Size changes, so it looks better.

svn path=/trunk/; revision=30177
2007-11-05 14:53:11 +00:00
Ged Murphy
6833d9e227 various rough additions towards a working dialog
svn path=/trunk/; revision=30176
2007-11-05 14:39:24 +00:00
Magnus Olsen
370529231f add 27 more guids for ksguid.a
svn path=/branches/reactx/; revision=30174
2007-11-05 13:19:44 +00:00
Aleksey Bragin
64ee2581fe Dmitry Chapyshev <lentind@yandex.ru>
- Change sizes of some dialog windows(in all language resources) and controls, so that match generic UI considerations in Windows.
- Change sizes of some dialog windows, so that extensions fit in them (in all language resources).
- Make it look better in general.

svn path=/trunk/; revision=30173
2007-11-05 13:17:07 +00:00
Aleksey Bragin
8bf9fc912d - Add more debug prints in failure cases.
svn path=/trunk/; revision=30172
2007-11-05 13:06:53 +00:00
Aleksey Bragin
fffed3ea73 - SeSet/QuerySecurityAccessMask() should initialize DesiredAccess to 0 (inspired by 30154).
svn path=/trunk/; revision=30170
2007-11-05 12:58:03 +00:00
Colin Finck
a80a5aed57 Unbreak shell32, broken by janderwald this time ;-)
svn path=/trunk/; revision=30169
2007-11-05 12:08:20 +00:00
Hervé Poussineau
db2e11b33a Add PSHORT and PUSHORT types
svn path=/trunk/; revision=30168
2007-11-05 12:03:15 +00:00
Johannes Anderwald
e9616e5788 - disable insert & insert link option when no file is currently been copied / moved
svn path=/trunk/; revision=30167
2007-11-05 11:50:28 +00:00
Colin Finck
c9efa857c4 Fix bootcd build for real now
svn path=/trunk/; revision=30166
2007-11-05 11:41:33 +00:00
Colin Finck
ce625d50ff Attempt to fix build
Still not the perfect solution as it might be better to use the host/typedefs.h also for Windows hosts, but at least the code works without the obsolete typedefs64.h now.

svn path=/trunk/; revision=30165
2007-11-05 11:26:20 +00:00
Hervé Poussineau
b964c2fdeb Remove useless file
svn path=/trunk/; revision=30164
2007-11-05 11:12:33 +00:00
Johannes Anderwald
5aad5425f5 - desktop background menu has no view option, this option is only available when browsing the shell
svn path=/trunk/; revision=30163
2007-11-05 11:07:57 +00:00
Pierre Schweitzer
6a390b34dc Oops, forgotten a line
svn path=/trunk/; revision=30162
2007-11-05 11:03:34 +00:00
Pierre Schweitzer
d000326584 Fixed details in French translation of newdev
svn path=/trunk/; revision=30161
2007-11-05 10:58:33 +00:00
Johannes Anderwald
fd2bfa44c6 - fix identation
- refresh shellview after success

svn path=/trunk/; revision=30159
2007-11-05 10:50:03 +00:00
Johannes Anderwald
c3c57d6114 - call SHEmptyRecycleBinW on request
- store first cmdindex of first shell extension
- empty bitbucket should now work, although it gives back an error
- thnx to hpoussin

svn path=/trunk/; revision=30156
2007-11-05 09:57:30 +00:00
Hervé Poussineau
03723d94e3 Fix build
svn path=/trunk/; revision=30155
2007-11-05 09:56:45 +00:00
Art Yerkes
68734cc1a4 Initialize DesiredAccess. Cygwin is a little closer.
svn path=/trunk/; revision=30154
2007-11-05 09:43:08 +00:00
Pierre Schweitzer
7caf7b47b2 French translation for appwiz.
Avoid deleting it now.

svn path=/trunk/; revision=30153
2007-11-05 09:41:23 +00:00
Johannes Anderwald
6d83d3d8b5 - implement IShellExtInit interface for recycle bin
- fix a bug in SH_LoadDynamicContextMenuHandlers

svn path=/trunk/; revision=30152
2007-11-05 09:37:09 +00:00
Aleksey Bragin
104b879169 Dmitry Chapyshev <lentind@yandex.ru>
- Fix russian translation of winemine.

svn path=/trunk/; revision=30151
2007-11-05 09:36:35 +00:00
Aleksey Bragin
ec115949ea Dmitry Chapyshev <lentind@yandex.ru>
- Russian language fixes for Taskmgr.
- 'more' cmd util translation by me and towerr.

svn path=/trunk/; revision=30150
2007-11-05 09:27:52 +00:00
Hervé Poussineau
69251b5abf Better error reporting in case of define override
Support empty defines

svn path=/trunk/; revision=30149
2007-11-05 08:57:04 +00:00
Magnus Olsen
52922faf05 add 6 more guids for ksguid.a
svn path=/branches/reactx/; revision=30148
2007-11-05 06:58:52 +00:00
Magnus Olsen
163cda6df4 add 20 more guids for ksguid.a
svn path=/branches/reactx/; revision=30147
2007-11-05 06:49:27 +00:00
James Tabor
cdc0ef2243 Fix typos,, now it runs.
svn path=/trunk/; revision=30146
2007-11-05 03:09:52 +00:00
James Tabor
0dc4496ea8 Allow batch flush to handle null DCs.
svn path=/trunk/; revision=30145
2007-11-05 02:25:43 +00:00
James Tabor
1423476391 - Implement batching for DeleteObject.
- Implemented DeleteRegion, a support function with batching.
- Add delete objects and a hack to fake the running of the batch to gdibatch.c.
- These batching functions will not run until proper structure attributes are implemented.

svn path=/trunk/; revision=30144
2007-11-05 01:50:59 +00:00
Magnus Olsen
d1327bf255 21 more guid to ksguid.a
svn path=/branches/reactx/; revision=30143
2007-11-05 00:55:46 +00:00
James Tabor
ca76afe698 Fix typo in header.
svn path=/trunk/; revision=30142
2007-11-05 00:07:09 +00:00
Magnus Olsen
e3bd20e41c Add follow guids to ksguid.a/ksguid.lib KSCATEGORY_RENDER, KSCATEGORY_CAPTURE, KSCATEGORY_BRIDGE
svn path=/branches/reactx/; revision=30141
2007-11-05 00:03:15 +00:00
Magnus Olsen
43e400e70e Fix varus issue.
make audiosrv using the new ks.h and link with ksguid
Fix dxapi build
Fix ddkmapi.h so it works like windkk version 3790.1830
offline #define DEFINE_KSPROPERTY_TOPOLOGYSET in ks.h it seam some type problem there


svn path=/branches/reactx/; revision=30140
2007-11-04 23:54:40 +00:00
Magnus Olsen
67a3fbe3e7 start building up ksguid.a/ksguid.lib it is need it for ks.h
svn path=/branches/reactx/; revision=30139
2007-11-04 23:24:42 +00:00
James Tabor
afa6748db1 Fix gdi batch size.
svn path=/trunk/; revision=30138
2007-11-04 22:49:19 +00:00
Pierre Schweitzer
152e38c410 Add French translation for mstsc
svn path=/trunk/; revision=30137
2007-11-04 22:46:05 +00:00
Eric Kohl
a139a7c2ad Get rid of static variables.
svn path=/trunk/; revision=30135
2007-11-04 22:12:25 +00:00
James Tabor
49f59088cf - Removed NtGdiDeleteObject from w32ksvc.db and ntgdibad.h.
- Moved the define export to gdiobj.h and made it a FASTCALL internal to win32k.
- I did not rename it to IntXXXX.
- Implemented a functional DeleteObject for gdi.

svn path=/trunk/; revision=30133
2007-11-04 22:10:59 +00:00
Magnus Olsen
eb615b5cf1 add allot more struct, enum, define, to many to write in the log
svn path=/branches/reactx/; revision=30131
2007-11-04 21:43:33 +00:00
Magnus Olsen
66b9434834 Commit a ks.h header file from 2005 written by me, it is base on dxsdk 2004 dec, but it is not completed, I do not found the almost completed version of this header I wrote.
so I add the version I found so it does not get lost. Our current ks.h are not completed and is full with hacks in psdk. it will be deleted later, when ks.h are finish it will
merge down to trunks to let silveblade continue on some work.
 

svn path=/branches/reactx/; revision=30128
2007-11-04 19:47:36 +00:00
Johannes Anderwald
9fb45686cb - implement renaming of MyComputer object
- doesnot work yet because ISF_Desktop_fnSetNameOf is _not_ implemented
See issue #376 for more details.

svn path=/trunk/; revision=30127
2007-11-04 19:28:55 +00:00
Johannes Anderwald
57e84edfc2 - add registry setting to support changing desktop object name
- uncomment fileext setting

svn path=/trunk/; revision=30126
2007-11-04 18:26:24 +00:00
Magnus Olsen
00d0b6a666 start remove stuff got home made stuff or base on wine dx
add global file version of dx dll. 

svn path=/branches/reactx/; revision=30125
2007-11-04 17:50:09 +00:00
Magnus Olsen
60fb768885 global header for directx version info for the rc file.
svn path=/branches/reactx/; revision=30124
2007-11-04 17:43:50 +00:00
Magnus Olsen
7da42d614f start remove stuff got home made stuff or base on wine dx
svn path=/branches/reactx/; revision=30123
2007-11-04 17:33:57 +00:00
Johannes Anderwald
59adf06968 - check if group policy is active
- in this case check if the shell extension has been registered as approved and only accept it if it is listed

svn path=/trunk/; revision=30122
2007-11-04 17:07:40 +00:00
Magnus Olsen
d3d6cf78e8 Fill in more info in the lockup tables.
svn path=/branches/reactx/; revision=30121
2007-11-04 16:49:20 +00:00
Magnus Olsen
b394251018 Implement DxGetVersionNumber
comment up some functions that are implement. 

svn path=/branches/reactx/; revision=30120
2007-11-04 16:23:11 +00:00
Aleksey Bragin
c6cd8c67b4 - Update msvcrt_winetest to Wine-04112007.
- Disable test_codepage, since it causes internal GCC error during compiling.

svn path=/trunk/; revision=30119
2007-11-04 15:54:33 +00:00
Aleksey Bragin
556690fd9a - Add some defines from Wine.
svn path=/trunk/; revision=30118
2007-11-04 15:53:24 +00:00
Magnus Olsen
44e6f014a9 Add dxapi.sys, most api are stub.
Implemnt GsDriverEntry, DxApiGetVersion, DxApi.
All DxApi that are callbacks are stub.
 

svn path=/branches/reactx/; revision=30117
2007-11-04 14:57:57 +00:00
Daniel Reimer
df51dad172 German Translation for RemoteDesktop Tool by GedMurphy.
svn path=/trunk/; revision=30115
2007-11-04 14:41:39 +00:00
Ged Murphy
a0b2728e97 adjust and rearrange some init code
svn path=/trunk/; revision=30110
2007-11-04 13:49:47 +00:00
Johannes Anderwald
21cdd294a3 - add static context menus for drives when available
svn path=/trunk/; revision=30109
2007-11-04 12:19:44 +00:00
Art Yerkes
06c5ac0542 Add the beginnings of context switch and decrementer exception handler.
Move cruddy asm code for syscall trap to an ASM file.
Factor out an i386 specific name.
Add relevant registers to FX save.

svn path=/trunk/; revision=30108
2007-11-04 12:09:37 +00:00
Johannes Anderwald
6243c9c750 - should_notify should check if the changed pidl is really a child of the containing folder.
- fixes bug 2789

svn path=/trunk/; revision=30107
2007-11-04 12:00:16 +00:00
Art Yerkes
ff02c3ff0f Add machineType to arch specific info.
Fixup module locations that are not PE coff.

svn path=/trunk/; revision=30106
2007-11-04 11:59:52 +00:00
Art Yerkes
66aabe3049 Do this properly now that I understand exception chaining a bit better.
The exception chain on x86 is at fs:0.  We use r13 to simulate the same, so
we chain exceptions at 0(13)

svn path=/trunk/; revision=30105
2007-11-04 11:57:37 +00:00
Art Yerkes
54cbe5281b Fix key parsing by copying the unicode string struct we get from CmFindObject
for us to modify, and free the original.  We needn't make any assumptions about
the string being null terminated.  
Parse names with duplicated \ characters.
Since we assert downstream for a null key, bail early here with an error if we
really get a degenerate key name.
With the work that others have done on the registry code, this is the last 
piece needed for the firefox installer.

svn path=/trunk/; revision=30104
2007-11-04 11:49:57 +00:00
Eric Kohl
d60c0b329d - Made some local functions static.
- Pressing the "Del" key removes the currently selected environment variable.

svn path=/trunk/; revision=30103
2007-11-04 10:45:06 +00:00
Aleksey Bragin
35fb5f85d1 Dmitry Chapyshev <lentind@yandex.ru>
- Fix tapiui's resources.

svn path=/trunk/; revision=30102
2007-11-04 09:55:29 +00:00
Aleksey Bragin
20ef8df953 Dmitry Chapyshev <lentind@yandex.ru>
- Translate MSTSC to Russian language.

svn path=/trunk/; revision=30101
2007-11-04 09:08:46 +00:00
James Tabor
a3547b55a7 Fix types in header.
svn path=/trunk/; revision=30100
2007-11-04 03:52:17 +00:00
James Tabor
8460e343d4 Remove unneeded structure info.
svn path=/trunk/; revision=30099
2007-11-04 01:29:46 +00:00
James Tabor
d4a8d54b73 - Removed NtGdiTranslateCharsetInfo, updated w32ksvc.db and ntgdibad.h.
- Implemented TranslateCharsetInfo from wine. Works the same just different.

svn path=/trunk/; revision=30098
2007-11-04 00:55:28 +00:00
James Tabor
0029160b44 Gdi32:
- Implement GdiGetCodePage and SetROP2. Still testing.
- Implemented batch support for SetBrushOrgEx. Still testing.
- Moved PatBlt and PolyPatBlt out of stubs.

svn path=/trunk/; revision=30097
2007-11-04 00:28:49 +00:00
James Tabor
87d8ff0d8c Implement NtGdiGetCharSet, for testing.
svn path=/trunk/; revision=30096
2007-11-03 23:42:07 +00:00
Eric Kohl
6405278e8c Select the first user and system environment variable upon initialization.
svn path=/trunk/; revision=30095
2007-11-03 22:09:27 +00:00
Ged Murphy
782962b8cf Add an mstsc (remote desktop client) which is based on the GPL WinRDesktop.
It's a VS project at the moment, not yet converted to be buildable via rbuild, and still pretty incomplete.

svn path=/trunk/; revision=30094
2007-11-03 22:02:59 +00:00
Sylvain Petreolle
1477901eb4 Miscellanous fixes and updates for french translations
by Pierre Schweitzer

svn path=/trunk/; revision=30093
2007-11-03 21:16:56 +00:00
Eric Kohl
d601833eab Select the previous list view item when an environment variable has been deleted.
svn path=/trunk/; revision=30092
2007-11-03 17:14:16 +00:00
Eric Kohl
0b6af09c68 Find the real currently selected list view item. This fixes a bug where a non-selected item gets edited or deleted.
svn path=/trunk/; revision=30091
2007-11-03 15:53:52 +00:00
Eric Kohl
ee5fa63537 Coding style clean-up. No code changes.
svn path=/trunk/; revision=30090
2007-11-03 14:39:08 +00:00
Hervé Poussineau
f9e795297b Move files to recycle bin when asked to
svn path=/trunk/; revision=30089
2007-11-03 14:17:00 +00:00
Aleksey Bragin
5a59a4ee2f - Don't bother flushing volatile hives.
svn path=/trunk/; revision=30088
2007-11-03 13:59:26 +00:00
Hervé Poussineau
be299c8c04 Add stubs for TRASH_CanTrashFile and TRASH_TrashFile
svn path=/trunk/; revision=30087
2007-11-03 13:39:55 +00:00
Eric Kohl
495c4b799c Implement removal of environment variables by removing all environment variables from the registry and re-adding the stored ones.
svn path=/trunk/; revision=30086
2007-11-03 11:02:31 +00:00
James Tabor
6033dd0e44 Fix a stub.
svn path=/trunk/; revision=30085
2007-11-03 01:30:04 +00:00
Aleksey Bragin
3765b77c14 - Move Nt* APIs converted to new CM into config/cmapi.c
- Start removing usage of ReactOS Hive Flags and use NT Hive Flags instead.
- Add CmpLockRegsitry based on CmpLockRegistryExclusive.
- Add new lazy flush implementation based on the old one, but with parallel work support. Not yet in use.
- Don't delete a key that's already being deleted.
- Update KcbMaxNameLen after a deletion.
- Set the DELETE flag in the KCB during a deletion.
- Remove the KCB Key hash during a delete.
- Implement CmFlushKey (not yet used).

svn path=/trunk/; revision=30079
2007-11-02 23:12:22 +00:00
James Tabor
64fe695591 Add STOCK_LAST, update stock objects.
svn path=/trunk/; revision=30075
2007-11-02 22:14:45 +00:00
Marc Piulachs
7783b645a2 remove '__REACTOS__' define already defined for project
svn path=/trunk/; revision=30073
2007-11-02 19:59:55 +00:00
Aleksey Bragin
7c3d94291e - It may happen so, that the driver was loaded by the bootloader, but failed initialization (thus DriverObject == NULL), and later PNP manager tries to install it again, and BSOD due to NULL DriverObject (because really only its image is loaded, but it's not initialized). Prevent this situation by initializing DriverObject in that case.
svn path=/trunk/; revision=30071
2007-11-02 16:00:58 +00:00
Ged Murphy
1679d0bf4c add missing break
svn path=/trunk/; revision=30070
2007-11-02 13:39:56 +00:00
Aleksey Bragin
ed826bf53e - Make use of the function Herve implemented in previous commit to flush key buffer at the beginning of every page in usetup.
See issue #2131 for more details.

svn path=/trunk/; revision=30069
2007-11-02 13:13:55 +00:00
Hervé Poussineau
fae0c09e4b Report STATUS_NOT_SUPPORTED when IOCTL is not supported
svn path=/trunk/; revision=30068
2007-11-02 13:01:15 +00:00
Hervé Poussineau
4885fbac2a Add method to flush console input buffer
svn path=/trunk/; revision=30067
2007-11-02 12:37:50 +00:00
Hervé Poussineau
426db02b5b Support IRP cancellation
svn path=/trunk/; revision=30066
2007-11-02 12:36:50 +00:00
Johannes Anderwald
42bab9d044 - add szClass to static context menu struct
- remove szCmd from static context menu struct
- let ShellExecuteEx do the work of executing static context menu
- remove DoOpenExplore function, the verbs "open" + "explore" are now read from registry depending on the class
- check if there are dynamic / static available shell extensions

svn path=/trunk/; revision=30065
2007-11-02 12:08:57 +00:00
James Tabor
405a934dab Win32k:
- Forked dcutil and gdibatch.
- Added our first batch SetBrushOrg.
- cleaned up dcutil.
- Added dcattr support for NtGdiSetBrushOrg.
- Tested with qemu and hardware. Needs vendor app testing.

svn path=/trunk/; revision=30064
2007-11-02 04:23:31 +00:00
James Tabor
6383a43920 Move GDI_BATCH_LIMIT where it should go.
svn path=/trunk/; revision=30063
2007-11-02 02:56:21 +00:00
Johannes Anderwald
36a2283520 - turn off debug messages for X-time :)
svn path=/trunk/; revision=30062
2007-11-02 02:50:07 +00:00
Johannes Anderwald
4b03170fff - refactor dynamic context menu loading
- dynamic shell extensions should now work 
- WinRar extension is now working except for the email handling thing

svn path=/trunk/; revision=30061
2007-11-02 02:49:14 +00:00
James Tabor
cf90034545 Assign define for gdi buffer size.
svn path=/trunk/; revision=30060
2007-11-02 02:42:09 +00:00
Magnus Olsen
7c4c90e02b rename framebuf_acc.* to framebufacc.* for rbuild can not handle _, forget about that
implement DrvSetPointerShape, left todo is the copy process for mono and color pointer data before it is completed. 



svn path=/trunk/; revision=30059
2007-11-02 00:03:02 +00:00
Johannes Anderwald
28eb54745a - fix a bug found by w3seek
- free memory when destroying IContextMenu

svn path=/trunk/; revision=30056
2007-11-01 22:00:38 +00:00
Johannes Anderwald
df53d0f9d6 - fix position of dynamic context menus
svn path=/trunk/; revision=30055
2007-11-01 21:30:44 +00:00
Johannes Anderwald
f61ad64412 - remove debug prints
- remove useless file

svn path=/trunk/; revision=30053
2007-11-01 20:56:35 +00:00
Johannes Anderwald
4d202f55ee - implement loading & executing of static context menu extensions
svn path=/trunk/; revision=30052
2007-11-01 20:54:46 +00:00
Magnus Olsen
0fd4f6a205 accdented acctivated framebufacc in the build system, sorry it broken the build
svn path=/trunk/; revision=30050
2007-11-01 20:42:12 +00:00
Magnus Olsen
48dbc73039 rename framebuf_acc to framebufacc to make rbuild happy
implement hw support for DrvMovePointer, it mean if a driver have this function implement our framebufacc will use it 

svn path=/trunk/; revision=30049
2007-11-01 20:32:39 +00:00
Thomas Bluemel
80b9ed9c09 Increase size of current date selection
svn path=/trunk/; revision=30047
2007-11-01 17:41:00 +00:00
Aleksey Bragin
4a05c1e591 - Fix a bug with incorrect handling of the keyboard layout pointer (which is HKL in fact in our current implementation).
- Change the prototype to better match actual parameters usage.
See issue #2787 for more details.

svn path=/trunk/; revision=30046
2007-11-01 17:06:49 +00:00
Johannes Anderwald
8609c9c790 - use translated menu from resources if available
svn path=/trunk/; revision=30045
2007-11-01 16:09:04 +00:00
Ged Murphy
fa1e99d927 - don't pass minus values for creating topdown bitmaps.
- fixes loading of toolbar bitmaps in abiword

svn path=/trunk/; revision=30043
2007-11-01 15:45:42 +00:00
Magnus Olsen
75d64c3e09 Rename framebuf.def to framebuf_acc.def, framebuf.h to framebuf_acc.h, framebuf.rbuild to framebuf_acc.h
Start add hw mouse cures support
Deleted all old mouse pointer code that was disable. 

Disable the new cached code for now


svn path=/trunk/; revision=30040
2007-11-01 14:40:22 +00:00
Johannes Anderwald
fc74dc4764 - fix a bug in IntGetMenuDefaultItem
svn path=/trunk/; revision=30039
2007-11-01 14:20:43 +00:00
Johannes Anderwald
dc1e031efd - silence debug
svn path=/trunk/; revision=30038
2007-11-01 13:35:30 +00:00
Johannes Anderwald
a2e44a6af1 - dont show Open With shell extension when a selected item is a folder or a shortcut
- add the "explore" verb only if folder has a subfolder
- always add open verb

svn path=/trunk/; revision=30037
2007-11-01 13:33:18 +00:00
Eric Kohl
1308d46688 Expand an environment variable only if its value got at least two percent characters.
svn path=/trunk/; revision=30035
2007-11-01 11:45:14 +00:00
Ged Murphy
a03d9e441c Don't lock unnecessarily and don't leak a bitmap object in case of failure
svn path=/trunk/; revision=30034
2007-11-01 10:06:11 +00:00
James Tabor
7110b8e047 Fix structure storage types.
svn path=/trunk/; revision=30033
2007-11-01 01:59:05 +00:00
Johannes Anderwald
fe8535447f - implement IPersistFolder2 interface for desktop object
- add a backslash when required
- fixes deleting of objects on desktop

svn path=/trunk/; revision=30032
2007-11-01 00:42:06 +00:00
Colin Finck
a14b40e394 - Add an #error, when UNICODE is not defined.
Task-Manager makes use of NDK API's, which forces the application to be compiled Unicode-only.
- To make this obvious, change all TCHAR variables and functions to their Unicode counterparts and get rid of the "tchar.h" include.
- Use a Unicode entry-point and 'unicode="yes"' instead of UNICODE and _UNICODE definitions in the rbuild file
- Many indentation fixes

svn path=/trunk/; revision=30031
2007-10-31 23:26:27 +00:00
James Tabor
16ca3d0bfa Win32k/Gdi:
- The start of Gdi Batch.
- I've tested it on Qemu and Hardware.
- No improvements. I think it is running, so please check.
- Fix DcUtil code. Will fork soon.

svn path=/trunk/; revision=30030
2007-10-31 22:56:38 +00:00
Johannes Anderwald
f2ff1a8c8a - refresh folder when deleting an item
- does not work for items placed on desktop yet because the desktop folder doesnot implement IPersistFolder2 interface
- avoid using ISFHelper interface

svn path=/trunk/; revision=30029
2007-10-31 22:56:24 +00:00
Aleksey Bragin
c5f01afb3d - Update cached KCB values when necessary.
- Update Node Maximum values when necessary.
- Return data from the node instead of calling 3rd-party functions to loop around the entire key until they find something appropriate.
- Get rid of CmiScanForSubKey, CmiGetMaxValueDataLength, CmiGetMaxValueNameLength, CmiGetMaxClassLength, CmiGetMaxNameLength.

svn path=/trunk/; revision=30028
2007-10-31 22:33:43 +00:00
Magnus Olsen
f366d38ae8 Comment out a hack in framebuf_acc, same hack should be remove from framebuf
svn path=/trunk/; revision=30027
2007-10-31 22:32:05 +00:00
Aleksey Bragin
cbb2ff96a6 - Get rid of parent key member in PKEY_OBJECT, and use ParentKcb instead.
- Modify more functions to use KCB instead of PKEY_OBJECT.

svn path=/trunk/; revision=30026
2007-10-31 22:22:07 +00:00
Johannes Anderwald
0dc465de18 - implement CWM_GETISHELLBROWSER support in IShellView
- fixes desktop refreshing after a new item has been placed with ShellNew command

svn path=/trunk/; revision=30025
2007-10-31 21:25:07 +00:00
Magnus Olsen
8c669a8e79 start implement the system cache buffer.
add helper function InitSurface to determent when we need remap or not the video memory.
in DrvEnableSurface tell it use hook flags for diffent functions, add cached alloc as well 
in DrvDisableSurface, add to free the cached video memory 
rewrote DrvAssertMode to remap the video memory when it is need, and realloc the cache when it is need it
Not tested if this change can be compile, yet. but this framebuf_acc is not setup yet with rbuild build system yet
 

svn path=/trunk/; revision=30024
2007-10-31 20:07:12 +00:00
Hervé Poussineau
273ddbf9fd Repair TCP/IP service installation
svn path=/trunk/; revision=30022
2007-10-31 18:17:00 +00:00
Thomas Bluemel
596a6762cf Fix abusing the heap by using strdupW instead of _wcsdup
svn path=/trunk/; revision=30021
2007-10-31 18:14:16 +00:00
Thomas Bluemel
d624225717 Don't call SHBrowseForFolder() with random pointers
svn path=/trunk/; revision=30020
2007-10-31 17:13:52 +00:00
Ged Murphy
01e884dc2d remove a sneaky little bugger
svn path=/trunk/; revision=30019
2007-10-31 16:27:40 +00:00
Ged Murphy
9c27060580 - Fix param checking and don't send negative values in the SIZEL struct of IntCreateBitmap.
- Fixes displaying of menu bitmaps in apps such as abiword

svn path=/trunk/; revision=30018
2007-10-31 16:22:59 +00:00
Hervé Poussineau
db07c0df92 Remove LIST_ITEM structure, and replace it by well-known LIST_ENTRY
Do according changes in callers
Fix a bug in IniGetSectionSettingNameSize/IniGetSectionSettingValueSize, which were expecting memory to be allocated contiguously

svn path=/trunk/; revision=30016
2007-10-31 15:31:46 +00:00
Aleksey Bragin
be175a2797 - Dispatch all symbol loads to a single function, which determines type of passed name, and calls worker function.
- Print source file:line in stack traces if possible, when KDBG is enabled
- if KDBG is not defined, behaviour of the mainstream code is completely untouched.

svn path=/trunk/; revision=30014
2007-10-31 14:41:27 +00:00
Magnus Olsen
793d6f38e6 copy frambuf to framebuf_acc
it will use system memory as cache, it will reduce the reading access of video memory, for reading video memory directly is slow and cost allot speed. 

svn path=/trunk/; revision=30013
2007-10-31 14:35:38 +00:00
Hervé Poussineau
3368037169 Remove debug/useless code
svn path=/trunk/; revision=30012
2007-10-31 13:41:31 +00:00
Hervé Poussineau
29478d2983 Silent debug messages
svn path=/trunk/; revision=30011
2007-10-31 13:17:42 +00:00
Hervé Poussineau
ce94228341 Allocate enough memory to keep file details
svn path=/trunk/; revision=30010
2007-10-31 13:10:07 +00:00
Hervé Poussineau
7af600178a Add traces
Fix typo in EnumerateRecycleBinW

svn path=/trunk/; revision=30009
2007-10-31 13:04:47 +00:00
Aleksey Bragin
e521c5d62a - By default, #define YDEBUG should be generally commented out.
svn path=/trunk/; revision=30008
2007-10-31 10:02:10 +00:00
Hervé Poussineau
ebefd9dc2b We're using combo channel here...
svn path=/trunk/; revision=30007
2007-10-31 09:59:26 +00:00
Hervé Poussineau
05672570e0 Fix typo
svn path=/trunk/; revision=30006
2007-10-31 09:49:30 +00:00
Hervé Poussineau
f169cf332d Clean some header mess
svn path=/trunk/; revision=30005
2007-10-31 09:45:15 +00:00
Hervé Poussineau
d5426e5dc0 Clean up method which assigns groups to logged on user
We have now a compile time switch to test ReactOS with a non-administrator account

svn path=/trunk/; revision=30004
2007-10-31 09:41:56 +00:00
Hervé Poussineau
3c7eb9f6d5 Partially implement ElfrReportEventW
svn path=/trunk/; revision=30003
2007-10-31 09:33:16 +00:00
Hervé Poussineau
e11f608e8f Fix two typos
svn path=/trunk/; revision=30002
2007-10-31 09:31:06 +00:00
Hervé Poussineau
e6a393c3ad Replace drive letter by a root path
svn path=/trunk/; revision=30001
2007-10-31 09:10:20 +00:00
Hervé Poussineau
e7e959fb0d Change i8042prt to a PnP driver
Support power keys
Support ctrl+scroll+scroll on debug builds
Add support for driver filters
Take care of more registry settings
A lot of other changes

svn path=/trunk/; revision=30000
2007-10-31 08:58:04 +00:00
Hervé Poussineau
8d1924094f Implement SHEmptyRecycleBinA/W
Implement SHQueryRecycleBinA

svn path=/trunk/; revision=29999
2007-10-31 08:57:48 +00:00
Hervé Poussineau
25e2d0f59e Fix some bugs which were preventing enumeration of all deleted files
Add a system-wide recycle bin, which federates all individual recycle bins
Add a COM interface to the recycle bin library
Use COM ref counting instead of a house-made system

svn path=/trunk/; revision=29998
2007-10-31 08:57:35 +00:00
Hervé Poussineau
61edd081e9 Add .ndi extension as it is usually done in network driver .inf files
Clean up TCP/IP service installation, by letting setupapi do most of the work

svn path=/trunk/; revision=29997
2007-10-31 08:57:13 +00:00
Hervé Poussineau
94aa3722c5 Fix typo: "SourceDiskFiles" -> "SourceDisksFiles"
Add more drivers to load in txtsetup.sif

svn path=/trunk/; revision=29996
2007-10-31 08:56:24 +00:00
Hervé Poussineau
e03cad60ce Fix indentation
svn path=/trunk/; revision=29995
2007-10-31 08:40:46 +00:00
Hervé Poussineau
defe8031fb Link xcopy to wine library, as it is using wine debug macros
svn path=/trunk/; revision=29994
2007-10-31 08:08:00 +00:00
James Tabor
b45ddf2209 Fix gdi init so it can support batch. Used wrong limit source.
svn path=/trunk/; revision=29993
2007-10-31 02:48:54 +00:00
James Tabor
bb884beb4a - Add gdi batching command structures.
- Add additional region clipping data types to Dc_Attr.

svn path=/trunk/; revision=29992
2007-10-31 01:47:54 +00:00
Thomas Bluemel
2923c32e1f Fix freeing callproc handles when freeing window classes
svn path=/trunk/; revision=29991
2007-10-31 01:25:42 +00:00
Thomas Bluemel
ed30ce9375 Remove unused code
svn path=/trunk/; revision=29990
2007-10-30 22:56:59 +00:00
Thomas Bluemel
4b146b2b27 Silence possible uninitialized variable warning when compiled with full optimizations
svn path=/trunk/; revision=29989
2007-10-30 22:38:43 +00:00
Thomas Bluemel
0f9c8e1dcc fix compilation with full optimizations
svn path=/trunk/; revision=29988
2007-10-30 22:03:37 +00:00
Colin Finck
5e02be2e6d Try to unbreak build by adding the -Iinclude/psdk line again.
Build has been broken by hpoussin's commit in r29976.

As stated before, Wine components like the "winnt.h" file in include/reactos/wine still refer to include/psdk components (in this case by an #include_next "winnt.h" line). This has to be fixed first.

Build probably worked successfully with older RosBE-Windows versions, since they put the include directory to the bundled w32api header files in the global C_INCLUDE_PATH environment variable.

svn path=/trunk/; revision=29987
2007-10-30 21:23:11 +00:00
Aleksey Bragin
aa1bc628b3 - Start using members inside the KCB instead of the PKEY_OBJECT.
- Remove DummyKcb hacks since we now have a real, valid KCB.
- Get rid of the cm worker thread and related code, this should fix a couple of random registry bugchecks and corruption.
- This is a slow transition to using CM_KEY_BODY and KCB.

svn path=/trunk/; revision=29986
2007-10-30 20:50:18 +00:00
Aleksey Bragin
6a2986170b - Fix my mistakes when changing type of the Name field. LiveCD / make install_registry now works again.
- Convert one more sizeof to FIELD_OFFSET (though sizeof() was operating properly in this particular case).
See issue #2780 for more details.

svn path=/trunk/; revision=29985
2007-10-30 20:24:27 +00:00
Johannes Anderwald
3c89dc696e - silence debug messages
svn path=/trunk/; revision=29984
2007-10-30 19:09:27 +00:00
Johannes Anderwald
4581c72ef6 - fix identation
svn path=/trunk/; revision=29983
2007-10-30 19:08:00 +00:00
Aleksey Bragin
15756dddcd - Fix incorrect size calculation.
svn path=/trunk/; revision=29982
2007-10-30 18:41:34 +00:00
Johannes Anderwald
3b7c69f9c9 - populate Open With with found entries
- see http://windowsxp.mvps.org/OpenWith.htm
- silence debug messages
- invoke shell extension's InvokeCommand on a event

svn path=/trunk/; revision=29981
2007-10-30 18:35:02 +00:00
Johannes Anderwald
d4d9d8158b - add required registry entries for "Open With" shell extension
- currently commented out

svn path=/trunk/; revision=29980
2007-10-30 16:00:50 +00:00
Johannes Anderwald
fa7efa7843 - fix a bug in ShellView_DoContextMenu which made shell extensions crash on click
- pass the pidl of the parent folder to IShellExtInit function.
- shell extension dont run yet due SHGetPathFromIDList[A/W] cant return right information

svn path=/trunk/; revision=29977
2007-10-30 12:05:24 +00:00
Hervé Poussineau
11f4785469 Do not directly include psdk directory when building host tools
svn path=/trunk/; revision=29976
2007-10-30 10:48:53 +00:00
Hervé Poussineau
6d815bb00a Add missing constants in winnt.h
Fix svn properties

svn path=/trunk/; revision=29975
2007-10-30 10:47:24 +00:00
Aleksey Bragin
fba0d4a997 - Yes, this is the last fix, really!!
svn path=/trunk/; revision=29974
2007-10-30 08:53:06 +00:00
Aleksey Bragin
fcadba6f7c - Forgot to add 't'.
svn path=/trunk/; revision=29973
2007-10-30 08:50:40 +00:00
Aleksey Bragin
9df7f026a3 - More fixes, leaving what's unfixed yet to Marc. 3dtext now compiles fine.
svn path=/trunk/; revision=29972
2007-10-30 08:37:54 +00:00
Aleksey Bragin
e57b602266 - Proper fix for unicode/ansi compilation ability of 3dtext (at least to fix compiler warning preventing trunk to compile), however one problem remains:
glCallLists(_tcslen(text), GL_UNSIGNED_SHORT, text);	// Draws The Display List Text
GL_UNSIGNED_SHORT should be substituted by GL_UNSIGNED_BYTE if compiling as ANSI.

svn path=/trunk/; revision=29971
2007-10-30 08:29:31 +00:00
James Tabor
115362a89d Add Gdi batch flush command types.
svn path=/trunk/; revision=29970
2007-10-30 04:39:34 +00:00
Thomas Bluemel
935014319a stock objects don't need to be deleted
svn path=/trunk/; revision=29969
2007-10-30 01:51:23 +00:00
Thomas Bluemel
b9ef3cb742 Patch by Heis Spiter <heis_spiter@hotmail.com>:
- Fix a handle leak
See issue #2772 for more details.

svn path=/trunk/; revision=29968
2007-10-30 01:46:00 +00:00
Thomas Bluemel
3e0b11c4bf Keep callproc handles valid as long as a window classes exists. Abiword should work again.
svn path=/trunk/; revision=29967
2007-10-30 01:24:47 +00:00
Marc Piulachs
47f240c7fb - Compile screensavers as UNICODE applications + minor fixes (Part 2/2)
svn path=/trunk/; revision=29966
2007-10-29 22:52:33 +00:00
Marc Piulachs
e985f75055 - Compile screensavers as UNICODE applications + minor fixes (Part 1/2)
svn path=/trunk/; revision=29965
2007-10-29 22:49:31 +00:00
Colin Finck
9c46f3877e Revert hpoussin's commit in r29960 to unbreak build.
Most of *our* stuff has separated host/target headers now, but the Wine-shared components still include headers from include/reactos/wine.
And these headers (like "winnt.h" in that directory) include our headers from include/psdk themselves, which are meant to be used for target components, but not for host tools.

This needs to be fixed first, before we can remove this hack.

svn path=/trunk/; revision=29964
2007-10-29 21:42:29 +00:00
Colin Finck
646ada92cc Move cylfrac, matrix, scrmsave and starfield to rosapps as proposed on the mailing list. New screensavers should only go there now.
I created an "applications/screensavers" directory for that, eventually rosapps should get a similar directory structure to reactos.

Also changed the appropriate parts in reactos.dff.

svn path=/trunk/; revision=29961
2007-10-29 21:30:02 +00:00
Hervé Poussineau
c6c42a93ef Remove unneeded hack because host tools don't use target headers anymore
svn path=/trunk/; revision=29960
2007-10-29 20:47:47 +00:00
Aleksey Bragin
b26a87eed3 - Actually create KCB where needed.
svn path=/trunk/; revision=29958
2007-10-29 18:05:54 +00:00
Aleksey Bragin
904dde02c7 So, finally, do that right... (re. 29956).
svn path=/trunk/; revision=29957
2007-10-29 16:49:54 +00:00
Gregor Brunmar
b0c1506b7e Removed debug spamming from previous checkin
svn path=/trunk/; revision=29956
2007-10-29 16:42:36 +00:00
Hervé Poussineau
2b88e1ebf0 Don't crash when starting a 2nd GUI application when booted in console mode
svn path=/trunk/; revision=29955
2007-10-29 14:47:48 +00:00
Aleksey Bragin
babcc56c4a - Merge KCB/NCB code (and related delay alloc/free implementation) from cm-rewrite branch. Only "used" in one call so it shouldn't affect anything.
svn path=/trunk/; revision=29954
2007-10-29 14:44:26 +00:00
Ged Murphy
4318124a73 we don't need the 0xff
svn path=/trunk/; revision=29953
2007-10-29 13:34:51 +00:00
Ged Murphy
af97264c80 speed up the DrawIconEx alpha maths a little bit
svn path=/trunk/; revision=29952
2007-10-29 13:29:26 +00:00
Hervé Poussineau
fb7e8a4777 Display status window only if it is not a console boot
svn path=/trunk/; revision=29951
2007-10-29 12:54:47 +00:00
Ged Murphy
b990a2cada change text to something meaningful
svn path=/trunk/; revision=29950
2007-10-29 12:15:55 +00:00
Hervé Poussineau
dd340e33fe Remove debug message
svn path=/trunk/; revision=29949
2007-10-29 12:13:45 +00:00
Hervé Poussineau
f71f72264f Rename console boot switch to CONSOLE
svn path=/trunk/; revision=29948
2007-10-29 11:55:06 +00:00
Hervé Poussineau
84547aa4c6 Add a virtual function table for UI, as already done for machine functions.
This leads to simplification of initialization phase, remove some corner cases and (now) unneeded variables.
This also lead to always have a UI to display messages (even maybe as simple as a printf() )

svn path=/trunk/; revision=29947
2007-10-29 11:00:31 +00:00
Hervé Poussineau
e2cdcc5958 Initialize CurrentDirectory before sending it to CreateProcessAsUserW()
svn path=/trunk/; revision=29946
2007-10-29 10:59:10 +00:00
Art Yerkes
440b18dbdf lower IRQL at appropriate time.
svn path=/trunk/; revision=29945
2007-10-28 23:23:51 +00:00
Aleksey Bragin
b308496ffa - Include config/cm.h for cm based code, and remove all duplicated types and prototypes.
- Get rid of EREGISTRY_HIVE, and use CMHIVE instead. Although the current ReactOS code doesn't make use of any of the functionality it offers, it's compatible with EREGISTRY_HIVE (our version was a subset) and allows us to get rid of another ros-specifc type, as well as being able to merge code from the cm-branch much more easily.
- Merge cmwraprs.c from the cm-branch, since the only differences were the filehandle fields in EREGISTRY_HIVE vs CMHIVE.
- Enable the #if'ed out code in cminit.c since it now applies to CMHIVE.

svn path=/trunk/; revision=29944
2007-10-28 22:38:20 +00:00
Aleksey Bragin
6b7c404e0b - Move registry shareable types (not internal to ntoskrnl's configuration manager) to cmdata.h, so that freeldr/mkhive can access them too.
- Remove all the ReactOS-specific versions of those types.
- Change all code referencing the ReactOS-specific versions to use the real NT versions, and fix any related code to properly use the new fields.

svn path=/trunk/; revision=29943
2007-10-28 21:31:46 +00:00
James Tabor
45199dd0b1 Sorry I did not want to change that part of the object.
svn path=/trunk/; revision=29942
2007-10-28 21:12:11 +00:00
Thomas Bluemel
8b0c929f19 Fix console painting bugs
svn path=/trunk/; revision=29941
2007-10-28 20:52:21 +00:00
James Tabor
f5b0ab501e Use DC object member hHmgr instead of hSelf. hSelf is used for MemoryDC and SaveDC.
svn path=/trunk/; revision=29940
2007-10-28 20:50:31 +00:00
Thomas Bluemel
6477a25b3a optimize FrameRgn for simple rectangular regions
svn path=/trunk/; revision=29938
2007-10-28 20:07:28 +00:00
Martin Fuchs
c65189cc6f disable PHP search in Doxy docu, enable caller graphs and extract all
svn path=/trunk/; revision=29931
2007-10-28 16:21:06 +00:00
Martin Fuchs
28facd60b4 disable PHP search in Doxy docu
svn path=/trunk/; revision=29930
2007-10-28 16:19:37 +00:00
Gregor Brunmar
59aa297b53 Made each service have its own pipe name as done in Windows
svn path=/trunk/; revision=29929
2007-10-28 14:13:03 +00:00
Art Yerkes
bc2e271c94 Fix memory map to kernel mode.
Allow prep serial in kdcom (and stop clobbering the data miss handler).
Clean up boot mapping a bit.
Silence some boot time spam.
Enable not present page handler (yes, this routing actually works).
Scan physical memory on the (virtually 100%) chance that open firmware will
somehow have a buggy implementation of the memory object, or we're on prep
hardware.
Initialize syscall trap early, so we can do DbgPrint.

svn path=/trunk/; revision=29928
2007-10-28 12:31:10 +00:00
Timo Kreuzer
3c9062ca96 user32:
- implement User32InitializeImmEntryTable() stub
- implement _assert() to remove reference to msvcrt.dll
todo: remove references to advapi32 and imm32. user32 should only link to ntdll, kernel32 and gdi32.
The goal is to make it at least load on windows.

svn path=/trunk/; revision=29926
2007-10-27 23:37:08 +00:00
Colin Finck
1b5d11010e Import the new code for showing floating point values with the correct decimal separator from shell32.
sysdm.cpl now shows the processor speed and RAM size values with the correct decimal separator based on the current locale.

svn path=/trunk/; revision=29925
2007-10-27 21:37:32 +00:00
Colin Finck
1d824ac4f3 - Implement a new ShellAbout dialog, which looks more like the Windows one. Uses the ReactOS Logo bitmap from base/setup/welcome/res.
The "Authors" button in the dialog currently highlights a redrawing bug in ReactOS (tracked in bug 2769).
- Define default strings in include/reactos/version.rc, which shouldn't be overwritten by applications.
  These strings can later be used i.e. in resource files like it's done in shell32 now.

svn path=/trunk/; revision=29924
2007-10-27 21:02:34 +00:00
Johannes Anderwald
2d59682aa4 - fix a bug
svn path=/trunk/; revision=29923
2007-10-27 20:48:45 +00:00
Marc Piulachs
190123f1ee Update shell32 spanish localization
svn path=/trunk/; revision=29922
2007-10-27 20:31:25 +00:00
Johannes Anderwald
2a3cd64f08 - start implementing "Open With" shell extension
- see http://windowsxp.mvps.org/OpenWith.htm

svn path=/trunk/; revision=29921
2007-10-27 20:09:38 +00:00
Colin Finck
7794642aa9 Portuguese (Brazilian) translation for sndvol32 by Mateus de Lima (mateusloliveira AT hotmail DOT com)
See issue #2768 for more details.

svn path=/trunk/; revision=29919
2007-10-27 19:31:40 +00:00
Colin Finck
f42bcbd323 Added and updated Slovak translations for the screensavers by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=29918
2007-10-27 17:36:40 +00:00
Hervé Poussineau
acdf579f07 Silent debug message
svn path=/trunk/; revision=29917
2007-10-27 16:38:14 +00:00
Martin Fuchs
c6b7e9b31e update Doxyfile to current format
svn path=/trunk/; revision=29913
2007-10-27 10:32:43 +00:00
Martin Fuchs
35cced874c update Doxyfile to current format
svn path=/trunk/; revision=29912
2007-10-27 10:31:28 +00:00
Daniel Reimer
a63e47438e German Translation Update for 3DText. Some size fixes for the text boxes
svn path=/trunk/; revision=29911
2007-10-27 09:16:15 +00:00
Thomas Bluemel
9c105be99b Display a list of all leaked memory blocks when terminating
svn path=/trunk/; revision=29910
2007-10-27 04:00:25 +00:00
Thomas Bluemel
283b505889 Fix memory leaks/wrong heap usage by replacing calls to _tcsdup with cmd_dup
svn path=/trunk/; revision=29909
2007-10-27 03:13:37 +00:00
Timo Kreuzer
93fe183181 2nd try to fix build
svn path=/trunk/; revision=29908
2007-10-27 01:47:38 +00:00
Timo Kreuzer
5834f08fec try to fix linux build
svn path=/trunk/; revision=29907
2007-10-27 01:41:23 +00:00
Marc Piulachs
8b2caeb2a4 forgot to commit this file. Add 3dtext to the build
svn path=/trunk/; revision=29906
2007-10-27 00:11:32 +00:00
Marc Piulachs
65687e3dbc Update/Fix spanish localizations
svn path=/trunk/; revision=29905
2007-10-26 22:46:23 +00:00
Marc Piulachs
f57df59ffd Very simple OpenGL 3D text screensaver similar to the windows one.
Original work by Jeff Molofee tutorials (http://nehe.gamedev.net)
basically converted from C++ to C and adapted as a windows screensaver

Not added to reactos.dff for now because opengl seems to be broken again
See issue #2755 for more details.

svn path=/trunk/; revision=29904
2007-10-26 22:34:42 +00:00
Timo Kreuzer
fffc7ba078 UserScrollDC: 2nd try to fix the invalidated region. desk.cpl looks ok now and in my tests all worked like on XP, also fix the returned invalidated rect (don't use NtGdiGetClipBox)
NtUserScrollDC: return the region type
NtUserScrollwindowEx: fix the default clip region

svn path=/trunk/; revision=29903
2007-10-26 22:08:53 +00:00
Aleksey Bragin
ec2b9a0991 - Define LIST_ENTRY functions as part of host headers, instead of mkhive-specific defines.
- Use CM_KEY_CONTROL_BLOCK when communicating with new CM implementation ("config"). CM now builds a dummy KCB so that the functions in "config" can go around their business with KCB without needing to know what a ros-specific PKEY_OBJECT is.

svn path=/trunk/; revision=29902
2007-10-26 20:59:42 +00:00
Marc Piulachs
dbb8fcae7b Implement Infs.Always section parsing to syssetup. Thanks to hpoussin for his suggestions
svn path=/trunk/; revision=29901
2007-10-26 16:19:52 +00:00
Hervé Poussineau
9b47f9fb33 Add a SourceDiskFiles section in txtsetup.sif, instead of hardcoding a list of drivers in freeldr
svn path=/trunk/; revision=29900
2007-10-26 15:32:04 +00:00
Aleksey Bragin
36a91123ec - Both calls to LpcpMoveMessage must be guarded with SEH.
See issue #2243 for more details.

svn path=/trunk/; revision=29896
2007-10-26 09:02:24 +00:00
Aleksey Bragin
0b279a26b2 - Make behavior consistent: if there is no relocation information, return SUCCESS in both possible cases.
See issue #2268 for more details.

svn path=/trunk/; revision=29895
2007-10-26 08:48:04 +00:00
Art Yerkes
f6640c9b72 Remaining fixes from branch transition. MmuTurnOn, now with GDB stub.
svn path=/trunk/; revision=29894
2007-10-26 06:37:52 +00:00
James Tabor
e40b261ed9 ScrollDC From my notes 08/16/2003:
- Wine testing was not enough. If dx & dy are zero and hrgn and lprc are used or not zero. The Rect for hrgn and lprc are set zero w/o NtUserScrollDC being called. It just returns TRUE.
- If HDC is zero it will return FALSE and not call NtUserScrollDC.

svn path=/trunk/; revision=29893
2007-10-26 02:07:33 +00:00
Ged Murphy
5d397e4214 fix use of globals introduced in r29883
svn path=/trunk/; revision=29891
2007-10-25 23:23:53 +00:00
Timo Kreuzer
f95e0ccee8 UserScrollDC:
- rename rcScroll to rcClip
- simplify calculation of source point
- fix calculation of invalidated region

svn path=/trunk/; revision=29890
2007-10-25 23:10:50 +00:00
Timo Kreuzer
bb72e4c3a3 remove ToUnicode() stub from win32k
svn path=/trunk/; revision=29889
2007-10-25 23:06:50 +00:00
Timo Kreuzer
f20c2c30a3 fix error check
svn path=/trunk/; revision=29888
2007-10-25 23:03:04 +00:00
Daniel Reimer
cd76b4ba4b Fix Build. Someone forgot to remove some +, when he copy pasted from a diff.
svn path=/trunk/; revision=29887
2007-10-25 21:47:33 +00:00
Johannes Anderwald
73960e0ad5 - Draw color quality indicator in Display Properties -> Settings
- patch by Vytis Girdzijauskas, "CMan", cman[at]cman[dot]us

See issue #2762 for more details.

svn path=/trunk/; revision=29883
2007-10-25 19:40:27 +00:00
Johannes Anderwald
ff318ae339 Hwang YunSong() <hys545@dreamwiz.com>
- Updated Korean resource.
Timo Kreuzer
- check if theres a current IDrapDropTarget interface and only then perform actions on it
See issue #1211 for more details.

svn path=/trunk/; revision=29882
2007-10-25 19:25:40 +00:00
Colin Finck
e2a8f1f20f - Add a Ukrainian translation for eventvwr by Rostislav Zabolotny (rstzab AT yandex DOT ru).
I modified it a bit to reflect the current changes, since it was created from an older revision.
- Add a common header to all translations
- Fix the dialog metrics of the About dialog in the Russian translation
See issue #2764 for more details.

svn path=/trunk/; revision=29880
2007-10-25 17:28:30 +00:00
Aleksey Bragin
6dad5e16a9 - Update cmlib interface to NT 5.2.
- Fix a bug in CmpInitializeHive which was calling HvInitializeHive with inverted params.
- Fix some host header issues.

svn path=/trunk/; revision=29879
2007-10-25 15:53:51 +00:00
Mike Nordell
5419828b1a [COMMENTS] Redundant comments removed.
svn path=/trunk/; revision=29878
2007-10-25 14:56:30 +00:00
James Tabor
91096c362d Fix icon title class descriptor for ReactOS.
svn path=/trunk/; revision=29876
2007-10-25 12:38:15 +00:00
Mike Nordell
d5b0ccd113 Quota cleanup. IRQL verfications for public functions. Still macro-protected and defaults to disabled.
svn path=/trunk/; revision=29875
2007-10-25 12:31:55 +00:00
Hervé Poussineau
73267a20e1 Add traces
Do not crash in IExtractIconW::GetIconLocation if out pointers are NULL

svn path=/trunk/; revision=29872
2007-10-25 10:28:19 +00:00
James Tabor
509c477b2e Sync with Wine: Static controls.
svn path=/trunk/; revision=29864
2007-10-25 02:25:53 +00:00
Marc Piulachs
26567de320 fix cat.exe > tcat.exe executable filename
svn path=/trunk/; revision=29862
2007-10-25 01:21:44 +00:00
Marc Piulachs
4655339c23 Build files updates and fixes
svn path=/trunk/; revision=29860
2007-10-25 01:15:21 +00:00
Magnus Olsen
8dce1974ed Fix the build of ReactX and smaller typos
svn path=/branches/reactx/; revision=29859
2007-10-24 23:18:05 +00:00
Magnus Olsen
d1c1e99025 Implement DxEngGetHdevData after some old notes I found , hope every things works.
Partly implement DxEngGetDCState

svn path=/branches/reactx/; revision=29858
2007-10-24 22:52:13 +00:00
Magnus Olsen
349d4d4458 Header fix only
---------------------
update DxEngGetHdevData define values in dxeng.h 
add new member to PDEV the _EDD_DIRECTDRAW_GLOBAL * pEDDgpl;
add missing struct D3DNTHAL_CALLBACKS2 and D3DNTHAL_CALLBACKS3 to ddk/d3dnthal.h
add missing struct _EDD_DIRECTDRAW_LOCAL to directxint.h from "Windows Graphics Programming Win32 GDI and DirectDraw by Feng Yuan"
fixed smaller typos in  directxint.h

 

svn path=/branches/reactx/; revision=29857
2007-10-24 22:49:06 +00:00
Colin Finck
3b27462836 Replace "LTEXT ... SS_CENTER" by a simple "CTEXT"
svn path=/trunk/; revision=29856
2007-10-24 20:26:13 +00:00
Magnus Olsen
995737523f Update the dxeng.h header with some more info
format the struct _EDD_DIRECTDRAW_GLOBAL as Feng Yuan - Windows Graphics Programming Win32 Gdi And Directdraw
Update the _EDD_DIRECTDRAW_GLOBAL struct with some private notes. (it is not all notes I have of it yet)


svn path=/branches/reactx/; revision=29855
2007-10-24 19:35:31 +00:00
Mike Nordell
443c699ba3 Interlocked add/sub for quota. Still disabled code.
svn path=/trunk/; revision=29853
2007-10-24 13:33:19 +00:00
James Tabor
5005dede1c - Implement NtUserGetComboBoxInfo and use it in GetComboBoxInfo.
- Use Shared locks.

svn path=/trunk/; revision=29849
2007-10-24 11:19:30 +00:00
Magnus Olsen
19462f737c add complete startup process code for dxg.sys
svn path=/branches/reactx/; revision=29848
2007-10-24 11:05:44 +00:00
Magnus Olsen
3cc2abdc0a Add documentations for EngDxIoctl, NtGdiDxgGenericThunk
optimize for EngDxIoctl, NtGdiDxgGenericThunk
implement DxDxgGenericThunk, DxDdIoctl for they are outdated, they are left for compatible issue. 
 

svn path=/branches/reactx/; revision=29847
2007-10-24 08:13:39 +00:00
Hervé Poussineau
5bce4dda0c Better check of GetWindowsDirectory() return value
svn path=/trunk/; revision=29846
2007-10-24 07:49:40 +00:00
Hervé Poussineau
9fdfadf2fa Duplicate the user token before calling CreateProcessAsUser()
See issue #2569 for more details.

svn path=/trunk/; revision=29845
2007-10-24 07:45:44 +00:00
Art Yerkes
ff15530f99 Remove extra var.
svn path=/trunk/; revision=29842
2007-10-24 03:34:58 +00:00
Art Yerkes
3f99dd619b React to changes in rbuild with regard to definitions. These are now
conditionally done in rosbe-ppc's gcc wrapper.

svn path=/trunk/; revision=29841
2007-10-24 02:23:54 +00:00
James Tabor
46d328103b Update NtUserGetComboBoxInfo header info.
svn path=/trunk/; revision=29840
2007-10-24 02:03:56 +00:00
James Tabor
07c753c912 - Sync to Wine: Listbox controls
- Implement NtUserGetListBoxInfo and GetListBoxInfo. Fix header entry.
- Add LB_GETLISTBOXINFO to psdk.

svn path=/trunk/; revision=29839
2007-10-24 01:04:06 +00:00
Gregor Brunmar
243774066b Made r29837 readable
svn path=/trunk/; revision=29838
2007-10-23 21:47:18 +00:00
Gregor Brunmar
f1546e5b22 Added RtlCopySecurityDescriptor
svn path=/trunk/; revision=29837
2007-10-23 21:42:03 +00:00
Aleksey Bragin
d68e72bf84 - Revert 29702 (IopParseDeviceHack is still required in 1st stage, and the Real Bug is at some other place, so no need in masking it away by doing calls which avoid buggy operation).
svn path=/trunk/; revision=29834
2007-10-23 19:19:06 +00:00
Magnus Olsen
6246902fcd adding driver export list for dxg.sys, thuse api that being export as driver
adding private include file for dxg.sys

svn path=/branches/reactx/; revision=29832
2007-10-23 19:06:11 +00:00
Marc Piulachs
5891bd30ce - various fixes to the spanish language resources
svn path=/trunk/; revision=29831
2007-10-23 15:24:40 +00:00
Hervé Poussineau
28f4b0ee2e IExtractIcon::GetIconLocation is not documented to support a NULL pointer as last parameter
svn path=/trunk/; revision=29830
2007-10-23 14:26:53 +00:00
Marc Piulachs
c494d813c2 - Added a new start menu folder "Accessibility" (IDS_SYS_ACCESSIBILITY)
- Install magnify on the start menu
See issue #2742 for more details.

svn path=/trunk/; revision=29829
2007-10-23 13:25:26 +00:00
Mike Nordell
33b96d03bf Unbreak build (unused local var's warnings when not using the quota code).
svn path=/trunk/; revision=29828
2007-10-23 12:31:21 +00:00
Mike Nordell
821c3e5125 [FORMATTING] Consistency.
svn path=/trunk/; revision=29827
2007-10-23 11:08:18 +00:00
Mike Nordell
c4720317ab First small attempt at implementing process memory quota. Currently disabled without explicit code modification (enabled by macro) to not modify behaviour of trunk.
svn path=/trunk/; revision=29826
2007-10-23 10:05:40 +00:00
Mike Nordell
6daf79aab8 [FORMATTING] Tab -> spc consistency.
svn path=/trunk/; revision=29825
2007-10-23 09:49:16 +00:00
Hervé Poussineau
acdded5eed When creating the context menu, take care of attributes returned by the shell folder implementation
svn path=/trunk/; revision=29824
2007-10-23 09:43:23 +00:00
Hervé Poussineau
f9ca3809d6 Use SHCreateDefaultExtractIcon to simplify code
svn path=/trunk/; revision=29823
2007-10-23 09:09:46 +00:00
Hervé Poussineau
daa26745c2 Implement SHCreateDefaultExtractIcon
Export SHCreateDefaultContextMenu

svn path=/trunk/; revision=29822
2007-10-23 09:01:39 +00:00
Aleksey Bragin
c99c8b6957 - Add a bit more debug traces, like the previous implementation had.
svn path=/trunk/; revision=29821
2007-10-23 08:32:19 +00:00
Hervé Poussineau
130fe6e833 Fix some svn properties
svn path=/trunk/; revision=29819
2007-10-23 08:30:39 +00:00
Hervé Poussineau
a8f4976951 Do not mix ReactOS and Wine debug style
svn path=/trunk/; revision=29818
2007-10-23 08:27:48 +00:00
Hervé Poussineau
195f28c5df Code refactoring to be able to handle installation of network protocols/services/clients
svn path=/trunk/; revision=29817
2007-10-23 08:25:53 +00:00
Hervé Poussineau
802a970a9e No need to define __USE_W32API
svn path=/trunk/; revision=29816
2007-10-23 08:22:02 +00:00
Hervé Poussineau
aabdae9d56 No need to define __USE_W32API
svn path=/trunk/; revision=29815
2007-10-23 08:12:28 +00:00
Hervé Poussineau
fca3c865ba __USE_W32API is always defined nowadays
svn path=/trunk/; revision=29814
2007-10-23 07:53:02 +00:00
James Tabor
af679ec61d Sync with Wine: Combo controls. Checked Button and no changes.
svn path=/trunk/; revision=29813
2007-10-23 06:13:16 +00:00
James Tabor
ac7a2ffaa6 Sync with Wine: Add the rest of Alex Villacís Lasso : user32: Fix EM_SETLIMITTEXT with zeroed args.
svn path=/trunk/; revision=29812
2007-10-23 04:32:10 +00:00
James Tabor
c3d4561829 Sync with Wine: Edit controls.
svn path=/trunk/; revision=29811
2007-10-23 04:19:29 +00:00
Johannes Anderwald
84a13a2101 - silence wine debug messages
svn path=/trunk/; revision=29809
2007-10-23 02:03:29 +00:00
Johannes Anderwald
4da0e180ee - add a member to shlview to able to track the current context menu
- make the background menu use owner drawn items to show icon (icon not yet shown)
- let the shell item menu also accept owner drawn images
- this makes winrar shellextension appear however the language is _not_ correct in most cases and executing a command is at your own risk :)

svn path=/trunk/; revision=29808
2007-10-23 02:00:30 +00:00
Magnus Olsen
1dce1e3a3c move in DC/PDC to ntgdihdl and all neasry struct that are need it.
svn path=/branches/reactx/; revision=29804
2007-10-22 23:38:11 +00:00
Magnus Olsen
b3792fec24 puting back dc.h and driver.h to win32k/include as jimtablor requested.
we need move PDC only to ntgdihdl.h.

svn path=/branches/reactx/; revision=29803
2007-10-22 23:21:23 +00:00
Marc Piulachs
4ce5c80551 Add xcopy and maginify to bootcd to make aicom happy
svn path=/trunk/; revision=29802
2007-10-22 22:06:29 +00:00
Daniel Reimer
435b8c7cc0 Translate xcopy into German and fix the SUBLANGs of the rest.
Update German Shell32 Translation

svn path=/trunk/; revision=29799
2007-10-22 21:24:42 +00:00
Magnus Olsen
03cd85d4e1 actvate more code and slash away more notes to the trachcan, and smaller cleanup
svn path=/branches/reactx/; revision=29798
2007-10-22 21:15:10 +00:00
Magnus Olsen
969eb0a20a dxgthk 100% finish, it should work now in windows, complete replacement for ms dxgthk.sys now.
not tested yet in windows. 

svn path=/branches/reactx/; revision=29797
2007-10-22 20:55:18 +00:00
Magnus Olsen
bf3e6f5443 rename dxg.def to dxgthk.def
svn path=/branches/reactx/; revision=29796
2007-10-22 20:16:48 +00:00
Magnus Olsen
115c413a45 adding dxgthk.sys stub we need it for dxg.sys
svn path=/branches/reactx/; revision=29795
2007-10-22 20:15:49 +00:00
Marc Piulachs
49b663a0a1 Wine imported xcopy command line tool
svn path=/trunk/; revision=29794
2007-10-22 19:55:26 +00:00
Gregor Brunmar
5492d9a135 More svchost stub, end-of-the-day checkin.
svn path=/trunk/; revision=29793
2007-10-22 19:54:51 +00:00
Magnus Olsen
5697e7c2d2 fix the build for win32k.sys
svn path=/branches/reactx/; revision=29791
2007-10-22 19:49:06 +00:00
Magnus Olsen
31f85ca295 start activate code in dxg.sys
fixed compiling issue with win32kdc.h
FIXME : win32k.sys and dxg.sys compiling are broken at moment

svn path=/branches/reactx/; revision=29790
2007-10-22 19:42:53 +00:00
Marc Piulachs
7324d950c7 - Minor fixes to the es-ES localization for eventvwr
- Add it to the build

svn path=/trunk/; revision=29789
2007-10-22 19:39:47 +00:00
Magnus Olsen
461b232a67 rename dc.h to win32kdc.h
rename driver.h to win32kdriver.h

svn path=/branches/reactx/; revision=29788
2007-10-22 19:37:43 +00:00
Magnus Olsen
5fbe1981ea Moved remotely
win32k/include/driver to include/reactos/win32k

svn path=/branches/reactx/; revision=29787
2007-10-22 19:35:10 +00:00
Magnus Olsen
63d64ecb75 Moved remotely
dc.h from win32k/include to include/reactos/win32k

svn path=/branches/reactx/; revision=29786
2007-10-22 19:28:41 +00:00
Magnus Olsen
034be89e6c make dxg.sys to compile
svn path=/branches/reactx/; revision=29784
2007-10-22 18:11:24 +00:00
Gregor Brunmar
9e306bf2f4 Added first stub of svchost - not included in the build yet.
svn path=/trunk/; revision=29783
2007-10-22 18:06:31 +00:00
Colin Finck
fa46551b04 Shell32 resource file cleanup - Part 2
All resource files contain the same elements now, so translators know what they have to translate.
If elements are added or changed, please do that for all translations now to avoid such a mess in the future.

svn path=/trunk/; revision=29781
2007-10-22 16:49:34 +00:00
Magnus Olsen
9d36446482 Adding code from 2004, DxDdStartupDxGraphics, DxDdCleanupDxGraphics(), DdHmgDestroy()
svn path=/branches/reactx/; revision=29780
2007-10-22 16:26:59 +00:00
Hervé Poussineau
8ffd3b71f2 Add SHCreateDefaultExtractIcon prototype and IDefaultExtractIconInit interface.
IID_IDefaultExtractIconInit is not correct, it has to be fixed later

svn path=/trunk/; revision=29779
2007-10-22 14:43:01 +00:00
Hervé Poussineau
873fccb22a __USE_W32API is always defined nowadays
svn path=/trunk/; revision=29778
2007-10-22 14:04:23 +00:00
Hervé Poussineau
d52d5d5fd7 Remove outdated file
svn path=/trunk/; revision=29777
2007-10-22 12:23:14 +00:00
Hervé Poussineau
f9cef2a895 Always declare SetLogonNotifyWindow
svn path=/trunk/; revision=29776
2007-10-22 12:19:43 +00:00
Mike Nordell
1f2fce4fea [COMMENT] Document array indices for EPROCESS.Quota* members.
svn path=/trunk/; revision=29771
2007-10-22 10:04:52 +00:00
Hervé Poussineau
23dda38c1e Fix typo
svn path=/trunk/; revision=29770
2007-10-22 08:50:31 +00:00
Thomas Bluemel
05e20948eb Process window messages while the (un)installer is running and disable it
svn path=/trunk/; revision=29765
2007-10-22 03:38:51 +00:00
Johannes Anderwald
e474c7c74f - load dynamic shell extensions with IContextMenu interface
svn path=/trunk/; revision=29763
2007-10-22 00:36:10 +00:00
Magnus Olsen
7a6391ae7d start adding dxg.sys
svn path=/branches/reactx/; revision=29761
2007-10-21 23:38:13 +00:00
Johannes Anderwald
75229d4d44 - use RegLoadMUIString for a translated keys
- insert shortcut assitent in front of shellnew list
- adjust item id for create shortcut action

svn path=/trunk/; revision=29756
2007-10-21 21:59:55 +00:00
Colin Finck
61738aafc9 Shell32 resource file cleanup - Part 1/2 for today
- Move all language-dependent resource files to a "lang" subdirectory and rename them appropriately
- Rename "shres.rc" to "shell32.rc"
- Make all translations consistent, if some elements were missing I copied the english ones. Also use a consistent indentation.
  All resource files from "bg-BG.rc" to "fi-FI.rc" (alphabetically) should be consistent now, I'll do the rest later.
- Fix some mistakes in the german translation

svn path=/trunk/; revision=29753
2007-10-21 21:04:36 +00:00
Thomas Bluemel
db566bc495 Load libraries as data files in RegLoadMUIString
svn path=/trunk/; revision=29752
2007-10-21 19:14:19 +00:00
Magnus Olsen
7f5e624fc6 fix compilng forget implement stub for DxEngIncDispUniq
svn path=/branches/reactx/; revision=29751
2007-10-21 18:52:42 +00:00
Magnus Olsen
0bb73dc1f8 forget remove a smaller hack i the drv functions list that being pass to dxg.sys
svn path=/branches/reactx/; revision=29750
2007-10-21 18:47:16 +00:00
Johannes Anderwald
b8fd4333c7 - fix a few bugs
svn path=/trunk/; revision=29749
2007-10-21 18:42:01 +00:00
Hervé Poussineau
eb32aa038b [FORMATTING] General cleanup (indentation, headers...). No code change
svn path=/trunk/; revision=29748
2007-10-21 18:35:19 +00:00
Magnus Olsen
43560602c9 add stub for all dxeng so the dxg.sys does not crash, but we see where the problem are.
now we can start play with dxg.sys in ReactX

svn path=/branches/reactx/; revision=29746
2007-10-21 18:28:31 +00:00
Johannes Anderwald
aa6fdab501 - use SHGetSpecialFolderPath if used on desktop when creating new file objects
svn path=/trunk/; revision=29744
2007-10-21 17:11:43 +00:00
Magnus Olsen
86bc741994 implement DxEngLockDC and DxEngUnlockDC
Documented DxEngLockDC and DxEngUnlockDC

svn path=/branches/reactx/; revision=29743
2007-10-21 17:08:12 +00:00
Magnus Olsen
bd8a20efb1 add correct prototypes for DxEngLockDC and DxEngUnlockDC
add comment how DxEngLockDC and DxEngUnlockDC works

svn path=/branches/reactx/; revision=29742
2007-10-21 17:06:27 +00:00
Johannes Anderwald
1e5f7f1f85 - fix a typo
- may fix bug 2732

svn path=/trunk/; revision=29740
2007-10-21 16:22:39 +00:00
Johannes Anderwald
027341f0cb - fix memory leak
svn path=/trunk/; revision=29739
2007-10-21 16:20:14 +00:00
Magnus Olsen
a85334323c add driver functions list that are need it for dxg.c startup process.
dxeng.c are not finish and the drv list are not either finish allot is comment out for now

svn path=/branches/reactx/; revision=29737
2007-10-21 15:11:19 +00:00
Magnus Olsen
598e4e5569 make ReactX compile again, it can not load dxg.sys yet.
svn path=/branches/reactx/; revision=29736
2007-10-21 13:49:29 +00:00
Daniel Reimer
60efb9002e Remove Trailing spaces.
Add German Translations for joy and tapiui.rc.
Fix a typo in en-US of tapiui.

svn path=/trunk/; revision=29735
2007-10-21 13:49:27 +00:00
Magnus Olsen
d3527f3196 fixed allot compiling issue
svn path=/branches/reactx/; revision=29734
2007-10-21 13:31:39 +00:00
Eric Kohl
9e7e871493 Simplify a lot of code (e.g.: SendMessage(GetDlgItem(...)...) --> SendDlgItemMessage(...))
svn path=/trunk/; revision=29733
2007-10-21 13:02:26 +00:00
Eric Kohl
89e36432c3 Fixed indentation (TABs --> Spaces)
No code changes.

svn path=/trunk/; revision=29732
2007-10-21 12:58:35 +00:00
Hervé Poussineau
f468185fd7 Replace STDCALL by APIENTRY
Remove keywords property

svn path=/trunk/; revision=29730
2007-10-21 11:50:55 +00:00
Eric Kohl
2689ce9561 - Keep the value type of each environment variable that was read from the registry and assign the right type for new and modified variables.
- Read and write the the raw (non-expanded) environment variables and display the cooked (expanded) ones only.

svn path=/trunk/; revision=29729
2007-10-21 11:13:03 +00:00
Colin Finck
f546265f2f - Apply the spanish translation for eventvwr by Marc Piulachs (marc DOT piulachs AT codexchange DOT net, bug 2758)
- Use a consistent indentation in all resource files
- Change the metrics of some controls to make the full text visible
- Add a manifest file to enable visual styles
See issue #2758 for more details.

svn path=/trunk/; revision=29728
2007-10-21 10:41:11 +00:00
Aleksey Bragin
b54db7180d - When adding new items into a submenu, they are placed incorrectly. Fix this.
svn path=/trunk/; revision=29727
2007-10-21 09:08:04 +00:00
Hervé Poussineau
d4a661abf0 Replace DDKAPI call convention by APIENTRY, as specified in winddi.h for driver function pointers
svn path=/trunk/; revision=29726
2007-10-21 07:14:55 +00:00
Magnus Olsen
4efa4a4b9c Add documentations : how NtGdiDdCreateD3DBuffer works, did nott add full docs, but egunt for people start using it if they read msdn as well
Optimize : NtGdiDdCreateD3DBuffer

svn path=/branches/reactx/; revision=29725
2007-10-21 01:25:26 +00:00
Magnus Olsen
b18e1f0406 Add documentations : how NtGdiD3dContextDestroyAll works, MSDN docs is wrong
Optimize : NtGdiD3dContextDestroyAll

svn path=/branches/reactx/; revision=29724
2007-10-21 00:47:24 +00:00
Thomas Bluemel
f3936aecb5 Fixes updating default character attributes when calling SetConsoleTextAttribute().
See issue #2705 for more details.

svn path=/trunk/; revision=29723
2007-10-20 22:26:58 +00:00
Thomas Bluemel
b7b9154d87 Enable the code to determine the time zone from the default system language
svn path=/trunk/; revision=29722
2007-10-20 21:37:48 +00:00
Magnus Olsen
c21492b9b3 update some docs with info that is correct, this info can not be found in msdn, msdn is wrong in this part.
that why people can not check see if they can create a surface. 


svn path=/branches/reactx/; revision=29721
2007-10-20 18:58:13 +00:00
Johannes Anderwald
61f5e03b5c - add joy.cpl and tapiui.dll to bootcd
- patch by Cameron Gutman (aicommander[at]gmail[dot]com)

svn path=/trunk/; revision=29720
2007-10-20 18:56:46 +00:00
Thomas Bluemel
64c30129f0 tapiui.dll doesn't have an entry point
svn path=/trunk/; revision=29719
2007-10-20 18:34:56 +00:00
Aleksey Bragin
7ebd9da005 - Use "windows" module to hold native dlls, which can be legally used in different operating systems (for now, it's mfc42.dll). Put it into reactos\modules\windows directory and "makex bootcd".
svn path=/trunk/; revision=29718
2007-10-20 18:09:14 +00:00
Magnus Olsen
4a53c0fc46 This header are need it for our owm dxg.h, This stuct can not be found in msdn.
This struct are documented partly or full in Feng Yuan - Windows Graphics Programming Win32 Gdi And Directdraw.
I am great full to Alex to help figut and fill in the missing parts. Thank you. 

svn path=/branches/reactx/; revision=29717
2007-10-20 18:03:36 +00:00
Aleksey Bragin
3897b3d8ee - Remove entrypoint="0" from DLLs which actually need their DllMain to be exported and run. Some of them are Wine-autosynced, so the offer is to alter winesync.cmd to remove "entrypoint="0" from autocreated .rbuild files.
svn path=/trunk/; revision=29716
2007-10-20 17:38:35 +00:00
Magnus Olsen
85033b2610 Optimze : the NtGdiDdCanCreateD3DBuffer and NtGdiDdCanCreateD3DBuffer , with the new optimze method.
Add : doxgen tags for how NtGdiDdCanCreateD3DBuffer and NtGdiDdCanCreateD3DBuffer works 
Add : a sort code for the DxEngDrv so we getting the driver functions in sorted list in DxDdStartupDxGraphics, this will be part of optimize the dx code in directx
it will allow us call function with gpDxFuncs[DXG_INDEX_DxD3dContextCreate].pfn instead first to search after it. 
Fix few bugs, as well. 
rember u can not still build ReactX I have not commit thuse part yet.





svn path=/branches/reactx/; revision=29715
2007-10-20 17:34:14 +00:00
Aleksey Bragin
0ac6d75c60 Dmitry Chapyshev <lentind@yandex.ru>
- Fully implement tapiui.dll, compatible with Windows.
- Icons come from SUSE's yast2-industrial; 203,202.ico and 301,302.bmp are done by me based on Tango.

svn path=/trunk/; revision=29714
2007-10-20 17:16:30 +00:00
Eric Kohl
698fbca4a1 Make it UNICODE-safe.
svn path=/trunk/; revision=29713
2007-10-20 15:03:15 +00:00
Eric Kohl
47fe787a9e Fix indentation (TABs --> Spaces).
Use BEGIN and END instead of { and } in resource scripts.

svn path=/trunk/; revision=29706
2007-10-20 11:08:23 +00:00
Aleksey Bragin
4c94f55c72 Dmitry Chapyshev <lentind@yandex.ru>
- Implement a joy.cpl applet. Works good on Windows XP.

svn path=/trunk/; revision=29705
2007-10-20 10:20:05 +00:00
Johannes Anderwald
8a229a42d2 - fix param spotted by James Tabor
- see http://www.reactos.org/archives/public/ros-dev/2007-October/009952.html for more details

svn path=/trunk/; revision=29704
2007-10-20 10:14:03 +00:00
Mike Nordell
8bca67688e Don't try to open a harddisk for reading when checking for it to create the PhysicalDriveN links. Instead, request FILE_READ_ATTRIBUTES. This silences a hack-warning in IopParseDevice, that now possibly can be removed.
svn path=/trunk/; revision=29702
2007-10-20 07:36:17 +00:00
Mike Nordell
c94bf60692 [COMMENT] Added comment explaining how this code, which at first glance simply couldn't work, indeed can work. Much code (55 lines to be precise) is hidden inside a macro.
svn path=/trunk/; revision=29700
2007-10-20 05:48:25 +00:00
Art Yerkes
dedc151662 Protect access to the physical map.
svn path=/trunk/; revision=29699
2007-10-20 04:30:01 +00:00
Johannes Anderwald
12793466a6 - implement shellnew operations for type "Data" and "FileName"
svn path=/trunk/; revision=29694
2007-10-20 01:18:08 +00:00
Johannes Anderwald
01dfe7583c - store lnk extension
- store shellnew command range
- implement shellnew commands for type "Command" and type "NullFile"


svn path=/trunk/; revision=29693
2007-10-20 00:50:07 +00:00
Johannes Anderwald
6aa7d10022 - add a create shellnew option for textfiles
svn path=/trunk/; revision=29692
2007-10-20 00:46:40 +00:00
Johannes Anderwald
385e22ca5a - provide a name for shellnew command (required)
svn path=/trunk/; revision=29691
2007-10-19 23:54:26 +00:00
Daniel Reimer
ae7da04787 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29690
2007-10-19 23:21:45 +00:00
Daniel Reimer
a7fddf9c07 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29689
2007-10-19 23:05:02 +00:00
Daniel Reimer
622c29bffb Delete all Trailing spaces in code.
svn path=/trunk/; revision=29688
2007-10-19 23:01:40 +00:00
Johannes Anderwald
dd02e006bb - implement loading of shell new items in context menus
- these are responsible for showing creating "new file type extension" item

svn path=/trunk/; revision=29686
2007-10-19 19:32:16 +00:00
Hervé Poussineau
4d1f688f65 Activate define override check in rbuild
Cleanup some .rbuild files
Set __REACTOS__ as overridable ; it should be removed after next winesync

svn path=/trunk/; revision=29685
2007-10-19 15:27:44 +00:00
Hervé Poussineau
f33633bbf7 Add an 'overridable' attribute on defines.
Suggestion by Marc Piulachs

svn path=/trunk/; revision=29684
2007-10-19 15:06:11 +00:00
Mike Nordell
29cfc91618 Deleted definition of a variable named ScsiPortIsr that was directly followed by the declaration of the function with the same name.
svn path=/trunk/; revision=29683
2007-10-19 14:27:32 +00:00
Hervé Poussineau
7e9e19c6f6 Ignore compiler flags when generating resource macro
svn path=/trunk/; revision=29682
2007-10-19 14:16:18 +00:00
Hervé Poussineau
e7d0bd05c2 Support define overriding in child .rbuild files
See issue #2745 for more details.

svn path=/trunk/; revision=29681
2007-10-19 13:24:06 +00:00
Hervé Poussineau
7b57d6a08d Const-ify Define class
svn path=/trunk/; revision=29680
2007-10-19 13:20:27 +00:00
Johannes Anderwald
bcb862e4f0 - fix creating context menu entry for shortcut
- add static context menu entry (under windows xp sp2 it is defined under ".lnk", however this is a little mess to define static handlers in one place and dynamic in another)

svn path=/trunk/; revision=29679
2007-10-19 13:01:55 +00:00
Johannes Anderwald
ec0138f98f Author: Evan Teran <evan.teran@gmail.com>
- Fix typo in GlobalAlloc parameters.

svn path=/trunk/; revision=29678
2007-10-19 11:15:50 +00:00
Johannes Anderwald
50fa98a4ca - add printer folder
- patch by Huw D M Davies (http://www.winehq.org/pipermail/wine-patches/2005-April/016926.html)
- register bitbucket context menu extension

svn path=/trunk/; revision=29677
2007-10-19 11:03:05 +00:00
Johannes Anderwald
4d7b011eb9 - load dynamic IContextMenu extensions from registry
- it uses the key shellex\ContextMenuHandlers\{CLSID} to load extensions
- make SHCreateDefaultContextMenu use default IContextMenu implementation
- TBD for static IContextMenu extensions and for creating a new object of that type (ShellNew)
- code currently if 0' out

svn path=/trunk/; revision=29676
2007-10-19 10:52:07 +00:00
Mike Nordell
db4783f481 [FORMATTING] Misuse of TAB. Converted to spaces.
svn path=/trunk/; revision=29674
2007-10-19 07:50:59 +00:00
Art Yerkes
1b1b3c8ca6 Uncaught error when moving to trunk. Thanks gdb.
svn path=/trunk/; revision=29673
2007-10-19 07:47:21 +00:00
Art Yerkes
293cc2c20b Debug DbgBreakPoint and drop to GDB on program trap.
svn path=/trunk/; revision=29672
2007-10-19 07:22:01 +00:00
Thomas Bluemel
d8772de615 Destroy created pen after use (fixes a GDI object leak)
svn path=/trunk/; revision=29671
2007-10-19 04:51:07 +00:00
Thomas Bluemel
9849a423d6 Tweak the ScrollDC implementation a bit so that it produces a better output. The implementation still is completely incorrect as it should call the driver for this operation instead of doing a BitBlt operation...
svn path=/trunk/; revision=29670
2007-10-19 03:23:04 +00:00
Thomas Bluemel
f5ae8773cf Extend hack in NtUserEnumDisplayDevices to fail enumerating monitors. Fixes an infinite loop in deskmon.dll
svn path=/trunk/; revision=29669
2007-10-19 02:51:48 +00:00
Thomas Bluemel
0c04721b80 Port RegLoadMUIStringA/W from WINE HEAD and adjust parameter names
svn path=/trunk/; revision=29668
2007-10-19 02:40:23 +00:00
Thomas Bluemel
c573ed42b0 Initialize the COM library
svn path=/trunk/; revision=29667
2007-10-19 02:16:54 +00:00
Thomas Bluemel
509bef7801 Allow selecting monitors using the keyboard
svn path=/trunk/; revision=29666
2007-10-18 23:39:16 +00:00
Thomas Bluemel
36f1aa644b Add very basic dragging support to the monitor selection control
svn path=/trunk/; revision=29665
2007-10-18 22:59:33 +00:00
Colin Finck
cabbd02835 Use StretchBlt with fixed values for drawing the card backs in the Deck Options dialog.
This way the dialog looks normally, also with bigger cards like the Bavarian ones.

svn path=/trunk/; revision=29664
2007-10-18 22:04:50 +00:00
Colin Finck
e82f596e25 - Fix a bug in Solitaire: When you used the 1-card-mode before, there never was a card behind the one, which you drag from the pile.
Now Solitaire collects all the cards from the deck in the 1-card-mode like Windows Solitaire does.
- Make it possible to use CS_EI_CIRC (the O sign) and CS_EI_X (the X sign) as empty images for a deck.
  Actually make use of CS_EI_CIRC for the Solitaire deck.

svn path=/trunk/; revision=29663
2007-10-18 21:54:39 +00:00
Johannes Anderwald
33aa43c80f - only register hotkey when setup is active
- should fix bug 2684
See issue #2684 for more details.

svn path=/trunk/; revision=29662
2007-10-18 21:09:45 +00:00
Mike Nordell
c44c89a6ab Fix logical error in a hack.
svn path=/trunk/; revision=29661
2007-10-18 15:37:52 +00:00
Timo Kreuzer
1ba1d85baf revert my useless hack.
svn path=/trunk/; revision=29660
2007-10-18 09:44:58 +00:00
Hervé Poussineau
ae32fc91f9 Export GetDefaultPrinterA/W also by ordinal
svn path=/trunk/; revision=29659
2007-10-18 08:44:46 +00:00
Art Yerkes
9b64d11bf9 Break in at will.
Fix trap handler a bit, allowing setting of MSR.
Make packet code work properly when serial output is interrupted by a packet
from gdb.

svn path=/trunk/; revision=29658
2007-10-18 08:12:28 +00:00
Mike Nordell
884b9c5804 Move variable definition to before first code statement. GCC did not catch this due to its language extensions.
svn path=/trunk/; revision=29657
2007-10-18 08:11:32 +00:00
Mike Nordell
790709a740 Feeble attempt at getting NT4 vga.sys working by implementing HalFrameBufferCachingInformation case for HaliQuerySystemInformation.
svn path=/trunk/; revision=29656
2007-10-18 08:00:59 +00:00
Thomas Bluemel
f0b2c954e0 Fix status output
svn path=/trunk/; revision=29655
2007-10-18 06:28:02 +00:00
Thomas Bluemel
66f59d880b Display basic download status
svn path=/trunk/; revision=29654
2007-10-18 06:00:17 +00:00
Mike Nordell
bc757c00ed Patch from aicommander. Actually copy uniata.sys from the installation media, and disable VGA resolution selection as VGA is broken.
svn path=/trunk/; revision=29653
2007-10-18 04:01:53 +00:00
Peter Ward
f1d42c57ad - Add dwnl.exe utility to the bootcd, patch by Cameron Gutman (aicommander).
svn path=/trunk/; revision=29652
2007-10-18 02:40:12 +00:00
Hervé Poussineau
b81c161f7d Better resource freeing
Fix a bug introduced in r29644, when WM_CREATE was sometimes leaking to WM_DESTROY

svn path=/trunk/; revision=29651
2007-10-17 19:35:41 +00:00
Mike Nordell
cfcee17413 Implement functionality for ctrl-home and ctrl-end
svn path=/trunk/; revision=29649
2007-10-17 18:21:16 +00:00
Johannes Anderwald
abfca5716e - fix a bug
- fix identation
- only register hotkeys when not being in setup

See issue #2684 for more details.

svn path=/trunk/; revision=29644
2007-10-17 17:37:02 +00:00
Daniel Reimer
f0ad2263bf Bug 2749: Small fixes to eventvwr (marc.piulachs@codexchange.net)
svn path=/trunk/; revision=29643
2007-10-17 14:38:52 +00:00
Hervé Poussineau
1ce7fa00ce Add Lithuanian keyboard layout option in 1st stage
Patch by Vytis Girdzijauskas, "CMan", cman[at]cman[dot]us
See issue #2750 for more details.

svn path=/trunk/; revision=29642
2007-10-17 13:50:55 +00:00
Hervé Poussineau
8d5a679b1c Fix typo
svn path=/trunk/; revision=29641
2007-10-17 13:50:07 +00:00
Hervé Poussineau
50660226e5 Implement ProfileItems support in .inf files
See issue #2738 for more details.

svn path=/trunk/; revision=29639
2007-10-17 13:43:40 +00:00
Hervé Poussineau
86c39bdbeb Commit again changes of r25834, which were reverted in r29507.
See issue #1918 for more details.

svn path=/trunk/; revision=29638
2007-10-17 13:42:53 +00:00
Ged Murphy
e1d7fedbee silence stray debug message
svn path=/trunk/; revision=29637
2007-10-17 10:33:12 +00:00
Aleksey Bragin
db0466d5e3 - LdrpAttachToProcess() should be called only once per process, so added the check. This fixes a crash when trying to start any app using MFC42.DLL, including 1C.
See issue #2730 for more details.

svn path=/trunk/; revision=29636
2007-10-17 10:01:03 +00:00
Mike Nordell
6d8670a692 proper PSEH return usage (thanks janderwald)
svn path=/trunk/; revision=29635
2007-10-17 09:19:09 +00:00
Hervé Poussineau
fe36bfa80f Add missing WINAPI keyword
svn path=/trunk/; revision=29634
2007-10-17 09:10:02 +00:00
Mike Nordell
0a36bb76e5 Fix PAGE_ROUND_DOWN, PAGE_ROUND_UP, and a user of them (correctness and speedup)
svn path=/trunk/; revision=29633
2007-10-17 08:31:02 +00:00
Mike Nordell
059e6ff652 Probe arguments if coming from usermode. Use previous mode when referencing process handle. Actually specify PsProcessType for process handle. Some minor cleanup (less compiled code and some speedup).
svn path=/trunk/; revision=29632
2007-10-17 08:16:20 +00:00
Colin Finck
e4f748378c Merge the cards of "cardsbav" to our cards.dll and specify, which cards shall be compiled into the cards.dll, with preprocessor definitions in cards.rbuild.
This change obsoletes the old cardsbav.dll, so I removed it.

svn path=/trunk/; revision=29630
2007-10-16 18:33:03 +00:00
Aleksey Bragin
5cb248c027 Dmitry Gorbachev <hs26332@mail.cnt.ru>
- NtSetInformationFile() could be done before asynchronously called NtWriteFile is completed. Fix this by sending the synchronous flag.
- Check return status of the second NtSetInformationFile() call.
See issue #2071 for more details.

svn path=/trunk/; revision=29629
2007-10-16 14:59:09 +00:00
Hervé Poussineau
337bfc3217 Display a simple bootlogo, instead of a black screen if /SOS option is not provided
svn path=/trunk/; revision=29628
2007-10-16 10:40:17 +00:00
Magnus Olsen
ef6f1d494e all redirect are done, for syscall and export api to dxg.sys
left todo fix compiling issue and fix all stub for dxeng.c


svn path=/branches/reactx/; revision=29627
2007-10-16 09:11:22 +00:00
Mike Nordell
5ddb3f1519 const-correctness cleanup. 'CONST UNICODE_STRING*' -> PCUNICODE_STRING
svn path=/trunk/; revision=29626
2007-10-16 08:52:09 +00:00
Magnus Olsen
be2a0beb1e commit layout for allot functions that need be redirected to dxg.sys
the code are not finish

svn path=/branches/reactx/; revision=29625
2007-10-16 08:35:57 +00:00
Magnus Olsen
ad4b6c7616 fixing few compiling issue.
svn path=/branches/reactx/; revision=29624
2007-10-16 07:42:36 +00:00
Mike Nordell
68b61fb415 Unbreak build. The code is used from user-mode too, so CONST can not be used. Use plain 'const' instead.
svn path=/trunk/; revision=29623
2007-10-16 06:55:06 +00:00
Thomas Bluemel
a31bff4baf Check if reading theme settings from the registry was successful
svn path=/trunk/; revision=29622
2007-10-16 05:56:44 +00:00
Mike Nordell
51c353fab2 Attempt to make Cm API at least a little const-correct.
svn path=/trunk/; revision=29621
2007-10-16 05:39:47 +00:00
Daniel Reimer
cd4cf62e99 Fix the size of the new Dialog and make it non-resizeable.
Add the Icon to the "Download..." Dialog.
Fix some typos.
Fixed some formatting stuff.
Added a manifest File.

svn path=/trunk/; revision=29620
2007-10-16 05:37:22 +00:00
Mike Nordell
4475d4786b Debugging helper functions added, to verify hive list integrity. Grab hive lock for insertion in EnlistKeyBodyWithKCB. Some comments added.
svn path=/trunk/; revision=29619
2007-10-16 05:08:45 +00:00
Mike Nordell
48b968be9f Fixes the registry loop bug. No more bugchecks after exactly ten minutes. Do not try to insert an entry into a list it's already inserted into.
svn path=/trunk/; revision=29618
2007-10-16 04:59:20 +00:00
Timo Kreuzer
ff0adc4b29 If cmd was started from a shortcut, use the shortcut's name as window title, else use executable name, like on windows. Doesn't work on ros atm, due to bug 2743, but works on win XP. So if'ed out atm.
svn path=/trunk/; revision=29617
2007-10-15 22:23:42 +00:00
Daniel Reimer
f925fb5926 Fix a typo in en-US.rc and translate the new stuff in de-DE.rc. (If I interfere a running update process once more, I am sorry :-P)
svn path=/trunk/; revision=29616
2007-10-15 20:59:59 +00:00
Magnus Olsen
2c49e7a9db fixing few compiling issue.
svn path=/branches/reactx/; revision=29615
2007-10-15 20:55:06 +00:00
Aleksey Bragin
ef1f939e4f Dmitry Chapyshev <lentind@yandex.ru>
- Get rid of hardcoded path to downloader.xml, it properly gets the path now. Also changed the logic slightly: now the file is firstly being searched in the local folder, and only then in system32.
- Do a Settings dialog (choose a directory where to download files to, if a user wants to remove installation files after the app has been installed), all options are stored / loaded from the registry. Only the "Update server" option does not work now.
- A few GUI/designs fixes and improvements, now it looks better.
- Add a button for Settings in the main waindow.
- Fixed code formatting in a few places.
- Change bitmap to icons on the Update and Help buttons, imho it's the proper way.
- Add 3 new categories to the list.
- Other misc fixes.
- All translated resources are updated, so no translations are lost!

svn path=/trunk/; revision=29614
2007-10-15 20:45:06 +00:00
Aleksey Bragin
bda7147058 Dmitry Chapyshev <lentind@yandex.ru>
- Add russian translation for evenvwr.
- Slightly improve eventvwr.ico (as I did with other icons).

svn path=/trunk/; revision=29613
2007-10-15 20:36:20 +00:00
Magnus Olsen
a0a831361b fixing few compiling issue.
svn path=/branches/reactx/; revision=29612
2007-10-15 20:28:06 +00:00
Magnus Olsen
28110234c3 fixing few compiling issue.
svn path=/branches/reactx/; revision=29611
2007-10-15 19:48:41 +00:00
Magnus Olsen
8359a5f898 smaller cleanup in thuse two new header
svn path=/branches/reactx/; revision=29610
2007-10-15 19:45:48 +00:00
Magnus Olsen
0c91d34b41 wrong protype in MSDN, the protypes is VOID APIENTRY NtGdiDdUnattachSurface(HANDLE hSurface, HANDLE hSurfaceAttached); and the text in msdn talk it can return either DDHAL_DRIVER_HANDLED or DDHAL_DRIVER_NOTHANDLED, see http://msdn2.microsoft.com/en-us/library/ms648703.aspx, so I change the protype to DWORD APIENTRY NtGdiDdUnattachSurface(HANDLE hSurface, HANDLE hSurfaceAttached);
svn path=/branches/reactx/; revision=29609
2007-10-15 19:43:58 +00:00
Daniel Reimer
9569e4a0b9 Bug 2753, 2754 Ukrainian translation update (rstzab@yandex.ru)
Bug 2728 Bulgarian language update for ReactOS. Fix for the Patch (sstpr@narod.ru)

svn path=/trunk/; revision=29608
2007-10-15 19:33:14 +00:00
Magnus Olsen
5538059b89 fixing few compiling issue with this new header.
add few more redirect in ddraw.c to dxg.sys

svn path=/branches/reactx/; revision=29607
2007-10-15 19:04:50 +00:00
Magnus Olsen
8e71c124ed fixing few compiling issue with this new header.
svn path=/branches/reactx/; revision=29606
2007-10-15 18:40:01 +00:00
Magnus Olsen
7396205d50 fixing few compiling issue with this new header.
svn path=/branches/reactx/; revision=29605
2007-10-15 18:27:56 +00:00
Daniel Reimer
36de5d952c Bug 2747: French translations by Pierre Schweitzer (heis_spiter@hotmail.com)
Bug 2722: Desk.cpl : Italian translation (carlo.bramix@libero.it)

svn path=/trunk/; revision=29604
2007-10-15 14:14:25 +00:00
Daniel Reimer
a509024188 Bug 2747: French translations by Pierre Schweitzer (heis_spiter@hotmail.com)
svn path=/trunk/; revision=29603
2007-10-15 14:12:48 +00:00
Hervé Poussineau
813884ad94 Update msvc backend, so Colin Finck will maybe stop complaining...
svn path=/trunk/; revision=29602
2007-10-15 13:43:51 +00:00
Magnus Olsen
ed47fc3520 adding one more api to dxeng.c
svn path=/branches/reactx/; revision=29601
2007-10-15 13:10:59 +00:00
Magnus Olsen
1a146fe5ca comment some protypes and how they work.
svn path=/branches/reactx/; revision=29600
2007-10-15 12:40:29 +00:00
Magnus Olsen
6a362ee13f start implement the dxeng driver api that are need it for dxg.sys
I manger kill of some local tree with this commit. 
ReactX can not be build 

svn path=/branches/reactx/; revision=29599
2007-10-15 12:38:50 +00:00
Magnus Olsen
43e85fc362 add two empty folder for now, it si for dxg.sys and dxapi.sys
svn path=/branches/reactx/; revision=29598
2007-10-15 11:03:28 +00:00
Magnus Olsen
a476025b55 Start Build the next header we need, see https://www.openrce.org/forums/posts/535
only avail docs for it on the net. 

svn path=/branches/reactx/; revision=29597
2007-10-15 10:57:08 +00:00
Magnus Olsen
8c0f839acf add one more redirect to dxg.sys
svn path=/branches/reactx/; revision=29596
2007-10-15 09:49:58 +00:00
Magnus Olsen
706c0e7de6 rename 3 INDEX to diffent name to more logic names.
add comment which part being syscall, export list and internal use from win32k.sys



svn path=/branches/reactx/; revision=29595
2007-10-15 08:45:42 +00:00
Magnus Olsen
5c9253834f adding more redirect to dxg.sys
svn path=/branches/reactx/; revision=29594
2007-10-15 08:42:47 +00:00
Magnus Olsen
d290c5e6c2 finish redirect dvp interface to dxg.sys
svn path=/branches/reactx/; revision=29593
2007-10-15 08:34:11 +00:00
Magnus Olsen
86b7527ce5 adding more redirect to dxg.sys
svn path=/branches/reactx/; revision=29592
2007-10-15 07:50:59 +00:00
Art Yerkes
3d34c28eb4 Fix quirks for building PPC on windows.
svn path=/trunk/; revision=29591
2007-10-15 03:56:58 +00:00
Art Yerkes
001703300c Slight Adjustment. __DECLSPEC_SUPPORTED is an output.
svn path=/trunk/; revision=29590
2007-10-15 03:34:15 +00:00
Art Yerkes
8f3885a661 Make a more complete entry in the normal path so we can enter GDB at will.
svn path=/trunk/; revision=29589
2007-10-15 00:53:17 +00:00
Art Yerkes
4039f862ec Add simple GDB stub.
Fix reported kernel address returned to reactos.c
Make MachVtbl fully formed for all subarch
Add simple gdb stub at this layer, wired to exception handlers
Simplify and unkludge trap handlers
Adapt trap frame to gdb style
Add proper swapping to image.c
Adapt other code for the more general trap handler now available in ppcmmu.

svn path=/trunk/; revision=29588
2007-10-14 23:09:12 +00:00
Magnus Olsen
3016e207ca do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29587
2007-10-14 22:41:36 +00:00
Magnus Olsen
a00f53b037 do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29586
2007-10-14 22:16:43 +00:00
Magnus Olsen
806a16b4df do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29585
2007-10-14 22:14:19 +00:00
Magnus Olsen
4366aedfe4 do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29584
2007-10-14 22:12:11 +00:00
Magnus Olsen
2b4f464c28 do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29583
2007-10-14 22:09:18 +00:00
Magnus Olsen
ecd8e80799 do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29582
2007-10-14 22:05:19 +00:00
Magnus Olsen
e8bb7f5d18 do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29581
2007-10-14 22:00:17 +00:00
Magnus Olsen
13d5604971 entrypoint="0" do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the orginal dllmain will not be run

svn path=/trunk/; revision=29580
2007-10-14 21:58:49 +00:00
Magnus Olsen
f59bc76b8b do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the orginal dllmain will not be run

svn path=/trunk/; revision=29579
2007-10-14 21:57:40 +00:00
Magnus Olsen
431e7045da do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the orginal dllmain will not be run

svn path=/branches/reactx/; revision=29578
2007-10-14 21:56:02 +00:00
Magnus Olsen
75bf1ba3bc fixed export of EngLockDirectDrawSurface@4, EngUnlockDirectDrawSurface@4, EngDxIoctl@12, EngAllocPrivateUserMem@12, HeapVidMemAllocAligned@20, VidMemFree@8, EngFreePrivateUserMem@8
and add them to ntddraw/eng.c
no code yet

svn path=/branches/reactx/; revision=29577
2007-10-14 21:23:43 +00:00
Magnus Olsen
399dd8f6e5 cleanup from old interface and move new info to right header.
it still can not be build. for not all api have been redirect yet


svn path=/branches/reactx/; revision=29576
2007-10-14 20:42:41 +00:00
Magnus Olsen
a83c927ea6 delete stub.c from ntddraw folder it is not longer need it
add more redirect to dxg.sys
smaller cleanup as well


svn path=/branches/reactx/; revision=29575
2007-10-14 20:05:40 +00:00
Colin Finck
91120d6ffa Silence a warning
svn path=/trunk/; revision=29574
2007-10-14 20:01:40 +00:00
Colin Finck
32bb43598d Compute the card offset for the row stack based on the height of the card.
Otherwise the numbers of larger cards (like in cardsbav) are not visible.

svn path=/trunk/; revision=29573
2007-10-14 19:49:12 +00:00
Magnus Olsen
f3c20ee1cc more redirect from win32k to dxg.sys
btw no old code exists in current file. 

svn path=/branches/reactx/; revision=29572
2007-10-14 19:45:13 +00:00
Magnus Olsen
8d3e67ab96 start move out logic stuff that should have been move to ddsurf and d3d from ddraw.c
remove the old start up code for dx, it will be in in dxg.sys later. 
win32k only redirect it to dxg.sys

svn path=/branches/reactx/; revision=29571
2007-10-14 19:02:45 +00:00
Colin Finck
5c9cfdf1ff - Use #define's for setting the borders between elements.
- Don't use some values, which are based on hardcoded card metrics. Compute them using the #define's for the borders and the card metrics instead.
  This way we can use the Bavarian cards.dll (cardsbav) now and theoretically cards in any size :-)
- Set the minimum window height and width by computing the size of all used elements using the new #define's and the card metrics.
- Some indentation changes

svn path=/trunk/; revision=29570
2007-10-14 18:21:27 +00:00
Magnus Olsen
01ec8d7afe finish the redirect of dxg.sys for the d3d part
svn path=/branches/reactx/; revision=29569
2007-10-14 18:14:04 +00:00
Magnus Olsen
320f753a4e adding more redirect for dvp interface to dxg
svn path=/branches/reactx/; revision=29568
2007-10-14 17:49:55 +00:00
Magnus Olsen
b81a1d62c0 move all dvp stub to dvp.c
start redirect all to dxg.sys

svn path=/branches/reactx/; revision=29567
2007-10-14 16:19:56 +00:00
Magnus Olsen
3b320dfaaa add empty file for directx video port control interface
svn path=/branches/reactx/; revision=29566
2007-10-14 15:18:29 +00:00
Magnus Olsen
9b55f8ca65 redirect whole dd interface to dxg.sys
svn path=/branches/reactx/; revision=29565
2007-10-14 15:03:13 +00:00
Colin Finck
df8ab9c41b Add a Czech (QWERTY) keyboard layout by Kamil Hornicek (tykef at atlas dot cz)
I renamed the "kbdcz" files from the patch to "kbdcz1" to match the name of this DLL under Windows
See issue #2720 for more details.

svn path=/trunk/; revision=29564
2007-10-14 14:14:16 +00:00
Magnus Olsen
0f36e1fde8 Redirect all dx mocomp api (done)
svn path=/branches/reactx/; revision=29563
2007-10-14 13:58:37 +00:00
Magnus Olsen
623fb6808a dxtn License GPL
Need it by OpenGL / DirectX compress textures, at moment for mesa32
Got Alesky aka Fireball permits to add it, so long it use the patent flag.
Some part in this library can contain patent, thing in USA
This library will not be build directly, you are force to
change the patent flags in the config.rbuild file to 1
But todo so, you need check you country patent. 

svn path=/branches/reactx/; revision=29562
2007-10-14 13:03:46 +00:00
Aleksey Bragin
e455603420 - Commit changes made to doxygen config by Marc Piulachs.
See issue #2709 for more details.

svn path=/trunk/; revision=29561
2007-10-14 12:52:44 +00:00
Aleksey Bragin
6ea648632e - Fixed a typo in the line which lead to actual zeroing of mxcsr, instead of zeroing only reserved bits (spotted by Kamil Hornicek aka "Pigglesworth").
- Improved the fix by actually applying the mask prepared earlier during kernel init (this is a more proper way to clear reserved bits of mxcsr).
- SSE/SSE2/etc is not broken anymore.
See issue #2748 for more details.

svn path=/trunk/; revision=29558
2007-10-14 12:20:48 +00:00
Magnus Olsen
3bc97d4fc4 This change can not compile win32k for they are not complete, and it is start on the loading process of dxg.sys
FIXED : One wrong protyped accoding MSDN
ADD   : Load process of DXG.SYS (not completed)
Redrirect : Allot DirectX api from win32k to dxg.sys (allot of code that have been remove will be readdit in new api or in dxg.sys, when it being commit)
Allot cleanup as well

svn path=/branches/reactx/; revision=29557
2007-10-14 12:07:23 +00:00
Johannes Anderwald
5590854701 - halfplement CDefFolderMenu_Create2
svn path=/trunk/; revision=29554
2007-10-13 21:47:09 +00:00
Johannes Anderwald
6066286913 - add prototype for SHCreateDefaultContextMenu and CDefFolderMenu_Create2
These functions are responsible for creating the right context menu for the requested shell item. 

svn path=/trunk/; revision=29552
2007-10-13 20:40:00 +00:00
Aleksey Bragin
72595c9315 - Move Teb's StaticUnicodeString initialisation from ntdll to MmCreateTeb (it's better to initialize it early, and all at once, instead of something here now and something there later).
svn path=/trunk/; revision=29551
2007-10-13 13:39:42 +00:00
Daniel Reimer
eb279e4344 German Translation for Event Viewer.
Updated SVN:Ignore for WordPad.

svn path=/trunk/; revision=29550
2007-10-13 12:18:58 +00:00
Colin Finck
c56d07a5bb - Hardcode the Window class name, there is no need for it to be translated
- Remove all this VS stuff from the english resource file
- Move the icons to "rsrc.rc" as they will be shared between all translations
- Fix a typo

svn path=/trunk/; revision=29548
2007-10-13 10:27:27 +00:00
Colin Finck
3b9ccf3f7d Add an Event Log Viewer coded by Marc Piulachs (marc DOT piulachs AT codexchange DOT net)
The icons were taken from the comctl32.dll.
I did not add it to the "reactos.dff" as ReactOS doesn't support Event Logs yet.
See issue #2602 for more details.

svn path=/trunk/; revision=29547
2007-10-13 10:15:37 +00:00
James Tabor
bdd694ff41 Dc_Attr with DCE:
- Fixed problem with dcattr read and write access in user mode.
- Dcattr data only flows from Kernel to User ATM.
- Cleaned up code.
- Enable GetDCObject for testing.
- Tested with Qemu both Linux and XP, and real hardware. 

svn path=/trunk/; revision=29546
2007-10-13 04:15:37 +00:00
Mike Nordell
00a4696613 Just some more notes about what (likely) is required to make it possible for users to cleanly shut down ROS.
svn path=/trunk/; revision=29545
2007-10-13 03:34:56 +00:00
Daniel Reimer
3afae75a47 Add German Translation and Fix English SUBLANG to our Defaults.
svn path=/trunk/; revision=29544
2007-10-12 17:49:52 +00:00
Christoph von Wittich
ff76e56813 LdrpLoadModule called with LOAD_LIBRARY_AS_DATAFILE returns SUCCESS and a valid BaseAddress but no Module
svn path=/trunk/; revision=29543
2007-10-12 17:15:23 +00:00
Johannes Anderwald
6fda4d5f57 - dont allow creating a link to a shortcut
See issue #2735 for more details.

svn path=/trunk/; revision=29542
2007-10-12 16:07:41 +00:00
Aleksey Bragin
2f452c335b - Don't free a NULL pointer.
svn path=/trunk/; revision=29541
2007-10-12 15:42:08 +00:00
Johannes Anderwald
499e470b9f - fix PickIconDlg prototype
svn path=/trunk/; revision=29540
2007-10-12 15:17:55 +00:00
Johannes Anderwald
1b769acf24 - add PickIconDlg declaration
svn path=/trunk/; revision=29539
2007-10-12 15:17:51 +00:00
Johannes Anderwald
d85b18bd0a - fix build
- set control ids

svn path=/trunk/; revision=29538
2007-10-12 14:49:21 +00:00
Johannes Anderwald
16fd2633a6 - explictely use PROPSHEETHEADERW
- implement _ILIsBitBucket function
- implement a IContextMenu for recycle bin interface but is currently unused see notes shv_item_cmenu.c
- implement recycle property dialog resources in vista style

svn path=/trunk/; revision=29537
2007-10-12 14:25:58 +00:00
Peter Ward
bb6da9c74e - Fix build.
svn path=/trunk/; revision=29536
2007-10-12 12:19:37 +00:00
Johannes Anderwald
7f92d4dc3e - fix warning
svn path=/trunk/; revision=29535
2007-10-12 12:11:00 +00:00
Peter Ward
f5c30d8747 Patch by Marc Piulachs (Issue 2737)
- Imported write.exe plus small fix to compile it as unicode.
(Added to rosapps instead of base/applications though)

svn path=/trunk/; revision=29534
2007-10-12 12:06:05 +00:00
Mike Nordell
d6b434bf9c Beginnings of enabling THREAD_SET_THREAD_TOKEN, to allow ROS to actually be shut down. Mostly skeleton and junk, but the basic infrastructure is at least in place.
svn path=/trunk/; revision=29533
2007-10-12 12:04:50 +00:00
Aleksey Bragin
306e3db1bb Dmitry Chapyshev <lentind@yandex.ru>
- Make the "Information" tab work.
- Improve overall applet's behavior (more correct and more "smart").
- Fixed a bug when switching between tabs.
- Small improvements in the UI, other small fixes.
- If no apps or no updates are installed, then the controls in the respective tabs will be grayed out, and a respective information message will be shown instead of the empty list.

svn path=/trunk/; revision=29532
2007-10-12 10:12:52 +00:00
Aleksey Bragin
a3d5eb47e0 Johannes Anderwald
- Fix the msvcrt exception (because vlc first calls _getmainargs. This function sets the  __argc to 1. Afterwards vlc calls again __wgetmainargs where __argc is now one. When entering the function _wadd, it doesnot allocate the __wargv because __argc is 1. Therefore it crashes).
See issue #821 for more details.

svn path=/trunk/; revision=29531
2007-10-12 09:58:00 +00:00
Mike Nordell
5005c57755 Added some descriptive comments for otherwise hard-to-understand bitwise operations
svn path=/trunk/; revision=29530
2007-10-12 09:52:23 +00:00
Mike Nordell
520357b1d4 NTSHChangeNotifyRegister completed and to spec
svn path=/trunk/; revision=29529
2007-10-12 08:15:37 +00:00
James Tabor
cfb9429c6e Sorry for this! Shell32 should be a Sync->Port not 100% sync. We needed this for a long time too! Good job janderwald!
svn path=/trunk/; revision=29528
2007-10-12 01:08:06 +00:00
James Tabor
51d1952da0 Add notes for NtGdiResetDC and NtGdiOpenDCW.
svn path=/trunk/; revision=29527
2007-10-12 00:47:31 +00:00
Johannes Anderwald
eca272bd00 - start implementing recyclebin (based on Wine's recycle bin implemenation)
svn path=/trunk/; revision=29526
2007-10-11 23:45:36 +00:00
Ged Murphy
126300ce1b Send the right number of bytes when setting an env var
spotted by Christian Fasshauer <chrfas at googlemail dot com>

svn path=/trunk/; revision=29525
2007-10-11 23:36:31 +00:00
Daniel Reimer
de827eb930 Translated the few new lines in this RC.
svn path=/trunk/; revision=29524
2007-10-11 22:45:18 +00:00
Daniel Reimer
1921d75db2 (Very)Small code cleanup for my Cards.dll
svn path=/trunk/; revision=29523
2007-10-11 22:39:37 +00:00
Mike Nordell
363fadba81 Prevent SEGV
svn path=/trunk/; revision=29522
2007-10-11 22:20:22 +00:00
Daniel Reimer
4977ec87af Added German Translation of one missed Dialog.
Fixed tons of coordinates and sizes to fit all Text of the German and English Translation into the Buttons, Checkboxes and Text Fields.
Moved some stuff to better fit into the Dialog.
I mainly kept Johannes's nice small format for the Shortcut etc Dialogs, because it looks nice. This only helps to fit in the Text.

svn path=/trunk/; revision=29521
2007-10-11 22:17:08 +00:00
Aleksey Bragin
3e6840735c - Fix a long standing bug, which prevented NT to work stable (in fact, it died very soon after booting). The bug was in occasional placing Gdt and Idt into a temporary heap, instead of MemoryData marked area of memory. The possibility of this bug was suggested long time ago by Alex, but I didn't believe him back then :)
- Now Windows NT works quite good after booting via WinLdr in QEMU.

svn path=/branches/winldr/; revision=29520
2007-10-11 21:07:47 +00:00
Mike Nordell
d4dd5b21ce Make cabman build warning-free
svn path=/trunk/; revision=29519
2007-10-11 21:01:39 +00:00
Aleksey Bragin
532ee4eb59 - Mm-rewrite:
* Get rid of a hack-based heap allocation in FreeLdr, which makes real data interleaved with temporary data, all that unfreeable and unmanageable.
 * Introduce new APIs MmHeapAlloc / MmHeapFree to alloc/free memory from a pre-allocated heap.
 * Add BGET (public domain heap implementation), hook it up to the MmHeapAlloc / MmHeapFree APIs.
 * MmAllocateMemory still is a backward-compatibility API, will be removed soon.
- Change most of allocations to the heap-based routines, add frees where necessary (I must admit Brian already used MmFreeMemory in a lot of places, so I just had to change those to the corresponding MmHeapFree API).
- Remove unneeded and wrong IDT filling, which was commented out.
- Temporary disable caching support, because it needs a standalone place to keep its data in. For compatibility's sake it's better to leave it when WinLdr is more mature.

svn path=/branches/winldr/; revision=29518
2007-10-11 20:40:38 +00:00
Thomas Bluemel
6f9c72878c Display a context menu for the selected monitor
svn path=/trunk/; revision=29517
2007-10-11 20:23:26 +00:00
Colin Finck
4ae5d0691a Updated Ukrainian translation by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2731 for more details.

svn path=/trunk/; revision=29516
2007-10-11 20:02:58 +00:00
Johannes Anderwald
3a037045bf - update shell32_ros.diff
svn path=/trunk/; revision=29514
2007-10-11 19:43:22 +00:00
Johannes Anderwald
afef41e793 - update doc
svn path=/trunk/; revision=29511
2007-10-11 19:33:05 +00:00
Johannes Anderwald
8b2f309588 - forgot one file
svn path=/trunk/; revision=29510
2007-10-11 19:26:16 +00:00
Johannes Anderwald
01a2631183 - add checkAlarms function
- this function will be used to determine wether expiration alarms are active. If qemu dies or terminates unexpectly, this function will check if it was before an timeout. In that case alarms will be active. Note: if qemu is killed purposely, OsSupport::cancelAlarms must be called to prevent automatic termination of sysreg process

svn path=/trunk/; revision=29509
2007-10-11 18:41:39 +00:00
Johannes Anderwald
8e11e74890 - fix build
svn path=/trunk/; revision=29508
2007-10-11 18:25:00 +00:00
Johannes Anderwald
7f50b9b826 - sync rest of shell32 excluding resources to wine
svn path=/trunk/; revision=29507
2007-10-11 18:07:01 +00:00
Johannes Anderwald
b817f334af Jonathan Ernst <jonathan@ernstfamily.ch>
- Update the address of the Free Software Foundation.
Stefan Leichter <Stefan.Leichter@camline.com>
- Fix the file version string of the version resource.

svn path=/trunk/; revision=29506
2007-10-11 17:07:58 +00:00
Colin Finck
0e152e82fb Change "base" to "installbase" for the <bootstrap> element of "green.rbuild" (the older syntax is no longer valid)
See issue #2706 for more details.

svn path=/trunk/; revision=29505
2007-10-11 16:06:11 +00:00
Daniel Reimer
1a73e268ff We need a rule that updating a RC File forces the dev to do it on ALL Files, not only the English one. German one missed two Dialogs again.
Updated the German RC File of shell32.dll and fixed a typo in the English one. (Nice Work with your new Dialogs For Shortcuts and co, Johannes :-))

svn path=/trunk/; revision=29504
2007-10-11 16:01:18 +00:00
Aleksey Bragin
bf70fa45ea - Insert back the "ugly hack for cut&paste files" (removed by 29499 commit).
svn path=/trunk/; revision=29503
2007-10-11 14:47:10 +00:00
Ged Murphy
07ed4d1ce3 use ChangeListViewText to fill out the service info
svn path=/trunk/; revision=29502
2007-10-11 12:21:06 +00:00
Ged Murphy
8c49001628 only run the change code when we have the changed struct to work with.
svn path=/trunk/; revision=29501
2007-10-11 12:00:19 +00:00
Ged Murphy
d8f1cef2f6 improve the button states in relation to the service
svn path=/trunk/; revision=29500
2007-10-11 11:09:39 +00:00
Johannes Anderwald
12be971541 Dmitry Timoshkov <dmitry@codeweavers.com>
- Switch to using 'long' for INT_PTR type for 64-bit compatibility.
Andrew Talbot <Andrew.Talbot@talbotville.com>
- Exclude unused headers.
Hans Leidekker <hans@it.vu.nl>
- Win64 printf format warning fixes.
James Hawkins <truiken@gmail.com>
- Remove redundant NULL checks before SHFree.
Jonathan Ernst <jonathan@ernstfamily.ch>
- Update the address of the Free Software Foundation.
------------------------
- readd ReactOS changes (the properties menu item was removed, readd it + code to show properties dialogs)

svn path=/trunk/; revision=29499
2007-10-11 10:48:31 +00:00
Hervé Poussineau
3e278e062e Remove unneeded comment (__REACTOS__ is always defined)
svn path=/trunk/; revision=29498
2007-10-11 10:47:25 +00:00
Christoph von Wittich
a49156cbcc disable redrawing of the ListView window before updating the service list
svn path=/trunk/; revision=29497
2007-10-11 10:30:43 +00:00
Ged Murphy
f3d656d276 a better fix for bug 2519
svn path=/trunk/; revision=29496
2007-10-11 10:29:02 +00:00
Hervé Poussineau
8596afd334 Add list of source files in generated makefile
svn path=/trunk/; revision=29495
2007-10-11 10:18:47 +00:00
Hervé Poussineau
54eae92953 Do not change dependancy root directory if not needed
svn path=/trunk/; revision=29494
2007-10-11 10:18:03 +00:00
Christoph von Wittich
aedfd39a7f Disabled service has start button enabled (patch by gabrielilardi at hotmail dot it) - modified by myself (HeapFree, formatting)
See issue #2519 for more details.

svn path=/trunk/; revision=29493
2007-10-11 10:15:46 +00:00
Johannes Anderwald
7d51d9fd56 Jonathan Ernst <jonathan@ernstfamily.ch>
- Update the address of the Free Software Foundation.
Andrew Talbot <Andrew.Talbot@talbotville.com>
- Exclude unused headers.
Aric Stewart <aric@codeweavers.com>
- Update the debug functions to handle Unicode value pidl.
- Add _ILIsUnicode as a simple pidl test.
Michael Stefaniuc <mstefani@redhat.de>
- The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility.
Hans Leidekker <hans@it.vu.nl>
- Win64 printf format warning fixes.

svn path=/trunk/; revision=29492
2007-10-11 10:13:05 +00:00
Johannes Anderwald
a262dfe3cb Mikoaj Zalewski <mikolaj@zalewski.pl>
- Make the shell view control Unicode
- Change some more ANSI calls to Unicode

svn path=/trunk/; revision=29491
2007-10-11 10:00:11 +00:00
Ged Murphy
e45052754a remove some test code which shouldn't have been added.
svn path=/trunk/; revision=29490
2007-10-11 09:15:14 +00:00
Ged Murphy
3a5583c86f add some old code I had floating around. no real in functionality
svn path=/trunk/; revision=29489
2007-10-11 09:07:38 +00:00
Johannes Anderwald
4bcdb4d441 Andrew Talbot <Andrew.Talbot@talbotville.com>
- Exclude unused headers.
Hans Leidekker <hans@it.vu.nl>
- Add a stub implementation for SHMapIDListToImageListIndexAsync.
Jonathan Ernst <jonathan@ernstfamily.ch>
- Update the address of the Free Software Foundation.
Martin Fuchs <martin-fuchs@gmx.net>
- Fix folder icon index when read from registry.
- Change "DWORD dwNr" into "int icon_idx" at several places.
-----------------------------------------
ReactOS specific:
- PrivateExtractIconW is an undocumented user32 function. Dynamically get the function with GetProcAddress at runtime (readd)

svn path=/trunk/; revision=29488
2007-10-11 08:51:11 +00:00
Johannes Anderwald
7d516124e5 --------------------------------------------------
shfldr_mycomp.c:
Rob Shearman <rob@codeweavers.com>
Return Unicode strings from all of the IShellFolder::GetDisplayNameOf functions in not running in Win9x mode.
Hans Leidekker <hans@it.vu.nl>
shell32: Win64 printf format warning fixes.
James Hawkins <truiken@gmail.com>
janitorial: Remove redundant NULL checks before SHFree.
Robert Shearman <rob@codeweavers.com>
shell32: Convert ISF_MyComputer_fnGetDisplayNameOf to Unicode.
--------------------------------------------------
- ReactOS specific:
- return always in unicode

svn path=/trunk/; revision=29487
2007-10-10 23:49:42 +00:00
Peter Ward
3ae0570df2 - Two small Ldr cleanup patches (ntdll and kernel32) by: Mike Nordell
svn path=/trunk/; revision=29486
2007-10-10 23:14:20 +00:00
Johannes Anderwald
fd1c983af4 -----------------------------------------------------
autocomplete.c:
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers Constify some variables.
-----------------------------------------------------
dde.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
dragdrophelper.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
-----------------------------------------------------
enumidlist.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
-----------------------------------------------------
enumidlist.h:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
shellreg.c:
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
Detlef Riekenberg <wine.dev@web.de>
Implement SHRegQueryValueA with RegQueryValueA.
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
shellstring.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
-----------------------------------------------------
shlfsbind.c
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
shell32: Win64 printf format warning fixes.
Andrew Talbot <Andrew.Talbot@talbotville.com>
shell32: Exclude unused headers.
-----------------------------------------------------
shlmenu.c:
Dmitry Timoshkov <dmitry@codeweavers.com>
Switch to using 'long' for INT_PTR type for 64-bit compatibility.
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
James Hawkins <truiken@gmail.com>
janitorial: Remove redundant NULL checks before SHFree.
Francois Gouget <fgouget@free.fr>
Fix spelling of a local variable.
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
shpolicy.c:
Dmitry Timoshkov <dmitry@codeweavers.com>
Make some data static and const.
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.

svn path=/trunk/; revision=29485
2007-10-10 22:39:44 +00:00
Johannes Anderwald
a0e410976f sync to wine head
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
Mikoaj Zalewski <mikolaj@zalewski.pl>
autocomplete: Don't use sel uninitialized.

svn path=/trunk/; revision=29484
2007-10-10 21:52:22 +00:00
Johannes Anderwald
5bbed73d42 - fix RegLoadMUIStringA|W prototype
svn path=/trunk/; revision=29483
2007-10-10 21:19:05 +00:00
Johannes Anderwald
3d621cf578 - fix RegLoadMUIStringA|W prototype
svn path=/trunk/; revision=29482
2007-10-10 21:18:59 +00:00
Johannes Anderwald
96f724824c - add ntquery.h from Wine (rev 1.3)
svn path=/trunk/; revision=29481
2007-10-10 21:03:27 +00:00
Johannes Anderwald
8dd3300304 - add __MINGW_NOTHROW macro (required for shell32 sync used in dirent.h)
svn path=/trunk/; revision=29480
2007-10-10 20:53:47 +00:00
Aleksey Bragin
5257ae8196 - Copy kernel's IDT entries to the IDT we've got from the bootloader. Fixes boot-process initiated by ntldr-compatible loaders.
svn path=/trunk/; revision=29477
2007-10-10 12:39:54 +00:00
Hervé Poussineau
336b29de42 Cleanup the LinkerScript class and use it
Patch by Marc Piulachs, marc dot puilachs at codexchange dot net
See issue #2721 for more details.

svn path=/trunk/; revision=29476
2007-10-10 08:44:45 +00:00
Hervé Poussineau
bc653c4422 Do not skip executable name, it is not sent to WinMain command line argument
svn path=/trunk/; revision=29475
2007-10-09 19:01:12 +00:00
Daniel Reimer
f187392e6c This should fix the build
svn path=/trunk/; revision=29474
2007-10-09 18:37:48 +00:00
Daniel Reimer
a647e4e19c Try to remove the old wordpad and prepare fr the new one
svn path=/trunk/; revision=29473
2007-10-09 18:35:38 +00:00
Daniel Reimer
2165bf4b96 Backup WordPad to RosApps
svn path=/trunk/; revision=29472
2007-10-09 18:25:19 +00:00
Aleksey Bragin
414b4db8ac Mike Nordell <tamlin>
- Add two checks for infinite loops. The latter gets triggered in some cases, a memory overwrite is suspected, or a race condition.

svn path=/trunk/; revision=29471
2007-10-09 17:00:11 +00:00
Aleksey Bragin
7160af7593 - Null-terminate the ArcBoot path, so that it doesn't contain garbage. Makes winldr be able to boot WinNT 4.0 (but it still hangs shortly after booting in qemu).
svn path=/branches/winldr/; revision=29470
2007-10-09 11:37:01 +00:00
Ged Murphy
461c0ad2d1 add wine's wordpad as the default
svn path=/trunk/; revision=29469
2007-10-09 09:00:56 +00:00
Hervé Poussineau
d620fa11c7 Fix indentation
svn path=/trunk/; revision=29468
2007-10-09 09:00:04 +00:00
Ged Murphy
66c3c85e36 Add a much more complete wordpad from one of Wine's SOC projects
svn path=/trunk/; revision=29467
2007-10-09 09:00:02 +00:00
Hervé Poussineau
8b17e00a0e Patch by Carlo Bramini, carlo dot bramix at libero dot it
Fixes for non unicode build
See issue #2711 for more details.

svn path=/trunk/; revision=29466
2007-10-09 08:53:25 +00:00
Hervé Poussineau
c57a4482c2 Put .asm files at the end of the module
See issue #2702 for more details.

svn path=/trunk/; revision=29465
2007-10-09 07:10:05 +00:00
Johannes Anderwald
719694a6b2 - use -nographic option
svn path=/trunk/; revision=29464
2007-10-08 22:08:29 +00:00
Johannes Anderwald
bb471e5852 - fix linux build for build server trial #2
svn path=/trunk/; revision=29463
2007-10-08 21:59:49 +00:00
Johannes Anderwald
cc2d1bffe8 -include errno.h
- temporarly deactivate -vnc 0 option

svn path=/trunk/; revision=29462
2007-10-08 21:38:14 +00:00
Johannes Anderwald
596003e53b - remove stdio debugging (not efficient and unused)
- call mkfifo for randomly created named pipes (linux only)
- sysreg hangs in 2nd stage due to the -vnc 0 option


svn path=/trunk/; revision=29460
2007-10-08 21:22:57 +00:00
Christoph von Wittich
d576ff0223 -fix compilation with msvc
-fix some memory leaks

svn path=/trunk/; revision=29459
2007-10-08 19:18:42 +00:00
Aleksey Bragin
73b6c28cf8 Dmitry Chapyshev <lentind@yandex.ru>
- Modify/Remove action: Wait for the process completion and only then become active again (like Windows' AppWiz does)
- Move Updates to another tab
- Move all include directives to appwiz.h
- Add context menu for applications list
- Slightly change this applet's design
- Add an icon for ReactOS setup and Update tabs
- Add a working Download! button. This button is active only if Download!.exe exists in system32 directory when appwiz.cpl starts
- Other small changes

svn path=/trunk/; revision=29458
2007-10-08 15:56:31 +00:00
Aleksey Bragin
db598dfdbb - Don't try to free a pointer if it was not allocated.
svn path=/trunk/; revision=29456
2007-10-08 12:37:44 +00:00
Hervé Poussineau
c736d81fff Fix rgenstat compilation
svn path=/trunk/; revision=29455
2007-10-08 11:19:46 +00:00
Johannes Anderwald
e4fa627016 - fix linux compilation
svn path=/trunk/; revision=29454
2007-10-08 09:28:04 +00:00
Johannes Anderwald
6cd6fc2c8c - randomize named pipe name
- remove hardcoded path in named pipe reader class

svn path=/trunk/; revision=29453
2007-10-08 09:01:33 +00:00
Johannes Anderwald
1d1547fcc3 - forgot one thing
svn path=/trunk/; revision=29452
2007-10-08 08:17:43 +00:00
Johannes Anderwald
8fe2c38364 - remove non required specialization
svn path=/trunk/; revision=29451
2007-10-08 00:22:39 +00:00
Johannes Anderwald
59f7546716 - remove unicode support (it was mess, a few places only accepting char and then another using wchar compatibel)
- rewrite line extraction (currently if'0)
- add Wine gettimeofday implementation (currently if'0)
- apply sources changes to SymbolFile class
- remove unicode support class
- fix a bug in the createProcess version for windows hosts which randomly led to invalid boot hdd error messages

svn path=/trunk/; revision=29450
2007-10-08 00:18:01 +00:00
Christoph von Wittich
66b7980abf fix building with VS2005
svn path=/trunk/; revision=29448
2007-10-07 23:37:15 +00:00
Christoph von Wittich
b958e36122 used autoformat in MSVC to get the code readable again
svn path=/trunk/; revision=29447
2007-10-07 22:51:05 +00:00
Christoph von Wittich
e907d2737c fix some memory leaks
svn path=/trunk/; revision=29446
2007-10-07 22:43:18 +00:00
Johannes Anderwald
616c7f2be3 - improve error checking
- fix a memory leak

svn path=/trunk/; revision=29445
2007-10-07 20:17:54 +00:00
Johannes Anderwald
44be754751 - improve debugging
svn path=/trunk/; revision=29444
2007-10-07 20:05:27 +00:00
Colin Finck
911a564d4b Some Bulgarian translation updates by Ñòàíåâ (sstpr AT narod DOT ru)
See issue #2728 for more details.

svn path=/trunk/; revision=29443
2007-10-07 19:19:27 +00:00
Hervé Poussineau
14a4a98b96 Do not delete section extension when storing it in the structure
See issue #1147,1845 for more details.

svn path=/trunk/; revision=29441
2007-10-07 17:13:06 +00:00
Aleksey Bragin
2012ccfc2f - Get rid of incompatible strtoull export in msvcrt.dll
- Make dbghelp.dll use strtoui64 instead. Another solution would be to add it to libwine, but it will make code duplication even worse (strtoull is already implemented in two places).

svn path=/trunk/; revision=29440
2007-10-07 16:42:10 +00:00
Colin Finck
69fd113200 Updated italian translations for access.cpl and ncpa.cpl by Paolo Devoti (devotip AT tiscali DOT it)
See issue #2727 for more details.

svn path=/trunk/; revision=29439
2007-10-07 15:38:04 +00:00
Hervé Poussineau
1cf5e31c3b Oops, forgot to save the file before committing ;)
svn path=/trunk/; revision=29435
2007-10-07 12:29:46 +00:00
Hervé Poussineau
147f7c934c Add mingw and msvcrt implicit libraries only if it is a Win32 target
svn path=/trunk/; revision=29434
2007-10-07 12:28:18 +00:00
Hervé Poussineau
c24dcf1da0 ntdll.dll is a native dll
svn path=/trunk/; revision=29433
2007-10-07 12:14:02 +00:00
Christoph von Wittich
278c4a1b03 fix a resource leak
svn path=/trunk/; revision=29432
2007-10-07 00:43:43 +00:00
Christoph von Wittich
25cde1b38b -fix a resource leak and two memory leaks
svn path=/trunk/; revision=29431
2007-10-07 00:21:58 +00:00
Christoph von Wittich
8565a1aab5 -fix a warning in charmap.c
-use LocalFree when memory was allocated by LocalAlloc

svn path=/trunk/; revision=29430
2007-10-07 00:03:57 +00:00
Hervé Poussineau
40fa2a585a Do not call DllInstall, it is a stub
See issue #2719 for more details.

svn path=/trunk/; revision=29428
2007-10-06 21:13:48 +00:00
Timo Kreuzer
2ddf628afc add missing gdi object type
svn path=/trunk/; revision=29427
2007-10-06 21:13:24 +00:00
Christoph von Wittich
f57c7260c2 replace non-existant SUBLANG_PORTUGUESE_PORTUGAL with SUBLANG_PORTUGUESE
svn path=/trunk/; revision=29425
2007-10-06 20:06:11 +00:00
Hervé Poussineau
1962ee8f23 Do not define structures twice
svn path=/trunk/; revision=29424
2007-10-06 19:28:04 +00:00
Hervé Poussineau
340b2adbee Do not define __REACTOS__ twice
svn path=/trunk/; revision=29423
2007-10-06 19:18:55 +00:00
Peter Ward
b2a56ac32a - Fix build.
svn path=/trunk/; revision=29422
2007-10-06 19:13:15 +00:00
Christoph von Wittich
e45ac511e7 remove double controls from the resource
svn path=/trunk/; revision=29421
2007-10-06 18:32:45 +00:00
Hervé Poussineau
388fa4820c Rename _REACTOS_ to __REACTOS__
svn path=/trunk/; revision=29420
2007-10-06 18:04:03 +00:00
Ged Murphy
1beed38801 fix painting of alpha channels in 32bpp icons onto windows/dialogs
svn path=/trunk/; revision=29419
2007-10-06 17:59:21 +00:00
Aleksey Bragin
52c172c002 - Fix incorrect DPRINT.
svn path=/trunk/; revision=29418
2007-10-06 16:04:21 +00:00
Aleksey Bragin
764cda7527 - Fix build.
svn path=/trunk/; revision=29417
2007-10-06 14:35:39 +00:00
Aleksey Bragin
3f6b60365b Dmitry Chapyshev <lentind@yandex.ru>
- Add some more dialogs to input.dll, and even some functionality, but it still needs a lot of work.
- Add input.dll and systeminfo.exe to the bootcd

svn path=/trunk/; revision=29416
2007-10-06 11:47:06 +00:00
Aleksey Bragin
0fb55f0db8 Dmitry Chapyshev <lentind@yandex.ru>
- Fix a typo in the russian translation of taskmgr.
- Improve explorer icons (as usual, remove 4bits, add 16bits, and very slightly edit).
- Add some missing icons to setupapi.dll.

svn path=/trunk/; revision=29415
2007-10-06 11:04:31 +00:00
Aleksey Bragin
bad5a95a60 Dmitry Chapyshev <lentind@yandex.ru>
- Update the icons for sysdm and netid.

svn path=/trunk/; revision=29414
2007-10-06 10:55:13 +00:00
Aleksey Bragin
6f366e58e3 Dmitry Chapyshev <lentind@yandex.ru>
- Add russian translation to clb.
- Regedit's icons: remove 4bit icons, add 16bit icons.

svn path=/trunk/; revision=29413
2007-10-06 10:53:22 +00:00
Aleksey Bragin
62e6f7492d Dmitry Chapyshev <lentind@yandex.ru>
- Add a temporary icon (should be changed to a better one), so that it's displayed in the taskbar and window title.

svn path=/trunk/; revision=29412
2007-10-06 10:50:51 +00:00
Aleksey Bragin
ab9b5860ed Dmitry Chapyshev <lentind@yandex.ru>
- Fix a typo in russian translation of intl.cpl

svn path=/trunk/; revision=29411
2007-10-06 10:46:42 +00:00
Art Yerkes
289ae6c346 Added to trunk.
svn path=/trunk/; revision=29410
2007-10-06 08:34:33 +00:00
Art Yerkes
a21398057a Flipped increment/decrement. Noticed by encoded.
svn path=/trunk/; revision=29408
2007-10-06 08:29:22 +00:00
Art Yerkes
0abf169695 All remaining changes from the PPC branch. Not well tested yet. Many things
are indeed still stubs or WIP code.

Some people have been interested in helping out from some time and I'm sorry
I haven't been able to do this merge finally for a while.

svn path=/trunk/; revision=29407
2007-10-06 07:53:20 +00:00
Aleksey Bragin
9a2d4a0858 - Implement KiTrap19 handler (XMMI exceptions, mostly copied KiTrap7 handler and used mxcsr status word and exceptions there). There will be no weird 0xF BSODs anymore, however I need to investigate about exceptions masking.
- Dynamically enable it, if CPU supports XMMI (was already done in the kernel, but #if0-ed).

svn path=/trunk/; revision=29406
2007-10-06 07:22:59 +00:00
Aleksey Bragin
ac92ed539f - Fix an awful memory-overwrite bug. Buggy code written by Eugene Ingerman, 04-Aug-1988.
- Alex is awarded ReactOS Medal-of-Honour for the great achievement (fix of the oldest bug ever in ReactOS).

svn path=/trunk/; revision=29405
2007-10-05 20:46:25 +00:00
Aleksey Bragin
8d7e49ee86 - Those two are not needed anymore.
svn path=/trunk/; revision=29404
2007-10-05 20:40:29 +00:00
Johannes Anderwald
f341d8a8af - add missing definitions required for wine shell32
svn path=/trunk/; revision=29403
2007-10-05 20:33:03 +00:00
James Tabor
bd65efd9de No need to stop APC when looping.
svn path=/trunk/; revision=29401
2007-10-05 18:16:34 +00:00
Aleksey Bragin
8206cd0b71 - Don't allocate pool with a NULL tag, use ExAllocatePool instead.
svn path=/trunk/; revision=29400
2007-10-05 17:17:49 +00:00
Aleksey Bragin
7b9b1a8536 - Free BusInterface only if it was really alloc'd
- Remove svn:needs-lock property from this [stub]-driver

svn path=/trunk/; revision=29399
2007-10-05 17:13:53 +00:00
Aleksey Bragin
5e5a42e89b - Fix a mistake, led to usage of unitialized memory and then freeing it.
svn path=/trunk/; revision=29398
2007-10-05 17:08:23 +00:00
Johannes Anderwald
5e3641128f - fix english SHELL_EXTENDED_SHORTCUT_DLG resource dialog
- add runas dialog resource definition (not yet used)
- store runas settings in shortcut properties

svn path=/trunk/; revision=29397
2007-10-05 15:12:25 +00:00
Aleksey Bragin
a6b4148654 - Fix DBG=0 build
svn path=/trunk/; revision=29396
2007-10-05 12:07:50 +00:00
Aleksey Bragin
9fe1e6e1d3 - Fix a bug with wrong handling of an ALT key pressed together with a mouse click.
svn path=/trunk/; revision=29395
2007-10-05 09:37:46 +00:00
James Tabor
853d34afaf Fixed an old typo bug from rev 3450 by dwelch. Add support for DCX_NORESETATTRS and fixed up IntWindowFromDC.
svn path=/trunk/; revision=29394
2007-10-05 06:47:42 +00:00
Johannes Anderwald
fe4f628972 - implement create shortcut wizard (works currently only for files)
svn path=/trunk/; revision=29393
2007-10-04 23:51:10 +00:00
Johannes Anderwald
327e65fe96 - fix a bug and warning
svn path=/trunk/; revision=29392
2007-10-04 20:16:11 +00:00
Aleksey Bragin
b16c028e4f - Update two doxyfiles to the newest version and fix paths. Many other doxyfiles remain...
svn path=/trunk/; revision=29391
2007-10-04 17:48:47 +00:00
Aleksey Bragin
e82583fbe8 - Comments, debug prints translation into readable english.
svn path=/trunk/; revision=29389
2007-10-04 08:47:13 +00:00
Aleksey Bragin
a030c28a82 - Change strange greatlord-like sentences to a short and clear one.
svn path=/trunk/; revision=29388
2007-10-04 08:30:01 +00:00
Aleksey Bragin
5cf9e02b1e - Don't try to copy an uninitialized bitmap's contents (it worked only because it was zeroed, and thus zero-size RtlCopy and ExFreePool(NULL)).
svn path=/trunk/; revision=29387
2007-10-03 20:58:44 +00:00
Gregor Brunmar
79ce62a7c3 Fixed bug 2555 (Calendar window does not close automaticaly)
See issue #2555 for more details.

svn path=/trunk/; revision=29386
2007-10-03 20:47:59 +00:00
Aleksey Bragin
6d5d5b6293 - Fix ExAllocatePoolWithTag with a 0 tag.
svn path=/trunk/; revision=29385
2007-10-03 20:30:41 +00:00
Gregor Brunmar
7d65442299 Added context menu on right click in treeviews
svn path=/trunk/; revision=29384
2007-10-03 19:45:39 +00:00
Gregor Brunmar
62cb1ae6bf * Fixed bug 2456 (propsheet's apply button enabling at the wrong time)
See issue #2456 for more details.

svn path=/trunk/; revision=29383
2007-10-03 19:34:34 +00:00
Johannes Anderwald
55df7a560f - deactivate signal handler for linux
svn path=/trunk/; revision=29382
2007-10-03 17:53:03 +00:00
Aleksey Bragin
d2687b4de8 Dmitry Chapyshev <lentind@yandex.ru>
- Change listbox to listview
- Draw icons
- Add a find bar (it works, but will work better in future)
- "Install" button moved to a separate tab, also buttons "Download!" and "Find in the Internet" are added there too
- Applet's width increased
- "Modify/Remove" button will become active only when an application is selected

svn path=/trunk/; revision=29381
2007-10-03 17:50:43 +00:00
Johannes Anderwald
d4891b7759 - fix linux build
svn path=/trunk/; revision=29380
2007-10-03 17:38:18 +00:00
Christoph von Wittich
9dec8191db fix some of the build errors
svn path=/trunk/; revision=29379
2007-10-03 16:52:31 +00:00
Hervé Poussineau
5fecef05ea Add back windres, it is still used after wrc invocation
svn path=/trunk/; revision=29378
2007-10-03 14:17:46 +00:00
Hervé Poussineau
09ab02f6da Remove usewrc attribute in rbuild files ; wrc should be able to compile all resources
svn path=/trunk/; revision=29377
2007-10-03 14:09:45 +00:00
Hervé Poussineau
5c98cc37b5 Remove hack added in r28961. It seems that wrc works well now.
svn path=/trunk/; revision=29376
2007-10-03 14:02:04 +00:00
Hervé Poussineau
69a12a6870 Implement NdisMWriteLogData, enough to see something
svn path=/trunk/; revision=29375
2007-10-03 13:48:51 +00:00
Aleksey Bragin
d3048bf9fd - Silence badly placed debug message. DPRINT1 equals FIXME and ERR, but not TRACE!
svn path=/trunk/; revision=29374
2007-10-03 12:01:13 +00:00
Aleksey Bragin
a68ed2f38a - Use IopLoanUnloadDriver() for calling unload routine too, in the context of system process, when needed.
svn path=/trunk/; revision=29373
2007-10-03 11:54:31 +00:00
Hervé Poussineau
d0ae8b7806 Try to fix Linux build
svn path=/trunk/; revision=29372
2007-10-03 11:24:56 +00:00
Hervé Poussineau
254bdce1b8 Support custom C and C++ compilers, by variables HOST_CC, HOST_CPP, TARGET_CC and TARGET_CPP
Simplify usage of ROS_PREFIX variable

svn path=/trunk/; revision=29371
2007-10-03 11:12:25 +00:00
Aleksey Bragin
2ea98ca374 - NtLoadDriver APIs refactor/improvent:
* Move loading of a driver to the common (in future) routine IopLoadUnloadDriver (name taken from http://wasm.ru/forum/viewtopic.php?pid=166891).
 * Fix a bug: NtLoadDriver should always load drivers in a context of the system process, explanation here: http://www.osronline.com/showthread.cfm?link=114687
 * Reformat NtLoadDriver's code.

svn path=/trunk/; revision=29370
2007-10-03 10:17:04 +00:00
Hervé Poussineau
597b822c7e Separe right code from hack
svn path=/trunk/; revision=29369
2007-10-03 08:28:16 +00:00
Aleksey Bragin
2a55c8944c - Fix a typo in shell32 resources.
See issue #2717 for more details.

svn path=/trunk/; revision=29368
2007-10-03 08:20:13 +00:00
James Tabor
dece4b531e Move DCX_EXCLUDEUPDATE to the psdk where it belongs.
svn path=/trunk/; revision=29367
2007-10-03 04:08:22 +00:00
James Tabor
fbf23a8f57 Add dprint to debug the change to ownership for shutdown. Also free fake save DC if all window DCE are free.
svn path=/trunk/; revision=29366
2007-10-03 00:39:20 +00:00
Daniel Reimer
457f47ba2e You forgot something in your Translation janderwald.
svn path=/trunk/; revision=29365
2007-10-02 23:48:56 +00:00
Johannes Anderwald
8146f33427 - start implementing create shortcut wizard
svn path=/trunk/; revision=29364
2007-10-02 23:34:00 +00:00
Johannes Anderwald
1b282a3cb5 - remove small hack
- enhance debug statement
- port the drive general / tools property dialog to all languages (english translation)

svn path=/trunk/; revision=29363
2007-10-02 22:09:12 +00:00
Daniel Reimer
f15bfece56 Bug 2716: Italian translation for Logoff (folleinvasato@yahoo.it)
svn path=/trunk/; revision=29362
2007-10-02 21:04:32 +00:00
Daniel Reimer
8ece61c8bf Bug 2708: Ukrainian translation update (temarez@yandex.ru)
Bug 2712: Lithuanian translation (cman@cman.us)
Bug 2713: Italian translation for FIND (folleinvasato@yahoo.it)
Bug 2714: Italian translation for MORE (folleinvasato@yahoo.it)

svn path=/trunk/; revision=29361
2007-10-02 20:50:52 +00:00
Aleksey Bragin
5535e33b64 - Temporary revert 29342.
See issue #2715 for more details.

svn path=/trunk/; revision=29360
2007-10-02 20:09:31 +00:00
Johannes Anderwald
2a4148f4c2 - enable cleanup button
- start cleanmgr process on request

svn path=/trunk/; revision=29359
2007-10-02 18:03:15 +00:00
Johannes Anderwald
00b7f338fa - implement drive extra dialog
svn path=/trunk/; revision=29358
2007-10-02 17:41:48 +00:00
Johannes Anderwald
5eef84319c - remove superflious calls to sysreg
svn path=/trunk/; revision=29357
2007-10-02 16:10:11 +00:00
Johannes Anderwald
86ff6bfeaa - perform all boot tests in one launch of sysreg
- check for timeouts in windows version to see if qemu has hung

svn path=/trunk/; revision=29356
2007-10-02 16:09:29 +00:00
Johannes Anderwald
384ad5f156 - draw drive dialog static controls
- use rtl library for calculating [free|used] diskspace 
- add german resource strings

svn path=/trunk/; revision=29355
2007-10-02 16:03:48 +00:00
Hervé Poussineau
c5921b158e Simplify code.
Spotted by Pablo Menichini, pablo at menichini dot com dot ar

svn path=/trunk/; revision=29354
2007-10-02 14:38:14 +00:00
Hervé Poussineau
ba13c6e131 Support "i386" as an alternative name for cdrom directory
svn path=/trunk/; revision=29353
2007-10-02 12:23:40 +00:00
Hervé Poussineau
f649143b56 Do not hardcode cdrom directory
svn path=/trunk/; revision=29352
2007-10-02 12:16:45 +00:00
Hervé Poussineau
68955155b7 Add a default debug channel
svn path=/trunk/; revision=29351
2007-10-02 10:57:00 +00:00
James Tabor
4b10f0559c Fix NtUserGetIconSize prototype.
svn path=/trunk/; revision=29350
2007-10-02 00:56:04 +00:00
Johannes Anderwald
2ec6c16001 - improve drive property dialog a bit
svn path=/trunk/; revision=29349
2007-10-02 00:07:22 +00:00
James Tabor
fb4bacbb5f Win32k/User32:
- Moved NtUserGetCursorIconInfo to NtUserGetIconInfo, update header.
- GetIconInfo is correctly called now.

svn path=/trunk/; revision=29348
2007-10-01 23:15:02 +00:00
Ged Murphy
e05e9dee74 remove the bitmap stuff, we won't be using this for now
svn path=/trunk/; revision=29347
2007-10-01 22:53:09 +00:00
Johannes Anderwald
ae3adacf6f - add GUID_DEVCLASS_DISKDRIVE
svn path=/trunk/; revision=29346
2007-10-01 22:40:15 +00:00
Johannes Anderwald
408fd9b4e8 - remove previously added DRIVE_SHARE_DLG and DRIVE_CONTINGENT_DLG
- the drive share dialog is implemented in rshx32.dll
- the contigent dialog is implemented in dskquoui.dll
- start implementing german general drive dialog

svn path=/trunk/; revision=29345
2007-10-01 21:53:41 +00:00
Johannes Anderwald
108c1a9a60 - start implementing a few shell property dialogs (shelllink, file, drive) and corresponding shell objects (i.e. Desktop properties opens sysdm cpl) etc
svn path=/trunk/; revision=29344
2007-10-01 20:28:45 +00:00
Johannes Anderwald
07c26f24e6 - fix typo
svn path=/trunk/; revision=29343
2007-10-01 20:25:16 +00:00
Aleksey Bragin
fbf1e8f95e - Finally move MmInit1 to MmInitSystem where it should belong, since FreeLdr now properly sets up SharedUserData. (Thanks to Alex for the hint)
svn path=/trunk/; revision=29342
2007-10-01 20:24:01 +00:00
Martin Fuchs
dc3692a04f remove <alloca.h>
svn path=/trunk/; revision=29340
2007-10-01 20:00:24 +00:00
Hervé Poussineau
30a4afa744 Fix build
svn path=/trunk/; revision=29339
2007-10-01 19:54:37 +00:00
Martin Fuchs
b511687db0 update explorer/xmlstorage
svn path=/trunk/; revision=29338
2007-10-01 19:53:58 +00:00
Aleksey Bragin
9c40044087 - Forgot to hit "CTRL+S" in the editor :) (add a FIXME comment about small hack).
svn path=/trunk/; revision=29337
2007-10-01 19:12:09 +00:00
Hervé Poussineau
7d540cf035 Autosyncing with Wine HEAD
svn path=/trunk/; revision=29336
2007-10-01 19:09:53 +00:00
Hervé Poussineau
9a2b3ffc12 Prepare import of browseui.dll
svn path=/trunk/; revision=29335
2007-10-01 19:09:07 +00:00
Aleksey Bragin
843bb30324 - Almost completely fix the hack in IopParseDevice which was resulting in "FIXME: Broken Parse due to invalid DesiredAccess" messages, by changing some calls to IoGetDeviceObjectPointer to use FILE_READ_ATTRIBUTES instead of FILE_READ_DATA (so that the volume doesn't get mounted).
svn path=/trunk/; revision=29334
2007-10-01 18:04:42 +00:00
Hervé Poussineau
fcc8786305 Display error location when possible
svn path=/trunk/; revision=29333
2007-10-01 18:02:45 +00:00
Aleksey Bragin
fe7669dea4 - KeRosCaptureUserStackBackTrace is now created, which calls RtlWalkFrameChain with the user-mode flag, meaning that bugchecks finally show the user-mode stack again!
- KeRosDumpStackFrames is fixed so that if the EIP can't be found in a module list, it's still displayed (just without the module name). Previously the EIP would not be shown, resulting in code running on the heap/stack/somewhere else not being shown as part of the trace.

svn path=/trunk/; revision=29332
2007-10-01 17:58:49 +00:00
Ged Murphy
bb7d880c70 - half implement support for multiple monitors to desk.cpl
- people with more than one monitor can now use this applet in windows without it crashing

svn path=/trunk/; revision=29331
2007-10-01 15:44:53 +00:00
Hervé Poussineau
a4c436a3a3 Rename 'base' to 'installbase' for CdFile, InstallFile and Bootstrap
Patch by Marc Piulachs, marc dot piulachs at codexchange dot net
See issue #2706 for more details.

svn path=/trunk/; revision=29330
2007-10-01 14:19:27 +00:00
Ged Murphy
a6d6a2af53 use w3seek's control for single monitors displays
svn path=/trunk/; revision=29329
2007-10-01 13:54:54 +00:00
Ged Murphy
221f21c62a It's not pretty, but get desk.cpl building in msvc again.
svn path=/trunk/; revision=29328
2007-10-01 13:23:28 +00:00
Ged Murphy
ca1003310b remove some debug output I missed
svn path=/trunk/; revision=29327
2007-10-01 11:59:11 +00:00
Ged Murphy
ecf21c9be9 - partial rewrite of NtGdiGetDIBitsInternal
- wrap all usermode read/writes in seh
- make it more compatible with XP. We now pass all current GetDIBits tests and win32k tests

svn path=/trunk/; revision=29326
2007-10-01 11:53:31 +00:00
Aleksey Bragin
82a49a076e - Make VideoPortCreateSecondaryDisplay() return an error instead of success, so that driver does not assume the SecondaryDeviceExtension was created for it.
- Add one more DPRINT() to show the size of Device Extension miniport has asked for.
See issue #2672 for more details.

svn path=/trunk/; revision=29325
2007-10-01 10:18:53 +00:00
Hervé Poussineau
6f2304890d Disable debug output
svn path=/trunk/; revision=29324
2007-10-01 09:26:46 +00:00
Aleksey Bragin
3d024aa55b - Rewrite IntVideoPortGetProcAddress() implementation to use a lookup table instead of doing a wrong call to ZwQuerySystemInformation() which always returned STATUS_IMAGE_ALREADY_LOADED (it's supposed to return this). MS's VideoPort seems to do it in a similar way, because it doesn't import neither ZwQSI() nor MmLoadSystemImage().
- VMWare's video driver now calls VideoPortCreateSecondaryDisplay(), without much success though (it's unimplemented).

svn path=/trunk/; revision=29323
2007-10-01 08:14:24 +00:00
Hervé Poussineau
434c242504 Add NdisMIndicateReceivePacket
svn path=/trunk/; revision=29322
2007-10-01 07:34:43 +00:00
Timo Kreuzer
d17d86bf5b move last syscalls with wrong number of params into the correct position in the list, so all other syscalls are now xp compatible, at least according their number ;-)
svn path=/trunk/; revision=29321
2007-10-01 00:32:54 +00:00
Colin Finck
24335fd192 Updated slovak translations for desk.cpl, deskadp, deskmon and slayer by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=29320
2007-09-30 21:04:49 +00:00
Timo Kreuzer
5bfdeba3f6 comment out checkbox for version display, as it isn't fully implemented
See issue #2323 for more details.

svn path=/trunk/; revision=29319
2007-09-30 17:48:41 +00:00
Colin Finck
a6c7ba1f4a Ensure that the "Name" column in Task-Manager will always be shown, so a Registry setting can't influence it.
This is necessary as the "Name" column is currently greyed out in the Column Settings dialog, so the user should have no possibility to change that.
Patch by Carlo Bramini (carlo DOT bramix AT libero DOT it)

See issue #2217 for more details.

svn path=/trunk/; revision=29318
2007-09-30 16:27:55 +00:00
Colin Finck
1ab0310d71 Oops, smartpdf was already in the rbuild file, deleted the other occurence now
svn path=/trunk/; revision=29317
2007-09-30 16:14:59 +00:00
Colin Finck
13ef403787 - Use unicode="yes", so a Unicode entry point can be used. This fixes the last linking issue and this way we also don't need the other UNICODE defines
- Add smartpdf to the "directory.rbuild" of rosapps (but commented out, as I'm not sure if it builds well for everyone now)

svn path=/trunk/; revision=29316
2007-09-30 16:01:17 +00:00
Klemens Friedl
c0ff78a908 two linking issues fixed
* _wstr_dup
* _FT_Get_X11_Font_Format (with a work-around)

one weird mingw linking issue remains:
* _WinMain@16


trunk/reactos/lib/3rdparty/mingw/main.c:73: undefined reference to `_WinMain@16'

svn path=/trunk/; revision=29315
2007-09-30 15:43:34 +00:00
Colin Finck
6d800c5f56 Apply the recent changes in the english desk.cpl resource file to all translations.
I only translated them to german, the new strings of the other translations still need to be translated.

svn path=/trunk/; revision=29314
2007-09-30 15:24:04 +00:00
Klemens Friedl
e596c423c0 removed extern-link function, for the meanwhile
3 linking issues left:
* _wstr_dup
* _WinMain@16
* _FT_Get_X11_Font_Format

svn path=/trunk/; revision=29313
2007-09-30 15:10:10 +00:00
Klemens Friedl
5ab6d7ba86 delete unnecessary files
svn path=/trunk/; revision=29312
2007-09-30 14:36:14 +00:00
Timo Kreuzer
925313a32b reorder libs in rbuild file, reducing the number of unresolved references to 4
svn path=/trunk/; revision=29310
2007-09-30 13:48:53 +00:00
Gregor Brunmar
1a98d2a214 Changes to regedit:
* Fixed updating tree view when renaming a key
* Fixed a tree view refresh bug
* Proper updating of the tree view when deleting keys

svn path=/trunk/; revision=29309
2007-09-30 13:31:44 +00:00
Gregor Brunmar
67dadefc81 * Unicode fixes to regedit
* Fixed bug 2494
Patch by Carlo Bramix [carlo (dot) bramix (at) libero (dot) it].
See issue #2494 for more details.

svn path=/trunk/; revision=29308
2007-09-30 13:23:31 +00:00
Hervé Poussineau
b067e31df6 Reference file handle according to previous mode
svn path=/trunk/; revision=29307
2007-09-30 13:11:36 +00:00
Magnus Olsen
c81402138a Adding a text file call notes.txt it is some werid thing I have have not yet figout how it works.
Add testcase for AddFontResourceA

svn path=/trunk/; revision=29306
2007-09-30 11:57:37 +00:00
Aleksey Bragin
96b8978ef3 - ObReferenceObjectByHandle/ObpReferenceProcessByHandle: Properly
return STATUS_INVALID_HANDLE if user-mode tries to reference a
kernel-mode handle.
- ObReferenceObjectByHandle: Properly validate process/thread access
rights before giving a reference to the caller.
- Fix definition of "SizeOfHandle" macro in the handle table
implementation. Fixes handle leaks at process rundown, handle
allocation, and problems with processes that use more than 512
handles.
- Remove checks for "VALID_INHERIT_FLAGS". These flags have nothing to
do with handle table entries and shouldn't appear in them. Please fix
callers if they're attempting to send inherit flags as access masks.
- Thanks to Alex! :)

svn path=/trunk/; revision=29304
2007-09-30 08:32:34 +00:00
Gregor Brunmar
2405beae7a Removed duplicate function entry. Thanks to encoded|lap for finding it.
svn path=/trunk/; revision=29303
2007-09-30 08:27:50 +00:00
Christoph von Wittich
b2a017b28a -cmdinput.c(168) - wrong constant is used. patch by YaronAharonson <yaron dot aharonson at gmail dot com>
See issue #2693 for more details.

svn path=/trunk/; revision=29301
2007-09-29 21:58:24 +00:00
Thomas Bluemel
b595efe8ae Send notification if another monitor is selected
svn path=/trunk/; revision=29300
2007-09-29 19:12:21 +00:00
Thomas Bluemel
e809e77341 Fix displaying the window caption height (SM_CYCAPTION includes SM_CYBORDER)
svn path=/trunk/; revision=29299
2007-09-29 18:28:45 +00:00
Thomas Bluemel
69f3c70b62 Allow altering the monitor arrangement control behavior flags
svn path=/trunk/; revision=29298
2007-09-29 18:04:40 +00:00
Colin Finck
bfdb1965c9 - Remove the unneeded "stdafx.cpp" file
- Remove the files I imported from the boot/freeldr/freeldr/math directory for adding 64-bit division support and use the -lgcc linker flag instead like it's done in ntoskrnl

svn path=/trunk/; revision=29297
2007-09-29 11:39:06 +00:00
Colin Finck
999056cc44 French translation updates by Pierre Schweitzer (heis_spiter AT hotmail DOT com)
Also a small fix for the english translation of "systeminfo"
See issue #2703 for more details.

svn path=/trunk/; revision=29296
2007-09-29 09:39:37 +00:00
Klemens Friedl
435a566751 SmartPDF - lightweight pdf viewer app for rosapps
* sumatrapdf - vendor import
* everything compiles (libjpeg, poppler, fitz, sumatrapdf)
* does NOT link

(remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it)

svn path=/trunk/; revision=29295
2007-09-29 08:39:35 +00:00
Thomas Bluemel
a3e70b2317 Add ability to change/query single monitors and change/query the current selection in the monitor arrangement control
svn path=/trunk/; revision=29291
2007-09-29 06:22:44 +00:00
Thomas Bluemel
dd55de2665 Display monitor number and various bug fixes
svn path=/trunk/; revision=29290
2007-09-29 04:46:34 +00:00
Thomas Bluemel
c033319e24 Add a (not yet functional) control to allow the user to arrange the monitors
svn path=/trunk/; revision=29289
2007-09-29 02:32:14 +00:00
Colin Finck
a395a0f9df - Fix many warnings
- Fix a bug in id_dma.cpp on line 1261: This probably shouldn't be an assignment, but a check, otherwise all ATI chips will be treated as Silicon Image chips

svn path=/trunk/; revision=29288
2007-09-28 22:32:34 +00:00
Colin Finck
3991819297 uniata patch by encoded:
- Make building with QUEUE_STATISTICS possible
- Fix the best_c check. As best_c is a ULONG variable, you cannot check for -1

svn path=/trunk/; revision=29287
2007-09-28 22:00:52 +00:00
Colin Finck
8eab3a3ddb - Add uniata to the build (it's still not copied to the ISO image)
- Give it correct version information

svn path=/trunk/; revision=29286
2007-09-28 21:40:45 +00:00
Colin Finck
1fb1498412 Fix the uniata linking problems. Hope I did everything right :-D
I still disabled building the driver, so someone else can test it first.

- The i386.h, libgcc2.c, libgcc2.h, longlong.h and powerpc.h files were taken from the boot/freeldr/freeldr/math directory.
  They are used for 64-bit division support
- Created a directory "ros_glue" for all this stuff, moved the ros_glue.cpp file there
- Imported the three functions MOV_DD_SWP (the i486 version), MOV_DW2DD_SWP and MOV_DW_SWP from the misc_i386.cpp file of CrossNt into the ros_glue_asm.s file

svn path=/trunk/; revision=29285
2007-09-28 18:57:05 +00:00
Timo Kreuzer
e1b2e7a30f - header update
- add a resource

svn path=/trunk/; revision=29284
2007-09-28 17:26:29 +00:00
Daniel Reimer
dda7fa8fb8 Update r29282 to all rc files
svn path=/trunk/; revision=29283
2007-09-28 16:41:59 +00:00
Thomas Bluemel
f3163e398e Fix the dialog width
svn path=/trunk/; revision=29282
2007-09-28 16:35:34 +00:00
Timo Kreuzer
51c8156d1e update export list
svn path=/trunk/; revision=29281
2007-09-28 16:32:57 +00:00
Aleksey Bragin
604d7ae80f - Add ros_glue.cpp for implementing CrNt stubs.
- Start changing CrNt to actual ReactOS functions (no need for supporting different versions / importing CrossNT lib).

svn path=/trunk/; revision=29280
2007-09-28 12:35:41 +00:00
Hervé Poussineau
ae56de4440 Moved shared define to header file
Patch by Marc Piulachs, marc (dot) piulachs (at) codexchange.net
See issue #2700 for more details.

svn path=/trunk/; revision=29279
2007-09-28 12:17:19 +00:00
Hervé Poussineau
22006f87c9 RtlRandom is now part of NDK since r29254
svn path=/trunk/; revision=29278
2007-09-28 12:13:44 +00:00
Hervé Poussineau
e49bdbeea7 Fix compilation (but not linking!)
svn path=/trunk/; revision=29277
2007-09-28 11:39:34 +00:00
Aleksey Bragin
32ded795d7 - Reenable CrossNT stuff.
- Fix some #else BLAH / #endif BLAH warnings.
- Change SYSTEM_INFORMATION_CLASS structure by what we have in NDK (duplication for now).

svn path=/trunk/; revision=29276
2007-09-28 11:01:10 +00:00
Daniel Reimer
647e9bfc48 Forgot this translated file.
svn path=/trunk/; revision=29275
2007-09-28 10:49:35 +00:00
Hervé Poussineau
d4ddde1905 Fix some corner cases when processing <include> elements in .rbuild files
svn path=/trunk/; revision=29274
2007-09-28 10:46:10 +00:00
Daniel Reimer
3879561ab6 Bug 2699: Ukrainian translation update (temarez@yandex.ru)
German Translation Update too.

svn path=/trunk/; revision=29273
2007-09-28 10:03:38 +00:00
Hervé Poussineau
acc45ff7fe Add missing constants
svn path=/trunk/; revision=29272
2007-09-28 08:56:45 +00:00
Hervé Poussineau
b62929a83a Added history possibilities to right key
See issue #2248 for more details.

svn path=/trunk/; revision=29271
2007-09-28 08:51:04 +00:00
Hervé Poussineau
9f48a535f8 [FORMATTING] Replace spaces by tabs
No code change

svn path=/trunk/; revision=29270
2007-09-28 07:34:30 +00:00
Timo Kreuzer
88cd9f01f0 Add 5th parameter to NtUserFindWindowEx
svn path=/trunk/; revision=29269
2007-09-28 05:01:27 +00:00
Timo Kreuzer
51de002eae add a DPRINT1, stating that HvpWriteLog doesn't work atm
svn path=/trunk/; revision=29268
2007-09-28 04:56:40 +00:00
Timo Kreuzer
0b5bb79dc8 free memory before returning on failure.
Thanks to Yaron Aharonson (yaron.aharonson@gmail.com) for spotting this.
See issue #2694 for more details.

svn path=/trunk/; revision=29267
2007-09-28 04:17:13 +00:00
Thomas Bluemel
68a27d46e4 Allow changing the display refresh frequency
svn path=/trunk/; revision=29266
2007-09-28 04:07:26 +00:00
Timo Kreuzer
6a3291941f win32k compatibility update
- NtUserCreateWindowEx: add 15th parameter
- NtUserCreateWindowStation: add 7th parameter
- rename NtUserDestroyCursorIcon to NtUserDestroyCursor
- rename NtUserSetCursorIconContents to NtUserSetCursorContents
- implement about 50 NtUser stubs

svn path=/trunk/; revision=29265
2007-09-28 01:49:06 +00:00
Christoph von Wittich
e539947c94 fix some bugs
svn path=/trunk/; revision=29264
2007-09-28 00:12:59 +00:00
Timo Kreuzer
b6ebc1b19c add another small test for AddFontResource
svn path=/trunk/; revision=29263
2007-09-27 22:32:09 +00:00
Timo Kreuzer
581e34abb2 remove gdihv.cbp
svn path=/trunk/; revision=29262
2007-09-27 22:30:25 +00:00
Timo Kreuzer
5b816f2612 gdihv:
- add base type mask
- change my email
- add deleted entries
- full row selection

svn path=/trunk/; revision=29261
2007-09-27 22:29:26 +00:00
Aleksey Bragin
945a85f7cb - Add uniata.rbuild, adapt .rc to ReactOS
- Preliminary compilation fixes.
- Remove CrossNt stuff for now.

svn path=/trunk/; revision=29260
2007-09-27 20:45:13 +00:00
Aleksey Bragin
d8d12c55ea - Wrong param was being sent to MiSyncThreadProcessViews(), fix that.
svn path=/trunk/; revision=29259
2007-09-27 20:14:32 +00:00
Thomas Bluemel
b785a1ed6d Some fixes
svn path=/trunk/; revision=29257
2007-09-27 19:38:47 +00:00
Aleksey Bragin
1daf74908e - Copy uniata source code to the drivers/storage/ide directory.
svn path=/trunk/; revision=29256
2007-09-27 18:37:22 +00:00
Aleksey Bragin
8f33e033e4 - Add missing KERNEL_LARGE_STACK_COMMIT definition to DDK.
- Fix typo in MMWSL.
- Add RtlRandom to NDK.
- Add MEMORY_PRIORITY values to NDK.
- Add KeAcquireSpinLockRaiseToSynch to NDK.
- Make MmInitializeProcessAddressSpace take two more parameters: one to specify flags, such as large page support, and another one to define the process being cloned, when fork() support will be added.
- Add KeInvalidAccessAllowed to deal with page faults in the special S-List code. The assembly code currently handles simple faults, but our MmAccessFault handler needs to start verifying the fault too.
- Mark LoaderReserve pages as LoaderFree, it seems they end up this way in Windows.
- Use MmNumberOfPhysicalPages instead of MmStats.NrTotalPages.

All NDK changes are discussed with Alex.

svn path=/trunk/; revision=29254
2007-09-27 18:07:44 +00:00
Thomas Bluemel
2d7f6e6a42 - Display a list of monitors if there's more than one monitor
- Display a list of available refresh rates for the current mode

svn path=/trunk/; revision=29252
2007-09-27 17:53:14 +00:00
Timo Kreuzer
9c009fef95 probe the pointer and some cleanup simplification
svn path=/trunk/; revision=29251
2007-09-27 17:25:40 +00:00
Thomas Bluemel
466ad8f165 Set the current device mode selection to the current one if the mode was changed successfully
svn path=/trunk/; revision=29250
2007-09-27 17:24:07 +00:00
Christoph von Wittich
de304494a0 add shell extension for displaying processor information in device manager
svn path=/trunk/; revision=29249
2007-09-27 17:04:44 +00:00
Timo Kreuzer
f36fe07cbe Basic implementation of NtGdiSetDIBitsToDeviceInternal()
todo: handle XlateObj
Now apparition (open source pdf viewer) works on ros.

svn path=/trunk/; revision=29248
2007-09-27 17:04:29 +00:00
Aleksey Bragin
ccc37f538c - Coalesce all calls to MmUpdatePageDir through a single inlined function - MiSyncProcessThreadViews, and fix callers which assumed that the kernel stack is KERNEL_STACK_SIZE, when in fact, it may be KERNEL_LARGE_STACK_SIZE. We now detect and handle this, fixing a bug in KiAttachProcess.
- Remove all old-scheduler code, it's not needed anymore, nor it's going to be ever supported.

svn path=/trunk/; revision=29247
2007-09-27 16:28:56 +00:00
James Tabor
d4c51f18f7 - First try bug fix for #2698.
svn path=/trunk/; revision=29246
2007-09-27 15:54:51 +00:00
Thomas Bluemel
4562d06142 Set eol-style to native
svn path=/trunk/; revision=29245
2007-09-27 15:50:28 +00:00
Aleksey Bragin
18064031f9 - Fix multiple bugs in RtlWalkFrameChain and secure it against any possibility of a bugcheck while walking the stack.
- Fix bugs in RtlUnwind and RtlExceptionDispatch which assumed the DPC stack size was 4KB instead of 12KB.
- Fix multiple bugs in RtlpGetStackLimits and seure it against bugchecks. Properly detect DPC or invalid stacks.
- PsConvertToGuiThread should acquire a guarded region, not a critical section, to stop all APCs.
- Fix bug in bugzilla reporting which was making things crash.
- Unlock address space before raising to HIGH_LEVEL in KeBugCheck.
- Display blue screen at APC_LEVEL, to avoid the assertion in procobj.c when trying to attach to csrss. This should fix the recursive bugchecking when the GUI is up, and also take down the GUI properly. The fix is a hack.
- Fix bogus implementation of IoGetStackLimits and make it work properly.
- Make MmCreateKernelStack return the base of the stack, not the limit, and fix all callers appropriately.
- Remove svn:needs-lock properties of various files, whose contents either changes too often or whose contents is definately clean.

Bugreports and information - by Alex.

svn path=/trunk/; revision=29244
2007-09-27 13:07:43 +00:00
Aleksey Bragin
5344a0ac1b - Slightly cleanup the code.
- Enable allocation of the adapter channel in case of Start I/O.

svn path=/trunk/; revision=29243
2007-09-27 12:34:53 +00:00
Daniel Reimer
7cc4aa6e80 Bug 2697: Ukrainian translation update
German Translations by me.

svn path=/trunk/; revision=29242
2007-09-27 10:17:05 +00:00
Aleksey Bragin
73d39ce072 - Handle NextLuRequest and ResetDetected in ScsiPortNotification() API
- Add UNIMPLEMENTED into ScsiPortGetBusData() when it's called with Length = 0. Does not happen so far, when tested with BusLogic.sys in our tree.

svn path=/trunk/; revision=29241
2007-09-27 10:04:56 +00:00
Aleksey Bragin
815cfb4aa2 Samuel Erdtman <samuel@erdtman.se>
- Implement 'replace' command in cmd.
- TODO: Update all translations with the new text strings for replace command.

svn path=/trunk/; revision=29240
2007-09-27 08:35:08 +00:00
Thomas Bluemel
cc8fa40f41 Fix typo (copy&paste)
svn path=/trunk/; revision=29239
2007-09-27 06:28:30 +00:00
Thomas Bluemel
f64ff394df Display the resource page in device properties
svn path=/trunk/; revision=29238
2007-09-27 05:51:08 +00:00
Thomas Bluemel
8ecd472083 Let crt parse the command line parameters
svn path=/trunk/; revision=29237
2007-09-27 05:49:46 +00:00
Thomas Bluemel
cb4e2fda79 Add an initial (incomplete, not functional) implementation of the display monitor shell extension for desk.cpl
svn path=/trunk/; revision=29236
2007-09-27 05:45:03 +00:00
Thomas Bluemel
17602f0b45 Once again change back the GUID to the real one...
svn path=/trunk/; revision=29235
2007-09-27 05:27:23 +00:00
Thomas Bluemel
81f8891b9b - Allow changing the screen resolution in the advanced adapter settings through desk.cpl
- desk.cpl doesn't publish a monitor id

svn path=/trunk/; revision=29234
2007-09-27 05:23:58 +00:00
Thomas Bluemel
54ceb2a1f2 Display the display adapter properties with extended pages
svn path=/trunk/; revision=29233
2007-09-27 03:08:45 +00:00
Thomas Bluemel
96186bac97 Fix implementation of DevicePropertiesA/W to show extended pages
svn path=/trunk/; revision=29232
2007-09-27 03:04:52 +00:00
Thomas Bluemel
1f14f9be20 Implement DevicePropertiesA/W by calling DevicePropertiesExA/W and move function prototypes to a private header
svn path=/trunk/; revision=29231
2007-09-27 02:49:31 +00:00
Thomas Bluemel
ab90e188ca Don't show prefix in labels filled with hardware information
svn path=/trunk/; revision=29230
2007-09-27 02:05:23 +00:00
Timo Kreuzer
b088aca338 Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2696 for more details.

svn path=/trunk/; revision=29229
2007-09-27 00:25:42 +00:00
Thomas Bluemel
653a40ad14 Select currently selected mode by default
svn path=/trunk/; revision=29228
2007-09-26 23:37:09 +00:00
Thomas Bluemel
95d9c7542d Fix compilation error
svn path=/trunk/; revision=29227
2007-09-26 23:17:48 +00:00
Thomas Bluemel
eb9665eab4 Fix CLSID (accidently committed a change for testing purpose)
svn path=/trunk/; revision=29226
2007-09-26 23:15:42 +00:00
Thomas Bluemel
b212e14609 Implement the "List all modes" dialog, read-only for now
svn path=/trunk/; revision=29225
2007-09-26 23:10:41 +00:00
Thomas Bluemel
aa782313a8 Display adapter information
svn path=/trunk/; revision=29224
2007-09-26 21:19:54 +00:00
Aleksey Bragin
2c239e0bd6 - PS_UNKNOWN_VALUE determines if the process should be created with large pages: rename to PS_LARGE_PAGES
- Do Address Space initialization as per "Windows Internals II" slides, either for the Boot, System, Cloned User or New User Process cases.
- Rename MmCreateProcessAddressSpace to MmInitializeProcessAddressSpace, and MmCopyMmInfo to MmCreateProcessAddressSpace. What ReactOS did is correct as per "Windows Internals II", but the names were inverted.
- Clone the Object Table if we are the boot process, and only initialize part of the address space (since we don't need things like guard page, TEB, etc), however, do initialize and map the shared user data section.
- Make the initial system process and idle process share the same page directory instead of creating a new one.
- Use the same priority class as the parent process, if the process was in the idle or below-normal priority class.
- Only duplicate handles if the caller requested it, instead of always duplicating the process's handles!
- Generate a null image file name for system processes.
- Rename ObpCreateHandleTable to ObInitProcess and better handle race and out-of-memory conditions. Detect if auditing required, but don't do anything about it.
- Initialize the Idle/System process address space much earlier in the boot process, in MmInitSystem.

Thanks to Alex for providing various information, and answering all my questions.

svn path=/trunk/; revision=29223
2007-09-26 20:55:26 +00:00
Daniel Reimer
6433b53657 Another german rc file update
svn path=/trunk/; revision=29222
2007-09-26 20:49:06 +00:00
Thomas Bluemel
3570f78e87 Display the display device adapter name and show device properties
svn path=/trunk/; revision=29221
2007-09-26 20:41:57 +00:00
Ged Murphy
9fa9463d77 - add missing net card interface info to ipifcons.h
- follow on patch from Gregor Brunmar <gregor.brunmar - home - se>

svn path=/trunk/; revision=29220
2007-09-26 20:36:28 +00:00
Ged Murphy
98727fc4a0 - generate the netcard status information and populate the dialog with it
- patch by Gregor Brunmar <gregor.brunmar - home - se>

svn path=/trunk/; revision=29219
2007-09-26 20:34:08 +00:00
Thomas Bluemel
992a4c2d01 Add deskadp.dll to the bootcd and register the shell extension
svn path=/trunk/; revision=29218
2007-09-26 20:12:26 +00:00
Thomas Bluemel
45dc31ac0b Add initial implementation of the display adapter desk.cpl shell extension
svn path=/trunk/; revision=29217
2007-09-26 20:00:07 +00:00
Thomas Bluemel
8e049e50a4 Move routines that can be shared between desk.cpl shell extensions to common header as inlined functions
svn path=/trunk/; revision=29216
2007-09-26 19:42:39 +00:00
Thomas Bluemel
04931ef194 Move desk.cpl shell extension interface definition to shared header file
svn path=/trunk/; revision=29215
2007-09-26 19:23:50 +00:00
Aleksey Bragin
432625614e - Implement InterlockedExchangeAdd/Decrement/Increment16.
- Fix MM_EXTEND_INFO definition.
- Fix MMWSLE definition.
- Fix EPROCESS definition.
- Add quota functions to NDK.
- Add one more parameter to PspMapSystemDll to support mapping large pages.
- Don't make the quota functions do anything for the system process.
- Add page file quota functions.
- Other misc small fixes.

svn path=/trunk/; revision=29214
2007-09-26 16:41:35 +00:00
Daniel Reimer
cb82475b6d Updated German Translation.
svn path=/trunk/; revision=29213
2007-09-26 09:53:48 +00:00
Colin Finck
1efd6d7df7 Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2692 for more details.

svn path=/trunk/; revision=29212
2007-09-26 08:48:29 +00:00
James Tabor
ff1881b631 Fix calling conventions.
svn path=/trunk/; revision=29211
2007-09-26 06:26:17 +00:00
Thomas Bluemel
3b6747e11c Display advanced display settings and allow shell extensions to extend it. Not yet fully functional/working
svn path=/trunk/; revision=29210
2007-09-26 06:20:16 +00:00
Thomas Bluemel
ad47c9b3a9 Add stub for SHCreatePropSheetExtArrayEx, temporarily
svn path=/trunk/; revision=29209
2007-09-26 06:14:05 +00:00
Thomas Bluemel
3db8801f43 Fix copy&paste typo in comment
svn path=/trunk/; revision=29208
2007-09-26 04:33:50 +00:00
Thomas Bluemel
6648bd3f85 Allow loading shell extensions
svn path=/trunk/; revision=29207
2007-09-26 04:30:57 +00:00
James Tabor
9f930ed173 Fix calling conventions and do not unload setupapi.dll after registering the notification. Thank you Thomas.
svn path=/trunk/; revision=29206
2007-09-26 01:10:51 +00:00
James Tabor
d42fa2d392 Testing return as default user32 error ERROR_SERVICE_SPECIFIC_ERROR.
svn path=/trunk/; revision=29205
2007-09-25 23:43:28 +00:00
James Tabor
5baf5558ff Implement RegisterDeviceNotificationAW and UnregisterDeviceNotification, based on Gdi32 OpenGL.
svn path=/trunk/; revision=29204
2007-09-25 22:28:35 +00:00
Magnus Olsen
a9892925a1 forget commit Implement of GdiGetLocalBrush, GdiGetLocalDC, GdiGetLocalFont
fix a smaller bug in GdiSetBatchLimit
fix GdiSetLastError to be simluare to windows xp 


svn path=/trunk/; revision=29203
2007-09-25 20:44:53 +00:00
Magnus Olsen
588e62a967 Fix a stupied bug in DdAttachSurface when pSurfaceFrom->hDDSurface is NULL or pSurfaceTo->hDDSurface is null we need create them.
svn path=/trunk/; revision=29202
2007-09-25 16:49:13 +00:00
James Tabor
27a27ff89e IsMetaFile is an easy check used when porting wine static and listbox.
svn path=/trunk/; revision=29201
2007-09-25 14:42:51 +00:00
Ged Murphy
c338775265 - Add usermode checks to GetDIBits
- passes 21 out of 27 tests
- Add GdiSetLastError to the lib instead of forwarding it straight to kernel32

svn path=/trunk/; revision=29200
2007-09-25 13:27:09 +00:00
Ged Murphy
b3c3c9ba5b add more checks for GetDIBits
svn path=/trunk/; revision=29199
2007-09-25 13:20:46 +00:00
Colin Finck
77e82dcd8b Traditional chinese translation for "cacls" by Chaoming Tseng
See issue #2687 for more details.

svn path=/trunk/; revision=29198
2007-09-25 10:32:22 +00:00
Colin Finck
e5402189b9 - Bug 2685: Ukrainian translation for "format" by Rostislav Zabolotny (rstzab AT yandex DOT ru)
- Bug 2686: Ukrainian translation for "regsvr32" by Rostislav Zabolotny (rstzab AT yandex DOT ru)

svn path=/trunk/; revision=29197
2007-09-25 10:08:39 +00:00
Magnus Olsen
92b7462fcb clean up : move EngWideCharToMultiByte from stubs.c to eng.c and mark it as implement
svn path=/trunk/; revision=29195
2007-09-24 19:17:15 +00:00
Magnus Olsen
9b2a7bf67c implmented EngQueryEMFInfo it always return FALSE
it is historic in Windows XP, But not in Windows 2000

svn path=/trunk/; revision=29194
2007-09-24 18:00:49 +00:00
Aleksey Bragin
f38baaaaa2 Dmitry Chapyshev <lentind@yandex.ru>
- Start implementing systeminfo system utility (it already works quite nice, but not complete yet).

svn path=/trunk/; revision=29193
2007-09-24 16:32:12 +00:00
Aleksey Bragin
2e3b975002 - Make PsChargeProcessPoolQuota returning STATUS_SUCCESS
svn path=/trunk/; revision=29192
2007-09-24 16:00:21 +00:00
Ged Murphy
9be6565d51 Add basic tests for NtGdiGetDIBitsInternal
svn path=/trunk/; revision=29191
2007-09-24 15:09:15 +00:00
Ged Murphy
f26bd07f86 Add basic tests for GetDIBits
svn path=/trunk/; revision=29190
2007-09-24 15:02:20 +00:00
Aleksey Bragin
2cbc032859 - Add Ex*Spinlock macros and FLUSH_MULTIPLE_MAXIMUM definitions missing from DDK
- Add KeAcquireQueuedSpinLock / KeAcquireReleaseQueuedSpinLock, RtlCompareMemoryUlong definitions missing from IFS.
- Add actual section object definition to NDK
- More NDK fixes
- Fix incorrect definition of MMPTE_LIST
- Fix incorrect prototype of NtFlushVirtualMemory
- Fix incorrect prototypes of KeAcquire / ReleaseQueuedSpinLock
- Add a second parameter to MmCreateKernelStack to select the NUMA node on which the stack should be allocated
- Avoid usage of PROS_SECTION_OBJECT in Ps where possible
- Unimplement PsChargeProcessQuota. It was not working right
- Use PFN_NUMBER defined in DDK instead of PFN_TYPE internal ROS Type.

svn path=/trunk/; revision=29188
2007-09-24 14:01:54 +00:00
Hervé Poussineau
a7396c359e When depending of a module, also depends of its generated headers
svn path=/trunk/; revision=29186
2007-09-24 13:21:31 +00:00
Hervé Poussineau
7e0ebf1fc6 Add headers dependencies for modules which declare a .idl in their rbuild file
svn path=/trunk/; revision=29185
2007-09-24 12:53:33 +00:00
Hervé Poussineau
9fea5a34a6 Keep standard includes when building C++ modules
svn path=/trunk/; revision=29184
2007-09-24 12:27:00 +00:00
Hervé Poussineau
18bb1da6d2 Fix typo
svn path=/trunk/; revision=29183
2007-09-24 12:22:22 +00:00
Aleksey Bragin
50951397e4 - Small update to the plan (remove what's done already for sure)
svn path=/trunk/; revision=29182
2007-09-24 12:11:14 +00:00
Hervé Poussineau
d7b829fbc7 Depend again of autogenerated psdk headers (was broken in r29176)
svn path=/trunk/; revision=29181
2007-09-24 12:03:10 +00:00
Hervé Poussineau
2ad309f010 Do not use host headers anymore when building target executables/libraries
svn path=/trunk/; revision=29180
2007-09-24 11:43:38 +00:00
Hervé Poussineau
9c968b2b68 Remove this headers set, as they already exist in include/crt
svn path=/trunk/; revision=29179
2007-09-24 11:42:04 +00:00
Hervé Poussineau
682904a871 Copy some headers from RosBE to our include directory. These files are now considered as target headers, whereas those in RosBE are host headers.
svn path=/trunk/; revision=29178
2007-09-24 11:40:54 +00:00
Hervé Poussineau
ea8a8e47da Use user flags when building host tools
svn path=/trunk/; revision=29177
2007-09-24 11:28:52 +00:00
Hervé Poussineau
5dc2b7e865 Do not put .h files in object files, it causes problems at link time
svn path=/trunk/; revision=29176
2007-09-24 11:00:17 +00:00
Hervé Poussineau
c27dad3928 Display a message when a module has been disabled
Support variables in aliased module names

svn path=/trunk/; revision=29175
2007-09-24 09:15:49 +00:00
Hervé Poussineau
d0f1fadb7b Never call TdiCloseDevice when warming up a socket
svn path=/trunk/; revision=29174
2007-09-24 08:39:23 +00:00
James Tabor
e6ed27d2e5 Turn off DcAttr updates for now.
svn path=/trunk/; revision=29173
2007-09-24 04:05:24 +00:00
James Tabor
f924fa55c9 Make sure it is non zero.
svn path=/trunk/; revision=29172
2007-09-24 02:58:22 +00:00
James Tabor
82ad159967 Implement IsGUIThread.
svn path=/trunk/; revision=29171
2007-09-24 02:42:17 +00:00
Eric Kohl
ead5a4f94e Fix a cut & paste bug.
svn path=/trunk/; revision=29170
2007-09-23 22:59:00 +00:00
Magnus Olsen
cacffe3082 fix a spelling mistake
svn path=/trunk/; revision=29169
2007-09-23 19:19:40 +00:00
Magnus Olsen
21687e2157 Start making def Windows XP gdi32 export layout.
svn path=/trunk/; revision=29168
2007-09-23 18:46:47 +00:00
Magnus Olsen
7315ffc1e6 Start making def Windows XP gdi32 export layout.
svn path=/trunk/; revision=29167
2007-09-23 18:18:20 +00:00
Daniel Reimer
0ab1667cb1 Download! is somehow too stupid to use the other link... Now RosBE 0.3.8 will be uploaded to SF.net anyway. And this link seems more XML conformant.
svn path=/trunk/; revision=29166
2007-09-23 17:15:50 +00:00
Colin Finck
39889d2c75 Add the build date and revision number to sysdm.cpl (patch by encoded)
See issue #2683 for more details.

svn path=/trunk/; revision=29165
2007-09-23 17:02:35 +00:00
Daniel Reimer
c5875c6fcd Update to RosBE 0.3.8
svn path=/trunk/; revision=29164
2007-09-23 15:23:54 +00:00
Magnus Olsen
d216c026b2 Fix : UnrealizeObject behoivr as windows 2000/XP see msdn http://msdn2.microsoft.com/en-us/library/ms532602.aspx
Redirect : XFORMOBJ_bApplyXform@20 to NtGdiXFORMOBJ_bApplyXform@20
Redirect : XFORMOBJ_iGetXform@8 to NtGdiXFORMOBJ_iGetXform@8
Redirect : XLATEOBJ_cGetPalette@16 to NtGdiXLATEOBJ_cGetPalette@16
Redirect : XLATEOBJ_hGetColorTransform@4 to NtGdiXLATEOBJ_hGetColorTransform@4

svn path=/trunk/; revision=29163
2007-09-23 14:35:40 +00:00
Magnus Olsen
b34cf0f3ac implement StartFormPage it call on StartPage(hdc); and StartPage is unimplment
Fix : do not redirect TranslateCharsetInfo and StretchDIBits some stuff need be done in user mode. 

svn path=/trunk/; revision=29162
2007-09-23 13:46:20 +00:00
Daniel Reimer
414b736953 Bug 2682: Downloader ressources update (heis_spiter@hotmail.com) (Yeah, I tested it :-P)
svn path=/trunk/; revision=29161
2007-09-23 13:38:32 +00:00
Hervé Poussineau
0b3a854203 Open the process with enough privileges before adjusting them
svn path=/trunk/; revision=29160
2007-09-23 13:14:03 +00:00
Hervé Poussineau
2ff2329ed3 Remove useless code
svn path=/trunk/; revision=29159
2007-09-23 13:10:51 +00:00
Daniel Reimer
17534ab7c6 Fix another Build breaking Bug, I missed...
svn path=/trunk/; revision=29156
2007-09-23 11:42:26 +00:00
Magnus Olsen
76a688a2e2 Fix : RemoveFontResourceA : let it call to RemoveFontResourceExA
Fix : RemoveFontResourceW : let it call to RemoveFontResourceExW
Fix : a comment in SetWorldTransform
Fix : Redirect STROBJ_bEnum@12 to win32k
Fix : Redirect STROBJ_bEnumPositionsOnly@12 to win32k
Fix : Redirect STROBJ_bGetAdvanceWidths@16 to win32k
Fix : Redirect STROBJ_dwGetCodePage@4 to win32k
Fix : Redirect STROBJ_vEnumStart@4 to win32k
Fix : Redirect SetFontEnumeration to win32k
Fix : Redirect SetMagicColors to win32k
Fix : Redirect SetSystemPaletteUse to win32k
Fix : Redirect SetVirtualResolution@20 to win32k
Fix : PtInRegion : Make smaller code in gdi32 for sharememory/metadc
Fix : RectInRegion : Make smaller code in gdi32 for sharememory/metadc 
Fix : SetBrushOrgEx : Make smaller code in gdi32 for sharememory/metadc
Fix : SetDIBits : Make smaller code in gdi32 for sharememory/metadc
Fix : SetGraphicsMode : Make smaller code in gdi32 for sharememory/metadc
Implement RemoveFontResourceExA : it is partly implement it miss flags, and pdv and we also need fix win32k
Implement RemoveFontResourceExW : it is partly implement it miss flags, and pdv and we also need fix win32k

and more stuff

svn path=/trunk/; revision=29154
2007-09-23 11:33:47 +00:00
Colin Finck
a2ae628e84 Fix the intl.cpl build
svn path=/trunk/; revision=29153
2007-09-23 11:30:09 +00:00
Daniel Reimer
31b688ad73 Bug 2677: Ukrainian translation update (rstzab@yandex.ru)
Bug 2678: Dutch translations for all screensavers by Joost de Meij (dreamsmsn@gmail.com)
Bug 2680: Updated (french) translations (heis_spiter@hotmail.com)

svn path=/trunk/; revision=29152
2007-09-23 11:05:44 +00:00
Hervé Poussineau
8ad6033250 Continue rbuild cleanup (AutomaticDependency and SourceFile classes)
svn path=/trunk/; revision=29150
2007-09-23 08:04:24 +00:00
Eric Kohl
c0c201c35d Add missing LPFILTERKEYS and LPTOGGLEKEYS types.
svn path=/trunk/; revision=29149
2007-09-22 20:20:28 +00:00
Colin Finck
8e4f19f80b Slovak translations for the cylfrac, logon, scrnsave and starfield screensavers by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=29148
2007-09-22 19:14:54 +00:00
Thomas Bluemel
f98ba48cef Fix loading pages provided by shell extensions
svn path=/trunk/; revision=29147
2007-09-22 18:59:23 +00:00
Thomas Bluemel
6897e5ee5a - Don't change the current power scheme when displaying the dialog
- Load additional pages provided by shell extensions

svn path=/trunk/; revision=29146
2007-09-22 18:48:02 +00:00
Colin Finck
2018d3408d Slovak translation for sysdm by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=29145
2007-09-22 18:23:06 +00:00
Colin Finck
f143cc5f45 Call ShellExecute with NULL instead of "open", so the default action is used, when a file name does not support "open". (see http://msdn2.microsoft.com/en-us/library/ms647732.aspx)
According to someone in the bug report, this is the behaviour used under Windows XP.
See issue #1461 for more details.

svn path=/trunk/; revision=29143
2007-09-22 16:52:53 +00:00
Colin Finck
7c48ada188 - Change Firefox 1.5 link to the file at svn.reactos.org (FF 1.5 isn't available anymore from Mozilla over HTTP, and our URLDownloadToFile seems to have problems with FTP links)
- Update Firefox 2.0 to 2.0.0.7
- Use a more reliable link for Thunderbird 2.0.0.6

svn path=/trunk/; revision=29142
2007-09-22 16:28:21 +00:00
Daniel Reimer
1c1f0f249b Add German RC Files to the Screensavers.
svn path=/trunk/; revision=29139
2007-09-22 13:00:46 +00:00
Eric Kohl
0916909cbf Don't use hardcoded strings in the configuration message box. Use string resources instead.
svn path=/trunk/; revision=29138
2007-09-22 11:38:32 +00:00
Eric Kohl
847464262c Don't use hardcoded strings in the configuration message box. Use string resources instead.
svn path=/trunk/; revision=29137
2007-09-22 11:26:03 +00:00
Eric Kohl
761e858982 Don't use hardcoded strings in the configuration message box. Use string resources instead.
svn path=/trunk/; revision=29136
2007-09-22 11:20:25 +00:00
Eric Kohl
1c85a28f50 Don't use hardcoded strings in the configuration message box. Use string resources instead.
svn path=/trunk/; revision=29135
2007-09-22 09:09:57 +00:00
Aleksey Bragin
1e19b02082 - Print out hardware information to the debug log in case of a crash (yes, even people like me do mistakes...)
svn path=/trunk/; revision=29133
2007-09-21 20:15:46 +00:00
Aleksey Bragin
e82855f464 - Print out hardware information to the debug log in case of a crash.
svn path=/trunk/; revision=29132
2007-09-21 20:14:34 +00:00
Colin Finck
074c6e9d66 Spanish translations by Javier Remacha (remialdo AT gmail DOT com)
See issue #2669 for more details.

svn path=/trunk/; revision=29131
2007-09-21 18:01:19 +00:00
Hervé Poussineau
1c9e99b2cc Send the right inf file handle to SetupCloseInfFile().
svn path=/trunk/; revision=29130
2007-09-21 13:00:16 +00:00
Hervé Poussineau
b733bd322e Fix typo
svn path=/trunk/; revision=29129
2007-09-21 12:45:39 +00:00
Hervé Poussineau
2136c852eb Add Lithuanian keyboard
Patch by Vytis Girdþijauskas, cman at cman dot us
See issue #2613 for more details.

svn path=/trunk/; revision=29128
2007-09-21 07:22:32 +00:00
James Tabor
b5b2b493c4 - Fixed CMP_UnregisterNotification. Add IN, sorry.
svn path=/trunk/; revision=29127
2007-09-21 00:07:26 +00:00
James Tabor
e5f58a8b91 - Add CMP_RegisterNotification and CMP_UnregisterNotification. Both called from User32.
svn path=/trunk/; revision=29126
2007-09-21 00:05:17 +00:00
Colin Finck
eb2bd45e2a Change the file names of the Catalan resource files from "ca-CA" to "ca-ES". Thanks to Marc Piulachs for noticing this.
Also fixed the sublang in the catalan "msconfig" resource file (thx to EmuandCo :-P)

See issue #2662 for more details.

svn path=/trunk/; revision=29125
2007-09-20 20:57:28 +00:00
Colin Finck
c75d21f350 Updated Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2661 for more details.

svn path=/trunk/; revision=29124
2007-09-20 18:40:55 +00:00
Timo Kreuzer
07f78b29da - make gdi object's type field more windows compatible, using only the basetype in the upper 16 bits
- On windows deleted objects have a KernelData value != NULL, so don't check for that when validating a handle, instead check if the type field in the upper 16 bits is 0

svn path=/trunk/; revision=29123
2007-09-20 16:13:55 +00:00
Hervé Poussineau
3a469030ac Do not forget to release the rundown protection.
See issue #2348 for more details.

svn path=/trunk/; revision=29122
2007-09-20 14:54:43 +00:00
James Tabor
08bf20fb83 User32:
- Implement ValidateHandle.
- Copied handle_to_entry and header information from win32k. Yes I know, duplication etc. Just for now.
- Add tested validation object types and as per revision 29105. Those object types now match.
- In dllmain.c, the gHandleTable pointer is set from Win32k GetW32ProcessInfo.
- Tested it, failed. The pointer does match with win32k gHandleTable.

svn path=/trunk/; revision=29121
2007-09-20 14:26:43 +00:00
Hervé Poussineau
8a98cb7fdd [FORMATTING] Tabs vs space, { } placement, ...
No code change

svn path=/trunk/; revision=29120
2007-09-20 13:53:38 +00:00
Ged Murphy
b69d44ab8c forgot to remove the lib I linked for testing
svn path=/trunk/; revision=29119
2007-09-20 13:32:58 +00:00
Ged Murphy
ce62afe2b0 add the correct key name to match the service name
svn path=/trunk/; revision=29118
2007-09-20 13:27:44 +00:00
Ged Murphy
b862010a64 - use correct name when registering.
- use unicode apis exclusively when required.
- fix rbuild file

svn path=/trunk/; revision=29117
2007-09-20 13:26:19 +00:00
Hervé Poussineau
5baee1e5ab Read Characteristics and BusType keys from .inf file, and write them in registry.
This will probably help for installation of 3rd party drivers

svn path=/trunk/; revision=29116
2007-09-20 13:26:18 +00:00
Aleksey Bragin
57a60d9b47 Timo Kreuzer:
- The debug object created by NtCreateDebugObject() is restricted to DEBUG_OBJECT_WAIT_STATE_CHANGE, change to DEBUG_OBJECT_ALL_ACCESS.
See issue #2310 for more details.

svn path=/trunk/; revision=29115
2007-09-20 12:46:58 +00:00
Aleksey Bragin
81ef13c4a1 - Implement a fast->slow leaf conversion (this assert was hit by OO.o setup)
svn path=/trunk/; revision=29114
2007-09-20 10:36:36 +00:00
Hervé Poussineau
87638956af Add missing svn:eol-style=native properties
svn path=/trunk/; revision=29113
2007-09-20 09:47:58 +00:00
Eric Kohl
dffd76151a Move the settings read code into a single function which is called before creating the property sheet.
svn path=/trunk/; revision=29112
2007-09-19 21:31:49 +00:00
Andrew Greenwood
099d7567cb Add prototype for UnregisterDeviceNotifications() to audiosrv.h (bug 2664)
svn path=/trunk/; revision=29111
2007-09-19 20:11:28 +00:00
Hervé Poussineau
b14a0090bc Fix compilation
Remove broken property

svn path=/trunk/; revision=29110
2007-09-19 19:29:40 +00:00
Andrew Greenwood
a3468f83ec Fix EOL style (I think!)
svn path=/trunk/; revision=29109
2007-09-19 19:25:43 +00:00
Andrew Greenwood
4ee8a37af5 Set service to manual start, and implemented a quick debug-logging
solution. ReactOS does not currently have RegisterDeviceNotification
implemented so if this function fails the audio service will still run
but won't receive plug and play event notifications (this is a temporary 
hack.)
Service now starts but won't find any devices (we don't have any yet!)


svn path=/trunk/; revision=29108
2007-09-19 16:54:25 +00:00
Hervé Poussineau
31163f4d3b Add missing svn:eol-style=native property
svn path=/trunk/; revision=29107
2007-09-19 15:18:05 +00:00
Andrew Greenwood
83932a8e2c Correct enumeration of Plug and Play audio devices on Windows using
KSCATEGORY_AUDIO. Also detects existing audio devices in addition to 
dealing with device arrivals. Slight code tidy-up. Also added additional 
GUIDs to ks.h and ksmedia.h


svn path=/trunk/; revision=29106
2007-09-19 14:42:54 +00:00
James Tabor
de7c2c63e3 Win32k:
- Add thread information pointer to the user handle entry. This will be useful for checking handles, if the handle is not part of the current thread.
- Add a test to make sure the current process passes the gHandleTable pointer to user32.
- These changes are important for allowing User32 to read-only the handle object information. Not 100% compatible, we need NtUserProcessConnect and CsrClientConnectToServer. Need a full understanding how they both work with User32.
Ref:
- https://www.microsoft.com/msj/0397/hood/hood0397.aspx
- http://www.winterdom.com/dev/ui/wnd.html

svn path=/trunk/; revision=29105
2007-09-19 13:24:58 +00:00
Hervé Poussineau
a7a5e5a486 Fix weird bug in Project::ResolveProperties(), which was modifying the string given in argument
svn path=/trunk/; revision=29104
2007-09-19 12:06:39 +00:00
Hervé Poussineau
a756421600 Remove rbuild stdlib="host" attribute. That was a workaround to build system deficiency.
Now, base the workaround on presence of C++ files in module

svn path=/trunk/; revision=29103
2007-09-19 11:11:57 +00:00
Hervé Poussineau
afcd5893d5 Fix an old rbuild bug: .gch file now depends of intermediate module directory, and can create it if needed
svn path=/trunk/; revision=29102
2007-09-19 09:34:05 +00:00
Andrew Greenwood
18b8710a37 ReactOS Audio Service. Has not been tested within ReactOS but on Windows
(XP) it now detects when new devices have been attached. This 
information is shared via a mapped file. I have also written a utility 
to read the contents of the mapped file (this is not included - further 
work is required).

Added a few missing #defines to dbt.h and also reformatted some of the 
WinMM code so it was clearer to read.


svn path=/trunk/; revision=29100
2007-09-19 04:13:24 +00:00
Daniel Reimer
d600738b86 Set svn:eol-style = native. (Final, Now you can kick me :-P)
svn path=/trunk/; revision=29099
2007-09-18 21:51:29 +00:00
Daniel Reimer
472da8c8b0 Set svn:eol-style = native
svn path=/trunk/; revision=29098
2007-09-18 21:39:18 +00:00
Daniel Reimer
3ab931ca14 Set svn:eol-style = native
svn path=/trunk/; revision=29097
2007-09-18 21:32:39 +00:00
Daniel Reimer
5daf391b62 Catalan Translations by Marc Tormo i Bochaca (mtbochaca@ya.com) (Bug 2647, 2651, 2652, 2653, 2654, 2655, 2656)
Fixed SUBLANG to DEFAULT and fixed missing "".

svn path=/trunk/; revision=29096
2007-09-18 21:08:09 +00:00
Christoph von Wittich
38cb0b7e17 don't use WNOHANG
svn path=/trunk/; revision=29095
2007-09-18 18:59:53 +00:00
Christoph von Wittich
ee5642eccc fix qemu vnc param
svn path=/trunk/; revision=29094
2007-09-18 17:53:53 +00:00
Ged Murphy
a98103c630 - when converting from a DDB to a DIB, the palette should be the same in the resulting DIB as the original DDB. This fixes the colour issue we had in the taskbar icons. (there's still a bit position problem as highlighted in the 1-4 bitmaps)
- Reformat the NtGdiGetDIBitsInternal code to a more readable state.

*note, this function needs a considerable work.

svn path=/trunk/; revision=29093
2007-09-18 15:24:34 +00:00
James Tabor
90c3978be9 - Win32k: Removed NtUserCreateMenu replacing it with NtUserCallNoParam.
svn path=/trunk/; revision=29092
2007-09-18 13:06:27 +00:00
Christoph von Wittich
22571f9e0f fix a bug in the linux version of OsSupport::createProcess
svn path=/trunk/; revision=29091
2007-09-18 08:15:47 +00:00
James Tabor
4ab750a26f - Implement NtUserValidateHandleSecure and most support functions moved from static and added to their respected headers.
svn path=/trunk/; revision=29090
2007-09-18 05:07:49 +00:00
Andrew Greenwood
8d7c594692 Bare-bones foundations of the ReactOS Audio Service. At present it's
nothing more than a "mutex service". Some info on the planned 
implementation is in the included audiosrv.txt file.


svn path=/trunk/; revision=29089
2007-09-18 02:41:46 +00:00
Eric Kohl
c04f5503a6 Merge all settings in a single struct. This is required to implement the administrative options.
svn path=/trunk/; revision=29088
2007-09-17 22:29:35 +00:00
James Tabor
fec8f2d929 Init stock object buffer only once.
svn path=/trunk/; revision=29087
2007-09-17 22:08:14 +00:00
James Tabor
75b11c60f3 Fixed build.
svn path=/trunk/; revision=29086
2007-09-17 21:46:30 +00:00
James Tabor
5bfa6170c1 Fixed Client Info structure. Moved it to the right file so user apps can access it.
svn path=/trunk/; revision=29085
2007-09-17 21:02:19 +00:00
Aleksey Bragin
c466246f9e - Change RtlIsDosDeviceName_U() implementation to a better Wine implementation
- Winesync RtlIsNameLegalDOS8Dot3()
- "ntdll_winetest.exe path" reduced to 3 failures (which happen on XP too), so considering "path" done 100% now.

svn path=/trunk/; revision=29084
2007-09-17 19:51:32 +00:00
Hervé Poussineau
4ee3207955 Add some missing definitions to PSDK
Patch by Samuel Serapion, samdwise51 at gmail dot com

svn path=/trunk/; revision=29083
2007-09-17 13:52:44 +00:00
Hervé Poussineau
762f833b44 Add missing svn:eol-style native properties
svn path=/trunk/; revision=29082
2007-09-17 13:43:34 +00:00
Hervé Poussineau
661efc7398 Get rid of "Video Save SVGA" group. Clean up group order entries
svn path=/trunk/; revision=29079
2007-09-17 09:42:01 +00:00
Hervé Poussineau
ec81f99348 No need to create a service group only for VBE driver. By using tags, VBE driver can be installed as the first one in the "Video Save" group
svn path=/trunk/; revision=29078
2007-09-17 09:35:31 +00:00
Aleksey Bragin
ceb71f7fcf Cameron Gutman <aicommander@gmail.com>
- Use /SOS to disable bootlogo in the LiveCD too.

svn path=/trunk/; revision=29075
2007-09-17 08:48:14 +00:00
Art Yerkes
0f163e7d12 Add missing include path.
svn path=/trunk/; revision=29074
2007-09-17 06:12:40 +00:00
Art Yerkes
fe9867a61c Microsoft and the open group both specify towupper and towlower as taking int
and returning int of some flavor.  Make this true of ours.

http://msdn2.microsoft.com/en-us/library/45119yx3(VS.80).aspx
http://opengroup.org/onlinepubs/007908799/xsh/towupper.html

svn path=/trunk/; revision=29073
2007-09-17 05:57:54 +00:00
Art Yerkes
028b640f0b Fixen for PPC.
Exclude relocation.  We'll be situated properly by the ELF layer anyway, and
it's x86 specific.
Tweak definitions in _mingw.h

svn path=/trunk/; revision=29072
2007-09-17 05:33:08 +00:00
Art Yerkes
e366497b95 Fix build for new rosbe-ppc.
svn path=/trunk/; revision=29071
2007-09-17 05:32:04 +00:00
Aleksey Bragin
ab5811a512 - Move W32CLTINFO_TEB structure out of NDK, since it's module-internal structure.
- Add a define for easier accessing this field.

svn path=/trunk/; revision=29069
2007-09-16 17:37:41 +00:00
James Tabor
0a844e24f0 Fix def and size for NtUserValidateHandleSecure.
svn path=/trunk/; revision=29068
2007-09-16 15:32:58 +00:00
Eric Kohl
a3862a653e Indentation clean-up. No code changes.
svn path=/trunk/; revision=29067
2007-09-16 13:38:26 +00:00
Eric Kohl
46bd898f3d Enable the filter keys settings when the test area EDITTEXT control gets the focus and disable the settings when the focus leaves the control.
svn path=/trunk/; revision=29066
2007-09-16 13:25:34 +00:00
Aleksey Bragin
f87c698cd3 Gregor Brunmar <gregor.brunmar@home.se>:
- Don't include files that aren't in the source directory to the project generation.
- Fix tab indentation in generated files.

svn path=/trunk/; revision=29065
2007-09-16 12:54:52 +00:00
Hervé Poussineau
d18fdef61f Add back support for files not in the root of the module directory
Patch by Gregor Brunmar, gregor (dot) brunmar (at) home (dot) se

svn path=/trunk/; revision=29064
2007-09-16 09:12:15 +00:00
The Wine Synchronizer
aa5e4e73cb Autosyncing with Wine HEAD
svn path=/trunk/; revision=29063
2007-09-15 17:06:51 +00:00
Colin Finck
9b6a264e7d Rename "Properties::" to "Properties" in the context menu (patch by Mario Kacmar, kario AT szm DOT sk)
svn path=/trunk/; revision=29062
2007-09-15 16:10:10 +00:00
Colin Finck
32a25111cb Add a slovak translation for "desk.cpl" and fix a small mistake in the translation for "timedate.cpl"
Patch by Mario Kacmar (kario AT szm DOT sk)

svn path=/trunk/; revision=29061
2007-09-15 15:45:24 +00:00
Colin Finck
47dea31217 [FORMATTING]
- Use TABs instead of spaces in some more .rbuild files
- No code changes

svn path=/trunk/; revision=29060
2007-09-15 15:20:31 +00:00
Eric Kohl
f51ada884d Use the unicode="yes" attribute in the module element instead of defining UNICODE and _UNICODE.
svn path=/trunk/; revision=29059
2007-09-15 15:12:26 +00:00
Johannes Anderwald
83c8f50776 - move VolumeDlgProc function to own file volume.c
- read default waveout device  (thanks to Silverbade)
- improve volume dialog proc
- update all languages resources which current code changes

svn path=/trunk/; revision=29058
2007-09-15 14:54:01 +00:00
Eric Kohl
3df1f13cd1 Use the currently selected locale id instead of LOCALE_USER_DEFAULT to display and modify currency settings.
svn path=/trunk/; revision=29057
2007-09-15 14:48:40 +00:00
Colin Finck
9960c6fc98 More XML compliance fixes for the .rbuild files by Marc Piulachs (marc DOT piulachs AT codexchange DOT net)
The added '<include base="ntoskrnl" root="intermediate">include</include>' line in "ntoskrnl.rbuild" was left out, as this include path is already added through the "ntoskrnl.h" precompiled header. (thanks to Hervé for figuring this out)
I applied patches 1904 and 1905 of the Bugzilla bug entry.

See issue #2649 for more details.

svn path=/trunk/; revision=29056
2007-09-15 14:37:02 +00:00
The Wine Synchronizer
c287f519bf Autosyncing with Wine HEAD
svn path=/trunk/; revision=29054
2007-09-15 10:52:08 +00:00
Hervé Poussineau
fd7b9ad55e Fix typo
svn path=/trunk/; revision=29053
2007-09-15 09:03:01 +00:00
Hervé Poussineau
f5101f1e6a Continue rbuild cleanup (Directory class)
svn path=/trunk/; revision=29052
2007-09-15 08:47:56 +00:00
Timo Kreuzer
57dd42dde7 revert 29027, because it breaks context menus.
svn path=/trunk/; revision=29051
2007-09-14 22:46:38 +00:00
Johannes Anderwald
b3f967520d - reenable module definition
svn path=/trunk/; revision=29050
2007-09-14 21:44:11 +00:00
Johannes Anderwald
456e4e5a19 - remove a non working hack
svn path=/trunk/; revision=29049
2007-09-14 21:06:38 +00:00
Johannes Anderwald
4e6f9d01d7 - include intermediate path for msvc projects since buildno.h and friends are now generated there
svn path=/trunk/; revision=29048
2007-09-14 21:05:46 +00:00
Colin Finck
e9c97ddea4 This is hopefully the last fix needed to build LiveCD on Unix hosts again
svn path=/trunk/; revision=29047
2007-09-14 19:34:24 +00:00
Colin Finck
d23dadadee Small change in the slovak translation of Solitaire (patch by Mario Kacmar, kario AT szm DOT sk)
svn path=/trunk/; revision=29046
2007-09-14 19:26:20 +00:00
Colin Finck
561a35b16d And here comes the next fix, this time for fixing the LiveCD build
svn path=/trunk/; revision=29045
2007-09-14 19:23:36 +00:00
Colin Finck
2b47cce3f0 Forgot to change these ones as well.
But somehow it compiled fine under Windows, even without these changes.

svn path=/trunk/; revision=29044
2007-09-14 19:13:03 +00:00
Colin Finck
d4a18c707c Forgot to change these ones
svn path=/trunk/; revision=29043
2007-09-14 19:02:21 +00:00
Colin Finck
0429c9f223 - Create a new "include/host" directory for host-only includes.
- Copy the "pshpack*.h", "poppack.h" and "typedefs_host.h" (renamed to "typedefs.h") files to this directory
- Modify the Makefiles of cmlib_host, inflib_host, mkhive, unicode, wmc and wrc to remove the "include/psdk" dependency
- Remove the inclusion of "ntstatus.h" in cmlib_host and mkhive

svn path=/trunk/; revision=29042
2007-09-14 18:55:43 +00:00
Colin Finck
256cab14c1 Revert the changes in r29036 to the file "ReactOS-i386.rbuild". They broke build and look like test code for me.
svn path=/trunk/; revision=29041
2007-09-14 17:34:37 +00:00
Hervé Poussineau
b2327d1918 Update project dtd file based on usage (doesn't mean it is good and can't be changed anymore)
svn path=/trunk/; revision=29040
2007-09-14 17:13:46 +00:00
Hervé Poussineau
47bdba1c9b Update README.WINE after revision 29034
svn path=/trunk/; revision=29039
2007-09-14 17:12:13 +00:00
Hervé Poussineau
58d6c588b0 Delete useless files
svn path=/trunk/; revision=29038
2007-09-14 17:10:48 +00:00
Hervé Poussineau
4e99cc9eea Add missing svn:eol-style=native property
svn path=/trunk/; revision=29037
2007-09-14 17:09:45 +00:00
Hervé Poussineau
4b912ebbbc Clean up .rbuild files and make them xml compliant
Inspired by bug 2627

svn path=/trunk/; revision=29036
2007-09-14 17:07:53 +00:00
James Tabor
6aa84d10f7 - Setting up for the User32 part of the win32k rewrite.
- Pass window handle and pointer to the current teb callback. This will allow easy and fast read access for user space programs.
- Next will be ValidateHwnd and the rest.
- https://www.microsoft.com/msj/0397/hood/hood0397.aspx
- http://www.winterdom.com/dev/ui/wnd.html
- http://www.mvps.org/user32/modal.html
- http://www.tech-archive.net/Archive/Development/microsoft.public.win32.programmer.kernel/2006-05/msg00522.html

svn path=/trunk/; revision=29035
2007-09-14 15:34:41 +00:00
The Wine Synchronizer
b0de8603f3 Autosyncing with Wine HEAD
svn path=/trunk/; revision=29034
2007-09-14 08:03:04 +00:00
Hervé Poussineau
6585935cc4 Add imm.h header (enough to let Wine imm.dll compile)
svn path=/trunk/; revision=29033
2007-09-14 08:01:57 +00:00
Hervé Poussineau
96cdd6485c Autosyncing with Wine HEAD
svn path=/trunk/; revision=29032
2007-09-14 07:22:03 +00:00
James Tabor
05315cb742 It does work. There is another bug in the tree!
svn path=/trunk/; revision=29031
2007-09-14 06:37:08 +00:00
James Tabor
a9a5011479 Need to update or sync with wine.
svn path=/trunk/; revision=29030
2007-09-14 06:30:26 +00:00
James Tabor
eb04671664 Vitaliy Margolen: Dont exit when double-clicking with right button held.
svn path=/trunk/; revision=29029
2007-09-14 06:14:50 +00:00
James Tabor
d5de37fdd3 Fix typo, add extra entry to the structure.
svn path=/trunk/; revision=29028
2007-09-14 05:05:35 +00:00
Timo Kreuzer
fa29846725 make upper 16 bit of gdi table entries type field more windows compatible
svn path=/trunk/; revision=29027
2007-09-14 02:53:49 +00:00
James Tabor
1c35130224 Add window client information structure to TEB.
svn path=/trunk/; revision=29026
2007-09-13 16:57:53 +00:00
Daniel Reimer
c182bbd8d8 Reformat the RC Files of the cpls to use rsrc.rc for including additional languages.
*Nameofcpl*.rc should be LANG_NEUTRAL SUBLANG_NEUTRAL.
Add manifest.xml to all CPLs to support skinning from now on.

svn path=/trunk/; revision=29025
2007-09-13 11:40:16 +00:00
Johannes Anderwald
612cdea22b - implement reading/displaying audio schemes
svn path=/trunk/; revision=29024
2007-09-13 03:11:15 +00:00
Johannes Anderwald
e4d4dd3eaa - implement loading of sound items
svn path=/trunk/; revision=29023
2007-09-12 20:22:41 +00:00
Ged Murphy
329da883d0 Set the main icon resource number to 3004. This should ensure SetupDiLoadClassIcon loads it correctly.
svn path=/trunk/; revision=29022
2007-09-12 19:00:36 +00:00
Johannes Anderwald
088f9d7355 - start implementing sound scheme dialog
svn path=/trunk/; revision=29021
2007-09-12 17:51:51 +00:00
Daniel Reimer
fde1731b49 Translate the Keyboard Settings too.
svn path=/trunk/; revision=29019
2007-09-12 15:17:15 +00:00
Ged Murphy
9fdc73bf65 - rewrite the Control code
- smooth the progress bar movement
- clean up various other bits

svn path=/trunk/; revision=29018
2007-09-12 13:50:51 +00:00
Ged Murphy
8732a04d4a Use the handle for ControlService too. This allows me to start and stop my test service (but tcpsvcs hangs on stop)
svn path=/trunk/; revision=29017
2007-09-12 09:27:33 +00:00
Ged Murphy
3d95120a59 silence a couple of debug messages I missed
svn path=/trunk/; revision=29016
2007-09-12 09:08:11 +00:00
Ged Murphy
4092f435c3 add a client handle to the private interface
svn path=/trunk/; revision=29015
2007-09-12 08:47:06 +00:00
Ged Murphy
af45f6b22d - Share a client service handle with the SCM and use it to identify services.
- This fixes the problem where a service name created via CreateService (reg key name) can be different than the one supplied in the call to StartServiceCtrlDispatcher. Windows can still start services in this situation, previously we would fail to find the right service.

svn path=/trunk/; revision=29014
2007-09-12 08:46:00 +00:00
Ged Murphy
b29eee1b73 Receive a client service handle from advapi32 so we can get a permenant link between the SCM and the service
svn path=/trunk/; revision=29013
2007-09-12 08:41:00 +00:00
Hervé Poussineau
873c9d539e Cleanup GetDirectory(), GetFilename() and GetExtension() usage
svn path=/trunk/; revision=29012
2007-09-12 07:04:32 +00:00
Andrew Greenwood
b453ee14e3 Modified WINE's winmm.dll to support loading of user-installable drivers
from the registry 'Drivers' and 'Drivers32' keys, as Windows does. Also 
silenced the beep-MIDI driver (which is supported by winmm! - but 
doesn't seem to do much, at least under vmware.)

Added some Drivers32 entries to be loaded by default, to the hivesft.inf 
file.


svn path=/trunk/; revision=29011
2007-09-12 00:29:07 +00:00
Ged Murphy
48345d7b1d make the apps icon a bit neater
svn path=/trunk/; revision=29010
2007-09-11 21:56:25 +00:00
Ged Murphy
2f0dcbcdef delete comments
svn path=/trunk/; revision=29006
2007-09-11 13:06:20 +00:00
Ged Murphy
b7d1b4a8f8 - Send the SERVICE_STATUS_HANDLE to the SCM so SetServiceStatus has something to work with
- Add control code to stop, pause and resume services and forward it onto the service control handler

svn path=/trunk/; revision=29005
2007-09-11 12:59:38 +00:00
Ged Murphy
c047522694 - store the SERVICE_STATUS_HANDLE and use it for setting service status
- add functionality for controlling services

svn path=/trunk/; revision=29004
2007-09-11 12:56:22 +00:00
Aleksey Bragin
108d48388e - When media is changed, set VolumeDevice's DO_VERIFY_VOLUME flag so it actually gets verified.
- IoVerifyVolume() actually gives two successful statuses - STATUS_SUCCESS and STATUS_WRONG_VOLUME. Respect that when processing an device ioctl.
- "Inability to change CD after boot" issue is fixed.

svn path=/trunk/; revision=29002
2007-09-11 10:29:03 +00:00
Hervé Poussineau
cf9e10327c Rename strFile/strDirectory to a more meaningful name, and move them to appropriate place
svn path=/trunk/; revision=29000
2007-09-11 07:14:32 +00:00
Ged Murphy
5425875734 fix the service name to match the registry key
svn path=/trunk/; revision=28999
2007-09-10 22:28:34 +00:00
Eric Kohl
f9e9cc03c6 - Enumerate short and long date formats.
- Use the currently selected locale id instead of LOCALE_USER_DEFAULT.

svn path=/trunk/; revision=28998
2007-09-10 22:16:01 +00:00
Eric Kohl
9fe96d7b9b Add missing definitions of EnumDateFormats.
svn path=/trunk/; revision=28997
2007-09-10 22:13:52 +00:00
Eric Kohl
edc540afb1 - Enumerate time formats.
- The user must able to change the locale id. Move it into a global structure.
- User the selected locale id instead of LOCALE_USER_DEFAULT.

svn path=/trunk/; revision=28996
2007-09-10 20:46:27 +00:00
Eric Kohl
4c8cd18f0e - Change the currently selected locale id instead of LOCALE_USER_DEFAULT.
- Let the user choose between 0 and 9 fractional digits.
- Fix a typo: SendMesssgeW --> SendMessage.

svn path=/trunk/; revision=28995
2007-09-10 20:40:27 +00:00
Aleksey Bragin
6f31706927 - Separate creating partitions objects into a different function (CreatePartitionsObject()).
- Slightly improve the logic of accessing the partitions list.

svn path=/trunk/; revision=28993
2007-09-10 16:25:48 +00:00
Eric Kohl
743a10f834 Add missing quotation mark and enable the german translation again.
svn path=/trunk/; revision=28992
2007-09-10 13:31:48 +00:00
Hervé Poussineau
0ee69eac89 Fix File::GetFullPath()
svn path=/trunk/; revision=28991
2007-09-10 13:20:32 +00:00
Hervé Poussineau
d1a39218b2 Continue rbuild cleanup (File class)
svn path=/trunk/; revision=28990
2007-09-10 13:13:16 +00:00
Hervé Poussineau
f19c8990fb Disable german resource file as it breaks build
svn path=/trunk/; revision=28989
2007-09-10 13:00:42 +00:00
Hervé Poussineau
5f5a00646d Fix rbuild files
svn path=/trunk/; revision=28988
2007-09-10 12:21:50 +00:00
Daniel Reimer
c04b494d38 Bug 2643: Ukrainian translation update (temarez@yandex.ru)
Fixes in English RC file of Input and a German Translation by myself.

svn path=/trunk/; revision=28987
2007-09-10 10:59:21 +00:00
Hervé Poussineau
621618fbbb Continue rbuild cleanup (Include class)
svn path=/trunk/; revision=28986
2007-09-10 06:52:07 +00:00
James Tabor
f53a2fd07d We are using it now,,, so clean up before use.
svn path=/trunk/; revision=28985
2007-09-10 05:37:57 +00:00
Aleksey Bragin
f22e04dc25 - Use IoBuildAsynchronousFsdRequest() instead of IoBuildDeviceIoControlRequest()
- Use completion routine for completing that type of requests

svn path=/trunk/; revision=28984
2007-09-09 18:32:30 +00:00
Aleksey Bragin
19dc9c4a64 - Make sure CLASS2 driver returns STATUS_UNSUCCESSFUL if receiving a RESET_DEVICE ioctl.
svn path=/trunk/; revision=28983
2007-09-09 17:06:14 +00:00
Aleksey Bragin
109fe2a8fd - IoMapTransfer(NULL, ..) is an old-fashioned way, for DMA master. Changing this back to NULL, since ReactOS's implementation seem to take this into account.
svn path=/trunk/; revision=28982
2007-09-09 16:19:24 +00:00
Aleksey Bragin
6481e255c2 - Revert 27476: another attempt (previously, dgorbachev tried to "fix" this code) to double-release spinlocks. There are even comments in some uncertain cases about this.
For future generations: Have a look at SpiGetNextLunRequest(), it's full of KeReleaseSpinLock()s.

svn path=/trunk/; revision=28980
2007-09-09 14:45:38 +00:00
Colin Finck
45acb6f960 Revert r28972, the pshpack*.h and poppack.h headers are in "include/psdk".
So we're still sharing some small headers with host and target :-(

svn path=/trunk/; revision=28979
2007-09-09 13:12:28 +00:00
Aleksey Bragin
4521f6387a - Revert 28967, and fix the real issue where an overwrite occured (in KiMoveApcState()).
svn path=/trunk/; revision=28978
2007-09-09 13:00:14 +00:00
Eric Kohl
621fbe2cc1 - Remove the WS_SORT style from all comboboxes but the language and location lists in order to display list items in the desired order.
svn path=/trunk/; revision=28977
2007-09-09 12:44:33 +00:00
Aleksey Bragin
0857585ce4 - HACK: Create a missing VRefresh key when installing VMWare's video driver. This solution was proposed long time ago by Herve Poussineau and very recently by Gregor Brunmar. Now VMWare's video driver finally can work as expected, resolution setting works also (tested up to 1400x1050).
- TODO: VRefresh key is absent in the installation .inf, and should be somehow either ignored, or created by something else (not the installer).

svn path=/trunk/; revision=28976
2007-09-09 12:42:45 +00:00
Aleksey Bragin
19b92eb8ab - Improve videoprt's debug messages when accessing registry parameters.
svn path=/trunk/; revision=28975
2007-09-09 12:39:11 +00:00
Art Yerkes
4c33a58449 Mask values that control inheritability of the handle, and don't affect access.
svn path=/trunk/; revision=28973
2007-09-09 12:21:22 +00:00
Colin Finck
1f2057ff37 Remove the references to the "include/psdk" directory from "unicode", "wmc" and "wrc". Due to recent changes, they are not needed anymore.
svn path=/trunk/; revision=28972
2007-09-09 12:12:19 +00:00
Art Yerkes
10b515935a Don't dereference the object unless we actually referenced it. Cygwin apps
no longer bugcheck reactos when abnormally terminating.

svn path=/trunk/; revision=28971
2007-09-09 11:09:56 +00:00
Aleksey Bragin
b4bf4d4ce9 Changes partly based on a patch and ideas by Gregor Brunmar <gregor.brunmar@home.se>:
- Fix size argument in calls to RegQueryValueEx() (if some fails, it may not be equal to sizeof(DWORD)).
- If it's impossible to read settings from vmware's registry key, obtain current screen settings and pass them.

svn path=/trunk/; revision=28970
2007-09-09 11:04:22 +00:00
Aleksey Bragin
87351e3290 - Fix typos in debug messages.
svn path=/trunk/; revision=28969
2007-09-09 10:36:52 +00:00
Aleksey Bragin
2769ad4a93 - Fix build by adding Wine-specific language definitions to WRC
- Revert 28965 and 28966 as unnecessary

svn path=/trunk/; revision=28968
2007-09-09 10:11:04 +00:00
Art Yerkes
1fa5be2cf7 Correct size of KAPC_STATE to fit in the [23] window of PKTHREAD. This is
neccessary, otherwise the APC booleans interfere with FreezeCount.

svn path=/trunk/; revision=28967
2007-09-09 09:49:35 +00:00
Magnus Olsen
8b5e1d5a72 comment out ESPERANTO and WALON languishes file, for it is not supported in windows
svn path=/trunk/; revision=28966
2007-09-09 09:44:43 +00:00
Magnus Olsen
b90953ec15 comment out ESPERANTO languishes file, for it is not supported in windows
svn path=/trunk/; revision=28965
2007-09-09 09:38:55 +00:00
Hervé Poussineau
5d0fb46096 Continue rbuild cleanup (Module class)
svn path=/trunk/; revision=28964
2007-09-09 07:53:40 +00:00
Art Yerkes
8be848bceb Fix inverted logic in suspending process. Now this is symmetric with the
corresponding thaw.

svn path=/trunk/; revision=28963
2007-09-09 07:39:45 +00:00
Art Yerkes
4c4c882824 Add 2-byte packing for the DWORD size that follows the 'BM' signature.
svn path=/trunk/; revision=28962
2007-09-09 05:04:32 +00:00
Colin Finck
d9bcc676f8 Temporary "fix" to get explorer to build again.
Someone please look why wrc fails for this particular file (logov.bmp). I'm out of ideas.

svn path=/trunk/; revision=28961
2007-09-08 22:32:24 +00:00
Eric Kohl
1f47962cc3 - Add sorting page and show it if a language that supports multiple sorting methods has been selected.
svn path=/trunk/; revision=28960
2007-09-08 22:27:41 +00:00
Colin Finck
3c9b25c337 - Revert my previous attempts to fix the "wmc" and "wrc" builds
- Use "typedefs_host.h" in both components now
- wrc needs *MANY* definitions from the Windows headers, therefore I created a new file "wrcrostypes.h", which contains all these definitions.

svn path=/trunk/; revision=28959
2007-09-08 21:40:36 +00:00
Colin Finck
47eb99dcf6 - Solve our wchar_t host problems the easy way by defining WCHAR to "unsigned short" (thx KJK for the hint)
- Revert my changes to the "unicode" module in r28411 and r28423
- Include "typedefs_host.h" instead of the Windows headers in "wine/unicode.h", this component doesn't depend on target headers anymore.
  To get it to work completely without Windows headers, I also had to copy some definitions from <winnls.h> to the "wine/unicode.h" file.

svn path=/trunk/; revision=28957
2007-09-08 19:50:20 +00:00
Hervé Poussineau
252118319f Let ImportLibrary class use the FileLocation concept.
I disabled def files in codeblocks and msvc backends, someone will have to update them

svn path=/trunk/; revision=28956
2007-09-08 19:27:07 +00:00
Colin Finck
f77c414397 - Set g_nMatrixSpeed to 10 as the default value (150 is higher than the maximum value). Same fix is also found in Version 3.0 of the original Matrix ScreenSaver.
Under Windows NT, 2000 and XP up to SP1, this fix is not needed as the SetTimer behaviour is different there, but XP SP2 and Server 2003 have a different SetTimer behaviour (which now also applies to ReactOS).
  See http://msdn2.microsoft.com/en-us/library/ms644906.aspx for more details.
- Remove all the MSVC stuff from the translation files to get them to compile with MSVC ^^
  Sounds stupid, but the files include a non-existing "afxres.h", which lead to an error in MSVC.
- Include <stdlib.h> in "settings.c" for malloc.
- Use UCHAR values instead of int's for ParseCommandLine and chOption.
  MSVC has an assertion (ch >= 0 && ch <= 255) in the isdigit function, so negative values would lead to an error here. (for example, when no arguments are given and the variable contains lots of crap)

We still need to "merge" the cool new stuff from Matrix 3.0 :-)

svn path=/trunk/; revision=28955
2007-09-08 19:04:47 +00:00
Aleksey Bragin
19a10e41da - Don't unlock a not locked TEXTOBJ. Solves booting issue under vmware.
svn path=/trunk/; revision=28954
2007-09-08 18:44:33 +00:00
Colin Finck
98a0a729e4 Enable the Windows Server 2003 behaviour for SetTimer.
Finally, Matrix Screensaver does not work anymore under ReactOS, so we are compatible with Windows XP SP2 and Windows Server 2003 in this case :-D

svn path=/trunk/; revision=28953
2007-09-08 18:43:36 +00:00
Aleksey Bragin
58f3f36a48 - Remove intl_new.cpl
svn path=/trunk/; revision=28952
2007-09-08 17:42:23 +00:00
Eric Kohl
6dd949a054 - Update language samples upon selection of a new language.
- Add a workaround for a special case: "Spanish (Spain)" uses two sorting methods but two sublang ids are used to distinguish them instead of two sort ids. Ensure they don't appear twice in the language list.
- Add "Spanish (Spain)" as a translatable string resource.

svn path=/trunk/; revision=28950
2007-09-08 15:43:19 +00:00
James Tabor
9ef9435f83 Reset DC if MemoryDC or SaveLevelDC.
svn path=/trunk/; revision=28949
2007-09-08 14:30:39 +00:00
Colin Finck
fe71c58954 Forgot to change the names of the actual .lnk files
svn path=/trunk/; revision=28947
2007-09-08 14:17:36 +00:00
Colin Finck
b66cac8ea8 - Change "CharMap" to "Character Map" in the english translation
- Translate "System Tools" and "Character Map" to german

svn path=/trunk/; revision=28946
2007-09-08 14:10:01 +00:00
Johannes Anderwald
5999335021 - add input.dll baseaddress
svn path=/trunk/; revision=28945
2007-09-08 13:27:10 +00:00
Johannes Anderwald
0c146f766c - add input.dll baseaddress
svn path=/trunk/; revision=28944
2007-09-08 13:27:09 +00:00
Christoph von Wittich
ca777771ce handle CachedMode->dmSize
svn path=/trunk/; revision=28943
2007-09-08 12:13:49 +00:00
Aleksey Bragin
844247bb15 - Get rid of NTLPC configuration var completely.
svn path=/trunk/; revision=28942
2007-09-08 12:07:45 +00:00
Aleksey Bragin
9b8e768a59 - NTLPC always 1 now, remove deprecated code
- Unlock SMSS: authors are clearly known, history of smss goes to the beginnings of the project. Code needs cleaning up (headers, formatting).

svn path=/trunk/; revision=28941
2007-09-08 12:02:52 +00:00
James Tabor
912e0b2f35 Fix bootcd problem and found another one.
svn path=/trunk/; revision=28940
2007-09-08 11:57:40 +00:00
Colin Finck
fabeba93d2 Change some prompts in the German translation of Explorer and Shell32, the previous ones sounded a bit strange
svn path=/trunk/; revision=28938
2007-09-08 11:28:19 +00:00
Colin Finck
acb99f2a9f Accept the parameters case-insensitive in shutdown as well
svn path=/trunk/; revision=28937
2007-09-08 09:55:42 +00:00
Colin Finck
1540ce885b - Accept the parameters case-insensitive
- Replace the "/h" option by a "/?" option as described in the Usage text
- Use a consistent indentation
- Change the Usage text a bit

svn path=/trunk/; revision=28936
2007-09-08 09:04:51 +00:00
Colin Finck
a1a8df5ad2 Add a "logevent" utility for adding an event to the EventLog, developed by Marc Piulachs (marc DOT piulachs AT codexchange DOT net)
See issue #2598 for more details.

svn path=/trunk/; revision=28935
2007-09-08 08:31:56 +00:00
Christoph von Wittich
30dc779d1c -fix a bug in GetDisplayNumberFromDeviceName
-don't overwrite memory in IntEnumDisplaySettings

svn path=/trunk/; revision=28934
2007-09-08 07:43:45 +00:00
James Tabor
6a0d3658f6 - Remove DCU_UpdateUserXForms from files for now.
- 28932: Wrong Meta Tag!
- Starting the implementation of thread locking of GDI objects.
- Ref: http://www.winehq.org/pipermail/wine-cvs/2007-August/035810.html

svn path=/trunk/; revision=28933
2007-09-08 01:27:49 +00:00
James Tabor
0f6b993fbd - Reordered IntGdiGet/SetDCState and separated the copy sections.
- When creating DCE for window handles, allocate a DC structure for the default window DC.
- Return Dhpdev if not zero for NtGdiOpenDCW.
- Reordered the DC object. 

svn path=/trunk/; revision=28932
2007-09-08 01:05:27 +00:00
Christoph von Wittich
ede2779483 use the same version number for the dx libraries
svn path=/trunk/; revision=28931
2007-09-07 22:42:09 +00:00
Aleksey Bragin
8a38525cef Dmitry Chapyshev <lentind@yandex.ru>:
- Implement basics of input.dll (does not work yet, just has dialogs/resources).

svn path=/trunk/; revision=28930
2007-09-07 18:22:43 +00:00
Johannes Anderwald
f7db2e960b - store setting BootCDRegtestActive
- only show dbgprint when required

svn path=/trunk/; revision=28929
2007-09-07 18:11:55 +00:00
Aleksey Bragin
93818e712d Dmitry Chapyshev <lentind@yandex.ru>:
- Fix small thing in russian translation of explorer-ru.rc
- Add russian translation of intl.cpl

svn path=/trunk/; revision=28928
2007-09-07 18:06:24 +00:00
Aleksey Bragin
0070af341c Dmitry Chapyshev <lentind@yandex.ru>:
- Fix icon to contain 24bpp and 16bpp images (as all other icons in this directory do)

svn path=/trunk/; revision=28927
2007-09-07 17:47:59 +00:00
Sylvain Petreolle
86c2f05611 fix LANGUAGE directive
svn path=/trunk/; revision=28926
2007-09-07 16:09:52 +00:00
Hervé Poussineau
c4be097a4e Fix bootcd / livecd
svn path=/trunk/; revision=28925
2007-09-07 15:44:44 +00:00
Hervé Poussineau
b1a07a3e6b Some rbuild cleanup:
- Move AutoRegister class to its own file
- Add an enum to replace strings "$(OUTPUT)", "$(INTERMEDIATE)"..., except when writing them to makefile.auto
- Add the FileLocation class to identify a file (root dir, relative path and name)
- Use it to simplify CDFile and InstallFile classes
- Use the FileLocation class when possible
This leads also to good things which were unexpected, like not creating unneeded directories in output directory, removal of some hardcoded strings and a few fixusp in the generated makefile.auto

svn path=/trunk/; revision=28924
2007-09-07 14:59:23 +00:00
Ged Murphy
51a42b98f3 - We shouldn't use the same text as Windows does for descriptions
- Add display names for each service

svn path=/trunk/; revision=28923
2007-09-07 14:05:55 +00:00
Ged Murphy
2e29b0060f fix 1 description and add a new one
See issue #2639 for more details.

svn path=/trunk/; revision=28922
2007-09-07 13:19:37 +00:00
Daniel Reimer
1f4f631661 Bug 2638: Ukrainian translation update (temarez@yandex.ru)
Bug 2640: MSCONFIG: fixes to italian translation by Carlo Bramix (carlo.bramix@libero.it)
This time with RECENT RC Files only. :-)

svn path=/trunk/; revision=28921
2007-09-07 13:16:24 +00:00
Colin Finck
3f97e49561 Also change the download URLs to the Mozilla apps in trunk (see r28919)
svn path=/trunk/; revision=28920
2007-09-07 12:26:46 +00:00
James Tabor
bd954074fa - Reordered IntGdiGet/SetDCState and separated the copy sections.
- When creating DCE for window handles, allocate a DC structure for the default window DC.
- Return Dhpdev if not zero for NtGdiOpenDCW.
- Reordered the DC object. 

svn path=/trunk/; revision=28918
2007-09-07 12:21:26 +00:00
Eric Kohl
5b0be27588 Add the serial keys settings dialog.
svn path=/trunk/; revision=28917
2007-09-07 11:17:09 +00:00
Johannes Anderwald
fec89333bd - use raw hdd image for linux and use vmdk for windows hosts
svn path=/trunk/; revision=28916
2007-09-07 11:16:05 +00:00
Eric Kohl
21850a3f75 Delete the bulgarian translation and revert the polish one because they are outdated. Dialogs and controls are missing or were removed by dreimers latest patch!
svn path=/trunk/; revision=28915
2007-09-07 11:14:51 +00:00
Ged Murphy
fd90cd9c8a adjust the pointers on the server side to match what the client is sending
svn path=/trunk/; revision=28914
2007-09-07 10:55:16 +00:00
Ged Murphy
dae207d99a Fix the client side of the ChangeServiceConfig2 RPC call to send the text in the lpDescription pointer of SERVICE_DESCRIPTION tagged onto the end of the struct.
This fixes setting service descriptions

svn path=/trunk/; revision=28913
2007-09-07 10:52:43 +00:00
Timo Kreuzer
2dbf3f528e - add NTMW_INTERNAL structure
- better structure implementation for ENUMFONTDATAW
- change NewEnumFontFamiliesEx to use the new structure
- some fixes and comments

svn path=/trunk/; revision=28911
2007-09-07 03:33:00 +00:00
Johannes Anderwald
19aed1070b - format hdd images with raw format
- improve error checking

svn path=/trunk/; revision=28910
2007-09-06 22:49:05 +00:00
Ged Murphy
4304ad2ff7 silence debug output
svn path=/trunk/; revision=28909
2007-09-06 21:37:58 +00:00
Johannes Anderwald
1c3f08d9ab - fix bug in GetCPFileNameFromRegistry spotted by Daniel Zimmermann ;)
svn path=/trunk/; revision=28908
2007-09-06 20:18:15 +00:00
Johannes Anderwald
80e9bef2b0 - terminate comment by Marc Puilachs
See issue #2611 for more details.

svn path=/trunk/; revision=28907
2007-09-06 20:00:19 +00:00
Johannes Anderwald
2af89e434c - fix memory leak in GetCPFileNameFromRegistry
- bug report + patch by Daniel Zimmermann / netzimme@aol.com
See issue #2637 for more details.

svn path=/trunk/; revision=28906
2007-09-06 19:57:19 +00:00
Johannes Anderwald
58f165a052 - there can be only one instance of the device manager
svn path=/trunk/; revision=28905
2007-09-06 19:45:26 +00:00
Aleksey Bragin
ac5a5581cd - Fix LoaderPagesSpanned calculation.
svn path=/trunk/; revision=28903
2007-09-06 17:18:42 +00:00
Ged Murphy
2784609696 - Shutdown services when the SCM is terminated
- Add basic code for shutting down of the SCM
- Fix the headers

svn path=/trunk/; revision=28902
2007-09-06 14:51:38 +00:00
Johannes Anderwald
7106e65cde - end the configuration commit war
svn path=/trunk/; revision=28901
2007-09-06 13:57:55 +00:00
Timo Kreuzer
b232c33052 - add the missing macro
What the last change does and I missed last commit:
- use individual pool tags for each gdi object type
- allow object allocation w/o lookaside list
- don't search for the lookaside list/cleanup proc, the index into the lists is now calculated from type

svn path=/trunk/; revision=28900
2007-09-06 13:14:21 +00:00
Andrew Munger
77a5b5a508 Gracefully handle the case where the BIOS insists there is a floppy drive, but there is no controller. Patch by Cameron Gutman (aicommander at gmail dot com) from Bug 1508.
svn path=/trunk/; revision=28899
2007-09-06 12:36:05 +00:00
Andrew Munger
f63bea010c Remove Byte-Order-Mark from rc file. Fixes my solitaire. ;0)
svn path=/trunk/; revision=28898
2007-09-06 12:14:43 +00:00
Ged Murphy
e995f11cfd Add a hack to fix the build.
Timo, can you revert this and add the missing macro when you can please.

svn path=/trunk/; revision=28897
2007-09-06 09:41:00 +00:00
Ged Murphy
fae293c143 add the account name to the QueryServiceConfig RPC call
svn path=/trunk/; revision=28896
2007-09-06 09:18:23 +00:00
Hervé Poussineau
6bd9e7bed6 Explain why some binutils are blacklisted
svn path=/trunk/; revision=28895
2007-09-06 08:25:57 +00:00
Hervé Poussineau
0eccb4aa9d Add method to get target arch in rbuild
svn path=/trunk/; revision=28894
2007-09-06 07:46:48 +00:00
Hervé Poussineau
7338e88f05 As described in documentation, default TEMPORARY variable to current directory (".") instead of nothing ("")
This permits TEMPORARY followed by the directory separator to be "./" instead of "/" (root dir)
Spotted by Andrew Munger on IRC

svn path=/trunk/; revision=28893
2007-09-06 07:17:33 +00:00
Timo Kreuzer
ad90579751 - use the new ObjectType list with fixed indices
svn path=/trunk/; revision=28892
2007-09-06 02:54:17 +00:00
Timo Kreuzer
2aaf1f0e51 - cleanup EXTPENS and PENS in BRUSH_Cleanup, remove EXTPEN_Cleanup
- add new new ObjectTypeInfo structure. It's unused atm, but it will be soon.


svn path=/trunk/; revision=28891
2007-09-06 01:04:18 +00:00
Timo Kreuzer
35bf0957bc - use NtDd api directly instead of using old syscall function.
- remove some old definitions
- fix build to make Wax happy

svn path=/trunk/; revision=28890
2007-09-06 00:42:51 +00:00
Timo Kreuzer
ccca2fc546 - move dx gdi object type definitions from intddraw.h to ntgdihdl.h, change 2 type values to make them match windows, comment out 2 unused types for now.
- add pool tags for gdi objects
- add a bitmask for basic type (0x01 - 0x1f)

svn path=/trunk/; revision=28889
2007-09-06 00:28:04 +00:00
Ged Murphy
2525c2ea6a don't try to free a NULL pointer
svn path=/trunk/; revision=28888
2007-09-05 22:44:46 +00:00
Ged Murphy
b1833d8186 - Implement the RPC server calls for QueryServiceConfig2 and ChangeServiceConfig2 (SmcrChangeServiceConfig2 is untested)
- This fixes the retrieval of the service description in servman

svn path=/trunk/; revision=28887
2007-09-05 22:35:51 +00:00
Aleksey Bragin
396346644c - Fix IntEaLength's type (ULONG -> LONG), so it could actually become negative, and corresponding check will be performed.
svn path=/trunk/; revision=28886
2007-09-05 21:35:09 +00:00
Aleksey Bragin
e598b5b7ae UINT -> ULONG
svn path=/trunk/; revision=28885
2007-09-05 21:32:04 +00:00
Johannes Anderwald
1c8e960090 - delete pidfile if it exists before launching emulator
- delete pidfile on exit
- close pidfile on failure

svn path=/trunk/; revision=28884
2007-09-05 21:00:32 +00:00
Timo Kreuzer
fe82da5539 New implementation of EnumFontFamiliesExW, based on NtGdiEnumFontXxx, does not work on ros, because those apis are not implemented yet, but it works on Windows XP.
svn path=/trunk/; revision=28883
2007-09-05 19:32:37 +00:00
Timo Kreuzer
b35b3e0ff7 different implementation of ENUMFONTDATA structure
svn path=/trunk/; revision=28882
2007-09-05 19:27:16 +00:00
Christoph von Wittich
7cc946b793 -allocate the buffer for the NamedPipeReader on Linux too
-use linux path as default in txtmode.cfg

svn path=/trunk/; revision=28881
2007-09-05 17:02:30 +00:00
Christoph von Wittich
7e1ef16736 fix some bugs in the linux version (not working yet)
svn path=/trunk/; revision=28880
2007-09-05 16:52:45 +00:00
Hervé Poussineau
e49226799b Fix ReactOS temporary directory name
svn path=/trunk/; revision=28879
2007-09-05 16:33:41 +00:00
Ged Murphy
5d16caaca6 fix description spelling
svn path=/trunk/; revision=28878
2007-09-05 14:47:15 +00:00
Eric Kohl
0addcc009e - Forgot to enable the GeoId code.
- Fixed another hardcoded Unicode string.
- More indentation fixes.
- No code changes.

svn path=/trunk/; revision=28877
2007-09-05 14:42:24 +00:00
Eric Kohl
63d106c29f - Replace the hardcoded calls to Unicode-Functions. Use the module configuration to build a Unicode version instead.
- Cleaned up a lot of coding-style and indentation issues.
- No code changes.

svn path=/trunk/; revision=28876
2007-09-05 14:24:45 +00:00
Hervé Poussineau
9674b37837 Synchronize with Wine WIDL 0.9.44 (and a few patches by Dan Hipschman found on wine-patches ML)
svn path=/trunk/; revision=28873
2007-09-05 11:15:09 +00:00
Hervé Poussineau
72e2ba5445 Duplicate widl tool to widl_new
svn path=/trunk/; revision=28872
2007-09-05 11:11:31 +00:00
Ged Murphy
05e11ee73f sync rpcrt4_new to Wine 0.9.44
svn path=/trunk/; revision=28871
2007-09-05 10:21:30 +00:00
Hervé Poussineau
0e970f97eb Finally let Wine package version depend of ReactOS version
svn path=/trunk/; revision=28870
2007-09-05 09:27:40 +00:00
Hervé Poussineau
256a24ca42 Let tools including the version number depend of buildno.h
Remove useless tool tools-check (replaced by a rbuild check)
Add .phony targets for gendib and nci

svn path=/trunk/; revision=28869
2007-09-05 09:22:14 +00:00
Aleksey Bragin
d2816c6491 - Fix a typo in the code (thanks to "zimme" for spotting).
svn path=/trunk/; revision=28868
2007-09-05 08:20:03 +00:00
Aleksey Bragin
4cb2b785c3 - Apply 28852 changes to setupldr.c (fixes bootcd).
svn path=/trunk/; revision=28867
2007-09-05 08:10:41 +00:00
Johannes Anderwald
14a7e07da8 - no comment
svn path=/trunk/; revision=28866
2007-09-04 23:47:16 +00:00
Christoph von Wittich
0412c4b0ae fix linux build
svn path=/trunk/; revision=28865
2007-09-04 22:51:21 +00:00
Johannes Anderwald
e46b50d110 - split boot cmd into tokens
svn path=/trunk/; revision=28864
2007-09-04 22:44:01 +00:00
Ged Murphy
d17bf3ab31 remove 4bpp bitmaps, add 24bpps and clean them all up.
svn path=/trunk/; revision=28863
2007-09-04 22:10:57 +00:00
Ged Murphy
e2db8738fe add 24 and 8 bit bitmaps
svn path=/trunk/; revision=28861
2007-09-04 21:32:35 +00:00
Ged Murphy
8976fa2e03 - fix SetupDiLoadClassIcon to load 32x22 for the large icon
- fix SetupDiGetClassImageList to load 16x16 icons for the device image list.
- devmgmt now loads up the correct sizes for both the treeview and the property page

svn path=/trunk/; revision=28860
2007-09-04 21:30:22 +00:00
Christoph von Wittich
4bfe0df0be fix linux build
svn path=/trunk/; revision=28859
2007-09-04 21:12:27 +00:00
Ged Murphy
cc461f5920 preset in case of failure
svn path=/trunk/; revision=28858
2007-09-04 20:28:44 +00:00
Johannes Anderwald
60cddd9562 - finish immediately on unattended second stage install
svn path=/trunk/; revision=28857
2007-09-04 20:26:02 +00:00
Christoph von Wittich
9487793fe7 fix some of the linux build issues
svn path=/trunk/; revision=28856
2007-09-04 20:19:57 +00:00
Ged Murphy
8f7e520058 - read ClassGUID from the registry instead of sending GUID_NULL
- fixes part of SetupDiOpenDeviceInfo which now allows loading of icons in the devmgr.dll property sheets

svn path=/trunk/; revision=28855
2007-09-04 20:18:39 +00:00
Johannes Anderwald
a1de0509ed - readd named pipe support for linux by Christoph_vW
- simplify named pipe code
- only allocate buffer for reading once 
- dont format default hdd if it exists
- delay read at right position
- fix ROS_DELAY_READ option in config file - value is expected to be in seconds not milliseconds

svn path=/trunk/; revision=28854
2007-09-04 19:53:49 +00:00
Johannes Anderwald
a04c49f61c - fix a bug
svn path=/trunk/; revision=28853
2007-09-04 19:41:58 +00:00
Aleksey Bragin
301681680f - Use real NT KPCR address (0xFFDFF000).
- Remove all hacked KPCR_BASE definitions.
- Make FreeLDR give address of PageDirectoryStart/End addresses. This was being ignored/incorrect until now and the page directory could've gotten overwritten.
- Properly setup the HAL PDE, instead of having different PDEs for KUSER_SHARED_DATA, KPCR and ACPI I/O.
- Do not over-write shared user data with ACPI I/O anymore. This was probably a bad idea.
- Do not mark almost a meg of space as KPCR_USERD_SHARED data anymore, and don't mess up the CPU TLB anymore.
- Give a dedicated page to KUSER_SHARED_DATA (Page 2, physical address 0x2000) right after the KPCR, isntead of a random address that probably ended up overwritten later during the OS's lifetime.
- Fix FS selector in the GDT.
- Remove hack in Trap Fault Handler.
- Add a little hack to allow mapping Page 2 into user-space even though it's marked as used, this is for the Shared User Data page.

svn path=/trunk/; revision=28852
2007-09-04 18:19:59 +00:00
Colin Finck
7a0b809846 Silence two warnings in cmlib.
This makes the livecd part compiling warning-free on 32-bit systems. On 64-bit hosts, we still need to squash out this __cdecl warning.

svn path=/trunk/; revision=28851
2007-09-04 16:05:44 +00:00
James Tabor
128482c59c Moved code. Finding out when changing ownership, it will require the deallocation and allocation of old and new dcattr.
svn path=/trunk/; revision=28850
2007-09-04 15:59:21 +00:00
Christoph von Wittich
a83bfb4c33 forgot to commit this file
svn path=/trunk/; revision=28849
2007-09-04 14:50:11 +00:00
Christoph von Wittich
8ce3ea704d changed path to dbgprint.exe
svn path=/trunk/; revision=28848
2007-09-04 14:47:47 +00:00
Daniel Reimer
45cef14031 Bug 2528: Few updates to Italian rc files (devotip@tiscali.it) except access.cpl, which was not diffed to HEAD.
svn path=/trunk/; revision=28847
2007-09-04 14:41:22 +00:00
Christoph von Wittich
6bead1805a add dbgprint to bootcd until a better solution is found
svn path=/trunk/; revision=28846
2007-09-04 14:39:53 +00:00
Christoph von Wittich
a920a77e55 re-add dbgprint - now as win32 module
svn path=/trunk/; revision=28845
2007-09-04 14:28:29 +00:00
Colin Finck
a1493f0b00 Correctly define LONG_PTR, ULONG_PTR and SIZE_T in "typedefs_host.h".
This should silence many warnings and might fix the Live-CD build problems of our 64-bit Buildslave.

svn path=/trunk/; revision=28844
2007-09-04 14:12:27 +00:00
Johannes Anderwald
53fd100f02 - remove dbgprint from tools
- dbgprint needs to be win32 application and must be moved

svn path=/trunk/; revision=28843
2007-09-04 14:05:35 +00:00
Johannes Anderwald
79f383df0b - fix target
svn path=/trunk/; revision=28842
2007-09-04 13:56:21 +00:00
Johannes Anderwald
a6b6e781a2 - add disk param when booting from cdrom
- hardcode vnc 0 option to linux build
- make -no-reboot option available for windows hosts only

svn path=/trunk/; revision=28841
2007-09-04 13:47:08 +00:00
Christoph von Wittich
7700f97898 -fix build
svn path=/trunk/; revision=28840
2007-09-04 13:37:09 +00:00
Johannes Anderwald
88ced411c7 - fix serious bug in createHDDImage
- delay reading if requested

svn path=/trunk/; revision=28839
2007-09-04 13:31:03 +00:00
James Tabor
59a03d6577 Fix processid mask, update gdi handle entry, shift mask and VM memory alloc.
svn path=/trunk/; revision=28838
2007-09-04 11:30:49 +00:00
Christoph von Wittich
e7b744d5c5 fix compilation on linux
svn path=/trunk/; revision=28837
2007-09-04 11:10:17 +00:00
Johannes Anderwald
9187115f22 - silence debug message
- dont hardcode paths in regression testing code

svn path=/trunk/; revision=28836
2007-09-04 11:03:16 +00:00
Johannes Anderwald
c99304bb69 - include unattend.inf per default in the bootcd
- unattend setup is disabled by the key UnattendSetupEnabled
- to enable set key to "yes" without quotes

svn path=/trunk/; revision=28835
2007-09-04 10:36:22 +00:00
Johannes Anderwald
711785c421 Copied remotely
svn path=/trunk/; revision=28834
2007-09-04 10:33:32 +00:00
Daniel Reimer
888aba31bc Luckily I forgot these files. So I can add a missing line in the commit message :-P
Bug 2534: Few translations (temarez@yandex.ru)

svn path=/trunk/; revision=28833
2007-09-04 10:24:41 +00:00
Daniel Reimer
2d0b61b212 Massive Translations commit:
Bug 2628: New intl.cpl italian translation by Gabirel Ilardi (gabrielilardi@hotmail.it)
Bug 2626: Modifications for solitaire catalan translation by Marc Tormo i Bochaca (mtbochaca@ya.com)
Bug 2625: Catalan translation for msconfig by Marc Tormo i Bochaca (mtbochaca@ya.com)
Bug 2612: Spanish translation for explorer_new and updated translation for explorer by Marc Piulachs (marc.piulachs@codexchange.net)
Bug 2606: Bulgarian translation of ReactOS. (sstpr@narod.ru)
Bug 2603: userenv es-ES localization by Marc Piulachs (marc.piulachs@codexchange.net)
Bug 2534: Few translations (temarez@yandex.ru)

svn path=/trunk/; revision=28832
2007-09-04 09:59:46 +00:00
Johannes Anderwald
9b5863ddfb - rename sleep to delayExecution
- delayExecution accepts the value now in seconds
- should fix the linux crash

svn path=/trunk/; revision=28831
2007-09-04 09:36:00 +00:00
Christoph von Wittich
0c92f06002 fix some issues found by prefast
svn path=/trunk/; revision=28830
2007-09-03 23:56:04 +00:00
Art Yerkes
9786ea3b93 My hack isn't needed anymore.
svn path=/trunk/; revision=28829
2007-09-03 23:03:33 +00:00
Ged Murphy
ccf991c1b7 add an IDE disk controller icon. All basic device manager items should now have an icon. If anyone comes across anything that doesn't, let me know as we still have a few more icons to add yet.
svn path=/trunk/; revision=28828
2007-09-03 22:23:50 +00:00
Ged Murphy
196cfe951b fix the icon licence notes
svn path=/trunk/; revision=28827
2007-09-03 21:53:15 +00:00
Colin Finck
091a80b5ff Make these two "registry_callback() failed" messages different, so it is easier to see where our 64-Bit Buildslave fails
svn path=/trunk/; revision=28826
2007-09-03 20:54:54 +00:00
Ged Murphy
8f37a9e42e add a new tango style usb icon which better matches the reactos icon theme
svn path=/trunk/; revision=28825
2007-09-03 20:50:02 +00:00
Colin Finck
095a2016c5 Lithuanian translations for several base applications by Vytis Girdzijauskas (cman AT cman DOT us)
See issue #2532 for more details.

svn path=/trunk/; revision=28824
2007-09-03 20:45:58 +00:00
Ged Murphy
7470d72c18 fix serial icon
svn path=/trunk/; revision=28823
2007-09-03 19:39:52 +00:00
Colin Finck
bd36046a96 Build fixes for MSVC, now mkhive can be built with MSVC again
svn path=/trunk/; revision=28822
2007-09-03 19:33:03 +00:00
Christoph von Wittich
a478151d4c fix a small bug in set and added missing german translations
svn path=/trunk/; revision=28821
2007-09-03 17:40:30 +00:00
Ged Murphy
3b51bcc560 add a new serial port icon. I'll do the hard disk controller one later
svn path=/trunk/; revision=28820
2007-09-03 16:03:31 +00:00
Johannes Anderwald
2f0ada9276 - improve error checking
svn path=/trunk/; revision=28819
2007-09-03 16:02:26 +00:00
Ged Murphy
e35de311ed Add the icon mask to the imagelist. The device manager icons now look correct
svn path=/trunk/; revision=28818
2007-09-03 15:40:24 +00:00
Ged Murphy
55fd514cf3 set the correct icon image for the Keyboard class
svn path=/trunk/; revision=28817
2007-09-03 14:53:46 +00:00
Ged Murphy
ce162db686 - load icon resources using LoadImage. ExtractIcon loads sequential numbers, not resource numbers.
- fixes the device image list

svn path=/trunk/; revision=28816
2007-09-03 14:51:06 +00:00
Eric Kohl
21c0efe8cd - Convert RADIOBUTTONs to AUTORADIOBUTTONs.
- Replace Trackbars by Comboboxes in the filter keys dialogs.
- Fix some typos and minor translation issues in the german dialogs.
- Add missing functionality for the repeat key dialog.

@dreimer: Did I fix all bugs?


svn path=/trunk/; revision=28815
2007-09-03 14:44:08 +00:00
Hervé Poussineau
825a2f98fa Build openfirmware interface tool only if target is powerpc
svn path=/trunk/; revision=28814
2007-09-03 13:50:31 +00:00
Hervé Poussineau
a864054304 Check a Windows host by _WIN32 define, not WINDOWS_HOST
svn path=/trunk/; revision=28813
2007-09-03 13:43:39 +00:00
Daniel Reimer
2260a4339e Updated access.cpl German Translation. Some texts don't fit, but I have absolutely NO Idea how this RC File works. Eric, explain me. :-P
svn path=/trunk/; revision=28812
2007-09-03 10:57:06 +00:00
Art Yerkes
8d262dd954 Add 16-byte alignment for ppc (required by eabi too)
svn path=/trunk/; revision=28811
2007-09-03 10:29:14 +00:00
Hervé Poussineau
b3ab8c804e Align stack to 16 bytes on mips
svn path=/trunk/; revision=28810
2007-09-03 10:22:13 +00:00
Hervé Poussineau
b60824e779 Fix build #2
svn path=/trunk/; revision=28809
2007-09-03 09:31:48 +00:00
Hervé Poussineau
fbde3e7d44 Fix build
svn path=/trunk/; revision=28808
2007-09-03 08:57:19 +00:00
Hervé Poussineau
5b3a9d3b2d Add a generic implementation of InterlockedBitTestAndSet/InterlockedBitTestAndReset/BitScanReverse
svn path=/trunk/; revision=28807
2007-09-03 08:50:06 +00:00
Hervé Poussineau
af1226ddc6 Swap boot sector on big endian systems, even if DEBUG is not defined. Debug and release builds should behave the same
svn path=/trunk/; revision=28806
2007-09-03 08:17:55 +00:00
Hervé Poussineau
c0614ecb59 Add missing svn:eol-style=native properties
svn path=/trunk/; revision=28805
2007-09-03 07:39:30 +00:00
Art Yerkes
39ed067ac8 Fix swapping for fat recognition.
svn path=/trunk/; revision=28804
2007-09-03 06:58:25 +00:00
Art Yerkes
2123b0666e Fix building of libcntpr on ppc.
We now get a proper bootcd image.

svn path=/trunk/; revision=28803
2007-09-03 06:29:13 +00:00
James Tabor
4149385d00 Turn off support for now due to user land exception.
svn path=/trunk/; revision=28802
2007-09-03 05:30:45 +00:00
Art Yerkes
930b718aa7 Move mismerged segment to the right place; claim from openfirmware if we
don't have enough reserve.

svn path=/trunk/; revision=28801
2007-09-03 05:29:03 +00:00
Hervé Poussineau
12b88bedcb Few indentation fixes
Generate again boot programs in output directory

svn path=/trunk/; revision=28800
2007-09-03 04:12:48 +00:00
Hervé Poussineau
4cb8151f10 Supports a few more ACPI devices
Patch by Cameron Gutman (aicommander at gmail dot com)

svn path=/trunk/; revision=28799
2007-09-03 04:01:28 +00:00
Johannes Anderwald
fe58401893 - scroll window with ScrollWindowEx
- fix a bug in GuiConsoleWndProc
- scrolling does not work yet

svn path=/trunk/; revision=28798
2007-09-03 03:49:23 +00:00
James Tabor
bb300c0259 - Win32k: DC_ATTR: Moved to it.
- We need to decide how to optimize the syncing. CreateD/IC/CompatibleDC, GetDCState and SelectObject use the sync in one form. This can become ugly. Some DC handles do not belong to the current process. We need to reorder the mess in dc.c and clean it up.
- Gdi32: The only ones using it are GetCurrentObject and with out updates Get/SetDCBrush/PenColor.
- Implemented an example of RealizePalette. Moved SetBk/TextColor into dc.c, don't use them.
- Update gdi32.def.

svn path=/trunk/; revision=28797
2007-09-03 03:43:21 +00:00
Johannes Anderwald
89628d18b4 - halfplement console scrolling support
svn path=/trunk/; revision=28796
2007-09-03 03:29:18 +00:00
Art Yerkes
574eb2daac Straggler edits.
svn path=/trunk/; revision=28795
2007-09-03 01:59:48 +00:00
Johannes Anderwald
9b81b3ab92 - add hActiveBuffer member to struct to ensure that modifying the screenbuffer is secured
- fix a bugs in the screen buffer resize code
- resizing now "works" (unfortunately a few drawing bugs show up)

svn path=/trunk/; revision=28794
2007-09-03 01:58:43 +00:00
Art Yerkes
81f092736f Added freeldr and hal from PPC branch, along with needed headers and
build changes.

Next ntoskrnl and add ppc dir under libcntptr, which didn't exist when I 
forked.

svn path=/trunk/; revision=28793
2007-09-03 01:57:36 +00:00
Daniel Reimer
533b371674 Activated German RC File.
Add BS_MULTILINE to one Checkbox.
Fixed some Text Lengths to fit.

svn path=/trunk/; revision=28792
2007-09-02 23:34:31 +00:00
Daniel Reimer
cf4a1dfd42 I missed a Dialog in my Translation :-P
svn path=/trunk/; revision=28791
2007-09-02 23:04:40 +00:00
Daniel Reimer
574d5f0dd0 Updated German Resource File. I was NOT able to test it, because intl seems to be broken, but before anybody else commits a translation...
svn path=/trunk/; revision=28790
2007-09-02 22:39:17 +00:00
Johannes Anderwald
9392cd7ab8 - improve error checking
- add hasQemuNoRebootOption stub

svn path=/trunk/; revision=28789
2007-09-02 22:27:03 +00:00
Johannes Anderwald
ef3fd8d176 - verify provided boot_cmd
- create also hdd images for manual boot cmds
 

svn path=/trunk/; revision=28788
2007-09-02 21:47:07 +00:00
Johannes Anderwald
b57a996929 - hardcode the bios directory on linux system to /usr/share/qemu
- store the pid.txt in ROS_OUTPUT
- check on linux system if the emulator was successfully launched

svn path=/trunk/; revision=28787
2007-09-02 21:11:12 +00:00
Aleksey Bragin
3a3645aa1e Dmitry Chapyshev <lentind@yandex.ru>:
- Improve intl.cpl, include almost all code from intl_new branch (it's pending for deletion now)
 - ReactOS's intl.cpl now works and behaves similar to Windows XP's intl.cpl, only the last tab is unfinished
 - Tested in Windows and ReactOS (in ROS it obviously has reduced functionality, since some of needed registry entries are absent)
 - As a result, all other languages (other than en-us) need to be re-translated.

svn path=/trunk/; revision=28786
2007-09-02 20:42:08 +00:00
Hervé Poussineau
0eb52138ba Fix Linux build
svn path=/trunk/; revision=28785
2007-09-02 19:46:23 +00:00
Hervé Poussineau
6982b02da4 Remove local header debug.h, and use the global one
svn path=/trunk/; revision=28784
2007-09-02 19:42:22 +00:00
Hervé Poussineau
056f1f734f Use typedefs_host.h header when building inflib for host
svn path=/trunk/; revision=28783
2007-09-02 19:23:43 +00:00
Hervé Poussineau
93b424d064 Do not disable asserts
svn path=/trunk/; revision=28782
2007-09-02 19:22:26 +00:00
Eric Kohl
d04f683b06 - Add the repeat key settings dialog. It does not work yet.
- Update the bounce key settings dialog.
- Update the general page.

svn path=/trunk/; revision=28781
2007-09-02 19:12:41 +00:00
Magnus Olsen
6f69483d34 update ntgdibad.h before I forget thuse details that are need be done.
svn path=/trunk/; revision=28780
2007-09-02 19:03:50 +00:00
Johannes Anderwald
1f4fc15d27 - implement screenbuffer resizing(required for console scrolling support)
- still quite buggy :)

svn path=/trunk/; revision=28779
2007-09-02 18:21:36 +00:00
Hervé Poussineau
b2454a486f Make some i386 code conditional
Add missing svn:eol-style=native property

svn path=/trunk/; revision=28778
2007-09-02 18:05:16 +00:00
Hervé Poussineau
2d5d8783a9 Fix warnings, and compilation of dib24bppc.c/dib32bppc.c
svn path=/trunk/; revision=28777
2007-09-02 16:33:00 +00:00
Magnus Olsen
f503e01b03 implement SetDeviceGammaRamp in gdi32 (leftdo check win32k if it implement or not)
svn path=/trunk/; revision=28776
2007-09-02 14:36:48 +00:00
Magnus Olsen
0d6c6a0913 add smaller check to SetDIBColorTable
svn path=/trunk/; revision=28775
2007-09-02 14:11:28 +00:00
Magnus Olsen
8e85947cea sorry fix the the build
svn path=/trunk/; revision=28774
2007-09-02 13:54:26 +00:00
Magnus Olsen
8dd3f58473 partly implement SetBoundsRect
svn path=/trunk/; revision=28773
2007-09-02 13:31:41 +00:00
Magnus Olsen
3ec9aeaa02 implement SelectFontLocal
svn path=/trunk/; revision=28772
2007-09-02 13:19:07 +00:00
Magnus Olsen
d9d416611c implement SelectBrushLocal
svn path=/trunk/; revision=28771
2007-09-02 13:09:50 +00:00
Hervé Poussineau
8f965b75c6 Search a property by its name
svn path=/trunk/; revision=28770
2007-09-02 13:08:00 +00:00
Magnus Olsen
7faf7e1de8 fix smaller bug in SelectClipRgn
svn path=/trunk/; revision=28769
2007-09-02 12:58:35 +00:00
Magnus Olsen
9c2159e7f6 implement RemoveFontMemResourceEx (left todo fix it in win32k)
svn path=/trunk/; revision=28768
2007-09-02 12:18:34 +00:00
Magnus Olsen
ef2cee7158 implement stub for NtGdiSelectBitmap, NtGdiSelectBrush, NtGdiSelectFont, NtGdiSelectPen, NtGdiSetBitmapAttributes, NtGdiSetFontEnumeration, NtGdiSetFontXform, NtGdiSetLinkedUFIs, NtGdiSetMagicColors, NtGdiGetDeviceWidth, NtGdiMirrorWindowOrg, NtGdiSetLayout, NtGdiStretchDIBitsInternal, NtGdiUnloadPrinterDriver, NtGdiUnmapMemFont
svn path=/trunk/; revision=28767
2007-09-02 11:28:34 +00:00
Art Yerkes
3833d9dc03 Ignore elf.
svn path=/trunk/; revision=28766
2007-09-02 11:14:58 +00:00
Art Yerkes
fa7d1ae29f Ignore elf executables.
svn path=/trunk/; revision=28765
2007-09-02 11:10:27 +00:00
Magnus Olsen
245a9fc0b7 implement stub for NtGdiIcmBrushInfo, NtGdiInit, NtGdiMakeFontDir, NtGdiMakeInfoDC, NtGdiMonoBitmap, NtGdiMoveTo
svn path=/trunk/; revision=28764
2007-09-02 10:50:25 +00:00
Magnus Olsen
d0fb82d2cf implement stub for NtGdiGetEmbUFI, NtGdiGetUFIPathname, NtGdiGetEmbedFonts, NtGdiChangeGhostFont, NtGdiAddEmbFontToDC, NtGdiGetWidthTable, NtGdiSTROBJ_bEnum, NtGdiSTROBJ_bEnumPositionsOnly, NtGdiSTROBJ_bGetAdvanceWidths, NtGdiSTROBJ_vEnumStart, NtGdiSTROBJ_dwGetCodePage, NtGdiGetDhpdev
svn path=/trunk/; revision=28763
2007-09-02 10:33:02 +00:00
Magnus Olsen
5cb3200f34 Implement stub for NtGdiGetServerMetaFileBits, NtGdiGetStats, NtGdiPolyTextOutW, NtGdiRemoveFontResourceW, NtGdiRemoveFontMemResourceEx, NtGdiSetBrushAttributes, NtGdiSetupPublicCFONT,
NtGdiSetVirtualResolution, NtGdiSetSizeDevice, NtGdiXLATEOBJ_cGetPalette, NtGdiXLATEOBJ_iXlate, NtGdiXLATEOBJ_hGetColorTransform, NtGdiXFORMOBJ_bApplyXform, NtGdiXFORMOBJ_iGetXform

svn path=/trunk/; revision=28762
2007-09-02 10:14:28 +00:00
Art Yerkes
da634e3215 Empty OARCH.
svn path=/trunk/; revision=28761
2007-09-02 09:59:45 +00:00
Art Yerkes
4f9da98a43 Small change to make OARCH optional.
svn path=/trunk/; revision=28760
2007-09-02 09:59:11 +00:00
Art Yerkes
bc79808b38 Remove hack-coff and le2be. We make an elf booter now.
svn path=/trunk/; revision=28759
2007-09-02 09:17:46 +00:00
Art Yerkes
1b0de699dd Adding misc ppc tools.
svn path=/trunk/; revision=28758
2007-09-02 09:11:10 +00:00
Art Yerkes
debfd91189 Add interface generator for open firmware calls.
svn path=/trunk/; revision=28757
2007-09-02 09:02:12 +00:00
James Tabor
4a7979cd3e Working Dc_Attr support, tested and it worked. Will plugin the rest later.
svn path=/trunk/; revision=28756
2007-09-02 07:59:12 +00:00
James Tabor
108ae6fb76 Fix BootCD!!!!! Watch your commit GL! LOL!
svn path=/trunk/; revision=28755
2007-09-02 05:31:00 +00:00
Timo Kreuzer
c82d56cc94 Revert wars! ;-)
I talked with GL, he agrees, it is correct.

svn path=/trunk/; revision=28754
2007-09-01 23:11:16 +00:00
Timo Kreuzer
2b31cf640d - Add test for AddFontResourceEx showing that the function accepts 0 as flags.
- remove header inclusion in test files

svn path=/trunk/; revision=28753
2007-09-01 22:06:05 +00:00
Magnus Olsen
34647baaf1 add PatBlt, PolyPatBlt to user mode
redirect PATHOBJ_bEnum@8 to NtGdiPATHOBJ_bEnum@8, PATHOBJ_bEnumClipLines@12 to NtGdiPATHOBJ_bEnumClipLines@12, PATHOBJ_vEnumStart@4 to NtGdiPATHOBJ_vEnumStart@4, PATHOBJ_vEnumStartClipLines@16 to NtGdiPATHOBJ_vEnumStartClipLines@16, PATHOBJ_vGetBounds@8 to NtGdiPATHOBJ_vGetBounds@8
update the good api list

svn path=/trunk/; revision=28752
2007-09-01 21:36:44 +00:00
Aleksey Bragin
9bb3aa1130 - Finish the memory map code, so it now actually creates a real memory map, with all reserved, unusable pages marked
- Add a memory type enum and use it in memory descriptors
- Improvements in KiRosFrldrLpbToNtLpb() (separate the code into different functions, bugfixes)

svn path=/trunk/; revision=28751
2007-09-01 20:54:02 +00:00
Magnus Olsen
290cc1ffd4 revert 28748 that change are incorrect,
it shall only check if the bits are set or not, 
if no flag are set we shall fail, if one flag are set we shall doing the call. 

svn path=/trunk/; revision=28750
2007-09-01 20:25:50 +00:00
Christoph von Wittich
94d3aeebb3 set eol-style:native
svn path=/trunk/; revision=28749
2007-09-01 19:53:06 +00:00
Timo Kreuzer
8afb55f5f5 fix AddFontResourceExAW parameter check
svn path=/trunk/; revision=28748
2007-09-01 19:32:20 +00:00
Johannes Anderwald
d0bc8873a1 - dont show same wallpaper twice
- bug report + patch by Vytis Girdzijauskas, "CMan", cman[at]cman[dot]us
See issue #2601 for more details.

svn path=/trunk/; revision=28747
2007-09-01 17:18:00 +00:00
Johannes Anderwald
ab1415d99c - fix loading of resources
svn path=/trunk/; revision=28746
2007-09-01 16:34:22 +00:00
Johannes Anderwald
67f1c2a0e9 - load icon from the right HINSTANCE handle
svn path=/trunk/; revision=28745
2007-09-01 16:03:12 +00:00
Johannes Anderwald
2733ed92aa - load resources from the dll handle
- loop untill the real stop condition is found
- this makes the console properties menu working again 
See issue #1827 for more details.

svn path=/trunk/; revision=28744
2007-09-01 15:54:16 +00:00
Magnus Olsen
f3d89dd0ed implement stub for NtGdiPATHOBJ_vGetBounds, NtGdiPATHOBJ_vEnumStart, NtGdiPATHOBJ_vEnumStartClipLines
svn path=/trunk/; revision=28743
2007-09-01 15:10:17 +00:00
Magnus Olsen
8454705d07 implement stub for NtGdiPATHOBJ_bEnum, NtGdiPATHOBJ_bEnumClipLines
svn path=/trunk/; revision=28742
2007-09-01 14:13:53 +00:00
Magnus Olsen
ae949a4864 update the good api list
svn path=/trunk/; revision=28741
2007-09-01 13:22:40 +00:00
Magnus Olsen
c3e3a01734 fix two typo thx ged
svn path=/trunk/; revision=28740
2007-09-01 13:10:36 +00:00
Magnus Olsen
14d7a9c6ea fast bugfix, NtGdiExtEscape should accpect a NULL hdc.
svn path=/trunk/; revision=28739
2007-09-01 13:05:33 +00:00
Magnus Olsen
01758ff86f add stub for : IsValidEnhMetaRecord and IsValidEnhMetaRecordOffExt, I have not search after any info about thuse api
follow api need have some part done in user mode : OffsetRgn, GetTextCharsetInfo, IntersectClipRect, OffsetClipRgn.
Implement partly NamedEscape we need metadc support to finish full implement 
follow api have been move from redirect to smaller code into hacks.c for they are ros own syscall and 
does not exists in windows, GetStretchBltMode, GetTextAlign, GetTextColor, MoveToEx, OffsetViewportOrgEx, OffsetWindowOrgEx.
redirect HT_Get8BPPMaskPalette, HT_Get8BPPFormatPalette, GetSystemPaletteUse to win32k

svn path=/trunk/; revision=28738
2007-09-01 12:52:23 +00:00
Art Yerkes
26eaf001f3 Set needed sizes for return buffers when we return an insufficient buffer
error.

svn path=/trunk/; revision=28737
2007-09-01 11:14:25 +00:00
Eric Kohl
bef3f9c7db Make all "OK" buttons default push buttons.
svn path=/trunk/; revision=28736
2007-09-01 10:37:01 +00:00
Art Yerkes
6b8a1ee32c Don't check inherit flags when checking access.
svn path=/trunk/; revision=28735
2007-09-01 10:04:15 +00:00
Magnus Olsen
5498466cc2 implement GetTextFaceAliasW <- the win32k part was already implement :)
svn path=/trunk/; revision=28734
2007-09-01 09:21:11 +00:00
James Tabor
1e038f4524 - Removed NtGdiPoly/Bezier/To and lineTo/Polyline/line. Updated w32ksvc.db and ntgdibad.h.
- Update gdi32.def.

svn path=/trunk/; revision=28733
2007-09-01 04:23:08 +00:00
James Tabor
e52ae16a81 Remove fixme in GetCurrentObject.
svn path=/trunk/; revision=28732
2007-09-01 02:54:36 +00:00
James Tabor
c8892c844b - Removed NtGdiPaintRgn and renamed NtGdiGetCurrentObject to NtGdiGetDCObject and NtGdiSetPixelV to GdiSetPixelV, w32ksvc.db and updated ntgdibad.h.
- Full use of painting.c, imp GetCurrentObject and update gdi32.def.

svn path=/trunk/; revision=28731
2007-09-01 02:51:48 +00:00
Magnus Olsen
b7c7180b3a fix implement of GetTextFaceW checking if the param is vaild or not
svn path=/trunk/; revision=28730
2007-09-01 00:23:48 +00:00
Magnus Olsen
112625358d implement GetTextExtentExPointI
svn path=/trunk/; revision=28729
2007-08-31 23:56:11 +00:00
Magnus Olsen
25340773cc implement GetTextExtentExPointWPri
svn path=/trunk/; revision=28728
2007-08-31 23:41:07 +00:00
Magnus Olsen
cb8070f587 redirect GetTextCharsetInfo to win32k
implement GetTextExtentPointI

svn path=/trunk/; revision=28727
2007-08-31 23:32:54 +00:00
Magnus Olsen
d9ec9c0779 implement GetStringBitmapA (left todo implement it in win32k.sys)
svn path=/trunk/; revision=28726
2007-08-31 22:33:53 +00:00
Magnus Olsen
abe208bcc5 implement GetStringBitmapW (left todo, implement it in win32k)
svn path=/trunk/; revision=28725
2007-08-31 22:21:35 +00:00
Magnus Olsen
f7d3b17972 implement stub for NtGdiGetStringBitmapW
svn path=/trunk/; revision=28724
2007-08-31 22:15:37 +00:00
Johannes Anderwald
d398f1b8d1 - fix typo
svn path=/trunk/; revision=28723
2007-08-31 21:22:19 +00:00
Magnus Olsen
77aba72c44 update the good api list
svn path=/trunk/; revision=28722
2007-08-31 20:55:10 +00:00
Magnus Olsen
196d2756e2 Add hacks.c contain api using only ros home made syscall
follow api have been move in there so far : GetPolyFillMode, GetGraphicsMode, GetROP2, SetDIBitsToDevice, SetBkMode, SetBkColor, SelectObject, GetMapMode
make follow in user mode : GetRgnBox, GetPixel
redirect GetMiterLimit to win32k.sys

svn path=/trunk/; revision=28721
2007-08-31 20:26:02 +00:00
Ged Murphy
282872d201 fix building of the new explorer
svn path=/trunk/; revision=28720
2007-08-31 19:26:11 +00:00
Magnus Olsen
bfee8ab1fd fix correct implemtions of GetRegionData in gdi32.dll
svn path=/trunk/; revision=28719
2007-08-31 18:48:30 +00:00
Magnus Olsen
87dc60c75b fix correct implement of GetPath
svn path=/trunk/; revision=28718
2007-08-31 18:19:09 +00:00
Magnus Olsen
dfa9b6f56f implement GetMetaRgn left todo fix it in win32k.sys
svn path=/trunk/; revision=28717
2007-08-31 17:46:06 +00:00
Hervé Poussineau
a86b4289ac Better assert + add LPDWORD type
Fix typo preventing livecd to be built

svn path=/trunk/; revision=28716
2007-08-31 17:21:41 +00:00
Magnus Olsen
7d2d0b3329 implement GetKerningPairsW (left todo implement it to win32k.sys)
svn path=/trunk/; revision=28715
2007-08-31 16:59:12 +00:00
Magnus Olsen
02c180f13c update the good api list
svn path=/trunk/; revision=28714
2007-08-31 16:23:33 +00:00
Magnus Olsen
10bd1e1854 Move more history api to the history file.
follow api have been move 
DdSwapTextureHandles aka gdientry16, GdiReleaseLocalDC, GdiDeleteLocalDC, DeviceCapabilitiesExA, DeviceCapabilitiesExW, FixBrushOrgEx to historic.c 
 

svn path=/trunk/; revision=28713
2007-08-31 16:17:28 +00:00
Ged Murphy
c1ef245d9e disable the dependancies dialog for now, there's no reason to show it until it's working
svn path=/trunk/; revision=28712
2007-08-31 15:57:48 +00:00
Magnus Olsen
36a71365d2 move dummy api / old api, that does not do anything to historic.c, they are left in gdi32.dll for make it backwords compatble with older program
follow api moves from stubs.c to historic.c 
GdiPlayDCScript, GdiPlayJournal, GdiPlayScript, GdiConvertBitmap, GdiConvertBrush, GdiConvertDC, GdiConvertFont, GdiConvertPalette, GdiConvertRegion, GdiSetAttrs, GdiSetServerAttr.

svn path=/trunk/; revision=28711
2007-08-31 15:49:19 +00:00
Eric Kohl
f81d4e1677 Implement key bounce options dialog. The test area does not work yet!
svn path=/trunk/; revision=28710
2007-08-31 15:43:51 +00:00
Magnus Olsen
ec96e8225c redirect GetFontUnicodeRanges to win32k.sys
svn path=/trunk/; revision=28709
2007-08-31 15:09:51 +00:00
Magnus Olsen
d365bf2125 implement stub for NtGdiGetFontUnicodeRanges
svn path=/trunk/; revision=28708
2007-08-31 15:08:37 +00:00
James Tabor
5ea25d9303 Move GetDCObject to dc.c.
svn path=/trunk/; revision=28707
2007-08-31 14:41:01 +00:00
Magnus Olsen
4d772974cc implement GetFontAssocStatus.
do correct implement of GetFontData, if the lpvBuffer are NULL in user mode, gdi32.dll always send in cbData as 0 to win32k.sys

svn path=/trunk/; revision=28706
2007-08-31 14:38:48 +00:00
Magnus Olsen
58b517d1c1 implement stub for NtGdiQueryFontAssocInfo
svn path=/trunk/; revision=28704
2007-08-31 14:35:07 +00:00
Hervé Poussineau
9dff58ee42 Fix boot
svn path=/trunk/; revision=28703
2007-08-31 14:10:49 +00:00
Magnus Olsen
488437098d Update the good api list
svn path=/trunk/; revision=28701
2007-08-31 12:32:40 +00:00
Magnus Olsen
e57e366637 implement GetEUDCTimeStampExW but still unimplement in win32k
svn path=/trunk/; revision=28700
2007-08-31 12:16:45 +00:00
Hervé Poussineau
69bf414aee Fix build
svn path=/trunk/; revision=28699
2007-08-31 11:38:51 +00:00
Magnus Olsen
3af7c913e6 revert back the typo change I did in AddFontResourceExW
svn path=/trunk/; revision=28698
2007-08-31 11:36:44 +00:00
Magnus Olsen
0904489152 Fix typo in : AddFontResourceExW
Redirect    : GetColorAdjustment, GetCharWidthInfo to win32k.sys
implement   : GetEUDCTimeStamp
add smaller code in user mode : GetDeviceCaps, GetCurrentPositionEx, GetCurrentObject, GetClipBox, GetCharWidthFloatW, GetCharWidth32W, GetCharABCWidths

svn path=/trunk/; revision=28697
2007-08-31 11:28:45 +00:00
Ged Murphy
4e695a6ed0 not sure how/why I copied the number instead of the id
svn path=/trunk/; revision=28696
2007-08-31 11:08:26 +00:00
Ged Murphy
2738379118 fix controlling a service from the properties dialog and update the listview accordingly
svn path=/trunk/; revision=28695
2007-08-31 11:03:29 +00:00
Daniel Reimer
76504577f3 Update the German Translation of Ged's Service Manager.
svn path=/trunk/; revision=28694
2007-08-31 09:54:27 +00:00
Hervé Poussineau
03980448f8 Implement IsUserAnAdmin(), by copying implementation of IsUserAdmin() in setupapi (was implemented by Eric Kohl)
Redirect setupapi.IsUserAdmin to shell32.IsUserAnAdmin

svn path=/trunk/; revision=28693
2007-08-31 09:49:48 +00:00
Ged Murphy
3095e9d9e8 only enable the delete and create service buttons for administrators
svn path=/trunk/; revision=28692
2007-08-31 09:27:11 +00:00
Ged Murphy
32841791ae - report successful deletion
- refresh service list upon creation

svn path=/trunk/; revision=28691
2007-08-31 08:21:47 +00:00
Ged Murphy
144f0b2c27 make the create service code a little more readable and reliable.
svn path=/trunk/; revision=28690
2007-08-30 23:06:12 +00:00
Magnus Olsen
2c1780806e implement GetDeviceGammaRamp
svn path=/trunk/; revision=28689
2007-08-30 22:20:16 +00:00
Magnus Olsen
4fd8100175 update the good api list
svn path=/trunk/; revision=28688
2007-08-30 21:02:45 +00:00
Magnus Olsen
439c9ab215 implement : GetBoundsRect
remove redirect for follow api for they are need more stuff in user mode
GetBkColor, GetBkMode, GetBrushOrgEx, GetCharABCWidthsFloatW

svn path=/trunk/; revision=28687
2007-08-30 20:55:31 +00:00
Magnus Olsen
7c02bd07a1 add <define name="LANGPACK" /> should fix the build
svn path=/trunk/; revision=28686
2007-08-30 20:18:38 +00:00
Magnus Olsen
417c217247 do not hide stub with a DPRINT1 print it
svn path=/trunk/; revision=28685
2007-08-30 20:01:59 +00:00
Peter Ward
67896de824 French translations by Pierre Schweitzer (see bug 2618):
- Translation for win32csr.
- Fix two mistakes in the servman translation.

svn path=/trunk/; revision=28684
2007-08-30 19:56:50 +00:00
Magnus Olsen
5ba61edda1 implement stub for NtGdiHT_Get8BPPFormatPalette, NtGdiHT_Get8BPPMaskPalette, NtGdiUpdateTransform, NtGdiSetPUMPDOBJ, NtGdiBRUSHOBJ_DeleteRbrush, NtGdiUMPDEngFreeUserMem, NtGdiDrawStream
svn path=/trunk/; revision=28683
2007-08-30 19:35:59 +00:00
Magnus Olsen
5fefe33526 implement stub for NtGdiGetGlyphIndicesW, NtGdiGetGlyphIndicesWInternal, NtGdiGetLinkedUFIs, NtGdiGetMonitorID, NtGdiGetObjectBitmapHandle, NtGdiGetRealizationInfo
svn path=/trunk/; revision=28681
2007-08-30 19:24:17 +00:00
Magnus Olsen
0096b32061 implement GdiConvertPalette, GdiConvertRegion
svn path=/trunk/; revision=28680
2007-08-30 19:05:43 +00:00
Magnus Olsen
d21581599d redirect GdiSetLastError to SetLastError (who did forget GdiSetLastError and SetLastError are same, now it is implement as well)
svn path=/trunk/; revision=28679
2007-08-30 18:52:57 +00:00
Magnus Olsen
eb1bff28c5 fix the build
svn path=/trunk/; revision=28678
2007-08-30 18:39:08 +00:00
Magnus Olsen
9780c9b363 fix a typo
svn path=/trunk/; revision=28677
2007-08-30 18:38:31 +00:00
Magnus Olsen
15499d174f Implement GdiReleaseLocalDC, GdiFlush, GdiPlayDCScript, GdiPlayJournal, GdiPlayScript, GdiConvertBitmap, GdiConvertBrush, GdiConvertDC, GdiConvertFont, GdiSetAttrs
Redirect GdiConsoleTextOut, FontIsLinked, GdiDescribePixelFormat, GdiSetPixelFormat, GdiSwapBuffers, GdiFullscreenControl, GdiQueryFonts, GdiInitSpool to win32k.sys
do not redirect add smaller code in gdi32 and use share memory : GdiGradientFill, FrameRgn, GdiTransparentBlt
stub : GdiPrinterThunk, GdiConvertBitmapV5
update good api list. 

svn path=/trunk/; revision=28676
2007-08-30 18:06:35 +00:00
Magnus Olsen
280e3b52d4 implement stub for NtGdiInitSpool, NtGdiQueryFonts, NtGdiGetSpoolMessage.
the NtGdiGetSpoolMessage missing the protypes. 

svn path=/trunk/; revision=28675
2007-08-30 17:38:40 +00:00
Johannes Anderwald
c7b707f3fc - create a batch file to execute the commands required for sysreg
svn path=/trunk/; revision=28674
2007-08-30 17:20:32 +00:00
Magnus Olsen
19bf3dba24 adding prototype for NtGdiInitSpool()
svn path=/trunk/; revision=28673
2007-08-30 16:28:28 +00:00
Daniel Reimer
461943f891 Translate the new Restart Button into German
svn path=/trunk/; revision=28672
2007-08-30 16:26:24 +00:00
Ged Murphy
1fc9170197 update the visual service count when a service is deleted
svn path=/trunk/; revision=28671
2007-08-30 13:39:59 +00:00
Ged Murphy
5bdb637cb7 - implement setting the service description
- fix deleting of a service

svn path=/trunk/; revision=28670
2007-08-30 12:27:11 +00:00
Ged Murphy
4862094dd0 fix build. didn't realise this was still used.
svn path=/trunk/; revision=28669
2007-08-30 09:57:08 +00:00
Ged Murphy
1bf6653228 - remove the last of the reactos hacks of reading directly from the service's registry keys.
- servman appears to be broken in reactos at the moment, but it is actually implemented correctly now. It awaits widl / rpcrt4 updates and a working services.exe.

svn path=/trunk/; revision=28668
2007-08-30 09:29:45 +00:00
Hervé Poussineau
7395ac2cc6 [FORMATTING] Fix spaces/tabs mess
No code change.

svn path=/trunk/; revision=28667
2007-08-30 08:38:30 +00:00
Johannes Anderwald
157fa523ae - add linux path
- fix bug in getDefaultHDDImage
- sysreg can now create the hdd image and start the emulator

svn path=/trunk/; revision=28665
2007-08-30 00:05:29 +00:00
Ged Murphy
c8026e017e release the image resource once it's assigned
svn path=/trunk/; revision=28664
2007-08-29 23:05:23 +00:00
Johannes Anderwald
d374f7cbb0 - always create a hdd image if theres no default one
svn path=/trunk/; revision=28663
2007-08-29 22:38:44 +00:00
Johannes Anderwald
8d1c787d57 - missed that
svn path=/trunk/; revision=28662
2007-08-29 22:28:30 +00:00
Johannes Anderwald
4adb5cb9a7 - in theory arguments start at argv[1] - so this needs to be passed to qemu-img
svn path=/trunk/; revision=28661
2007-08-29 22:27:30 +00:00
Johannes Anderwald
0dd03527da - silence debug messages
svn path=/trunk/; revision=28660
2007-08-29 22:14:47 +00:00
Johannes Anderwald
be17f95ee8 - check if qemu-img exists for attempting to create hdd image
svn path=/trunk/; revision=28659
2007-08-29 22:09:07 +00:00
Johannes Anderwald
628a33b902 - add options required for sysreg
svn path=/trunk/; revision=28658
2007-08-29 21:10:42 +00:00
Johannes Anderwald
7d883c8352 - fix 2 bugs in unattend setup
- add option to start dbgprint.exe on 3rd boot when unattend key BootCDRegtestActive key is found (this makes sysreg detect that the 3rd boot has completed successfully)


svn path=/trunk/; revision=28657
2007-08-29 21:10:05 +00:00
Ged Murphy
592433992d add the remaining code for changing the list view text
svn path=/trunk/; revision=28656
2007-08-29 20:20:23 +00:00
Johannes Anderwald
0dd73d72c9 - add description for LocalID setting
svn path=/trunk/; revision=28655
2007-08-29 20:18:16 +00:00
Johannes Anderwald
3e77d24896 - close unattend inf in case of errors
- correctly convert provided LCID (with base 16)
- verify provided LCID with installed languages
- thanks to Colin_Fink

svn path=/trunk/; revision=28654
2007-08-29 20:13:27 +00:00
Ged Murphy
dcae8a5dc5 use the provided apis instead of reading directly from the registry
svn path=/trunk/; revision=28653
2007-08-29 19:36:58 +00:00
Ged Murphy
25ad5d5103 split the code, some files were getting too long
svn path=/trunk/; revision=28652
2007-08-29 18:10:58 +00:00
Ged Murphy
4ab28a9dcf - implement changing of the startup type from the properties dialog
- add functionality for changing the startup type listview text
- fix a couple of bugs

svn path=/trunk/; revision=28651
2007-08-29 15:46:52 +00:00
Peter Ward
dc17eb77d0 _really fix it this time. (and on with the language saga)
svn path=/trunk/; revision=28650
2007-08-29 13:31:04 +00:00
Peter Ward
39088be599 - Fix the friggin language file.
svn path=/trunk/; revision=28649
2007-08-29 13:23:24 +00:00
Peter Ward
985938a35d Forgot the eol style as well...
svn path=/trunk/; revision=28648
2007-08-29 12:56:18 +00:00
Peter Ward
80cf392257 Forgot this file... somehow
svn path=/trunk/; revision=28647
2007-08-29 12:46:14 +00:00
Peter Ward
1d2dcde9b5 Updated french translations by Pierre Schweitzer for:
- servman, explorer, access, mmsys, sysdm and syssetup.

svn path=/trunk/; revision=28646
2007-08-29 12:33:50 +00:00
Eric Kohl
639a2712f4 Implement basic filter keys settings
svn path=/trunk/; revision=28645
2007-08-29 11:47:37 +00:00
Ged Murphy
a4ebd5b085 Add functionality for changing the service config. unused at the moment.
svn path=/trunk/; revision=28644
2007-08-29 09:42:31 +00:00
Art Yerkes
8da0438ac6 Move creation of global objects to csrss as specified in the fixmes. Whatever
was broken before that prevented this seems to have been resolved.

svn path=/trunk/; revision=28643
2007-08-29 05:57:00 +00:00
Christoph von Wittich
72d3e9bd7e fix linux build
svn path=/trunk/; revision=28642
2007-08-28 23:47:54 +00:00
Johannes Anderwald
247523e709 - always wait and then kill the emulator
svn path=/trunk/; revision=28640
2007-08-28 22:48:40 +00:00
Johannes Anderwald
f918874665 - fix compilation
svn path=/trunk/; revision=28639
2007-08-28 22:47:16 +00:00
Johannes Anderwald
f2f35ad546 - remove hack
svn path=/trunk/; revision=28638
2007-08-28 22:36:21 +00:00
Johannes Anderwald
b0f1744735 - remove hack
svn path=/trunk/; revision=28637
2007-08-28 22:28:56 +00:00
James Tabor
cfae2a0eeb - Removed NtGdiPoly/Polygon from source, w32ksvc.db and updated ntgdibad.h.
- Renamed the Nt function to GdiCreatePolyPolygonRgn, it is not safe so it will not be named to IntGdiXxX.

svn path=/trunk/; revision=28636
2007-08-28 22:11:55 +00:00
Johannes Anderwald
063ab9a152 - if'd ROS_EMU_TYPE
- check for cdrom images + hdd images
- check provided image and qemu paths
- search for default cdrom image + hdd image

svn path=/trunk/; revision=28635
2007-08-28 22:07:54 +00:00
James Tabor
11cb1770c2 Plugin PolyPolygon, Polygon uses the same code and tested good.
svn path=/trunk/; revision=28634
2007-08-28 21:29:03 +00:00
Ged Murphy
bdcae44cbc missed a return type
svn path=/trunk/; revision=28633
2007-08-28 20:13:42 +00:00
Ged Murphy
d19fc5d52d fix IsUserAnAdmin
svn path=/trunk/; revision=28632
2007-08-28 20:13:09 +00:00
Colin Finck
68c9a2c5a0 Include "windef.h" in "mkstemps.c" for our wchar_t check.
This is just a temporary solution for fixing the compilation on Mac OS X hosts until host and target headers are fully separated.

svn path=/trunk/; revision=28631
2007-08-28 20:03:15 +00:00
Ged Murphy
07c2f6d0c5 - improve the start code
- add an edit button on the properties dialog to give admins the option to modify the service config

svn path=/trunk/; revision=28630
2007-08-28 19:54:25 +00:00
Johannes Anderwald
c94ecb5367 - update documentation
- implement wait for linux

svn path=/trunk/; revision=28626
2007-08-28 19:06:02 +00:00
Johannes Anderwald
2d0f7aa512 - silence a few debug messages
- implement creating of disk images with qemu-img for windows

svn path=/trunk/; revision=28624
2007-08-28 18:41:08 +00:00
Johannes Anderwald
df0b2c80d4 - include unattend.inf from boot/bootdata/bootcdregtest
svn path=/trunk/; revision=28623
2007-08-28 17:32:30 +00:00
Johannes Anderwald
edc4c2dc67 - add unattend.inf for bootcdregtest
svn path=/trunk/; revision=28622
2007-08-28 17:32:05 +00:00
Colin Finck
b04c880c20 Uncomment german translation again, this change accidentally got into my previous commit
svn path=/trunk/; revision=28621
2007-08-28 16:01:59 +00:00
Colin Finck
3124187a40 - Remove most of the Usage text from the german translation. It was just copied from the Windows "more" utility and our tool does not support any of the extended options yet.
I changed the text, so it only includes the features we currently support.
- Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL in the german translation
- Add an English (US) translation
- Use a consistent indentation in "more.c"
- Exit the tool if reading IDS_CONTINUE fails instead of falling back to a hardcoded string

svn path=/trunk/; revision=28620
2007-08-28 15:54:19 +00:00
Timo Kreuzer
b91657fe81 - rename ASSERT1 to ASSERT
- link to w32kdll instead of implementing all syscalls as stubs. I will remove the rest of the syscall code as soon as our syscall db is more complete
- more TEST -> RTEST
- update w32kdll_ros.def
- add tests for NtGdiEngCreatePalette, NtGdiEnumFontOpen
- Add some gdi handle table code to w32knapi
- header cleanup

svn path=/trunk/; revision=28619
2007-08-28 15:06:36 +00:00
Ged Murphy
fd255663f3 - don't read the description directly from the registry
- give each property dialog it's own service data instead of relying on the the global current. This will eventually allow us to have multiple property dialogs open.

svn path=/trunk/; revision=28618
2007-08-28 14:49:47 +00:00
Hervé Poussineau
66747af942 Install VBE and VGA drivers when a compatible graphic adapter is detected
See issue #2589 for more details.

svn path=/trunk/; revision=28617
2007-08-28 14:27:23 +00:00
Johannes Anderwald
3e30ff41ef - search for ReactOS installation cd and try locate directly the unattend.inf. This allows us to use the _same_ unattend.inf which is used in usetup. As a result we no longer need to put a second unattend.inf in the reactos.cab which revives the bootcdregtest
svn path=/trunk/; revision=28616
2007-08-28 14:00:24 +00:00
Hervé Poussineau
c7416046e2 Revert r28603 and add the correct fix
svn path=/trunk/; revision=28615
2007-08-28 13:40:56 +00:00
Hervé Poussineau
a326fd84cb Forgot one file
svn path=/trunk/; revision=28614
2007-08-28 06:35:54 +00:00
Johannes Anderwald
3a6d290604 - implement AutoPartioning
- set AutoPartition = 1 if you want unattended setup to create one partition with maximum size of disk

svn path=/trunk/; revision=28613
2007-08-27 20:03:06 +00:00
Ged Murphy
415b655dfe - update the stored service status after attempting to change it
- add functionality for changing the list view text and use it to change the status text
- various other bits and bobs

svn path=/trunk/; revision=28612
2007-08-27 19:31:09 +00:00
Johannes Anderwald
8512542ef5 - fix typo and compilation under windows
svn path=/trunk/; revision=28610
2007-08-27 18:53:31 +00:00
Colin Finck
082b2c7533 Also add mIRC 6.21 to the "downloader.xml" in Trunk
svn path=/trunk/; revision=28609
2007-08-27 18:50:30 +00:00
Johannes Anderwald
b60c3ecf5a - autopartition setting and DisableVmInst should not be in the GuiRunOnce section
svn path=/trunk/; revision=28607
2007-08-27 18:48:23 +00:00
Johannes Anderwald
aade40eea8 - add description for AutoPartition setting to unattend.inf.sample
svn path=/trunk/; revision=28606
2007-08-27 18:41:53 +00:00
Johannes Anderwald
98a0698dc8 - implement an AutoPartition setting in usetup (needs to be tested though yet)
svn path=/trunk/; revision=28605
2007-08-27 18:40:02 +00:00
Hervé Poussineau
abcc833c45 qsort() prototype in stdlib.h doesn't specify that callback function must be __cdecl
svn path=/trunk/; revision=28603
2007-08-27 15:26:39 +00:00
Hervé Poussineau
a011fbf1c2 Define NTAPI and WINAPI to nothing, because host tools can use the default calling convention.
This change is correct because we are *not* linking host tools with Windows/ReactOS libraries

svn path=/trunk/; revision=28602
2007-08-27 14:56:14 +00:00
Hervé Poussineau
7cd48df5b6 Do not include <ntddk.h> when compiling cmlib_host. This file defines too much things.
svn path=/trunk/; revision=28599
2007-08-27 12:47:56 +00:00
Peter Ward
62a91eb656 - Fix a warning reported by Gregor Brunmar.
svn path=/trunk/; revision=28598
2007-08-27 11:57:02 +00:00
Hervé Poussineau
18af7ec60d Link to wine library if we are using Wine-style debug macros
svn path=/trunk/; revision=28597
2007-08-27 11:43:50 +00:00
Hervé Poussineau
513a12418d Rely only on host headers (+ target ntstatus.h) to build mkhive
svn path=/trunk/; revision=28596
2007-08-27 09:32:52 +00:00
Hervé Poussineau
36235f6d7f Use host crt when building mkhive tool
svn path=/trunk/; revision=28595
2007-08-27 07:36:25 +00:00
Hervé Poussineau
58f1fa340a Rename CFLAGS to HOST_FLAGS, CPPFLAGS to HOST_CPPFLAGS, LFLAGS to HOST_LFLAGS
svn path=/trunk/; revision=28594
2007-08-27 07:21:26 +00:00
Hervé Poussineau
7b6bb2a6fd Update shell32 tests
svn path=/trunk/; revision=28593
2007-08-27 07:03:32 +00:00
James Tabor
11b12696f1 Add new gdi object type. Discovered and documented by Timo Kreuzer.
svn path=/trunk/; revision=28592
2007-08-27 06:57:46 +00:00
Hervé Poussineau
6c31cb21d1 Add some missing definitions
Fix wrong structure alignment

svn path=/trunk/; revision=28591
2007-08-27 06:56:39 +00:00
James Tabor
abf715b9b2 Update ENUMFONTDATAW structure based on returned data.
svn path=/trunk/; revision=28590
2007-08-27 06:38:51 +00:00
Art Yerkes
067d30c566 Slight improvement: When terminating the process, kill sibling threads first.
We'll need this for synchronization at process termination among other things.
Thanks alex for pointing out that we didn't do this.

svn path=/trunk/; revision=28589
2007-08-27 05:00:03 +00:00
Johannes Anderwald
2c932d0e3a - fix warning
svn path=/trunk/; revision=28588
2007-08-26 23:56:05 +00:00
Johannes Anderwald
c48c7cff18 - add restart button by Vytis Girdzijauskas, "CMan", cman[at]cman[dot]us
- the icon is taken from the tango project (see view-refresh.svg)

See issue #2599 for more details.

svn path=/trunk/; revision=28587
2007-08-26 23:41:04 +00:00
Magnus Olsen
40ae71f23d fix the build
svn path=/trunk/; revision=28586
2007-08-26 23:01:18 +00:00
Johannes Anderwald
9b57eaeea0 - dont show the same resolution multiple times
- sort the resolution according to width, height and bits per pixel

See issue #2594 for more details.

svn path=/trunk/; revision=28585
2007-08-26 22:43:51 +00:00
Magnus Olsen
8598e12a2a Implement stub for NtGdiDvpGetVideoPortField, NtGdiDvpGetVideoPortFlipStatus, NtGdiDvpGetVideoPortInputFormats, NtGdiDvpGetVideoPortLine, NtGdiDvpGetVideoPortOutputFormats, NtGdiDvpGetVideoPortConnectInfo, NtGdiDvpGetVideoSignalStatus, NtGdiDvpUpdateVideoPort, NtGdiDvpWaitForVideoPortSync, NtGdiDvpAcquireNotification, NtGdiDvpReleaseNotification, NtGdiDxgGenericThunk,
NtGdiDeleteColorTransform, NtGdiGetPerBandInfo, NtGdiDoBanding, NtGdiEnumFontChunk, NtGdiEnumFontClose, NtGdiEnumFontOpen, NtGdiEudcLoadUnloadLink, NtGdiExtTextOutW, NtGdiForceUFIMapping, NtGdiFullscreenControl, NtGdiGetAppClipBox, NtGdiGetCharABCWidthsW, NtGdiGetCharacterPlacementW, NtGdiGetCharWidthW, NtGdiGetCharWidthInfo, NtGdiGetColorSpaceforBitmap, NtGdiGetDCforBitmap, NtGdiGetDCObject, NtGdiGetDeviceCapsAll, NtGdiGetETM, NtGdiGetEudcTimeStampEx

svn path=/trunk/; revision=28584
2007-08-26 22:03:02 +00:00
Johannes Anderwald
ed306957a1 - creation of empty environment variables should not be possible (tested under Windows XP SP2)
- dont create variables when cancel is hit
- bug report + patch by Gregor Schneider (aka DosX)
See issue #2600 for more details.

svn path=/trunk/; revision=28583
2007-08-26 21:42:48 +00:00
Magnus Olsen
ac5c71eddd Implement stub for NtGdiClearBrushAttributes, NtGdiColorCorrectPalette, NtGdiComputeXformCoefficients, NtGdiConsoleTextOut, NtGdiConvertMetafileRect, NtGdiCreateColorTransform, NtGdiDvpCanCreateVideoPort, NtGdiDvpColorControl, NtGdiDvpCreateVideoPort, NtGdiDvpDestroyVideoPort, NtGdiDvpFlipVideoPort, NtGdiDvpGetVideoPortBandwidth
svn path=/trunk/; revision=28582
2007-08-26 20:33:56 +00:00
Magnus Olsen
c01447f00f redirect FONTOBJ_cGetAllGlyphHandles, FONTOBJ_cGetGlyphs, FONTOBJ_pQueryGlyphAttrs, FONTOBJ_pfdg, FONTOBJ_pifi, FONTOBJ_pvTrueTypeFontFile, FONTOBJ_pxoGetXform, FONTOBJ_vGetInfo to win32k.sys
do not redirect ExcludeClipRect, ExtSelectClipRgn, FillRgn to win32k.sys, make a smaller functions in gdi32 for now, we need write more thing in user mode. 

svn path=/trunk/; revision=28581
2007-08-26 20:00:40 +00:00
Eric Kohl
0d9818dc28 Add cursor options to the display page.
svn path=/trunk/; revision=28580
2007-08-26 19:58:13 +00:00
Magnus Olsen
2f4d36ee4d Implement stub for NtGdiAddFontResourceW, NtGdiAddRemoteFontToDC, NtGdiAddFontMemResourceEx, NtGdiRemoveMergeFont, NtGdiAddRemoteMMInstanceToDC, NtGdiFontIsLinked, NtGdiCheckBitmapBits, NtGdiClearBitmapAttributes, NtGdiCreateDIBitmapInternal, NtGdiCreateMetafileDC, NtGdiCreatePaletteInternal, NtGdiCreateServerMetaFile, NtGdiGetUFI, NtGdiFONTOBJ_vGetInfo, NtGdiFONTOBJ_pxoGetXform, NtGdiFONTOBJ_cGetGlyphs, NtGdiFONTOBJ_pifi, NtGdiFONTOBJ_pfdg, NtGdiFONTOBJ_pQueryGlyphAttrs, NtGdiFONTOBJ_pvTrueTypeFontFile, NtGdiFONTOBJ_cGetAllGlyphHandles
svn path=/trunk/; revision=28579
2007-08-26 19:56:06 +00:00
Hervé Poussineau
d45b397464 Remove psdk dependency, as it is automatically added
svn path=/trunk/; revision=28578
2007-08-26 19:06:31 +00:00
Johannes Anderwald
6085c5e625 - if partition cannot be selected, let user create partition themselves
- autopartitioning still needs to be done
See issue #2593 for more details.

svn path=/trunk/; revision=28576
2007-08-26 18:19:23 +00:00
Aleksey Bragin
aad59dfc19 - Fix boot (thx hpoussin for hint).
svn path=/trunk/; revision=28575
2007-08-26 18:18:48 +00:00
Hervé Poussineau
149ea4f5f4 Try to fix infinite loop in "make depends"
svn path=/trunk/; revision=28574
2007-08-26 12:52:14 +00:00
Hervé Poussineau
dec7775361 Fix {module}_depends targets
svn path=/trunk/; revision=28573
2007-08-26 12:31:12 +00:00
Hervé Poussineau
c34ec8ad1d Transform psdk into a real dependency, instead of a target only created after rbuild.
Fixes case where compilation wasn't stopping if rbuild was failing/crashing

svn path=/trunk/; revision=28572
2007-08-26 12:06:28 +00:00
Magnus Olsen
718e6afb4c patch from Gregor Brunmar (gregor dot brunmar at home dot se)
* Added folder support for msvc+solution generation in rbuild
 * map up pch .h file as include file in vc project files.


svn path=/trunk/; revision=28571
2007-08-26 09:57:30 +00:00
Andrew Munger
63872a8e79 NtQueryInformationProcess:
Return STATUS_INFO_LENGTH_MISMATCH where appropriate, and return the needed length in any case.
"ntdll_winetest info" now has 5 failures.

svn path=/trunk/; revision=28570
2007-08-26 07:51:51 +00:00
Andrew Munger
03f90f222d NtQuerySystemInformation:
Do not blindly zero the buffer with the size sent in by the caller. This fixes the stack smash "ntdll_winetest info" was seeing. Thanks to arty for catching it.
Remove the nested SEH.
"ntdll_winetest info" now has 16 failures.

svn path=/trunk/; revision=28569
2007-08-26 07:39:29 +00:00
James Tabor
8fd9f85a76 AXESLIST, AXISINFO and ENUMTEXTMETRIC structures. Updated ENUMFONTDATAW structure with my best guess. It needs testing with Timo program.
svn path=/trunk/; revision=28568
2007-08-26 01:50:14 +00:00
Colin Finck
92877709d1 Some french additions and file header changes by Pierre Schweitzer (heis_spiter AT hotmail DOT com)
See issue #2530 for more details.

svn path=/trunk/; revision=28567
2007-08-25 22:17:35 +00:00
Colin Finck
b7c9a43ec4 More build fixes for Mac OS X by changing the header order (wrc.h, which includes windef.h, which includes winnt.h has to be included before stdlib.h)
I know that this is another change in a Wine-shared component, but as long as we don't come to a better solution for these problems, I'll continue doing such small changes for fixing the build.

svn path=/trunk/; revision=28566
2007-08-25 22:12:24 +00:00
Colin Finck
d465769732 Catalan translation of Solitaire by Marc Tormo i Bochaca (mtbochaca AT ya DOT com)
See issue #2580 for more details.

svn path=/trunk/; revision=28565
2007-08-25 21:36:07 +00:00
Magnus Olsen
7b5444b1e9 Alex is god of haven and shall rise to the sky ... (my poem to alex for he found I did a mistake)
in protypes for NtGdiEngCreateDeviceSurface, NtGdiEngCreateDeviceBitmap, NtGdiEngCreateBitmap
Part (2/2)

svn path=/trunk/; revision=28560
2007-08-25 19:25:24 +00:00
Magnus Olsen
630763066e Alex is god of haven and shall rise to the sky ... (my poem to alex for he found I did a mistake)
in protypes for NtGdiEngCreateDeviceSurface, NtGdiEngCreateDeviceBitmap, NtGdiEngCreateBitmap
Part (1/2)

svn path=/trunk/; revision=28559
2007-08-25 19:24:20 +00:00
Johannes Anderwald
4598afc8bb - fix typo
svn path=/trunk/; revision=28558
2007-08-25 18:40:23 +00:00
Johannes Anderwald
cf7c5bc702 -fix build some broke
svn path=/trunk/; revision=28557
2007-08-25 18:35:14 +00:00
Daniel Reimer
0a7ed18bbc Some fixes in my translation to let the text better fit.
svn path=/trunk/; revision=28556
2007-08-25 17:38:23 +00:00
Magnus Olsen
e4e94438f6 implement EngUnlockSurface
svn path=/trunk/; revision=28555
2007-08-25 17:36:45 +00:00
Magnus Olsen
2144841165 implement NtGdiEngLockSurface (not tested)
svn path=/trunk/; revision=28554
2007-08-25 17:34:03 +00:00
Colin Finck
9bb0ac0bd6 - Hardcode the Window Class string, there is no reason for it to be in localized resource files
- Remove duplicate header inclusions

svn path=/trunk/; revision=28553
2007-08-25 17:24:27 +00:00
Magnus Olsen
1fe725113b partly implement EngComputeGlyphSet in eng.c
move EngMultiByteToWideChar, EngQueryLocalTime, EngReleaseSemaphore from stub.c to eng.c
start implement of EngQueryEMFInfo need bit more figout how it is done

svn path=/trunk/; revision=28552
2007-08-25 17:12:59 +00:00
Magnus Olsen
02eec98371 implement stub for NtGdiEngComputeGlyphSet
svn path=/trunk/; revision=28551
2007-08-25 17:09:10 +00:00
Ged Murphy
0cdfc0038a fix the contact address
svn path=/trunk/; revision=28550
2007-08-25 15:57:27 +00:00
Ged Murphy
b0f23f18e1 - implement restarting of services
- update the main interface to reflect the state of the service after an attempt to change it's status

svn path=/trunk/; revision=28549
2007-08-25 15:51:55 +00:00
Daniel Reimer
8ec5ae847a German Translation for Magnifier. (Made by myself)
svn path=/trunk/; revision=28548
2007-08-25 15:39:51 +00:00
Ged Murphy
3e6a02c31d fix a typo
svn path=/trunk/; revision=28547
2007-08-25 15:18:45 +00:00
Ged Murphy
652314013e send the correct control message
svn path=/trunk/; revision=28546
2007-08-25 14:55:02 +00:00
Ged Murphy
28fcd88033 fix stop / pause / resume
svn path=/trunk/; revision=28545
2007-08-25 14:51:36 +00:00
Colin Finck
213b5a62d7 French translation for Magnify by Pierre Schweitzer (heis_spiter AT hotmail DOT com)
See issue #2531 for more details.

svn path=/trunk/; revision=28544
2007-08-25 14:36:22 +00:00
Magnus Olsen
4227e0ee25 move EngFreeModule, EngGetCurrentCodePage, EngGetPrinterDataFileName, EngLoadModule from stub.c to eng.c
svn path=/trunk/; revision=28543
2007-08-25 14:23:48 +00:00
Magnus Olsen
96fc91c2b8 add a new file call eng.c
remove EngAcquireSemaphore, EngCreateSemaphore, EngDeleteSemaphore, EngFindResource implement from stub.c to eng.c 
rewrite smaller part of EngFindResource so it works likes windows xp.
 

svn path=/trunk/; revision=28542
2007-08-25 14:07:00 +00:00
Ged Murphy
1adba33d1e code improvements and various bug fixes
svn path=/trunk/; revision=28541
2007-08-25 13:41:44 +00:00
Magnus Olsen
850675cbdd make AddFontResourceExA lite faster.
svn path=/trunk/; revision=28540
2007-08-25 11:38:35 +00:00
Magnus Olsen
2b7a66234a Fix : make AddFontResourceA acts like AddFontResourceW
Fix : smaller typo in AddFontResourceW 

svn path=/trunk/; revision=28539
2007-08-25 11:34:16 +00:00
Sylvain Petreolle
2c540b735a report freeldr bugs at ros-dev@reactos.org
svn path=/trunk/; revision=28538
2007-08-25 09:58:30 +00:00
Aleksey Bragin
37ae229f62 - Do not ignore BIOS memory map anymore. Private BIOS ranges (such as ACPI, SMBIOS, VideoROM, etc) are not assumed "free" anymore (which would result in hardware failure, crashes and/or corrupted memory).
- Enhance the FreeLDR 2 NTLDR Compatibility Layer:
 * Use a special routine for grabbing static memory descriptors, so that if we ever run out, we will bugcheck.
 * The descriptors need to contain physical addresses, not virtual. Do proper fixups to handle this.
 * Add a "Free" memory descriptor for all memory on the system. This needs to be fragmented later.
 * Add memory descriptors for each reserved entry in the BIOS memory map.
 * Add memory descriptors for the PDE and KPCR pages that FreeLDR allocates.
 * Add a memory descriptor for page 0, which is reserved.
 * Add a memory descriptor for the Video frame buffer at 0xA0000. This is the location on most systems, and also the location that ReactOS hard-codes in other Mm code.
- Bug found and NTLDR memory descriptor analysis by Alex.


svn path=/trunk/; revision=28537
2007-08-25 09:38:13 +00:00
Colin Finck
9ec7d785cb Revert r28526 for now until a problem for the livecd breakage has been found
svn path=/trunk/; revision=28536
2007-08-25 09:00:19 +00:00
Magnus Olsen
c8983b1354 forget some stubs
svn path=/trunk/; revision=28535
2007-08-24 23:54:44 +00:00
Magnus Olsen
5f81ef10bf update the good list of api
svn path=/trunk/; revision=28534
2007-08-24 22:46:38 +00:00
Magnus Olsen
2b32773575 * redirect EngCopyBits, EngCreateBitmap, EngCreatePalette, EngDeletePalette, EngDeletePath, EngDeleteSurface, EngEraseSurface, EngFillPath, EngMarkBandingSurface, EngPaint, EngPlgBlt, EngStrokeAndFillPath, EngStrokePath, EngTextOut, EngTransparentBlt to win32k.sys
* add smaller code for Ellipse
* redirect EngMultiByteToUnicodeN to RtlMultiByteToUnicodeN
* redirect EngUnicodeToMultiByteN to RtlUnicodeToMultiByteN

svn path=/trunk/; revision=28533
2007-08-24 22:44:36 +00:00
Magnus Olsen
fa0d1f8d20 add stub for NtGdiEngPlgBlt, NtGdiEngMarkBandingSurface, NtGdiEngFillPath, NtGdiEngPaint, NtGdiEngLineTo, NtGdiEngGradientFill, NtGdiEngStretchBltROP
svn path=/trunk/; revision=28532
2007-08-24 22:24:26 +00:00
Timo Kreuzer
71b085c651 - Simplify w32knapi. It now always uses w32kdll.dll
Copy the right dll into the same folder as w32knapi.exe (name must be w32kdll.dll) to make it work of different windows versions and ros of cause.
Tested on win xp.

svn path=/trunk/; revision=28531
2007-08-24 22:23:44 +00:00
Magnus Olsen
2154cc31a3 add stub for NtGdiEngDeleteSurface, NtGdiEngEraseSurface, NtGdiEngStrokeAndFillPath, NtGdiEngDeletePath
svn path=/trunk/; revision=28530
2007-08-24 21:57:50 +00:00
Timo Kreuzer
f268892b03 - move NtGdiGetAspectRatioFilterEx from text.c to dc.c
- move 2 prototypes from text.c to text.h

svn path=/trunk/; revision=28529
2007-08-24 21:49:12 +00:00
Magnus Olsen
a992736766 add stub for NtGdiEngCreateBitmap, NtGdiEngCreatePalette, NtGdiEngCopyBits, NtGdiEngDeletePalette, NtGdiEngStrokePath, NtGdiEngTransparentBlt, NtGdiEngTextOut
svn path=/trunk/; revision=28528
2007-08-24 21:42:06 +00:00
Magnus Olsen
44b52a90f7 NtGdiEngCreateBitmap got one undoc param
svn path=/trunk/; revision=28527
2007-08-24 21:39:49 +00:00
Colin Finck
31995f945e rbuild enhancements by Marc Piulachs (marc DOT piulachs AT codexchange DOT net):
- Provided an unifed way to resolve path macros ($Output) , ($Intermediate) , ($CDOUTPUT) and ($INSTALL)
- Removed some redundant code and place it in a global function 
- Modify media/inf/inf.rbuild to point to the correct location of the autogenerated syssetup.inf in ($Ouput) folder
- Other minor enhancements and modifications


See issue #2567 for more details.

svn path=/trunk/; revision=28526
2007-08-24 21:31:37 +00:00
Magnus Olsen
ef684f8eac mark EngReleaseSemaphore is implement
svn path=/trunk/; revision=28525
2007-08-24 20:20:18 +00:00
Magnus Olsen
f0942416ad mark EngQueryLocalTime are implement
svn path=/trunk/; revision=28524
2007-08-24 20:14:30 +00:00
Magnus Olsen
3a8089197d Bugfix : EngFreeModule
svn path=/trunk/; revision=28523
2007-08-24 18:39:19 +00:00
Magnus Olsen
df77afe61e bugfix : EngGetCurrentCodePage
svn path=/trunk/; revision=28522
2007-08-24 18:36:38 +00:00
Ged Murphy
6aa2fcb6f6 Start the move towards a partial rewrite of servman
Too many changes for me to bother listing

svn path=/trunk/; revision=28521
2007-08-24 18:27:12 +00:00
Magnus Olsen
00e28fca7d sorry fix the build
svn path=/trunk/; revision=28520
2007-08-24 17:46:43 +00:00
Magnus Olsen
1195f389f1 Kill of NtGdiCreatePolyPolygonRgn from the syscall list, it being use only internal in win32k. it should be rename to intGdiCreatePolyPolygonRgn
svn path=/trunk/; revision=28519
2007-08-24 17:43:11 +00:00
Magnus Olsen
10f4522cb9 Fix CreatePolygonRgn : use NtGdiPolyPolyDraw, old way was using NtGdiCreatePolyPolygonRgn, NtGdiCreatePolyPolygonRgn does not exists in windows NT 2000/XP/2003/VISTA
Fix CreatePolyPolygonRgn : use NtGdiPolyPolyDraw, old way was using NtGdiCreatePolyPolygonRgn, NtGdiCreatePolyPolygonRgn does not exists in windows NT 2000/XP/2003/VISTA
Redirect : EnableEUDC@4 to NtGdiEnableEudc@4, EngAssociateSurface@12 to NtGdiEngAssociateSurface@12, EngCheckAbort@4 to NtGdiEngCheckAbort@4, EngDeleteClip@4 to NtGdiEngDeleteClip@4
Redirect : EngCreateClip@0 to NtGdiEngCreateClip@0, EngCreateDeviceSurface@16 to NtGdiEngCreateDeviceSurface@16,  EngCreateDeviceBitmap@16 to NtGdiEngCreateDeviceBitmap@16


svn path=/trunk/; revision=28518
2007-08-24 17:37:53 +00:00
Magnus Olsen
79bd659def implement stub for NtGdiEnableEudc, NtGdiEngAssociateSurface, NtGdiEngCreateDeviceSurface, NtGdiEngCreateDeviceBitmap, NtGdiEngCreateClip, NtGdiEngDeleteClip, NtGdiEngCheckAbort
svn path=/trunk/; revision=28517
2007-08-24 14:49:53 +00:00
Magnus Olsen
7abd27da8c the NtGdiEngCreateDeviceSurface got 4 param, see syscall table. and official doc from msdn and osr say only 3, we can clear see it is 4 param in the syscall table.
and I name it the four param as UNKNOWN for now. 

svn path=/trunk/; revision=28516
2007-08-24 14:46:06 +00:00
Magnus Olsen
bd1e7500b2 NtGdiEngCreateDeviceBitmap need four param the last param are undoc in msdn/osr
at moment I do have small clude what it is use for. But I name it to UNKNOWN, 
you can check the syscall table and u see it is 4 param not 3 it need. 

svn path=/trunk/; revision=28515
2007-08-24 14:24:49 +00:00
Magnus Olsen
d419e5b695 Bug Fix from Gregor Brunmar (gregor dot brunmar at home dot se), IRC nick ALiENiD
we getting change display working again with this bugfix. details
* Added missing info from PrimarySurface.DMW when display driver defaults back to the video drivers standard mode
* Fixed caching system in IntEnumDisplaySettings when run more than once
* Hacked a way around the bug in FindDDIDriver

svn path=/trunk/; revision=28514
2007-08-24 12:10:10 +00:00
The Wine Synchronizer
c18bbbf9a7 Autosyncing with Wine HEAD
svn path=/trunk/; revision=28513
2007-08-24 09:42:29 +00:00
Hervé Poussineau
95797b4cf7 Update status of shlwapi
svn path=/trunk/; revision=28512
2007-08-24 09:40:17 +00:00
The Wine Synchronizer
6d150b1c57 Autosyncing with Wine HEAD
svn path=/trunk/; revision=28511
2007-08-24 09:07:52 +00:00
The Wine Synchronizer
bbc41d3721 Autosyncing with Wine HEAD
svn path=/trunk/; revision=28510
2007-08-24 09:07:34 +00:00
Aleksey Bragin
e1bf65e84c Daniel Zimmerman <netzimme@aim.com>:
- Test app for IoCheckEaBufferValidity() implementation (not included into the build system yet).

svn path=/trunk/; revision=28507
2007-08-24 07:59:29 +00:00
Aleksey Bragin
262a6322c1 Daniel Zimmerman <netzimme@aim.com>:
- Implement IoCheckEaBufferValidity()

svn path=/trunk/; revision=28506
2007-08-24 07:55:14 +00:00
Andrew Munger
e6b469c9c0 Free memory with the proper tag.
Spotted by Gregor Brunmar (gregor dot brunmar at home dot se).

svn path=/trunk/; revision=28505
2007-08-24 07:43:42 +00:00
James Tabor
dea1da8be6 Fixed it. Pluged in Polygon to use NtGdiPolyPolyDraw.
svn path=/trunk/; revision=28504
2007-08-24 05:25:21 +00:00
James Tabor
0d1fa60060 Pluged in NtGdiPolyPolyDraw. Does not work yet, still testing it.
svn path=/trunk/; revision=28503
2007-08-24 04:49:38 +00:00
Johannes Anderwald
cffe612011 - make more util mui-aware
- english translation needs to be done

svn path=/trunk/; revision=28502
2007-08-23 23:52:59 +00:00
James Tabor
f7da3af16d Fix math and add notes.
svn path=/trunk/; revision=28501
2007-08-23 22:29:37 +00:00
Aleksey Bragin
c2de09f61a - Make freeldr do identity memory mapping. This simplifies a lot of things throughout the code, and finally places the kernel at the same addresses where NT kernel is located.
- Fix code in ntoskrnl which was based on (wrong) assumptions.

svn path=/trunk/; revision=28497
2007-08-23 21:29:28 +00:00
Johannes Anderwald
7cc80286e0 - add german translation
svn path=/trunk/; revision=28495
2007-08-23 20:47:53 +00:00
Magnus Olsen
ee0dd7fa6e implement DeviceCapabilitiesExA and DeviceCapabilitiesExW, both always return -1
redirect DeleteColorSpace@4 to NtGdiDeleteColorSpace@4


svn path=/trunk/; revision=28494
2007-08-23 20:47:43 +00:00
Daniel Reimer
49b4adc779 Fix a typo.
svn path=/trunk/; revision=28493
2007-08-23 20:30:11 +00:00
Johannes Anderwald
40b600253d - turn back cursor on screensaver exit
- display fullscreen instead of maximized
- patch by Vytis Girdzijauskas, "CMan", cman[at]cman[dot]us
See issue #2583 for more details.

svn path=/trunk/; revision=28492
2007-08-23 20:25:20 +00:00
Aleksey Bragin
fd759f410c - Add some early skeleton for OHCI. This code isn't called by anything, so it can't break something.
svn path=/trunk/; revision=28491
2007-08-23 20:14:45 +00:00
Johannes Anderwald
a616c6c485 - part 2/2
- update french translation for sysdm by Pierre Schweitzer (heis_spiter at hotmail dot com)

See issue #2588 for more details.

svn path=/trunk/; revision=28490
2007-08-23 20:11:28 +00:00
Johannes Anderwald
cd2bd2ad1e - part 1/2
- add french translation for logoff by Pierre Schweitzer (heis_spiter at hotmail dot com)
- also add german translation
See issue #2588 for more details.

svn path=/trunk/; revision=28489
2007-08-23 20:10:36 +00:00
Daniel Reimer
23b758b293 - Update all SF Links to one of the fastest Mirrors. puzzle is EVIL!
- Fix some broken Links
- Update some Files to newer Versions.

svn path=/trunk/; revision=28488
2007-08-23 20:03:37 +00:00
Magnus Olsen
9b03238d39 commit my verify list with api that been tested and works same/simluare as windows xp, in windows 2000/xp
svn path=/trunk/; revision=28487
2007-08-23 19:56:57 +00:00
Aleksey Bragin
6ccab0cf5a - Set NULL Io cancel routine, fixes an assert when using usb storage driver.
svn path=/trunk/; revision=28486
2007-08-23 19:41:38 +00:00
Magnus Olsen
6b5a7d3908 Kill reactos own syscall api NtGdiCreatePolygonRgn, it have been redirect to another ros own syscall named NtGdiCreatePolyPolygonRgn. see my last commit for gdi32
svn path=/trunk/; revision=28485
2007-08-23 19:33:21 +00:00
Magnus Olsen
75fff0653f remove redirect of CreatePolyPolygonRgn@16 and implement own stub for it, it is hacked, it should doing, return (HRGN) NtGdiPolyPolyDraw(fnPolyFillMode, lppt, lpPolyCounts, nCount, 6 );
remove redirect of CreatePolygonRgn@12 and implement own stub for it, it is hacked, it should doing return NtGdiPolyPolyDraw(fnPolyFillMode,lppt,cPoints,1,6);
remove redirect of CreateRectRgn@16 and implement own stub for it,  some part need be done in user mode
Fix CreateRectRgnIndirect it call now on CreateRectRgn for some part need be done in user mode, and it crash if NULL comes in as param, like windows does. 
Fix CreatePenIndirect ir call now on CreatePen for some stuff need be done in user mode. 
Add comment to CreatePen it need be fix. 



svn path=/trunk/; revision=28484
2007-08-23 19:21:16 +00:00
Aleksey Bragin
d88b419c3a - Small NDK headers update
svn path=/trunk/; revision=28483
2007-08-23 19:20:28 +00:00
James Tabor
bae87c517b Fix build?
svn path=/trunk/; revision=28482
2007-08-23 18:35:46 +00:00
Timo Kreuzer
58091ef92d move NtGdiGetSetBoundsrect from paintobj.c to dc.c, remove paintobj.c
svn path=/trunk/; revision=28481
2007-08-23 17:28:24 +00:00
Magnus Olsen
5e95a39358 Remove NtGdiCreatePalette it was a ros specfify api in win32k syscall list. It have been replace with NtGdiCreatePaletteInternal
svn path=/trunk/; revision=28480
2007-08-23 17:22:27 +00:00
Timo Kreuzer
e60a2c2441 move NtGdiExtFloodFill from bitblt.c to filshap.c
svn path=/trunk/; revision=28479
2007-08-23 17:04:28 +00:00
Timo Kreuzer
c74dd37de0 - rename painting.c to bitblt.c
- move NtGdi/Int(Poly)PatBlt to bitblt.c

svn path=/trunk/; revision=28478
2007-08-23 16:38:23 +00:00
Magnus Olsen
3883e58615 Fix : CreatePalette@4 calling NtGdiCreatePaletteInternal
svn path=/trunk/; revision=28477
2007-08-23 16:19:51 +00:00
Magnus Olsen
a224171ac5 fast implementions of NtGdiCreatePaletteInternal
it is base on NtGdiCreatePalette

svn path=/trunk/; revision=28476
2007-08-23 15:36:20 +00:00
Ged Murphy
b5210a6c16 odd, this doesn't fail on my machine but it does on the buildserver
svn path=/trunk/; revision=28475
2007-08-23 15:30:49 +00:00
Ged Murphy
f68661bb9c add new file to rbuild file and fix gcc complaints
svn path=/trunk/; revision=28474
2007-08-23 15:23:10 +00:00
Magnus Olsen
122ab0a2bb Remove redirect of CreateDIBitmap@24 to NtGdiCreateDIBitmap@24, and create stub for it. we need do some stuff in user mode
Fix : CreateDiscardableBitmap shall be call on CreateCompatibleBitmap not the NtGdiCreateCompatibleBitmap, for we need do some thing in user mode
Fix : CreateEllipticRgnIndirect it crash now, if the param is NULL, that goes same for all windows NT I tested 

svn path=/trunk/; revision=28473
2007-08-23 15:03:13 +00:00
Ged Murphy
0c529df2e0 simplify some code
svn path=/trunk/; revision=28472
2007-08-23 14:57:44 +00:00
Magnus Olsen
520d244fe2 create stub for both CreateCompatibleDC and CreateCompatibleBitmap instead for redirect them, they need share memory, and it need do some stuff in user mode
svn path=/trunk/; revision=28470
2007-08-23 14:02:10 +00:00
Magnus Olsen
ed494d70d2 remove redirect of CombineRgn and CreateBitmap some part are need be done in user mode. not in win32k,
implement it as stub, and doing the syscall until some got time review and rewrite this code right

svn path=/trunk/; revision=28469
2007-08-23 12:54:09 +00:00
Magnus Olsen
0c8c94eb0d sorry fixed break in comping
svn path=/trunk/; revision=28468
2007-08-23 12:43:06 +00:00
Magnus Olsen
14b913746c Redirect : BRUSHOBJ_pvGetRbrush@4 to NtGdiBRUSHOBJ_pvGetRbrush@4
Redirect : BRUSHOBJ_ulGetBrushColor@4 to NtGdiBRUSHOBJ_ulGetBrushColor@4
Redirect : CLIPOBJ_bEnum@12 to  NtGdiCLIPOBJ_bEnum@12
Redirect : CLIPOBJ_cEnumStart@20  to  NtGdiCLIPOBJ_cEnumStart@20
Redirect : CLIPOBJ_ppoGetPath@4 to NtGdiCLIPOBJ_ppoGetPath@4

svn path=/trunk/; revision=28467
2007-08-23 12:10:13 +00:00
Magnus Olsen
46fb3ca2dc Implement stub : NtGdiCLIPOBJ_bEnum
Implement stub : NtGdiCLIPOBJ_cEnumStart
Implement stub : NtGdiCLIPOBJ_ppoGetPath
Implement stub : NtGdiBRUSHOBJ_ulGetBrushColor
Implement stub : NtGdiBRUSHOBJ_pvAllocRbrush
Implement stub : NtGdiBRUSHOBJ_pvGetRbrush

svn path=/trunk/; revision=28466
2007-08-23 12:07:37 +00:00
Magnus Olsen
94e74e9b8b Bugfix : AddFontResourceExW, SetLastError to invaild param when the fl are not set.
Redirect : AnyLinkedFonts@0 to NtGdiAnyLinkedFonts@0 (stubed in win32k)
Redirect : BRUSHOBJ_hGetColorTransform@4 to NtGdiBRUSHOBJ_hGetColorTransform@4 (stubed in win32k)
Redirect : BRUSHOBJ_pvAllocRbrush@8 to  NtGdiBRUSHOBJ_pvAllocRbrush@8  (stubed in win32k)
partly working : GdiAddFontResourceW is parttly working but it does not works as windows version, instead for being stub, it is not finish implementions of it. This is nassry to clean up some mess. 


svn path=/trunk/; revision=28465
2007-08-23 09:52:31 +00:00
Magnus Olsen
851f4ff721 adding stub for NtGdiAnyLinkedFonts, NtGdiBRUSHOBJ_hGetColorTransform, NtGdiBRUSHOBJ_pvAllocRbrush
svn path=/trunk/; revision=28464
2007-08-23 09:44:26 +00:00
Aleksey Bragin
1ca48793e3 Dmitry Chapyshev <lentind@yandex.ru>:
- Add a shortcut to a charmap tool, create start menu group for it.

svn path=/trunk/; revision=28463
2007-08-23 09:05:04 +00:00
Aleksey Bragin
ade3d4b9af Dmitry Chapyshev <lentind@yandex.ru>
- Change control panel icon to a better one

svn path=/trunk/; revision=28462
2007-08-23 08:05:05 +00:00
James Tabor
81666beff6 Add NtGdiFlushUserBatch callback.
svn path=/trunk/; revision=28461
2007-08-23 01:51:22 +00:00
Timo Kreuzer
dd008296b0 maze as a screensaver ;-)
svn path=/trunk/; revision=28460
2007-08-23 00:43:25 +00:00
Timo Kreuzer
95ba212738 - NtGdiAnimatePalette, NtGdiGe/SetPaletteEntries, NtGdiGetSystemPaletteEntries, NtGdiGet/SetDIBColorTable: rename into IntXxx, remove SEH and remove functions from w32ksvc.db
- implement NtGdiDoPalette calling the Int functions using SEH & ProbeForXxx and add it to w32ksvc.db
- change parameters of NtGdiDoPalette: HPALETTE -> HGDIOBJ, as it also accepts HDC, LPPALETTENTRY -> LPVOID as it also accepts RGBQUAD*
- implement stub functions in gdi32.dll calling NtGdiDoPalette instead of redirecting to the old NtGdixxx functions
- update ntgdibad.h


svn path=/trunk/; revision=28459
2007-08-23 00:31:26 +00:00
Timo Kreuzer
e2167fe00e one more TEST -> RTEST for NtGdiGetRandomRgn
svn path=/trunk/; revision=28458
2007-08-23 00:20:30 +00:00
Timo Kreuzer
3385ef604e some tests for NtGdiDoPalette
svn path=/trunk/; revision=28457
2007-08-23 00:19:00 +00:00
Timo Kreuzer
d99309335f win32k syscall dlls for win xp and 2k
svn path=/trunk/; revision=28456
2007-08-22 21:49:49 +00:00
James Tabor
28dafc3348 - Removed NtGdiGetDIBits from w32ksvc.db and updated ntgdibad.h.
- Created support function for GetDIBits when calling NtGdiGetDIBitsInternal.
- Connected the gdi32 parts.

svn path=/trunk/; revision=28455
2007-08-22 19:45:06 +00:00
Johannes Anderwald
12d4e8967e - fix description by Pierre Schweitzer (heis spiter at hotmail com)
svn path=/trunk/; revision=28454
2007-08-22 18:29:20 +00:00
Hervé Poussineau
00ea7e6ada Move generic part of ReactOS-$(ARCH).rbuild to ReactOS-generic.rbuild
svn path=/trunk/; revision=28453
2007-08-22 15:06:43 +00:00
James Tabor
33c9fa8993 Removed NtUserReleaseDC, replaced it with CallOneParam.
svn path=/trunk/; revision=28452
2007-08-22 14:12:55 +00:00
Art Yerkes
01d8c61545 Bug found by arty, thanks to alex for helping fix it:
Process termination fixes part 1: don't suicide our process when we're killing
a sibling.

 - Clarify the use of KillByHandle.  It does *not* mean "suicide".
 - In fact, we had considered the use of KillByHandle backward, that is,
   our process would commit suicide if it was killing a sibling process.
 - Make suicide contingent on killing the same process.
 - Properly handle DBG_TERMINATE_PROCESS semidocumented debugger hack.

svn path=/trunk/; revision=28451
2007-08-22 07:28:45 +00:00
James Tabor
2858198372 Win32 User32 rewrite example.
svn path=/trunk/; revision=28450
2007-08-22 02:54:22 +00:00
James Tabor
7dc8712f1b Cleanup, dont call inside SEH with SEH. IntGdiModifyWorldTransform calls DC_UpdateXforms which calls DCU_UpdateUserXForms and it calls SEH. Moved NtGdiFlush to dcutil.c
svn path=/trunk/; revision=28449
2007-08-21 23:27:44 +00:00
Johannes Anderwald
272d2be738 - Some typos and fixes for greek resource file for ncpa by Apostolos Alexiadis aka Apal (djapal at gmail dot com)
See issue #2582 for more details.

svn path=/trunk/; revision=28447
2007-08-21 16:34:23 +00:00
James Tabor
1deecb4b19 - Removed NtGdiSetMapMode from w32ksvc.db and updated ntgdibad.h.
- Moved NtGdiSetMapMode to an internal function.
- Changed NtGdiPaintRgn and added IntdiPaintRgn.
- Cleaned up win32k path.c.
- Connected the gdi32 parts.


svn path=/trunk/; revision=28446
2007-08-21 09:28:51 +00:00
James Tabor
c27ffbed0c Sorry missed this one. Turn it off.
svn path=/trunk/; revision=28445
2007-08-21 07:45:02 +00:00
James Tabor
1cdbcdc32e Turn Dc_Attr off.
svn path=/trunk/; revision=28444
2007-08-21 07:21:26 +00:00
James Tabor
ba4d4c6863 Turn off copy to user for now.
svn path=/trunk/; revision=28443
2007-08-21 06:47:49 +00:00
James Tabor
e308fab607 - Started the use of DC_ATTR. Created dcutil.c to handle xfers. I choose XForms this time and still trouble shooting it. If anyone wants to join in and help. Optimize syncing the data packets, add more, etc. Don't be shy!
- Removed NtGdiGetWorldTransform from w32ksvc.db and updated ntgdibad.h.
- Implemented GetTransform redirect to NtGdiGetTransform.
- Connected the gdi32 parts.


svn path=/trunk/; revision=28442
2007-08-21 05:01:00 +00:00
James Tabor
e2e96c6bc8 Bug patch 2382 by Zavyalov Alexey. GetCurrencyFormatW() added superfluous group sign in negative numbers and reformatting code.
svn path=/trunk/; revision=28441
2007-08-20 22:55:48 +00:00
Johannes Anderwald
d708f1133e - Some typos and fixes for greek resource file for newdev by Apostolos Alexiadis aka Apal (grad0621 at di dot uoa dot gr)
See issue #2576 for more details.

svn path=/trunk/; revision=28440
2007-08-20 22:29:40 +00:00
Johannes Anderwald
12fb19e113 - set check when theres a timeout
svn path=/trunk/; revision=28439
2007-08-20 22:10:55 +00:00
Johannes Anderwald
7f430604fd - implement writing startup recovery options
svn path=/trunk/; revision=28438
2007-08-20 22:01:54 +00:00
Johannes Anderwald
4871c23639 - implement reading startup / recovery options
svn path=/trunk/; revision=28437
2007-08-20 21:41:05 +00:00
Magnus Olsen
0b103054a4 Fix NtUserGetClipboardViewer in w32ksvc a smaller typo
svn path=/trunk/; revision=28436
2007-08-20 21:02:25 +00:00
Johannes Anderwald
e7fd85126b - support reading multiple boot configuration
- support saving prefered boot configuration (freeldr / boot ini style)
- parsing of boot options needs to be done

svn path=/trunk/; revision=28433
2007-08-20 19:21:54 +00:00
Magnus Olsen
7253f38afd Remove some expremnt code, need rehink how I can get current range of video memory pointer
svn path=/trunk/; revision=28432
2007-08-20 15:17:06 +00:00
Hervé Poussineau
07277867b0 Fix typo
svn path=/trunk/; revision=28431
2007-08-20 12:06:12 +00:00
Hervé Poussineau
bd443f4d74 Add rbuild file for winsta.dll, and add it to bootcd
See issue #2574 for more details.

svn path=/trunk/; revision=28430
2007-08-20 09:34:18 +00:00
Johannes Anderwald
7a1bf66462 - update available software items in configuration file by Pierre Schweitzer (heis_spiter at hotmail com)
See issue #2566 for more details.

svn path=/trunk/; revision=28429
2007-08-20 09:19:07 +00:00
Timo Kreuzer
0e85f8a438 - rename NtGdiSelectPalette to NtUserSelectPalette, move it to ntuser/windc.c and implement stub function SelectPalette in gdi32.dll calling it (Don't ask me why it is named this way, but it is on windows)
- rename NtGdiSetDIBitsToDevice to NtGdiSetDIBitsToDeviceInternal and implement stub function in gdi32.dll
- update ntgdibad.h

svn path=/trunk/; revision=28428
2007-08-19 23:49:47 +00:00
Ziliang Guo
263feb7b7d Fix kdbg disasm bug, patch by SamB
See issue #2408 for more details.

svn path=/trunk/; revision=28427
2007-08-19 22:51:10 +00:00
Johannes Anderwald
b4c3f2b5e3 more.c should not close INVALID_HANDLE_VALUE
patch by Apal
remove tab and quit when failing to open file (tested with Windows XP SP2)

svn path=/trunk/; revision=28426
2007-08-19 20:16:10 +00:00
Colin Finck
82f18756f0 - mkhive's "registry.c" used wcsncmp for comparing two strings. But this function seems to work different on different hosts (probably due to different handling of wchar_t's or whatever).
To avoid this problem, use memcmp now to compare the strings as it's done two lines later. This fixes the Live-CD on Linux/Unix hosts.
  (For the first time, Live-CDs created by our 64-Bit Debug Buildslave are usable :-)
- Change __volatile to volatile in "winddk.h". This fixes compilation problems under MSVC.
- Make the prototype of RtlCompareMemory in "winnt.h" similar to the one in "winddk.h". Fixes a compilation problem in MSVC.
- Define the prototype for xwcschr in "mkhive.h". Silences a warning in MSVC.
- Add some casts to "reginf.c" to silence some warnings in MSVC.
- Add a MSVC 2005 project file for mkhive. mkhive can be compiled under MSVC with this project file, when cmlib and inflib_host are compiled.
- Remove the duplicate definition of CMLIB_HOST in "cmlib.mak".

svn path=/trunk/; revision=28425
2007-08-19 19:37:47 +00:00
Eric Kohl
0f123ca26f - Implement the mouse keys dialog.
- Fix a tiny bug in the mouse keys dialog resource.
- Update file header.

svn path=/trunk/; revision=28424
2007-08-19 16:11:04 +00:00
Colin Finck
cddcaa508e - Always include "wine/unicode.h" before all other headers, when we need the wchar_t type.
unicode.h includes windef.h, which includes winnt.h, which has the handling for the wchar_t type. As it's the first included header, no other wchar_t type will be defined before.
- Remove the wchar_t definition from the Makefile as the winnt.h header will define it as "unsigned short" automatically.

svn path=/trunk/; revision=28423
2007-08-19 15:38:21 +00:00
Colin Finck
fd468bc98a Change the wchar_t logic once more to make it a bit simplier.
A host can only have one special wchar_t definition, so we don't need to define all. Also _WCHAR_T_DEFINED is the only definition used for overriding the wchar_t setting by applications.
So use the previous logic to check and define the wchar_t definitions for the host and at the end check for _WCHAR_T_DEFINED. In all cases, define _WCHAR_T_DEFINED.

Additionally, __need_wchar_t has to be undefined after including "ctype.h" as "ctype.h" defines it.

svn path=/trunk/; revision=28422
2007-08-19 14:04:20 +00:00
Sylvain Petreolle
4a878b945f update ncpa french translation
svn path=/trunk/; revision=28421
2007-08-19 12:49:29 +00:00
Eric Kohl
ec36584855 Add resources for the mouse keys settings dialog.
svn path=/trunk/; revision=28420
2007-08-19 10:52:59 +00:00
Art Yerkes
f6051eed12 Add async name functions, imported from wine. Modified for ReactOS, original
copyright assigment:

 * Copyright (C) 1993,1994,1996,1997 John Brezak, Erik Bos, Alex Korobka.
 * Copyright (C) 1999 Marcus Meissner

async.c was original licensed under the GNU Lesser General Public License v2.1

svn path=/trunk/; revision=28419
2007-08-19 10:39:26 +00:00
James Tabor
7330591df4 Implemented an easy API, XLATEOBJ_piVector. Just leave them in stubs for now.
svn path=/trunk/; revision=28418
2007-08-19 09:16:38 +00:00
James Tabor
5f7a8012cd Implemented a handfull of easy Eng APIs. Just leave them in stubs for now.
svn path=/trunk/; revision=28417
2007-08-19 08:16:01 +00:00
Art Yerkes
d149b737c0 (customize-variable 'indent-tabs-mode) ; nil
svn path=/trunk/; revision=28416
2007-08-19 05:11:54 +00:00
Art Yerkes
7acf61114d Fix part two of the bug:
The actual problem was that we'd overrun the end of the handle count array
when decrementing.  This also led to a handle leak (observed).  Stop correctly
when we find the handle we want.

svn path=/trunk/; revision=28415
2007-08-19 05:02:31 +00:00
Colin Finck
edceb16713 Use host_gpp instead of host_gcc for building "ssprintf.cpp" and "tools.cpp".
These are C++ files, so they should be built with g++ like it's done for the other tools. Usually they can also be built with gcc, but Collibri from IRC reported that broken gcc interfaces exist, which lead to problems with these files.

svn path=/trunk/; revision=28414
2007-08-18 22:06:00 +00:00
Colin Finck
5f5941543f Always include "wrc.h" before including "ctype.h".
wrc.h includes wrctypes.h, which includes windef.h, which includes winnt.h. And winnt.h contains our wchar_t check, which has to be done before including ctype.h to enable building on Mac OS X hosts.

svn path=/trunk/; revision=28413
2007-08-18 21:41:26 +00:00
Colin Finck
f4d00d9532 Mac OS X already defines iswdigit, so don't define it again on this host OS.
svn path=/trunk/; revision=28412
2007-08-18 21:14:20 +00:00
Colin Finck
7c2606f0a3 Include windef.h, which then includes winnt.h, which uses our wchar_t check and reports the wchar_t definition back to the host.
Then the host finally knows that it should not define wchar_t again.

svn path=/trunk/; revision=28411
2007-08-18 21:10:14 +00:00
Colin Finck
b92649d370 Fix the logic for the wchar_t checks.
We don't only need to check if wchar_t has already been defined, but also report this to all known hosts and operating systems.

svn path=/trunk/; revision=28410
2007-08-18 20:30:12 +00:00
Colin Finck
44840c6db3 Move the wchar_t check above the "#include <ctype.h>" line (this is needed for Mac OS X host compatibility)
svn path=/trunk/; revision=28409
2007-08-18 19:49:53 +00:00
Colin Finck
3d0bdbac16 forgot the #endif :-/
svn path=/trunk/; revision=28408
2007-08-18 19:33:36 +00:00
Colin Finck
6674258f80 Add a check for the wchar_t existence for Mac OS X hosts
svn path=/trunk/; revision=28407
2007-08-18 19:25:43 +00:00
Colin Finck
4bb5fb5f3c Build fixes for Mac OS X, thanks to Alex
svn path=/trunk/; revision=28406
2007-08-18 19:07:13 +00:00
Eric Kohl
b5c0564c8e Get rid of the space reserved for icons to make the dialogs look more XP-like.
svn path=/trunk/; revision=28404
2007-08-18 16:02:28 +00:00
Magnus Olsen
fb897e20fb fixing smaller FIXME in win32kdxtest
svn path=/trunk/; revision=28403
2007-08-18 15:54:03 +00:00
Magnus Olsen
f594821726 adding few mixing DDHALINFO_ISPRIMARYDISPLAY, DDHALINFO_MODEXILLEGAL
svn path=/trunk/; revision=28402
2007-08-18 15:53:03 +00:00
Colin Finck
1fe9b53b9e Fix an "implicit declaration of wcslen" warning on Linux/Unix hosts
svn path=/trunk/; revision=28401
2007-08-18 15:47:33 +00:00
Magnus Olsen
1d6628eb0c Adding one new define #define DDCAPS_STEREOVIEW aka DDCAPS_RESERVED1
svn path=/trunk/; revision=28399
2007-08-18 15:43:25 +00:00
Colin Finck
f49af53def Show whether the IP address was assigned by DHCP or manually configured. I also added the german translation strings for this.
Patch by Frode Lillerud (frode AT enkelt DOT no)
See issue #2570 for more details.

svn path=/trunk/; revision=28398
2007-08-18 14:32:03 +00:00
Colin Finck
d7248a8454 Send a LBN_SELCHANGE notification after selecting the first network component entry, so the description text gets updated.
Patch by Gregor Brunmar (gregor DOT brunmar AT home DOT se)
See issue #2577 for more details.

svn path=/trunk/; revision=28397
2007-08-18 14:03:12 +00:00
Colin Finck
64e01f1c3a Fix cabman build breakage, when compiling it on Windows hosts with GCC
(this is true, other tested build configurations did not make any problems :-P)

svn path=/trunk/; revision=28396
2007-08-18 13:46:12 +00:00
Colin Finck
3f2d0a1c8d Use typedefs64.h in wmc instead of defining the types in the Makefile.
The definition of wchar_t can also be removed as this type is defined in windef.h if it was not defined before.

svn path=/trunk/; revision=28395
2007-08-18 13:21:31 +00:00
Colin Finck
ddf6aa9ca0 Also use typedefs64.h in wrc instead of defining the types in the Makefile.
svn path=/trunk/; revision=28394
2007-08-18 13:09:55 +00:00
Colin Finck
2ebabda1fb - Use typedefs64.h also for 64-bit host system compatibility in cabman.
This unifies the way of 64-bit compatibility and also enables cabman to compile with MSVC.
  The remaining "unsigned long"'s have to be used for casting pointers as the pointers are always 64-bit on 64-bit machines.
- Silence some warnings in MSVC 2005 and also add a MSVC project file.
  When you compiled the zlib library with RosBE, you can now easily use this project file without any changes to compile cabman with MSVC.

svn path=/trunk/; revision=28393
2007-08-18 13:08:58 +00:00
Colin Finck
eca3c5411c Fix the mkhive bug on 64-bit systems, this time correct.
See issue #2272 for more details.

svn path=/trunk/; revision=28392
2007-08-18 10:27:23 +00:00
Colin Finck
fa63b1102e Revert r28389 as it causes a build break, when you perform a full clean build
I'll commit a correct fix later

svn path=/trunk/; revision=28391
2007-08-17 23:08:12 +00:00
Colin Finck
bcb482f04c [AUDIT]
I had to break some SVN locks to add my latest commit. Here I'm undoing some of them now:

builddep.h - Remains unlocked. It just contains basic type definitions and include statements
infcommon.h - Just unlocked this file. It just contains one basic definition and two type definitions
infhost.h - Remains unlocked. It just contains the function prototypes for functions in the other source files
infhostgen.c - Locked again as I did not check this file
infhostget.c - Locked again as I did not check this file
infhostglue.c - Remains unlocked. It just contains a DbgPrint function, which can be found in many ReactOS source files
infhostput.c - Locked again as I did not check this file
inflib.mak - Just unlocked this file. No reason for a makefile to be locked.
README.txt - Just unlocked this file. No reason for a readme file to be locked.

svn path=/trunk/; revision=28390
2007-08-17 22:32:52 +00:00
Colin Finck
fe41b9be51 Fix the long-standing mkhive bug on 64-bit systems
This is now done by adding a "typedefs64.h" header file, which uses int's instead of long's for 32-bit values. As far as I know, this is the only way to avoid the problem that a long has a size of 64-bit on 64-bit systems.
This header file is now used in the host makefiles of cmlib, inflib and mkhive. It is also suitable for the other host tools, which need 32-bit values (will do some changes there in the next few days).

Unfortunately, Live-CDs still do not work because of another bug (see bug #2290).
But I compared the hives created by 32-bit Debian Linux and 64-bit Debian Linux and after these changes, they are exactly the same.
See issue #2272 for more details.

svn path=/trunk/; revision=28389
2007-08-17 22:17:13 +00:00
Magnus Olsen
c4bb3a9eb4 fixing the build and adding wine d3d8 and wined3d to bootcd
svn path=/trunk/; revision=28388
2007-08-17 19:41:23 +00:00
Magnus Olsen
3e5582c97f adding wine dx to the build all, wined3d and d3d8 is from wine cvs server date 17/8-2007
svn path=/trunk/; revision=28387
2007-08-17 19:24:59 +00:00
Magnus Olsen
7d9fb66422 This is a temporary solution to our DX problem
it will take some times getting native DirectX working in user mode. 
Wine Have manger ported their DirectX to Windows, And after some help 
from wine (Roderick Colenbrander aka Thunderbird), That mean we got 
now DirectX8 support in ReactOS from wine DirectX (base on opengl).
(rember disable the SSE in mesa before trying it, and it is untested
in ReactOS)
    

svn path=/trunk/; revision=28386
2007-08-17 18:29:23 +00:00
James Tabor
aa4f2c2037 Add the rest of the dcattr structure, LocalIcm and flags with VDS size.
svn path=/trunk/; revision=28385
2007-08-17 17:55:56 +00:00
James Tabor
0774d97b40 Add 4 more dcattr units.
svn path=/trunk/; revision=28384
2007-08-17 16:24:28 +00:00
Magnus Olsen
188728e7c5 forget remove a wine hack from this headers
svn path=/trunk/; revision=28383
2007-08-17 15:41:54 +00:00
Magnus Olsen
2eb1586e0a updating wine dx headers, adding some new wine dx header, from wine cvs date 17/08-2007
svn path=/trunk/; revision=28380
2007-08-17 13:59:31 +00:00
James Tabor
a02bfc6197 Fix NtUserLoadKeyboardLayoutEx size.
svn path=/trunk/; revision=28378
2007-08-17 02:06:36 +00:00
James Tabor
e2d01e0703 Use Gdi32 DeleteDC now. Soon tests will start with most Get functions using dcattr.
svn path=/trunk/; revision=28377
2007-08-17 00:40:57 +00:00
James Tabor
dc8b712ce4 Removed two unsupported types.
svn path=/trunk/; revision=28376
2007-08-17 00:10:37 +00:00
James Tabor
2a6ac07ef7 Fix memory DC so CreateCompatibleDC with null will create it. Based on msdn2 info, we need to setup display surface, etc.
svn path=/trunk/; revision=28375
2007-08-17 00:08:48 +00:00
James Tabor
f0415590e9 Removed NtGdiSetWorldTransform. Made the code info updates. Need to report from wine Path.c in win32k. I guess around in the next two weeks will be ok.
svn path=/trunk/; revision=28374
2007-08-16 22:08:02 +00:00
Ged Murphy
047296bb00 Revert 28351. The bug lies elsewhere
svn path=/trunk/; revision=28373
2007-08-16 20:17:39 +00:00
James Tabor
c0622d865c Added note to EngQueryEMFInfo.
svn path=/trunk/; revision=28368
2007-08-16 00:41:26 +00:00
James Tabor
3e972976a4 Implemented a handfull of easy Eng APIs.
svn path=/trunk/; revision=28367
2007-08-16 00:12:10 +00:00
Aleksey Bragin
fa6d836c61 - Uncomment ukranian language, since the translation was fixed in r27745.
svn path=/trunk/; revision=28366
2007-08-15 20:44:26 +00:00
Aleksey Bragin
96b8f65c46 - Merge 28364.
svn path=/branches/winldr/; revision=28365
2007-08-15 20:08:25 +00:00
Aleksey Bragin
0364357251 Feng Yuning <fengyuning1984@gmail.com>:
- Fix ntfs reading problem (occurs when trying to load Windows from an NTFS partition, reading always failed).

svn path=/trunk/; revision=28364
2007-08-15 20:04:50 +00:00
Daniel Reimer
85c976b666 Fix some mistakes I made
svn path=/trunk/; revision=28363
2007-08-15 17:52:57 +00:00
Daniel Reimer
fbba3e614a Updated German Translations for access and mmsys CPLs
svn path=/trunk/; revision=28362
2007-08-15 16:45:24 +00:00
Colin Finck
0afb01de39 Somehow the "resource.h" and "rsrc.rc" files were missing in Fireball's commit.
This fixes the build of "find".

svn path=/trunk/; revision=28360
2007-08-15 16:07:32 +00:00
Daniel Reimer
2995c86adb German RC Files Update
charmap, devmgmt, servman, wordpad, fedebug: updated the License to a German Translation from Notepad
matrix, explorer, syssetup: small RC File fixes
desk, newdev, translated new stuff
Still tbd: access and mmsys

svn path=/trunk/; revision=28358
2007-08-15 15:48:42 +00:00
Aleksey Bragin
e129710f4a Dmitry Chapyshev <lentind@yandex.ru>:
- Fix so that letters like "p" or "y" are correctly displayed in messageboxes.

svn path=/trunk/; revision=28351
2007-08-15 14:49:44 +00:00
Aleksey Bragin
dfbe549c81 Dmitry Chapyshev <lentind@yandex.ru>:
- Russian translation fixes
- Separation of hardcoded strings into resource files

svn path=/trunk/; revision=28350
2007-08-15 14:46:36 +00:00
Ged Murphy
4e51142f10 move mmsys icons into the resources folder
svn path=/trunk/; revision=28346
2007-08-15 12:50:21 +00:00
Aleksey Bragin
6ed2f68a65 Dmitry Chapyshev <lentind@yandex.ru>:
- Add some icons to mmsys.
- Change ugly powercfg icons to better one.

svn path=/trunk/; revision=28345
2007-08-15 12:41:24 +00:00
Andrew Munger
421174102d Fixup the R_MAGIC code.
svn path=/trunk/; revision=28344
2007-08-15 07:45:55 +00:00
Art Yerkes
b8921e7fad Fix size of handle count database. We really didn't want to change the size
we remembered for the old one, and the newly computed size was wacky too.
We just want to add 4 to i and 4 * entry size to the size.

This was found by Wax.

svn path=/trunk/; revision=28343
2007-08-15 05:30:32 +00:00
James Tabor
9b8fc0d903 GdiComment, example port from Wine.
svn path=/trunk/; revision=28342
2007-08-15 01:41:30 +00:00
Timo Kreuzer
6f54ba60ab - Rename NtGdiCreateBitmap to IntGdiCreateBitmap and remove SEH
- implement new NtGdiCreateBitmap, calling IntGdiCreateBitmap with SEH
- Use only IntGdiCreateBitmap internally
- implement BITMAPOBJ_GetRealBitsPixel, finding an appropriate value for unsupported values of BitsPixel
- make parameter validation more windows compatible

svn path=/trunk/; revision=28341
2007-08-14 23:22:07 +00:00
Hervé Poussineau
d91a924361 Do not import RtlDuplicateUnicodeString from ntoskrnl, it doesn't exist on MS Windows XP
svn path=/trunk/; revision=28340
2007-08-14 17:15:16 +00:00
Hervé Poussineau
7278d4e247 Implement BackupEventLogA/W, ClearEventLogA/W, CloseEventLog, DeregisterEventSource, GetNumberOfEventLogRecords, GetOldestEventLogRecord, OpenBackupEventLogA/W, OpenEventLogA/W, ReadEventLogA/W, RegisterEventSourceA/W by calling appropriate method in eventlog.exe
Add correct implementation for ReportEventW, but do not activate it (WIDL doesn't support the prototype)

svn path=/trunk/; revision=28338
2007-08-14 13:20:14 +00:00
Hervé Poussineau
3bf2d78767 Forward RegisterEventSourceW and DeregisterEventSource to eventlog service
svn path=/trunk/; revision=28337
2007-08-14 08:49:29 +00:00
Hervé Poussineau
91add81a87 Start the RPC server in eventlog service
svn path=/trunk/; revision=28336
2007-08-14 08:48:02 +00:00
Hervé Poussineau
979222a38c Add back idl for eventlog
svn path=/trunk/; revision=28335
2007-08-14 08:01:01 +00:00
Ged Murphy
bea20932d4 only display resolutions which match the current frequency
svn path=/trunk/; revision=28333
2007-08-13 23:33:48 +00:00
Ged Murphy
26fb8f8d76 remove double comment
svn path=/trunk/; revision=28326
2007-08-13 21:09:49 +00:00
Ged Murphy
e22ac7131d add a temp fix to bypass our incomplete urlmon.idl
svn path=/trunk/; revision=28325
2007-08-13 21:06:05 +00:00
Ged Murphy
ea8a786bc0 - fix the code, untested
*note, shouldn't this be in rosapps?

svn path=/trunk/; revision=28324
2007-08-13 20:52:47 +00:00
Ged Murphy
95a14312ca Don't overshoot the for loop, fixes a memory leak
svn path=/trunk/; revision=28323
2007-08-13 20:20:31 +00:00
Maarten Bosma
cb14899998 Add a tiny command line download tool.
svn path=/trunk/; revision=28322
2007-08-13 20:09:47 +00:00
Hervé Poussineau
a8653e49fb Silent mmdrv a bit
svn path=/trunk/; revision=28320
2007-08-13 15:55:41 +00:00
Hervé Poussineau
0d694c9494 Check username/password when unlocking the workstation
Fix typo

svn path=/trunk/; revision=28318
2007-08-13 14:54:14 +00:00
Hervé Poussineau
6047f75c71 Add missing LOGON32_* constants
svn path=/trunk/; revision=28317
2007-08-13 14:51:02 +00:00
Hervé Poussineau
92e384aee9 Use the profile returned by GINA before calling LoadUserProfileW()
Destroy the environment when not needed anymore
Better cleanup in case of error

svn path=/trunk/; revision=28316
2007-08-13 14:23:03 +00:00
Hervé Poussineau
e65bdff8a0 Cleanup WlxInitialize(), WlxStartApplication() and WlxActivateUserShell()
Allocate and return a valid PWLX_PROFILE structure in DoLoginTasks
Fix some warnings

svn path=/trunk/; revision=28315
2007-08-13 14:20:36 +00:00
Hervé Poussineau
c13edbee03 Take care of lpProfileInfo->lpProfilePath in LoadUserProfileW
Return required size in GetUserProfileDirectoryW if buffer is too small

svn path=/trunk/; revision=28314
2007-08-13 14:18:49 +00:00
Hervé Poussineau
e78d113358 Convert language file for UTF8 to ASCII.
See issue #2569 for more details.

svn path=/trunk/; revision=28313
2007-08-13 12:04:54 +00:00
Art Yerkes
3dbef74491 Make boot options for the bootcd dependent on DBG. Suggested by Caemyr.
svn path=/trunk/; revision=28311
2007-08-13 03:10:40 +00:00
Timo Kreuzer
007aa094f9 65 tests for NtGdiCreateBitmap
svn path=/trunk/; revision=28308
2007-08-12 22:33:21 +00:00
Eric Kohl
6ffa8db23a Fix a typo.
svn path=/trunk/; revision=28307
2007-08-12 21:50:37 +00:00
Eric Kohl
9072c8ce96 Add some mouse keys settings and general settings.
svn path=/trunk/; revision=28306
2007-08-12 21:19:52 +00:00
Timo Kreuzer
939a564d17 - add gdihv to rosapps build
- comment out OpenProcess, it crashes ros again

svn path=/trunk/; revision=28305
2007-08-12 20:12:21 +00:00
Colin Finck
ff30235bb7 Metadata enhancement for rbuild and version report by Marc Piulachs (marc DOT piulachs AT codexchange DOT net)
See issue #2547 for more details.

svn path=/trunk/; revision=28304
2007-08-12 19:17:00 +00:00
Timo Kreuzer
79b789d4b7 move NtGdiBitBlt, NtGdiTransparentBlt, NtGdiExtFloodFill, NtGdiMaskBlt, NtGdiPlgBlt, NtGdiStretchBlt, NtGdiAlphaBlend from bitmaps.c to painting.c
svn path=/trunk/; revision=28302
2007-08-12 16:20:29 +00:00
Colin Finck
5bb7f86ce6 Finally uncomment the Norwegian keyboard layout again, the bug is really fixed by recent changes :-)
See issue #2414 for more details.

svn path=/trunk/; revision=28301
2007-08-12 15:55:56 +00:00
Timo Kreuzer
2342abfc76 rename NtGdiGetBitmapDimensionEx to NtGdiGetBitmapDimension, update ntgdibad.h
svn path=/trunk/; revision=28300
2007-08-12 15:20:09 +00:00
Magnus Olsen
f41e3a0f1a win32kdxtest does not contain any more test for NtGdiDdQueryDirectDrawObject
So now I start adding new test, that I did manual testing for and reading debugout put for. 
we still missing test for NtGdiDdQueryDirectDrawObject

svn path=/trunk/; revision=28299
2007-08-12 14:11:00 +00:00
Magnus Olsen
b694e14566 update with more test for w32knapi
svn path=/trunk/; revision=28298
2007-08-12 12:31:10 +00:00
Hervé Poussineau
cc185a5b73 Update code to add back support for ACPI
svn path=/trunk/; revision=28297
2007-08-12 08:37:38 +00:00
James Tabor
fcd3ddadc4 Added two new subroutines in support for writing data to and from user space. Fixed calc in CoordCnvP to use float not fixed.
svn path=/trunk/; revision=28296
2007-08-12 07:34:23 +00:00
Christoph von Wittich
66469de606 put typelibs which are embedded in win32dlls into $(INTERMEDIATE)
svn path=/trunk/; revision=28295
2007-08-11 21:42:02 +00:00
Christoph von Wittich
b95a167c31 don't touch absolute paths
this fixes the build when using absolute paths in ROS_INTERMEDIATE or ROS_OUTPUT

svn path=/trunk/; revision=28294
2007-08-11 21:22:00 +00:00
Eric Kohl
e379a4d781 Add high contrast settings
svn path=/trunk/; revision=28293
2007-08-11 20:53:52 +00:00
Aleksey Bragin
8dae7ddffe - Last part of Alex's work on CM before he left ReactOS development. It was unfinished, so I had to insert a few hacks and comment out some code to make it working in trunk.
- Implement subkey creation code (for NtCreateKey and CmiConnectHive) based on the new Cm branch code (just as all the other routines were changed previously).
- Also support creating hash leaves, used in XP hives, since all the new code was already able to read them.

svn path=/trunk/; revision=28292
2007-08-11 19:03:00 +00:00
James Tabor
edaf84b215 Added a set option to ModifyWorldTransform.
svn path=/trunk/; revision=28291
2007-08-11 18:15:02 +00:00
Magnus Olsen
01d9041103 adding more dx test to w32knapi, convert from win32kdxtest tool
svn path=/trunk/; revision=28290
2007-08-11 15:48:50 +00:00
Aleksey Bragin
ba230c0883 - Merge 26992, 27646, 27679, 27966, 28258.
- WinLdr now is up-to-date with trunk (28288).

svn path=/branches/winldr/; revision=28289
2007-08-11 14:38:31 +00:00
Magnus Olsen
2b8f46f472 adding more dx test to w32knapi, convert from win32kdxtest tool
svn path=/trunk/; revision=28288
2007-08-11 14:35:44 +00:00
Aleksey Bragin
d39eaeec7b - Merge 26782, 26783, 26785, 26786
- Merge 26842, 26847, 26861, 26867
- Merge 26958

svn path=/branches/winldr/; revision=28287
2007-08-11 14:32:39 +00:00
Aleksey Bragin
6cac5e3b52 - Fix warnings when compiled with GCC 4.x
- Make compilable in recent RosBE

svn path=/branches/winldr/; revision=28286
2007-08-11 14:25:06 +00:00
Thomas Bluemel
6dc469edbb CallWindowProc returns 0 if lpPrevWndFunc is NULL
svn path=/trunk/; revision=28285
2007-08-11 11:55:17 +00:00
Magnus Olsen
e6980dd58b update with some more dx test
svn path=/trunk/; revision=28284
2007-08-11 10:11:19 +00:00
Aleksey Bragin
b99f4db352 - Merge 26302 (Freeldr's own DEBUG -> ROS's global DBG)
svn path=/branches/winldr/; revision=28283
2007-08-11 09:55:12 +00:00
Aleksey Bragin
9a6f4d043e Merge part of 26117 (typo fix), 26194
svn path=/branches/winldr/; revision=28282
2007-08-11 09:41:06 +00:00
Aleksey Bragin
e53560c761 Merge Revision: 25803
Author: dgorbachev
Message:
- fix "keyboard does not respond" bug on Biostar board (thanks to Peter Krawies)
- fix printf()


svn path=/branches/winldr/; revision=28281
2007-08-11 09:22:22 +00:00
Aleksey Bragin
056b071be7 - Minor code changes, plus a temporary (DPRINT1) change for the HandleCount != 0 problem.
svn path=/trunk/; revision=28280
2007-08-11 09:04:17 +00:00
Magnus Olsen
58272e652f Adding dx test from my win32kdxtest to win32knapi test.
win32kdxtest are more like a analysis tools to examine some struct and dumping it, 
win32knapi is true test tools 

svn path=/trunk/; revision=28279
2007-08-11 08:52:38 +00:00
James Tabor
56edf011f1 Added EMF and MF support to Ext-FloodFill. Changed gdi32.def too.
svn path=/trunk/; revision=28278
2007-08-11 07:57:46 +00:00
James Tabor
634225118c Add Wine port Metafile call to SetTextCharacterExtra.
svn path=/trunk/; revision=28277
2007-08-11 07:34:57 +00:00
James Tabor
e00125a8d6 Add Set-ModifyWorldTransform to gdi32. Added error set in GdiGetHandleUserData.
svn path=/trunk/; revision=28276
2007-08-11 07:25:35 +00:00
James Tabor
87243c8c1a Removed Ex from NtGdiSetBitmapDimensionEx and NtGdiSetBrushOrgEx.
svn path=/trunk/; revision=28275
2007-08-11 06:29:31 +00:00
Timo Kreuzer
08bb46f842 add syscall list for windows 2000 SP4, so GreatLord can do testing
svn path=/trunk/; revision=28274
2007-08-10 23:55:54 +00:00
Aleksey Bragin
8b82da55a1 - RtlpCreateUnicodeString() -> RtlCreateUnicodeString()
svn path=/trunk/; revision=28273
2007-08-10 18:41:14 +00:00
James Tabor
63316363bd Added CriticalRegions at locations working with FirstDce.
svn path=/trunk/; revision=28272
2007-08-10 18:14:38 +00:00
James Tabor
be5bce8b2a - Removed NtGdiLPTODP/DPTOLP from w32ksvc.db and updated ntgdibad.h.
- Connected the gdi32 parts.

svn path=/trunk/; revision=28270
2007-08-10 07:39:46 +00:00
James Tabor
1ed0850348 Needed the w32ksvc.db too.
svn path=/trunk/; revision=28269
2007-08-10 06:55:18 +00:00
James Tabor
12fdc9f38e - Removed NtGdiPie from w32ksvc.db, leaving NtGdiPie in fillshap.c and updated ntgdibad.h.
- Separated printing.c to printing.c and coord.c. This was for LP to DP.
- Fixed flags.

svn path=/trunk/; revision=28268
2007-08-10 06:47:00 +00:00
James Tabor
674c1a507f Fix a problem in metafile deallocation.
svn path=/trunk/; revision=28267
2007-08-10 05:52:26 +00:00
Colin Finck
3c1d31c4a9 Changes in the slovak translation of taskmgr by Mario Kacmar (kario AT szm DOT sk)
See issue #2552 for more details.

svn path=/trunk/; revision=28266
2007-08-09 16:53:31 +00:00
Timo Kreuzer
b395135182 fix icon display
svn path=/trunk/; revision=28265
2007-08-09 14:42:33 +00:00
Timo Kreuzer
e7e1292fea add myself to CREDITS
svn path=/trunk/; revision=28264
2007-08-09 12:47:07 +00:00
Magnus Olsen
e915e72713 win32k
Implement NtGdiEngStretchBlt, NtGdiEngLockSurface                              

gdi32
Implement EngStretchBlt, EngLockSurface                              

Fix small typo in NtGdiEngBitBlt

svn path=/trunk/; revision=28261
2007-08-09 10:11:47 +00:00
Magnus Olsen
b7aca87de2 fix a typo thx jimtablor
svn path=/trunk/; revision=28260
2007-08-09 09:36:15 +00:00
Aleksey Bragin
90307e077e One of Alex's uncommitted patches while he was working on the Cm branch:
- Fix CmpCacheTable and CmpNameCacheTable definition.
- Fix GET_HASH_ENTRY definition.
- Add KCB Lock Acquire/Release macros by Index and Key.
Has no effect on current code, but fixes some bugs in the branch-based code

svn path=/trunk/; revision=28259
2007-08-09 08:35:11 +00:00
Aleksey Bragin
79d430fe4a - Fix DBG=KDBG=0 build
svn path=/trunk/; revision=28257
2007-08-09 07:50:31 +00:00
Aleksey Bragin
a21d95da1f - Set correct hive version in the hive structure
svn path=/trunk/; revision=28256
2007-08-09 07:39:47 +00:00
James Tabor
6de3763291 - Removed NtGdiSetAbortProc and NtGdiEscape from w32ksvc.db, leaving NtGdiEscape in print.c and updated ntgdibad.h.
svn path=/trunk/; revision=28255
2007-08-09 07:21:12 +00:00
Aleksey Bragin
77ea930fcb - Fix definition of _DESCRIPTOR/KDESCRIPTOR
- Fix all code/data structures of GDT/IDT to match new definition
- Kernel is now MSVC/WDK compilable (but not linkable yet)
- Remove two previous fixes for bootvid/kdcom MSVC/WDK compiling

svn path=/trunk/; revision=28254
2007-08-09 07:12:59 +00:00
James Tabor
56ed3e702f - Fixed NtGdiAlphaBlend prototype.
- Changed name for NtGdiSetIcmMode, updated ntgdibad.h.
- Fix size issue in w32ksvc.db.

svn path=/trunk/; revision=28253
2007-08-09 06:48:07 +00:00
Magnus Olsen
e11b16d9e7 gdi32
implement EngBitBlt
win32k
implement NtGdiEngBitBlt

svn path=/trunk/; revision=28252
2007-08-08 23:53:58 +00:00
Magnus Olsen
bc272f3edd Implement NtGdiEngAlphaBlend
Implement EngAlphaBlend

svn path=/trunk/; revision=28251
2007-08-08 23:03:46 +00:00
Daniel Reimer
54c4a1be66 Add Cardsbav.dll to Build of RosApps
svn path=/trunk/; revision=28250
2007-08-08 22:05:04 +00:00
Colin Finck
83a2f634bd Slovak translations for Explorer, Taskmgr and Winhelp by Mario Kacmar (kario AT szm DOT sk)
See issue #2543,2551,2552 for more details.

svn path=/trunk/; revision=28249
2007-08-08 19:23:53 +00:00
James Tabor
cce849b312 - Removed NtGdiGet/SetArcDirection and NtGdiGetSetTextCharExtra, update ntgdibad.h.
- Updated NtGdiGet/AndSet/DCDword.
- Changes to other files to reflect the updates and removals.

svn path=/trunk/; revision=28248
2007-08-08 18:58:06 +00:00
Sylvain Petreolle
812a9e4d7b use unicode directive
svn path=/trunk/; revision=28247
2007-08-08 16:41:25 +00:00
Sylvain Petreolle
c03ea6d0ce use unicode directive
svn path=/trunk/; revision=28246
2007-08-08 16:34:54 +00:00
Colin Finck
5e9cfe8af3 Never use spaces in rbuild files!
Also re-unlock the file again

svn path=/trunk/; revision=28245
2007-08-08 15:22:02 +00:00
Hervé Poussineau
e1fb5a56a5 Replace a call to undocumented function CreateUserProfile by its documented equivalent (LogonUser + LoadUserProfile)
In all cases, this code should be removed once NtUnloadKey is implemented
Add a message to remind when to remove this hack

svn path=/trunk/; revision=28244
2007-08-08 13:44:03 +00:00
Hervé Poussineau
583043c3b0 Be less alarming in a debug message
svn path=/trunk/; revision=28243
2007-08-08 10:46:03 +00:00
Hervé Poussineau
7707da030b Add SCESTATUS_* constants
svn path=/trunk/; revision=28242
2007-08-08 08:58:58 +00:00
Hervé Poussineau
6d37743cf2 Improve LoadUserProfileW, by creating the profile if it doesn't exist
svn path=/trunk/; revision=28241
2007-08-08 08:26:44 +00:00
Hervé Poussineau
32789f3a9e Implement LsaLookupSids
Add a fake implementation to LsaLookupNames to return some information

svn path=/trunk/; revision=28240
2007-08-08 08:24:32 +00:00
James Tabor
982677792e Removed NtGdiGetRelAbs. Use GetDCDWord in gdi32. Update ntgdibad.h.
svn path=/trunk/; revision=28239
2007-08-08 02:20:43 +00:00
Timo Kreuzer
2fdc0258c0 remove NtGdiGetClipRgn from win32k
svn path=/trunk/; revision=28238
2007-08-08 02:03:25 +00:00
James Tabor
d89aa3a672 Add two more Dc_Attr Dirty flags.
svn path=/trunk/; revision=28237
2007-08-08 01:28:36 +00:00
Timo Kreuzer
a10bbf4d75 GetClipRgn: use NtGdiGetRandomRgn
svn path=/trunk/; revision=28236
2007-08-08 01:03:54 +00:00
James Tabor
3976fc7361 Removed AbortProc from WIN_DC_INFO. AbortProc is handled in gdi32 and stored in the Dc_Attr->pvLDC (LDC) structure. LDC structure is used for printing and EMF functions. WIN_DC_INFO is still useful and might stick around for a while.
svn path=/trunk/; revision=28235
2007-08-08 01:02:32 +00:00
James Tabor
2ccda083f9 Moved CurrentPos to Dc_Attr.ptlCurrent. Plugged in NtGdiGet-AndSetDCDword with out any internal support code. Still sorting out internal calls to old NtGdi functions. Ntgdibad.h will be updated on each removed external call of these functions are gone from w32ksvc.db.
svn path=/trunk/; revision=28234
2007-08-08 00:46:11 +00:00
Timo Kreuzer
18f3bc28a0 make NtGdiGetRandomRgn behave more like on XP, 33/34 tests now passing in w32knapi test
svn path=/trunk/; revision=28233
2007-08-08 00:28:08 +00:00
Timo Kreuzer
8f82a2f3ed - restructure syscall code, add edi to RosSyscall clobber list
- more NtGdiGetRandomRgn tests
- more TEST -> RTEST

svn path=/trunk/; revision=28232
2007-08-07 23:13:25 +00:00
Timo Kreuzer
ac4a0d249c fix build part 2
svn path=/trunk/; revision=28231
2007-08-07 23:06:51 +00:00
Ziliang Guo
e21a6e279a Fix build part 1, add precomp.h into bootvid.rbuild
svn path=/trunk/; revision=28230
2007-08-07 23:04:19 +00:00
James Tabor
d64282be7c Don't write to user space after an error. We do write if TRUE.
svn path=/trunk/; revision=28229
2007-08-07 22:19:32 +00:00
Christoph von Wittich
61583dabbe add support for Visual Studio 2008 (Orcas)
svn path=/trunk/; revision=28228
2007-08-07 21:19:22 +00:00
Aleksey Bragin
b5c613692e - WDK support for bootvid and kdcom.
svn path=/trunk/; revision=28227
2007-08-07 20:58:55 +00:00
Christoph von Wittich
d076ba3951 revert more.c to r25042
svn path=/trunk/; revision=28226
2007-08-07 20:52:55 +00:00
Aleksey Bragin
47bb187225 - Force using ReactOS's ntverp.h instead of the WDK.
- Don't include ntverp.h twice.

svn path=/trunk/; revision=28225
2007-08-07 20:51:50 +00:00
Aleksey Bragin
4224d31e22 - Make CSQ compatible with MSVC/WDK.
svn path=/trunk/; revision=28224
2007-08-07 20:49:09 +00:00
Aleksey Bragin
0e450718cd - Rename exception.c to except.c to avoid conflict with another exception.c in rtl project.
- Fix WDK compatibility.

svn path=/trunk/; revision=28223
2007-08-07 20:46:24 +00:00
Aleksey Bragin
ed479b0bf9 - Fix build (remove RtlUnwind redeclarations).
svn path=/trunk/; revision=28222
2007-08-07 20:20:15 +00:00
Aleksey Bragin
735dbb12c6 - Add RtlUnwind to headers, and make list.h MSVC-compatible.
- Rename framebased.asm to framebased.S and write in GAS compatible assembly, instead of using nasmw.
- Fix WDK compatibility.

svn path=/trunk/; revision=28221
2007-08-07 20:11:21 +00:00
Christoph von Wittich
b95ab0c9d7 fix release build
svn path=/trunk/; revision=28220
2007-08-07 20:04:46 +00:00
James Tabor
b82f6444f6 Don't write to user space with after an error.
svn path=/trunk/; revision=28219
2007-08-07 19:29:48 +00:00
Hervé Poussineau
434e1ef9df Support absolute paths for intermediate/output directories
Never put real intermediate/output directory names in generated makefile, use $(INTERMEDIATE) and $(OUTPUT) instead

svn path=/trunk/; revision=28218
2007-08-07 15:08:09 +00:00
Hervé Poussineau
ebb26326a5 Remove some debug messages
scsiport.c: Do not try to open Device subkey if we don't have a service key
cmhardwr.c: Write BIOS information only if we succeeded to open the key

svn path=/trunk/; revision=28217
2007-08-07 11:45:30 +00:00
Aleksey Bragin
9f62e7d5b8 - Remove empty init.S
svn path=/trunk/; revision=28216
2007-08-07 10:24:06 +00:00
The Wine Synchronizer
704b69f83f Autosyncing with Wine HEAD
svn path=/trunk/; revision=28215
2007-08-07 07:27:43 +00:00
James Tabor
eadf106405 Move Break Extra and Count justification to Dc_Attr.
svn path=/trunk/; revision=28214
2007-08-07 07:27:12 +00:00
Hervé Poussineau
8039a51a3d Add mlang.dll to bootcd
svn path=/trunk/; revision=28213
2007-08-07 06:54:21 +00:00
The Wine Synchronizer
2deacc72e3 Autosyncing with Wine HEAD
svn path=/trunk/; revision=28212
2007-08-07 06:52:34 +00:00
Hervé Poussineau
c86fc22726 Prepare import of mlang library. This revision does not compile.
svn path=/trunk/; revision=28211
2007-08-07 06:48:01 +00:00
James Tabor
914d831991 Removed NtGdiGetDCOrgEx, GetViewportExt/OrgEx, GetWindowExt/OrgEx. Added NtGdiGetDCPoint.
Will update ntgdibad.h once we sort out the internal use of these functions.

svn path=/trunk/; revision=28209
2007-08-07 05:58:29 +00:00
Timo Kreuzer
e54ae7b31f update ntgdibad.h
svn path=/trunk/; revision=28208
2007-08-07 01:28:02 +00:00
Timo Kreuzer
234451155e call IntGdiExtSelectClipRgn from inside win32k instead of NtGdiSelectClipRgn
remove NtGdiSelectClipRgn from win32k

svn path=/trunk/; revision=28207
2007-08-07 01:27:17 +00:00
Timo Kreuzer
4237ee71bd SelectClipRgn: call NtGdiExtSelectClipRgn with RGN_COPY
svn path=/trunk/; revision=28206
2007-08-07 00:56:12 +00:00
Magnus Olsen
e7b5eb420f Remove init.s and put Thomas's code into boot.s, so we don't have 2 files for the same purpose.
Write the few lines of C code that were part of the "final" code into boot.S as 
well, to avoid yet another trampoline jump. and
Thanks again to Thomas for finding and fixing the bug.

svn path=/trunk/; revision=28205
2007-08-06 23:55:35 +00:00
Timo Kreuzer
67759e297b fix build
svn path=/trunk/; revision=28204
2007-08-06 23:47:36 +00:00
Magnus Olsen
eac8e57854 Update win32k syscall table layout to win32xp sp2
this is not finish update, we are missing allot stub in 
win32k. before this layout are finish we need thuse stub in place. 

svn path=/trunk/; revision=28203
2007-08-06 19:57:58 +00:00
Daniel Reimer
f3c126accd Decrease cards.dll size by 700 kB by cuttung down all files to 8-Bit Colors.
svn path=/trunk/; revision=28202
2007-08-06 19:43:14 +00:00
Daniel Reimer
efbd79dea9 - Forgot two wrong sizes.
- Reverted to 24 bit Color. ROS's whole Cards.dll uses it, so I keep the colors here too.
- Freecard is now a monochrome Bitmap. This results in a Semi Transparent Card (= Dark Green) instead of a grey square. Try in XP Solitaire. Looks way better and its the way MS does it too.

svn path=/trunk/; revision=28201
2007-08-06 19:33:16 +00:00
Colin Finck
541deeba86 Expand environment strings in the szWallpaper variable. (patch by Marc Piulachs, marc DOT piulachs AT codexchange DOT net)
This is the same way how Windows XP does it (allowing environment variables in the "Wallpaper" registry value, but not as an argument for SystemParametersInfo, SPI_SETDESKWALLPAPER)

See issue #2536 for more details.

svn path=/trunk/; revision=28200
2007-08-06 19:07:34 +00:00
Hervé Poussineau
0838232088 Add more uuids in uuid lib
svn path=/trunk/; revision=28199
2007-08-06 16:17:55 +00:00
Hervé Poussineau
f6cd5eefb6 Generate as much headers as possible from idl
svn path=/trunk/; revision=28198
2007-08-06 16:16:57 +00:00
Hervé Poussineau
c5a567cffc Add some prototypes
svn path=/trunk/; revision=28197
2007-08-06 16:05:08 +00:00
Daniel Reimer
ea3c1cdddb - Resize wrong sized Backgrounds.
- Add the one from Bug 2535 (thx to Rhy Thornton (rhy <AT> leperkhanz <DOT> com) for it.) and replace the ugly Bird in Background 9. Right now only a resized one, but it still looks nice.

svn path=/trunk/; revision=28196
2007-08-06 15:23:11 +00:00
Colin Finck
270493f197 Starfield Screensaver by Marc Piulachs (marc DOT piulachs AT codexchange DOT net)
I committed the latest attachment (the C version) from bug #2510
See issue #2510 for more details.

svn path=/trunk/; revision=28195
2007-08-06 14:56:17 +00:00
Hervé Poussineau
c88c4b4ad1 Set setup type to 0 before the end of 2nd stage in syssetup instead of winlogon
svn path=/trunk/; revision=28194
2007-08-06 14:41:05 +00:00
Magnus Olsen
e753659117 fix a smaller issue with win32ksys, when u did delete win32k.s or type make win32ksys_clean
this file was not being rebuild or remove.  

svn path=/trunk/; revision=28193
2007-08-06 13:20:31 +00:00
Daniel Reimer
064b0ec043 Reduce from 24 Bit Colors to 8 Bit. No real difference in Quality, but waaay smaller. 3 MB reduced size.
svn path=/trunk/; revision=28192
2007-08-06 13:12:01 +00:00
Hervé Poussineau
8642e3d307 Enable shutdown privilege before trying to reboot
svn path=/trunk/; revision=28191
2007-08-06 11:57:15 +00:00
Hervé Poussineau
ca34acb3d6 Remove ARCH define in config.template.rbuild.
It is a duplicate of the ROS_ARCH environment variable.

svn path=/trunk/; revision=28189
2007-08-06 09:25:03 +00:00
Hervé Poussineau
9d77e4fff4 Add -D option to add variables in generated file
svn path=/trunk/; revision=28188
2007-08-06 09:19:25 +00:00
James Tabor
5a8a0a1af7 Moved Brush Origin to Dc_attr.
svn path=/trunk/; revision=28186
2007-08-06 08:28:54 +00:00
James Tabor
3137bd861c Fix typo.
svn path=/trunk/; revision=28185
2007-08-06 06:28:39 +00:00
James Tabor
2619101eee Move Window and Viewport Ext and Org to Dc_Attr. Tested it with qemu.
svn path=/trunk/; revision=28184
2007-08-06 05:13:47 +00:00
James Tabor
556e9b7da8 Moved most of the old Win struct to Dc_Attr structure. Tested it with qemu.
svn path=/trunk/; revision=28183
2007-08-06 02:48:09 +00:00
Timo Kreuzer
174418b0d1 - convert a bunch of tests to regression tests as they succeed on ros
- add tests for NtGdiGetRandomRgn

svn path=/trunk/; revision=28182
2007-08-05 23:05:02 +00:00
James Tabor
619203c31c Start of the dcattr migration.
svn path=/trunk/; revision=28181
2007-08-05 22:02:12 +00:00
Daniel Reimer
ecfdde12b9 My Present for ya all. A new cards.dll with bigger, photorealistic Bavarian Style Cards. I theory Number 2-5 are NON existant. But to be fully compatible I sat down and made them by myself. Its fully compatible to Windows Solitaire, not ROS Solitaire, which does not like the bigger cards. This needs a fix. Btw if someone finds out how to modify the edges on the cards to be transparent, plz tell me. They need to be waay more round.
svn path=/trunk/; revision=28180
2007-08-05 20:38:19 +00:00
Eric Kohl
c55a8d231d Add the status bar.
svn path=/trunk/; revision=28179
2007-08-05 18:56:39 +00:00
Sylvain Petreolle
ec345d7f85 fix build
svn path=/trunk/; revision=28178
2007-08-05 14:58:58 +00:00
Aleksey Bragin
56c73282c2 - More MSVC fixes
svn path=/trunk/; revision=28174
2007-08-05 11:27:39 +00:00
Eric Kohl
f3af35532e Implement toggle keys option.
svn path=/trunk/; revision=28173
2007-08-05 09:48:34 +00:00
James Tabor
dfd772ea97 Started CreateMetaFile, port from wine. Made changes to the structures. Added new support routines.
svn path=/trunk/; revision=28172
2007-08-05 09:21:00 +00:00
Aleksey Bragin
e8847e55ed - Comment out those lines again (sorry), to prevent having lots of uninstallable revisions built by buildbot. Please re-commit when the real bug is fixed.
svn path=/trunk/; revision=28171
2007-08-05 08:27:41 +00:00
Timo Kreuzer
f00375696c delete gdi32 test from win32 folder, as it is all in apitests folder now
svn path=/trunk/; revision=28170
2007-08-05 03:38:42 +00:00
Timo Kreuzer
58c6a293bc - make apitest.c into a static lib to be used by different tests
- add a gdi32 api test, based on the one in the win32 folder
- add a user32 api test
- change type of test functions to int
- implement a quick 'n dirty html api status output
- uncomment NtGdiTransormPoints in w32kdll.def
- add ASSERT1 macro (ASSERT is already used)
- include some more headers

svn path=/trunk/; revision=28169
2007-08-05 03:32:24 +00:00
James Tabor
342efc07e7 Removed non Enh Metafile stubs from win32k:
- Updated ntgdibad.h.
- List of known functions:
  NtGidConvertMetafileRect
  NtGdiCreateMetafileDC
  NtGdiCreateServerMetaFile
  NtGdiGetServerMetaFileBits
  NtGdiSetMetaRgn
- No updates for Enh Metafile.


svn path=/trunk/; revision=28166
2007-08-04 22:02:39 +00:00
James Tabor
0fc46e2a68 Copy Metafile.c to EnhMFile.c. Separating the code.
svn path=/trunk/; revision=28165
2007-08-04 21:02:55 +00:00
Daniel Reimer
a7c1fcdf5b revert some accidently commited changes in my tree.
svn path=/trunk/; revision=28164
2007-08-04 20:51:54 +00:00
Daniel Reimer
3dd7170968 Add 8 new Backgrounds to cards.dll. thx to Mario Kacmar (kario@szm.sk) (Bug 2416)
svn path=/trunk/; revision=28162
2007-08-04 20:13:19 +00:00
Timo Kreuzer
5f857c9cba small bugfix
svn path=/trunk/; revision=28161
2007-08-04 16:51:10 +00:00
Timo Kreuzer
2669c54fcc - implement quick 'n dirty HTML api status output
- change test function return type to INT
- add ASSERT macro
- include some more headers

svn path=/trunk/; revision=28160
2007-08-04 16:45:12 +00:00
Eric Kohl
cbba52ddde Add remaining sticky keys options.
svn path=/trunk/; revision=28159
2007-08-04 16:41:30 +00:00
Christoph von Wittich
c1152ad29c Fix scanning affinity in IoConnectInterrupt (patch by w3seek)
svn path=/trunk/; revision=28158
2007-08-04 15:52:17 +00:00
Sylvain Petreolle
21876ed8a8 C uses / as dir separator, not \
svn path=/trunk/; revision=28157
2007-08-04 13:22:48 +00:00
Ged Murphy
8db125b5c8 revert the unicode build for now as it causes a problem with our gcc build
svn path=/trunk/; revision=28156
2007-08-04 11:19:51 +00:00
Aleksey Bragin
1e9162f086 - Fix kernel32 compile.
svn path=/trunk/; revision=28155
2007-08-04 10:59:01 +00:00
Eric Kohl
2f2abb39d0 - Ask the user when he closes the window only if the game is still running.
svn path=/trunk/; revision=28154
2007-08-04 10:22:44 +00:00
Aleksey Bragin
415aa5eb49 - Fix NtSetInformationThread(ThreadBasePriority)
- Fix buffer overflow in KeRosDumpStackFrames
- Fix usage of garbage/uninitialized handle entry local variable in ObpCreateHandle
- Fix buffer overflow and logic bug in IoConnectInterrupt
- Fix MSVC warnings

svn path=/trunk/; revision=28153
2007-08-04 08:49:47 +00:00
Aleksey Bragin
ce187084c2 - Appropriate changes to kmtest
svn path=/trunk/; revision=28152
2007-08-04 08:47:52 +00:00
Aleksey Bragin
ac4295e788 - WDK and MSVC compatibility fixes.
svn path=/trunk/; revision=28151
2007-08-04 08:26:58 +00:00
James Tabor
bccb44324c Dc.c :
- Update Get/SetDCBrush/PenColor code.
  * Added dcattr sync flags to Set functions.
  * if'ed out, does compile.
Painting.c :
- Update LP to DP to LP code.
  * Added update flags for Xforms, the best way I understand them.
  * if'ed out.
- Moved Fixme line down and above GetDCObject.

svn path=/trunk/; revision=28150
2007-08-04 07:37:27 +00:00
Timo Kreuzer
9c457ea930 fix some names
svn path=/trunk/; revision=28149
2007-08-03 22:31:55 +00:00
Colin Finck
0ebf3b75fd - Define one LANGUAGE, SUBLANG pair per resource file and not per resource.
This makes it easier for translators and also fixes a mix-up of languages.
- Move the brazilian translations from pt-PT.rc to a new pt-BR.rc file.
- Remove the "#ifdef LANG_WALON" statement from wa-WA.rc and disable this resource file in rsrc.rc instead like it's done for eo-EO.rc.
  These are WINE-specific LANG defines. We also have them in include/reactos/wine/winnt.h, but this file is not included. It has to be decided later how to handle these languages.

See issue #2523 for more details.

svn path=/trunk/; revision=28148
2007-08-03 21:36:53 +00:00
Eric Kohl
a83c2f3d54 Enable "Deck" menu item.
svn path=/trunk/; revision=28146
2007-08-03 18:04:34 +00:00
Ged Murphy
423e234726 build sol as unicode
svn path=/trunk/; revision=28145
2007-08-03 18:01:04 +00:00
Ged Murphy
e4a100a916 don't rename the executable for make install. This should keep w3seek happy for a while :)
svn path=/trunk/; revision=28144
2007-08-03 17:48:24 +00:00
Ged Murphy
85145f3477 don't link to a non existent lib
svn path=/trunk/; revision=28143
2007-08-03 17:34:55 +00:00
Ged Murphy
38acb524ac don't ask everytime the user wants to close the window
svn path=/trunk/; revision=28142
2007-08-03 17:25:22 +00:00
Hervé Poussineau
d68373d641 Fix non mingw backend invocations
svn path=/trunk/; revision=28139
2007-08-03 16:09:09 +00:00
Hervé Poussineau
95029fea84 Create resource output directory before calling bin2res
svn path=/trunk/; revision=28138
2007-08-03 15:33:45 +00:00
Thomas Bluemel
4595bee66c Patch by Frode Lillerud <frode@enkelt.no>
- Basic implementation of logoff.exe
See issue #2509 for more details.

svn path=/trunk/; revision=28137
2007-08-03 15:14:49 +00:00
Colin Finck
e0997c086c Updated ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2524 for more details.

svn path=/trunk/; revision=28136
2007-08-03 15:12:08 +00:00
Hervé Poussineau
d5527355ec syssetup.inf really belongs to output directory, not intermediate one
svn path=/trunk/; revision=28135
2007-08-03 14:33:43 +00:00
Hervé Poussineau
623ca2cf0a Extract resources to intermediate directory
svn path=/trunk/; revision=28134
2007-08-03 13:51:19 +00:00
Hervé Poussineau
28a8baa325 Add -O option, to define where are stored extracted resources
svn path=/trunk/; revision=28133
2007-08-03 13:47:51 +00:00
Daniel Reimer
df1611977b Translate new stuff in German RC File.
svn path=/trunk/; revision=28132
2007-08-03 12:57:12 +00:00
Ged Murphy
ebe6b85b1b add language resources
svn path=/trunk/; revision=28131
2007-08-03 12:54:41 +00:00
Ged Murphy
7de49332f6 add a few more card back bitmaps
svn path=/trunk/; revision=28130
2007-08-03 12:50:49 +00:00
Ged Murphy
4c9ad2ec8a - add a dialog to allow users to change the card backs
- highlights a few drawing bugs in ros

svn path=/trunk/; revision=28129
2007-08-03 12:47:40 +00:00
Hervé Poussineau
85d3e8b1d1 Add missing include directory
svn path=/trunk/; revision=28128
2007-08-03 12:12:41 +00:00
Colin Finck
eb840bfc08 Check if the same Monitor ID (= 10 bytes from the EDID, which can be used to uniquely identify a monitor) appears two times and stop the enumeration in this case.
This is needed for some older monitors (1994-1999), which transmit the EDID data according to the VBE/DDC Standard 1.0.
We assumed that the function for reading the EDID fails, when we input higher controller unit numbers, but some older monitors don't care about the controller unit number and always return valid EDID data.
More information is available at: http://www.vesa.org/public/VBE/VBEDDC11.PDF

See issue #2239 for more details.

svn path=/trunk/; revision=28127
2007-08-03 12:10:43 +00:00
Hervé Poussineau
df770c6d06 Move some more autogenerated files to intermediate directory
Remove POSTAUTO hack in Makefile

svn path=/trunk/; revision=28126
2007-08-03 11:54:33 +00:00
Hervé Poussineau
1a47ede2ff Add ROS_ARCH environment variable
Set -r option of rbuild as mandatory

svn path=/trunk/; revision=28124
2007-08-03 11:35:01 +00:00
Thomas Bluemel
e94c193f12 Revert r28121 as it removes an optimization
svn path=/trunk/; revision=28122
2007-08-03 10:23:19 +00:00
Thomas Bluemel
ff44e1ea45 Improve calculation of new buffer size
svn path=/trunk/; revision=28121
2007-08-03 10:21:59 +00:00
Thomas Bluemel
401e48338f Fix buffer overflow
See issue #2516 for more details.

svn path=/trunk/; revision=28120
2007-08-03 10:12:25 +00:00
Hervé Poussineau
f74d31a796 Create directory before rbuild tries to access it
svn path=/trunk/; revision=28119
2007-08-03 10:12:03 +00:00
Hervé Poussineau
10cc6c5d40 Autogenerate syssetup.inf file in intermediate directory
svn path=/trunk/; revision=28118
2007-08-03 09:41:42 +00:00
Hervé Poussineau
cfda12103c Create the invisible SAS window even in setup mode
Explicitly reboot at the end of 2nd stage
See issue #2431 for more details.

svn path=/trunk/; revision=28116
2007-08-03 09:28:01 +00:00
Thomas Bluemel
eedac786ea Remove GetClassLong hack for GCL_MENUNAME, this is no longer needed
svn path=/trunk/; revision=28115
2007-08-03 08:19:47 +00:00
Thomas Bluemel
a866dc9db1 Patch by Carlo Bramix <carlo.bramix@libero.it>
- Get rid of some code duplication
See issue #2517 for more details.

svn path=/trunk/; revision=28114
2007-08-03 07:35:39 +00:00
Ged Murphy
c5997cd18b activate the properties option in the menu, also make it bold
See issue #2522 for more details.

svn path=/trunk/; revision=28113
2007-08-02 23:31:32 +00:00
Timo Kreuzer
867e2eb7f4 0x124a is NtUserValidateTimerCallback, thanks jimtabor for finding this out.
svn path=/trunk/; revision=28112
2007-08-02 23:29:43 +00:00
Timo Kreuzer
e97388eec3 small bugfix: don't zero terminate the szCSDVersion sting beyond the buffer.
svn path=/trunk/; revision=28111
2007-08-02 22:23:27 +00:00
Timo Kreuzer
9e4807d6e5 NtGdiGetSetBitmapBits:
- use SEH and probe the user mode buffers
- SetLastWin32Error on invalid handle
- move the copying to IntGetSetBitmapBits
- only use IntGetSetBitmapBits from inside win32k
- move NtGdiGetBitmapBits to bitmap.c
- allow copying a number of bytes not matching one entire line, like on windows
I think that was all changes.

svn path=/trunk/; revision=28110
2007-08-02 22:14:32 +00:00
James Tabor
20f9953389 Add NtGdiTransformPoints stub.
svn path=/trunk/; revision=28109
2007-08-02 22:02:23 +00:00
Timo Kreuzer
041123983d remove NtGdiArc, NtGdiArcTo and NtGdiChord from ntgdibad.h
svn path=/trunk/; revision=28107
2007-08-02 21:50:05 +00:00
Timo Kreuzer
603ac00e50 an API test kit + win32k native API test app.
It does syscalls on ros by linking to w32kdll.dll
On windows it uses syscall tables (only winxp sp2 available atm)

svn path=/trunk/; revision=28106
2007-08-02 21:42:37 +00:00
Hervé Poussineau
24de999ac2 Support "root" attribute in <directory> elements
svn path=/trunk/; revision=28102
2007-08-02 14:14:19 +00:00
Thomas Bluemel
d645b9c6d7 Add keyboard layouts again that were removed in r27723
svn path=/trunk/; revision=28099
2007-08-02 10:26:52 +00:00
Thomas Bluemel
5165b3275e Remove cmd_test for now...
svn path=/trunk/; revision=28097
2007-08-02 07:39:55 +00:00
Thomas Bluemel
4f2a8ebce4 Fix compiling rostests
svn path=/trunk/; revision=28096
2007-08-02 06:59:36 +00:00
Thomas Bluemel
e83fc637ea Include stddef.h for ptrdiff_t
svn path=/trunk/; revision=28095
2007-08-02 04:19:52 +00:00
Thomas Bluemel
5a7f727906 Fix buffer overflow in InfpAddSection.
See issue #2516 for more details.

svn path=/trunk/; revision=28094
2007-08-02 04:09:19 +00:00
Christoph von Wittich
4932311395 fix a crash
svn path=/trunk/; revision=28093
2007-08-02 03:08:17 +00:00
Christoph von Wittich
e470bad721 fix null pointer check
svn path=/trunk/; revision=28092
2007-08-02 01:45:02 +00:00
Timo Kreuzer
48428871b5 remove NtGdiArc, NtGdiArcTo and NtGdiChord from win32k, they are not used any longer.
svn path=/trunk/; revision=28091
2007-08-02 01:44:59 +00:00
Christoph von Wittich
2e7009f963 fix another memory leak
svn path=/trunk/; revision=28090
2007-08-02 01:13:28 +00:00
Timo Kreuzer
2ab8c8635c update ntgdibad.h
svn path=/trunk/; revision=28089
2007-08-02 00:25:02 +00:00
Timo Kreuzer
a0c19eb6f9 rename NtGdiSetDCState to IntGdiSetDCState
svn path=/trunk/; revision=28088
2007-08-02 00:23:48 +00:00
Timo Kreuzer
9574b5dbe1 rename NtGdiSetHookFlags into IntGdiSetHookFlags
svn path=/trunk/; revision=28087
2007-08-02 00:16:31 +00:00
Timo Kreuzer
bedc89bb5f rename NtGdiGetDCState to IntGdiGetDCState
svn path=/trunk/; revision=28086
2007-08-02 00:10:15 +00:00
Christoph von Wittich
1ef29d0d83 fix a memory leak
svn path=/trunk/; revision=28085
2007-08-01 22:50:58 +00:00
Christoph von Wittich
953da5af6e fix a memory leak
svn path=/trunk/; revision=28084
2007-08-01 22:41:35 +00:00
Christoph von Wittich
5440600381 don't double free hFile
See issue #2499 for more details.

svn path=/trunk/; revision=28083
2007-08-01 22:04:04 +00:00
Thomas Bluemel
8d60466f8a Special handling for some fake dos devices
svn path=/trunk/; revision=28081
2007-08-01 19:50:28 +00:00
James Tabor
29241f09f4 Move meta code from painting to arc. Including the new Pie function with ifed out.
svn path=/trunk/; revision=28079
2007-08-01 19:26:55 +00:00
Thomas Bluemel
e6e690ba9a Don't output "file not found" messages in recursive searches
svn path=/trunk/; revision=28078
2007-08-01 18:55:47 +00:00
Thomas Bluemel
604b0f6c03 Fix displaying the free space on the volume
svn path=/trunk/; revision=28077
2007-08-01 18:36:23 +00:00
Thomas Bluemel
790a3ef810 Improve output of directory summaries
svn path=/trunk/; revision=28076
2007-08-01 18:18:26 +00:00
Thomas Bluemel
e098f7d858 - Correctly detect volume changes when querying in multiple directories
- "dir directory" displays the contents of a directory

svn path=/trunk/; revision=28075
2007-08-01 17:48:08 +00:00
Thomas Bluemel
1f6dec06f4 Simplify and fix code by using GetFullPathName and GetVolumePathName instead of re-inventing the wheel once again.
See issue #2041 for more details.

svn path=/trunk/; revision=28074
2007-08-01 16:20:16 +00:00
Thomas Bluemel
e42a8d41ff Fix a memory leak in the dir command
svn path=/trunk/; revision=28073
2007-08-01 14:32:57 +00:00
Thomas Bluemel
c16f477a80 Fix buffer overflow bug in mkdir command
See issue #2499 for more details.

svn path=/trunk/; revision=28072
2007-08-01 13:34:48 +00:00
Thomas Bluemel
f5b38b5d3b Remove debug statements I accidently committed
svn path=/trunk/; revision=28071
2007-08-01 13:27:16 +00:00
Thomas Bluemel
c8479ce1cb - Detect memory leaks when cmd exits
- Use _tmain

svn path=/trunk/; revision=28070
2007-08-01 12:34:49 +00:00
Timo Kreuzer
9787ba0ce3 implement Arc, ArcTo, Chord, calling NtGdiArcInternal
svn path=/trunk/; revision=28069
2007-08-01 12:34:38 +00:00
Thomas Bluemel
683519ff1c Compile memory heap corruption detection code with _DEBUG_MEM and define it by default (for now)
svn path=/trunk/; revision=28068
2007-08-01 12:04:49 +00:00
Thomas Bluemel
8026c569b2 Improve debug message
svn path=/trunk/; revision=28067
2007-08-01 10:41:22 +00:00
Thomas Bluemel
fc6d0b3bc7 Allocate correct amount of memory.
See issue #2499 for more details.

svn path=/trunk/; revision=28066
2007-08-01 10:39:49 +00:00
Thomas Bluemel
df91a99233 - Add code to detect buffer overflows and buffer underflows on memory operations. This code is only enabled if _DEBUG is defined.
- Change all calls to malloc, realloc and free to cmd_alloc, cmd_realloc and cmd_free

svn path=/trunk/; revision=28065
2007-08-01 10:17:13 +00:00
Ged Murphy
9da2ad12a6 - update cards.dll to use GPL cards which don't resemble the Windows counterparts
- cards taken from http://sourceforge.net/projects/macsolitairex

svn path=/trunk/; revision=28064
2007-08-01 09:30:28 +00:00
Timo Kreuzer
478d0d4bc5 Implement ExtEscape, MaskBlt, PlgBlt, wich were linked to the Nt functions before. But those have a different parameter count. Fixes compilation.
svn path=/trunk/; revision=28063
2007-08-01 02:07:15 +00:00
Timo Kreuzer
369bfa51f2 NtGdiMaskBlt has 13 params not 12
NtGdiPlgBlt has 11 params not 10
NtGdiSetPixelFormat has 2 params not 3

svn path=/trunk/; revision=28062
2007-08-01 02:05:24 +00:00
Timo Kreuzer
e80f3b112e fix parameter count for NtGdiExtEscape in w32ksvc.db (8 parameters not 6)
svn path=/trunk/; revision=28061
2007-08-01 00:57:17 +00:00
Timo Kreuzer
4ef86834f9 fix nci tool to only generate one stub file for our win32ksys lib to silence the warning. Fix some comments.
svn path=/trunk/; revision=28060
2007-07-31 23:00:31 +00:00
Ged Murphy
2412a1aeb1 convert timedate.cpl to unicode
svn path=/trunk/; revision=28059
2007-07-31 22:17:07 +00:00
Magnus Olsen
71705afb69 revers guiconsole.c changes that was mistake committed in r28057
svn path=/trunk/; revision=28058
2007-07-31 21:41:15 +00:00
Magnus Olsen
d848c8c8f4 adding win32ksys the syscall lib for win32k
waring 
type make clean, 
delete makefile.auto
make clean does not delete the gdi32/misc/i386 delete that folder and need delete it u self
make clean does not delete the user32/misc/i386 delete that folder and need delete it u self



svn path=/trunk/; revision=28057
2007-07-31 21:38:52 +00:00
Ged Murphy
1fb9e7536b - don't write more bytes to the reg key than is required. fixes bug 2402
- use unicode explicitly
See issue #2402 for more details.

svn path=/trunk/; revision=28056
2007-07-31 21:17:57 +00:00
Magnus Olsen
59bf5f271d user32 cleanup lite
redirect the InvalidateRect@12 to NtUserInvalidateRect@12 in the def file

nci tools changes (done of timo and me)
frist part moving the w32ksvc.db and sysfuncs.lst where they belong


svn path=/trunk/; revision=28055
2007-07-31 20:22:13 +00:00
James Tabor
6428c40f66 Add NtGdiCreate-DeleteClientObj to win32k. This is used for Metafile not EnhMeta.
svn path=/trunk/; revision=28054
2007-07-31 07:06:06 +00:00
James Tabor
9d0415f7a7 Remove NtGdiGdiGet-SetBatchLimit.
svn path=/trunk/; revision=28053
2007-07-31 04:41:24 +00:00
Christoph von Wittich
fd37f2607a don't allow renaming of root keys
See issue #2508 for more details.

svn path=/trunk/; revision=28052
2007-07-30 23:27:52 +00:00
Christoph von Wittich
b430b691ac add a NULL pointer check
See issue #2508 for more details.

svn path=/trunk/; revision=28050
2007-07-30 21:04:38 +00:00
Christoph von Wittich
cb9cf60a0d Norwegian translation for msgina and mmc path by Frode Lillerud (frode at enkelt dot no)
See issue #2507 for more details.

svn path=/trunk/; revision=28049
2007-07-30 18:28:55 +00:00
Colin Finck
a98c23a440 Revert w3seek's changes from r27978, mkhive segfaults with them on 64-bit systems
svn path=/trunk/; revision=28047
2007-07-30 16:02:00 +00:00
Thomas Bluemel
ac648888c7 Only return valid values from WM_NOTIFYFORMAT with NF_QUERY in DefWindowProc
svn path=/trunk/; revision=28046
2007-07-30 15:16:15 +00:00
Timo Kreuzer
a2171e8ec6 - implement NtUserHideCaret, make NtUserShowCaret prototype match XP ones.
- update w32ksvc.db
- update ntuser.h
- remove implementations of ShowCaret and HideCaret from user32, redirectexports to nt functions
- add macros for ShowCaret / HideCaret to user32p.h to resolve user32 internal references

svn path=/trunk/; revision=28045
2007-07-30 15:08:14 +00:00
Hervé Poussineau
7855dd896f Remove ExportDriver concept.
If you want a driver which exports some functions, simply set it as kernelmodedriver and add a .def file

svn path=/trunk/; revision=28043
2007-07-30 13:18:35 +00:00
Daniel Reimer
1c474e61da Make output of "vol" command (more) compatible with windows (Bug 2255) from Coviti (coviti {at} gmail {dot} com)
svn path=/trunk/; revision=28042
2007-07-30 13:16:42 +00:00
Ged Murphy
41ba310733 remove the 'enterprise' text, I don't think we're worthy of it just yet.
svn path=/trunk/; revision=28040
2007-07-30 10:17:20 +00:00
Colin Finck
a2b61f49fb Add a Logon screensaver similar to the one of Windows developed by Marc Piulachs (marc DOT piulachs AT codexchange DOT net)
I modified the code, so the screensaver is listed as "Logon ScreenSaver" instead of "Default ScreenSaver"

I also added the other screensavers we have to the Boot-CD.
Some of them highlight some bugs in ReactOS, when you try to use them.
See issue #2505 for more details.

svn path=/trunk/; revision=28038
2007-07-30 09:36:32 +00:00
Christoph von Wittich
a629f387b9 fix broken condition in CallWindowProc
svn path=/trunk/; revision=28037
2007-07-30 08:44:52 +00:00
Timo Kreuzer
c5eb377a58 use NtUserInvalidateRect and NtUserInvalidateRgn in user32. Should be redirected directly in.def file, but it breaks a lot of references, so currently only calling it.
svn path=/trunk/; revision=28036
2007-07-30 04:03:00 +00:00
Timo Kreuzer
3b7f8774ac add NtUserInvalidateRect and NtUserInvalidateRgn to w32ksvc.db
svn path=/trunk/; revision=28035
2007-07-30 03:42:40 +00:00
Timo Kreuzer
54d13b61db add NtUserInvalidateRect and NtUserInvalidateRgn
svn path=/trunk/; revision=28034
2007-07-30 03:41:48 +00:00
Timo Kreuzer
52b31af55d implement NtUserInvalidateRect and NtUserInvalidateRgn
svn path=/trunk/; revision=28033
2007-07-30 03:30:55 +00:00
Timo Kreuzer
59d3012d08 simplify VIS_ComputeVisibleRegion
svn path=/trunk/; revision=28032
2007-07-30 02:49:11 +00:00
Timo Kreuzer
b8c09110a6 fix a DPRINT
svn path=/trunk/; revision=28031
2007-07-30 02:29:52 +00:00
Timo Kreuzer
133adbc1a6 update ntgdibad.h
svn path=/trunk/; revision=28030
2007-07-30 02:24:48 +00:00
Timo Kreuzer
ce40832234 rename NtGdiSelectVisRgn to IntGdiSelectVisRgn
svn path=/trunk/; revision=28029
2007-07-30 02:24:08 +00:00
Timo Kreuzer
0aa1be9e3f probe and copy hdc from usermode PAINTSTRUCT using SEH
svn path=/trunk/; revision=28028
2007-07-30 01:39:26 +00:00
Timo Kreuzer
7f423ecbdb remove useless NtGdiOffsetRgn
svn path=/trunk/; revision=28027
2007-07-30 01:26:57 +00:00
Timo Kreuzer
984be48dd5 - rename NtGdiGetTextMetrics to NtGdigetTextMetricsW and add cj parameter
- GetTextMetricsAW: call NtGdigetTextMetricW with cj set to sizeof(TMW_INTERNAL), use TextMetric member
- update w32ksvc.db
- update ntgdibad.h

svn path=/trunk/; revision=28026
2007-07-30 01:10:35 +00:00
Eric Kohl
380e7f70eb - Add sticky keys settings and make the existing settings work.
- Add empty filter keys dialog and toggle keys dialog.

svn path=/trunk/; revision=28024
2007-07-29 21:07:41 +00:00
Colin Finck
ddfbe083e9 Various cmd fixes by Carlo Bramini (carlo DOT bramix AT libero DOT it)
See issue #2232 for more details.

svn path=/trunk/; revision=28022
2007-07-29 19:53:17 +00:00
Christoph von Wittich
8fd67d96e0 Fix bug in IsValidLocale(), GetNumberFormatW(), GetCurrencyFormatW()
patch by Zavyalov Alexey (reactos at ilimschool dot ru)
See issue #2374 for more details.

svn path=/trunk/; revision=28020
2007-07-29 19:04:03 +00:00
Christoph von Wittich
e137a5326a Implement IsValidLanguageGroup, EnumDateFormatsExA, EnumDateFormatsExW
patch by Zavyalov Alexey (reactos at ilimschool dot ru)
See issue #2368 for more details.

svn path=/trunk/; revision=28019
2007-07-29 18:42:18 +00:00
Magnus Olsen
f1fce2a5f3 remove the title name hack some did
comment why popup menu does not working in cmd, it seam we never getting the process name, why ??

svn path=/trunk/; revision=28018
2007-07-29 18:39:32 +00:00
Christoph von Wittich
98ddfb0831 Load correct screensaver's name patch by piulachs (marc dot piulachs at codexchange dot net)
See issue #2500 for more details.

svn path=/trunk/; revision=28016
2007-07-29 18:09:42 +00:00
Christoph von Wittich
6ae0b2c8a0 remove ZeroMemory - not needed anymore since GetLogicalDriveStrings is fixed
svn path=/trunk/; revision=28015
2007-07-29 18:03:41 +00:00
Christoph von Wittich
d631ee5509 fix GetLogicalDriveStringsA/W
svn path=/trunk/; revision=28014
2007-07-29 18:02:31 +00:00
Christoph von Wittich
dff1e93f29 Norwegian translation for regedit patch by Frode Lillerud (frode at enkelt dot no)
See issue #2502 for more details.

svn path=/trunk/; revision=28013
2007-07-29 17:36:08 +00:00
Christoph von Wittich
7875f9d609 fix bug introduced in r27994
svn path=/trunk/; revision=28012
2007-07-29 17:30:21 +00:00
Magnus Olsen
e36095538d NtGdiGetCurrentObject
1. add OBJ_EXTPEN, it is same as OBJ_PEN, now some smaller graphice glitch are fixed. 

svn path=/trunk/; revision=28011
2007-07-29 16:54:00 +00:00
Magnus Olsen
336c8d7905 partly implement animations GET/SET spi, the value are store, but win32k ignore them
svn path=/trunk/; revision=28010
2007-07-29 15:55:09 +00:00
Magnus Olsen
06b622635a NtGdiGetCurrentObject
activate palette, so it sending back a palette objects
NtGdiCreateHalftonePalette
fix support for halftone palette for other color deep that is higher 8bits
This letting us passing some more winetest

svn path=/trunk/; revision=28006
2007-07-29 14:24:10 +00:00
Colin Finck
a8a2168214 These ones were missing in r27997, sorry...
svn path=/trunk/; revision=28005
2007-07-29 14:02:15 +00:00
Christoph von Wittich
e020821f2c GetTimeFormat should use LocalTime instead of SystemTime
See issue #1601 for more details.

svn path=/trunk/; revision=28004
2007-07-29 13:51:54 +00:00
Magnus Olsen
719e7db47a partly implement NtGdiGetRandomRgn, we do not support metadc, so we will fail on thuse wine test for this api.
The implemetions are base partly on wine and msdn 

svn path=/trunk/; revision=28001
2007-07-29 13:12:20 +00:00
Colin Finck
ee4bffbbb4 Bulgarian translations by Станев (sstpr AT narod DOT ru)
I slightly modified the patch to reflect recent changes
See issue #2412 for more details.

svn path=/trunk/; revision=27997
2007-07-29 13:01:45 +00:00
Christoph von Wittich
d44f78fb8a Fix warnings patch by Heis Spiter (heis_spiter at hotmail dot com)
See issue #2138 for more details.

svn path=/trunk/; revision=27996
2007-07-29 12:08:15 +00:00
Colin Finck
76144d8e7a Fix fontview build
See issue #2477 for more details.

svn path=/trunk/; revision=27995
2007-07-29 10:56:23 +00:00
Christoph von Wittich
b9f016c611 fix bug "Regedit will let you create two identical keys."
See issue #2496 for more details.

svn path=/trunk/; revision=27994
2007-07-29 10:33:17 +00:00
Magnus Olsen
d675ad4eb0 fixing swedish rc syntax fault
svn path=/trunk/; revision=27993
2007-07-29 10:12:04 +00:00
Christoph von Wittich
7cace070fb greek translations by Apal (grad0621 at di dot uoa dot gr)
See issue #2483 for more details.

svn path=/trunk/; revision=27992
2007-07-29 09:53:59 +00:00
Magnus Olsen
2a953aba59 fixing the langues show right,
no more wrong langues show ;)

svn path=/trunk/; revision=27991
2007-07-29 09:06:41 +00:00
Magnus Olsen
eeb75032d2 fixing the langues show right,
no more wrong langues show ;)

svn path=/trunk/; revision=27990
2007-07-29 09:05:42 +00:00
Magnus Olsen
5e57b86e57 fixing the langues show right,
no more wrong langues show ;)

svn path=/trunk/; revision=27989
2007-07-29 09:04:53 +00:00
Magnus Olsen
142e5c4d8b fixing the langues show right,
no more wrong langues show ;)

svn path=/trunk/; revision=27988
2007-07-29 09:03:29 +00:00
Magnus Olsen
805f0170b6 fixing the langues show right,
no more wrong langues show ;)

svn path=/trunk/; revision=27987
2007-07-29 09:02:29 +00:00
Magnus Olsen
f6b835f2e9 fixing the langues show right,
no more germany in english ;)

svn path=/trunk/; revision=27986
2007-07-29 08:58:24 +00:00
Thomas Bluemel
8ea64f258b Handle error case more correctly
svn path=/trunk/; revision=27985
2007-07-29 08:16:50 +00:00
Thomas Bluemel
690351d90a Simplify code by using dialog functions
svn path=/trunk/; revision=27984
2007-07-29 08:14:38 +00:00
Thomas Bluemel
e7faae18fc Fix buffer overflow on unicode builds introduced in r27982
svn path=/trunk/; revision=27983
2007-07-29 07:59:17 +00:00
Christoph von Wittich
5cd0ce3185 fix a crash and the selchange notification code
svn path=/trunk/; revision=27982
2007-07-29 00:27:08 +00:00
Christoph von Wittich
105b544d6c fix crash on linux systems when an invalid backend is specified
svn path=/trunk/; revision=27981
2007-07-28 23:38:59 +00:00
Christoph von Wittich
ff42fce079 -replace the ListView in swappage dialog with a ListBox
-fix some minor issues

svn path=/trunk/; revision=27980
2007-07-28 22:34:42 +00:00
Thomas Bluemel
d6bbe9b6e8 Fix repaint issue in the last row of the control
svn path=/trunk/; revision=27979
2007-07-28 21:59:05 +00:00
Thomas Bluemel
0172ae8384 Make sure LONG/ULONG is correctly defined for both cmlib and mkhive
svn path=/trunk/; revision=27978
2007-07-28 21:33:23 +00:00
Thomas Bluemel
ff56fe5fb3 Some more function prototype fixes and pointer type warning fixes
svn path=/trunk/; revision=27977
2007-07-28 21:30:16 +00:00
Christoph von Wittich
40c483fa1a fix compilation of usetup
svn path=/trunk/; revision=27976
2007-07-28 20:32:16 +00:00
Christoph von Wittich
c50397f0e4 fix no confirmation before format
See issue #2498 for more details.

svn path=/trunk/; revision=27975
2007-07-28 20:12:31 +00:00
Thomas Bluemel
979d2a51d4 Don't redefine HRESULT if already defined
svn path=/trunk/; revision=27974
2007-07-28 20:09:00 +00:00
Eric Kohl
2f450a8880 Check the menu items in the view submenu according to the selected type of view.
svn path=/trunk/; revision=27973
2007-07-28 20:03:06 +00:00
Thomas Bluemel
3b5160fc40 More function prototype fixes
svn path=/trunk/; revision=27972
2007-07-28 20:02:37 +00:00
Ziliang Guo
483007c6f5 update the bootdata readme
svn path=/trunk/; revision=27971
2007-07-28 20:00:20 +00:00
Thomas Bluemel
1c2063ec0f Fix the DisplayApplet function definition
svn path=/trunk/; revision=27970
2007-07-28 19:56:15 +00:00
Johannes Anderwald
bc9fefefbf - fix internet time update button for the languages which had it wrong
- add missing internet update time dialog to spanish resource file - needs to be translated

svn path=/trunk/; revision=27969
2007-07-28 19:48:00 +00:00
Christoph von Wittich
518d4a6885 display path in statusbar again when a menu is closed (doesn't seem to work properly on ReactOS yet)
See issue #2495 for more details.

svn path=/trunk/; revision=27968
2007-07-28 19:43:22 +00:00
Thomas Bluemel
025c8a964b Fix some prototypes
svn path=/trunk/; revision=27967
2007-07-28 19:20:30 +00:00
Thomas Bluemel
2c89355466 Fix some functions to match their prototypes
svn path=/trunk/; revision=27966
2007-07-28 19:15:10 +00:00
Johannes Anderwald
3fc2770451 - added slovak translation by Mario Kacmar
See issue #2486 for more details.

svn path=/trunk/; revision=27965
2007-07-28 19:11:09 +00:00
Thomas Bluemel
25ff32dbf6 Fix incompatible pointer type warning
svn path=/trunk/; revision=27964
2007-07-28 18:51:49 +00:00
Thomas Bluemel
87388c9075 Fix function callback prototype
svn path=/trunk/; revision=27963
2007-07-28 18:44:49 +00:00
Thomas Bluemel
f82b9c2321 Fix incompatible pointer type warnings
svn path=/trunk/; revision=27962
2007-07-28 18:42:36 +00:00
Thomas Bluemel
b6b71503a4 Fix incompatible pointer type warnings
svn path=/trunk/; revision=27961
2007-07-28 18:24:09 +00:00
Thomas Bluemel
f3ad83cca1 Make the InfpBuildFileBuffer prototype match it's definition
svn path=/trunk/; revision=27960
2007-07-28 18:09:51 +00:00
Thomas Bluemel
b837ae3d3c Make the prototypes match those defined in the .idl files
svn path=/trunk/; revision=27959
2007-07-28 18:06:51 +00:00
Thomas Bluemel
eb673ff506 Fix definition of DbgPrint to be compatible
svn path=/trunk/; revision=27958
2007-07-28 18:03:17 +00:00
Thomas Bluemel
15036a5b02 Fix incompatible pointer types
svn path=/trunk/; revision=27957
2007-07-28 18:01:30 +00:00
Thomas Bluemel
c9a7f7f8f2 Fix return types
svn path=/trunk/; revision=27956
2007-07-28 17:55:58 +00:00
Johannes Anderwald
c697530b17 - fix cmd not to crash when just typing "start" [enter]
See issue #2294 for more details.

svn path=/trunk/; revision=27955
2007-07-28 17:48:23 +00:00
Thomas Bluemel
0a931f1a75 Remove duplicate definition of SHChangeNotification_Lock
svn path=/trunk/; revision=27954
2007-07-28 17:47:49 +00:00
Thomas Bluemel
653ff24f1a Fix warnings with -O3
svn path=/trunk/; revision=27953
2007-07-28 17:44:39 +00:00
Thomas Bluemel
f00ee22138 Correctly calculate message time. Fixes slow clicks being interpreted as double clicks.
See issue #2238 for more details.

svn path=/trunk/; revision=27952
2007-07-28 17:16:51 +00:00
Johannes Anderwald
832362635d - set USERNAME environment variable
See issue #2487 for more details.

svn path=/trunk/; revision=27951
2007-07-28 16:29:33 +00:00
Thomas Bluemel
8e88ed96e4 Also hand 0 read bytes to XML_Parse to make sure we always signal that we're done reading the document
svn path=/trunk/; revision=27950
2007-07-28 15:47:56 +00:00
Eric Kohl
9952b46b92 - Load and save game settings.
- Disable unused dialog controls and menu items.

svn path=/trunk/; revision=27949
2007-07-28 13:03:13 +00:00
Christoph von Wittich
d585f1041b delete ocidl.h and autogenerate it from the idl
svn path=/trunk/; revision=27948
2007-07-28 12:51:59 +00:00
Thomas Bluemel
bcacb656fe Fix stack corruption
svn path=/trunk/; revision=27947
2007-07-28 12:48:02 +00:00
Thomas Bluemel
85928f924c turn assertion on again, this bug should be fixed now
svn path=/trunk/; revision=27946
2007-07-28 12:22:27 +00:00
Christoph von Wittich
4337ad0e49 add hh.exe to bootcd
svn path=/trunk/; revision=27945
2007-07-28 12:13:31 +00:00
Christoph von Wittich
12aef723e3 Updated Norwegian language file for explorer patch by Frode Lillerud (frode at enkelt dot no)
See issue #2491 for more details.

svn path=/trunk/; revision=27944
2007-07-28 12:03:46 +00:00
Thomas Bluemel
7bf577c9ba The menu names are on the user heaps now
svn path=/trunk/; revision=27943
2007-07-28 11:35:08 +00:00
Christoph von Wittich
03f66e49b1 fixed "invalid window handle" error msg
svn path=/trunk/; revision=27942
2007-07-28 11:11:27 +00:00
Thomas Bluemel
5222d1d7a2 Simplify and fix handling of menus for classes
svn path=/trunk/; revision=27941
2007-07-28 11:05:33 +00:00
Christoph von Wittich
ed85477766 better control placement for syssetup Italian rc file patch by devpao (devotip at tiscali.it)
See issue #2475 for more details.

svn path=/trunk/; revision=27940
2007-07-28 10:29:23 +00:00
Christoph von Wittich
b9fbd58a93 german text did not fit into the static controls
svn path=/trunk/; revision=27939
2007-07-28 10:04:52 +00:00
Christoph von Wittich
c6260888e2 -fix linking when entrypoint is set to "0"
See issue #2489 for more details.

svn path=/trunk/; revision=27938
2007-07-28 09:42:27 +00:00
Thomas Bluemel
d59de2819e Remove incorrect error check
svn path=/trunk/; revision=27937
2007-07-27 20:03:05 +00:00
Thomas Bluemel
ed630922e9 Disable debug output by default
svn path=/trunk/; revision=27936
2007-07-27 19:26:11 +00:00
Thomas Bluemel
2a672fc18c - Search for user32 window classes before searching for system classes
- Register the user32 base address with win32k. Technically this is not really neccessary because user32's base address is fixed

svn path=/trunk/; revision=27935
2007-07-27 19:23:22 +00:00
Hervé Poussineau
fb76bb0053 Add missing LIST_FOR_EACH_ENTRY_REV macro
svn path=/trunk/; revision=27932
2007-07-27 15:07:07 +00:00
Ged Murphy
c6b03c24b9 set the text in the mem and cpu graphs to use the default GUI font. This cleans up the appearance
svn path=/trunk/; revision=27931
2007-07-27 13:47:28 +00:00
Hervé Poussineau
c5cabb165a "entrypoint=0" is now auto-generated
svn path=/trunk/; revision=27930
2007-07-27 13:14:35 +00:00
Christoph von Wittich
3b6565d0fb -fix 2nd stage setup
svn path=/trunk/; revision=27928
2007-07-27 12:54:03 +00:00
The Wine Synchronizer
7cf2fea853 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27927
2007-07-27 11:36:07 +00:00
Hervé Poussineau
660c29094c Fix hhctrl.ocx build
svn path=/trunk/; revision=27926
2007-07-27 11:19:19 +00:00
Ged Murphy
882a314408 fix the comment
svn path=/trunk/; revision=27925
2007-07-27 11:18:03 +00:00
Ged Murphy
59f123b12e revert r27504. translation shouldn't be added to Wine libs
svn path=/trunk/; revision=27924
2007-07-27 11:10:37 +00:00
Hervé Poussineau
5558f59489 Update status
svn path=/trunk/; revision=27923
2007-07-27 10:22:17 +00:00
The Wine Synchronizer
aff6899f29 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27922
2007-07-27 10:20:13 +00:00
The Wine Synchronizer
071c7429f1 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27921
2007-07-27 10:17:42 +00:00
The Wine Synchronizer
f5e0c36863 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27920
2007-07-27 10:12:10 +00:00
The Wine Synchronizer
0c37710c2c Autosyncing with Wine HEAD
svn path=/trunk/; revision=27919
2007-07-27 10:11:12 +00:00
The Wine Synchronizer
f0f9ff6251 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27918
2007-07-27 10:07:14 +00:00
The Wine Synchronizer
9bd259e856 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27917
2007-07-27 10:05:21 +00:00
The Wine Synchronizer
3f23ffe17b Autosyncing with Wine HEAD
svn path=/trunk/; revision=27916
2007-07-27 10:03:59 +00:00
The Wine Synchronizer
914e5f3480 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27915
2007-07-27 10:00:38 +00:00
The Wine Synchronizer
ba29140448 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27914
2007-07-27 09:59:17 +00:00
The Wine Synchronizer
c82cab29ec Autosyncing with Wine HEAD
svn path=/trunk/; revision=27913
2007-07-27 09:52:38 +00:00
The Wine Synchronizer
a0b832df14 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27912
2007-07-27 09:49:52 +00:00
The Wine Synchronizer
e2d4cbc97d Autosyncing with Wine HEAD
svn path=/trunk/; revision=27911
2007-07-27 09:46:28 +00:00
The Wine Synchronizer
2a21dbe77b Autosyncing with Wine HEAD
svn path=/trunk/; revision=27910
2007-07-27 09:45:02 +00:00
The Wine Synchronizer
cb1824c717 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27909
2007-07-27 09:41:02 +00:00
The Wine Synchronizer
374593a187 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27908
2007-07-27 09:38:44 +00:00
The Wine Synchronizer
35e9e5253f Autosyncing with Wine HEAD
svn path=/trunk/; revision=27907
2007-07-27 09:37:47 +00:00
The Wine Synchronizer
0f86de1a3a Autosyncing with Wine HEAD
svn path=/trunk/; revision=27906
2007-07-27 09:34:02 +00:00
Hervé Poussineau
cdcd38e9ae Add missing HH_SAFE_DISPLAY_TOPIC constant
svn path=/trunk/; revision=27905
2007-07-27 09:33:28 +00:00
The Wine Synchronizer
8f774e30a3 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27904
2007-07-27 09:30:09 +00:00
The Wine Synchronizer
2513a18ec3 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27903
2007-07-27 09:28:40 +00:00
Hervé Poussineau
7d642d88fb Update structure
svn path=/trunk/; revision=27902
2007-07-27 09:24:21 +00:00
The Wine Synchronizer
f29227b580 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27901
2007-07-27 09:21:42 +00:00
The Wine Synchronizer
deaaa434f3 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27900
2007-07-27 09:17:03 +00:00
The Wine Synchronizer
d5c96e105e Autosyncing with Wine HEAD
svn path=/trunk/; revision=27899
2007-07-27 09:12:45 +00:00
The Wine Synchronizer
42ff7ff0fa Autosyncing with Wine HEAD
svn path=/trunk/; revision=27898
2007-07-27 09:10:10 +00:00
The Wine Synchronizer
933a0dc886 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27897
2007-07-27 09:03:12 +00:00
Hervé Poussineau
1cda0af518 Merge SetupGetFileCompressionInfo[Ex]A/W, SetupDecompressOrCopyFileA/W, SetupGetSourceFileLocationA/W, SetupGetSourceInfoA/W, SetupGetTargetPathA/W, SetupQueryInfOriginalFileInformationA/W from Wine
Misc fixes by me and Wine team

svn path=/trunk/; revision=27896
2007-07-27 09:02:18 +00:00
Hervé Poussineau
e95c6843c0 Revert r27863, and add the correct fix
svn path=/trunk/; revision=27895
2007-07-27 07:23:34 +00:00
Daniel Reimer
34dac511bc - Commit the modified Norwegian RC Files to the autosynched Wine DLLs, too. My Plan is to edit the diffs myself and let a dev look over my modifications before I commit them then. This speeds up the stuff a bit. We could need a new sync now that 0.3.7 is almost out, but we cant...
svn path=/trunk/; revision=27894
2007-07-27 07:11:35 +00:00
Steven Edwards
95e420e66e - Added the "(at your option) any later version" clause to the NDK license with
permission of the author. 

- Clarify the license requirements by breaking it to its own section and in this
case requiring the NDK to still be released as LGPLv2.1 or GPLv2 even if it is
released with a GPLv3 application.

- Minor spelling error fix


svn path=/trunk/; revision=27893
2007-07-27 03:19:23 +00:00
Timo Kreuzer
7f36f5002f Rename NtGdiGettextFace into NtGdiGetTextFaceW and add bAliasName parameter. Change parameter names in GetTextFaceW. Update ntgdibad.h
svn path=/trunk/; revision=27892
2007-07-26 23:02:47 +00:00
Timo Kreuzer
f08a04538a update ntgdibad.h
svn path=/trunk/; revision=27891
2007-07-26 22:37:20 +00:00
Timo Kreuzer
eb3712b47d - rename NtGdiGetTextExentExPoint to NtGdiGetTextExtentExW and add 8th parameter (currently unhandled)
svn path=/trunk/; revision=27890
2007-07-26 22:37:08 +00:00
Christoph von Wittich
c4aa25f1aa add shell32_ros.diff
svn path=/trunk/; revision=27889
2007-07-26 21:53:05 +00:00
Christoph von Wittich
ea206e8a12 -fix crash in shell32 caused by clamwin installer (patch by w3seek)
svn path=/trunk/; revision=27887
2007-07-26 21:43:22 +00:00
Timo Kreuzer
da22f48dfd - add painting.c to gdi32.def
- implement FloodFill, calling NtGdiExtFloodFill
- implement CreateRectRgnIndirect, calling NtGdiCreateRectRgn
- remove NtGdiCreateRectRgnIndirect, NtGdiFloodFill from win32k
- update ntgdibad.h

svn path=/trunk/; revision=27883
2007-07-26 19:52:51 +00:00
Timo Kreuzer
8a32a579d8 sorry forgot this one
svn path=/trunk/; revision=27872
2007-07-26 18:17:32 +00:00
Timo Kreuzer
f626203e0c update ntgdibad.h
svn path=/trunk/; revision=27866
2007-07-26 17:39:56 +00:00
Timo Kreuzer
fc315e7116 - fix parameter count for NtGdiCreatePen in w32ksvc.db (4 params, not 3)
- implement CreatePen, calling NtGdiCreatePen@16 instead of forwarding to NtGdiCreatePen@12, wich does not exist
- implement CreatePenIndirect, calling NtGdiCreatePen, instead of forwarding to NtGdiCreatePenIndirect
- remove NtGdiCreatePenIndirect from w32ksvc.db and win32k

svn path=/trunk/; revision=27865
2007-07-26 17:38:49 +00:00
Colin Finck
6e95387504 Fix the Winhelp build
I know this is a pretty bad "fix", but as long as we have nothing better and Winhelp builds again, we have to use it ;-)

svn path=/trunk/; revision=27863
2007-07-26 17:07:24 +00:00
Timo Kreuzer
ce4721237b update ntgdibad.h
svn path=/trunk/; revision=27860
2007-07-26 16:41:09 +00:00
Timo Kreuzer
e71ca90a57 remove NtGdiCreateEllipticRegionIndirect from win32k
svn path=/trunk/; revision=27859
2007-07-26 16:40:23 +00:00
Timo Kreuzer
1a455c9c06 remove NtGdiCreateEllipticRegionIndirect from w32ksvc.db
svn path=/trunk/; revision=27858
2007-07-26 16:39:27 +00:00
Timo Kreuzer
75fec6f6f9 implement CreateEllipticRgnIndirect, calling NtGdiCreateEllipticRgn, instead of redirecting to NtGdiCreateEllipticRgnIndirect
svn path=/trunk/; revision=27857
2007-07-26 16:27:47 +00:00
Timo Kreuzer
16306b2ce0 update ntgdibad.h
svn path=/trunk/; revision=27855
2007-07-26 16:02:37 +00:00
Timo Kreuzer
531bc84358 remove NtGdiCreateCompatibleBitmap from win32k
svn path=/trunk/; revision=27854
2007-07-26 16:01:58 +00:00
Timo Kreuzer
6488d2a0a3 remove NtGdiCreateCompatibleBitmap from syscall db
svn path=/trunk/; revision=27853
2007-07-26 16:01:13 +00:00
Timo Kreuzer
e81c617c19 implement CreateDiscardableBitmap, calling NtGdiCreateCompatibleBitmap instead of redirecting to NtGdiCreateDiscardableBitmap
svn path=/trunk/; revision=27852
2007-07-26 15:59:44 +00:00
Timo Kreuzer
ca6fc5cff9 - implement CreateBitmapIndirect, calling NtGdicreateBitmap
- NtGdiCreateBitmap: directly do the job instead of calling IntCreateBitmapIndirect
- remove IntCreateBitmapIndirect
- remove NtGdiCreateBitmapIndirect
- update ntgdibad.h

svn path=/trunk/; revision=27851
2007-07-26 15:20:29 +00:00
Hervé Poussineau
bc4b14c9c4 Don't abuse debug system
svn path=/trunk/; revision=27850
2007-07-26 15:13:36 +00:00
Christoph von Wittich
0cd283447c fix condition in rosglCopyContext patch by Dirus (DannyDaemonic at gmail.com)
See issue #2375 for more details.

svn path=/trunk/; revision=27849
2007-07-26 15:12:39 +00:00
Thomas Bluemel
bf93eab031 Removed hacks from findfirst/findnext APIs
See issue #1736 for more details.

svn path=/trunk/; revision=27847
2007-07-26 15:07:07 +00:00
Christoph von Wittich
4473df2e66 get sysdm to work with freeldr.ini as well
See issue #2302 for more details.

svn path=/trunk/; revision=27846
2007-07-26 14:56:01 +00:00
Johannes Anderwald
a27339eabc - fix duplicate control id constant by Carlo Bramini (carlo dot bramix at libero dot it)
See issue #2479 for more details.

svn path=/trunk/; revision=27845
2007-07-26 14:54:55 +00:00
Daniel Reimer
be3aec5033 Commited Workaround in userenv, too. ReactOS does not like Greek letters in Folder Names... See Bug 2478. (from Giannis Adamopoulos)
svn path=/trunk/; revision=27844
2007-07-26 14:53:15 +00:00
Johannes Anderwald
a276740842 - update italian translation and a few code simplifications by Carlo Bramini (carlo dot bramix at libero dot it)
- fix a few issues (remove SIZEOF macro + SUBLANG_ITALIAN...)
See issue #2365 for more details.

svn path=/trunk/; revision=27843
2007-07-26 14:48:47 +00:00
Timo Kreuzer
caeec5d190 - TextOutW: call NtGdiExtTextOut
- remove NtGdiTextOut from win32k
todo: NtGdiExtTextOut -> NtGdiExtTextOutW (does someone know what the 9th parameter is?)

svn path=/trunk/; revision=27840
2007-07-26 13:57:17 +00:00
Colin Finck
308132efa0 - Remove the main() procedure as we already have a WinMain() procedure and we need the hInstance value
- Use RegisterClass with WNDCLASS instead of RegisterClassEx with WNDCLASSEX, so we don't need to care about the small icon

svn path=/trunk/; revision=27838
2007-07-26 12:31:56 +00:00
Colin Finck
768fc82ee4 - Make some check boxes wider, so the text is fully displayed (patch by Nathan Davidson, coviti AT gmail DOT com)
- Also do that for the other languages
- Fix the Norwegian and Thai translation, where even control names and boot parameters were translated
  Translators, don't do that, that's highly wrong! (but funny anyway... :-D )
See issue #2343 for more details.

svn path=/trunk/; revision=27837
2007-07-26 12:14:14 +00:00
Colin Finck
8443ad9e13 Updated slovak translation for explorer-new by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=27836
2007-07-26 11:46:10 +00:00
Colin Finck
8647578fc1 Apply a Downloader translation by Paolo Devoti (devotip AT tiscali DOT it) from bug 2027, so this bug can finally be closed now :-)
See issue #2027 for more details.

svn path=/trunk/; revision=27835
2007-07-26 11:42:59 +00:00
Daniel Reimer
174affb36d eol:style = native
svn path=/trunk/; revision=27834
2007-07-26 11:08:19 +00:00
Daniel Reimer
df75cfd9de Apply patches from BugZilla:
- Brazilian Portuguese translation for winmm (Bug 2442) from Marcelo Zamperetti (marcelohz AT gmail DOT com) (2nd bin with both Portugese RCs)
- Updated french translation for syssetup (Bug 2462) from Pierre Schweitzer (heis_spiter AT hotmail DOT com)
- Fixes to italian translation for powercfg applet (Bug 2467) from Carlo Bramini (carlo DOT bramix AT libero DOT it)
- Update for greek translation (Bug 2478) from Giannis Adamopoulos (johnyadams AT hotmail DOT com) except userenv.diff

svn path=/trunk/; revision=27833
2007-07-26 11:03:00 +00:00
Colin Finck
bd3f848ef4 Brazilian Portuguese translation for regedit by Marcelo Zamperetti (marcelohz AT gmail DOT com)
For the record, this seems to be the first program that we now have in both Brazilian Portuguese and Portuguese from Portugal :-)

If someone has time, please look at the regedit code and find out which dialogs are really still needed.
For me it looks like the layout of the resource files was changed some time ago and now we have files with the old and with the new layout.
See issue #2440 for more details.

svn path=/trunk/; revision=27832
2007-07-26 10:40:18 +00:00
Colin Finck
cdc93ad52e Brazilian Portuguese translation by Marcelo Zamperetti (marcelohz AT gmail DOT com)
I changed SUBLANG_PORTUGUESE_BRAZILIAN to SUBLANG_NEUTRAL, so the translation is also used as long as we have no other portuguese translation
See issue #2439 for more details.

svn path=/trunk/; revision=27831
2007-07-26 10:17:37 +00:00
Colin Finck
d031691221 Updated portuguese keyboard layout by João Jerónimo.
See issue #2436 for more details.

svn path=/trunk/; revision=27830
2007-07-26 10:09:30 +00:00
Colin Finck
4096e1a913 Updated polish translation by Artek Wiśniewski (aart3k AT gmail DOT com)
See issue #2433 for more details.

svn path=/trunk/; revision=27829
2007-07-26 10:04:46 +00:00
Colin Finck
23dd40bdad Fix the german "Run" dialog as requested by Christoph
svn path=/trunk/; revision=27828
2007-07-26 09:58:40 +00:00
Colin Finck
ca0081aaf6 Ah, forgot this one :-(
svn path=/trunk/; revision=27827
2007-07-26 09:50:03 +00:00
Colin Finck
53a6e85507 - Fix the mnemonic keys for the english translation and add a slovak translation (patch by Mario Kacmar, kario AT szm DOT sk)
- Fix the mnemonic keys in the other translations myself
- Fix the german configuration dialog
See issue #2472 for more details.

svn path=/trunk/; revision=27826
2007-07-26 09:45:18 +00:00
Colin Finck
34ba650217 Updated norwegian translation my Lars Martin Hambro (lars_martin4 AT hotmail DOT com)
See issue #1741 for more details.

svn path=/trunk/; revision=27825
2007-07-26 09:15:25 +00:00
Colin Finck
5663aa0b6f Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2477 for more details.

svn path=/trunk/; revision=27824
2007-07-26 09:09:45 +00:00
Colin Finck
e97732e87c Slovak translation for netid by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=27823
2007-07-26 08:18:08 +00:00
Colin Finck
e7f9003e73 Small fix in the slovak translation
svn path=/trunk/; revision=27822
2007-07-26 08:00:41 +00:00
Colin Finck
025355738a - Remove all the VS stuff from the english resource file and make it readable/editable/translateable
- Remove some redundant resources
- Fix some typos
- Use RegisterClass instead of RegisterClassEx in the MyRegisterClass function: This way we don't need a resource for the small icon, but it works the same
- Add a "rsrc.rc" file

svn path=/trunk/; revision=27821
2007-07-26 07:43:01 +00:00
Timo Kreuzer
c277abc3bb gdiobjects patch:
- stockmask and reuse counter are stored in the lower 16 bits of the typeinfo field in the entry, not in the upper 16 bits!
- take care of this when trying to lock an object (compare upper 16 bits of handle with lower 16 bits of typeinfo field)
- some variable renaming
- remove code duplication by moving debugoutput to an extra function
- move checking for expected object type to a different location, should be removed completely later
Fixes possible crashes if messing around with deleted / reused objects.

svn path=/trunk/; revision=27818
2007-07-25 22:39:14 +00:00
Timo Kreuzer
9a5a65a65b Add some type definitions and macros for gdi object entries. Needed for upcoming gdiobj patch.
svn path=/trunk/; revision=27817
2007-07-25 22:22:38 +00:00
Timo Kreuzer
e4aff98165 UserScrollDC (complete rewrite):
- include the region that could not be copied (invisible before) into invalid region
- use less regions and calculations
- return the type of the invalidated region (used by NtUserScrollWindowEx)
- Remove LPtoDP and DPtoPL. Everything is now in logical coordinates.
NtUserScrollDC:
- use SEH for buffer transfer
NtUserScrollWindowEx:
- use SEH for buffer transfer instead of MmCopyFromCaller
- use SEH to write back to usermode
- return the type of invalid region not of the invalidated region (nothing if SW_INVALIDATE is not set)
- use members of WINDOW_OBJECT instead of calling IntWinListChildren
Use hungarian notation for variables

fixes bug 2237
See issue #2237 for more details.

svn path=/trunk/; revision=27815
2007-07-25 21:51:56 +00:00
Christoph von Wittich
d3703b4fe6 don't stub a function we already have
svn path=/trunk/; revision=27813
2007-07-25 19:19:54 +00:00
Colin Finck
bdf7b50774 Updated language files by Olaf Siejka (caemyr AT gmail DOT com)
See issue #2438 for more details.

svn path=/trunk/; revision=27812
2007-07-25 18:25:16 +00:00
Colin Finck
654cb79562 Add a "magnify" application developed by Marc Piulachs (marc.piulachs AT codexchange DOT net)
Isn't finished and lights up some bugs in ReactOS, but at least it's a start
See issue #2463 for more details.

svn path=/trunk/; revision=27811
2007-07-25 18:00:56 +00:00
Christoph von Wittich
a7b34c7f12 -fix an endless loop when a rbuild file has an invalid date
See issue #2466 for more details.

svn path=/trunk/; revision=27810
2007-07-25 15:11:06 +00:00
Colin Finck
df43dc0653 Lithuanian translations by Vytis Girdzijauskas (cman AT cman DOT us)
See issue #2461 for more details.

svn path=/trunk/; revision=27809
2007-07-25 14:23:41 +00:00
Colin Finck
a2d6945b0a Norwegian translation for newdev.dll by Frode Lillerud (frode AT enkelt DOT no)
See issue #2474 for more details.

svn path=/trunk/; revision=27808
2007-07-25 14:03:09 +00:00
Colin Finck
e189c41b51 Slovak translation by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=27807
2007-07-25 13:55:10 +00:00
Colin Finck
9789d03063 Change the width of one control to 110 as it's done in the other translations
svn path=/trunk/; revision=27806
2007-07-25 12:52:05 +00:00
Colin Finck
46740b8d9f Updated Czech translation by Kamil Hornicek (tykef AT atlas DOT cz)
svn path=/trunk/; revision=27805
2007-07-25 11:06:31 +00:00
James Tabor
7705c7b9d4 Removed Dce from the DC handle table. Tested bootcd, Explorer and Taskmgr.
svn path=/trunk/; revision=27804
2007-07-25 03:35:59 +00:00
Colin Finck
c440e3860d Remove the description for a temporary hack, which was already removed in r26451
svn path=/trunk/; revision=27803
2007-07-24 19:47:57 +00:00
Daniel Reimer
c09ba08b78 Commit final fixes for RC files except for Wine autosynched files. I will not change anything on them right now, no reverts, no further fixes. First I want a official course from our captain.
svn path=/trunk/; revision=27802
2007-07-24 18:40:25 +00:00
Colin Finck
9788276e00 New and updated greek translations by Apostolos Alexiadis (grad0621 AT di DOT uoa DOT gr)
Fixes a part of bug 2464
See issue #2464 for more details.

svn path=/trunk/; revision=27801
2007-07-24 17:12:40 +00:00
Colin Finck
996c22e459 Slovak translations by Mario Kacmar (kario AT szm DOT sk)
See issue #2465 for more details.

svn path=/trunk/; revision=27800
2007-07-24 16:50:52 +00:00
Ged Murphy
6f73fa7812 fix flex generated file
svn path=/trunk/; revision=27799
2007-07-24 15:28:12 +00:00
Daniel Reimer
39d069122f Small fixes in some RC Files
svn path=/trunk/; revision=27798
2007-07-24 10:20:37 +00:00
Colin Finck
025e513c98 Remove the second LANGUAGE setting from each file, we only need it one time in each translation file.
svn path=/trunk/; revision=27797
2007-07-24 09:33:20 +00:00
Aleksey Bragin
61cde810eb - Remove usewrc=false, I'm not sure what is a better option, but at least this fixes the problems with wrong language.
svn path=/trunk/; revision=27796
2007-07-24 09:14:18 +00:00
Aleksey Bragin
e8edd63af3 Magnus: THINK, then THINK, then THINK once more! and only then hit COMMIT button.
Reverting 27783 changes, since it's just a complete mess (setting LANG_NEUTRAL, then including langauge-specific resource files?! wtf?).

svn path=/trunk/; revision=27795
2007-07-24 09:13:14 +00:00
Ged Murphy
4a9419289a add a diff so rpcrt4 can be synched with Wine
svn path=/trunk/; revision=27794
2007-07-24 08:20:12 +00:00
Ged Murphy
b4fe4fe1f5 - new rpcrt4 from Wine-0_9_41 which is a big move from our current implementation, thus I've added it as a separate module for now until we have it working.
- includes an additional file, unix_func.c, which implements 3 unix API's which aren't available in Windows (poll, socketpair, inet_ntop)
- It builds, but it's completely untested.

svn path=/trunk/; revision=27793
2007-07-23 22:26:34 +00:00
Colin Finck
64d9543194 Remove the IDS_CMT_WINEFILE and IDS_CMT_IBROWSER strings in all translations.
Thanks to Apostolos Alexiadis for noticing this.

svn path=/trunk/; revision=27792
2007-07-23 18:38:15 +00:00
Colin Finck
2055852ec9 Greek translations by Apostolos Alexiadis (grad0621 AT di DOT uoa DOT gr)
Fixes a part of bug 2459
See issue #2459 for more details.

svn path=/trunk/; revision=27791
2007-07-23 18:28:55 +00:00
Colin Finck
9a7b3267ce Remove the TABs again, sorry that was a bad idea
At least we have a consistent indentation in the sysdm files now :-)

svn path=/trunk/; revision=27789
2007-07-23 16:32:04 +00:00
Ged Murphy
282435cac7 change the notepad icon for the GPL notepad++ icon until a suitable replacement can be found.
svn path=/trunk/; revision=27788
2007-07-23 15:19:20 +00:00
Colin Finck
5252fd9823 - Get rid of an unneeded variable in GetSystemInformation
- Minor changes to the GetProcNameString function
- Fix unselecting the license text. EM_SETSEL only works after the edit control has been drawn, so we cannot send this message in the WM_INITDIALOG message handler.
  Instead we use PostMessage now. See KB96674 for more details.
- Downloaded the latest GPL 2.0 text from the GNU website and use that as the "gpl.txt" now.
  Now we don't have these annoying "box" characters in the license dialog box anymore.

svn path=/trunk/; revision=27786
2007-07-23 11:48:55 +00:00
Colin Finck
e2cb9802d4 [FORMATTING] Use a consistent indentation (TABs) for all parts of sysdm.cpl
No code changes

svn path=/trunk/; revision=27785
2007-07-23 10:26:55 +00:00
Colin Finck
b17938545b Show a right title for the last setup page (Patch by Cameron Gutman, aicommander AT gmail DOT com)
I also fixed that in the german translation, other translation still need to be fixed.
See issue #2206 for more details.

svn path=/trunk/; revision=27784
2007-07-23 08:05:08 +00:00
Magnus Olsen
df23f0679e fixing intl are on english
here is the issue, either it is gcc bugs being tricked for wrc (I do not think it is this case)
or it is a bug in windres for some rc syntax. I think it is this issue, only way to workaround 
this bug are move en-us.rc to top of the langues list so it comes the frist langues for select



svn path=/trunk/; revision=27783
2007-07-22 21:26:38 +00:00
Johannes Anderwald
c33462b975 - make sysreg working on linux
svn path=/trunk/; revision=27782
2007-07-22 20:41:51 +00:00
Colin Finck
3087c56ea1 - Bugfix: As szBuf was not null-terminated after the _tcscpy, the Processor Name String could have been wrapped wrong (ie. when it contained more spaces after character 30)
- Use a consistent indentation in SetProcNameString

svn path=/trunk/; revision=27781
2007-07-22 19:31:29 +00:00
Aleksey Bragin
108a7ce988 - Patch by Dmitry Chapyshev <lentind@yandex.ru>:
* Add russian translation to shutdown app
 * Fix russian translation and fix text placement in timedate CPL applet

svn path=/trunk/; revision=27780
2007-07-22 17:04:20 +00:00
Colin Finck
e91abfbed8 Updated Slovak User32 translation by Mario Kacmar (kario AT szm DOT sk)
Fixes part of bug 2435
See issue #2435 for more details.

svn path=/trunk/; revision=27779
2007-07-22 16:47:00 +00:00
Colin Finck
2be60ffd29 Updated Slovak Notepad translation by Mario Kacmar (kario AT szm DOT sk)
See issue #2434 for more details.

svn path=/trunk/; revision=27778
2007-07-22 16:37:08 +00:00
Colin Finck
e71afc2d50 Updated Slovak WineMine translation by Mario Kacmar (kario AT szm DOT sk)
See issue #2395 for more details.

svn path=/trunk/; revision=27776
2007-07-22 15:55:45 +00:00
Thomas Bluemel
01934c7aad Merge freetype-2.3.5 to trunk
svn path=/trunk/; revision=27774
2007-07-22 11:39:18 +00:00
Magnus Olsen
0e180d02e0 adding missing guid IID_IShellFolderViewCB
svn path=/trunk/; revision=27769
2007-07-21 23:58:51 +00:00
Magnus Olsen
cf0aabe39c patch from : Paolo Devoti (email devotip at tiscali dot it)
-----------------------------------------------------------
Fixed right hdc being save/restore , the #if 0 change was not accpected. 
the code works fine without it. it was problare cause by another bug.
all wine test for gdi32_winetest dc pass now, without any foualt. 
See issue #2055 for more details.

svn path=/trunk/; revision=27768
2007-07-21 18:41:06 +00:00
Magnus Olsen
e54ea177eb fixed so metafile works bit better, do not crash on alloc memory
but we still does not implement it to 100%, it contain allot of bugs

svn path=/trunk/; revision=27767
2007-07-21 17:28:26 +00:00
Thomas Bluemel
891f537c3e Patch by Frode Lillerud <frode@enkelt.no>
- Updated Norwegian keyboard layout
See issue #2419 for more details.

svn path=/trunk/; revision=27765
2007-07-21 10:51:05 +00:00
Sylvain Petreolle
e3469b4e06 fix 2 mistyped \n
svn path=/trunk/; revision=27764
2007-07-20 23:17:42 +00:00
Timo Kreuzer
d0c7e3cf5e recommit part of previous patch: validate parent on moving windows. Fixes redraw problem when moving the slider of regedit etc.
svn path=/trunk/; revision=27763
2007-07-20 22:59:21 +00:00
Johannes Anderwald
f8e8ed2f81 - added slovak translation by Mario Kacmar
svn path=/trunk/; revision=27762
2007-07-20 20:26:19 +00:00
Colin Finck
b264c8b08a Updated italian translation for ImageSoft by Carlo Bramini (carlo DOT bramix AT libero DOT it)
See issue #2227 for more details.

svn path=/trunk/; revision=27761
2007-07-20 19:51:02 +00:00
Colin Finck
979b7cf89d - Fix the WineMine Icon in the Main window and About window (parts of the patch in bug #2397 by Mario Kacmar (kario AT szm DOT sk) applied)
- Make the dialogs of all languages consistent
See issue #2397 for more details.

svn path=/trunk/; revision=27760
2007-07-20 19:18:35 +00:00
Johannes Anderwald
5b1cf1f67f - make sysreg work again under Windows
svn path=/trunk/; revision=27759
2007-07-20 18:55:03 +00:00
Magnus Olsen
a67d29ae20 reform the code.
less warings and errors in vc

svn path=/trunk/; revision=27758
2007-07-20 16:59:44 +00:00
Magnus Olsen
7fd0ba2791 reform the code.
less warings and errors in vc

svn path=/trunk/; revision=27757
2007-07-20 16:57:59 +00:00
Johannes Anderwald
f57c2b81f4 - move cacls.rc to right directory
svn path=/trunk/; revision=27756
2007-07-20 14:00:23 +00:00
Ged Murphy
371e11e16c add missing API's in order to link an updated rpcrt4
svn path=/trunk/; revision=27755
2007-07-20 13:49:41 +00:00
Johannes Anderwald
8e87d40d23 Updated Norwegian language file for syssetup by Frode Lillerud
See issue #2430 for more details.

svn path=/trunk/; revision=27754
2007-07-20 13:39:44 +00:00
Colin Finck
d1815f4dcf Greek translations for cacls and devmgmt by Apostolos Alexiadis (grad0621 AT di DOT uoa DOT gr)
I couldn't apply all translations from bug 1908 as getfirefox and ibrowser were removed and the Solitaire translation is outdated
See issue #1908 for more details.

svn path=/trunk/; revision=27753
2007-07-20 13:36:46 +00:00
Johannes Anderwald
6df3c18077 - sndvol32 Slovak translation by Mario Kacmar
See issue #2396 for more details.

svn path=/trunk/; revision=27752
2007-07-20 13:26:47 +00:00
Johannes Anderwald
bc0d068040 - winemine Slovak translation by Mario Kacmar
See issue #2395 for more details.

svn path=/trunk/; revision=27751
2007-07-20 13:23:47 +00:00
Johannes Anderwald
f7dd1cc102 - French translation for vmwinst by Pierre Schweitzer (heis_spiter at hotmail com)
See issue #2427 for more details.

svn path=/trunk/; revision=27750
2007-07-20 13:14:46 +00:00
Johannes Anderwald
55bdc8aab4 - Norwegian resource file for shutdown.exe
- Written by Frode Lillerud
- change SUBLANG_NORWEGIAN_BOKMAL to SUBLANG_NEUTRAL
See issue #2426 for more details.

svn path=/trunk/; revision=27749
2007-07-20 13:12:00 +00:00
Colin Finck
32d235b53d Fix cmd build, when compilation units are turned off
svn path=/trunk/; revision=27748
2007-07-20 13:08:25 +00:00
Johannes Anderwald
58d9f1e777 - French translation for shutdown (based on en-US.rc) by Pierre Schweitzer (heis_spiter at hotmail com)
See issue #2425 for more details.

svn path=/trunk/; revision=27747
2007-07-20 13:04:55 +00:00
Johannes Anderwald
97299b0c55 - update norwegian translation by Frode Lillerud
See issue #2424 for more details.

svn path=/trunk/; revision=27746
2007-07-20 12:58:02 +00:00
Johannes Anderwald
899a4c3f8a - ukrainian translation from bug 2420
- the msi translation should be sent to wine cause we only autosync it...

svn path=/trunk/; revision=27745
2007-07-20 12:44:36 +00:00
Hervé Poussineau
97ba754ab3 [FORMATTING] Replace tabs by spaces
No code change

svn path=/trunk/; revision=27744
2007-07-20 10:22:58 +00:00
Colin Finck
7dcf35b862 Remove an unused Buffer variable in the SetupCopyFile function
Thanks to HeisSpiter for noticing this

svn path=/trunk/; revision=27741
2007-07-19 20:53:33 +00:00
Ged Murphy
6148da7aa2 add the start menu logo graphic
svn path=/trunk/; revision=27739
2007-07-19 20:19:41 +00:00
Johannes Anderwald
dd82a17f15 - fix warning
- simplify sysreg configuration options (implementation is coming next)

svn path=/trunk/; revision=27728
2007-07-19 13:43:49 +00:00
Aleksey Bragin
4a6f22cbbf - Remove compilation units support from win32k, because it often leads to problems and untested code. ReactOS kernel is compiled w/o cunits, and so should win32k be done.
- Fix TAB/spaces mess in win32k. Can't you, developers, finally understand that .rbuild uses TAB-only indentation? Is it too hard?

svn path=/trunk/; revision=27727
2007-07-19 12:55:58 +00:00
Aleksey Bragin
3c7b25d58e - Revert vis.c and winpos.c changes from 27672, due to a bug 2409.
- Fix win32k compiling without compilation units.

See issue #2409 for more details.

svn path=/trunk/; revision=27726
2007-07-19 12:43:54 +00:00
Aleksey Bragin
68f474c5af Patch by Dmitry Chapyshev <lentind@yandex.ru>:
- Make downloader icon in multiple color depths.
- Remove a newline character from winver's window title.

svn path=/trunk/; revision=27725
2007-07-19 12:14:08 +00:00
Aleksey Bragin
5d5733ba1f - Comment those 2 keyboard layouts so that trunk is installable. Uncommenting them reveals a bug in Config Manager, which is being investigated.
- DPRINT -> DPRINT1 for a critical error message.

svn path=/trunk/; revision=27724
2007-07-18 21:49:10 +00:00
Colin Finck
d759e74461 Remove the wrong \0 character
svn path=/trunk/; revision=27723
2007-07-18 20:00:26 +00:00
Colin Finck
244d310147 Add the missing "help <command>" functionality in cmd (patch by Pierre Schweitzer, heis_spiter AT hotmail DOT com)
I slightly modified the patch to include a terminating null character
See issue #2406 for more details.

svn path=/trunk/; revision=27722
2007-07-18 19:41:25 +00:00
Colin Finck
13f80b1452 - Localize the Usage message of "shutdown" and add a german localization
- Also add a version resource

Translators, feel free to make translations for this tool :-)

svn path=/trunk/; revision=27721
2007-07-18 18:40:07 +00:00
Colin Finck
fc5c5f5b46 Slovak translation for calc by Mario Kacmar (kario AT szm DOT sk)
See issue #2405 for more details.

svn path=/trunk/; revision=27720
2007-07-18 13:51:37 +00:00
Thomas Bluemel
6f93d6ebe5 Fix crash due to wrong calling convention
svn path=/trunk/; revision=27718
2007-07-18 12:23:29 +00:00
Andrew Munger
f8f289daef [AUDIT] kdbg is a custom ReactOS component, written and improved upon by numerous developers. It's nearly as old as the codebase itself.
svn path=/trunk/; revision=27717
2007-07-18 12:18:41 +00:00
Thomas Bluemel
aaad49980c Make use of Set/QuerySecurityAccessMask
svn path=/trunk/; revision=27715
2007-07-18 10:50:55 +00:00
Thomas Bluemel
974c3eaf16 Implement SetSecurityAccessMask
svn path=/trunk/; revision=27714
2007-07-18 10:50:48 +00:00
Thomas Bluemel
10ceb1dc62 Implement the ANSI stub EncryptFileA
svn path=/trunk/; revision=27713
2007-07-18 10:40:58 +00:00
Thomas Bluemel
1a9fa20283 Implement QuerySecurityAccessMask
svn path=/trunk/; revision=27712
2007-07-18 09:47:05 +00:00
Aleksey Bragin
c79612b989 - Fix an obvious bug in the code (patch by Thomas).
svn path=/trunk/; revision=27711
2007-07-18 07:17:25 +00:00
Thomas Bluemel
f2bbc79cf7 Fix warnings I introduced, forgot typecasts...
svn path=/trunk/; revision=27710
2007-07-17 14:56:02 +00:00
Thomas Bluemel
532d977072 Patch by Frode Lillerud <frode@enkelt.no>
- Norwegian keyboard layout
See issue #2419 for more details.

svn path=/trunk/; revision=27709
2007-07-17 14:28:49 +00:00
Thomas Bluemel
f1948e0bc2 Fix remaining incorrect dialog definitions using DS_SHELLFONT as an extended style.
svn path=/trunk/; revision=27708
2007-07-17 14:18:38 +00:00
Thomas Bluemel
d68854511a Fix the dialog manager to ignore WS_EX_MDICHILD.
See issue #2289 for more details.

svn path=/trunk/; revision=27707
2007-07-17 13:52:36 +00:00
Thomas Bluemel
14e9f977d9 Revert r27705. This change is incorrect and breaks MDI applications.
svn path=/trunk/; revision=27706
2007-07-17 13:51:00 +00:00
Christoph von Wittich
10c5cdc533 -forgot to save the file before committing - this is the actual fix from 27703
svn path=/trunk/; revision=27705
2007-07-16 23:02:29 +00:00
Christoph von Wittich
0a51ea233b -don't set DS_SHELLFONT as EXSTYLE
svn path=/trunk/; revision=27704
2007-07-16 22:57:35 +00:00
Christoph von Wittich
2bc61e5962 -get rid of DS_SHELLFONT when set as EXSTYLE, it is a STYLE flag
See issue #2289 for more details.

svn path=/trunk/; revision=27703
2007-07-16 22:56:04 +00:00
Colin Finck
4f3f3a53bc Readd the removed line from the patch and add more information about the Usage of the "-f" option (see comment #6 of bug #2379)
The "-f" option now works like in Windows: If you did not specify any other parameter, it will also log off from the current session.

svn path=/trunk/; revision=27702
2007-07-16 21:50:50 +00:00
Johannes Anderwald
3467fa05cc - add ukrainian translation by Artem Reznikov
See issue #2411 for more details.

svn path=/trunk/; revision=27700
2007-07-16 19:30:12 +00:00
Ged Murphy
e55869be78 call the correct event on system boot
svn path=/trunk/; revision=27699
2007-07-16 18:43:13 +00:00
Ged Murphy
87bd668b8c fix the startup event name as per r27697
svn path=/trunk/; revision=27698
2007-07-16 17:48:57 +00:00
Ged Murphy
70f3b132fa revert r27695 as it's already implemented in advapi32. My tests failed because it's incorrectly named.
svn path=/trunk/; revision=27697
2007-07-16 17:47:12 +00:00
Ged Murphy
1a14c5a8db don't leak handles
svn path=/trunk/; revision=27696
2007-07-16 17:17:34 +00:00
Ged Murphy
972d9788d0 Wait for the SCM to be fully initialized before calling allowing a call to OpenSCManager
svn path=/trunk/; revision=27695
2007-07-16 16:00:37 +00:00
Hervé Poussineau
e47b3f0dfa Resize the string table when needed
Fix a few warnings

svn path=/trunk/; revision=27694
2007-07-16 15:32:13 +00:00
Ged Murphy
029287899f fix SCM sync event name
svn path=/trunk/; revision=27693
2007-07-16 14:29:49 +00:00
Thomas Bluemel
4aa6574ca2 Implement Heap32First and Heap32Next based on the documentation on http://securityxploded.com/enumheaps.php
svn path=/trunk/; revision=27692
2007-07-16 12:21:38 +00:00
Aleksey Bragin
938646d914 - Don't do ObInsertObject() for a key object, but use CmpCreateHandle() instead.
- Remove some dead code from CmiConnectHive() and move freeing of the create information to a different place.

svn path=/trunk/; revision=27690
2007-07-15 21:35:16 +00:00
Johannes Anderwald
0d051c196e - update slovakian solitaire translation
See issue #2353 for more details.

svn path=/trunk/; revision=27685
2007-07-15 14:32:21 +00:00
Sylvain Petreolle
3f9f01b3b3 unicode compatibility
svn path=/trunk/; revision=27684
2007-07-15 13:53:28 +00:00
Ged Murphy
c0ccb82f23 remove redundant string
svn path=/trunk/; revision=27680
2007-07-15 12:53:03 +00:00
Ged Murphy
2bd18ec234 fix the start menu icon to be the right way up
svn path=/trunk/; revision=27675
2007-07-15 11:57:52 +00:00
Colin Finck
085f7002ae Add a "shutdown" utility written by Frode Lillerud (frode AT enkelt DOT no), which is more compatible with the syntax of the Windows "shutdown" utility
I applied the second patch of bug #2379 and made the following changes to it:

- Removed the LocalFree line
  LocalFree can only be used if the memory is allocated with LocalAlloc. The memory doesn't need to be freed explicitly here.
- Removed the "uncertain if this is needed. Do boolean struct members default to TRUE?" comment
  Independent of the value, this setting is needed here.
- Removed a wrong 'exitOpts.shouldExit = TRUE;' in line 101.
  shouldExit was already set before and resetting it here to TRUE would also lead to TRUE if the user only sets opts.force, but not any of the other shutdown options.
- Use a consistent indentation and coding style
- Modified the Usage text a little bit, so all lines fit into console lines (max. 80 characters)
See issue #2379 for more details.

svn path=/trunk/; revision=27674
2007-07-15 11:15:27 +00:00
Thomas Bluemel
544cdbf9dd Finally get the fake (and broken by design) DOS device check to work
svn path=/trunk/; revision=27673
2007-07-15 08:33:49 +00:00
Timo Kreuzer
5a95124349 - fix IntValidateParent
- validate Parent windows on moving pixels
(both was fine earlier, but has been messed up recently)
- move sending of WM_SIZE and WM_MOVE from co_WinPosShowWindow to co_WinPosSetWindowPos
co_WinPosSetWindowPos:
- instantly erase when drawing windows or exposing region
- Invalidate child windows on BeginPaint
This should fix most window redrawing bugs and also (hopefully) speed up the gui (less redrawing).

svn path=/trunk/; revision=27672
2007-07-15 03:30:03 +00:00
Magnus Olsen
99e20bb44c Copied remotely
CMIDriver to Trunk
on silverblade request

svn path=/trunk/; revision=27671
2007-07-14 23:52:33 +00:00
Thomas Bluemel
0d910647aa Simplify code
svn path=/trunk/; revision=27668
2007-07-14 22:49:47 +00:00
Thomas Bluemel
bd6665924c - Fix caching of directory queries, FindFirstFile(Ex) should no longer return garbage occasionally
- These changes re-introduce the problem with searches for fake DOS devices that I claimed to have fixed in r27634

svn path=/trunk/; revision=27667
2007-07-14 22:29:42 +00:00
Timo Kreuzer
8cd2e2a887 fix German resource
svn path=/trunk/; revision=27666
2007-07-14 21:57:22 +00:00
Magnus Olsen
191ff40f7f wrong spi value in allot SPI_
Rewrote all SPI_ to make sure no one got wrong value
hopply this prevent wax crash in spi. 


svn path=/trunk/; revision=27665
2007-07-14 16:47:48 +00:00
Ged Murphy
7249536db8 Patch by Dmitry Chapyshev <lentind@yandex.ru>:
- Add icon more image formats and clean up existing ones
- Fix some Russian translations

svn path=/trunk/; revision=27664
2007-07-14 16:17:45 +00:00
Sylvain Petreolle
ac6f734427 fix french resource file
svn path=/trunk/; revision=27663
2007-07-14 16:14:11 +00:00
Johannes Anderwald
5c48c77054 - add terminate emulator option :)
svn path=/trunk/; revision=27662
2007-07-14 15:23:56 +00:00
Johannes Anderwald
47dc768408 - remove obsolete pid option
svn path=/trunk/; revision=27661
2007-07-14 15:10:17 +00:00
Magnus Olsen
06fbf99e3f add activate of screensaver when they are being selected.
we do not set or read register value for it yet, so defualt is the screensaver offline until u go into desk.cpl and select a screensaver.

svn path=/trunk/; revision=27660
2007-07-14 14:52:10 +00:00
Magnus Olsen
b2272ba67c adding SPI_SETSCREENSAVEACTIVE now, it can be set to false or true
false for no screen saver and true for screensaver. 

svn path=/trunk/; revision=27657
2007-07-14 14:17:54 +00:00
Magnus Olsen
b63aeeb74d fixing the limit of hover maxium time for SPI_SETMOUSEHOVERTIME
see msdn : http://msdn2.microsoft.com/en-us/library/ms724947.aspx

svn path=/trunk/; revision=27656
2007-07-14 13:56:24 +00:00
Magnus Olsen
4baff3cd38 Patch by David Lenon <DavidL@126.com>:
fixing some spi that was retutring using wrong param in retutin and setting spi
-------------------------------------------------------------------------------
1. I did add formating of the code and two debug msg. so it getting easy debug
waxdragon crashs

svn path=/trunk/; revision=27654
2007-07-14 13:18:25 +00:00
Aleksey Bragin
e5c1383b31 Patch by Dmitry Chapyshev <lentind@yandex.ru>:
- Fix russian translation.

svn path=/trunk/; revision=27651
2007-07-14 12:28:54 +00:00
Aleksey Bragin
0dd033e04d Patch by Dmitry Chapyshev <lentind@yandex.ru>:
- Fix russian translation of calc, charmap, msconfig, mscutils and taskmgr.
- Fix mistakes in russian translation of explorer.
- Move title of servman to translation resources and translate to russian language.

svn path=/trunk/; revision=27650
2007-07-14 12:11:50 +00:00
Thomas Bluemel
008fc0b1ca Patch by David Lenon <DavidL@126.com>:
- Fix overflow check in RtlUpcaseUnicodeStringToCountedOemString
See issue #2403 for more details.

svn path=/trunk/; revision=27649
2007-07-14 10:59:18 +00:00
Johannes Anderwald
1309c3f3eb - fix commandline arguments
svn path=/trunk/; revision=27648
2007-07-14 10:28:58 +00:00
Johannes Anderwald
d07065ab90 - fix command line handlung
- fix configuration and file parser
- remove hack

svn path=/trunk/; revision=27647
2007-07-14 10:24:02 +00:00
Thomas Bluemel
bdd2ecc99e Hide the clock in setupldr
svn path=/trunk/; revision=27646
2007-07-14 10:04:32 +00:00
Johannes Anderwald
f07d18172d - make sysreg compilable under linux
svn path=/trunk/; revision=27645
2007-07-14 10:01:09 +00:00
Thomas Bluemel
3a4932988f Don't strip the trailing backslash if the path is only a drive
svn path=/trunk/; revision=27644
2007-07-14 08:01:01 +00:00
Thomas Bluemel
a0637bc3ac Display junction points
svn path=/trunk/; revision=27643
2007-07-14 07:16:05 +00:00
James Tabor
4aa8a9db0f Fix build.
svn path=/trunk/; revision=27642
2007-07-13 23:20:36 +00:00
Christoph von Wittich
79ae53bf4b -fix some linux build issues
svn path=/trunk/; revision=27641
2007-07-13 23:19:04 +00:00
Thomas Bluemel
111b3553aa Adjust the owner edit field on page resizes
svn path=/trunk/; revision=27640
2007-07-13 22:56:32 +00:00
Johannes Anderwald
0f27116821 - blame svn
svn path=/trunk/; revision=27639
2007-07-13 22:16:15 +00:00
Johannes Anderwald
4592bbb147 - update slovak translation by Kario <kario@szm.sk>
See issue #2353 for more details.

svn path=/trunk/; revision=27638
2007-07-13 22:13:52 +00:00
Johannes Anderwald
7007712b2f - update french translation by Pierre Schweitzer
See issue #2399 for more details.

svn path=/trunk/; revision=27637
2007-07-13 21:51:13 +00:00
Thomas Bluemel
0cfece1c1e Add support for user quotas in GetDiskFreeSpaceExW
svn path=/trunk/; revision=27636
2007-07-13 21:42:44 +00:00
Thomas Bluemel
8acdce6856 Sync GetTempFileNameW to wine HEAD
svn path=/trunk/; revision=27635
2007-07-13 20:23:26 +00:00
Thomas Bluemel
532f7fecc5 Rewrite parts of FindFirstFileEx to:
- Fix searches relative to the current directory using the features RtlDosPathNameToNtPathName_U provides instead of hacking around them
- Enable searches for fake DOS devices. Some installers like NSIS use this feature to determine if a drive exists, this works now.

svn path=/trunk/; revision=27634
2007-07-13 19:43:09 +00:00
Magnus Olsen
5bce20b1be patch from Preston Pigglessworth email : tykef at atlas dot cz
---------------------------------------------------------------
update the translations for CZ
See issue #1958 for more details.

svn path=/trunk/; revision=27630
2007-07-13 13:43:46 +00:00
Daniel Reimer
f7105f9acb Fix Translation.
svn path=/trunk/; revision=27629
2007-07-13 13:43:02 +00:00
Magnus Olsen
ad43654e07 patch from Preston Pigglessworth email : tykef at atlas dot cz
---------------------------------------------------------------
update the translations for CZ
See issue #1958 for more details.

svn path=/trunk/; revision=27628
2007-07-13 13:38:26 +00:00
Magnus Olsen
846d92706e patch from Pierre Schweitzer (aka Heis Spiter) heis_spiter at hotmail dor com
------------------------------------------------------------------------------
1. remove one hard code line.
2. cleanup one rc file


See issue #2400 for more details.

svn path=/trunk/; revision=27627
2007-07-13 11:42:20 +00:00
Thomas Bluemel
062ffc428c Fix unoptimized builds
svn path=/trunk/; revision=27626
2007-07-13 09:53:48 +00:00
Johannes Anderwald
ea4c53340d - fix Buffer overflow in CmpHiveRootSecurityDescriptor
- patch by w3seek
See issue #2401 for more details.

svn path=/trunk/; revision=27625
2007-07-13 09:34:16 +00:00
Christoph von Wittich
456cbf9376 -revert my last change - I confused it with regedt32.exe
svn path=/trunk/; revision=27624
2007-07-12 23:26:19 +00:00
Johannes Anderwald
99ba170554 - add system.ini property page resource definition
svn path=/trunk/; revision=27623
2007-07-12 23:20:28 +00:00
Christoph von Wittich
1a4b3833af -change shortcut targetdir to system32
svn path=/trunk/; revision=27622
2007-07-12 23:16:16 +00:00
Christoph von Wittich
b690c23325 -install regedit in system32
svn path=/trunk/; revision=27621
2007-07-12 23:15:41 +00:00
Magnus Olsen
e8c11f0d71 patch from Yaroslav Ponomarenko yarryp at gmail dot com
-------------------------------------------------------
This is a small hack, instead send invaild data we are sending 
a hardcode value for few unimplement spi, This solv some problem 
with firefox, like icon is not longer gray out, frist time u start 
firefox, it also fix some other werid problem, 




svn path=/trunk/; revision=27620
2007-07-12 22:14:40 +00:00
Ged Murphy
b0309a9b22 add a note as to why I hackfixed it, so I don't forget
svn path=/trunk/; revision=27619
2007-07-12 22:02:47 +00:00
Magnus Olsen
924a230291 patch from w3seek
------------------
Don't mess with the stack in inline assembly because it cannot be
assumed that the compiler magically knows where the local variables are located
after changing the stack pointer manually.


See issue #2364 for more details.

svn path=/trunk/; revision=27618
2007-07-12 19:48:27 +00:00
Colin Finck
2f178e8cb6 Updated Italian translation by Paolo Devoti (devotip AT tiscali DOT it)
See issue #2391 for more details.

svn path=/trunk/; revision=27617
2007-07-12 16:44:15 +00:00
Ged Murphy
447975d4e0 fix shortcut icons
svn path=/trunk/; revision=27616
2007-07-12 15:50:19 +00:00
Aleksey Bragin
277f2718d0 - Firstly mark the IRP as pending, and only then release the lock (otherwise IRP is firstly completed/freed, and then tried to be marked as pending). This makes FireFox 1.5 working again.
- NULLify handle in case of TdiOpenDevice() failure.

svn path=/trunk/; revision=27615
2007-07-12 12:38:25 +00:00
Colin Finck
90ce81d302 Somehow this translation contained duplicate data, removed the duplicates
svn path=/trunk/; revision=27614
2007-07-12 12:28:42 +00:00
Colin Finck
cd5888ebd5 Small changes in the german translation of syssetup.dll
svn path=/trunk/; revision=27613
2007-07-12 11:29:29 +00:00
Thomas Bluemel
e0bf78bad7 Fix the semantics of SetFilePointer as described by Raymond Chen on http://blogs.msdn.com/oldnewthing/archive/2007/07/11/3805135.aspx
svn path=/trunk/; revision=27612
2007-07-12 10:56:00 +00:00
Johannes Anderwald
87d4c1e2b4 - update polish translation
See issue #2388 for more details.

svn path=/trunk/; revision=27611
2007-07-12 10:52:15 +00:00
Johannes Anderwald
8b1fea2111 - update french translation by Pierre Schweitzer
See issue #2390 for more details.

svn path=/trunk/; revision=27610
2007-07-12 10:47:07 +00:00
Christoph von Wittich
6368c774ec -export _strtoull - now dbghelp.dll should load
svn path=/trunk/; revision=27609
2007-07-12 10:05:28 +00:00
Ged Murphy
a6182da3f4 - Allow a greater distance between the underscore and the text for aesthetics
- Patch by David Leon (david at 126 dot com)

svn path=/trunk/; revision=27608
2007-07-12 08:13:18 +00:00
Andrew Munger
9f3137e69e Restore a missing " so I can build again.
svn path=/trunk/; revision=27607
2007-07-12 04:31:25 +00:00
Daniel Reimer
f5b6b4b6d1 Ged, you wanted a translation. ;-)
svn path=/trunk/; revision=27606
2007-07-11 23:40:21 +00:00
Thomas Bluemel
69a12fc06c Add missing structures
svn path=/trunk/; revision=27605
2007-07-11 23:12:54 +00:00
Daniel Reimer
4cfa3cd17e set eol:style native
svn path=/trunk/; revision=27604
2007-07-11 22:42:20 +00:00
Daniel Reimer
44df677a32 Add five new German translations.
svn path=/trunk/; revision=27603
2007-07-11 22:38:24 +00:00
Magnus Olsen
ea5e738541 patch from Yaroslav Ponomarenko yarryp at gmail dot com
1. adding support for  SPI_GETNONCLIENTMETRICS,  SPI_GETICONMETRICS, SPI_SETICONTITLELOGFONT, 
2. adding few unsupport spi and print it out, it mean we do not need do a context switch for them
3. and bugfix other spi as well



svn path=/trunk/; revision=27602
2007-07-11 22:11:58 +00:00
Ged Murphy
31735fc29d - Fix the syssetup resource files
- This fixes the issue of the device manager and service manager not showing in admin tools due to LoadString failing.
- Translators required please

svn path=/trunk/; revision=27601
2007-07-11 22:09:36 +00:00
Colin Finck
e63dd20980 getfirefox has been removed long time ago, so don't create its shortcut anymore
Thanks to HeisSpiter for making me noticing this :-)

svn path=/trunk/; revision=27600
2007-07-11 19:52:10 +00:00
Thomas Bluemel
1c694b55bc Fix checking the file's existence
svn path=/trunk/; revision=27599
2007-07-11 19:43:57 +00:00
Thomas Bluemel
9dfc7b707b Set the executable's directory as working directory, not the link's...
svn path=/trunk/; revision=27598
2007-07-11 19:34:45 +00:00
Colin Finck
d9e6b3b8eb Hm, Tortoise seems to forgot this one as well... :-/
svn path=/trunk/; revision=27597
2007-07-11 19:06:54 +00:00
Colin Finck
90e76cef8e Forgot this one, sorry...
svn path=/trunk/; revision=27596
2007-07-11 19:05:11 +00:00
Thomas Bluemel
14c9f8917d Set a working directory for the start menu items
svn path=/trunk/; revision=27595
2007-07-11 18:49:01 +00:00
Colin Finck
ce4d81a117 - Brazilian Portuguese Translations by Wagner Leandro Bueno Angelo (wagner.snake AT gmail DOT com), fixes bug #2385
- Moved the localization stuff to "rsrc.rc" files in some more components
See issue #2385 for more details.

svn path=/trunk/; revision=27594
2007-07-11 18:35:42 +00:00
Aleksey Bragin
4742301dbe - Fix wrongly-applied translation.
svn path=/trunk/; revision=27591
2007-07-11 16:08:29 +00:00
Colin Finck
349224ee0f Updated XML file by Coviti (coviti AT gmail DOT com)
See issue #2358 for more details.

svn path=/trunk/; revision=27590
2007-07-11 14:34:33 +00:00
Hervé Poussineau
19e99b1930 Add a status window instead of a black screen at the start of the 2nd stage, when installing devices
Now, we should be able to diagnostic if a hang is caused by a bad driver or something else

svn path=/trunk/; revision=27589
2007-07-11 11:51:42 +00:00
Hervé Poussineau
092b297b59 Put common code in livecd and 2nd stage to a shared routine
Simplify creating of optional shortcuts
Create an install log
LiveCD: start userinit.exe instead of directly starting the shell

svn path=/trunk/; revision=27588
2007-07-11 09:55:53 +00:00
Hervé Poussineau
01e4b9b9ac Write source file and line in the setup install log
svn path=/trunk/; revision=27587
2007-07-11 09:04:22 +00:00
Hervé Poussineau
3a9951f710 [FORMATTING]
Fix indentation (mixed tabs and spaces) by always using 4 spaces

svn path=/trunk/; revision=27586
2007-07-11 08:52:55 +00:00
Aleksey Bragin
13c22ddec4 - Russian translation fixes by Dmitry Chapyshev (lentin).
svn path=/trunk/; revision=27578
2007-07-10 20:45:56 +00:00
Timo Kreuzer
783668fa9a UTF8 -> ANSI encoding, so the file will not get messed up again with notepad
svn path=/trunk/; revision=27575
2007-07-10 20:18:58 +00:00
Timo Kreuzer
f34ad18bda - fix messed up file beginning. Do not use ms notepad to edit rc files!
svn path=/trunk/; revision=27574
2007-07-10 19:39:49 +00:00
Johannes Anderwald
0bc8628373 Lithuanian localization support.
Name: CMan
Mail: cman at cman dot us

See issue #2383 for more details.

svn path=/trunk/; revision=27573
2007-07-10 18:46:10 +00:00
Johannes Anderwald
8e5daa28f1 Lithuanian localization support.
Name: CMan
Mail: cman at cman dot us


See issue #2383 for more details.

svn path=/trunk/; revision=27572
2007-07-10 18:45:06 +00:00
Johannes Anderwald
1c17aab025 - forgot one file
svn path=/trunk/; revision=27570
2007-07-10 18:24:17 +00:00
Johannes Anderwald
c0caac9484 - major rewrite of sysreg
- refactor code to abstract os differences more cleaner
- code needs still be tested

svn path=/trunk/; revision=27569
2007-07-10 18:23:07 +00:00
Magnus Olsen
06641a82b7 patch from Yaroslav Ponomarenko yarryp at gmail dot com
NtGdiExtTextOut did try render no existed glyth in the glyth cache 



svn path=/trunk/; revision=27568
2007-07-10 17:44:23 +00:00
Ged Murphy
08344fca94 fix the SetServiceStatus idl definition
svn path=/trunk/; revision=27567
2007-07-10 14:55:14 +00:00
Ged Murphy
e9982e936f fix SetServiceStatus to now call ScmrSetServiceStatus to set the service data
svn path=/trunk/; revision=27566
2007-07-10 14:54:30 +00:00
Ged Murphy
f8ab7f007a implement ScmrSetServiceStatus, this goes some way to being able to manually control services
svn path=/trunk/; revision=27565
2007-07-10 14:49:51 +00:00
Colin Finck
31491cefa9 Update copyrights to 2007
svn path=/trunk/; revision=27564
2007-07-10 14:17:15 +00:00
Hervé Poussineau
9541d1c816 Prevent possible access out of bounds when calculating CPU speed
svn path=/trunk/; revision=27563
2007-07-10 13:30:43 +00:00
Colin Finck
aab51cffca Delete the unneeded and wrong SUBLANG_NEUTRAL line from the dialog definition
See issue #2381 for more details.

svn path=/trunk/; revision=27562
2007-07-10 13:29:27 +00:00
Colin Finck
de3cbdd76e Adding/updating french translations for WordPad and ImageSoft by Heis Spiter (heis_spiter AT hotmail DOT com)
This patch also removes the call to a wrong window in ImageSoft

I slightly modified the patch to match with our new SUBLANG rules.
See issue #2377 for more details.

svn path=/trunk/; revision=27561
2007-07-10 13:17:54 +00:00
Colin Finck
84b861da97 SUBLANG fixes for rosapps
svn path=/trunk/; revision=27558
2007-07-10 12:20:59 +00:00
Colin Finck
cabf9252e6 Change the sublanguage of "nl-NL.rc" to SUBLANG_NEUTRAL again, since LANG_DUTCH has two sublanguages (SUBLANG_DUTCH and SUBLANG_DUTCH_BELGIAN)
This reverts tkreuzer's change in r27541

svn path=/trunk/; revision=27557
2007-07-10 10:16:07 +00:00
Hervé Poussineau
8b12884393 [FORMATTING]
Fix formatting, to have an indentation of 4 spaces
No code change

svn path=/trunk/; revision=27553
2007-07-09 23:22:43 +00:00
Ged Murphy
4216adf631 - Rewrite the service handler and parts of the main control thread. The rest will be rewritten bit by bit.
- tcpsvcs now cleanly starts serves and stops in Windows.

svn path=/trunk/; revision=27552
2007-07-09 23:13:09 +00:00
James Tabor
2c13c59b51 Fix Linux build.
svn path=/trunk/; revision=27551
2007-07-09 20:39:05 +00:00
Daniel Reimer
79bbf63c2b Set eol:style native
svn path=/trunk/; revision=27547
2007-07-09 18:11:53 +00:00
Daniel Reimer
b5277127b7 - Commit Translations from Bug #2350 - Bug #2353 by Kairo (kario@szm.sk)
- Half Commit rc file fix of Bug #2355 (Other half was already fixed today ;-) )

svn path=/trunk/; revision=27546
2007-07-09 17:59:50 +00:00
Hervé Poussineau
b71a99a951 Add reason.h header
See issue #2378 for more details.

svn path=/trunk/; revision=27545
2007-07-09 17:43:38 +00:00
Daniel Reimer
1431bed8bb Add Slovak Translation made by Kario.
See issue #2349 for more details.

svn path=/trunk/; revision=27544
2007-07-09 17:34:26 +00:00
Daniel Reimer
86977cdc8c Set eol:style native. This should be the Final Commit.
svn path=/trunk/; revision=27543
2007-07-09 17:14:36 +00:00
Daniel Reimer
f2136dc264 DOZENS of SUBLANG Fixes.
svn path=/trunk/; revision=27542
2007-07-09 17:03:56 +00:00
Timo Kreuzer
c1a1384688 SUBLANG_NEUTRAL -> SUBLANG_DEFAULT to fix regedit resource compilation
svn path=/trunk/; revision=27541
2007-07-09 16:03:23 +00:00
Colin Finck
2e52161bb0 Part 2 of X of trying to end up with all this SUBLANG mess
Alphabetically, the last RC file I changed was "cdlg_No.rc"

svn path=/trunk/; revision=27540
2007-07-09 15:25:44 +00:00
Colin Finck
f86a818579 Part 1 of X of trying to end up with all this SUBLANG mess
The new rules for the SUBLANGs are here: http://www.reactos.org/wiki/index.php/Sublang

Reverts r27532 as this was a step in the wrong direction
Also corrects some of the wrong SUBLANGs

svn path=/trunk/; revision=27539
2007-07-09 14:45:32 +00:00
Christoph von Wittich
699bd03ad8 -fix a warning (part 2/2)
svn path=/trunk/; revision=27538
2007-07-09 12:59:00 +00:00
Christoph von Wittich
54c9e4033d -fix a warning
svn path=/trunk/; revision=27537
2007-07-09 12:58:38 +00:00
Colin Finck
ca6658fc5a SUBLANG_SPANISH_MODERN is missing in the table on MSDN, but it's needed by our NLS
Readded it

Maybe someone can check if we can replace this with SUBLANG_SPANISH or another spanish variant, since SUBLANG_SPANISH_MODERN seems to be outdated

svn path=/trunk/; revision=27536
2007-07-09 12:21:08 +00:00
Colin Finck
b518786f1b Revert EmuandCo's change in r27533 (should work now with the new defines in winnt.h)
svn path=/trunk/; revision=27535
2007-07-09 11:08:51 +00:00
Colin Finck
7bc3f0f289 Add some more LANG and SUBLANG defines
Source: http://msdn2.microsoft.com/en-us/library/ms776294.aspx

svn path=/trunk/; revision=27534
2007-07-09 11:05:06 +00:00
Daniel Reimer
7cfb369ca4 Fix Build
svn path=/trunk/; revision=27533
2007-07-09 10:44:29 +00:00
Daniel Reimer
a8077b66ae Part 1 of X.
Changing SUBLANGS to SUBLANG_(CoutryName)
If I touched a wine synched one, I'll revert later.

svn path=/trunk/; revision=27532
2007-07-09 10:22:26 +00:00
Magnus Olsen
b660147329 patch from Yaroslav Ponomarenko yarryp at gmail dot com
revert 27521, bugfix the regress in second boot with this patch
-----------------------------------------------------------------
I GreatLord hope it is no more regress, if any one found any werid
with this change, please let me known direcly.



svn path=/trunk/; revision=27531
2007-07-09 05:44:59 +00:00
Christoph von Wittich
2ee6ba87f9 -fix a memory leak
svn path=/trunk/; revision=27530
2007-07-09 02:02:30 +00:00
Christoph von Wittich
972c5d1754 -fix a memory leak
svn path=/trunk/; revision=27529
2007-07-09 01:52:35 +00:00
Hervé Poussineau
e392256c32 Do not complain on IRP_MN_FILTER_RESOURCE_REQUIREMENTS
svn path=/trunk/; revision=27526
2007-07-08 22:19:51 +00:00
Christoph von Wittich
0eb1866364 -add a newline to the end of the file to make gcc happy
svn path=/trunk/; revision=27524
2007-07-08 21:28:37 +00:00
Christoph von Wittich
5fc7647c8a -fix some more warnings
svn path=/trunk/; revision=27523
2007-07-08 21:27:33 +00:00
Hervé Poussineau
1d4ef813b6 Revive acpi.sys driver
svn path=/trunk/; revision=27522
2007-07-08 21:26:42 +00:00
Hervé Poussineau
4a614a2899 Revert half of revision 27465, as it breaks 2nd stage setup ("Failure rendering glyph")
svn path=/trunk/; revision=27521
2007-07-08 21:23:47 +00:00
Eric Kohl
a1c8d56925 Fix a typo.
svn path=/trunk/; revision=27519
2007-07-08 20:39:27 +00:00
Christoph von Wittich
9017e736ff -fix some warnings
svn path=/trunk/; revision=27518
2007-07-08 20:38:35 +00:00
Eric Kohl
65e920d5da InternalOpenDirW: Fix object attribute.
svn path=/trunk/; revision=27517
2007-07-08 20:21:42 +00:00
Daniel Reimer
e32148b1e4 - Set eol:style native
svn path=/trunk/; revision=27516
2007-07-08 20:19:35 +00:00
Hervé Poussineau
e394d5e78d Fix usage of KdComPortInUse
svn path=/trunk/; revision=27515
2007-07-08 20:13:20 +00:00
Eric Kohl
add1532e20 - Fix indentation.
- Replace tabs by spaces.
- Replace STDCALL by WINAPI.
- Replace Alex' unreadable single-line statements by readable ones.
- No code changes.

svn path=/trunk/; revision=27514
2007-07-08 20:09:22 +00:00
Christoph von Wittich
c57c69624e -fix some format strings
svn path=/trunk/; revision=27513
2007-07-08 19:44:11 +00:00
Christoph von Wittich
7b99b108be -fix some more compilation issues
svn path=/trunk/; revision=27511
2007-07-08 19:34:23 +00:00
James Tabor
d08a778fd1 Fix Linux build.
svn path=/trunk/; revision=27510
2007-07-08 19:26:23 +00:00
Daniel Reimer
c7fc846f80 - set all RC Files to eol:style native
- add German RC File to mmc and Matrix Screensaver
- Fix RC Headers in the hope that GreatLord is happy. It builds well in GCC.

svn path=/trunk/; revision=27509
2007-07-08 19:15:50 +00:00
Christoph von Wittich
addc92fc58 -fix some compilation errors
svn path=/trunk/; revision=27507
2007-07-08 18:54:07 +00:00
Daniel Reimer
03fb0c8a35 set eol:style native
svn path=/trunk/; revision=27506
2007-07-08 18:02:55 +00:00
Daniel Reimer
02934dc3c6 Reorganize winhelp the way all other apps are organized too.
svn path=/trunk/; revision=27505
2007-07-08 18:01:14 +00:00
Johannes Anderwald
fe8c39773c - part 2/2 of bulgarian translation update
See issue #2366 for more details.

svn path=/trunk/; revision=27504
2007-07-08 18:00:21 +00:00
Johannes Anderwald
3f0a181d72 - part 1/2 of bulgarian translation update
See issue #2366 for more details.

svn path=/trunk/; revision=27503
2007-07-08 17:58:30 +00:00
Andrew Greenwood
330b16d830 Restructured PORTCLS as requested by Christoph_vW (so PREfast can be
used.) Here is also a very bare-bones implementation of SysAudio 
(actually it just creates \Device\sysaudio and a symlink for now...)


svn path=/trunk/; revision=27494
2007-07-08 17:31:55 +00:00
Aleksey Bragin
8d3e4b4e77 - Fix a couple of places where tagged commands support was not implemented.
- Uncomment buslogic.sys since it now half-works (at least it doesn't hang, and it even recognizes the driver, however an attempt to setup reactos to scsi disk fails).

svn path=/trunk/; revision=27493
2007-07-08 17:14:19 +00:00
Daniel Reimer
34fdc401c5 Set eol:style native (I hope....)
svn path=/trunk/; revision=27492
2007-07-08 17:03:40 +00:00
Johannes Anderwald
402b14fa42 - French translation for fontview (based on en-US.rc) by Pierre Schweitzer (heis_spiter at hotmail com)
See issue #2370 for more details.

svn path=/trunk/; revision=27491
2007-07-08 16:51:03 +00:00
Johannes Anderwald
5fcc4be1d1 - lithuanian translation by Vytis Girdzijauskas (cman at cman dot us)
See issue #2376 for more details.

svn path=/trunk/; revision=27490
2007-07-08 16:43:53 +00:00
Hervé Poussineau
ec9f3068a6 Explicitly use Unicode version
svn path=/trunk/; revision=27489
2007-07-08 16:37:22 +00:00
Magnus Olsen
3f6528063c patch from Yaroslav Ponomarenko yarryp at gmail dot com
fixed last bug for swamp mouse button 


svn path=/trunk/; revision=27488
2007-07-08 16:24:29 +00:00
Andrew Greenwood
224af7cee9 Further tidying up of the multimedia components. Renamed MPU401_KS to
MPU401 and SB16_KS to SB16. Have updated the rbuild files so these 
should still build without issue.


svn path=/trunk/; revision=27487
2007-07-08 16:12:09 +00:00
Magnus Olsen
6c0a11007b use // as comment instead for ;
svn path=/trunk/; revision=27486
2007-07-08 16:09:29 +00:00
Andrew Greenwood
ec310c8989 Renamed legacy mpu401 driver to mpu401_nt4 and disabled the building of
all drivers in this directory (all are incomplete, none of them work and 
are superceded by the Kernel Streaming alternatives.) Leaving drivers in 
source tree for reference at present but they can eventually be removed.


svn path=/trunk/; revision=27485
2007-07-08 16:07:01 +00:00
Magnus Olsen
15355ab9a9 patch from Yaroslav Ponomarenko yarryp at gmail dot com
Implement so spi_ msg works now with swamp mouse buttun, but it seam our msg quare does not support it yet or must 
we send a msg from spi msg we change the mouse buttun to notify the program. either way it is now partly supported 
by his patch

svn path=/trunk/; revision=27484
2007-07-08 15:58:47 +00:00
Andrew Greenwood
3f14a21b6f Kernel-mode COM rough implementation for KS. Forgot to add to SVN on
last commit.


svn path=/trunk/; revision=27483
2007-07-08 15:54:12 +00:00
Magnus Olsen
aec8f7eff1 correct fix for log10.
svn path=/trunk/; revision=27482
2007-07-08 15:33:38 +00:00
Christoph von Wittich
a8ea3c335e -set eol-style:native
-fix line endings

svn path=/trunk/; revision=27477
2007-07-08 14:50:25 +00:00
Christoph von Wittich
5eea562870 -release spinlocks before calling IoCompleteRequest
-fix some format strings

svn path=/trunk/; revision=27476
2007-07-08 14:27:17 +00:00
Andrew Greenwood
ed12e0c8c9 Missed a file on last commit...
svn path=/trunk/; revision=27475
2007-07-08 13:58:51 +00:00
Andrew Greenwood
dff03c9e44 A few modifications necessary to get PortCls and KS to build. PortCls
needs restructuring but that will be done later.


svn path=/trunk/; revision=27474
2007-07-08 13:53:39 +00:00
Christoph von Wittich
9be5d6e114 -avoid dereferencing of NULL pointers
svn path=/trunk/; revision=27473
2007-07-08 13:38:08 +00:00
Christoph von Wittich
7a7bdde4ec -use ExAllocatePoolWithTag instead of ExAllocatePool
-IoMapTransfer should not called without an AdapterObject

svn path=/trunk/; revision=27472
2007-07-08 13:24:53 +00:00
Aleksey Bragin
540155a12a - Delete unneeded fields from DeviceExtension.
- Reformat ScsiPortGetVirtualAddress(), and make it using SrbExtensionBuffer pointer instead of a removed VirtualAddress.

svn path=/trunk/; revision=27471
2007-07-08 12:32:02 +00:00
Aleksey Bragin
ad9fd2687e - Enable DMA support, this time properly.
- Fix ScsiPortGetPhysicalAddress() function to use scatter-gather list, if needed.
- Now BusLogic initializes succesfully, but BSODs later.

svn path=/trunk/; revision=27470
2007-07-08 12:21:18 +00:00
Aleksey Bragin
081ca81b64 Reverting last commit, sorry it makes scsiport hanging.
svn path=/trunk/; revision=27469
2007-07-08 11:47:28 +00:00
Aleksey Bragin
6a56fe39cc - Start adding DMA support (still not finished, so BusLogic fails).
svn path=/trunk/; revision=27468
2007-07-08 11:44:42 +00:00
Magnus Olsen
b35a8f64a1 patch from Daniel Reimer reimer.daniel at freenet dot de
fixed some sublang mess


svn path=/trunk/; revision=27467
2007-07-08 11:33:54 +00:00
Eric Kohl
9699821101 Fix bug in log10 function. Patch by Carlo Bramix.
This fixes bug #2357.

svn path=/trunk/; revision=27466
2007-07-08 11:22:39 +00:00
Magnus Olsen
aba2e5a942 patch from Yaroslav Ponomarenko yarryp at gmail dot com
adding almost all spi msg can be resive/send to win32k and 
some are stub and will not work yet, but win32k will accpect them 

svn path=/trunk/; revision=27465
2007-07-08 11:16:42 +00:00
Daniel Reimer
30764d14ac - Add German RC FIle for intl_new
- Fix Hungarian and Ukrainian RC File. (I hope..)

svn path=/trunk/; revision=27464
2007-07-08 11:06:25 +00:00
Colin Finck
2767e008a0 Fix the "intl_new" build (add an "rsrc.rc" file)
svn path=/trunk/; revision=27463
2007-07-08 10:55:58 +00:00
Magnus Olsen
6c6e093fbd adding rsrc.rc
svn path=/trunk/; revision=27462
2007-07-08 10:41:31 +00:00
Magnus Olsen
f905e2a4fd Fixing some of the wrong sublang problem
svn path=/trunk/; revision=27461
2007-07-08 10:37:00 +00:00
Colin Finck
a0530e5dd5 - Brazilian Portuguese Translations by Snake (wagner.snake AT gmail DOT com)
- Also adds an "rsrc.rc" file to "ntvdm"
See issue #2373 for more details.

svn path=/trunk/; revision=27460
2007-07-08 10:19:12 +00:00
Magnus Olsen
ba38a037b5 fixing right sub id
please check with vs if the rc got right sub id before a commit.
I do not whant file on other langues like fi in english lang and so on

svn path=/trunk/; revision=27459
2007-07-08 01:11:17 +00:00
Magnus Olsen
972b4279de patch from Yaroslav Ponomarenko yarryp at gmail dot com
adding missing #define of a spi_ into winuser.h

svn path=/trunk/; revision=27458
2007-07-08 00:34:43 +00:00
Magnus Olsen
3c5e9fd0c0 move some value to right place into the text FIXME load from register
svn path=/trunk/; revision=27457
2007-07-07 21:09:15 +00:00
Thomas Bluemel
016296a635 When calling ShellExecuteEx for the selected objects in a shell view, set the current directory to the view's directory.
svn path=/trunk/; revision=27456
2007-07-07 19:11:49 +00:00
Magnus Olsen
3207aad442 TrackMouseEvent
remove some hard code value, thuse value are now in win32k, it is either full implement, or partly implement 

TrackMouseEventProc
remove some hard code value, thuse value are now in win32k, it is either full implement, or partly implement 

svn path=/trunk/; revision=27455
2007-07-07 18:23:09 +00:00
Magnus Olsen
52dc4e8d79 patch from Yaroslav Ponomarenko yarryp at gmail dot com
implement pointers 
MouseSpeed, CursorAccelerationInfo.FirstThreshold , 
CursorAccelerationInfo.SecondThreshold, CursorAccelerationInfo.Acceleration, 
MouseHoverTime, MouseHoverWidth, MouseHoverHeight
for SPI_SETMOUSEHOVERTIME, SPI_SETMOUSEHOVERWIDTH, SPI_SETMOUSEHOVERHEIGHT, SPI_SETMOUSE, SPI_SETMOUSESPEED.
WARING : 
Some of them are not 100% support in win32k for they are need be fill in from the mouse drv and 
send them to the mouse drv as well, this part are not done yet.


svn path=/trunk/; revision=27454
2007-07-07 18:17:03 +00:00
Aleksey Bragin
c7b28e24dd - Temporarily remove buslogic.sys from 1st stage too. It'll be reincluded once scsiport.sys is fixed.
svn path=/trunk/; revision=27453
2007-07-07 18:00:11 +00:00
Colin Finck
257520e113 Partly commit the patch from bug #2358
svn path=/trunk/; revision=27452
2007-07-07 14:50:10 +00:00
Ged Murphy
9a6cc3dc06 set the address bar font to the default GUI font
svn path=/trunk/; revision=27450
2007-07-07 10:28:53 +00:00
Christoph von Wittich
32212ecff8 -check for already defined NDEBUG to be able to build the driver with PREfast
svn path=/trunk/; revision=27449
2007-07-07 10:23:09 +00:00
Aleksey Bragin
315b516aea - Disable BusLogic driver until scsiport fully supports it.
- Do NOT keep VMWare Tools CD mounted after 2nd stage, or you'll get vmscsi.sys installed, which is not supported yet either!

svn path=/trunk/; revision=27448
2007-07-07 10:13:04 +00:00
Ged Murphy
de5865bcd6 - fixes / improvements to regedit, see bug 2356 for details
- patch by carlo bramix  (carlo.bramix at libero it)
- it should be noted that import_registry_file needs more work to support unicode files

svn path=/trunk/; revision=27447
2007-07-07 10:09:24 +00:00
Aleksey Bragin
f9fbc836c8 - Separate common buffer allocation routine from ScsiPortGetUncachedExtension() into SpiAllocateCommonBuffer(), along with a code reformat.
- Use this function in ScsiPortInitialize() and in ScsiPortGetUncachedExtension().

svn path=/trunk/; revision=27446
2007-07-07 09:56:55 +00:00
Aleksey Bragin
0d4033d95d - Zero initialize a variable (I have no idea how PREfast missed this important flaw).
- Fix PCI bus enumeration, so that finding SCSI controllers on PCI bus works now.

svn path=/trunk/; revision=27445
2007-07-07 08:52:35 +00:00
Art Yerkes
adb11df303 Resolve imports at boot time by loading the appropriate modules. We still need
to fix the same stuff in ntoskrnl for pnp loading.
Thanks to hpoussin for fixing pnp so this works.

svn path=/trunk/; revision=27444
2007-07-07 04:43:08 +00:00
Christoph von Wittich
320491c5f1 -fix a memory leak
-don't use uninitialized memory

svn path=/trunk/; revision=27443
2007-07-07 01:39:19 +00:00
Christoph von Wittich
733237f1ad -use ExAllocatePoolWithTag instead of ExAllocatePool
svn path=/trunk/; revision=27442
2007-07-07 01:16:58 +00:00
Christoph von Wittich
8d94a7336b -some changes to be able to build the driver with PREfast
svn path=/trunk/; revision=27441
2007-07-07 01:09:55 +00:00
Christoph von Wittich
891171aebf -added msbuild target to rbuild to be able to test drivers with PREfast
svn path=/trunk/; revision=27440
2007-07-07 00:38:59 +00:00
Hervé Poussineau
9c9992b6a5 Fix traces
Do an unicode build

svn path=/trunk/; revision=27439
2007-07-06 22:47:39 +00:00
Christoph von Wittich
f974855d7e fix some PREfast warnings
svn path=/trunk/; revision=27438
2007-07-06 21:50:48 +00:00
Christoph von Wittich
676da8d7b8 fix gcc build
svn path=/trunk/; revision=27437
2007-07-06 21:36:43 +00:00
Christoph von Wittich
a9c2017b33 fix some PREfast issues
svn path=/trunk/; revision=27436
2007-07-06 21:33:51 +00:00
Hervé Poussineau
e3d5443c9a Simplify IoSynchronousInvalidateDeviceRelations/IoInvalidateDeviceRelations
IoInvalidateDeviceRelations now creates a workitem, which will call IoSynchronousInvalidateDeviceRelations()

svn path=/trunk/; revision=27435
2007-07-06 21:12:44 +00:00
Christoph von Wittich
8b8021bbb9 -some minor changes to be able to build the driver with PREfast
-use ExAllocatePoolWithTag instead of ExAllocatePool

svn path=/trunk/; revision=27434
2007-07-06 20:25:40 +00:00
Christoph von Wittich
01b3f0d7cf -some minor changes to be able to build the driver with PREfast
-use ExAllocatePoolWithTag instead of ExAllocatePool

svn path=/trunk/; revision=27433
2007-07-06 20:25:30 +00:00
Aleksey Bragin
03c866e842 [AUDIT]
- There are plenty of information about PCI, about bus drivers in Windows, and where there is too small information, the testing helps.
- Code is logical, authors are known.

svn path=/trunk/; revision=27432
2007-07-06 20:24:15 +00:00
Aleksey Bragin
8d27e7eff0 [AUDIT]
- isapnp is based on a linux driver, and mainly had only fixes after importing that code. Clean.

svn path=/trunk/; revision=27431
2007-07-06 20:18:43 +00:00
Christoph von Wittich
ea6b02f501 -some minor changes to be able to build the driver with PREfast
-declare I8042InterruptService* routines as KSERVICE_ROUTINE

svn path=/trunk/; revision=27430
2007-07-06 18:14:23 +00:00
Christoph von Wittich
9f79a749af Never call IoCompleteRequest while holding a spin lock. Attempting to complete an IRP while holding a spin lock can cause deadlocks.
svn path=/trunk/; revision=27429
2007-07-06 17:14:24 +00:00
Ged Murphy
f0124e6d34 0 -> FALSE for clarity
svn path=/trunk/; revision=27424
2007-07-06 14:02:37 +00:00
Ged Murphy
843b40c7ad - ensure SetLastError is called when EnumServicesStatusEx is returning required buffer sizes
- servman.exe now lists all ReactOS services

svn path=/trunk/; revision=27423
2007-07-06 13:53:29 +00:00
Aleksey Bragin
771911b3ab Dmitry Chapyshev:
- More russian translations, this time in rosapps.

svn path=/trunk/; revision=27422
2007-07-06 11:59:52 +00:00
Aleksey Bragin
8a99fa15c5 Dmitry Chapyshev:
- Change strange icon in mmc to a better one.
- Fix russian translation of newdev.dll and serialui.dll (I, Aleksey, partially changed the translation to my personal preference).

svn path=/trunk/; revision=27421
2007-07-06 10:42:22 +00:00
Aleksey Bragin
6d53c91bed - Start turning KDBG into a KD wrapper (and thus removing where possible KDBG-specific hacks in various places of the kernel).
- KdbSymInit() became a general initialization routine.
- KdpEnterDebuggerException() is modified to:
  * Call KDBG's symbol-loading hook when BREAKPOINT_LOAD_SYMBOLS is hit.
  * If KDBG is turned on, and it's a breakpoint, the Eip is incremented (thus fixing the inability to "cont" after breaking into the KDBG debugger).

svn path=/trunk/; revision=27419
2007-07-06 09:02:16 +00:00
Magnus Olsen
7df63f2bb1 add a missuing DPRINT1 in a unpimplement function
svn path=/trunk/; revision=27416
2007-07-06 08:24:55 +00:00
Magnus Olsen
aeccd973cc write out the bus name we say is not pnp, instead using number
svn path=/trunk/; revision=27415
2007-07-06 08:19:09 +00:00
Christoph von Wittich
92128ef797 fix some typos in the comments
svn path=/trunk/; revision=27414
2007-07-05 23:29:54 +00:00
Magnus Olsen
5ecbbb6ebb Do not hack video driver, VBE driver works in windows xp
----------------------------------------------------------------
Fixed to detect few legazy bus types, fill the list for no
PnP bus type in videprt/videoprt.c functions VideoPortInitialize

svn path=/trunk/; revision=27413
2007-07-05 22:06:47 +00:00
Hervé Poussineau
a6fa0638e6 Never call driver AddDevice routine with a NULL PDO
svn path=/trunk/; revision=27412
2007-07-05 20:08:28 +00:00
Hervé Poussineau
a10da52c02 Do not rely on a call to AddDevice with a NULL PDO to start to use a legacy video miniport
svn path=/trunk/; revision=27411
2007-07-05 20:03:22 +00:00
Hervé Poussineau
478a0d960b ReactOS now supports ACLs... (fix SeAccessCheck to sometimes deny access)
svn path=/trunk/; revision=27409
2007-07-05 17:01:02 +00:00
Hervé Poussineau
fa6d39f0e0 Let admins modify the token
svn path=/trunk/; revision=27408
2007-07-05 16:59:27 +00:00
Hervé Poussineau
e8c10e466d Better support of GUID_DEVICE_SYS_BUTTON interface.
Now, the kernel can receive power events from the keyboard, but only reacts by displaying a message

svn path=/trunk/; revision=27407
2007-07-05 14:23:16 +00:00
Magnus Olsen
802891c598 smaller cleanup remove empty folders
svn path=/trunk/; revision=27406
2007-07-05 12:31:09 +00:00
Magnus Olsen
8183f17038 adding usp10.dll to bootcd some program need it
svn path=/trunk/; revision=27405
2007-07-05 11:24:46 +00:00
Christoph von Wittich
28e26ae6bc don't zero an OEM_STRING with sizeof(UNICODE_STRING)
svn path=/trunk/; revision=27404
2007-07-05 11:10:08 +00:00
Magnus Olsen
e2651a0dbc Fixing a smaller bug was intrudes in rev 27394
----------------------------------------------
1. vmware driver child windows was not show right no button or text, in second boot
this change take care of that regress and does not intrudes any new regress what I can 
see. 

svn path=/trunk/; revision=27403
2007-07-05 09:46:57 +00:00
Magnus Olsen
1abc4ee915 Bugfix TrackMouseEvent
patch from Yaroslav Ponomarenko yarryp at gmail dot com
1. make it thread safe
2. fixing so ToolBar  works


/* greatlord */
1. I did smaller change to the patch
2. I also fixed if with missing { } alredy in ros code
See issue #2359 for more details.

svn path=/trunk/; revision=27402
2007-07-05 09:28:11 +00:00
Hervé Poussineau
05fa42912f Fix MSVC project files if version is not 8.00
svn path=/trunk/; revision=27399
2007-07-05 08:02:57 +00:00
Hervé Poussineau
1cf915a077 ZeroMemory the correct amount of bytes
svn path=/trunk/; revision=27398
2007-07-05 07:05:05 +00:00
Christoph von Wittich
7f02b7b93c ZeroMemory the correct amount of bytes
svn path=/trunk/; revision=27397
2007-07-05 01:24:57 +00:00
Christoph von Wittich
9699e0506c ZeroMemory the correct amount of bytes
svn path=/trunk/; revision=27396
2007-07-05 01:22:40 +00:00
Timo Kreuzer
f1a7f30887 co_WinPosSetWindowPos: fix the redrawing (instead of simply removing some code, like my last commit, sorry). Now it works more like on windows and both the problem of a blank control panel and ugly wizard pages are gone. Fixes bug 735, see also bug 902, may fix bug 2141.
See issue #735 for more details.

svn path=/trunk/; revision=27394
2007-07-04 22:22:30 +00:00
Andrew Greenwood
9dc5649fa5 Including <debug.h> in order to use DPRINT rather than my own homebrew
equivalent (using printf!) - this should prevent the un-necessary 
verbose output when starting cmd.exe now ;)


svn path=/trunk/; revision=27393
2007-07-04 18:55:23 +00:00
Aleksey Bragin
1070114e85 - IntCallWindowsProc(): DPRINT1 -> DPRINT, it seems it's allright if it's called with WndProc == NULL.
svn path=/trunk/; revision=27392
2007-07-04 17:20:06 +00:00
Christoph von Wittich
6fccf28376 fixed IopLockFileObject
svn path=/trunk/; revision=27391
2007-07-04 17:05:31 +00:00
Ged Murphy
be2228c407 change the name of the VS config from * - Wine headers to * - ReactOS headers
svn path=/trunk/; revision=27389
2007-07-04 15:28:56 +00:00
Thomas Bluemel
2e3fcb5dd9 Don't silently accept entrypoint=""
svn path=/trunk/; revision=27388
2007-07-04 15:27:32 +00:00
Christoph von Wittich
c0ed3a362f fix loading of comcat.dll
svn path=/trunk/; revision=27387
2007-07-04 15:25:21 +00:00
Hervé Poussineau
9c03ef676e Add a message in case of error when loading/initializing driver
svn path=/trunk/; revision=27386
2007-07-04 14:13:30 +00:00
Aleksey Bragin
122331f605 - Correctly set DN_DRIVER_LOADED flag.
- This fixes "i8042prt/kbdclass.sys get installed one more time at each boot".
See issue #2330 for more details.

svn path=/trunk/; revision=27385
2007-07-04 13:58:30 +00:00
Andrew Greenwood
4d91599bd6 Removing WDMAUD until I figure out how it can be implemented properly
(this will not have any adverse effects as it doesn't actually work 
yet.) Also replacing MMDRV with a rewritten version as it appears to
contain big chunks copied directly from NT4 DDK examples!


svn path=/trunk/; revision=27384
2007-07-04 10:17:48 +00:00
Christoph von Wittich
a941582fa2 fixed vmware video driver installation in vmware 6
svn path=/trunk/; revision=27383
2007-07-04 10:17:28 +00:00
Ged Murphy
d090403690 - Add some UNIMPLEMENTED macros to highlight API's being called
- Reformat the code, no other changes

svn path=/trunk/; revision=27382
2007-07-04 08:26:47 +00:00
Andrew Munger
8db103104e Remove stdole2.tlb from the bootcd also.
svn path=/trunk/; revision=27381
2007-07-03 22:04:42 +00:00
Christoph von Wittich
8201eb491c remove stdole2.tlb from build until there is a solution to build it properly with our buildsystem - wrc can't handle files from other directories than the source dir
svn path=/trunk/; revision=27379
2007-07-03 21:17:51 +00:00
Aleksey Bragin
daf2928882 - Uncomment PCNet driver's installation, since it's support has been fixed in 27377.
- Fix a typo.

svn path=/trunk/; revision=27378
2007-07-03 20:46:43 +00:00
Aleksey Bragin
c2af381a89 - Fix a multiplication error, which lead to a garbage DueTime being passed to KeSetTimerEx().
svn path=/trunk/; revision=27377
2007-07-03 20:38:09 +00:00
Christoph von Wittich
efb16b636b add stdole2.tlb to bootcd
svn path=/trunk/; revision=27376
2007-07-03 19:12:19 +00:00
Christoph von Wittich
114fb8a243 add stdole2.tlb to build
svn path=/trunk/; revision=27375
2007-07-03 19:11:35 +00:00
Christoph von Wittich
ccf9439e1e renamed TypeLib target to EmbeddedTypeLib
svn path=/trunk/; revision=27374
2007-07-03 19:10:33 +00:00
Christoph von Wittich
c9c06660a0 Copied remotely
svn path=/trunk/; revision=27373
2007-07-03 19:09:50 +00:00
Aleksey Bragin
d2ec09ba38 - Add debug prints.
svn path=/trunk/; revision=27369
2007-07-03 17:59:35 +00:00
Christoph von Wittich
42b7fb0c0e -added support for TypeLibs
svn path=/trunk/; revision=27368
2007-07-03 15:27:43 +00:00
Aleksey Bragin
2d419df2e3 - Revert changes to CRT which were not supposed to happen at all (26820, 27200:27204), and were incorrect.
- Remove artifacts from strtoul/strtoull source code (excessive line breaks).

svn path=/trunk/; revision=27367
2007-07-03 15:24:59 +00:00
Hervé Poussineau
55f2798900 Replace tabs by spaces. No code change
svn path=/trunk/; revision=27366
2007-07-02 22:39:11 +00:00
Hervé Poussineau
bffd171f09 Fix indentation (no code change)
svn path=/trunk/; revision=27365
2007-07-02 22:31:30 +00:00
Hervé Poussineau
e3d5a1d218 Clean up options between files
svn path=/trunk/; revision=27363
2007-07-02 18:24:43 +00:00
Hervé Poussineau
989dc0e975 Fix paths to some files
svn path=/trunk/; revision=27362
2007-07-02 18:24:01 +00:00
Hervé Poussineau
668dd86fe9 Fix some prototypes
svn path=/trunk/; revision=27360
2007-07-02 13:40:06 +00:00
The Wine Synchronizer
317ea83284 Autosyncing with Wine HEAD
svn path=/trunk/; revision=27359
2007-07-02 12:07:09 +00:00
Hervé Poussineau
052f7faeee Update README file about Wine shared DLLs
svn path=/trunk/; revision=27358
2007-07-02 12:06:25 +00:00
Christoph von Wittich
2c3f812b5c add comcat.dll to build
svn path=/trunk/; revision=27357
2007-07-02 01:47:50 +00:00
Christoph von Wittich
3ca18547fe Copied remotely
svn path=/trunk/; revision=27356
2007-07-02 01:36:28 +00:00
Christoph von Wittich
549e05c149 Removed file/folder
svn path=/trunk/; revision=27355
2007-07-02 01:35:53 +00:00
Christoph von Wittich
d6f775854f Added a folder remotely
svn path=/trunk/; revision=27354
2007-07-02 01:32:15 +00:00
Christoph von Wittich
853b33abbf -deleted comcat.h
-added comcat.idl to build
-added the baseaddress for comcat.dll
-added comcat related error values to winerror.h

svn path=/trunk/; revision=27351
2007-07-01 22:13:20 +00:00
Magnus Olsen
b79355c407 update dejavu font from 2.15 to 2.17
------------------------------------
What new Extend latin C support 
two more langues are complete
over 600 new glypt have been add
reencoing thing to unicode that was not inu uncode format. 
bug fix ae special char and other bugfix as well
this is last update of dejavu until they come to version 2.3.0 or to version 3.0.0

svn path=/trunk/; revision=27350
2007-07-01 18:34:40 +00:00
Franz Lehner
d32320fa56 Added Repair and update function to installer
svn path=/trunk/; revision=27349
2007-06-30 19:37:43 +00:00
Aleksey Bragin
ffce5f4f66 - Commit a fix for KDBG's attach to process problem.
See issue #1263 for more details.

svn path=/trunk/; revision=27348
2007-06-30 18:58:09 +00:00
Magnus Olsen
57f28d6036 forget adding this file sprry I broken the build
thx HeisSpiter
See issue #2314 for more details.

svn path=/trunk/; revision=27347
2007-06-30 17:47:14 +00:00
Aleksey Bragin
1d25003483 - Revert accidentally committed ASSERT by Magnus in revision 27342.
svn path=/trunk/; revision=27346
2007-06-30 16:03:34 +00:00
Aleksey Bragin
28244e5ffa - Clean up the mess Magnus introduced (remove allowwarnings="true").
- RpcTryFinall set of macros was mapped to PSEH incorrectly, which lead to a "finally" block being treated as an "except" block (thus ending up in a memory leak). Reverting this part for now until a better solution is found.

svn path=/trunk/; revision=27345
2007-06-30 16:01:03 +00:00
Magnus Olsen
3c6d190150 accpect pacth in bug 2314, with one smaller change
the msvcrt20.def change was not accpect, it need more time for review.
and we do not support __set_error in libcntpr.  
the patch are base on current strtoul, the strtoull are the long long version 
of strtoul. so he took current stroul and adpate it to long long. and also add
missing error code. patch are done by Pierre Schweitzer email heis_spiter at hotmail.com

See issue #2314 for more details.

svn path=/trunk/; revision=27344
2007-06-30 14:12:10 +00:00
Magnus Olsen
149ffee96d part 7 of 7
at last removing wine hack, that disable seh in rpc.h 
we have now seh activate in rpcrt4 and some other idl stuff as well, 
they where complete hacked to be offline, in wine header, I reworte the 
header and move some prototype to right header. 



svn path=/trunk/; revision=27342
2007-06-30 00:33:38 +00:00
Magnus Olsen
69a5d63fb0 part 6 of xx
removing wine hack, that disable seh in rpc.h 
1. adding  allowwarnings ="true"

svn path=/trunk/; revision=27337
2007-06-29 19:58:33 +00:00
Magnus Olsen
0f28005f96 part 5 of xx
removing wine hack, that disable seh in rpc.h 
cleanup work fireball ask about it

svn path=/trunk/; revision=27336
2007-06-29 19:15:12 +00:00
Magnus Olsen
73ebe1fb97 part 4 of xx
removing wine hack, that disable seh in rpc.h 
1. adding pseh lib to eventlog

svn path=/trunk/; revision=27335
2007-06-29 19:04:20 +00:00
Magnus Olsen
3ca8fa0d70 part 3 of xx
removing wine hack, that disable seh in rpc.h 
1. adding pseh lib to eventlog

svn path=/trunk/; revision=27334
2007-06-29 18:54:48 +00:00
Magnus Olsen
1fee243552 part 2 of xx
removing wine hack, that disable seh in rpc.h 
1. adding pseh lib to eventlog

svn path=/trunk/; revision=27333
2007-06-29 18:36:18 +00:00
Magnus Olsen
a077242b10 part 1 of xx
removing wine hack, that disable seh in rpc.h 
1. adding pseh lib to eventlog

svn path=/trunk/; revision=27332
2007-06-29 18:35:34 +00:00
Magnus Olsen
420c60d889 part 1 of xx
removing wine hack, that disable seh in rpc.h 
1. adding pseh lib to eventlog

svn path=/trunk/; revision=27331
2007-06-29 17:47:07 +00:00
Aleksey Bragin
017976049f - Reimplement HalpAssignPCISlotResources() (based on the old implementation, just changing to the new way of reading/writing PCI config space, formatting and other misc changes).
svn path=/trunk/; revision=27330
2007-06-29 17:20:26 +00:00
Timo Kreuzer
129a800f3f co_WinPosSetWindowPos:
- use IntInvalidateWindows() instead of co_UserRedrawWindows()

svn path=/trunk/; revision=27318
2007-06-28 20:23:46 +00:00
Aleksey Bragin
e706d4ba84 - Always use PsLoadedModuleList as a list of modules.
- Load kernel and hal symbols during BootPhase 1 initialization of this KD wrapper.

svn path=/trunk/; revision=27317
2007-06-28 20:19:16 +00:00
Timo Kreuzer
0a3292ae0a co_UserRedrawWindow(): Don't use region after it was deleted -> hRgn = NULL
svn path=/trunk/; revision=27315
2007-06-28 19:23:59 +00:00
Timo Kreuzer
8ec3b717ee - remove hack from co_WinPosSetWindowPos()
fixes bug 902
it doesn't reintroduce bug 735, wich seems to be fixed.
See issue #902,735 for more details.

svn path=/trunk/; revision=27313
2007-06-28 18:57:24 +00:00
Aleksey Bragin
a0e07982e6 - Rewrite KdbSymProcessBootSymbols() with respect to recent kernel changes.
- Change KdbSymInit() to match standard kd-wrapper init function.
- They are not called from anywhere, so don't expect something to either improve or break.

svn path=/trunk/; revision=27312
2007-06-28 17:49:02 +00:00
Aleksey Bragin
f290d37f66 - Fix incorrect usage of sprintf.
svn path=/trunk/; revision=27311
2007-06-28 16:19:35 +00:00
Johannes Anderwald
e129100556 - add option to macro to specify for which backend this macro is intended
If the macro is for all backends, then you dont need to set this option
However, if this macro is for gcc only then put an option, i.e.:
<define name="__USE_W32API" backend="mingw" />

for msvc backend set backend="msvc"
-Currently filtering is only implemented for msvc backend

svn path=/trunk/; revision=27303
2007-06-28 10:03:54 +00:00
Aleksey Bragin
13e2fd4bc6 - Fix symbols loading (PE sections are mapped now, not just read 1:1 from the disk, thus a need to use SectionHeader->VirtualAddress instead of SectionHeader->PointerToRawData).
svn path=/trunk/; revision=27301
2007-06-28 09:26:05 +00:00
Andrew Munger
1289745bf8 Fix realloc behavior when size == 0 and ptr != NULL.
Patch by DrV, bug 2347.

svn path=/trunk/; revision=27299
2007-06-28 07:05:24 +00:00
Aleksey Bragin
ae018d780e - Merge Revision: 25668
Author: dgorbachev
Date: 11:04:23, 1 February 2007.
Message:
Commit attachment #1151
----
Modified : /trunk/reactos/boot/freeldr/freeldr/inifile/inifile.c

- Merge Revision: 25745
Author: dgorbachev
Date: 3:29:50, 7 February 2007.
Message:
Fix "keyboard does not respond" bug. Thanks to Peter Krawies (breakoutbox /AT/ web /DOT/ de)
----
Modified : /trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c

svn path=/branches/winldr/; revision=26875
2007-05-23 21:26:24 +00:00
Aleksey Bragin
83d5ae8eb4 - Merge 25417 by hpoussin (Disable some boot options on non-x86 platforms. You can enable them again for specific platforms if needed).
- Minor: Add debug_filesystem into DEBUG_CUSTOM, but commented out.

svn path=/branches/winldr/; revision=26874
2007-05-23 21:11:35 +00:00
Aleksey Bragin
27c1dc25f5 - Comment out excessive DbgPrint()s.
svn path=/branches/winldr/; revision=26069
2007-03-13 14:40:33 +00:00
Aleksey Bragin
8782e641b6 Unmap accessible, but completely unneeded by kernel memory too
svn path=/branches/winldr/; revision=25538
2007-01-19 22:23:58 +00:00
Aleksey Bragin
73948584ab - Add MempDisablePages() which unmaps non-accessible memory areas from KSEG0 page table.
svn path=/branches/winldr/; revision=25537
2007-01-19 21:37:25 +00:00
Aleksey Bragin
41911adc3d Move LOADER_HIGH_ZONE definition to a header file (thus removing hardcoded value from meminit.c).
NT4 boots with both 16Mb and 32Mb loading sizes. Win2003 doesn't fit into 16Mb, so ~32Mb should be used.

svn path=/branches/winldr/; revision=25531
2007-01-19 15:08:05 +00:00
Aleksey Bragin
65e2f272fc Merge 25117.
Revision: 25117
Author: greatlrd
Date: 20:39:01, 10 december 2006.
Message:
Commit the patch from bug 1874 even if it does not use the RDMSR and WRMSR measure method, we need to use the RDMSR and WRMSR instructions for dual core and only if CPU supports them (see Intel documentations AP-485 to see how to do it). The patch is from HTO (Dmitry Gorbachev). Bugfix detections of RTSC support for single and dual core by me, adding check if the CPU supports RDMSR and WRMSR and send a true or false value to GetCpuSpeed, so we know which method we should use. HTO patch should be used when it is 'false', otherwise we should use the RDMSR and WRMSR measure method.

svn path=/branches/winldr/; revision=25510
2007-01-18 15:09:04 +00:00
Aleksey Bragin
de9707fbd0 Merge r25264.
Author: hpoussin
Date: 17:50:16, 1 january 2007.
Message:
Better support for non X86 systems

svn path=/branches/winldr/; revision=25509
2007-01-18 15:03:46 +00:00
Aleksey Bragin
98384a1081 - Slightly change the MAD adding routine, by always saving memory type in the list. Still not 100% correct since it does not save information about very high and weird stuff in memory (reserved areas reported by BIOS). But necessity of this has not been confirmed...
svn path=/branches/winldr/; revision=25195
2006-12-20 12:26:43 +00:00
Aleksey Bragin
e1cf9b2cdb - Unlock lower 1Mb for use by memory manager, and properly mark all "unusable" places (except one place which is marked as strange).
- Get rid of in-memory hardware registry, hwdetect functions which has not been converted yet to use configuration lists are #if0ed or not used for now. Reduces memory requirements a little.

svn path=/branches/winldr/; revision=25191
2006-12-19 16:44:14 +00:00
Aleksey Bragin
1ef87df69a - Make NTFS functions debug prints more verbose
svn path=/branches/winldr/; revision=25120
2006-12-10 22:07:05 +00:00
Aleksey Bragin
8bfe603005 - MM: Don't place memory allocation bitmap right into the first 16Mb of memory - revert back to the old algorithm, which places it as high as possible
- MM: Mark space under the mem alloc bitmap as free right before going to virtual mode, thus it doesn't get mapped
- Save NT version which user wants to boot in the extension

svn path=/branches/winldr/; revision=25103
2006-12-09 16:54:37 +00:00
Aleksey Bragin
2c85923902 - Remove unnecessary functions
- Get, parse and use system path and options from the ini file
- Comment-changes / cleanup

svn path=/branches/winldr/; revision=25098
2006-12-09 10:24:29 +00:00
Aleksey Bragin
f2ec0c1fb7 More ConfigurationDataLength fixes
svn path=/branches/winldr/; revision=25095
2006-12-08 22:29:12 +00:00
Aleksey Bragin
c865dc23b7 - Fix a bunch of lame bugs in keyboard/pointer controllers creation (missing configuration data length, wrong count of resources, etc).
Now NT boots up with working keyboard and mouse.

svn path=/branches/winldr/; revision=25094
2006-12-08 21:40:45 +00:00
Aleksey Bragin
b30b44a833 - Remove unnecessary _NTSYSTEM_ definition
- Work on hardware detection - now keyboard and pointer controllers + peripherals are detected and stored in configuration lists, however this change breaks booting (NT hangs during i8042prt initialization in QEMU).

svn path=/branches/winldr/; revision=25093
2006-12-08 20:20:24 +00:00
Aleksey Bragin
aacdf4bcfe Get rid of a hack commited in 25070 (and reverted in 25071).
Alex really watches commits, beware!

svn path=/branches/winldr/; revision=25072
2006-12-05 21:06:40 +00:00
Aleksey Bragin
9177998d8e Commit my initial work on getting Windows NT booting.
Right now, if stars on the sky get in proper places and you are lucky, it will load Windows NT 4.0 to GUI (it will be unusable due to absence of mouse/keyboard though).

Here are log messages from my local tree which I used to develop this initial version (just for reference):
Revision: 8
Author: alekseyb
Date: 22:56:15, 24 íîÿáðÿ 2006 ã.
Message:
- Initialize "ValidBootPartition" field of ArcDiskInfo (without it Windows thinks the partition is not good)
- Zero ArcDiskInfo before usage
- Load filesystem driver (fastfat.sys for now)

Windows NT4 now boots, but of course there are no mouse/keyboard.
----
Modified : /freeldr/arch/i386/hardware.c
Modified : /freeldr/windows/winldr.c
Modified : /freeldr/windows/wlregistry.c


Revision: 7
Author: alekseyb
Date: 15:37:37, 24 íîÿáðÿ 2006 ã.
Message:
- Fix Disk Peripheral entries to really be of DiskPeripheral type and PeripheralClass
- Add to PcHwDetect() proper Child/Sibling-isation (depending on what has been found)
- Fixed PCI information recognizing (changed structure + properly filling HardwareMechanism field)
- Creating of actual configuration descriptor for PCI bus added
- Fix conversion of hardware configuration list to virtual addressing, also adding better debug prints
- Remove annoying DbgPrints from PE loader
- Remove memory map dumping
----
Modified : /freeldr/arch/i386/hardware.c
Modified : /freeldr/arch/i386/hwpci.c
Modified : /freeldr/include/arch/i386/hardware.h
Modified : /freeldr/windows/conversion.c
Modified : /freeldr/windows/peloader.c
Modified : /freeldr/windows/winldr.c


Revision: 6
Author: alekseyb
Date: 1:42:20, 23 íîÿáðÿ 2006 ã.
Message:
- Add ISA bus configuration entry, Disk Controller and Peripherals
- Comment about number of GDT entries
- Changed order of boot drivers - now they should correspond to what NT awaits

The compatibility with ReactOS booting is broken at this point, because hardware detection results are being placed into configuration list and not in-memory registry.
----
Modified : /freeldr/arch/i386/hardware.c
Modified : /freeldr/include/winldr.h
Modified : /freeldr/windows/wlregistry.c


Revision: 5
Author: alekseyb
Date: 23:37:40, 18 íîÿáðÿ 2006 ã.
Message:
- Modify number of GDT descriptors, since NT Kernel assumes space for 128 GDT descriptors, and if it is less - it overwrites IDT entries following them, which lead to a major fsckup, and how kernel booted to some stage is a mystery.
- Slightly modified comments, removed unnecessary TODO

WinDBG connects now and seems to work (don't forget to disable debug output of freeldr, otherwise WinDBG can't connect).
----
Modified : /freeldr/include/winldr.h
Modified : /freeldr/windows/winldr.c


Revision: 4
Author: alekseyb
Date: 18:25:49, 16 íîÿáðÿ 2006 ã.
Message:
- Fix RegistryPath in boot drivers (appended service name)
- Convert RegistryPath.Buffer and pointer to DTE to VirtualAddresses (fixes KMODE_EXCEPTION)
----
Modified : /freeldr/windows/winldr.c
Modified : /freeldr/windows/wlregistry.c


Revision: 3
Author: alekseyb
Date: 17:10:21, 15 íîÿáðÿ 2006 ã.
Message:
- Implemented storing configuration data of disks.
- Moved hardware detection to a later stage so that it doesn't write to an unitialized pointer and actually stores the data in LoaderBlock->ConfigurationRoot.

InitializeHWConfig() function should go away soon.
----
Modified : /freeldr/arch/i386/hardware.c
Modified : /freeldr/windows/conversion.c
Modified : /freeldr/windows/winldr.c


Revision: 2
Author: alekseyb
Date: 16:54:12, 13 íîÿáðÿ 2006 ã.
Message:
Import of what has been already done so far by me (WinNT 4.0 says INACCESSIBLE_BOOT_DEVICE). Just started working on Configuration List.
----
Modified : /freeldr/arch/i386/hardware.c
Modified : /freeldr/arch/i386/i386idt.S
Modified : /freeldr/arch/i386/i386trap.S
Modified : /freeldr/arch/i386/xboxhw.c
Modified : /freeldr/debug.c
Modified : /freeldr/freeldr_arch.rbuild
Modified : /freeldr/freeldr_base.rbuild
Modified : /freeldr/freeldr_base64k.rbuild
Modified : /freeldr/freeldr_main.rbuild
Modified : /freeldr/include/arch/i386/machpc.h
Modified : /freeldr/include/arch/i386/machxbox.h
Modified : /freeldr/include/machine.h
Modified : /freeldr/include/mm.h
Modified : /freeldr/include/winldr.h
Modified : /freeldr/linuxboot.c
Modified : /freeldr/machine.c
Modified : /freeldr/mm/meminit.c
Modified : /freeldr/mm/mm.c
Modified : /freeldr/reactos/binhive.c
Modified : /freeldr/reactos/reactos.c
Modified : /freeldr/reactos/setupldr.c
Modified : /freeldr/windows/peloader.c
Modified : /freeldr/windows/winldr.c
Modified : /freeldr/windows/wlmemory.c
Modified : /freeldr/windows/wlregistry.c


Revision: 1
Author: alekseyb
Date: 16:45:55, 13 íîÿáðÿ 2006 ã.
Message:
FreeLdr import from ReactOS trunk r24725
----
Added : /freeldr
Added : /freeldr/CHANGELOG
Added : /freeldr/arch
Added : /freeldr/arch/i386
Added : /freeldr/arch/i386/_alloca.S
Added : /freeldr/arch/i386/arch.S
Added : /freeldr/arch/i386/archmach.c
Added : /freeldr/arch/i386/boot.S
Added : /freeldr/arch/i386/drvmap.S
Added : /freeldr/arch/i386/fathelp.asm
Added : /freeldr/arch/i386/hardware.c
Added : /freeldr/arch/i386/hwacpi.c
Added : /freeldr/arch/i386/hwapm.c
Added : /freeldr/arch/i386/hwcpu.c
Added : /freeldr/arch/i386/hwpci.c
Added : /freeldr/arch/i386/i386cpu.S
Added : /freeldr/arch/i386/i386disk.c
Added : /freeldr/arch/i386/i386idt.S
Added : /freeldr/arch/i386/i386pnp.S
Added : /freeldr/arch/i386/i386rtl.c
Added : /freeldr/arch/i386/i386trap.S
Added : /freeldr/arch/i386/i386vid.c
Added : /freeldr/arch/i386/int386.S
Added : /freeldr/arch/i386/linux.S
Added : /freeldr/arch/i386/loader.c
Added : /freeldr/arch/i386/machpc.c
Added : /freeldr/arch/i386/machxbox.c
Added : /freeldr/arch/i386/mb.S
Added : /freeldr/arch/i386/pccons.c
Added : /freeldr/arch/i386/pcdisk.c
Added : /freeldr/arch/i386/pcmem.c
Added : /freeldr/arch/i386/pcrtc.c
Added : /freeldr/arch/i386/pcvideo.c
Added : /freeldr/arch/i386/portio.c
Added : /freeldr/arch/i386/xboxcons.c
Added : /freeldr/arch/i386/xboxdisk.c
Added : /freeldr/arch/i386/xboxfont.c
Added : /freeldr/arch/i386/xboxhw.c
Added : /freeldr/arch/i386/xboxi2c.c
Added : /freeldr/arch/i386/xboxmem.c
Added : /freeldr/arch/i386/xboxrtc.c
Added : /freeldr/arch/i386/xboxvideo.c
Added : /freeldr/arch/powerpc
Added : /freeldr/arch/powerpc/boot.s
Added : /freeldr/arch/powerpc/mach.c
Added : /freeldr/arch/powerpc/mboot.c
Added : /freeldr/bootmgr.c
Added : /freeldr/cache
Added : /freeldr/cache/blocklist.c
Added : /freeldr/cache/cache.c
Added : /freeldr/cmdline.c
Added : /freeldr/comm
Added : /freeldr/comm/rs232.c
Added : /freeldr/custom.c
Added : /freeldr/debug.c
Added : /freeldr/disk
Added : /freeldr/disk/disk.c
Added : /freeldr/disk/partition.c
Added : /freeldr/drivemap.c
Added : /freeldr/freeldr.c
Added : /freeldr/freeldr.rbuild
Added : /freeldr/freeldr_arch.rbuild
Added : /freeldr/freeldr_base.rbuild
Added : /freeldr/freeldr_base64k.rbuild
Added : /freeldr/freeldr_main.rbuild
Added : /freeldr/freeldr_startup.rbuild
Added : /freeldr/fs
Added : /freeldr/fs/ext2.c
Added : /freeldr/fs/fat.c
Added : /freeldr/fs/fs.c
Added : /freeldr/fs/fsrec.c
Added : /freeldr/fs/iso.c
Added : /freeldr/fs/ntfs.c
Added : /freeldr/include
Added : /freeldr/include/arch
Added : /freeldr/include/arch/i386
Added : /freeldr/include/arch/i386/hardware.h
Added : /freeldr/include/arch/i386/i386.h
Added : /freeldr/include/arch/i386/machpc.h
Added : /freeldr/include/arch/i386/machxbox.h
Added : /freeldr/include/arch.h
Added : /freeldr/include/bootmgr.h
Added : /freeldr/include/cache.h
Added : /freeldr/include/cmdline.h
Added : /freeldr/include/comm.h
Added : /freeldr/include/debug.h
Added : /freeldr/include/disk.h
Added : /freeldr/include/drivemap.h
Added : /freeldr/include/freeldr.h
Added : /freeldr/include/fs
Added : /freeldr/include/fs/ext2.h
Added : /freeldr/include/fs/fat.h
Added : /freeldr/include/fs/iso.h
Added : /freeldr/include/fs/ntfs.h
Added : /freeldr/include/fs.h
Added : /freeldr/include/fsrec.h
Added : /freeldr/include/inffile.h
Added : /freeldr/include/inifile.h
Added : /freeldr/include/keycodes.h
Added : /freeldr/include/linux.h
Added : /freeldr/include/machine.h
Added : /freeldr/include/miscboot.h
Added : /freeldr/include/mm.h
Added : /freeldr/include/multiboot.h
Added : /freeldr/include/of.h
Added : /freeldr/include/options.h
Added : /freeldr/include/oslist.h
Added : /freeldr/include/portio.h
Added : /freeldr/include/reactos.h
Added : /freeldr/include/registry.h
Added : /freeldr/include/rtl.h
Added : /freeldr/include/ui
Added : /freeldr/include/ui/gui.h
Added : /freeldr/include/ui/tui.h
Added : /freeldr/include/ui.h
Added : /freeldr/include/ver.h
Added : /freeldr/include/video.h
Added : /freeldr/include/winldr.h
Added : /freeldr/inffile
Added : /freeldr/inffile/inffile.c
Added : /freeldr/inifile
Added : /freeldr/inifile/ini_init.c
Added : /freeldr/inifile/inifile.c
Added : /freeldr/inifile/parse.c
Added : /freeldr/linuxboot.c
Added : /freeldr/machine.c
Added : /freeldr/math
Added : /freeldr/math/i386.h
Added : /freeldr/math/libgcc2.c
Added : /freeldr/math/libgcc2.h
Added : /freeldr/math/longlong.h
Added : /freeldr/math/powerpc.h
Added : /freeldr/miscboot.c
Added : /freeldr/mm
Added : /freeldr/mm/meminit.c
Added : /freeldr/mm/mm.c
Added : /freeldr/options.c
Added : /freeldr/oslist.c
Added : /freeldr/reactos
Added : /freeldr/reactos/arcname.c
Added : /freeldr/reactos/binhive.c
Added : /freeldr/reactos/reactos.c
Added : /freeldr/reactos/registry.c
Added : /freeldr/reactos/setupldr.c
Added : /freeldr/rtl
Added : /freeldr/rtl/libsupp.c
Added : /freeldr/rtl/list.c
Added : /freeldr/setupldr.rbuild
Added : /freeldr/setupldr_main.rbuild
Added : /freeldr/ui
Added : /freeldr/ui/gui.c
Added : /freeldr/ui/tui.c
Added : /freeldr/ui/tuimenu.c
Added : /freeldr/ui/ui.c
Added : /freeldr/version.c
Added : /freeldr/video
Added : /freeldr/video/bank.c
Added : /freeldr/video/fade.c
Added : /freeldr/video/palette.c
Added : /freeldr/video/pixel.c
Added : /freeldr/video/video.c
Added : /freeldr/windows
Added : /freeldr/windows/conversion.c
Added : /freeldr/windows/peloader.c
Added : /freeldr/windows/winldr.c
Added : /freeldr/windows/wlmemory.c
Added : /freeldr/windows/wlregistry.c




svn path=/branches/winldr/; revision=25067
2006-12-04 22:08:02 +00:00
Aleksey Bragin
2db25525a7 Create a place for work on creating a bootloader capable of booting Windows NT (from 4.0 up to 5.2).
Base is FreeLdr from trunk r25063.

svn path=/branches/winldr/; revision=25066
2006-12-04 21:36:54 +00:00
Art Yerkes
9e0b1f1383 Suggested fix for atapi. The atapi driver wants whole sectors, but the
ext2 driver sometimes attempts an incomplete write.  Here we fill the 
remaineder of the sector with zeros.  This isn't the most elegant way to
do it but illustrates the problem.  I'm committing this here because it's
a branch.

svn path=/branches/ext2/; revision=13336
2005-01-27 08:16:42 +00:00
Hartmut Birr
b0891d210c Fixed the range which must be zeroed if the write starts after the end of the file.
svn path=/branches/ext2/; revision=13173
2005-01-20 23:24:51 +00:00
Art Yerkes
aa898e0ba2 Extras for enabling ext2 in reactos.
svn path=/branches/ext2/; revision=13150
2005-01-20 02:09:33 +00:00
Art Yerkes
68e05d3a8e Added forgotten .h ext2lib.h
svn path=/branches/ext2/; revision=13014
2005-01-13 02:46:38 +00:00
Art Yerkes
19a3f56aa7 Added forgotten ext2.c
svn path=/branches/ext2/; revision=13013
2005-01-13 02:39:38 +00:00
Art Yerkes
bebd1855ee fs_rec: add ext2 support
txtsetup: add ext2
hivesys:  add ext2
usetup:   add formatting and installing on ext2 (by filip navara)

svn path=/branches/ext2/; revision=13011
2005-01-13 01:59:08 +00:00
Art Yerkes
395064be78 Ext2lib import by filip navara for use by usetup.
svn path=/branches/ext2/; revision=13010
2005-01-13 01:54:28 +00:00
Art Yerkes
d31a52e423 ext2 import by filip navara with minor editing by arty.
svn path=/branches/ext2/; revision=13009
2005-01-13 01:51:33 +00:00
8530 changed files with 314080 additions and 2045748 deletions

23
COPYING.ARM Normal file
View File

@@ -0,0 +1,23 @@
Copyright 2008 ReactOS Portable Systems Group. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided
that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and
the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
and the following disclaimer in the documentation and/or other materials provided with the
distribution.
THIS SOFTWARE IS PROVIDED BY THE REACTOS PORTABLE SYSTEMS GROUP ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REACTOS PORTABLE SYSTEMS GROUP
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The views and conclusions contained in the software and documentation are those of the authors and
should not be interpreted as representing official policies, either expressed or implied, of the ReactOS
Project.

22
CREDITS
View File

@@ -7,11 +7,13 @@ Andrew Munger <waxdragon@gmail.com>
Arindam Das
Art Yerkes <ayerkes@speakeasy.net>
Ariadne
Brandon Turner (turnerb7@msu.edu)
Brandon Turner <turnerb7@msu.edu>
Brian Palmer <brianp@sginet.com>
Casper S. Hornstrup <chorns@users.sourceforge.net>
Christoph von Wittich (christoph_vw@reactos.org)
Christoph von Wittich <christoph_vw@reactos.org>
Daniel Reimer <reimer.daniel@freenet.de>
David Welch <welch@cwcom.net>
Dmitry Chapyshev <dmitry@reactos.org>
Emanuele Aliberti <ea@iol.it>
Eric Kohl <ekohl@rz-online.de>
Eugene Ingerman <geneing@myrealbox.com>
@@ -19,6 +21,7 @@ Filip Navara <xnavara@volny.cz>
Frederik Leemans
Ge van Geldorp <ge@gse.nl>
Ged Murphy <gedmurphy@reactos.org>
Gregor Brunmar <gregor brunmar at home se>
Guido de Jong
Gunnar Andre' Dalsnes <hardon@online.no>
Hans Kremer
@@ -26,11 +29,12 @@ Hartmut Birr <hartmut.birr@gmx.de>
Hernan Ochoa
Herve Poussineau <hpoussin@reactos.com>
Iwan Fatahi <i_fatahi@hotmail.com>
James B. Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
James B. Tabor <jimtabor.rosdev@gmail.com> <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
Jason Eager
Jason Filby <jasonfilby@yahoo.com>
Jason Weiler
Jean Michault
Jeffrey Morlan <mrnobo1024@yahoo.com>
Jim Noeth
Johannes Anderwald <johannes.anderwald@student.tugraz.at>
Jonathan Wilson <jonwil@tpgi.com.au>
@@ -38,16 +42,18 @@ Jurgen van Gael <jurgen.vangael@student.kuleuven.ac.be>
KJK::Hyperion <noog@libero.it>
Klemens R. Friedl <klemens_friedl@gmx.net>
Maarten Bosma <maarten.paul@bosma.de>
Magnus Olsen (magnus@greatlord.com)
Magnus Olsen <magnus@greatlord.com>
Mark Tempel <mtempel@visi.com>
Mark Weaver <mark@npsl.co.uk>
Martin Fuchs <martin-fuchs@gmx.net>
Marty Dill <mdill@uvic.ca>
Matt Pyne
Mike Nordell ("tamlin")
Mike Nordell <"tamlin">
Nathan Woods <npwoods@mess.org>
Pablo Borobia <pborobia@gmail.com>
Paolo Pantaleo <paolopan@freemail.it>
Peter Ward <dralnix@gmail.com>
Pierre Schweitzer <pschweitzer@reactos.org>
Phillip Susi <phreak@iag.net>
Rex Jolliff <rex@lvcablemodem.com>
Richard Campbell <betam4x@gmail.com>
@@ -55,8 +61,10 @@ Robert Bergkvist <fragdance@hotmail.com>
Robert Dickenson <robd@reactos.org>
Royce Mitchell III <royce3@ev1.net>
Saveliy Tretiakov <saveliyt@mail.ru>
Stefan Ginsberg <stefan__100__@hotmail.com>
Steven Edwards <steven_ed4153@yahoo.com>
Thomas Weidenmueller <w3seek@users.sourceforge.net>
Timo Kreuzer <timo.kreuzer@reactos.org>
Victor Kirhenshtein <sauros@iname.com>
Vizzini <vizzini@plasmic.com>
@@ -64,5 +72,5 @@ Vizzini <vizzini@plasmic.com>
Graphic Design from
Mindflyer <mf@mufunyo.net>
Tango Desktop Project (http://tango-project.org)
Everaldo (http://everaldo.com)
Tango Desktop Project <http://tango-project.org>
Everaldo <http://everaldo.com>

1142
Doxyfile

File diff suppressed because it is too large Load Diff

378
Makefile
View File

@@ -38,7 +38,7 @@
# This can require several minutes to complete. If you only need to check
# dependencies for a single or few modules then you can use the
# module_depends targets instead. This target can also repair a damaged or
# missing makefile.auto if needed.
# missing makefile-{ROS_ARCH}.auto if needed.
#
# module_depends
# These targets do a dependency check of individual modules. Replace module
@@ -49,6 +49,10 @@
#
# Accepted environment variables:
#
# ROS_ARCH
# This variable specifies the name of the architecture to build ReactOS for.
# The variable defaults to i386.
#
# ROS_PREFIX
# This variable specifies the prefix of the MinGW installation. On Windows
# a prefix is usually not needed, but on linux it is usually "mingw32". If
@@ -61,13 +65,13 @@
# files are generated files that are needed to generate the final
# output files. Examples of intermediate files include *.o, *.a, and
# *.coff. N.B. Don't put a path separator at the end. The variable
# defaults to .\obj-i386.
# defaults to .\obj-{ROS_ARCH}.
#
# ROS_OUTPUT
# This variable controls where to put output files. Output files are
# generated files that makes up the result of the build process.
# Examples of output files include *.exe, *.dll, and *.sys. N.B. Don't
# put a path separator at the end. The variable defaults to .\output-i386.
# put a path separator at the end. The variable defaults to .\output-{ROS_ARCH}.
#
# ROS_CDOUTPUT
# This variable controls the name of the ReactOS directory on cdrom.
@@ -79,13 +83,13 @@
# are (usually small) generated files that are needed to generate the
# intermediate or final output files. Examples of temporary files include
# *.rci (preprocessed .rc files for wrc), *.tmp, and *.exp. N.B. Don't put
# a path separator at the end. The variable defaults to the current
# a path separator at the end. The variable defaults to {ROS_INTERMEDIATE}
# directory.
#
# ROS_INSTALL
# This variable controls where to install output files to when using
# 'make install'. N.B. Don't put a path separator at the end. The variable
# defaults to .\reactos.
# defaults to .\{ROS_CDOUTPUT}.
#
# ROS_BUILDMAP
# This variable controls if map files are to be generated for executable
@@ -114,6 +118,7 @@
# -c Clean as you go. Delete generated files as soon as they are not needed anymore.
# -dd Disable automatic dependencies.
# -dm{module} Check only automatic dependencies for this module.
# -hd Disable precompiled headers.
# -mi Let make handle creation of install directories. Rbuild will not generate the directories.
# -ps Generate proxy makefiles in source tree instead of the output tree.
# -ud Disable compilation units.
@@ -122,6 +127,9 @@
# ROS_AUTOMAKE
# Alternate name of makefile.auto
#
# ROS_BUILDENGINE
# The Build engine to be used. The variable defaults to rbuild (RBUILD_TARGET)
#
# check for versions of make that don't have features we need...
# the function "eval" is only available in 3.80+, which happens to be the minimum
@@ -143,6 +151,12 @@ endif
.PHONY: world
.PHONY: universe
ifneq ($(ROS_ARCH),)
ARCH := $(ROS_ARCH)
else
ARCH := i386
endif
ifeq ($(ROS_AUTOMAKE),)
ROS_AUTOMAKE=makefile.auto
endif
@@ -157,15 +171,15 @@ ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
export OSTYPE = msys
HOST=mingw32-linux
CFLAGS+=-fshort-wchar
CPPFLAGS+=-fshort-wchar
HOST_CFLAGS+=-fshort-wchar
HOST_CPPFLAGS+=-fshort-wchar
else
HOST=mingw32-windows
endif
else
HOST=mingw32-linux
CFLAGS+=-fshort-wchar
CPPFLAGS+=-fshort-wchar
HOST_CFLAGS+=-fshort-wchar
HOST_CPPFLAGS+=-fshort-wchar
endif
endif
@@ -219,6 +233,7 @@ ifeq ($(HALFVERBOSEECHO),yes)
ECHO_TEST =@echo $(QUOTE)[TEST] $@$(QUOTE)
ECHO_GENDIB =@echo $(QUOTE)[GENDIB] $@$(QUOTE)
ECHO_STRIP =@echo $(QUOTE)[STRIP] $@$(QUOTE)
ECHO_RGENSTAT=@echo $(QUOTE)[RGENSTAT] $@$(QUOTE)
else
ECHO_CP =
ECHO_MKDIR =
@@ -248,100 +263,85 @@ else
ECHO_TEST =
ECHO_GENDIB =
ECHO_STRIP =
ECHO_RGENSTAT=
endif
host_gcc = $(Q)gcc
host_gpp = $(Q)g++
# Set host compiler/linker
ifeq ($(HOST_CC),)
HOST_CC = gcc
endif
ifeq ($(HOST_CPP),)
HOST_CPP = g++
endif
host_gcc = $(Q)$(HOST_CC)
host_gpp = $(Q)$(HOST_CPP)
host_ld = $(Q)ld
host_ar = $(Q)ar
host_objcopy = $(Q)objcopy
ifeq ($(HOST),mingw32-linux)
export EXEPREFIX = ./
ifeq ($(OSTYPE),msys)
export EXEPOSTFIX = .exe
# Set target compiler/linker
ifneq ($(ROS_PREFIX),)
PREFIX_ := $(ROS_PREFIX)-
else
export EXEPOSTFIX =
ifeq ($(HOST),mingw32-linux)
PREFIX_ := mingw32-
else
PREFIX_ :=
endif
endif
ifeq ($(TARGET_CC),)
TARGET_CC = $(PREFIX_)gcc
endif
ifeq ($(TARGET_CPP),)
TARGET_CPP = $(PREFIX_)g++
endif
gcc = $(Q)$(TARGET_CC)
gpp = $(Q)$(TARGET_CPP)
ld = $(Q)$(PREFIX_)ld
nm = $(Q)$(PREFIX_)nm
objdump = $(Q)$(PREFIX_)objdump
ar = $(Q)$(PREFIX_)ar
objcopy = $(Q)$(PREFIX_)objcopy
dlltool = $(Q)$(PREFIX_)dlltool
strip = $(Q)$(PREFIX_)strip
windres = $(Q)$(PREFIX_)windres
# Set utilities
ifeq ($(OSTYPE),msys)
HOST=mingw32-linux
endif
ifeq ($(HOST),mingw32-linux)
ifeq ($(OSTYPE),msys)
export EXEPOSTFIX = .exe
else
export EXEPOSTFIX =
endif
export SEP = /
mkdir = -$(Q)mkdir -p
gcc = $(Q)$(PREFIX)-gcc
gpp = $(Q)$(PREFIX)-g++
ld = $(Q)$(PREFIX)-ld
nm = $(Q)$(PREFIX)-nm
objdump = $(Q)$(PREFIX)-objdump
ar = $(Q)$(PREFIX)-ar
objcopy = $(Q)$(PREFIX)-objcopy
dlltool = $(Q)$(PREFIX)-dlltool
strip = $(Q)$(PREFIX)-strip
windres = $(Q)$(PREFIX)-windres
rm = $(Q)rm -f
cp = $(Q)cp
NUL = /dev/null
else # mingw32-windows
ifeq ($(OSTYPE),msys)
HOST=mingw32-linux
export EXEPREFIX = ./
export EXEPOSTFIX = .exe
export SEP = /
mkdir = -$(Q)mkdir -p
rm = $(Q)rm -f
cp = $(Q)cp
NUL = /dev/null
else
export EXEPREFIX =
export EXEPOSTFIX = .exe
ROS_EMPTY =
export SEP = \$(ROS_EMPTY)
mkdir = -$(Q)mkdir
rm = $(Q)del /f /q
cp = $(Q)copy /y
NUL = NUL
endif
ifeq ($(ROS_PREFIX),)
gcc = $(Q)gcc
gpp = $(Q)g++
ld = $(Q)ld
nm = $(Q)nm
objdump = $(Q)objdump
ar = $(Q)ar
objcopy = $(Q)objcopy
dlltool = $(Q)dlltool
strip = $(Q)strip
windres = $(Q)windres
else
gcc = $(Q)$(ROS_PREFIX)-gcc
gpp = $(Q)$(ROS_PREFIX)-g++
ld = $(Q)$(ROS_PREFIX)-ld
nm = $(Q)$(ROS_PREFIX)-nm
objdump = $(Q)$(ROS_PREFIX)-objdump
ar = $(Q)$(ROS_PREFIX)-ar
objcopy = $(Q)$(ROS_PREFIX)-objcopy
dlltool = $(Q)$(ROS_PREFIX)-dlltool
strip = $(Q)$(ROS_PREFIX)-strip
windres = $(Q)$(ROS_PREFIX)-windres
endif
export EXEPOSTFIX = .exe
ROS_EMPTY =
export SEP = \$(ROS_EMPTY)
mkdir = -$(Q)mkdir
rm = $(Q)del /f /q
cp = $(Q)copy /y
NUL = NUL
endif
ifneq ($(ROS_INTERMEDIATE),)
INTERMEDIATE := $(ROS_INTERMEDIATE)
else
ifneq ($(ROS_CDOUTPUT),)
INTERMEDIATE := obj-$(ROS_CDOUTPUT)
else
INTERMEDIATE := obj-i386
endif
INTERMEDIATE := obj-$(ARCH)
endif
INTERMEDIATE_ := $(INTERMEDIATE)$(SEP)
ifneq ($(ROS_OUTPUT),)
OUTPUT := $(ROS_OUTPUT)
else
ifneq ($(ROS_CDOUTPUT),)
OUTPUT := output-$(ROS_CDOUTPUT)
else
OUTPUT := output-i386
endif
OUTPUT := output-$(ARCH)
endif
OUTPUT_ := $(OUTPUT)$(SEP)
@@ -355,73 +355,62 @@ CDOUTPUT_ := $(CDOUTPUT)$(SEP)
ifneq ($(ROS_TEMPORARY),)
TEMPORARY := $(ROS_TEMPORARY)
else
TEMPORARY :=
TEMPORARY := $(INTERMEDIATE)
endif
TEMPORARY_ := $(TEMPORARY)$(SEP)
ifneq ($(ROS_INSTALL),)
INSTALL := $(ROS_INSTALL)
else
ifneq ($(ROS_CDOUTPUT),)
INSTALL := reactos.$(ROS_CDOUTPUT)
else
INSTALL := reactos
endif
INSTALL := $(CDOUTPUT)
endif
INSTALL_ := $(INSTALL)$(SEP)
RBUILD_FLAGS := -rReactOS-$(ARCH).rbuild -DARCH=$(ARCH)
$(INTERMEDIATE):
$(ECHO_MKDIR)
${mkdir} $@
ifneq ($(INTERMEDIATE),$(OUTPUT))
$(OUTPUT):
$(ECHO_MKDIR)
${mkdir} $@
endif
ifneq ($(TEMPORARY),$(INTERMEDIATE))
ifneq ($(TEMPORARY),$(OUTPUT))
$(TEMPORARY):
$(ECHO_MKDIR)
${mkdir} $@
endif
endif
NTOSKRNL_MC = ntoskrnl$(SEP)ntoskrnl.mc
KERNEL32_MC = dll$(SEP)win32$(SEP)kernel32$(SEP)kernel32.mc
BUILDNO_H = include$(SEP)reactos$(SEP)buildno.h
BUGCODES_H = include$(SEP)reactos$(SEP)bugcodes.h
BUGCODES_RC = ntoskrnl$(SEP)bugcodes.rc
ERRCODES_H = include$(SEP)reactos$(SEP)errcodes.h
ERRCODES_RC = dll$(SEP)win32$(SEP)kernel32$(SEP)errcodes.rc
# Hack getting ReactOS trunk Build again
# the reail ARCH are not avail until we run
# rbuild and rbuild genreate makefile.auto
# only in makefile.auto we got the
# ARCH avail not before. So FIX THIS
# ISSSUE ASAP, other wise the ntapi.h
# will not be autogenretaed for right
# platforms.
BUILDNO_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)buildno.h
include lib/lib.mak
include tools/tools.mak
include boot/freeldr/bootsect/bootsect.mak
-include $(ROS_AUTOMAKE)
include tools/nci/nci.mak
PREAUTO := \
$(BIN2C_TARGET) \
$(BIN2RES_TARGET) \
$(BUILDNO_H) \
$(BUGCODES_H) \
$(BUGCODES_RC) \
$(ERRCODES_H) \
$(ERRCODES_RC) \
$(GENDIB_DIB_FILES)
POSTAUTO : \
psdk \
$(IDL_FILES) \
$(GENDIB_DIB_FILES) \
$(NCI_SERVICE_FILES)
$(ROS_AUTOMAKE): $(RBUILD_TARGET) $(PREAUTO) $(XMLBUILDFILES)
ifeq ($(ARCH),powerpc)
PREAUTO += $(OFW_INTERFACE_SERVICE_FILES) $(PPCMMU_TARGETS)
endif
ifeq ($(ROS_BUILDENGINE),)
ROS_BUILDENGINE=$(RBUILD_TARGET)
endif
$(ROS_AUTOMAKE): $(ROS_BUILDENGINE) $(XMLBUILDFILES) | $(PREAUTO)
${mkdir} $(OUTPUT_)media$(SEP)inf 2>$(NUL)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) mingw
@$(MAKE) POSTAUTO
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) mingw
world: all bootcd livecd
@@ -446,148 +435,151 @@ universe:
world
sysregtest:
-mkdir $(OUTPUT_)cd$(SEP)reactos
$(cp) boot$(SEP)bootdata$(SEP)unattend.inf.sample boot$(SEP)bootdata$(SEP)unattend.inf
$(cp) boot$(SEP)bootdata$(SEP)unattend.inf.sample $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf
$(cp) boot$(SEP)bootdata$(SEP)bootcdregtest$(SEP)testboot.bat.sample boot$(SEP)bootdata$(SEP)bootcdregtest$(SEP)testboot.bat
$(MAKE) dbgprint
$(MAKE) bootcdregtest
$(MAKE) sysreg
$(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)txtmode.cfg rosboot
$(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)secstage.cfg rosboot
$(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)runonce.cfg rosboot
$(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)txtmode.cfg
sysregtest_clean:
$(rm) boot$(SEP)bootdata$(SEP)unattend.inf
$(rm) boot$(SEP)bootdata$(SEP)bootcdregtest$(SEP)testboot.bat
$(rm) $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf
regtest:
$(cp) boot$(SEP)bootdata$(SEP)unattend.inf.sample $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf
$(MAKE) bootcdregtest
$(rm) $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf
.PHONY: rgenstat
rgenstat: $(RGENSTAT_TARGET)
$(ECHO_RGENSTAT)
$(Q)$(RGENSTAT_TARGET) apistatus.lst apistatus.xml
.PHONY: cb
cb: $(RBUILD_TARGET)
cb: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) cb
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) cb
.PHONY: msbuild
msbuild: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) msbuild
.PHONY: msbuild_clean
msbuild_clean: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c msbuild
.PHONY: depmap
depmap: $(RBUILD_TARGET)
depmap: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) depmap
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) depmap
.PHONY: vreport
vreport:$(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) vreport
.PHONY: msvc
msvc: $(RBUILD_TARGET)
msvc: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) msvc
$(BUGCODES_H) $(BUGCODES_RC): $(WMC_TARGET) $(NTOSKRNL_MC)
$(ECHO_WMC)
$(Q)$(WMC_TARGET) -i -H $(BUGCODES_H) -o $(BUGCODES_RC) $(NTOSKRNL_MC)
$(ERRCODES_H) $(ERRCODES_RC): $(WMC_TARGET) $(KERNEL32_MC)
$(ECHO_WMC)
$(Q)$(WMC_TARGET) -i -U -H $(ERRCODES_H) -o $(ERRCODES_RC) $(KERNEL32_MC)
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) msvc
.PHONY: msvc6
msvc6: $(RBUILD_TARGET)
msvc6: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs6.00 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs6.00 -voversionconfiguration msvc
.PHONY: msvc7
msvc7: $(RBUILD_TARGET)
msvc7: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs7.00 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -voversionconfiguration msvc
.PHONY: msvc71
msvc71: $(RBUILD_TARGET)
msvc71: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs7.10 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -voversionconfiguration msvc
.PHONY: msvc8
msvc8: $(RBUILD_TARGET)
msvc8: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs8.00 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -voversionconfiguration msvc
.PHONY: msvc9
msvc9: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs9.00 -voversionconfiguration msvc
.PHONY: msvc6_clean
msvc6_clean: $(RBUILD_TARGET)
msvc6_clean: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -c -vs6.00 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs6.00 -voversionconfiguration msvc
.PHONY: msvc7_clean
msvc7_clean: $(RBUILD_TARGET)
msvc7_clean: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -c -vs7.00 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.00 -voversionconfiguration msvc
.PHONY: msvc71_clean
msvc71_clean: $(RBUILD_TARGET)
msvc71_clean: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -c -vs7.10 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.10 -voversionconfiguration msvc
.PHONY: msvc8_clean
msvc8_clean: $(RBUILD_TARGET)
msvc8_clean: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -c -vs8.00 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs8.00 -voversionconfiguration msvc
.PHONY: msvc9_clean
msvc9_clean: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs9.00 -voversionconfiguration msvc
.PHONY: msvc_clean
msvc_clean: $(RBUILD_TARGET)
msvc_clean: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -c msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c msvc
.PHONY: msvc_clean_all
msvc_clean_all: $(RBUILD_TARGET)
msvc_clean_all: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -c -vs6.00 -voversionconfiguration msvc
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -c -vs7.00 -voversionconfiguration msvc
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -c -vs7.10 -voversionconfiguration msvc
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -c -vs8.10 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs6.00 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.00 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.10 -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs8.10 -voversionconfiguration msvc
.PHONY: msvc7_install_debug
msvc7_install_debug: $(RBUILD_TARGET)
msvc7_install_debug: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs7.00 -vcdebug -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcdebug -voversionconfiguration msvc
.PHONY: msvc7_install_release
msvc7_install_release: $(RBUILD_TARGET)
msvc7_install_release: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs7.00 -vcrelease -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcrelease -voversionconfiguration msvc
.PHONY: msvc7_install_speed
msvc7_install_speed: $(RBUILD_TARGET)
msvc7_install_speed: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs7.00 -vcspeed -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcspeed -voversionconfiguration msvc
.PHONY: msvc71_install_debug
msvc71_install_debug: $(RBUILD_TARGET)
msvc71_install_debug: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs7.10 -vcdebug -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcdebug -voversionconfiguration msvc
.PHONY: msvc71_install_release
msvc71_install_release: $(RBUILD_TARGET)
msvc71_install_release: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs7.10 -vcrelease -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcrelease -voversionconfiguration msvc
.PHONY: msvc71_install_speed
msvc71_install_speed: $(RBUILD_TARGET)
msvc71_install_speed: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs7.10 -vcspeed -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcspeed -voversionconfiguration msvc
.PHONY: msvc8_install_debug
msvc8_install_debug: $(RBUILD_TARGET)
msvc8_install_debug: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs8.00 -vcdebug -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcdebug -voversionconfiguration msvc
.PHONY: msvc8_install_release
msvc8_install_release: $(RBUILD_TARGET)
msvc8_install_release: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs8.00 -vcrelease -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcrelease -voversionconfiguration msvc
.PHONY: msvc8_install_speed
msvc8_install_speed: $(RBUILD_TARGET)
msvc8_install_speed: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(ROS_RBUILDFLAGS) -vs8.00 -vcspeed -voversionconfiguration msvc
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcspeed -voversionconfiguration msvc
.PHONY: makefile_auto_clean
makefile_auto_clean:
@@ -597,6 +589,6 @@ makefile_auto_clean:
clean: makefile_auto_clean
.PHONY: depends
depends:
@-$(rm) makefile.auto
@$(MAKE) $(filter-out depends, $(MAKECMDGOALS))
depends: $(ROS_BUILDENGINE)
$(ECHO_RBUILD)
$(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) mingw

169
ReactOS-arm.rbuild Normal file
View File

@@ -0,0 +1,169 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<project name="ReactOS" makefile="makefile.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config-arm.rbuild">
<xi:fallback>
<xi:include href="config-arm.template.rbuild" />
</xi:fallback>
</xi:include>
<xi:include href="baseaddress.rbuild" />
<define name="__REACTOS__" />
<define name="_ARM_" />
<define name="__arm__" />
<if property="DBG" value="1">
<define name="DBG">1</define>
<define name="_SEH_ENABLE_TRACE" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="KDBG" value="1">
<define name="KDBG">1</define>
<property name="DBG_OR_KDBG" value="true" />
</if>
<include>.</include>
<include>include</include>
<include root="intermediate">include</include>
<include>include/psdk</include>
<include root="intermediate">include/psdk</include>
<include>include/dxsdk</include>
<include root="intermediate">include/dxsdk</include>
<include>include/crt</include>
<include>include/crt/mingw32</include>
<include>include/ddk</include>
<include>include/GL</include>
<include>include/ndk</include>
<include>include/reactos</include>
<include root="intermediate">include/reactos</include>
<include root="intermediate">include/reactos/mc</include>
<include>include/reactos/libs</include>
<include>include/reactos/arm</include>
<property name="WINEBUILD_FLAGS" value="--kill-at"/>
<property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
<if property="SARCH" value="versatile">
<define name="BOARD_CONFIG_VERSATILE"/>
</if>
<if property="OPTIMIZE" value="1">
<compilerflag>-Os</compilerflag>
<compilerflag>-ftracer</compilerflag>
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>-Os</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>-O1</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>-O2</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>-O3</compilerflag>
</if>
<compilerflag>-Wno-attributes</compilerflag>
<compilerflag>-fno-strict-aliasing</compilerflag>
<linkerflag>-s</linkerflag>
<linkerflag>-static</linkerflag>
<directory name="media">
<directory name="nls">
<xi:include href="media/nls/nls.rbuild" />
</directory>
</directory>
<directory name="lib">
<directory name="drivers">
<directory name="csq">
<xi:include href="lib/drivers/csq/csq.rbuild" />
</directory>
</directory>
<directory name="debugsup">
<xi:include href="lib/debugsup/debugsup.rbuild" />
</directory>
<directory name="3rdparty">
<directory name="zlib">
<xi:include href="lib/3rdparty/zlib/zlib.rbuild" />
</directory>
</directory>
<directory name="rtl">
<xi:include href="lib/rtl/rtl.rbuild" />
</directory>
<directory name="host">
<directory name="wcsfuncs">
<xi:include href="lib/host/wcsfuncs/wcsfuncs.rbuild" />
</directory>
</directory>
<directory name="inflib">
<xi:include href="lib/inflib/inflib.rbuild" />
</directory>
<directory name="cmlib">
<xi:include href="lib/cmlib/cmlib.rbuild" />
</directory>
<directory name="pseh">
<xi:include href="lib/pseh/pseh.rbuild" />
</directory>
<directory name="rossym">
<xi:include href="lib/rossym/rossym.rbuild" />
</directory>
<directory name="sdk">
<directory name="crt">
<xi:include href="lib/sdk/crt/crt.rbuild" />
<xi:include href="lib/sdk/crt/libcntpr.rbuild" />
</directory>
<directory name="wdmguid">
<xi:include href="lib/sdk/wdmguid/wdmguid.rbuild" />
</directory>
</directory>
</directory>
<directory name="include">
<xi:include href="include/directory.rbuild" />
</directory>
<directory name="tools">
<xi:include href="tools/tools.rbuild" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
</directory>
<directory name="hal">
<directory name="halarm">
<directory name="generic">
<xi:include href="hal/halarm/generic/generic.rbuild" />
</directory>
<directory name="up">
<xi:include href="hal/halarm/up/halup.rbuild" />
</directory>
</directory>
<directory name="hal">
<xi:include href="hal/hal/hal.rbuild" />
</directory>
</directory>
<directory name="boot">
<xi:include href="boot/boot.rbuild" />
</directory>
<directory name="drivers">
<directory name="storage">
<directory name="class">
<directory name="ramdisk">
<xi:include href="drivers/storage/class/ramdisk/ramdisk.rbuild" />
</directory>
</directory>
</directory>
<directory name="filesystems">
<directory name="cdfs">
<xi:include href="drivers/filesystems/cdfs/cdfs.rbuild" />
</directory>
</directory>
<directory name="base">
<directory name="kdcom">
<xi:include href="drivers/base/kdcom/kdcom.rbuild" />
</directory>
<directory name="bootvid">
<xi:include href="drivers/base/bootvid/bootvid.rbuild" />
</directory>
</directory>
</directory>
</project>

69
ReactOS-generic.rbuild Normal file
View File

@@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!DOCTYPE group SYSTEM "tools/rbuild/project.dtd">
<group xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="baseaddress.rbuild" />
<define name="__REACTOS__" />
<if property="DBG" value="1">
<define name="DBG">1</define>
<define name="_SEH_ENABLE_TRACE" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="KDBG" value="1">
<define name="KDBG">1</define>
<property name="DBG_OR_KDBG" value="true" />
</if>
<include>.</include>
<include>include</include>
<include root="intermediate">include</include>
<include>include/psdk</include>
<include root="intermediate">include/psdk</include>
<include>include/dxsdk</include>
<include root="intermediate">include/dxsdk</include>
<include>include/crt</include>
<include>include/crt/mingw32</include>
<include>include/ddk</include>
<include>include/GL</include>
<include>include/ndk</include>
<include>include/reactos</include>
<include root="intermediate">include/reactos</include>
<include root="intermediate">include/reactos/mc</include>
<include>include/reactos/libs</include>
<directory name="base">
<xi:include href="base/base.rbuild" />
</directory>
<directory name="dll">
<xi:include href="dll/dll.rbuild" />
</directory>
<directory name="drivers">
<xi:include href="drivers/drivers.rbuild" />
</directory>
<directory name="hal">
<xi:include href="hal/hal.rbuild" />
</directory>
<directory name="include">
<xi:include href="include/directory.rbuild" />
</directory>
<directory name="lib">
<xi:include href="lib/lib.rbuild" />
</directory>
<directory name="media">
<xi:include href="media/media.rbuild" />
</directory>
<directory name="modules">
<xi:include href="modules/directory.rbuild" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
<!-- <xi:include href="ntoskrnl/ntkrnlmp.rbuild" /> -->
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
</directory>
<directory name="tools">
<xi:include href="tools/tools.rbuild" />
</directory>
</group>

42
ReactOS-i386.rbuild Normal file
View File

@@ -0,0 +1,42 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<project name="ReactOS" makefile="makefile.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config.rbuild">
<xi:fallback>
<xi:include href="config.template.rbuild" />
</xi:fallback>
</xi:include>
<xi:include href="ReactOS-generic.rbuild" />
<define name="_M_IX86" />
<define name="_X86_" />
<define name="__i386__" />
<property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
<if property="OPTIMIZE" value="1">
<compilerflag>-Os</compilerflag>
<compilerflag>-ftracer</compilerflag>
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>-Os</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>-O1</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>-O2</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>-O3</compilerflag>
</if>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
<compilerflag>-fno-strict-aliasing</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-Wpointer-arith</compilerflag>
<linkerflag>-enable-stdcall-fixup</linkerflag>
</project>

View File

@@ -1,94 +1,23 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<project name="ReactOS" makefile="makefile.ppc" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config-ppc.rbuild">
<xi:fallback>
<xi:include href="config-ppc.template.rbuild" />
</xi:fallback>
</xi:include>
<xi:include href="config-ppc.rbuild">
<xi:fallback>
<xi:include href="config-ppc.template.rbuild" />
</xi:fallback>
</xi:include>
<xi:include href="baseaddress.rbuild" />
<xi:include href="ReactOS-generic.rbuild" />
<property name="BOOTPROG_PREPARE" value="ppc-le2be" />
<property name="BOOTPROG_FLATFORMAT" value="-O elf32-powerpc -B powerpc:common" />
<property name="BOOTPROG_LINKFORMAT" value="-melf32ppc --no-omagic -Ttext 0xe00000 -Tdata 0xe10000" />
<property name="BOOTPROG_COPYFORMAT" value="--only-section=.text --only-section=.data --only-section=.bss -O aixcoff-rs6000" />
<define name="_M_PPC" />
<define name="_PPC_" />
<define name="__PowerPC__" />
<define name="_REACTOS_" />
<define name="__MINGW_IMPORT" empty="true" />
<define name="stdcall" empty="true" />
<define name="__stdcall__" empty="true" />
<define name="fastcall" empty="true" />
<define name="cdecl" empty="true" />
<define name="__cdecl__" empty="true" />
<define name="dllimport" empty="true" />
<compilerflag>-v</compilerflag>
<if property="MP" value="1">
<define name="CONFIG_SMP" value="1" />
</if>
<if property="DBG" value="1">
<define name="DBG" value="1" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="DBG" value="0">
<compilerflag>-Os</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
</if>
<if property="KDBG" value="1">
<define name="KDBG" value="1" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<compilerflag>-Wpointer-arith</compilerflag>
<include>.</include>
<include>include</include>
<include>include/reactos</include>
<include>include/libs</include>
<include>include/drivers</include>
<include>include/subsys</include>
<include>include/ndk</include>
<include>include</include>
<include>include/crt</include>
<include>include/ddk</include>
<directory name="base">
<xi:include href="base/base.rbuild" />
</directory>
<directory name="boot">
<xi:include href="boot/boot.rbuild" />
</directory>
<directory name="dll">
<xi:include href="dll/dll.rbuild" />
</directory>
<directory name="drivers">
<xi:include href="drivers/drivers.rbuild" />
</directory>
<directory name="hal">
<xi:include href="hal/hal.rbuild" />
</directory>
<directory name="include">
<xi:include href="include/directory.rbuild" />
</directory>
<directory name="lib">
<xi:include href="lib/lib.rbuild" />
</directory>
<directory name="media">
<xi:include href="media/media.rbuild" />
</directory>
<directory name="modules">
<xi:include href="modules/directory.rbuild" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
</directory>
<directory name="regtests">
<xi:include href="regtests/directory.rbuild" />
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
</directory>
<property name="MKHIVE_OPTIONS" value="-be" />
<property name="OFWLDR_LINKFORMAT" value="-L$(INTERMEDIATE)/lib/ppcmmu -lppcmmu_code -nostdlib -nostartfiles -lgcc -Wl,-e,__start -Wl,-Ttext,0xe00000 -N"/>
<property name="NTOSKRNL_SHARED" value="-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -nostartfiles -shared"/>
<define name="__MSVCRT__"/>
<compilerflag>-fshort-wchar</compilerflag>
<compilerflag>-fsigned-char</compilerflag>
<compilerflag>-mfull-toc</compilerflag>
<compilerflag>-meabi</compilerflag>
<compilerflag>-O2</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
</project>

View File

@@ -1,110 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<project name="ReactOS" makefile="makefile.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config.rbuild">
<xi:fallback>
<xi:include href="config.template.rbuild" />
</xi:fallback>
</xi:include>
<xi:include href="baseaddress.rbuild" />
<define name="_M_IX86" />
<define name="_X86_" />
<define name="__i386__" />
<define name="_REACTOS_" />
<if property="MP" value="1">
<define name="CONFIG_SMP" value="1" />
</if>
<if property="DBG" value="1">
<define name="DBG" value="1" />
<define name="_SEH_ENABLE_TRACE" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="KDBG" value="1">
<define name="KDBG" value="1" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="GDB" value="0">
<if property="OPTIMIZE" value="1">
<compilerflag>-Os</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-ftracer</compilerflag>
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>-Os</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>-O1</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>-O2</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>-O3</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
</if>
<compilerflag>-Wpointer-arith</compilerflag>
<linkerflag>-enable-stdcall-fixup</linkerflag>
<include>.</include>
<include>include</include>
<include>include/ddk2003</include>
<include>include/psdk</include>
<include root="intermediate">include/psdk</include>
<include>include/dxsdk</include>
<include>include/crt</include>
<include>include/ddk</include>
<include>include/GL</include>
<include>include/ndk</include>
<include>include/reactos</include>
<include>include/reactos/libs</include>
<directory name="base">
<xi:include href="base/base.rbuild" />
</directory>
<directory name="boot">
<xi:include href="boot/boot.rbuild" />
</directory>
<directory name="dll">
<xi:include href="dll/dll.rbuild" />
</directory>
<directory name="drivers">
<xi:include href="drivers/drivers.rbuild" />
</directory>
<directory name="hal">
<xi:include href="hal/hal.rbuild" />
</directory>
<directory name="include">
<xi:include href="include/directory.rbuild" />
</directory>
<directory name="lib">
<xi:include href="lib/lib.rbuild" />
</directory>
<directory name="media">
<xi:include href="media/media.rbuild" />
</directory>
<directory name="modules">
<xi:include href="modules/directory.rbuild" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
</directory>
</project>

View File

@@ -1,29 +1,30 @@
; Format:
; COMPONENT_NAME PATH_TO_COMPONENT_SOURCES
; COMPONENT_NAME - Name of the component. Eg. kernel32.dll.
; PATH_TO_COMPONENT_SOURCES - Relative path to sources (relative to
; where rgenstat is run from).
advapi32.dll reactos/dll/win32/advapi32
crtdll.dll reactos/dll/win32/crtdll
gdi32.dll reactos/dll/win32/gdi32
gdiplus.dll reactos/dll/win32/gdiplus
iphlpapi.dll reactos/dll/win32/iphlpapi
kernel32.dll reactos/dll/win32/kernel32
lz32.dll reactos/dll/win32/lzexpand
msvcrt.dll reactos/dll/win32/msvcrt
rpcrt4.dll reactos/dll/win32/rpcrt4
secur32.dll reactos/dll/win32/secur32
snmpapi.dll reactos/dll/win32/snmpapi
user32.dll reactos/dll/win32/user32
version.dll reactos/dll/win32/version
winspool.dll reactos/dll/win32/winspool
ws2_32.dll reactos/dll/win32/ws2_32
wsock32.dll reactos/dll/win32/wsock32
videoprt.dll reactos/drivers/video/videoprt
ndis.sys reactos/drivers/network/ndis
tdi.sys reactos/drivers/network/tdi
class2.sys reactos/drivers/storage/class2
scsiport.sys reactos/drivers/storage/scsiport
ntoskrnl.exe reactos/ntoskrnl
ntoskrnl.exe reactos/lib/rtl
win32k.sys reactos/subsystems/win32/win32k
; COMPONENT_NAME - Name of the module. Eg. kernel32.
; PATH_TO_COMPONENT_SOURCES - Relative path to sources (relative to where rgenstat is run from).
advapi32 ../reactos/dll/win32/advapi32
crtdll ../reactos/dll/win32/crtdll
gdi32 ../reactos/dll/win32/gdi32
gdiplus ../reactos/dll/win32/gdiplus
iphlpapi ../reactos/dll/win32/iphlpapi
kernel32 ../reactos/dll/win32/kernel32
msvcrt ../reactos/dll/win32/msvcrt
rasapi32 ../reactos/dll/win32/rasapi32
rasdlg ../reactos/dll/win32/rasdlg
rasman ../reactos/dll/win32/rasman
rpcrt4 ../reactos/dll/win32/rpcrt4
secur32 ../reactos/dll/win32/secur32
snmpapi ../reactos/dll/win32/snmpapi
user32 ../reactos/dll/win32/user32
version ../reactos/dll/win32/version
winspool ../reactos/dll/win32/winspool
ws2_32 ../reactos/dll/win32/ws2_32
wsock32 ../reactos/dll/win32/wsock32
videoprt ../reactos/drivers/video/videoprt
ndis ../reactos/drivers/network/ndis
tdi ../reactos/drivers/network/tdi
scsiport ../reactos/drivers/storage/scsiport
ntoskrnl ../reactos/ntoskrnl
rtl ../reactos/lib/rtl
win32k ../reactos/subsystems/win32/win32k

View File

@@ -1,64 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<group>
<directory name="cacls">
<xi:include href="cacls/cacls.rbuild" />
</directory>
<directory name="calc">
<xi:include href="calc/calc.rbuild" />
</directory>
<directory name="charmap">
<xi:include href="charmap/charmap.rbuild" />
</directory>
<directory name="cmdutils">
<xi:include href="cmdutils/cmdutils.rbuild" />
</directory>
<directory name="control">
<xi:include href="control/control.rbuild" />
</directory>
<directory name="games">
<xi:include href="games/games.rbuild" />
</directory>
<directory name="hh">
<xi:include href="hh/hh.rbuild" />
</directory>
<directory name="hostname">
<xi:include href="hostname/hostname.rbuild" />
</directory>
<directory name="msconfig">
<xi:include href="msconfig/msconfig.rbuild" />
</directory>
<directory name="mscutils">
<xi:include href="mscutils/directory.rbuild" />
</directory>
<directory name="network">
<xi:include href="network/network.rbuild" />
</directory>
<directory name="notepad">
<xi:include href="notepad/notepad.rbuild" />
</directory>
<directory name="regedit">
<xi:include href="regedit/regedit.rbuild" />
</directory>
<directory name="sc">
<xi:include href="sc/sc.rbuild" />
</directory>
<directory name="screensavers">
<xi:include href="screensavers/screensavers.rbuild" />
</directory>
<directory name="shutdown">
<xi:include href="shutdown/shutdown.rbuild" />
</directory>
<directory name="sndvol32">
<xi:include href="sndvol32/sndvol32.rbuild" />
</directory>
<directory name="taskmgr">
<xi:include href="taskmgr/taskmgr.rbuild" />
</directory>
<directory name="winhelp">
<xi:include href="winhelp/winhelp.rbuild" />
</directory>
<directory name="wordpad">
<xi:include href="wordpad/wordpad.rbuild" />
</directory>
</group>

View File

@@ -1,598 +0,0 @@
/*
* ReactOS Control ACLs Program
* Copyright (C) 2006 Thomas Weidenmueller
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <precomp.h>
static GENERIC_MAPPING FileGenericMapping =
{
FILE_GENERIC_READ,
FILE_GENERIC_WRITE,
FILE_GENERIC_EXECUTE,
FILE_ALL_ACCESS
};
static INT
LengthOfStrResource(IN HINSTANCE hInst,
IN UINT uID)
{
HRSRC hrSrc;
HGLOBAL hRes;
LPWSTR lpName, lpStr;
if (hInst == NULL)
{
hInst = GetModuleHandle(NULL);
}
/* There are always blocks of 16 strings */
lpName = (LPWSTR)MAKEINTRESOURCE((uID >> 4) + 1);
/* Find the string table block */
hrSrc = FindResourceW(hInst, lpName, (LPWSTR)RT_STRING);
if (hrSrc)
{
hRes = LoadResource(hInst, hrSrc);
if (hRes)
{
lpStr = LockResource(hRes);
if (lpStr)
{
UINT x;
/* Find the string we're looking for */
uID &= 0xF; /* position in the block, same as % 16 */
for (x = 0; x < uID; x++)
{
lpStr += (*lpStr) + 1;
}
/* Found the string */
return (int)(*lpStr);
}
}
}
return -1;
}
static INT
AllocAndLoadString(OUT LPTSTR *lpTarget,
IN HINSTANCE hInst,
IN UINT uID)
{
INT ln;
ln = LengthOfStrResource(hInst,
uID);
if (ln++ > 0)
{
(*lpTarget) = (LPTSTR)HeapAlloc(GetProcessHeap(),
0,
ln * sizeof(TCHAR));
if ((*lpTarget) != NULL)
{
INT Ret;
Ret = LoadString(hInst,
uID,
*lpTarget,
ln);
if (!Ret)
{
HeapFree(GetProcessHeap(),
0,
*lpTarget);
}
return Ret;
}
}
return 0;
}
static VOID
PrintHelp(VOID)
{
LPTSTR szHelp;
if (AllocAndLoadString(&szHelp,
NULL,
IDS_HELP) != 0)
{
_tprintf(_T("%s"),
szHelp);
HeapFree(GetProcessHeap(),
0,
szHelp);
}
}
static VOID
PrintErrorMessage(IN DWORD dwError)
{
LPTSTR szError;
if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_IGNORE_INSERTS |
FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
dwError,
MAKELANGID(LANG_NEUTRAL,
SUBLANG_DEFAULT),
(LPTSTR)&szError,
0,
NULL) != 0)
{
_tprintf(_T("%s"),
szError);
LocalFree((HLOCAL)szError);
}
}
static DWORD
LoadAndPrintString(IN HINSTANCE hInst,
IN UINT uID)
{
TCHAR szTemp[255];
DWORD Len;
Len = (DWORD)LoadString(hInst,
uID,
szTemp,
sizeof(szTemp) / sizeof(szTemp[0]));
if (Len != 0)
{
_tprintf(_T("%s"),
szTemp);
}
return Len;
}
static BOOL
PrintFileDacl(IN LPTSTR FilePath,
IN LPTSTR FileName)
{
SIZE_T Indent;
PSECURITY_DESCRIPTOR SecurityDescriptor;
DWORD SDSize = 0;
TCHAR FullFileName[MAX_PATH + 1];
BOOL Error = FALSE, Ret = FALSE;
Indent = _tcslen(FilePath) + _tcslen(FileName);
if (Indent++ > MAX_PATH - 1)
{
/* file name too long */
SetLastError(ERROR_FILE_NOT_FOUND);
return FALSE;
}
_tcscpy(FullFileName,
FilePath);
_tcscat(FullFileName,
FileName);
/* find out how much memory we need */
if (!GetFileSecurity(FullFileName,
DACL_SECURITY_INFORMATION,
NULL,
0,
&SDSize) &&
GetLastError() != ERROR_INSUFFICIENT_BUFFER)
{
return FALSE;
}
SecurityDescriptor = (PSECURITY_DESCRIPTOR)HeapAlloc(GetProcessHeap(),
0,
SDSize);
if (SecurityDescriptor != NULL)
{
if (GetFileSecurity(FullFileName,
DACL_SECURITY_INFORMATION,
SecurityDescriptor,
SDSize,
&SDSize))
{
PACL Dacl;
BOOL DaclPresent;
BOOL DaclDefaulted;
if (GetSecurityDescriptorDacl(SecurityDescriptor,
&DaclPresent,
&Dacl,
&DaclDefaulted))
{
if (DaclPresent)
{
PACCESS_ALLOWED_ACE Ace;
DWORD AceIndex = 0;
/* dump the ACL */
while (GetAce(Dacl,
AceIndex,
(PVOID*)&Ace))
{
SID_NAME_USE Use;
DWORD NameSize = 0;
DWORD DomainSize = 0;
LPTSTR Name = NULL;
LPTSTR Domain = NULL;
LPTSTR SidString = NULL;
DWORD IndentAccess;
DWORD AccessMask = Ace->Mask;
PSID Sid = (PSID)&Ace->SidStart;
/* attempt to translate the SID into a readable string */
if (!LookupAccountSid(NULL,
Sid,
Name,
&NameSize,
Domain,
&DomainSize,
&Use))
{
if (GetLastError() == ERROR_NONE_MAPPED || NameSize == 0)
{
goto BuildSidString;
}
else
{
if (GetLastError() != ERROR_INSUFFICIENT_BUFFER)
{
Error = TRUE;
break;
}
Name = (LPTSTR)HeapAlloc(GetProcessHeap(),
0,
(NameSize + DomainSize) * sizeof(TCHAR));
if (Name == NULL)
{
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
Error = TRUE;
break;
}
Domain = Name + NameSize;
Name[0] = _T('\0');
if (DomainSize != 0)
Domain[0] = _T('\0');
if (!LookupAccountSid(NULL,
Sid,
Name,
&NameSize,
Domain,
&DomainSize,
&Use))
{
HeapFree(GetProcessHeap(),
0,
Name);
Name = NULL;
goto BuildSidString;
}
}
}
else
{
BuildSidString:
if (!ConvertSidToStringSid(Sid,
&SidString))
{
Error = TRUE;
break;
}
}
/* print the file name or space */
_tprintf(_T("%s "),
FullFileName);
/* attempt to map the SID to a user name */
if (AceIndex == 0)
{
DWORD i = 0;
/* overwrite the full file name with spaces so we
only print the file name once */
while (FullFileName[i] != _T('\0'))
FullFileName[i++] = _T(' ');
}
/* print the domain and/or user if possible, or the SID string */
if (Name != NULL && Domain[0] != _T('\0'))
{
_tprintf(_T("%s\\%s:"),
Domain,
Name);
IndentAccess = (DWORD)_tcslen(Domain) + _tcslen(Name);
}
else
{
LPTSTR DisplayString = (Name != NULL ? Name : SidString);
_tprintf(_T("%s:"),
DisplayString);
IndentAccess = (DWORD)_tcslen(DisplayString);
}
/* print the ACE Flags */
if (Ace->Header.AceFlags & CONTAINER_INHERIT_ACE)
{
IndentAccess += LoadAndPrintString(NULL,
IDS_ABBR_CI);
}
if (Ace->Header.AceFlags & OBJECT_INHERIT_ACE)
{
IndentAccess += LoadAndPrintString(NULL,
IDS_ABBR_OI);
}
if (Ace->Header.AceFlags & INHERIT_ONLY_ACE)
{
IndentAccess += LoadAndPrintString(NULL,
IDS_ABBR_IO);
}
IndentAccess += 2;
/* print the access rights */
MapGenericMask(&AccessMask,
&FileGenericMapping);
if (Ace->Header.AceType & ACCESS_DENIED_ACE_TYPE)
{
if (AccessMask == FILE_ALL_ACCESS)
{
LoadAndPrintString(NULL,
IDS_ABBR_NONE);
}
else
{
LoadAndPrintString(NULL,
IDS_DENY);
goto PrintSpecialAccess;
}
}
else
{
if (AccessMask == FILE_ALL_ACCESS)
{
LoadAndPrintString(NULL,
IDS_ABBR_FULL);
}
else if (!(Ace->Mask & (GENERIC_READ | GENERIC_EXECUTE)) &&
AccessMask == (FILE_GENERIC_READ | FILE_EXECUTE))
{
LoadAndPrintString(NULL,
IDS_ABBR_READ);
}
else if (AccessMask == (FILE_GENERIC_READ | FILE_GENERIC_WRITE | FILE_EXECUTE | DELETE))
{
LoadAndPrintString(NULL,
IDS_ABBR_CHANGE);
}
else if (AccessMask == FILE_GENERIC_WRITE)
{
LoadAndPrintString(NULL,
IDS_ABBR_WRITE);
}
else
{
DWORD x, x2;
static const struct
{
DWORD Access;
UINT uID;
}
AccessRights[] =
{
{FILE_WRITE_ATTRIBUTES, IDS_FILE_WRITE_ATTRIBUTES},
{FILE_READ_ATTRIBUTES, IDS_FILE_READ_ATTRIBUTES},
{FILE_DELETE_CHILD, IDS_FILE_DELETE_CHILD},
{FILE_EXECUTE, IDS_FILE_EXECUTE},
{FILE_WRITE_EA, IDS_FILE_WRITE_EA},
{FILE_READ_EA, IDS_FILE_READ_EA},
{FILE_APPEND_DATA, IDS_FILE_APPEND_DATA},
{FILE_WRITE_DATA, IDS_FILE_WRITE_DATA},
{FILE_READ_DATA, IDS_FILE_READ_DATA},
{FILE_GENERIC_EXECUTE, IDS_FILE_GENERIC_EXECUTE},
{FILE_GENERIC_WRITE, IDS_FILE_GENERIC_WRITE},
{FILE_GENERIC_READ, IDS_FILE_GENERIC_READ},
{GENERIC_ALL, IDS_GENERIC_ALL},
{GENERIC_EXECUTE, IDS_GENERIC_EXECUTE},
{GENERIC_WRITE, IDS_GENERIC_WRITE},
{GENERIC_READ, IDS_GENERIC_READ},
{MAXIMUM_ALLOWED, IDS_MAXIMUM_ALLOWED},
{ACCESS_SYSTEM_SECURITY, IDS_ACCESS_SYSTEM_SECURITY},
{SPECIFIC_RIGHTS_ALL, IDS_SPECIFIC_RIGHTS_ALL},
{STANDARD_RIGHTS_REQUIRED, IDS_STANDARD_RIGHTS_REQUIRED},
{SYNCHRONIZE, IDS_SYNCHRONIZE},
{WRITE_OWNER, IDS_WRITE_OWNER},
{WRITE_DAC, IDS_WRITE_DAC},
{READ_CONTROL, IDS_READ_CONTROL},
{DELETE, IDS_DELETE},
{STANDARD_RIGHTS_ALL, IDS_STANDARD_RIGHTS_ALL},
};
LoadAndPrintString(NULL,
IDS_ALLOW);
PrintSpecialAccess:
LoadAndPrintString(NULL,
IDS_SPECIAL_ACCESS);
/* print the special access rights */
x = sizeof(AccessRights) / sizeof(AccessRights[0]);
while (x-- != 0)
{
if ((Ace->Mask & AccessRights[x].Access) == AccessRights[x].Access)
{
_tprintf(_T("\n%s "),
FullFileName);
for (x2 = 0;
x2 < IndentAccess;
x2++)
{
_tprintf(_T(" "));
}
LoadAndPrintString(NULL,
AccessRights[x].uID);
}
}
_tprintf(_T("\n"));
}
}
_tprintf(_T("\n"));
/* free up all resources */
if (Name != NULL)
{
HeapFree(GetProcessHeap(),
0,
Name);
}
if (SidString != NULL)
{
LocalFree((HLOCAL)SidString);
}
AceIndex++;
}
if (!Error)
Ret = TRUE;
}
else
{
SetLastError(ERROR_NO_SECURITY_ON_OBJECT);
}
}
}
HeapFree(GetProcessHeap(),
0,
SecurityDescriptor);
}
else
{
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
}
return Ret;
}
int __cdecl _tmain(int argc, const TCHAR *argv[])
{
if (argc < 2)
{
PrintHelp();
return 1;
}
else
{
TCHAR FullPath[MAX_PATH + 1];
TCHAR *FilePart = NULL;
WIN32_FIND_DATA FindData;
HANDLE hFind;
DWORD LastError;
BOOL ContinueAccessDenied = FALSE;
if (argc > 2)
{
/* FIXME - parse arguments */
}
/* get the full path of where we're searching in */
if (GetFullPathName(argv[1],
sizeof(FullPath) / sizeof(FullPath[0]),
FullPath,
&FilePart) != 0)
{
if (FilePart != NULL)
*FilePart = _T('\0');
}
else
goto Error;
/* find the file(s) */
hFind = FindFirstFile(argv[1],
&FindData);
if (hFind != INVALID_HANDLE_VALUE)
{
do
{
if (!(FindData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ||
(_tcscmp(FindData.cFileName,
_T(".")) &&
_tcscmp(FindData.cFileName,
_T(".."))))
{
if (argc > 2)
{
/* FIXME - edit or replace the descriptor */
}
else
{
if (!PrintFileDacl(FullPath,
FindData.cFileName))
{
LastError = GetLastError();
if (LastError == ERROR_ACCESS_DENIED &&
ContinueAccessDenied)
{
PrintErrorMessage(LastError);
}
else
break;
}
else
_tprintf(_T("\n"));
}
}
} while (FindNextFile(hFind,
&FindData));
FindClose(hFind);
if (GetLastError() != ERROR_NO_MORE_FILES)
{
goto Error;
}
}
else
{
Error:
PrintErrorMessage(GetLastError());
return 1;
}
}
return 0;
}

View File

@@ -1,15 +0,0 @@
<module name="cacls" type="win32cui" installbase="system32" installname="cacls.exe" unicode="true">
<include base="cacls">.</include>
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0500</define>
<define name="_WIN32_WINNT">0x0600</define>
<define name="WINVER">0x0600</define>
<library>kernel32</library>
<library>advapi32</library>
<library>ntdll</library>
<library>user32</library>
<library>shell32</library>
<file>cacls.c</file>
<file>lang/cacls.rc</file>
<pch>precomp.h</pch>
</module>

View File

@@ -1,74 +0,0 @@
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_HELP, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (ACL <20><><EFBFBD> <20><><EFBFBD>) <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\n\
CACLS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD> [/T] [/E] [/C] [/G <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD> [...]] [/R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [...]]\n\
[/P <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD> [...]] [/D <20><><EFBFBD> [...]]\n\
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD>.\n\
/T <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>\n\
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. \n\
/E <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/G <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><>: R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>\n\
/R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Revoke specified user's access rights (only valid with /E).\n\
/P <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><>: N <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> \n\
/D <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (* <20> ?) <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>..\n\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\
CI <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
ACE <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
OI <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>).\n\
ACE <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
IO - Inherit Only.\n\
<20><><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ACE <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>/ <20><><EFBFBD><EFBFBD><EFBFBD>.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,10 +0,0 @@
#include <windows.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Control ACLs Program\0"
#define REACTOS_STR_INTERNAL_NAME "cacls\0"
#define REACTOS_STR_ORIGINAL_FILENAME "cacls.exe\0"
#include <reactos/version.rc>
#include "rsrc.rc"

View File

@@ -1,79 +0,0 @@
/*
* German language file by Daniel Reimer <EmuandCo> 2006-06-15
*/
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
STRINGTABLE DISCARDABLE
{
IDS_HELP, "<22>ndert Datei-ACLs (Access Control List) oder zeigt sie an.\n\n\
CACLS Dateiname [/T] [/E] [/C] [/G Benutzer:Zugriff] [/R Benutzer [...]]\n\
[/P Benutzer:Zugriff [...]] [/D Benutzer [...]]\n\
Dateiname ACLs f<>r angegebene Datei anzeigen.\n\
/T ACLs der angegebenen Datei im aktuellen Verzeichnis\n\
und allen Unterverzeichnissen <20>ndern.\n\
/E ACL bearbeiten anstatt sie zu ersetzen.\n\
/C <20>ndern der ACLs bei Zugriffsverletzung fortsetzen.\n\
/G Benutzer:Zugriff Angegebene Zugriffsarten zulassen.\n\
Zugriff kann sein: R Lesen\n\
W Schreiben\n\
C <20>ndern (Schreiben)\n\
F Vollzugriff\n\
/R Benutzer Zugriffsrechte des Benutzers aufheben (g<>ltig mit /E).\n\
/P Benutzer:Zugriff Zugriffsrechte des Benutzers ersetzen.\n\
Zugriff kann sein: N Kein\n\
R Lesen\n\
W Schreiben\n\
C <20>ndern (Schreiben)\n\
F Vollzugriff\n\
/D Benutzer Zugriff f<>r Benutzer verweigern.\n\
Platzhalterzeichen (Wildcards) werden f<>r Dateiname unterst<73>tzt.\n\
Mehrere Benutzer k<>nnen in einem Befehl angegeben werden.\n\n\
Abk<EFBFBD>rzungen:\n\
CI - Containervererbung.\n\
Der ACE-Eintrag wird von Verzeichnissen geerbt.\n\
OI - Objektvererbung.\n\
Der ACE-Eintrag wird von Dateien geerbt.\n\
IO - Nur vererben.\n\
Der ACE-Eintrag bezieht sich nicht auf\n\
die aktuelle Datei/das aktuelle Verzeichnis.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(special access:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,74 +0,0 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE DISCARDABLE
{
IDS_HELP, "Displays or modifies access control lists (ACLs) of files\n\n\
CACLS filename [/T] [/E] [/C] [/G user:perm [...]] [/R user [...]]\n\
[/P user:perm [...]] [/D user [...]]\n\
filename Displays ACLs.\n\
/T Changes ACLs of specified files in\n\
the current directory and all subdirectories.\n\
/E Edit ACL instead of replacing it.\n\
/C Continue on access denied errors.\n\
/G user:perm Grant specified user access rights.\n\
Perm can be: R Read\n\
W Write\n\
C Change (write)\n\
F Full control\n\
/R user Revoke specified user's access rights (only valid with /E).\n\
/P user:perm Replace specified user's access rights.\n\
Perm can be: N None\n\
R Read\n\
W Write\n\
C Change (write)\n\
F Full control\n\
/D user Deny specified user access.\n\
Wildcards can be used to specify more than one file in a command.\n\
You can specify more than one user in a command.\n\n\
Abbreviations:\n\
CI - Container Inherit.\n\
The ACE will be inherited by directories.\n\
OI - Object Inherit.\n\
The ACE will be inherited by files.\n\
IO - Inherit Only.\n\
The ACE does not apply to the current file/directory.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(special access:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,74 +0,0 @@
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
STRINGTABLE DISCARDABLE
{
IDS_HELP, "Affiche ou change la liste des contr<74>les d'acc<63>s (ACLs) de fichiers\n\n\
CACLS nomfichier [/T] [/E] [/C] [/G user:perm [...]] [/R user [...]]\n\
[/P user:perm [...]] [/D user [...]]\n\
nomfichier Affiche les ACLs du fichier.\n\
/T Change les ACLs des fichiers specifi<66>s dans\n\
le r<>pertoire en cours et tous les sous-r<>pertoires.\n\
/E <20>dite les ACL au lieu de les remplacer.\n\
/C Continuer en cas de refus d'acc<63>s.\n\
/G user:perm Accorder des droit d'acc<63>s <20> l'utilisateur sp<73>cifi<66>.\n\
Perm peut valoir: R Lecture\n\
W <20>criture\n\
C Modification (<28>criture)\n\
F Contr<74>le total\n\
/R user Supprime les droits d'acc<63>s de l'utilisateur sp<73>cifi<66> (valide uniquement avec /E).\n\
/P user:perm Remplace les droits d'acc<63>s de l'utilisateur specifi<66>.\n\
Perm peut valoir: N Aucun \n\
R Lecture\n\
W <20>criture\n\
C Modification (<28>criture)\n\
F Contr<74>le total\n\
/D user Interdit l'acc<63>s <20> l'utilisateur sp<73>cifi<66>.\n\
Il est possible d'utiliser des caract<63>res joker pour s<>lectionner plus d'un fichier avec une commande.\n\
Il est possible de sp<73>cifier plus d'un utilisateur dans une commande.\n\n\
Abr<EFBFBD>viations:\n\
CI - Heritage du conteneur.\n\
Le ACE sera appliqu<71> aux r<>pertoires.\n\
OI - H<>ritage de l'objet.\n\
Le ACE sera appliqu<71> aux fichiers.\n\
IO - Heritage seul.\n\
Le ACE ne sera pas appliqu<71> au fichier/r<>pertoire actuel.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(REFUS)"
IDS_SPECIAL_ACCESS, "(Acc<63>s Sp<53>cial:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,74 +0,0 @@
LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_HELP, "Menampilkan atau memodifikasi daftar kontrol akses (ACL) file\n\n\
CACLS namafile [/T] [/E] [/C] [/G user:perm [...]] [/R user [...]]\n\
[/P user:perm [...]] [/D user [...]]\n\
namafile Menampilkan ACLs.\n\
/T Mengubah ACL file yang ditetapkan dalam\n\
direktori saat ini dan semua subdirektorinya.\n\
/E Edit ACL daripada menimpanya.\n\
/C Melanjutkan walau kesalahan penolakan akses.\n\
/G user:perm Memberikan hak akses pengguna yang ditetapkan.\n\
Perm berupa: R Baca\n\
W Tulis\n\
C Ubah (tulis)\n\
F Kontrol penuh\n\
/R user Cabut hak akses pengguna yang ditetapkan (hanya berlaku dengan /E).\n\
/P user:perm Ganti hak akses pengguna yang ditetapkan.\n\
Perm berupa: N Tidak ada\n\
R Baca\n\
W Tulis\n\
C Ubah (tulis)\n\
F Kontrol penuh\n\
/D user Tolak akses pengguna yang ditetapkan.\n\
Wildcards dapat digunakan untuk menetapkan lebih dari satu file dalam perintah.\n\
Anda bisa menetapkan lebih dari satu pengguna dalam sebuah perintah.\n\n\
Singkatan:\n\
CI - Container Inherit.\n\
ACE akan diwarisi oleh direktori.\n\
OI - Object Inherit.\n\
ACE akan diwarisi oleh file.\n\
IO - Inherit Only.\n\
ACE tidak berlaku untuk file/direktori saat ini.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(akses spesial:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,75 +0,0 @@
LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN
STRINGTABLE DISCARDABLE
{
IDS_HELP, "Visualizza o modifica le liste di controllo di accesso ai file.\n\
(access control lists ACLs)\n\n\
CACLS nomefile [/T] [/E] [/C] [/G utente:perm [...]] [/R utente [...]]\n\
[/P utente:perm [...]] [/D utente [...]]\n\
nomefile Visualizza ACLs.\n\
/T Modifica la ACLs dei file specificati nella\n\
cartella corrente e in tutte le sottocartelle.\n\
/E Modifica ACL invece di sostituirla.\n\
/C Prosegue in caso di errori di accesso negato.\n\
/G utente:perm Assegna i diritti di accesso per l'utente specificato.\n\
Perm vale: R Lettura\n\
W Scrittura\n\
C Modifica (Scrittura)\n\
F Controllo completo\n\
/R utente Toglie i diritti di accesso all'utente indicato (valido solo con /E).\n\
/P utente:perm Sostituisce i diritti di accesso dell'utente indicato.\n\
Perm vale: N Nessuno\n\
R Lettura\n\
W Scrittura\n\
C Modifica (Scrittura)\n\
F Controllo completo\n\
/D utente Nega l'accesso all'utente indicato.\n\
I caratteri jolly possono essere usati per indicare piu' di un file in un comando.\n\
Si pu<70> indicare piu' di un utente in un comando.\n\n\
Abbreviazioni:\n\
CI - Contenitore eredita.\n\
ACE verr<72> ereditato dalle cartelle.\n\
OI - Oggetto eredita.\n\
ACE verr<72> ereditato dai file.\n\
IO - Solo eredi.\n\
ACE non <20> applicato ai file/cartelle correnti.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(special access:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,74 +0,0 @@
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
STRINGTABLE DISCARDABLE
{
IDS_HELP, "Viser eller endrer tilgang kontroll lister (ACL) av filer\n\n\
CACLS filnavn [/T] [/E] [/C] [/G bruker:perm [...]] [/R user [...]]\n\
[/P bruker:perm [...]] [/D bruker [...]]\n\
filnavn Viser ACL.\n\
/T Endrer ACL av spesifiserte filer i\n\
n<>v<EFBFBD>rende katalog og alle under-mapper.\n\
/E Rediger ACL isteden for erstatte det.\n\
/C Fortsett p<> tilgang nektet feiler.\n\
/G user:perm Innr<6E>mme spesifiert bruker tilgang rettigheter.\n\
Perm kan bli: L Les\n\
S Skriv\n\
E Endre (skriv)\n\
F Full kontroll\n\
/R bruker Tilbakekalle spesifisert bruker tilgang rettighet (bare gyldig med /E).\n\
/P bruker:perm Erstatte spesifisert bruker tilgang rettighet.\n\
Perm kan bli: I Ingen\n\
L Les\n\
S Skrive\n\
E Endre (skriv)\n\
F Full kontroll\n\
/D bruker Avsl<73> spesifisert bruker tilgang.\n\
Wildcards kan bli brukt for <20> spesifisere mere enn en fil i en kommando.\n\
Du kan spesifisere mere enn en bruker i en kommando.\n\n\
Forkortelse:\n\
CI - Container Inherit.\n\
ACE vil bli inherited av directories.\n\
OI - Object Inherit.\n\
ACE will be inherited by files.\n\
IO - Inherit Only.\n\
ACE gjelder ikke til n<>v<EFBFBD>rende fil/katalog.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(NEKTE)"
IDS_SPECIAL_ACCESS, "(spesiell tilgang:)"
IDS_GENERIC_READ, "GENERISK_LESE"
IDS_GENERIC_WRITE, "GENERISK_SKRIVE"
IDS_GENERIC_EXECUTE, "GENERISK_KJ<4B>RE"
IDS_GENERIC_ALL, "GENERISK_ALT"
IDS_FILE_GENERIC_EXECUTE, "FIL_GENERISK_KJ<4B>RE"
IDS_FILE_GENERIC_READ, "FIL_GENERISK_LESE"
IDS_FILE_GENERIC_WRITE, "FIL_GENERISK_SKRIVE"
IDS_FILE_READ_DATA, "FIL_LES_DATA"
IDS_FILE_WRITE_DATA, "FIL_SKRIV_DATA"
IDS_FILE_APPEND_DATA, "FIL_TILF<4C>YE_DATA"
IDS_FILE_READ_EA, "FIL_LESE_EA"
IDS_FILE_WRITE_EA, "FIL_SKRIVE_EA"
IDS_FILE_EXECUTE, "FIL_KJ<4B>RE"
IDS_FILE_DELETE_CHILD, "FIL_SLETT_BARN"
IDS_FILE_READ_ATTRIBUTES, "FIL_LESE_ATTRIBUTTER"
IDS_FILE_WRITE_ATTRIBUTES, "FIL_SKRIVE_ATTRIBUTTER"
IDS_MAXIMUM_ALLOWED, "MAKSIMUM_TILATT"
IDS_ACCESS_SYSTEM_SECURITY, "TILGANG_SYSTEM_SIKKERHET"
IDS_SPECIFIC_RIGHTS_ALL, "SPESIFIKT_RETTIGHETER_ALT"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RETTIGHETER_P<5F>BUDT"
IDS_SYNCHRONIZE, "SYNKRONISERE"
IDS_WRITE_OWNER, "SKRIVE_EIER"
IDS_WRITE_DAC, "SKRIVE_DAC"
IDS_READ_CONTROL, "LESE_KONTROLL"
IDS_DELETE, "SLETT"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RETTIGHETER_ALT"
}

View File

@@ -1,75 +0,0 @@
LANGUAGE LANG_DUTCH, SUBLANG_DUTCH
STRINGTABLE DISCARDABLE
{
IDS_HELP, "ACL's (Access Control Lists, toegangslijsten) van bestanden weergeven\nof bewerken\n\nCACLS bestandsnaam [/T] [/E] [/C] [/G gebr:toeg] [/R gebruiker [...]]\n\
[/P gebr:toeg [...]] [/D gebruiker [...]]\n\
bestandsnaam ACL's weergeven.\n\
/T ACL's wijzigen van opgegeven bestanden in\n\
de huidige map en alle submappen.\n\
/E ACL bewerken in plaats van vervangen.\n\
/C Doorgaan bij toegang geweigerd.\n\
/G gebr:toeg Opgegeven gebruiker toegangsrechten verlenen.\n\
Toeg kan zijn: R Lezen\n\
W Schrijven\n\
C Wijzigen (schrijven)\n\
F Volledig beheer\n\
/R gebruiker Toegangsrechten van opgegeven gebruiker intrekken.\n\
[alleen geldig met /E].\n\
/P gebr:toeg Toegangsrechten van opgegeven gebruiker vervangen.\n\
Toeg kan zijn: N Geen\n\
R Lezen\n\
W Schrijven\n\
C Wijzigen (schrijven)\n\
F Volledig beheer\n\
/D gebruiker Opgegeven gebruiker toegang weigeren.\n\
U kunt jokertekens gebruiken om meerdere bestanden op te geven in een\n\
opdracht. U kunt meerdere gebruikers opgeven in een opdracht.\n\n\
Afkortingen:\n\
CI - Container Inherit.\n\
De toegangslijst wordt door mappen overgenomen.\n\
OI - Object Inherit.\n\
De toegangslijst wordt door bestanden overgenomen.\n\
IO - Inherit Only.\n\
De toegangslijst is niet van toepassing op het huidige bestand of\n\
de huidige map.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(speciale toegang:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,83 +0,0 @@
/*
* translated by TestamenT
* testament@users.sourceforge.net
* https://sourceforge.net/projects/reactospl
*
*/
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_HELP, "Poka<6B> albo modyfikuj list<73> kontroli dost<73>pu (Access Control List) plik<69>w\n\n\
CACLS nazwa pliku [/T] [/E] [/C] [/G u<>ytkownik:dost<73>p [...]] [/R u<>ytkownik [...]]\n\
[/P u<>ytkownik:dost<73>p [...]] [/D u<>ytkownik [...]]\n\
filename Poka<6B> ACL.\n\
/T Zmiana ACL okre<72>lonych plik<69>w w\n\
aktualnym katalogu i wszystkich podkatalogach.\n\
/E Umo<6D>liwia edycj<63> listy ACL zamiast jej zamiany.\n\
/C Kontynuuje mimo b<><62>d<EFBFBD>w braku dost<73>pu.\n\
/G u<>ytkownik:dost<73>p Przyznanie okre<72>lonemu u<>ytkownikowi prawa dost<73>pu.\n\
Dost<73>p ma by<62> tylko do:\n\
R Odczytu\n\
W Zapisu\n\
C Zmiany (zapis)\n\
F Pe<50>en dost<73>p\n\
/R u<>ytkownik Odwo<77>aj okre<72>lonemu u<>ytkownikowi prawa dost<73>pu (tylko wa<77>ny z /E).\n\
/P u<>ytkownik:dost<73>p Zast<73>p okre<72>lonemu u<>ytkownikowi prawa dost<73>pu.\n\
Dost<73>p ma by<62> tylko do:\n\
N <20>adnego\n\
R Odczytu\n\
W Zapisu\n\
C Zmiany (zapis)\n\
F Pe<50>en dost<73>p\n\
/D u<>ytkownik Odbiera prawa dost<73>pu okre<72>lonemu u<>ytkownikowi.\n\
W jednym poleceniu mo<6D>na okre<72>li<6C> wiele plik<69>w, u<>ywaj<61>c symboli wieloznacznych.\n\
W jednym poleceniu mo<6D>na okre<72>li<6C> wielu u<>ytkownik<69>w.\n\n\
Skr<EFBFBD>ty:\n\
CI - Dziedziczenie kontenera.\n\
CI - ACE b<>dzie dziedziczony przez katalogi.\n\
OI - Dziedziczenie obiektu.\n\
ACE b<>dzie dziedziczony przez pliki.\n\
IO - Tylko dziedziczenie.\n\
ACE nie odnosi si<73> do bie<69><65>cego pliku / katalogu.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(special access:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,75 +0,0 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_HELP, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (ACLs) <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\n\
CACLS <20><><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD> [/T] [/E] [/C] [/G <20><><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD> [...]] [/R <20><><EFBFBD> [...]]\n\
[/P <20><><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD>[...]] [/D <20><><EFBFBD> [...]]\n\
<20><><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ACL.\n\
/T <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ACL <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
<20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/E <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ACL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/G <20><><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>: R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/R <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
(<28><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> /E).\n\
/P <20><><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>: N <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/D <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.\n\
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\
CI - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
ACE <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
OI - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
ACE <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
IO - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
ACE <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,95 +0,0 @@
/*
* cacls (Simplified Chinese resources)
* (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ)
* Copyright 2007 zhangbing <e_zb@21cn.com, ezb@mail.gywb.cn>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STRINGTABLE DISCARDABLE
{
IDS_HELP, "<22><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD>޸<EFBFBD><DEB8>ļ<EFBFBD><C4BC>ķ<EFBFBD><C4B7>ʿ<EFBFBD><CABF>Ʊ<EFBFBD> \n\n\
CACLS filename [/T] [/E] [/C] [/G user:perm [...]] [/R user [...]]\n\
[/P user:perm [...]] [/D user [...]]\n\
filename <20><>ʾ ACLs<4C><73>\n\
/T <20><><EFBFBD>ĵ<EFBFBD>ǰĿ¼<C4BF><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ¼<C4BF><C2BC>\n\
ָ<><D6B8><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD> ACL<43><4C>\n\
/E <20>༭ ACL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6BBBB>\n\
/C <20>ڳ<EFBFBD><DAB3>־ܾ<D6BE><DCBE><EFBFBD><EFBFBD>ʴ<EFBFBD><CAB4><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/G user:perm <20><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD>ޡ<EFBFBD>\n\
Perm <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: R <20><>ȡ \n\
W д<><D0B4> \n\
C <20><><EFBFBD><EFBFBD><><D0B4>) \n\
F <20><>ȫ<EFBFBD><C8AB><EFBFBD><EFBFBD> \n\
/R user <20><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>û<EFBFBD><C3BB>ķ<EFBFBD><C4B7><EFBFBD>Ȩ<EFBFBD><C8A8>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> /E һ<><D2BB>ʹ<EFBFBD><CAB9>ʱ<EFBFBD>Ϸ<EFBFBD>)<29><>\n\
/P user:perm <20>滻ָ<E6BBBB><D6B8><EFBFBD>û<EFBFBD><C3BB>ķ<EFBFBD><C4B7><EFBFBD>Ȩ<EFBFBD>ޡ<EFBFBD>\n\
Perm <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: N <20><> \n\
R <20><>ȡ \n\
W д<><D0B4> \n\
C <20><><EFBFBD><EFBFBD><><D0B4>) \n\
F <20><>ȫ<EFBFBD><C8AB><EFBFBD><EFBFBD> \n\
/D user <20>ܾ<EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>û<EFBFBD><C3BB>ķ<EFBFBD><C4B7>ʡ<EFBFBD>\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>п<EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>\n\
<EFBFBD><EFBFBD>Ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>\n\n\
<EFBFBD><EFBFBD>д: \n\
CI - <20><><EFBFBD><EFBFBD><EFBFBD>̳С<CCB3>\n\
ACE<43><45><EFBFBD><EFBFBD>Ŀ¼<C4BF>̳С<CCB3>\n\
OI - <20><><EFBFBD><EFBFBD><EFBFBD>̳С<CCB3>\n\
ACE <20><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC>̳С<CCB3>\n\
IO - ֻ<>̳С<CCB3>\n\
ACE <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>ǰ<EFBFBD>ļ<EFBFBD>/Ŀ¼<C4BF><C2BC>\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(special access:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,10 +0,0 @@
#ifndef _CACLS_PRECOMP_H
#define _CACLS_PRECOMP_H
#include <windows.h>
#include <sddl.h>
#include <tchar.h>
#include <stdio.h>
#include "resource.h"
#endif /* _CACLS_PRECOMP_H */

View File

@@ -1,44 +0,0 @@
#ifndef _CACLS_RESOURCE_H
#define _CACLS_RESOURCE_H
#define IDS_HELP 101
#define IDS_ABBR_CI 102
#define IDS_ABBR_OI 103
#define IDS_ABBR_IO 104
#define IDS_ABBR_FULL 105
#define IDS_ABBR_READ 106
#define IDS_ABBR_WRITE 107
#define IDS_ABBR_CHANGE 108
#define IDS_ABBR_NONE 109
#define IDS_ALLOW 110
#define IDS_DENY 111
#define IDS_SPECIAL_ACCESS 112
#define IDS_GENERIC_READ 113
#define IDS_GENERIC_WRITE 114
#define IDS_GENERIC_EXECUTE 115
#define IDS_GENERIC_ALL 116
#define IDS_FILE_GENERIC_EXECUTE 118
#define IDS_FILE_GENERIC_READ 119
#define IDS_FILE_GENERIC_WRITE 120
#define IDS_FILE_READ_DATA 121
#define IDS_FILE_WRITE_DATA 122
#define IDS_FILE_APPEND_DATA 123
#define IDS_FILE_READ_EA 124
#define IDS_FILE_WRITE_EA 125
#define IDS_FILE_EXECUTE 126
#define IDS_FILE_DELETE_CHILD 127
#define IDS_FILE_READ_ATTRIBUTES 128
#define IDS_FILE_WRITE_ATTRIBUTES 129
#define IDS_MAXIMUM_ALLOWED 130
#define IDS_ACCESS_SYSTEM_SECURITY 131
#define IDS_SPECIFIC_RIGHTS_ALL 132
#define IDS_STANDARD_RIGHTS_REQUIRED 133
#define IDS_SYNCHRONIZE 134
#define IDS_WRITE_OWNER 135
#define IDS_WRITE_DAC 136
#define IDS_READ_CONTROL 137
#define IDS_DELETE 138
#define IDS_STANDARD_RIGHTS_ALL 139
#endif /* _CACLS_RESOURCE_H */

View File

@@ -1,21 +0,0 @@
#include <windows.h>
#include "resource.h"
/* define language neutral resources */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* include localised resources */
#include "lang/bg-BG.rc"
#include "lang/de-DE.rc"
#include "lang/en-US.rc"
#include "lang/fr-FR.rc"
#include "lang/id-ID.rc"
#include "lang/it-IT.rc"
#include "lang/nb-NO.rc"
#include "lang/nl-NL.rc"
#include "lang/pl-PL.rc"
#include "lang/ru-RU.rc"
#include "lang/zh-CN.rc"

View File

@@ -1,16 +0,0 @@
<module name="calc" type="win32gui" installbase="system32" installname="calc.exe">
<include base="calc">.</include>
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0501</define>
<define name="WINVER">0x0501</define>
<define name="UNICODE" />
<define name="_UNICODE" />
<library>kernel32</library>
<library>user32</library>
<library>gdi32</library>
<library>comctl32</library>
<file>dialog.c</file>
<file>stats.c</file>
<file>winecalc.c</file>
<file>rsrc.rc</file>
</module>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -1,94 +0,0 @@
/*
* WineCalc (dialog.c)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <windows.h>
#include <tchar.h>
#include "dialog.h"
#include "resource.h"
#include "winecalc.h"
extern HINSTANCE hInstance;
BOOL CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam )
{
HDC hdc;
PAINTSTRUCT ps;
switch( uMsg ) {
case WM_INITDIALOG:
SendMessage (hDlg, WM_SETFONT, (UINT)GetStockObject(DEFAULT_GUI_FONT), TRUE);
return TRUE;
case WM_COMMAND:
switch(LOWORD(wParam)) {
case IDOK:
EndDialog( hDlg, 0 );
return TRUE;
}
break;
case WM_PAINT:
{
HDC hMemDC;
HFONT hFont;
HFONT hFontOrg;
TCHAR c1[CALC_BUF_SIZE];
TCHAR c2[CALC_BUF_SIZE];
TCHAR c3[CALC_BUF_SIZE];
TCHAR c4[CALC_BUF_SIZE];
TCHAR c5[CALC_BUF_SIZE];
hdc = BeginPaint( hDlg, &ps );
hMemDC = CreateCompatibleDC( hdc );
LoadString( hInstance, IDS_COPYRIGHT1, c1, sizeof(c1) / sizeof(c1[0]));
LoadString( hInstance, IDS_COPYRIGHT2, c2, sizeof(c2) / sizeof(c2[0]));
LoadString( hInstance, IDS_COPYRIGHT3, c3, sizeof(c3) / sizeof(c3[0]));
LoadString( hInstance, IDS_COPYRIGHT4, c4, sizeof(c4) / sizeof(c4[0]));
LoadString( hInstance, IDS_COPYRIGHT5, c5, sizeof(c5) / sizeof(c5[0]));
hFont = GetStockObject(DEFAULT_GUI_FONT);
hFontOrg = SelectObject(hdc, hFont);
SetBkMode(hdc, TRANSPARENT);
TextOut(hdc, 10, 10, c1, (INT) _tcslen(c1));
TextOut(hdc, 10, 35, c2, (INT) _tcslen(c2));
TextOut(hdc, 10, 50, c3, (INT) _tcslen(c3));
TextOut(hdc, 10, 75, c4, (INT) _tcslen(c4));
TextOut(hdc, 10, 90, c5, (INT) _tcslen(c5));
SelectObject(hdc, hFontOrg);
DeleteDC( hMemDC );
EndPaint( hDlg, &ps );
return 0;
}
case WM_CLOSE:
EndDialog( hDlg, TRUE );
return 0;
}
return FALSE;
}

View File

@@ -1,24 +0,0 @@
/*
* WineCalc (dialog.h)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
BOOL CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );

View File

@@ -1,141 +0,0 @@
#include "winecalc.h"
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_COPYRIGHT1, "Calculator 5.0. Licensed under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "<22><><EFBFBD><EFBFBD>"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "<22><><EFBFBD><EFBFBD><EFBFBD> 2"
IDS_BTN_DEGREES, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_BTN_RADIANS, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_BTN_GRADS, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_BTN_SHRT_HEX "<22><><EFBFBD><EFBFBD><EFBFBD>."
IDS_BTN_SHRT_DEC "<22><><EFBFBD><EFBFBD><EFBFBD>."
IDS_BTN_SHRT_OCT "<22><><EFBFBD>."
IDS_BTN_SHRT_BIN "<22><><EFBFBD><EFBFBD><EFBFBD>."
IDS_ERR_INVALID_INPUT, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>."
IDS_ERR_DIVIDE_BY_ZERO, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_ERR_UNDEFINED, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+C", IDM_COPY
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+C", IDM_COPY
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>.\tF5", ID_CALC_NS_HEX
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>.\tF6", ID_CALC_NS_DEC
MENUITEM "<22><><EFBFBD>.\tF7", ID_CALC_NS_OCT
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>.\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF2", ID_CALC_MS_DEGREES
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF3", ID_CALC_MS_RADIANS
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+C", IDM_COPY
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF5", ID_CALC_NS_HEX
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF6", ID_CALC_NS_DEC
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF7", ID_CALC_NS_OCT
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>\tF12", ID_CALC_WS_QWORD
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>\tF2", ID_CALC_WS_DWORD
MENUITEM "<22><><EFBFBD><EFBFBD>\tF3", ID_CALC_WS_WORD
MENUITEM "<22><><EFBFBD><EFBFBD>\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "<22><> GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD>", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,164 +0,0 @@
/*
* Czech language support
*
* WineCalc (En.rc)
*
* Copyright 2005 Denzil <d3nzil@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Kalkul<75>tor"
IDS_COPYRIGHT1, "Kalkul<75>tor 5.0. Licencov<6F>n pod LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Zp<5A>t"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Neplatn<74> vstup pro funkci."
IDS_ERR_DIVIDE_BY_ZERO, "Nelze d<>lit nulou."
IDS_ERR_UNDEFINED, "V<>sledek funkce nen<65> definov<6F>n."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Editace" {
MENUITEM "&Kop<6F>rovat Ctrl+C", IDM_COPY
MENUITEM "&Vlo<6C>it Ctrl+V", IDM_PASTE
}
POPUP "&Zobrazen<65>" {
MENUITEM "Standartn<74>", IDM_MODE_STANDARD
MENUITEM "V<>deck<63>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Seskupov<6F>n<EFBFBD> <20><>slic", IDM_DIGIT_GROUPING
}
POPUP "&Pomoc" {
MENUITEM "T<>mata n<>pov<6F>dy", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "O Kalkul<75>toru", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Editace" {
MENUITEM "&Kop<6F>rovat Ctrl+C", IDM_COPY
MENUITEM "&Vlo<6C>it Ctrl+V", IDM_PASTE
}
POPUP "&Zobrazen<65>" {
MENUITEM "Standartn<74>", IDM_MODE_STANDARD
MENUITEM "V<>deck<63>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22>estn<74>ctkov<6F>\tF5", ID_CALC_NS_HEX
MENUITEM "Des<65>tkov<6F>\tF6", ID_CALC_NS_DEC
MENUITEM "Osmi<6D>kov<6F>\tF7", ID_CALC_NS_OCT
MENUITEM "Dvojkov<6F>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Stupn<70>\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radi<64>ny\tF3", ID_CALC_MS_RADIANS
MENUITEM "Grady\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Seskupov<6F>n<EFBFBD> <20><>slic", IDM_DIGIT_GROUPING
}
POPUP "&Pomoc" {
MENUITEM "T<>mata n<>pov<6F>dy", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "O Kalkul<75>toru", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Editace" {
MENUITEM "&Kop<6F>rovat Ctrl+C", IDM_COPY
MENUITEM "&Vlo<6C>it Ctrl+V", IDM_PASTE
}
POPUP "&Zobrazen<65>" {
MENUITEM "Standartn<74>", IDM_MODE_STANDARD
MENUITEM "V<>deck<63>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22>estn<74>ctkov<6F>\tF5", ID_CALC_NS_HEX
MENUITEM "Des<65>tkov<6F>\tF6", ID_CALC_NS_DEC
MENUITEM "Osmi<6D>kov<6F>\tF7", ID_CALC_NS_OCT
MENUITEM "Dvojkov<6F>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Seskupov<6F>n<EFBFBD> <20><>slic", IDM_DIGIT_GROUPING
}
POPUP "&Pomoc" {
MENUITEM "T<>mata n<>pov<6F>dy", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "O Kalkul<75>toru", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "O GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Co je toto?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistics Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,162 +0,0 @@
/*
* WineCalc (DE.rc)
*
* Copyright 2005 Rouven Wessling
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Rechner"
IDS_COPYRIGHT1, "Rechner 5.0. Lizenziert unter der LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "R<>cktaste"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Ung<6E>ltige Eingabe f<>r Funktion."
IDS_ERR_DIVIDE_BY_ZERO, "Teilen durch 0 unm<6E>glich."
IDS_ERR_UNDEFINED, "Das Ergebnis der Funktion ist undefiniert."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Bearbeiten" {
MENUITEM "&Kopieren Ctrl+C", IDM_COPY
MENUITEM "&Einf<6E>gen Ctrl+V", IDM_PASTE
}
POPUP "&Ansicht" {
MENUITEM "&Standard", IDM_MODE_STANDARD
MENUITEM "&Wissenschaftlich", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "&Zifferngruppierung", IDM_DIGIT_GROUPING
}
POPUP "&?" {
MENUITEM "&Hilfethemen", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "&Info", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Bearbeiten" {
MENUITEM "&Kopieren Ctrl+C", IDM_COPY
MENUITEM "&Einf<6E>gen Ctrl+V", IDM_PASTE
}
POPUP "&Anzeige" {
MENUITEM "&Standard", IDM_MODE_STANDARD
MENUITEM "&Wissenschaftlich", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "&Hex\tF5", ID_CALC_NS_HEX
MENUITEM "De&zimal\tF6", ID_CALC_NS_DEC
MENUITEM "O&ktal\tF7", ID_CALC_NS_OCT
MENUITEM "&Bin<69>r\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "&Deg\tF2", ID_CALC_MS_DEGREES
MENUITEM "&Rad\tF3", ID_CALC_MS_RADIANS
MENUITEM "&Grad\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Zifferngr&uppierung", IDM_DIGIT_GROUPING
}
POPUP "&?" {
MENUITEM "&Hilfethemen", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "&Info", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Bearbeiten" {
MENUITEM "&Kopieren Ctrl+C", IDM_COPY
MENUITEM "&Einf<6E>gen Ctrl+V", IDM_PASTE
}
POPUP "&Anzeige" {
MENUITEM "&Standard", IDM_MODE_STANDARD
MENUITEM "&Wissenschaftlich", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "&Hex\tF5", ID_CALC_NS_HEX
MENUITEM "De&zimal\tF6", ID_CALC_NS_DEC
MENUITEM "O&ktal\tF7", ID_CALC_NS_OCT
MENUITEM "&Bin<69>r\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "&Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dw&ord\tF2", ID_CALC_WS_DWORD
MENUITEM "Wo&rd\tF3", ID_CALC_WS_WORD
MENUITEM "&Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "&Zifferngruppierung", IDM_DIGIT_GROUPING
}
POPUP "&?" {
MENUITEM "&Hilfethemen", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "&Info", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "Info <20>ber GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Was ist das?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistik Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,161 +0,0 @@
/*
* WineCalc (Gr.rc)
*
* Copyright 2006 Dj Apal
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_COPYRIGHT1, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 5.0. Licensed under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backspace"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_ERR_DIVIDE_BY_ZERO, "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_ERR_UNDEFINED, "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+C", IDM_COPY
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+C", IDM_COPY
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF5", ID_CALC_NS_HEX
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF6", ID_CALC_NS_DEC
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF7", ID_CALC_NS_OCT
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF2", ID_CALC_MS_DEGREES
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF3", ID_CALC_MS_RADIANS
MENUITEM "Grads\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+C", IDM_COPY
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF5", ID_CALC_NS_HEX
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF6", ID_CALC_NS_DEC
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF7", ID_CALC_NS_OCT
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF2", ID_CALC_MS_DEGREES
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF3", ID_CALC_MS_RADIANS
MENUITEM "Grads\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "<22><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>;", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistics Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,162 +0,0 @@
/*
* WineCalc (En.rc)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Calculator"
IDS_COPYRIGHT1, "Calculator 5.0. Licensed under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backspace"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Invalid input for function."
IDS_ERR_DIVIDE_BY_ZERO, "Cannot divide by zero."
IDS_ERR_UNDEFINED, "Result of function is undefined."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Edit" {
MENUITEM "&Copy Ctrl+C", IDM_COPY
MENUITEM "&Paste Ctrl+V", IDM_PASTE
}
POPUP "&View" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientific", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
}
POPUP "&Help" {
MENUITEM "Help Topics", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "About Calculator", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Edit" {
MENUITEM "&Copy Ctrl+C", IDM_COPY
MENUITEM "&Paste Ctrl+V", IDM_PASTE
}
POPUP "&View" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientific", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Binary\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Degrees\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radians\tF3", ID_CALC_MS_RADIANS
MENUITEM "Grads\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
}
POPUP "&Help" {
MENUITEM "Help Topics", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "About Calculator", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Edit" {
MENUITEM "&Copy Ctrl+C", IDM_COPY
MENUITEM "&Paste Ctrl+V", IDM_PASTE
}
POPUP "&View" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientific", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Binary\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
}
POPUP "&Help" {
MENUITEM "Help Topics", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "About Calculator", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "About GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "What's This?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistics Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,162 +0,0 @@
/*
* WineCalc (Spanish resources)
*
* Copyright 2005 Patricio Mart<72>nez Ros
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_SPANISH, SUBLANG_SPANISH_MODERN
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Calculadora"
IDS_COPYRIGHT1, "Calculadora 5.0. bajo licencia LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Retroceso"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Entrada no v<>lida para la funci<63>n."
IDS_ERR_DIVIDE_BY_ZERO, "No se puede dividir entre cero."
IDS_ERR_UNDEFINED, "El resultado de esta funci<63>n no est<73> definido."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Editar" {
MENUITEM "&Copiar Ctrl+C", IDM_COPY
MENUITEM "&Pegar Ctrl+V", IDM_PASTE
}
POPUP "&Ver" {
MENUITEM "Est<73>ndar", IDM_MODE_STANDARD
MENUITEM "Cient<6E>fica", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Agrupaci<63>n de d<>gitos", IDM_DIGIT_GROUPING
}
POPUP "Ayuda" {
MENUITEM "Temas de Ayuda", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Acerca de Calculadora", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Editar" {
MENUITEM "&Copiar Ctrl+C", IDM_COPY
MENUITEM "&Pegar Ctrl+V", IDM_PASTE
}
POPUP "&Ver" {
MENUITEM "Est<73>ndar", IDM_MODE_STANDARD
MENUITEM "Cient<6E>fica", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hesadecimal\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Binario\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Sexagesimal\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radi<64>n\tF3", ID_CALC_MS_RADIANS
MENUITEM "Centesimal\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Agrupaci<63>n de d<>gitos", IDM_DIGIT_GROUPING
}
POPUP "Ayuda" {
MENUITEM "Temas de Ayuda", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Acerca de Calculadora", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Editar" {
MENUITEM "&Copiar Ctrl+C", IDM_COPY
MENUITEM "&Pegar Ctrl+V", IDM_PASTE
}
POPUP "&Ver" {
MENUITEM "Est<73>ndar", IDM_MODE_STANDARD
MENUITEM "Cient<6E>fica", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hexadecimal\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Binario\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Agrupaci<63>n de d<>gitos", IDM_DIGIT_GROUPING
}
POPUP "Ayuda" {
MENUITEM "Temas de Ayuda", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Acerca de Calculadora", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "Acerca de GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "Aceptar", IDOK, 42, 60, 29, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "<22>Qu<51> es esto?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Cuadro de estad<61>sticas"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "Cargar", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,138 +0,0 @@
LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Laskin"
IDS_COPYRIGHT1, "Calculator 5.0. Licensed under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Takaisin"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Väärä syöte funktiolle."
IDS_ERR_DIVIDE_BY_ZERO, "Nollalla ei voi jakaa."
IDS_ERR_UNDEFINED, "Result of function is undefined."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Muokkaa" {
MENUITEM "K&opioi Ctrl+C", IDM_COPY
MENUITEM "L&iitä Ctrl+V", IDM_PASTE
}
POPUP "&Näytä" {
MENUITEM "Nelilaskin", IDM_MODE_STANDARD
MENUITEM "Funktiolaskin", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Lukujen ryhmittely", IDM_DIGIT_GROUPING
}
POPUP "&Ohje" {
MENUITEM "Ohjeen aiheet", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Tietoja Laskimesta", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Muokkaa" {
MENUITEM "K&opioi Ctrl+C", IDM_COPY
MENUITEM "L&iitä Ctrl+V", IDM_PASTE
}
POPUP "&Näytä" {
MENUITEM "Nelilaskin", IDM_MODE_STANDARD
MENUITEM "Funktiolaskin", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Binary\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Degrees\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radians\tF3", ID_CALC_MS_RADIANS
MENUITEM "Grads\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Lukujen ryhmittely", IDM_DIGIT_GROUPING
}
POPUP "&Ohje" {
MENUITEM "Ohjeen aiheet", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Tietoja Laskimesta", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Muokkaa" {
MENUITEM "K&opioi Ctrl+C", IDM_COPY
MENUITEM "L&iitä Ctrl+V", IDM_PASTE
}
POPUP "&View" {
MENUITEM "Nelilaskin", IDM_MODE_STANDARD
MENUITEM "Funktiolaskin", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Binary\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Lukujen ryhmittely", IDM_DIGIT_GROUPING
}
POPUP "&Ohje" {
MENUITEM "Ohjeen aiheet", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Tietoja Laskimesta", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "About GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Mikä tämä on?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistics Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,165 +0,0 @@
/*
* WineCalc (Fr.rc)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Translation made by Jerome Signouret, 2005.
* Updated by Pierre Schweitzer, 2007.
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Calculatrice"
IDS_COPYRIGHT1, "Calculatrice 5.0. Licensed under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Effacer"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degr<67>s"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grades"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "D<>c"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Entr<74>e incorrecte pour l'op<6F>ration."
IDS_ERR_DIVIDE_BY_ZERO, "Division par z<>ro impossble."
IDS_ERR_UNDEFINED, "R<>sultat non d<>fini."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&<26>dition" {
MENUITEM "Co&pier Ctrl+C", IDM_COPY
MENUITEM "C&oller Ctrl+V", IDM_PASTE
}
POPUP "&Affichage" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientifique", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "S<>parateur", IDM_DIGIT_GROUPING
}
POPUP "Ai&de" {
MENUITEM "Somaire", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "A propos", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&<26>dition" {
MENUITEM "Co&pier Ctrl+C", IDM_COPY
MENUITEM "C&oller Ctrl+V", IDM_PASTE
}
POPUP "&Affichage" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientifique", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hexad<61>cimal\tF5", ID_CALC_NS_HEX
MENUITEM "D<>cimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Binaire\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Degr<67>s\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radians\tF3", ID_CALC_MS_RADIANS
MENUITEM "Grades\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "S<>parateur", IDM_DIGIT_GROUPING
}
POPUP "Ai&de" {
MENUITEM "Sommaire", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22> propos", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&<26>dition" {
MENUITEM "Co&pier Ctrl+C", IDM_COPY
MENUITEM "C&oller Ctrl+V", IDM_PASTE
}
POPUP "&Affichage" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientifique", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hexad<61>cimal\tF5", ID_CALC_NS_HEX
MENUITEM "D<>cimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Binaire\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "S<>parateur", IDM_DIGIT_GROUPING
}
POPUP "Ai&de" {
MENUITEM "Sommaire", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22> propos", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "<22> propos de GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Qu'est-ce ?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Outils Statistiques Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,163 +0,0 @@
/*
* WineCalc (Hu.rc)
*
* Copyright 2003 James Briggs
* Hungarian translation by Adam Medveczky
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Sz<53>mol<6F>g<EFBFBD>p"
IDS_COPYRIGHT1, "Calculator 5.0. Licensed under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backspace"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "gy<67>k"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Hib<69>s bemenet."
IDS_ERR_DIVIDE_BY_ZERO, "Nem tudok null<6C>val osztani."
IDS_ERR_UNDEFINED, "Result of function is undefined."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Szerkeszt<7A>s" {
MENUITEM "&M<>sol<6F>s Ctrl+C", IDM_COPY
MENUITEM "&Beilleszt<7A>s Ctrl+V", IDM_PASTE
}
POPUP "&N<>zet" {
MENUITEM "Alap", IDM_MODE_STANDARD
MENUITEM "Tudom<6F>nyos", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Sz<53>mjegyek csoportos<6F>t<EFBFBD>sa", IDM_DIGIT_GROUPING
}
POPUP "S<>&g<>" {
MENUITEM "&T<>mak<61>r<EFBFBD>k", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Sz<53>mol<6F>g<EFBFBD>p n<>vjegye", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Szerkeszt<7A>s" {
MENUITEM "&M<>sol<6F>s Ctrl+C", IDM_COPY
MENUITEM "&Beilleszt<7A>s Ctrl+V", IDM_PASTE
}
POPUP "&N<>zet" {
MENUITEM "Alap", IDM_MODE_STANDARD
MENUITEM "Tudom<6F>nyos", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hexadecim<69>lis\tF5", ID_CALC_NS_HEX
MENUITEM "Decim<69>lis\tF6", ID_CALC_NS_DEC
MENUITEM "Okt<6B>lis\tF7", ID_CALC_NS_OCT
MENUITEM "Bin<69>ris\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Fok\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radi<64>n\tF3", ID_CALC_MS_RADIANS
MENUITEM "<22>jfok\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Sz<53>mjegyek csoportos<6F>t<EFBFBD>sa", IDM_DIGIT_GROUPING
}
POPUP "S<>&g<>" {
MENUITEM "&T<>mak<61>r<EFBFBD>k", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Sz<53>mol<6F>g<EFBFBD>p n<>vjegye", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Szerkeszt<7A>s" {
MENUITEM "&M<>sol<6F>s Ctrl+C", IDM_COPY
MENUITEM "&Beilleszt<7A>s Ctrl+V", IDM_PASTE
}
POPUP "&N<>zet" {
MENUITEM "Alap", IDM_MODE_STANDARD
MENUITEM "Tudom<6F>nyos", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hexadecim<69>lis\tF5", ID_CALC_NS_HEX
MENUITEM "Decim<69>lis\tF6", ID_CALC_NS_DEC
MENUITEM "Okt<6B>lis\tF7", ID_CALC_NS_OCT
MENUITEM "Bin<69>ris\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "N<>gyszeres sz<73>\tF12", ID_CALC_WS_QWORD
MENUITEM "Duplasz<73>\tF2", ID_CALC_WS_DWORD
MENUITEM "Sz<53>\tF3", ID_CALC_WS_WORD
MENUITEM "B<>jt\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Sz<53>mjegyek csoportos<6F>t<EFBFBD>sa", IDM_DIGIT_GROUPING
}
POPUP "S<>&g<>" {
MENUITEM "&T<>mak<61>r<EFBFBD>k", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Sz<53>mol<6F>g<EFBFBD>p n<>vjegye", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "GNU winecalc (sz<73>mol<6F>g<EFBFBD>p) n<>vjegye"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Mi ez?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statisztika"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,162 +0,0 @@
/*
* WineCalc (id-ID.rc)
*
* Copyright 2007 Zaenal Mutaqin (ade999@gmail.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Kalkulator"
IDS_COPYRIGHT1, "Kalkulator 5.0. Dilisensi di bawah LGPL 2"
IDS_COPYRIGHT2 "Hak Cipta 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backspace"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Input untuk fungsi tidak benar."
IDS_ERR_DIVIDE_BY_ZERO, "Tidak bisa membagi dengan nol."
IDS_ERR_UNDEFINED, "Hasil fungsi tidak terdefinisikan."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Edit" {
MENUITEM "&Copy Ctrl+C", IDM_COPY
MENUITEM "&Paste Ctrl+V", IDM_PASTE
}
POPUP "&Lihat" {
MENUITEM "Standar", IDM_MODE_STANDARD
MENUITEM "Sains", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Pengelompokan Digit", IDM_DIGIT_GROUPING
}
POPUP "&Bantuan" {
MENUITEM "Topik Bantuan", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Tentang Kalkulator", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Edit" {
MENUITEM "&Copy Ctrl+C", IDM_COPY
MENUITEM "&Paste Ctrl+V", IDM_PASTE
}
POPUP "&Lihat" {
MENUITEM "Standar", IDM_MODE_STANDARD
MENUITEM "Sains", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Heksa\tF5", ID_CALC_NS_HEX
MENUITEM "Desimal\tF6", ID_CALC_NS_DEC
MENUITEM "Oktal\tF7", ID_CALC_NS_OCT
MENUITEM "Biner\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Derajat\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radian\tF3", ID_CALC_MS_RADIANS
MENUITEM "Grads\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Pengelompokan Digit", IDM_DIGIT_GROUPING
}
POPUP "&Bantuan" {
MENUITEM "Topik Bantuan", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Tentang Kalkulator", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Edit" {
MENUITEM "&Copy Ctrl+C", IDM_COPY
MENUITEM "&Paste Ctrl+V", IDM_PASTE
}
POPUP "&Lihat" {
MENUITEM "Standar", IDM_MODE_STANDARD
MENUITEM "Sains", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Heksa\tF5", ID_CALC_NS_HEX
MENUITEM "Desimal\tF6", ID_CALC_NS_DEC
MENUITEM "Oktal\tF7", ID_CALC_NS_OCT
MENUITEM "Biner\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Pengelompokan Digit", IDM_DIGIT_GROUPING
}
POPUP "&Bantuan" {
MENUITEM "Topik Bantuan", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Tentang Kalkulator", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "Tentang GNU WineCalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Apa Ini?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Kotak Statistik"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,162 +0,0 @@
/*
* WineCalc (It.rc)
*
* Copyright 2006 Gabriel ilardi
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Calcolatrice"
IDS_COPYRIGHT1, "Calcolatrice 5.0. sotto licenza LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backspace"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Input invalido per la funzione."
IDS_ERR_DIVIDE_BY_ZERO, "Non si pu<70> dividere per zero."
IDS_ERR_UNDEFINED, "Il risultato della funzione <20> indefinito."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Modifica" {
MENUITEM "&Copia Ctrl+C", IDM_COPY
MENUITEM "I&ncolla Ctrl+V", IDM_PASTE
}
POPUP "&Visualizza" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientifica", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Raggruppamento cifre", IDM_DIGIT_GROUPING
}
POPUP "&?" {
MENUITEM "Guida in linea", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Informazioni su Calcolatrice", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Modifica" {
MENUITEM "&Copia Ctrl+C", IDM_COPY
MENUITEM "I&ncolla Ctrl+V", IDM_PASTE
}
POPUP "&Visualizza" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientifica", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Dec\tF6", ID_CALC_NS_DEC
MENUITEM "Oct\tF7", ID_CALC_NS_OCT
MENUITEM "Bin\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Gradi\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radianti\tF3", ID_CALC_MS_RADIANS
MENUITEM "Gradienti\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Raggruppamento cifre", IDM_DIGIT_GROUPING
}
POPUP "&?" {
MENUITEM "Guida in linea", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Informazioni su calcolatrice", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Modifica" {
MENUITEM "&Copia Ctrl+C", IDM_COPY
MENUITEM "I&ncolla Ctrl+V", IDM_PASTE
}
POPUP "&Visualizza" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientifica", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Dec\tF6", ID_CALC_NS_DEC
MENUITEM "Oct\tF7", ID_CALC_NS_OCT
MENUITEM "Bin\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Raggruppamento cifre", IDM_DIGIT_GROUPING
}
POPUP "&?" {
MENUITEM "Guida in linea", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Informazioni su calcolatrice", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "Informazioni su GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Cos'<27> questo?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistiche"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,202 +0,0 @@
/*
* WineCalc (Ja.rc)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Japanese resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
#ifdef _WIN32
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
//#pragma code_page(932)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
MAIN_MENU MENU
BEGIN
POPUP "<22>ҏW(&E)"
BEGIN
MENUITEM "<22>R<EFBFBD>s<EFBFBD>[(&C) Ctrl+C", IDM_COPY
MENUITEM "<22>\\<5C><><EFBFBD>t<EFBFBD><74>(&P) Ctrl+V", IDM_PASTE
END
POPUP "<22>\\<5C><>(&V)"
BEGIN
MENUITEM "<22><><EFBFBD>ʂ̓d<CC93><64>", IDM_MODE_STANDARD
MENUITEM "<22>֐<EFBFBD><D690>d<EFBFBD><64>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؂<EFBFBD>", IDM_DIGIT_GROUPING
END
POPUP "<22>w<EFBFBD><77><EFBFBD>v(&H)"
BEGIN
MENUITEM "<22>g<EFBFBD>s<EFBFBD>b<EFBFBD>N<EFBFBD>̌<EFBFBD><CC8C><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>", IDM_ABOUT
END
END
SCIMS_MENU MENU
BEGIN
POPUP "<22>ҏW(&E)"
BEGIN
MENUITEM "<22>R<EFBFBD>s<EFBFBD>[(&C) Ctrl+C", IDM_COPY
MENUITEM "<22>\\<5C><><EFBFBD>t<EFBFBD><74>(&P) Ctrl+V", IDM_PASTE
END
POPUP "<22>\\<5C><>(&V)"
BEGIN
MENUITEM "<22><><EFBFBD>ʂ̓d<CC93><64>", IDM_MODE_STANDARD
MENUITEM "<22>֐<EFBFBD><D690>d<EFBFBD><64>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "16 <20>i\tF5", ID_CALC_NS_HEX
MENUITEM "10 <20>i\tF6", ID_CALC_NS_DEC
MENUITEM "8 <20>i\tF7", ID_CALC_NS_OCT
MENUITEM "2 <20>i\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Degree\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radian\tF3", ID_CALC_MS_RADIANS
MENUITEM "Grad\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؂<EFBFBD>", IDM_DIGIT_GROUPING
END
POPUP "<22>w<EFBFBD><77><EFBFBD>v(&H)"
BEGIN
MENUITEM "<22>g<EFBFBD>s<EFBFBD>b<EFBFBD>N<EFBFBD>̌<EFBFBD><CC8C><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>", IDM_ABOUT
END
END
SCIWS_MENU MENU
BEGIN
POPUP "<22>ҏW(&E)"
BEGIN
MENUITEM "<22>R<EFBFBD>s<EFBFBD>[(&C) Ctrl+C", IDM_COPY
MENUITEM "<22>\\<5C><><EFBFBD>t<EFBFBD><74>(&P) Ctrl+V", IDM_PASTE
END
POPUP "<22>\\<5C><>(&V)"
BEGIN
MENUITEM "<22><><EFBFBD>ʂ̓d<CC93><64>", IDM_MODE_STANDARD
MENUITEM "<22>֐<EFBFBD><D690>d<EFBFBD><64>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "16 <20>i\tF5", ID_CALC_NS_HEX
MENUITEM "10 <20>i\tF6", ID_CALC_NS_DEC
MENUITEM "8 <20>i\tF7", ID_CALC_NS_OCT
MENUITEM "2 <20>i\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؂<EFBFBD>", IDM_DIGIT_GROUPING
END
POPUP "<22>w<EFBFBD><77><EFBFBD>v(&H)"
BEGIN
MENUITEM "<22>g<EFBFBD>s<EFBFBD>b<EFBFBD>N<EFBFBD>̌<EFBFBD><CC8C><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>", IDM_ABOUT
END
END
WHATS_THIS_MENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>͉<EFBFBD><CD89>H", IDM_WHATS_THIS
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
DLG_ABOUT DIALOG 12, 0, 120, 82
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "GNU winecalc <20>ɂ‚<C982><C282><EFBFBD>"
BEGIN
DEFPUSHBUTTON "OK",IDOK,42,60,30,14
END
DLG_STATS DIALOG 12, 0, 125, 78
STYLE DS_SETFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22><><EFBFBD>v<EFBFBD>{<7B>b<EFBFBD>N<EFBFBD>X"
FONT 9, "Tahoma"
BEGIN
DEFPUSHBUTTON "<22>߂<EFBFBD>(&R)",ID_STATS_RET,4,52,25,13,WS_GROUP
PUSHBUTTON "<22><><EFBFBD>[<5B>h(&L)",ID_STATS_LOAD,34,52,25,13,WS_GROUP
PUSHBUTTON "<22>N<EFBFBD><4E><EFBFBD>A(&C)",ID_STATS_CD,64,52,25,13,WS_GROUP
PUSHBUTTON "<22><><EFBFBD>ׂăN<C483><4E><EFBFBD>A(&A)",ID_STATS_CAD,94,52,25,13,WS_GROUP
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_APPNAME "<22>d<EFBFBD><64>"
IDS_BTN_BACKSPACE "Back"
IDS_BTN_CLEAR_ENTRY "CE"
IDS_BTN_CLEAR_ALL "C"
IDS_ERR_INVALID_INPUT "<22><><EFBFBD><EFBFBD><EFBFBD>Ȓl<C892>ł<EFBFBD><C582>B"
IDS_ERR_DIVIDE_BY_ZERO "0 <20>Ŋ<EFBFBD><C58A><EFBFBD>Ƃ͂ł<CD82><C582>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B"
IDS_ERR_UNDEFINED "<22>֐<EFBFBD><D690>̌<EFBFBD><CC8C>ʂ<EFBFBD><CA82><EFBFBD><EFBFBD>`<60><><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B"
IDS_COPYRIGHT1 "<22>d<EFBFBD><64> 5.0. Licensed under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_MEM_CLEAR "MC"
IDS_BTN_MEM_RECALL "MR"
IDS_BTN_MEM_STORE "MS"
IDS_BTN_MEM_PLUS "+"
IDS_BTN_MEM_STATUS_M "M"
IDS_BTN_SQRT "<22><>"
END
#endif // Japanese resources
/////////////////////////////////////////////////////////////////////////////

View File

@@ -1,162 +0,0 @@
/*
* WineCalc (En.rc)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Kalkulator"
IDS_COPYRIGHT1, "Kalkulator 5.0. Lisensert under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Tilbake"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Ugyldig informasjon for funksjon."
IDS_ERR_DIVIDE_BY_ZERO, "Kan ikke dividere p<> null."
IDS_ERR_UNDEFINED, "Resultatet av funksjoner er ubestemt."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Rediger" {
MENUITEM "&Kopier Ctrl+C", IDM_COPY
MENUITEM "&Lim inn Ctrl+V", IDM_PASTE
}
POPUP "&Vis" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Vitenskapelig", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Siffergruppering", IDM_DIGIT_GROUPING
}
POPUP "&Hjelp" {
MENUITEM "Emner i hjelp", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Om kalkulator", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Rediger" {
MENUITEM "&Kopiere Ctrl+C", IDM_COPY
MENUITEM "&Lim inn Ctrl+V", IDM_PASTE
}
POPUP "&Vis" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Vitenskapelig", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Heksadesimalt\tF5", ID_CALC_NS_HEX
MENUITEM "Desimalt\tF6", ID_CALC_NS_DEC
MENUITEM "Oktalt\tF7", ID_CALC_NS_OCT
MENUITEM "Bin<69>rt\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Grader\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radianer\tF3", ID_CALC_MS_RADIANS
MENUITEM "Gradienter\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Siffergruppering", IDM_DIGIT_GROUPING
}
POPUP "&Hjelp" {
MENUITEM "Emner i hjelp", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Om Kalkulator", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Rediger" {
MENUITEM "&Kopier Ctrl+C", IDM_COPY
MENUITEM "&Lim inn Ctrl+V", IDM_PASTE
}
POPUP "&Vis" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Vitenskapelig", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Heksadesimalt\tF5", ID_CALC_NS_HEX
MENUITEM "Desimal\tF6", ID_CALC_NS_DEC
MENUITEM "Oktalt\tF7", ID_CALC_NS_OCT
MENUITEM "Bin<69>rt\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Siffergruppering", IDM_DIGIT_GROUPING
}
POPUP "&Help" {
MENUITEM "Emner i hjelp", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Om Kalkulator", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "Om GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Hva er dette?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistics Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,162 +0,0 @@
/*
* WineCalc (Nl.rc)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_DUTCH, SUBLANG_DUTCH //vertaald door Lionel Lowie
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Rekenmachine"
IDS_COPYRIGHT1, "Calculator 5.0. Licensed under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backspace"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Ongeldige invoer voor de functie."
IDS_ERR_DIVIDE_BY_ZERO, "Kan niet delen door nul."
IDS_ERR_UNDEFINED, "Resultaat van de functie is onbepaald."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Bewerken" {
MENUITEM "&Kopi<70>ren Ctrl+C", IDM_COPY
MENUITEM "&Plakken Ctrl+V", IDM_PASTE
}
POPUP "&Beeld" {
MENUITEM "Standaard", IDM_MODE_STANDARD
MENUITEM "Wetenschappelijk", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Cijfergroepering", IDM_DIGIT_GROUPING
}
POPUP "&Help" {
MENUITEM "Help-onderwerpen", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Info", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Bewerken" {
MENUITEM "&Kopi<70>ren Ctrl+C", IDM_COPY
MENUITEM "&Plakken Ctrl+V", IDM_PASTE
}
POPUP "&View" {
MENUITEM "Standaard", IDM_MODE_STANDARD
MENUITEM "Wetenschappelijk", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Decimaal\tF6", ID_CALC_NS_DEC
MENUITEM "Octaal\tF7", ID_CALC_NS_OCT
MENUITEM "Binair\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Graden\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radialen\tF3", ID_CALC_MS_RADIANS
MENUITEM "Gradi<64>nten\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Cijfergroepering", IDM_DIGIT_GROUPING
}
POPUP "&Help" {
MENUITEM "Help-onderwerpen", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Info", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Bewerken" {
MENUITEM "&Kopi<70>ren Ctrl+C", IDM_COPY
MENUITEM "&Plakken Ctrl+V", IDM_PASTE
}
POPUP "&View" {
MENUITEM "Standaard", IDM_MODE_STANDARD
MENUITEM "Wetenschappelijk", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Decimaal\tF6", ID_CALC_NS_DEC
MENUITEM "Octaal\tF7", ID_CALC_NS_OCT
MENUITEM "Binair\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Cijfergroepering", IDM_DIGIT_GROUPING
}
POPUP "&Help" {
MENUITEM "Help-onderwerpen", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Info", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Wat is dit?", IDM_WHATS_THIS
}
}
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "Over GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistics Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,142 +0,0 @@
/*
* translated by TestamenT
* testament@users.sourceforge.net
* https://sourceforge.net/projects/reactospl
*
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Kalkulator"
IDS_COPYRIGHT1, "Kalkulator 5.0. Na licencji LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backspace"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_ERR_INVALID_INPUT, "Niewa<77>ne wej<65>cie dla funkcji."
IDS_ERR_DIVIDE_BY_ZERO, "Nie mo<6D>na dzieli<6C> przez zero."
IDS_ERR_UNDEFINED, "Nieokre<72>lony wynik funkcji."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Edytuj" {
MENUITEM "&Kopiuj\tCtrl+C", IDM_COPY
MENUITEM "&Wklej\tCtrl+V", IDM_PASTE
}
POPUP "&Widok" {
MENUITEM "&Standardowy", IDM_MODE_STANDARD
MENUITEM "&Naukowy", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "&Grupowanie cyfr", IDM_DIGIT_GROUPING
}
POPUP "Pomo&c" {
MENUITEM "&Tematy pomocy", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Kalkulator - &informacje", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Edytuj" {
MENUITEM "&Kopiuj\tCtrl+C", IDM_COPY
MENUITEM "&Wklej\tCtrl+V", IDM_PASTE
}
POPUP "&Widok" {
MENUITEM "&Standardowy", IDM_MODE_STANDARD
MENUITEM "&Naukowy", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "S&zesnastkowy\tF5", ID_CALC_NS_HEX
MENUITEM "&Dziesi<73>tny\tF6", ID_CALC_NS_DEC
MENUITEM "<22>&semkowy\tF7", ID_CALC_NS_OCT
MENUITEM "D&w<>jkowy\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "S&topnie\tF2", ID_CALC_MS_DEGREES
MENUITEM "R&adiany\tF3", ID_CALC_MS_RADIANS
MENUITEM "G&radusy\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "&Grupowanie cyfr", IDM_DIGIT_GROUPING
}
POPUP "Pomo&c" {
MENUITEM "&Tematy pomocy", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Kalkulator - &informacje", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Edytuj" {
MENUITEM "&Kopiuj\tCtrl+C", IDM_COPY
MENUITEM "&Wklej\tCtrl+V", IDM_PASTE
}
POPUP "&Widok" {
MENUITEM "&Standardowy", IDM_MODE_STANDARD
MENUITEM "&Naukowy", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "S&zesnastkowy\tF5", ID_CALC_NS_HEX
MENUITEM "&Dziesi<73>tny\tF6", ID_CALC_NS_DEC
MENUITEM "<22>&semkowy\tF7", ID_CALC_NS_OCT
MENUITEM "D&w<>jkowy\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "&Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dw&ord\tF2", ID_CALC_WS_DWORD
MENUITEM "Wo&rd\tF3", ID_CALC_WS_WORD
MENUITEM "&Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
}
POPUP "Pomo&c" {
MENUITEM "&Tematy pomocy", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "&Kalkulator - informacje", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "Informacje GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Co to?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistics Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,162 +0,0 @@
/*
* WineCalc (Pt.rc)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Calculator"
IDS_COPYRIGHT1, "Calculator 5.0. Licensed under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backspace"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Invalid input for function."
IDS_ERR_DIVIDE_BY_ZERO, "Cannot divide by zero."
IDS_ERR_UNDEFINED, "Result of function is undefined."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Edit" {
MENUITEM "&Copy Ctrl+C", IDM_COPY
MENUITEM "&Paste Ctrl+V", IDM_PASTE
}
POPUP "&View" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientific", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
}
POPUP "&Help" {
MENUITEM "Help Topics", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "About Calculator", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Edit" {
MENUITEM "&Copy Ctrl+C", IDM_COPY
MENUITEM "&Paste Ctrl+V", IDM_PASTE
}
POPUP "&View" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientific", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Binary\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Degrees\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radians\tF3", ID_CALC_MS_RADIANS
MENUITEM "Grads\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
}
POPUP "&Help" {
MENUITEM "Help Topics", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "About Calculator", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Edit" {
MENUITEM "&Copy Ctrl+C", IDM_COPY
MENUITEM "&Paste Ctrl+V", IDM_PASTE
}
POPUP "&View" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Scientific", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Binary\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
}
POPUP "&Help" {
MENUITEM "Help Topics", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "About Calculator", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "What's This?", IDM_WHATS_THIS
}
}
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "About GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistics Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,138 +0,0 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_COPYRIGHT1, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 5.0. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "<22><><EFBFBD>-<2D><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_BTN_RADIANS, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_BTN_GRADS, "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_BTN_SHRT_HEX "<22><><EFBFBD><EFBFBD><EFBFBD>."
IDS_BTN_SHRT_DEC "<22><><EFBFBD><EFBFBD><EFBFBD>."
IDS_BTN_SHRT_OCT "<22><><EFBFBD><EFBFBD><EFBFBD>."
IDS_BTN_SHRT_BIN "<22><><EFBFBD><EFBFBD><EFBFBD>."
IDS_ERR_INVALID_INPUT, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_ERR_DIVIDE_BY_ZERO, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_ERR_UNDEFINED, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+C", IDM_COPY
MENUITEM "<22><><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD> Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &<26><><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "&<26> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \tCtrl+C", IDM_COPY
MENUITEM "<22><><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD> \tCtrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF5", ID_CALC_NS_HEX
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF6", ID_CALC_NS_DEC
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF7",ID_CALC_NS_OCT
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF2", ID_CALC_MS_DEGREES
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF3", ID_CALC_MS_RADIANS
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &<26><><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "&<26> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \tCtrl+C", IDM_COPY
MENUITEM "<22><><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD> \tCtrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF5", ID_CALC_NS_HEX
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF6", ID_CALC_NS_DEC
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF7",ID_CALC_NS_OCT
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "64-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF12", ID_CALC_WS_QWORD
MENUITEM "32-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF2", ID_CALC_WS_DWORD
MENUITEM "16-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF3", ID_CALC_WS_WORD
MENUITEM "8-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &<26><><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "&<26> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "<22> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU WineCalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "<22><><EFBFBD> <20><><EFBFBD>?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,163 +0,0 @@
/*
* WineCalc (En.rc)
*
* Copyright 2005 David Nordenberg
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Kalkylatorn"
IDS_COPYRIGHT1, "Kalkylatorn 5.0. Licenserad under LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backsteg"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Felaktig indata f<>r funktion."
IDS_ERR_DIVIDE_BY_ZERO, "Kan inte dividera med noll."
IDS_ERR_UNDEFINED, "Funktionens resultat <20>r odefinerat."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Redigera" {
MENUITEM "&Kopiera\tCtrl+C", IDM_COPY
MENUITEM "K&listra in\tCtrl+V", IDM_PASTE
}
POPUP "&Visa" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Vetenskaplig", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Siffergruppering", IDM_DIGIT_GROUPING
}
POPUP "&Hj<48>lp" {
MENUITEM "Hj<48>lpavsnitt", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Om Kalkylatorn", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Redigera" {
MENUITEM "&Kopiera\tCtrl+C", IDM_COPY
MENUITEM "K&listra in\tCtrl+V", IDM_PASTE
}
POPUP "&Visa" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Vetenskaplig", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Oktal\tF7", ID_CALC_NS_OCT
MENUITEM "Bin<69>r\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Grader\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radianer\tF3", ID_CALC_MS_RADIANS
MENUITEM "Gradienter\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Siffergruppering", IDM_DIGIT_GROUPING
}
POPUP "&Hj<48>lp" {
MENUITEM "Hj<48>lpavsnitt", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Om Kalkylatorn", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Redigera" {
MENUITEM "&Kopiera\tCtrl+C", IDM_COPY
MENUITEM "K&listra in\tCtrl+V", IDM_PASTE
}
POPUP "&Visa" {
MENUITEM "Standard", IDM_MODE_STANDARD
MENUITEM "Vetenskaplig", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Oktal\tF7", ID_CALC_NS_OCT
MENUITEM "Bin<69>r\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Siffergruppering", IDM_DIGIT_GROUPING
}
POPUP "&Hj<48>lp" {
MENUITEM "Hj<48>lpavsnitt", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "Om Kalkylatorn", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "Om GNU Kalkylatorn (winecalc)"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Vad <20>r det h<>r?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistikruta"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,162 +0,0 @@
/*
* WineCalc (th-TH.rc)
*
* Copyright 2006 Sumath Aowsakulsutthi
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_THAI, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "ʶҹ<CAB6>Ҿ<EFBFBD><D2BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_COPYRIGHT1, "<22><><EFBFBD><EFBFBD><EFBFBD>ͧ<EFBFBD>Դ<EFBFBD>Ţ 5.0. <20>Ԣ<EFBFBD>Է<EFBFBD><D4B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> LGPL 2"
IDS_COPYRIGHT2 "ʧǹ<CAA7>Ԣ<EFBFBD>Է<EFBFBD><D4B7><EFBFBD> 2003, <20><><EFBFBD><EFBFBD><EFBFBD> <20><>Ԩ<EFBFBD><D4A8><EFBFBD>"
IDS_COPYRIGHT3 "᫹ <20><><EFBFBD>, <20><><EFBFBD>Կ<EFBFBD><D4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>Ѱ<EFBFBD><D1B0><EFBFBD><EFBFBD>ԡ<EFBFBD>"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "<22><><EFBFBD><EFBFBD><EFBFBD>ѧ"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "<22>ҡ<EFBFBD><D2A1><EFBFBD><EFBFBD>ͧ"
IDS_BTN_DEGREES, "ͧ<><CDA7>"
IDS_BTN_RADIANS, "<22><><EFBFBD><EFBFBD><EFBFBD>¹"
IDS_BTN_GRADS, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¹"
IDS_BTN_SHRT_HEX "<22>ҹ<EFBFBD>Ժˡ"
IDS_BTN_SHRT_DEC "<22>ҹ<EFBFBD>Ժ"
IDS_BTN_SHRT_OCT "<22>ҹỴ"
IDS_BTN_SHRT_BIN "<22>ҹ<EFBFBD>ͧ"
IDS_ERR_INVALID_INPUT, "<22><>ҷ<EFBFBD><D2B7><EFBFBD><EFBFBD>͹<EFBFBD><CDB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ö<EFBFBD><C3B6><EFBFBD>㹡óչ<C3B3><D5B9><EFBFBD><EFBFBD><EFBFBD>"
IDS_ERR_DIVIDE_BY_ZERO, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ö<EFBFBD><C3B6>ô<EFBFBD><C3B4><EFBFBD><EFBFBD>ٹ<EFBFBD><D9B9>"
IDS_ERR_UNDEFINED, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ö<EFBFBD>ʴ<EFBFBD><CAB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22>Ѵ<EFBFBD>͡ Ctrl+C", IDM_COPY
MENUITEM "<22>ҧ Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD><EFBFBD>ͧ" {
MENUITEM "Ẻ<>ҵðҹ", IDM_MODE_STANDARD
MENUITEM "Ẻ<>Է<EFBFBD><D4B7><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22>ʴ<EFBFBD><CAB4><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>Ţ", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>ǡѺ GNU WineCalc", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22>Ѵ<EFBFBD>͡ Ctrl+C", IDM_COPY
MENUITEM "<22>ҧ Ctrl+V", IDM_PASTE
}
POPUP "<22><><EFBFBD><EFBFBD>ͧ" {
MENUITEM "Ẻ<>ҵðҹ", IDM_MODE_STANDARD
MENUITEM "Ẻ<>Է<EFBFBD><D4B7><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22>ҹ<EFBFBD>Ժˡ\tF5", ID_CALC_NS_HEX
MENUITEM "<22>ҹ<EFBFBD>Ժ\tF6", ID_CALC_NS_DEC
MENUITEM "<22>ҹỴ\tF7", ID_CALC_NS_OCT
MENUITEM "<22>ҹ<EFBFBD>ͧ\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "ͧ<><CDA7>\tF2", ID_CALC_MS_DEGREES
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>¹\tF3", ID_CALC_MS_RADIANS
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¹\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "<22>ʴ<EFBFBD><CAB4><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>Ţ", IDM_DIGIT_GROUPING
}
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>ǡѺ GNU WineCalc", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22>Ѵ<EFBFBD>͡ Ctrl+C", IDM_COPY
MENUITEM "<22>ҧ Ctrl+V", IDM_PASTE
}
POPUP "<22><><EFBFBD><EFBFBD>ͧ" {
MENUITEM "Ẻ<>ҵðҹ", IDM_MODE_STANDARD
MENUITEM "Ẻ<>Է<EFBFBD><D4B7><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22>ҹ<EFBFBD>Ժˡ\tF5", ID_CALC_NS_HEX
MENUITEM "<22>ҹ<EFBFBD>Ժ\tF6", ID_CALC_NS_DEC
MENUITEM "<22>ҹỴ\tF7", ID_CALC_NS_OCT
MENUITEM "<22>ҹ<EFBFBD>ͧ\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "<22>ʴ<EFBFBD><CAB4><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>Ţ", IDM_DIGIT_GROUPING
}
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>ǡѺ GNU WineCalc", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD>ǡѺ GNU WineCalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "<22><>ŧ", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "<22><><EFBFBD><E8A7B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "<22><><EFBFBD>ͧʶҹ<CAB6>"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,162 +0,0 @@
/*
* WineCalc (Uk.rc)
*
* Copyright 2006 Artem Reznikov
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_COPYRIGHT1, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 5.0. ˳<><CBB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "<22><><EFBFBD>-<2D><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backspace"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_ERR_DIVIDE_BY_ZERO, "ij<><C4B3><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>."
IDS_ERR_UNDEFINED, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+C", IDM_COPY
MENUITEM "<22><><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD> Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "About Calculator", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+C", IDM_COPY
MENUITEM "<22><><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD> Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "س<><D8B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Hex)\tF5", ID_CALC_NS_HEX
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Dec)\tF6", ID_CALC_NS_DEC
MENUITEM "³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Oct)\tF7", ID_CALC_NS_OCT
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Bin)\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF2", ID_CALC_MS_DEGREES
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF3", ID_CALC_MS_RADIANS
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ctrl+C", IDM_COPY
MENUITEM "<22><><EFBFBD>&<26><><EFBFBD><EFBFBD><EFBFBD> Ctrl+V", IDM_PASTE
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_STANDARD
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "س<><D8B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Hex)\tF5", ID_CALC_NS_HEX
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Dec)\tF6", ID_CALC_NS_DEC
MENUITEM "³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Oct)\tF7", ID_CALC_NS_OCT
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Bin)\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "<22><><EFBFBD> GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "<22><> <20><>?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Statistics Box"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,168 +0,0 @@
/*
* Calculator (Simplified Chinese resources)
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ)
* Copyright 2007 zhangbing <e_zb@21cn.com, ezb@mail.gywb.cn>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
//#define IDC_STATIC 1000
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_COPYRIGHT1, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 5.0. <20><><EFBFBD><EFBFBD> LGPL 2 Э<><D0AD>"
IDS_COPYRIGHT2 "<22><>Ȩ 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Backspace"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Degrees"
IDS_BTN_RADIANS, "Radians"
IDS_BTN_GRADS, "Grads"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7>"
IDS_ERR_DIVIDE_BY_ZERO, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD>㡣"
IDS_ERR_UNDEFINED, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD><CEB4><EFBFBD>塣"
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "<22>༭(&E)" {
MENUITEM "<22><><EFBFBD><EFBFBD>(&C) Ctrl+C", IDM_COPY
MENUITEM "ճ<><D5B3>(&P) Ctrl+V", IDM_PASTE
}
POPUP "<22>鿴(&V)" {
MENUITEM "<22><>׼<EFBFBD><D7BC>", IDM_MODE_STANDARD
MENUITEM "<22><>ѧ<EFBFBD><D1A7>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "<22><><EFBFBD><EFBFBD>(&H)" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD>ڼ<EFBFBD><DABC><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "<22>༭(&E)" {
MENUITEM "<22><><EFBFBD><EFBFBD>(&C) Ctrl+C", IDM_COPY
MENUITEM "ճ<><D5B3>(&P) Ctrl+V", IDM_PASTE
}
POPUP "<22>鿴(&V)" {
MENUITEM "<22><>׼<EFBFBD><D7BC>", IDM_MODE_STANDARD
MENUITEM "<22><>ѧ<EFBFBD><D1A7>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "ʮ<><CAAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(H)\tF5", ID_CALC_NS_HEX
MENUITEM "ʮ<><CAAE><EFBFBD><EFBFBD>(D)\tF6", ID_CALC_NS_DEC
MENUITEM "<22>˽<EFBFBD><CBBD><EFBFBD>(O)\tF7", ID_CALC_NS_OCT
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(B)\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "<22>Ƕ<EFBFBD>\tF2", ID_CALC_MS_DEGREES
MENUITEM "<22><><EFBFBD><EFBFBD>\tF3", ID_CALC_MS_RADIANS
MENUITEM "<22>ݶ<EFBFBD>\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "<22><><EFBFBD><EFBFBD>(&H)" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD>ڼ<EFBFBD><DABC><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "<22>༭(&E)" {
MENUITEM "<22><><EFBFBD><EFBFBD>(&C) Ctrl+C", IDM_COPY
MENUITEM "ճ<><D5B3>(&P) Ctrl+V", IDM_PASTE
}
POPUP "<22>鿴(&V)" {
MENUITEM "<22><>׼<EFBFBD><D7BC>", IDM_MODE_STANDARD
MENUITEM "<22><>ѧ<EFBFBD><D1A7>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "ʮ<><CAAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(H)\tF5", ID_CALC_NS_HEX
MENUITEM "ʮ<><CAAE><EFBFBD><EFBFBD>(D)\tF6", ID_CALC_NS_DEC
MENUITEM "<22>˽<EFBFBD><CBBD><EFBFBD>(O)\tF7", ID_CALC_NS_OCT
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(B)\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD>\tF12", ID_CALC_WS_QWORD
MENUITEM "˫<><CBAB>\tF2", ID_CALC_WS_DWORD
MENUITEM "<22><><EFBFBD><EFBFBD>\tF3", ID_CALC_WS_WORD
MENUITEM "<22>ֽ<EFBFBD>\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>", IDM_DIGIT_GROUPING
}
POPUP "<22><><EFBFBD><EFBFBD>(&H)" {
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD>ڼ<EFBFBD><DABC><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOGEX 12, 0, 140, 95
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
WS_SYSMENU
CAPTION "<22><><EFBFBD><EFBFBD> GNU winecalc"
FONT 9, "MS Shell Dlg", 0, 0, 0x0
BEGIN
//LTEXT "<22><><EFBFBD>ķ<EFBFBD><C4B7><EFBFBD>:<3A>ű<EFBFBD> (e_zb@21cn.com, ezb@mail.gywb.cn)",IDC_STATIC, 5, 57, 111, 25
DEFPUSHBUTTON "ȷ<><C8B7>",IDOK, 55, 75, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "What's This?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "ͳ<>ƿ<EFBFBD>"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
FONT 9, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "<22><><EFBFBD><EFBFBD>(&R)", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "<22><><EFBFBD><EFBFBD>(&L)", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "<22><><EFBFBD><EFBFBD>(&C)" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "ȫ<><C8AB>(&A)", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -1,78 +0,0 @@
/*
* WineCalc (resource.h)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* menus */
#define IDM_COPY 1001
#define IDM_PASTE 1002
#define IDM_MODE_STANDARD 1003
#define IDM_MODE_SCIENTIFIC 1004
#define IDM_DIGIT_GROUPING 1005
#define IDM_HELP_TOPICS 1006
#define IDM_ABOUT 1007
#define IDM_SEPARATOR1 1008
#define IDM_SEPARATOR2 1009
#define IDM_SEPARATOR3 1010
#define IDM_WHATS_THIS 1011
#define IDI_CALCICON 1050
/* strings */
#define IDS_APPNAME 1100
#define IDS_BTN_BACKSPACE 1101
#define IDS_BTN_CLEAR_ENTRY 1102
#define IDS_BTN_CLEAR_ALL 1103
#define IDS_BTN_MEM_CLEAR 1104
#define IDS_BTN_MEM_RECALL 1105
#define IDS_BTN_MEM_STORE 1106
#define IDS_BTN_MEM_PLUS 1107
#define IDS_BTN_MEM_STATUS_M 1108
#define IDS_BTN_SQRT 1109
#define IDS_BTN_DEGREES 1110
#define IDS_BTN_RADIANS 1111
#define IDS_BTN_GRADS 1112
#define IDS_BTN_SHRT_HEX 1113
#define IDS_BTN_SHRT_DEC 1114
#define IDS_BTN_SHRT_OCT 1115
#define IDS_BTN_SHRT_BIN 1116
#define IDS_ERR_INVALID_INPUT 1120
#define IDS_ERR_DIVIDE_BY_ZERO 1121
#define IDS_ERR_UNDEFINED 1122
#define IDS_COPYRIGHT1 1130
#define IDS_COPYRIGHT2 1131
#define IDS_COPYRIGHT3 1132
#define IDS_COPYRIGHT4 1133
#define IDS_COPYRIGHT5 1134
/* keys */
#define IDV_HELP 103
/* stats dialog */
#define ID_STATS_RET 3000
#define ID_STATS_LOAD 3001
#define ID_STATS_CD 3002
#define ID_STATS_CAD 3003

View File

@@ -1,48 +0,0 @@
/*
* WineCalc (rsrc.rc)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <windows.h>
#include "resource.h"
IDI_CALCICON ICON "calculator.ico"
#include "lang/bg-BG.rc"
#include "lang/cs-CZ.rc"
#include "lang/de-DE.rc"
#include "lang/el-GR.rc"
#include "lang/en-US.rc"
#include "lang/es-ES.rc"
#include "lang/fi-FI.rc"
#include "lang/fr-FR.rc"
#include "lang/hu-HU.rc"
#include "lang/id-ID.rc"
#include "lang/it-IT.rc"
#include "lang/ja-JP.rc"
#include "lang/nb-NO.rc"
#include "lang/nl-NL.rc"
#include "lang/pl-PL.rc"
#include "lang/pt-PT.rc"
#include "lang/ru-RU.rc"
#include "lang/sv-SE.rc"
#include "lang/th-TH.rc"
#include "lang/uk-UA.rc"
#include "lang/zh-CN.rc"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View File

@@ -1,132 +0,0 @@
/*
* WineCalc (stats.c)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdio.h> // sprintf
#include <windows.h>
#include <tchar.h>
#include "stats.h"
#include "resource.h"
#include "winecalc.h"
HWND hWndListBox;
extern CALC calc;
extern HWND hWndDlgStats;
BOOL CALLBACK StatsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam )
{
HDC hdc;
PAINTSTRUCT ps;
switch( uMsg ) {
case WM_INITDIALOG:
hWndListBox = CreateWindow(
TEXT("LISTBOX"), // pointer to registered class name
TEXT("Listbox"), // pointer to window name
WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_BORDER | LBS_NOINTEGRALHEIGHT, // window style
6, // horizontal position of window
6, // vertical position of window
208, // window width
66, // window height
hDlg, // handle to parent or owner window
NULL, // handle to menu or child-window identifier
NULL, // handle to application instance
NULL // pointer to window-creation data
);
ShowWindow(hWndListBox, SW_SHOW);
SendMessage (hWndListBox, WM_SETFONT, (UINT)GetStockObject(DEFAULT_GUI_FONT), TRUE);
// SetFocus(hWndDlgStats);
return TRUE;
case WM_COMMAND:
switch( LOWORD( wParam ) ) {
case ID_STATS_RET:
SetFocus(GetParent(hDlg));
return 0;
case ID_STATS_LOAD:
{
INT i;
i = (INT) SendMessage(hWndListBox, LB_GETCURSEL, 0, 0);
SendMessage(hWndListBox, LB_GETTEXT, i, (LPARAM)calc.buffer);
calc_buffer_display(&calc);
}
return 0;
case ID_STATS_CD:
{
INT i;
i = (INT) SendMessage(hWndListBox, LB_GETCURSEL, 0, 0);
SendMessage(hWndListBox, LB_DELETESTRING, i, 0);
InvalidateRect(hDlg,NULL,TRUE);
UpdateWindow(hDlg);
}
return 0;
case ID_STATS_CAD:
SendMessage(hWndListBox, LB_RESETCONTENT, 0, 0);
InvalidateRect(hDlg,NULL,TRUE);
UpdateWindow(hDlg);
return 0;
}
break;
case WM_PAINT:
{
TCHAR s[CALC_BUF_SIZE];
int lb_count;
HFONT hFont;
HFONT hFontOrg;
hdc = BeginPaint( hDlg, &ps );
hFont = GetStockObject(DEFAULT_GUI_FONT);
hFontOrg = SelectObject(hdc, hFont);
lb_count = SendMessage(hWndListBox, LB_GETCOUNT, 0, 0);
_stprintf(s, TEXT("n=%d"), lb_count);
SetBkMode(hdc, TRANSPARENT);
TextOut(hdc, 98, 121, s, _tcslen(s));
SelectObject(hdc, hFontOrg);
EndPaint( hDlg, &ps );
return 0;
}
case WM_CLOSE:
hWndDlgStats = 0; // invalidate stats dialog
SendMessage(GetParent(hDlg), WM_CHAR, TEXT('\x13'), 1); // disable stats related calculator buttons
DestroyWindow( hDlg );
return 0;
}
return FALSE;
}

View File

@@ -1,24 +0,0 @@
/*
* WineCalc (stats.h)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
BOOL CALLBACK StatsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );

File diff suppressed because it is too large Load Diff

View File

@@ -1,371 +0,0 @@
/*
* WineCalc (winecalc.h)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
//////////////////////////////////////////////////////////////////
#ifdef UNICODE
#define CF_TTEXT CF_UNICODETEXT
#else
#define CF_TTEXT CF_TEXT
#endif
// numerics are defined here for easier porting
typedef double calcfloat;
#define FMT_DESC_FLOAT TEXT("%g")
#define FMT_DESC_EXP TEXT("%e")
#define CALC_ATOF(x) atof(x)
#define CONST_PI 3.1415926535897932384626433832795
/////////////////////////////////////////////////////////////////
#define CALC_BUF_SIZE 128
// statistics dialog dimensions
#define CALC_STA_X 235
#define CALC_STA_Y 180
// sentinel for differentiating Return from Ctrl+M events
#define NUMBER_OF_THE_BEAST 666
#define CALC_COLOR_BLUE 0
#define CALC_COLOR_RED 1
#define CALC_COLOR_GRAY 2
#define CALC_COLOR_MAGENTA 3
// gray hilite on rectangle owner-drawn controls RGB(CALC_GRAY, CALC_GRAY, CALC_GRAY)
#define CALC_GRAY 132
// count of buttons needing special toggle states depending on number base
#define TOGGLE_COUNT 23
// there are 3 window menus, standard, decimal measurement system and word size menus
#define COUNT_MENUS 3
#define MENU_STD 0
#define MENU_SCIMS 1
#define MENU_SCIWS 2
// count of buttons
#define CALC_BUTTONS_STANDARD 28
#define CALC_BUTTONS_SCIENTIFIC 73
// winecalc window outer dimensions
#define CALC_STANDARD_WIDTH 260
#define CALC_STANDARD_HEIGHT 252
#define CALC_SCIENTIFIC_WIDTH 480
#define CALC_SCIENTIFIC_HEIGHT 310
// winecalc private ids for events
#define ID_CALC_ZERO 0
#define ID_CALC_ONE 1
#define ID_CALC_TWO 2
#define ID_CALC_THREE 3
#define ID_CALC_FOUR 4
#define ID_CALC_FIVE 5
#define ID_CALC_SIX 6
#define ID_CALC_SEVEN 7
#define ID_CALC_EIGHT 8
#define ID_CALC_NINE 9
#define ID_CALC_BACKSPACE 20
#define ID_CALC_CLEAR_ENTRY 21
#define ID_CALC_CLEAR_ALL 22
#define ID_CALC_MEM_CLEAR 23
#define ID_CALC_DIVIDE 24
#define ID_CALC_SQRT 25
#define ID_CALC_MEM_RECALL 26
#define ID_CALC_MULTIPLY 27
#define ID_CALC_PERCENT 28
#define ID_CALC_MEM_STORE 29
#define ID_CALC_MINUS 30
#define ID_CALC_RECIPROCAL 31
#define ID_CALC_MEM_PLUS 32
#define ID_CALC_SIGN 33
#define ID_CALC_DECIMAL 34
#define ID_CALC_PLUS 35
#define ID_CALC_EQUALS 36
#define ID_CALC_STA 37
#define ID_CALC_FE 38
#define ID_CALC_LEFTPAREN 39
#define ID_CALC_RIGHTPAREN 40
#define ID_CALC_MOD 41
#define ID_CALC_AND 42
#define ID_CALC_OR 43
#define ID_CALC_XOR 44
#define ID_CALC_SUM 45
#define ID_CALC_SIN 46
#define ID_CALC_LOG10 47
#define ID_CALC_LSH 48
#define ID_CALC_NOT 49
#define ID_CALC_S 50
#define ID_CALC_COS 52
#define ID_CALC_FACTORIAL 53
#define ID_CALC_INT 54
#define ID_CALC_DAT 55
#define ID_CALC_TAN 56
#define ID_CALC_SQUARE 57
#define ID_CALC_A 58
#define ID_CALC_B 59
#define ID_CALC_C 60
#define ID_CALC_D 61
#define ID_CALC_E 62
#define ID_CALC_F 63
#define ID_CALC_AVE 64
#define ID_CALC_DMS 65
#define ID_CALC_EXP 66
#define ID_CALC_LN 67
#define ID_CALC_PI 68
#define ID_CALC_CUBE 69
#define ID_CALC_POWER 51
// Number System Radio Buttons
#define CALC_NS_COUNT 4
#define ID_CALC_NS_HEX 2000
#define ID_CALC_NS_DEC 2001
#define ID_CALC_NS_OCT 2002
#define ID_CALC_NS_BIN 2003
#define NBASE_DECIMAL 0
#define NBASE_BINARY 1
#define NBASE_OCTAL 2
#define NBASE_HEX 3
#define CALC_NS_OFFSET_X 15
#define CALC_NS_OFFSET_Y 37
#define SZ_RADIO_NS_X 50
#define SZ_RADIO_NS_Y 15
#define CALC_NS_HEX_LEFT 0
#define CALC_NS_HEX_TOP 0
#define CALC_NS_DEC_LEFT 50
#define CALC_NS_DEC_TOP 0
#define CALC_NS_OCT_LEFT 98
#define CALC_NS_OCT_TOP 0
#define CALC_NS_BIN_LEFT 148
#define CALC_NS_BIN_TOP 0
// Measurement System Radio Buttons
#define CALC_MS_COUNT 3
#define ID_CALC_MS_DEGREES 2010
#define ID_CALC_MS_RADIANS 2011
#define ID_CALC_MS_GRADS 2012
#define TRIGMODE_DEGREES 0
#define TRIGMODE_RADIANS 1
#define TRIGMODE_GRADS 2
#define CALC_MS_OFFSET_X 225
#define CALC_MS_OFFSET_Y 37
#define SZ_RADIO_MS_X 75
#define SZ_RADIO_MS_Y 15
#define CALC_MS_DEGREES_LEFT 0
#define CALC_MS_DEGREES_TOP 0
#define CALC_MS_RADIANS_LEFT 82
#define CALC_MS_RADIANS_TOP 0
#define CALC_MS_GRADS_LEFT 162
#define CALC_MS_GRADS_TOP 0
// Inv and Hyp Checkboxes
#define CALC_CB_COUNT 2
#define ID_CALC_CB_INV 2020
#define ID_CALC_CB_HYP 2021
#define WORDSIZE_BYTE 1
#define WORDSIZE_WORD 2
#define WORDSIZE_DWORD 4
#define WORDSIZE_QWORD 8
#define CALC_CB_OFFSET_X 15
#define CALC_CB_OFFSET_Y 58
#define CALC_CB_INV_LEFT 0
#define CALC_CB_INV_TOP 10
#define SZ_RADIO_CB_X 50
#define SZ_RADIO_CB_Y 14
#define CALC_CB_HYP_LEFT 58
#define CALC_CB_HYP_TOP 10
// Word Size Radio Buttons
#define CALC_WS_COUNT 4
#define ID_CALC_WS_QWORD 2030
#define ID_CALC_WS_DWORD 2031
#define ID_CALC_WS_WORD 2032
#define ID_CALC_WS_BYTE 2033
#define CALC_WS_OFFSET_X CALC_MS_OFFSET_X
#define CALC_WS_OFFSET_Y CALC_MS_OFFSET_Y
#define CALC_WS_QWORD_LEFT 0
#define CALC_WS_QWORD_TOP 0
#define CALC_WS_DWORD_LEFT 57
#define CALC_WS_DWORD_TOP 0
#define CALC_WS_WORD_LEFT 120
#define CALC_WS_WORD_TOP 0
#define CALC_WS_BYTE_LEFT 175
#define CALC_WS_BYTE_TOP 0
#define SZ_RADIO_WS_X 50
#define SZ_RADIO_WS_Y 15
// drawing offsets
#define CALC_EDIT_HEIGHT 20
#define SZ_FILLER_X 32
#define SZ_FILLER_Y 30
#define SZ_BIGBTN_X 62
#define SZ_BIGBTN_Y 30
#define SZ_MEDBTN_X 36
#define SZ_MEDBTN_Y 30
#define MARGIN_LEFT 7
#define MARGIN_SMALL_X 3
#define MARGIN_SMALL_Y 3
#define MARGIN_BIG_X 274
#define MARGIN_STANDARD_BIG_X 11
#define MARGIN_BIG_Y 6
#define SZ_SPACER_X 11
// winecalc results display area
#define WDISPLAY_STANDARD_LEFT MARGIN_LEFT + 4
#define WDISPLAY_STANDARD_TOP 5
#define WDISPLAY_STANDARD_RIGHT 244
#define WDISPLAY_STANDARD_BOTTOM 24
#define CALC_STANDARD_MARGIN_TOP 16
#define WDISPLAY_SCIENTIFIC_LEFT MARGIN_LEFT + 4
#define WDISPLAY_SCIENTIFIC_TOP 5
#define WDISPLAY_SCIENTIFIC_RIGHT 465
#define WDISPLAY_SCIENTIFIC_BOTTOM 24
#define CALC_SCIENTIFIC_MARGIN_TOP 44
typedef struct tagCalcBtn {
int id; // private id
HWND hBtn; // button child window handle
TCHAR label[80]; // text on buttonface
int color; // text color
RECT r; // location
int enable; // 1 = control enbabled, 0 = disabled
}
CALCBTN;
typedef struct tagPos {
int x;
int y;
}
POS;
typedef struct tagCalc {
HINSTANCE hInst; // this HINSTANCE
HWND hWnd; // main window's HWND
POS pos;
int numButtons; // standard = 28, scientific = more
TCHAR buffer [CALC_BUF_SIZE]; // current keyboard buffer
TCHAR display[CALC_BUF_SIZE]; // display buffer before output
calcfloat value; // most recent computer value
calcfloat memory; // most recent stored memory value from display buffer
int paren; // current parentheses level
int sciMode; // standard = 1, scientific = 0
int displayMode; // 0 = float, 1 = scientific exponential notation like 1.0e+10
TCHAR oper; // most recent operator pushed
calcfloat operand; // most recent operand pushed
int newenter; // track multiple =
int next; // binary operation flag
int err; // errror status for divide by zero, infinity, etc.
int init; // starting buffer
int digitGrouping; // no separators = 0, separators = 1
int trigMode; // degrees = 0, radians = 1, grads = 2
int numBase; // 10 = decimal, 2 = binary, 8 = octal, 16 = hex
int wordSize; // 1 = byte, 2 = word, 4 = dword, 8 = qword
int invMode; // INV mode 0 = off, 1 = on
int hypMode; // HYP mode 0 = off, 1 = on
int new; // first time 0 = false, 1 = true
CALCBTN cb[80]; // enough buttons for standard or scientific mode
}
CALC;
BOOL CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );
LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
void InitLuts(void);
void InitMenus(HINSTANCE hInst);
void DestroyMenus();
void InitCalc (CALC *calc);
void DestroyCalc (CALC *calc);
void calc_buffer_format(CALC *calc);
void calc_buffer_display(CALC *calc);
TCHAR *calc_sep(TCHAR *s);
void DrawCalcText (HDC hdc, HDC hMemDC, PAINTSTRUCT *ps, CALC *calc, int object, TCHAR *s);
void CalcRect (HDC hdc, HDC hMemDC, PAINTSTRUCT *ps, CALC *calc, int object);
void DrawCalcRectSci(HDC hdc, HDC hMemDC, PAINTSTRUCT *ps, CALC *calc, RECT *r);
void DrawCalc (HDC hdc, HDC hMemDC, PAINTSTRUCT *ps, CALC *calc);
void calc_setmenuitem_radio(HMENU hMenu, UINT id);
void show_debug(CALC *calc, TCHAR *title, long wParam, long lParam);
calcfloat calc_atof(const TCHAR *s, int base);
void calc_ftoa(CALC *calc, calcfloat r, TCHAR *buf);
long factorial(long n);
calcfloat calc_convert_to_radians(CALC *calc);
calcfloat calc_convert_from_radians(CALC *calc);

View File

@@ -1,79 +0,0 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/about.c
* PURPOSE: about dialog
* COPYRIGHT: Copyright 2007 Ged Murphy <gedmurphy@reactos.org>
*
*/
#include <precomp.h>
static INT_PTR CALLBACK
AboutDialogProc(HWND hDlg,
UINT message,
WPARAM wParam,
LPARAM lParam)
{
static HICON hIcon = NULL;
switch (message)
{
case WM_INITDIALOG:
{
HWND hLicenseEditWnd;
TCHAR strLicense[700];
hIcon = LoadImage(hInstance,
MAKEINTRESOURCE(IDI_ICON),
IMAGE_ICON,
16,
16,
0);
SendMessage(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hIcon);
hLicenseEditWnd = GetDlgItem(hDlg,
IDC_LICENSE_EDIT);
LoadString(hInstance,
IDS_LICENSE,
strLicense,
sizeof(strLicense) / sizeof(TCHAR));
SetWindowText(hLicenseEditWnd,
strLicense);
return TRUE;
}
case WM_COMMAND:
{
if ((LOWORD(wParam) == IDOK) || (LOWORD(wParam) == IDCANCEL))
{
DestroyIcon(hIcon);
EndDialog(hDlg,
LOWORD(wParam));
return TRUE;
}
break;
}
}
return FALSE;
}
VOID
ShowAboutDlg(HWND hWndParent)
{
DialogBox(hInstance,
MAKEINTRESOURCE(IDD_ABOUTBOX),
hWndParent,
AboutDialogProc);
}

View File

@@ -1,358 +0,0 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/charmap.c
* PURPOSE: main dialog implementation
* COPYRIGHT: Copyright 2007 Ged Murphy <gedmurphy@reactos.org>
*
*/
#include <precomp.h>
#define ID_ABOUT 0x1
HINSTANCE hInstance;
/* Font-enumeration callback */
static int CALLBACK
EnumFontNames(ENUMLOGFONTEX *lpelfe,
NEWTEXTMETRICEX *lpntme,
DWORD FontType,
LPARAM lParam)
{
HWND hwndCombo = (HWND)lParam;
TCHAR *pszName = lpelfe->elfLogFont.lfFaceName;
/* make sure font doesn't already exist in our list */
if(SendMessage(hwndCombo,
CB_FINDSTRING,
0,
(LPARAM)pszName) == CB_ERR)
{
INT idx;
BOOL fFixed;
BOOL fTrueType;
/* add the font */
idx = (INT)SendMessage(hwndCombo,
CB_ADDSTRING,
0,
(LPARAM)pszName);
/* record the font's attributes (Fixedwidth and Truetype) */
fFixed = (lpelfe->elfLogFont.lfPitchAndFamily & FIXED_PITCH) ? TRUE : FALSE;
fTrueType = (lpelfe->elfLogFont.lfOutPrecision == OUT_STROKE_PRECIS) ? TRUE : FALSE;
/* store this information in the list-item's userdata area */
SendMessage(hwndCombo,
CB_SETITEMDATA,
idx,
MAKEWPARAM(fFixed, fTrueType));
}
return 1;
}
/* Initialize the font-list by enumeration all system fonts */
static VOID
FillFontStyleComboList(HWND hwndCombo)
{
HDC hdc;
LOGFONT lf;
/* FIXME: for fun, draw each font in its own style */
HFONT hFont = GetStockObject(DEFAULT_GUI_FONT);
SendMessage(hwndCombo,
WM_SETFONT,
(WPARAM)hFont,
0);
lf.lfCharSet = DEFAULT_CHARSET;
lf.lfFaceName[0] = _T('\0'); // all fonts
lf.lfPitchAndFamily = 0;
hdc = GetDC(hwndCombo);
/* store the list of fonts in the combo */
EnumFontFamiliesEx(hdc,
&lf,
(FONTENUMPROC)EnumFontNames,
(LPARAM)hwndCombo,
0);
ReleaseDC(hwndCombo,
hdc);
SendMessage(hwndCombo,
CB_SETCURSEL,
0,
0);
}
static VOID
ChangeMapFont(HWND hDlg)
{
HWND hCombo;
HWND hMap;
LPTSTR lpFontName;
INT Len;
hCombo = GetDlgItem(hDlg, IDC_FONTCOMBO);
Len = GetWindowTextLength(hCombo);
if (Len != 0)
{
lpFontName = HeapAlloc(GetProcessHeap(),
0,
(Len + 1) * sizeof(TCHAR));
if (lpFontName)
{
SendMessage(hCombo,
WM_GETTEXT,
Len + 1,
(LPARAM)lpFontName);
hMap = GetDlgItem(hDlg, IDC_FONTMAP);
SendMessage(hMap,
FM_SETFONT,
0,
(LPARAM)lpFontName);
}
}
}
static VOID
AddCharToSelection(HWND hText,
TCHAR ch)
{
LPTSTR lpText;
INT Len = GetWindowTextLength(hText);
if (Len != 0)
{
lpText = HeapAlloc(GetProcessHeap(),
0,
(Len + 2) * sizeof(TCHAR));
if (lpText)
{
LPTSTR lpStr = lpText;
SendMessage(hText,
WM_GETTEXT,
Len + 1,
(LPARAM)lpStr);
lpStr += Len;
*lpStr = ch;
lpStr++;
*lpStr = _T('\0');
SendMessage(hText,
WM_SETTEXT,
0,
(LPARAM)lpText);
HeapFree(GetProcessHeap(),
0,
lpText);
}
}
else
{
TCHAR szText[2];
szText[0] = ch;
szText[1] = _T('\0');
SendMessage(hText,
WM_SETTEXT,
0,
(LPARAM)szText);
}
}
static BOOL CALLBACK
DlgProc(HWND hDlg,
UINT Message,
WPARAM wParam,
LPARAM lParam)
{
switch(Message)
{
case WM_INITDIALOG:
{
HICON hSmIcon;
HICON hBgIcon;
HMENU hSysMenu;
hSmIcon = LoadImage(hInstance,
MAKEINTRESOURCE(IDI_ICON),
IMAGE_ICON,
16,
16,
0);
hBgIcon = LoadImage(hInstance,
MAKEINTRESOURCE(IDI_ICON),
IMAGE_ICON,
32,
32,
0);
SendMessage(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hSmIcon);
SendMessage(hDlg,
WM_SETICON,
ICON_BIG,
(LPARAM)hBgIcon);
FillFontStyleComboList(GetDlgItem(hDlg,
IDC_FONTCOMBO));
ChangeMapFont(hDlg);
hSysMenu = GetSystemMenu(hDlg,
FALSE);
if (hSysMenu != NULL)
{
LPCTSTR lpAboutText = NULL;
if (LoadString(hInstance,
IDS_ABOUT,
(LPTSTR)&lpAboutText,
0))
{
AppendMenu(hSysMenu,
MF_SEPARATOR,
0,
NULL);
AppendMenu(hSysMenu,
MF_STRING,
ID_ABOUT,
lpAboutText);
}
}
return TRUE;
}
break;
case WM_CLOSE:
{
EndDialog(hDlg, 0);
}
break;
case WM_COMMAND:
{
switch(LOWORD(wParam))
{
case IDC_FONTCOMBO:
{
if (HIWORD(wParam) == CBN_SELCHANGE)
{
ChangeMapFont(hDlg);
}
}
break;
case IDC_SELECT:
{
TCHAR ch;
HWND hMap = GetDlgItem(hDlg, IDC_FONTMAP);
ch = SendMessage(hMap, FM_GETCHAR, 0, 0);
if (ch)
{
AddCharToSelection(GetDlgItem(hDlg, IDC_TEXTBOX),
ch);
}
break;
}
case IDOK:
EndDialog(hDlg, 0);
break;
}
}
break;
case WM_SYSCOMMAND:
{
switch(wParam)
{
case ID_ABOUT:
ShowAboutDlg(hDlg);
break;
}
}
break;
case WM_NOTIFY:
{
LPMAPNOTIFY lpnm = (LPMAPNOTIFY)lParam;
switch (lpnm->hdr.idFrom)
{
case IDC_FONTMAP:
{
switch (lpnm->hdr.code)
{
case FM_SETCHAR:
{
AddCharToSelection(GetDlgItem(hDlg, IDC_TEXTBOX),
lpnm->ch);
}
break;
}
}
break;
}
}
break;
default:
return FALSE;
}
return FALSE;
}
INT WINAPI
_tWinMain(HINSTANCE hInst,
HINSTANCE hPrev,
LPTSTR Cmd,
int iCmd)
{
INITCOMMONCONTROLSEX iccx;
INT Ret = 1;
hInstance = hInst;
iccx.dwSize = sizeof(INITCOMMONCONTROLSEX);
iccx.dwICC = ICC_TAB_CLASSES;
InitCommonControlsEx(&iccx);
if (RegisterMapClasses(hInstance))
{
Ret = DialogBox(hInstance,
MAKEINTRESOURCE(IDD_CHARMAP),
NULL,
(DLGPROC)DlgProc) >= 0;
UnregisterMapClasses(hInstance);
}
return Ret;
}

View File

@@ -1,23 +0,0 @@
<?xml version="1.0"?>
<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
<module name="charmap" type="win32gui" installbase="system32" installname="charmap.exe" unicode="yes">
<include base="charmap">.</include>
<define name="__REACTOS__" />
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<library>ntdll</library>
<library>gdi32</library>
<library>kernel32</library>
<library>user32</library>
<library>comctl32</library>
<compilationunit name="unit.c">
<file>about.c</file>
<file>charmap.c</file>
<file>lrgcell.c</file>
<file>map.c</file>
</compilationunit>
<file>charmap.rc</file>
<pch>precomp.h</pch>
</module>
</rbuild>

View File

@@ -1,11 +0,0 @@
#include <windows.h>
#include <commctrl.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Character Map\0"
#define REACTOS_STR_INTERNAL_NAME "charmap\0"
#define REACTOS_STR_ORIGINAL_FILENAME "charmap.exe\0"
#include <reactos/version.rc>
#include "rsrc.rc"

View File

@@ -1,35 +0,0 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Character Map"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "Font :", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Help", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Characters to copy :", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "Select", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "Copy", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "Advanced view", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "About Character Map"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Character Map v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "Close", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "A&bout..."
END

View File

@@ -1,35 +0,0 @@
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Mapa de Caracteres"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "Fuente :", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Ayuda", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Caracteres a copiar :", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "Seleccionar", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "Copiar", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "Vista Avanzada", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "Acerca de Character Map"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Character Map v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "Cerrar", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "&Acerca de ..."
END

View File

@@ -1,35 +0,0 @@
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Table des Caract<63>res"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "Police :", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Aide", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Caract<63>res <20> copier :", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "S<>lectionner", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "Copier", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "Vue avanc<6E>e", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "<22> propos de la Table des Caract<63>res"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Table des Caract<63>res v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "Fermer", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "<22> propos..."
END

View File

@@ -1,35 +0,0 @@
LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Peta Karakter"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "Font :", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Bantuan", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Karakter untuk di-copy :", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "Pilih", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "Copy", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "Advanced view", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "Tentang Peta Karakter"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Character Map v0.1\nHak Cipta (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "Tutup", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "Program ini adalah software bebas; anda dapat mendistribusikan dan/atau mengubahnya di bawah term GNU General Public License seperti dipublikasikan oleh Free Software Foundation; baik Lisensi versi 2, atau (menurut opini anda) setiap versi berikutnya.\r\n\r\nProgram ini didistribusikan dengan harapan ia akan berguna, tetapi TANPA JAMINAN APAPUN; bahkan tanpa jaminan berarti dari MERCANTABILITAS atau KECUKUPAN UNTUK KEPERLUAN TERTENTU. Lihat GNU General Public License untuk lebih jelasnya.\r\n\r\nAnda seharusnya menerima duplikat GNU General Public License bersamaan dengan program ini; jika tidak, tulis ke Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "Te&ntang..."
END

View File

@@ -1,35 +0,0 @@
LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Character Map"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "Font :", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Aiuto", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Caratteri da copiare :", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "Selezionare", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "Copiare", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "Visualizzazione avanzata", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "Informazioni su Character Map"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Character Map v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "Chiudi", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "&Informazioni su..."
END

View File

@@ -1,40 +0,0 @@
/*
* translated by xrogers
* xxrogers@users.sourceforge.net
* https://sourceforge.net/projects/reactospl
*/
LANGUAGE LANG_POLISH, SUBLANG_NEUTRAL
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Tablica znak<61>w"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "Czci&onka:", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Pomo&c", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "&Znaki do skopiowania:", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "Wy&bierz", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "&Kopiuj", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "Widok z&aawansowany", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "Informacje o tablicy znak<61>w"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Tablica znak<61>w v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "Zamknij", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "Niniejszy program jest wolnym oprogramowaniem; mo<6D>esz go rozprowadza<7A> dalej i/lub modyfikowa<77> na warunkach Powszechnej Licencji Publicznej GNU, wydanej przez Fundacj<63> Wolnego Oprogramowania - wed<65>ug wersji 2 tej Licencji lub (wed<65>ug twojego wyboru) kt<6B>rej<65> z p<><70>niejszych wersji.\r\n\r\nNiniejszy program rozpowszechniany jest z nadziej<65>, i<> b<>dzie on u<>yteczny - jednak BEZ JAKIEJKOLWIEK GWARANCJI, nawet domy<6D>lnej gwarancji PRZYDATNO<4E>CI HANDLOWEJ albo PRZYDATNO<4E>CI DO OKRE<52>LONYCH ZASTOSOWA<57>. W celu uzyskania bli<6C>szych informacji si<73>gnij do Powszechnej Licencji Publicznej GNU.\r\n\r\nZ pewno<6E>ci<63> wraz z niniejszym programem otrzyma<6D>e<EFBFBD> te<74> egzemplarz Powszechnej Licencji Publicznej GNU (GNU General Public License); je<6A>li nie - napisz do Free Software Foundation, Inc., 59 Temple Place, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&O programie..."
END

View File

@@ -1,37 +0,0 @@
// Russian language resource file (Dmitry Chapyshev, 2007-06-10)
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Character Map"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD> :", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> :", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "Advanced view", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "<22> Character Map"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Character Map v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "&<26> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
END

View File

@@ -1,164 +0,0 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/lrgcell.c
* PURPOSE: large cell window implementation
* COPYRIGHT: Copyright 2007 Ged Murphy <gedmurphy@reactos.org>
*
*/
#include <precomp.h>
static HFONT
SetLrgFont(PMAP infoPtr)
{
LOGFONT lf;
HFONT hFont = NULL;
HDC hdc;
HWND hCombo;
LPTSTR lpFontName;
INT Len;
hCombo = GetDlgItem(infoPtr->hParent,
IDC_FONTCOMBO);
Len = GetWindowTextLength(hCombo);
if (Len != 0)
{
lpFontName = HeapAlloc(GetProcessHeap(),
0,
(Len + 1) * sizeof(TCHAR));
if (lpFontName)
{
SendMessage(hCombo,
WM_GETTEXT,
31,
(LPARAM)lpFontName);
ZeroMemory(&lf,
sizeof(lf));
hdc = GetDC(infoPtr->hLrgWnd);
lf.lfHeight = GetDeviceCaps(hdc,
LOGPIXELSY) / 2;
ReleaseDC(infoPtr->hLrgWnd,
hdc);
lf.lfCharSet = DEFAULT_CHARSET;
lstrcpy(lf.lfFaceName,
lpFontName);
hFont = CreateFontIndirect(&lf);
HeapFree(GetProcessHeap(),
0,
lpFontName);
}
}
return hFont;
}
LRESULT CALLBACK
LrgCellWndProc(HWND hwnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam)
{
PMAP infoPtr;
LRESULT Ret = 0;
static INT cxClient, cyClient;
static RECT rc;
static HFONT hFont = NULL;
infoPtr = (PMAP)GetWindowLongPtr(hwnd,
GWLP_USERDATA);
if (infoPtr == NULL && uMsg != WM_CREATE)
{
goto HandleDefaultMessage;
}
switch (uMsg)
{
case WM_CREATE:
{
infoPtr = (PMAP)(((LPCREATESTRUCT)lParam)->lpCreateParams);
SetWindowLongPtr(hwnd,
GWLP_USERDATA,
(LONG_PTR)infoPtr);
hFont = SetLrgFont(infoPtr);
break;
}
case WM_SIZE:
{
cxClient = LOWORD(lParam);
cyClient = HIWORD(lParam);
rc.left = 0;
rc.top = 0;
rc.right = cxClient;
rc.bottom = cyClient;
break;
}
case WM_PAINT:
{
PAINTSTRUCT ps;
HDC hdc;
HFONT hOldFont;
hdc = BeginPaint(hwnd,
&ps);
Rectangle(hdc,
0,
0,
cxClient,
cyClient);
hOldFont = SelectObject(hdc, hFont);
DrawText(hdc,
&infoPtr->pActiveCell->ch,
1,
&rc,
DT_CENTER | DT_VCENTER | DT_SINGLELINE);
SelectObject(hdc, hOldFont);
EndPaint(hwnd,
&ps);
break;
}
case WM_DESTROY:
{
DeleteObject(hFont);
break;
}
default:
{
HandleDefaultMessage:
Ret = DefWindowProc(hwnd,
uMsg,
wParam,
lParam);
break;
}
}
return Ret;
}

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
name="Win32 Application.default.App"
processorArchitecture="x86"
version="1.0.0.0"
type="win32"/>
<description>ReactOS Character Map</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="x86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

View File

@@ -1,575 +0,0 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/map.c
* PURPOSE: class implementation for painting glyph region
* COPYRIGHT: Copyright 2007 Ged Murphy <gedmurphy@reactos.org>
*
*/
#include <precomp.h>
static const TCHAR szMapWndClass[] = TEXT("FontMapWnd");
static const TCHAR szLrgCellWndClass[] = TEXT("LrgCellWnd");
static VOID
TagFontToCell(PCELL pCell,
TCHAR ch)
{
pCell->ch = ch;
}
static VOID
SetGrid(PMAP infoPtr)
{
INT x, y;
for (y = 0; y < YCELLS; y++)
for (x = 0; x < XCELLS; x++)
{
infoPtr->Cells[y][x].CellExt.left = x * infoPtr->CellSize.cx + 1;
infoPtr->Cells[y][x].CellExt.top = y * infoPtr->CellSize.cy + 1;
infoPtr->Cells[y][x].CellExt.right = (x + 1) * infoPtr->CellSize.cx + 2;
infoPtr->Cells[y][x].CellExt.bottom = (y + 1) * infoPtr->CellSize.cy + 2;
CopyRect(&infoPtr->Cells[y][x].CellInt,
&infoPtr->Cells[y][x].CellExt);
InflateRect(&infoPtr->Cells[y][x].CellInt,
-1,
-1);
}
}
static VOID
DrawActiveCell(PMAP infoPtr,
HDC hdc)
{
Rectangle(hdc,
infoPtr->pActiveCell->CellInt.left,
infoPtr->pActiveCell->CellInt.top,
infoPtr->pActiveCell->CellInt.right,
infoPtr->pActiveCell->CellInt.bottom);
}
static VOID
DrawGrid(PMAP infoPtr,
HDC hdc)
{
INT x, y;
for (y = 0; y < YCELLS; y++)
for (x = 0; x < XCELLS; x++)
{
Rectangle(hdc,
infoPtr->Cells[y][x].CellExt.left,
infoPtr->Cells[y][x].CellExt.top,
infoPtr->Cells[y][x].CellExt.right,
infoPtr->Cells[y][x].CellExt.bottom);
}
if (infoPtr->pActiveCell)
DrawActiveCell(infoPtr,
hdc);
}
static VOID
FillGrid(PMAP infoPtr,
HDC hdc)
{
HFONT hOldFont;
TCHAR ch;
INT x, y;
hOldFont = SelectObject(hdc,
infoPtr->hFont);
for (y = 0; y < YCELLS; y++)
for (x = 0; x < XCELLS; x++)
{
ch = (TCHAR)((256 * infoPtr->iPage) + (XCELLS * y) + x);
TagFontToCell(&infoPtr->Cells[y][x], ch);
DrawText(hdc,
&ch,
1,
&infoPtr->Cells[y][x].CellInt,
DT_CENTER | DT_VCENTER | DT_SINGLELINE);
}
SelectObject(hdc,
hOldFont);
}
static BOOL
CreateLargeCell(PMAP infoPtr)
{
RECT rLarge;
CopyRect(&rLarge,
&infoPtr->pActiveCell->CellExt);
MapWindowPoints(infoPtr->hMapWnd,
infoPtr->hParent,
(LPPOINT)&rLarge,
2);
InflateRect(&rLarge,
XLARGE - XCELLS,
YLARGE - YCELLS);
infoPtr->hLrgWnd = CreateWindowEx(0,
szLrgCellWndClass,
NULL,
WS_CHILDWINDOW | WS_VISIBLE,
rLarge.left,
rLarge.top,
rLarge.right - rLarge.left,
rLarge.bottom - rLarge.top,
infoPtr->hParent,
NULL,
hInstance,
infoPtr);
if (!infoPtr->hLrgWnd)
return FALSE;
return TRUE;
}
static VOID
MoveLargeCell(PMAP infoPtr)
{
RECT rLarge;
CopyRect(&rLarge,
&infoPtr->pActiveCell->CellExt);
MapWindowPoints(infoPtr->hMapWnd,
infoPtr->hParent,
(LPPOINT)&rLarge,
2);
InflateRect(&rLarge,
XLARGE - XCELLS,
YLARGE - YCELLS);
MoveWindow(infoPtr->hLrgWnd,
rLarge.left,
rLarge.top,
rLarge.right - rLarge.left,
rLarge.bottom - rLarge.top,
TRUE);
InvalidateRect(infoPtr->hLrgWnd,
NULL,
TRUE);
}
static VOID
SetFont(PMAP infoPtr,
LPTSTR lpFontName)
{
HDC hdc;
if (infoPtr->hFont)
DeleteObject(infoPtr->hFont);
ZeroMemory(&infoPtr->CurrentFont,
sizeof(LOGFONT));
hdc = GetDC(infoPtr->hMapWnd);
infoPtr->CurrentFont.lfHeight = GetDeviceCaps(hdc,
LOGPIXELSY) / 5;
ReleaseDC(infoPtr->hMapWnd, hdc);
infoPtr->CurrentFont.lfCharSet = DEFAULT_CHARSET;
lstrcpy(infoPtr->CurrentFont.lfFaceName,
lpFontName);
infoPtr->hFont = CreateFontIndirect(&infoPtr->CurrentFont);
InvalidateRect(infoPtr->hMapWnd,
NULL,
TRUE);
}
static LRESULT
NotifyParentOfSelection(PMAP infoPtr,
UINT code,
TCHAR ch)
{
LRESULT Ret = 0;
if (infoPtr->hParent != NULL)
{
MAPNOTIFY mnmh;
mnmh.hdr.hwndFrom = infoPtr->hMapWnd;
mnmh.hdr.idFrom = GetWindowLongPtr(infoPtr->hMapWnd,
GWLP_ID);
mnmh.hdr.code = code;
mnmh.ch = ch;
Ret = SendMessage(infoPtr->hParent,
WM_NOTIFY,
(WPARAM)mnmh.hdr.idFrom,
(LPARAM)&mnmh);
}
return Ret;
}
static VOID
OnClick(PMAP infoPtr,
WORD ptx,
WORD pty)
{
POINT pt;
INT x, y;
pt.x = ptx;
pt.y = pty;
for (x = 0; x < XCELLS; x++)
for (y = 0; y < YCELLS; y++)
{
if (PtInRect(&infoPtr->Cells[y][x].CellInt,
pt))
{
/* if the cell is not already active */
if (!infoPtr->Cells[y][x].bActive)
{
/* set previous active cell to inactive */
if (infoPtr->pActiveCell)
{
/* invalidate normal cells, required when
* moving a small active cell via keyboard */
if (!infoPtr->pActiveCell->bLarge)
{
InvalidateRect(infoPtr->hMapWnd,
&infoPtr->pActiveCell->CellInt,
TRUE);
}
infoPtr->pActiveCell->bActive = FALSE;
infoPtr->pActiveCell->bLarge = FALSE;
}
/* set new cell to active */
infoPtr->pActiveCell = &infoPtr->Cells[y][x];
infoPtr->pActiveCell->bActive = TRUE;
infoPtr->pActiveCell->bLarge = TRUE;
if (infoPtr->hLrgWnd)
MoveLargeCell(infoPtr);
else
CreateLargeCell(infoPtr);
}
else
{
/* flick between large and small */
if (infoPtr->pActiveCell->bLarge)
{
DestroyWindow(infoPtr->hLrgWnd);
infoPtr->hLrgWnd = NULL;
}
else
{
CreateLargeCell(infoPtr);
}
infoPtr->pActiveCell->bLarge = (infoPtr->pActiveCell->bLarge) ? FALSE : TRUE;
}
break;
}
}
}
static BOOL
OnCreate(PMAP infoPtr,
HWND hwnd,
HWND hParent)
{
RECT rc;
BOOL Ret = FALSE;
infoPtr = HeapAlloc(GetProcessHeap(),
0,
sizeof(MAP));
if (infoPtr)
{
SetLastError(0);
SetWindowLongPtr(hwnd,
0,
(DWORD_PTR)infoPtr);
if (GetLastError() == 0)
{
ZeroMemory(infoPtr,
sizeof(MAP));
infoPtr->hMapWnd = hwnd;
infoPtr->hParent = hParent;
GetClientRect(hwnd, &rc);
infoPtr->ClientSize.cx = rc.right;
infoPtr->ClientSize.cy = rc.bottom;
infoPtr->CellSize.cx = infoPtr->ClientSize.cx / XCELLS;
infoPtr->CellSize.cy = infoPtr->ClientSize.cy / YCELLS;
infoPtr->pActiveCell = NULL;
SetGrid(infoPtr);
SetScrollRange(hwnd, SB_VERT, 0, 255, FALSE);
SetScrollPos(hwnd, SB_VERT, 0, TRUE);
Ret = TRUE;
}
}
return Ret;
}
static VOID
OnVScroll(PMAP infoPtr,
INT Value,
INT Pos)
{
switch (Value)
{
case SB_LINEUP:
infoPtr->iPage -= 1;
break;
case SB_LINEDOWN:
infoPtr->iPage += 1;
break;
case SB_PAGEUP:
infoPtr->iPage -= 16;
break;
case SB_PAGEDOWN:
infoPtr->iPage += 16;
break;
case SB_THUMBPOSITION:
infoPtr->iPage = Pos;
break;
default:
break;
}
infoPtr->iPage = max(0,
min(infoPtr->iPage,
255));
SetScrollPos(infoPtr->hMapWnd,
SB_VERT,
infoPtr->iPage,
TRUE);
InvalidateRect(infoPtr->hMapWnd,
NULL,
TRUE);
}
static VOID
OnPaint(PMAP infoPtr,
WPARAM wParam)
{
PAINTSTRUCT ps;
HDC hdc;
if (wParam != 0)
{
if (!GetUpdateRect(infoPtr->hMapWnd,
&ps.rcPaint,
TRUE))
{
return;
}
hdc = (HDC)wParam;
}
else
{
hdc = BeginPaint(infoPtr->hMapWnd,
&ps);
if (hdc == NULL)
{
return;
}
}
DrawGrid(infoPtr,
hdc);
FillGrid(infoPtr,
hdc);
if (wParam == 0)
{
EndPaint(infoPtr->hMapWnd,
&ps);
}
}
LRESULT CALLBACK
MapWndProc(HWND hwnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam)
{
PMAP infoPtr;
LRESULT Ret = 0;
infoPtr = (PMAP)GetWindowLongPtr(hwnd,
0);
switch (uMsg)
{
case WM_CREATE:
{
if (!OnCreate(infoPtr,
hwnd,
((LPCREATESTRUCTW)lParam)->hwndParent))
{
return (LRESULT)-1;
}
break;
}
case WM_LBUTTONDOWN:
{
OnClick(infoPtr,
LOWORD(lParam),
HIWORD(lParam));
break;
}
case WM_LBUTTONDBLCLK:
{
NotifyParentOfSelection(infoPtr,
FM_SETCHAR,
infoPtr->pActiveCell->ch);
break;
}
case WM_VSCROLL:
{
OnVScroll(infoPtr,
LOWORD(wParam),
HIWORD(wParam));
break;
}
case FM_SETFONT:
{
LPTSTR lpFontName = (LPTSTR)lParam;
SetFont(infoPtr,
lpFontName);
HeapFree(GetProcessHeap(),
0,
lpFontName);
break;
}
case FM_GETCHAR:
{
if (!infoPtr->pActiveCell) return 0;
return infoPtr->pActiveCell->ch;
}
case WM_PAINT:
{
OnPaint(infoPtr,
wParam);
break;
}
case WM_DESTROY:
{
DeleteObject(infoPtr->hFont);
HeapFree(GetProcessHeap(),
0,
infoPtr);
SetWindowLongPtr(hwnd,
0,
(DWORD_PTR)NULL);
break;
}
default:
{
Ret = DefWindowProc(hwnd,
uMsg,
wParam,
lParam);
break;
}
}
return Ret;
}
BOOL
RegisterMapClasses(HINSTANCE hInstance)
{
WNDCLASS wc = {0};
wc.style = CS_DBLCLKS;
wc.lpfnWndProc = MapWndProc;
wc.cbWndExtra = sizeof(PMAP);
wc.hInstance = hInstance;
wc.hCursor = LoadCursor(NULL,
(LPTSTR)IDC_ARROW);
wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
wc.lpszClassName = szMapWndClass;
if (RegisterClass(&wc))
{
wc.lpfnWndProc = LrgCellWndProc;
wc.cbWndExtra = 0;
wc.lpszClassName = szLrgCellWndClass;
return RegisterClass(&wc) != 0;
}
return FALSE;
}
VOID
UnregisterMapClasses(HINSTANCE hInstance)
{
UnregisterClass(szMapWndClass,
hInstance);
UnregisterClass(szLrgCellWndClass,
hInstance);
}

View File

@@ -1,56 +0,0 @@
#ifndef __CHARMAP_PRECOMP_H
#define __CHARMAP_PRECOMP_H
#include <windows.h>
#include <stdio.h>
#include <tchar.h>
#include <commctrl.h>
#include "resource.h"
#define XCELLS 20
#define YCELLS 10
#define XLARGE 45
#define YLARGE 25
#define FM_SETFONT (WM_USER + 1)
#define FM_GETCHAR (WM_USER + 2)
#define FM_SETCHAR (WM_USER + 3)
extern HINSTANCE hInstance;
typedef struct _CELL
{
RECT CellExt;
RECT CellInt;
BOOL bActive;
BOOL bLarge;
TCHAR ch;
} CELL, *PCELL;
typedef struct _MAP
{
HWND hMapWnd;
HWND hParent;
HWND hLrgWnd;
SIZE ClientSize;
SIZE CellSize;
CELL Cells[YCELLS][XCELLS];
PCELL pActiveCell;
HFONT hFont;
LOGFONT CurrentFont;
INT iPage;
} MAP, *PMAP;
typedef struct {
NMHDR hdr;
TCHAR ch;
} MAPNOTIFY, *LPMAPNOTIFY;
LRESULT CALLBACK LrgCellWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
VOID ShowAboutDlg(HWND hWndParent);
BOOL RegisterMapClasses(HINSTANCE hInstance);
VOID UnregisterMapClasses(HINSTANCE hInstance);
#endif /* __CHARMAP_PRECOMP_H */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -1,19 +0,0 @@
#define IDC_STATIC -1
#define IDI_ICON 100
#define IDD_CHARMAP 200
#define IDD_ABOUTBOX 201
#define IDC_FONTCOMBO 1001
#define IDC_CMHELP 1002
#define IDC_FONTMAP 1003
#define IDC_TEXTBOX 1004
#define IDC_SELECT 1005
#define IDC_COPY 1006
#define IDC_ADVVIEW 1007
#define IDC_DISPLAY 1008
#define IDC_LICENSE_EDIT 1009
#define IDS_LICENSE 1010
#define IDS_ABOUT 1011

View File

@@ -1,16 +0,0 @@
#include <windows.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
1 24 DISCARDABLE "manifest.xml"
IDI_ICON ICON "res/charmap.ico"
#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/pl-PL.rc"
#include "lang/ru-RU.rc"

View File

@@ -1,8 +0,0 @@
<group>
<directory name="find">
<xi:include href="find/find.rbuild" />
</directory>
<directory name="more">
<xi:include href="more/more.rbuild" />
</directory>
</group>

View File

@@ -1,248 +0,0 @@
/* find.c */
/* Copyright (C) 1994-2002, Jim Hall <jhall@freedos.org> */
/* Adapted for ReactOS */
/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* This program locates a string in a text file and prints those lines
* that contain the string. Multiple files are clearly separated.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <io.h>
#include <dos.h>
/* Symbol definition */
#define MAX_STR 1024
/* This function prints out all lines containing a substring. There are some
* conditions that may be passed to the function.
*
* RETURN: If the string was found at least once, returns 1.
* If the string was not found at all, returns 0.
*/
int
find_str (char *sz, FILE *p, int invert_search,
int count_lines, int number_output, int ignore_case)
{
int i, length;
long line_number = 0, total_lines = 0;
char *c, temp_str[MAX_STR], this_line[MAX_STR];
/* Convert to upper if needed */
if (ignore_case)
{
length = strlen (sz);
for (i = 0; i < length; i++)
sz[i] = toupper (sz[i]);
}
/* Scan the file until EOF */
while (fgets (temp_str, MAX_STR, p) != NULL)
{
/* Remove the trailing newline */
length = strlen (temp_str);
if (temp_str[length-1] == '\n')
{
temp_str[length-1] = '\0';
}
/* Increment number of lines */
line_number++;
strcpy (this_line, temp_str);
/* Convert to upper if needed */
if (ignore_case)
{
for (i = 0; i < length; i++)
{
temp_str[i] = toupper (temp_str[i]);
}
}
/* Locate the substring */
/* strstr() returns a pointer to the first occurrence in the
string of the substring */
c = strstr (temp_str, sz);
if ( ((invert_search) ? (c == NULL) : (c != NULL)) )
{
if (!count_lines)
{
if (number_output)
printf ("%ld:", line_number);
/* Print the line of text */
puts (this_line);
}
total_lines++;
} /* long if */
} /* while fgets */
if (count_lines)
{
/* Just show num. lines that contain the string */
printf ("%ld\n", total_lines);
}
/* RETURN: If the string was found at least once, returns 1.
* If the string was not found at all, returns 0.
*/
return (total_lines > 0 ? 1 : 0);
}
/* Show usage */
void
usage (void)
{
fprintf (stderr, "FIND: Prints all lines of a file that contain a string\n");
fprintf (stderr, "FIND [ /C ] [ /I ] [ /N ] [ /V ] \"string\" [ file... ]\n");
fprintf (stderr, " /C Count the number of lines that contain string\n");
fprintf (stderr, " /I Ignore case\n");
fprintf (stderr, " /N Number the displayed lines, starting at 1\n");
fprintf (stderr, " /V Print lines that do not contain the string\n");
}
/* Main program */
int
main (int argc, char **argv)
{
char *opt, *needle = NULL;
int ret = 0;
int invert_search = 0; /* flag to invert the search */
int count_lines = 0; /* flag to whether/not count lines */
int number_output = 0; /* flag to print line numbers */
int ignore_case = 0; /* flag to be case insensitive */
FILE *pfile; /* file pointer */
int hfind; /* search handle */
struct _finddata_t finddata; /* _findfirst, filenext block */
/* Scan the command line */
while ((--argc) && (needle == NULL))
{
if (*(opt = *++argv) == '/')
{
switch (opt[1])
{
case 'c':
case 'C': /* Count */
count_lines = 1;
break;
case 'i':
case 'I': /* Ignore */
ignore_case = 1;
break;
case 'n':
case 'N': /* Number */
number_output = 1;
break;
case 'v':
case 'V': /* Not with */
invert_search = 1;
break;
default:
usage ();
exit (2); /* syntax error .. return error 2 */
break;
}
}
else
{
/* Get the string */
if (needle == NULL)
{
/* Assign the string to find */
needle = *argv;
}
}
}
/* Check for search string */
if (needle == NULL)
{
/* No string? */
usage ();
exit (1);
}
/* Scan the files for the string */
if (argc == 0)
{
ret = find_str (needle, stdin, invert_search, count_lines,
number_output, ignore_case);
}
while (--argc >= 0)
{
hfind = _findfirst (*++argv, &finddata);
if (hfind < 0)
{
/* We were not able to find a file. Display a message and
set the exit status. */
fprintf (stderr, "FIND: %s: No such file\n", *argv);
}
else
{
/* repeat find next file to match the filemask */
do
{
/* We have found a file, so try to open it */
if ((pfile = fopen (finddata.name, "r")) != NULL)
{
printf ("---------------- %s\n", finddata.name);
ret = find_str (needle, pfile, invert_search, count_lines,
number_output, ignore_case);
fclose (pfile);
}
else
{
fprintf (stderr, "FIND: %s: Cannot open file\n",
finddata.name);
}
}
while (_findnext(hfind, &finddata) > 0);
}
_findclose(hfind);
} /* for each argv */
/* RETURN: If the string was found at least once, returns 0.
* If the string was not found at all, returns 1.
* (Note that find_str.c returns the exact opposite values.)
*/
exit ( (ret ? 0 : 1) );
}

View File

@@ -1,8 +0,0 @@
<module name="find" type="win32cui" installbase="system32" installname="find.exe">
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0501</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<file>find.c</file>
<file>find.rc</file>
</module>

View File

@@ -1,6 +0,0 @@
/* $Id$ */
#define REACTOS_STR_FILE_DESCRIPTION "W32 find command\0"
#define REACTOS_STR_INTERNAL_NAME "find\0"
#define REACTOS_STR_ORIGINAL_FILENAME "find.exe\0"
#include <reactos/version.rc>

View File

@@ -1,139 +0,0 @@
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#define rdtscll(val) __asm__ __volatile__ ("rdtsc" : "=A" (val))
const int SELECTMODE = 14;
const int BIGDATA = 10000; // Relying on int = long
const int MHZ = 2160;
int *data;
void SelectionSort(int data[], int left, int right) {
int i, j;
for(i = left; i < right; i++) {
int min = i;
for(j=i+1; j <= right; j++)
if(data[j] < data[min]) min = j;
int temp = data[min];
data[min] = data[i];
data[i] = temp;
}
}
int Partition( int d[], int left, int right)
{
int val =d[left];
int lm = left-1;
int rm = right+1;
for(;;) {
do
rm--;
while (d[rm] > val);
do
lm++;
while( d[lm] < val);
if(lm < rm) {
int tempr = d[rm];
d[rm] = d[lm];
d[lm] = tempr;
}
else
return rm;
}
}
void Quicksort( int d[], int left, int right)
{
if(left < (right-SELECTMODE)) {
int split_pt = Partition(d,left, right);
Quicksort(d, left, split_pt);
Quicksort(d, split_pt+1, right);
}
else SelectionSort(d, left, right);
}
int main(int argc, char* argv[]) {
data = (int*)calloc(BIGDATA,4);
unsigned long int timeStart;
unsigned long int timeReadLoopStart;
unsigned long int timeReadLoopEnd;
unsigned long int timeSortLoopStart;
unsigned long int timeSortLoopEnd;
unsigned long int timeWriteLoopStart;
unsigned long int timeWriteLoopEnd;
unsigned long int timeEnd;
FILE *randfile;
FILE *sortfile;
int i,j,thisInt,dataSize = 0;
long sumUnsorted = 0;
rdtscll(timeStart);
randfile = (argc < 2) ? stdin : fopen(argv[1],"r");
sortfile = (argc < 3) ? stdout : fopen(argv[2],"w");
if (randfile == NULL || sortfile == NULL) {
fprintf(stderr,"Could not open all files.\n");
return 1;
}
rdtscll(timeReadLoopStart);
i = 0;
while (!feof(randfile)) {
fscanf(randfile,"%d",&thisInt);
if (feof(randfile)) { break; }
data[i] = thisInt;
sumUnsorted += thisInt;
//fprintf(stdout,"[%d] Read item: %d\n",i,thisInt);
i++;
if (i >= BIGDATA) {
break;
}
}
fclose(randfile);
dataSize = i;
rdtscll(timeReadLoopEnd);
rdtscll(timeSortLoopStart);
Quicksort(data, 0, dataSize-1);
rdtscll(timeSortLoopEnd);
rdtscll(timeWriteLoopStart);
int last = -1;
for(j = 0; j < dataSize; j++) {
if (data[j] < last) {
fprintf(stderr,"The data is not in order\n");
fprintf(stderr,"Noticed the problem at j = %d\n",j);
fclose(sortfile);
return 1;
} else {
fprintf(sortfile,"%d\n",data[j]);
}
}
fclose(sortfile);
rdtscll(timeWriteLoopEnd);
rdtscll(timeEnd);
fprintf(stdout,"Sorted %d items.\n",dataSize);
fprintf(stdout,"Open Files : %ldt.\n",(long)timeReadLoopStart - (long)timeStart);
fprintf(stdout,"Read Data : %ldt.\n",(long)timeReadLoopEnd - (long)timeReadLoopStart);
fprintf(stdout,"Sort Data : %ldt.\n",(long)timeSortLoopEnd - (long)timeSortLoopStart);
fprintf(stdout,"Write Data : %ldt.\n",(long)timeWriteLoopEnd - (long)timeWriteLoopStart);
fprintf(stdout,"Total Time : %ldt.\n",(long)timeEnd - (long)timeStart);
return 0;
}

View File

@@ -1,9 +0,0 @@
<module name="more" type="win32cui" installbase="system32" installname="more.exe">
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0501</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<library>ntdll</library>
<file>more.c</file>
<file>more.rc</file>
</module>

View File

@@ -1,6 +0,0 @@
/* $Id$ */
#define REACTOS_STR_FILE_DESCRIPTION "W32 more command\0"
#define REACTOS_STR_INTERNAL_NAME "more\0"
#define REACTOS_STR_ORIGINAL_FILENAME "more.exe\0"
#include <reactos/version.rc>

View File

@@ -1,434 +0,0 @@
/*
* ReactOS
* Copyright (C) 2004 ReactOS Team
* Copyright (C) 2004 GkWare e.K.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id$
*
* PROJECT: ReactOS System Control Panel
* FILE: lib/cpl/system/control.c
* PURPOSE: ReactOS System Control Panel
* PROGRAMMER: Gero Kuehn (reactos.filter@gkware.com)
* UPDATE HISTORY:
* 06-13-2004 Created
*/
#include <windows.h>
#include <commctrl.h>
#include <cpl.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <tchar.h>
#include "resource.h"
//#define CONTROL_DEBUG_ENABLE
#ifdef CONTROL_DEBUG_ENABLE
#define CTL_DEBUG(x) dbgprint x
#else
#define CTL_DEBUG(x)
#endif
#define MYWNDCLASS _T("CTLPANELCLASS")
typedef LONG (CALLBACK *CPLAPPLETFUNC)(HWND hwndCPL, UINT uMsg, LPARAM lParam1, LPARAM lParam2);
typedef struct CPLLISTENTRY
{
TCHAR pszPath[MAX_PATH];
HMODULE hDll;
CPLAPPLETFUNC pFunc;
CPLINFO CplInfo;
int nIndex;
} CPLLISTENTRY, *PCPLLISTENTRY;
HWND hListView;
HINSTANCE hInst;
HWND hMainWnd;
DEVMODE pDevMode;
VOID dbgprint(TCHAR *format,...)
{
TCHAR buf[1000];
va_list va;
va_start(va,format);
_vstprintf(buf,format,va);
OutputDebugString(buf);
va_end(va);
}
VOID PopulateCPLList(HWND hLisCtrl)
{
WIN32_FIND_DATA fd;
HANDLE hFind;
TCHAR pszSearchPath[MAX_PATH];
HIMAGELIST hImgListSmall;
HIMAGELIST hImgListLarge;
int ColorDepth;
HMODULE hDll;
CPLAPPLETFUNC pFunc;
TCHAR pszPath[MAX_PATH];
/* Icon drawing mode */
pDevMode.dmSize = sizeof(DEVMODE);
pDevMode.dmDriverExtra = 0;
EnumDisplaySettings(NULL,ENUM_CURRENT_SETTINGS,&pDevMode);
switch (pDevMode.dmBitsPerPel)
{
case 32: ColorDepth = ILC_COLOR32; break;
case 24: ColorDepth = ILC_COLOR24; break;
case 16: ColorDepth = ILC_COLOR16; break;
case 8: ColorDepth = ILC_COLOR8; break;
case 4: ColorDepth = ILC_COLOR4; break;
default: ColorDepth = ILC_COLOR; break;
}
hImgListSmall = ImageList_Create(16,16,ColorDepth | ILC_MASK,5,5);
hImgListLarge = ImageList_Create(32,32,ColorDepth | ILC_MASK,5,5);
GetSystemDirectory(pszSearchPath,MAX_PATH);
_tcscat(pszSearchPath,_T("\\*.cpl"));
hFind = FindFirstFile(pszSearchPath,&fd);
while (hFind != INVALID_HANDLE_VALUE)
{
PCPLLISTENTRY pEntry;
CTL_DEBUG((_T("Found %s\r\n"), fd.cFileName));
_tcscpy(pszPath, pszSearchPath);
*_tcsrchr(pszPath, '\\')=0;
_tcscat(pszPath, _T("\\"));
_tcscat(pszPath, fd.cFileName);
hDll = LoadLibrary(pszPath);
CTL_DEBUG((_T("Handle %08X\r\n"), hDll));
pFunc = (CPLAPPLETFUNC)GetProcAddress(hDll, "CPlApplet");
CTL_DEBUG((_T("CPLFunc %08X\r\n"), pFunc));
if (pFunc && pFunc(hLisCtrl, CPL_INIT, 0, 0))
{
UINT i, uPanelCount;
uPanelCount = (UINT)pFunc(hLisCtrl, CPL_GETCOUNT, 0, 0);
for (i = 0; i < uPanelCount; i++)
{
HICON hIcon;
TCHAR Name[MAX_PATH];
int index;
pEntry = (PCPLLISTENTRY)malloc(sizeof(CPLLISTENTRY));
if (pEntry == NULL)
return;
memset(pEntry, 0, sizeof(CPLLISTENTRY));
pEntry->hDll = hDll;
pEntry->pFunc = pFunc;
_tcscpy(pEntry->pszPath, pszPath);
pEntry->pFunc(hLisCtrl, CPL_INQUIRE, (LPARAM)i, (LPARAM)&pEntry->CplInfo);
hIcon = LoadImage(pEntry->hDll,MAKEINTRESOURCE(pEntry->CplInfo.idIcon),IMAGE_ICON,16,16,LR_DEFAULTCOLOR);
index = ImageList_AddIcon(hImgListSmall,hIcon);
DestroyIcon(hIcon);
hIcon = LoadImage(pEntry->hDll,MAKEINTRESOURCE(pEntry->CplInfo.idIcon),IMAGE_ICON,32,32,LR_DEFAULTCOLOR);
ImageList_AddIcon(hImgListLarge,hIcon);
DestroyIcon(hIcon);
if (LoadString(pEntry->hDll, pEntry->CplInfo.idName, Name, MAX_PATH))
{
LV_ITEM lvi;
memset(&lvi,0x00,sizeof(lvi));
lvi.mask = LVIF_TEXT | LVIF_PARAM | LVIF_STATE | LVIF_IMAGE;
lvi.pszText = Name;
lvi.state = 0;
lvi.iImage = index;
lvi.lParam = (LPARAM)pEntry;
pEntry->nIndex = ListView_InsertItem(hLisCtrl,&lvi);
if (LoadString(pEntry->hDll, pEntry->CplInfo.idInfo, Name, MAX_PATH))
ListView_SetItemText(hLisCtrl, pEntry->nIndex, 1, Name);
}
}
}
if (!FindNextFile(hFind,&fd))
hFind = INVALID_HANDLE_VALUE;
}
(void)ListView_SetImageList(hLisCtrl,hImgListSmall,LVSIL_SMALL);
(void)ListView_SetImageList(hLisCtrl,hImgListLarge,LVSIL_NORMAL);
}
LRESULT CALLBACK MyWindowProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam)
{
switch (uMsg)
{
case WM_CREATE:
{
RECT rect;
LV_COLUMN column;
GetClientRect(hWnd,&rect);
hListView = CreateWindow(WC_LISTVIEW,_T(""),LVS_REPORT | LVS_ALIGNLEFT | LVS_SORTASCENDING | LVS_AUTOARRANGE | LVS_SINGLESEL | WS_VISIBLE | WS_CHILD | WS_TABSTOP,0,0,rect.right ,rect.bottom,hWnd,NULL,hInst,0);
CTL_DEBUG((_T("Listview Window %08X\r\n"),hListView));
memset(&column,0x00,sizeof(column));
column.mask = LVCF_FMT | LVCF_WIDTH | LVCF_SUBITEM | LVCF_TEXT;
column.fmt = LVCFMT_LEFT;
column.cx = (rect.right - rect.left) / 3;
column.iSubItem = 0;
column.pszText = _T("Name");
(void)ListView_InsertColumn(hListView,0,&column);
column.cx = (rect.right - rect.left) - ((rect.right - rect.left) / 3) - 1;
column.iSubItem = 1;
column.pszText = _T("Comment");
(void)ListView_InsertColumn(hListView,1,&column);
PopulateCPLList(hListView);
(void)ListView_SetColumnWidth(hListView,2,LVSCW_AUTOSIZE_USEHEADER);
(void)ListView_Update(hListView,0);
SetFocus(hListView);
}
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
case WM_SIZE:
{
RECT rect;
GetClientRect(hWnd,&rect);
MoveWindow(hListView,0,0,rect.right,rect.bottom,TRUE);
}
break;
case WM_NOTIFY:
{
NMHDR *phdr;
phdr = (NMHDR*)lParam;
switch(phdr->code)
{
case NM_RETURN:
case NM_DBLCLK:
{
int nSelect;
LV_ITEM lvi;
PCPLLISTENTRY pEntry;
nSelect=SendMessage(hListView,LVM_GETNEXTITEM,(WPARAM)-1,LVNI_FOCUSED);
if (nSelect==-1)
{
/* no items */
MessageBox(hWnd,_T("No Items in ListView"),_T("Error"),MB_OK|MB_ICONINFORMATION);
break;
}
CTL_DEBUG((_T("Select %d\r\n"),nSelect));
memset(&lvi,0x00,sizeof(lvi));
lvi.iItem = nSelect;
lvi.mask = LVIF_PARAM;
(void)ListView_GetItem(hListView,&lvi);
pEntry = (PCPLLISTENTRY)lvi.lParam;
CTL_DEBUG((_T("Listview DblClk Entry %08X\r\n"),pEntry));
if (pEntry)
{
CTL_DEBUG((_T("Listview DblClk Entry Func %08X\r\n"),pEntry->pFunc));
}
if (pEntry && pEntry->pFunc)
pEntry->pFunc(hListView,CPL_DBLCLK,pEntry->CplInfo.lData,0);
}
}
}
break;
case WM_COMMAND:
switch (LOWORD(wParam))
{
case IDM_LARGEICONS:
SetWindowLong(hListView,GWL_STYLE,LVS_ICON | LVS_ALIGNLEFT | LVS_AUTOARRANGE | LVS_SINGLESEL | WS_VISIBLE | WS_CHILD|WS_BORDER|WS_TABSTOP);
break;
case IDM_SMALLICONS:
SetWindowLong(hListView,GWL_STYLE,LVS_SMALLICON | LVS_ALIGNLEFT | LVS_AUTOARRANGE | LVS_SINGLESEL | WS_VISIBLE | WS_CHILD|WS_BORDER|WS_TABSTOP);
break;
case IDM_LIST:
SetWindowLong(hListView,GWL_STYLE,LVS_LIST | LVS_ALIGNLEFT | LVS_AUTOARRANGE | LVS_SINGLESEL | WS_VISIBLE | WS_CHILD|WS_BORDER|WS_TABSTOP);
break;
case IDM_DETAILS:
SetWindowLong(hListView,GWL_STYLE,LVS_REPORT | LVS_ALIGNLEFT | LVS_AUTOARRANGE | LVS_SINGLESEL | WS_VISIBLE | WS_CHILD|WS_BORDER|WS_TABSTOP);
break;
case IDM_CLOSE:
DestroyWindow(hWnd);
break;
case IDM_ABOUT:
MessageBox(hWnd,_T("Simple Control Panel (not Shell-namespace based)\rCopyright 2004 GkWare e.K.\rhttp://www.gkware.com\rReleased under the GPL"),_T("About the Control Panel"),MB_OK | MB_ICONINFORMATION);
break;
}
break;
default:
return DefWindowProc(hWnd,uMsg,wParam,lParam);
}
return 0;
}
static INT
RunControlPanelWindow(int nCmdShow)
{
MSG msg;
WNDCLASS wc;
memset(&wc,0x00,sizeof(wc));
wc.hIcon = LoadIcon(hInst,MAKEINTRESOURCE(IDI_MAINICON));
wc.lpszClassName = MYWNDCLASS;
wc.lpszMenuName = _T("MAINMENU");
wc.lpfnWndProc = MyWindowProc;
RegisterClass(&wc);
InitCommonControls();
hMainWnd = CreateWindowEx(WS_EX_CLIENTEDGE,
MYWNDCLASS,
_T("Control Panel"),
WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT,
CW_USEDEFAULT,
CW_USEDEFAULT,
CW_USEDEFAULT,
NULL,
LoadMenu(hInst, MAKEINTRESOURCE(IDM_MAINMENU)),
hInst,
0);
if (!hMainWnd)
{
CTL_DEBUG((_T("Unable to create window\r\n")));
return -1;
}
ShowWindow(hMainWnd, nCmdShow);
while (GetMessage(&msg, 0, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return 0;
}
static INT
RunControlPanel(LPCTSTR lpName, UINT uIndex)
{
CPLINFO CplInfo;
HMODULE hDll;
CPLAPPLETFUNC pFunc;
UINT uPanelCount;
hDll = LoadLibrary(lpName);
if (hDll == 0)
{
return -1;
}
CTL_DEBUG((_T("Handle %08X\r\n"), hDll));
pFunc = (CPLAPPLETFUNC)GetProcAddress(hDll, "CPlApplet");
if (pFunc == NULL)
{
FreeLibrary(hDll);
return -1;
}
CTL_DEBUG((_T("CPLFunc %08X\r\n"), pFunc));
if (!pFunc(NULL, CPL_INIT, 0, 0))
{
FreeLibrary(hDll);
return -1;
}
uPanelCount = (UINT)pFunc(NULL, CPL_GETCOUNT, 0, 0);
if (uIndex >= uPanelCount)
{
FreeLibrary(hDll);
return -1;
}
pFunc(NULL, CPL_INQUIRE, (LPARAM)uIndex, (LPARAM)&CplInfo);
pFunc(NULL, CPL_DBLCLK, CplInfo.lData, 0);
FreeLibrary(hDll);
return 0;
}
int WINAPI
_tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
LPTSTR lpCommandLine;
LPTSTR lpParam;
hInst = hInstance;
CTL_DEBUG((_T("My Control Panel\r\n")));
lpCommandLine = GetCommandLine();
CTL_DEBUG((_T("CommandLine: %s\n"), lpCommandLine));
lpParam = _tcschr(lpCommandLine, _T(' '));
if (lpParam == NULL)
{
/* No argument on the command line */
return RunControlPanelWindow(nCmdShow);
}
lpParam++;
if (_tcsicmp(lpParam, _T("desktop")) == 0)
{
return RunControlPanel(_T("desk.cpl"), 0);
}
else if (_tcsicmp(lpParam, _T("date/time")) == 0)
{
return RunControlPanel(_T("timedate.cpl"), 0);
}
else if (_tcsicmp(lpParam, _T("international")) == 0)
{
return RunControlPanel(_T("intl.cpl"), 0);
}
else if (_tcsicmp(lpParam, _T("mouse")) == 0)
{
return RunControlPanel(_T("main.cpl"), 0);
}
else if (_tcsicmp(lpParam, _T("keyboard")) == 0)
{
return RunControlPanel(_T("main.cpl"), 1);
}
return 0;
}

View File

@@ -1,137 +0,0 @@
# Microsoft Developer Studio Project File - Name="control" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Application" 0x0101
CFG=control - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "control.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "control.mak" CFG="control - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "control - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "control - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "control - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O2 /I "../../../" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x407 /d "NDEBUG"
# ADD RSC /l 0x407 /d "NDEBUG" /d "MS_COMPILER"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib /nologo /subsystem:windows /machine:I386
# Begin Custom Build
TargetDir=.\Release
TargetName=control
InputPath=.\Release\control.exe
InputName=control
SOURCE="$(InputPath)"
"C:\reactos\reactos\$(InputName).EXE" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy $(TargetDir)\$(TargetName).EXE C:\reactos\reactos
# End Custom Build
!ELSEIF "$(CFG)" == "control - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "UNICODE" /D "_UNICODE" /YX /FD /GZ /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x407 /d "_DEBUG"
# ADD RSC /l 0x407 /d "_DEBUG" /d "MS_COMPILER"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# Begin Custom Build
TargetDir=.\Debug
TargetName=control
InputPath=.\Debug\control.exe
InputName=control
SOURCE="$(InputPath)"
"C:\reactos\reactos\$(InputName).EXE" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy $(TargetDir)\$(TargetName).EXE C:\reactos\reactos
# End Custom Build
!ENDIF
# Begin Target
# Name "control - Win32 Release"
# Name "control - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=.\control.c
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# Begin Source File
SOURCE=.\config.ico
# End Source File
# Begin Source File
SOURCE=.\control.rc
# End Source File
# End Group
# End Target
# End Project

View File

@@ -1,29 +0,0 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "control"=.\control.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -1,12 +0,0 @@
<module name="control" type="win32gui" baseaddress="${BASEADDRESS_CONTROL}" installbase="system32" installname="control.exe" unicode="yes">
<include base="control">.</include>
<define name="__REACTOS__" />
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<library>kernel32</library>
<library>user32</library>
<library>comctl32</library>
<file>control.c</file>
<file>control.rc</file>
</module>

View File

@@ -1,28 +0,0 @@
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#include <reactos/resource.h>
#include <windows.h>
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS System Control Panel\0"
#define REACTOS_STR_INTERNAL_NAME "control\0"
#define REACTOS_STR_ORIGINAL_FILENAME "control.exe\0"
#ifndef MS_COMPILER
#include <reactos/version.rc>
#else
#include <../../../include/reactos/version.rc>
#endif
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_MAINICON ICON DISCARDABLE "resources/config.ico"
/////////////////////////////////////////////////////////////////////////////
#include "rsrc.rc"

View File

@@ -1,28 +0,0 @@
// Czech language resource file (potapnik, 2005-04-30)
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Soubor"
BEGIN
MENUITEM "&Zav<61><76>t", IDM_CLOSE
END
POPUP "&Zobrazen<65>"
BEGIN
MENUITEM "&Velk<6C> ikony", IDM_LARGEICONS
MENUITEM "&Mal<61> ikony", IDM_SMALLICONS
MENUITEM "&Seznam", IDM_LIST
MENUITEM "&Detaily", IDM_DETAILS
END
POPUP "&N<>pov<6F>da"
BEGIN
MENUITEM "&O aplikaci...", IDM_ABOUT
END
END

View File

@@ -1,26 +0,0 @@
// Danish language resource file (Thomas Larsen, 2005-03-11)
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Fil"
BEGIN
MENUITEM "&Luk", IDM_CLOSE
END
POPUP "&Vis"
BEGIN
MENUITEM "Store Ikoner", IDM_LARGEICONS
MENUITEM "Sm<53> Ikoner", IDM_SMALLICONS
MENUITEM "Liste", IDM_LIST
MENUITEM "Detaljer", IDM_DETAILS
END
POPUP "Hj<48>lp"
BEGIN
MENUITEM "Om", IDM_ABOUT
END
END

View File

@@ -1,28 +0,0 @@
// German language resource file (frik85, 2005-03-08)
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Datei"
BEGIN
MENUITEM "&Beenden", IDM_CLOSE
END
POPUP "&Ansicht"
BEGIN
MENUITEM "Gro<72>e Symbole", IDM_LARGEICONS
MENUITEM "Kleine Symbole", IDM_SMALLICONS
MENUITEM "Liste", IDM_LIST
MENUITEM "Details", IDM_DETAILS
END
POPUP "&?"
BEGIN
MENUITEM "Inf&o", IDM_ABOUT
END
END

View File

@@ -1,28 +0,0 @@
// Greek language resource file (Dj_Apal<61>, 2005-11-14)
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_CLOSE
END
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_LARGEICONS
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_SMALLICONS
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_LIST
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_DETAILS
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_ABOUT
END
END

View File

@@ -1,28 +0,0 @@
// English language resource file (frik85, 2005-03-08)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Close", IDM_CLOSE
END
POPUP "&View"
BEGIN
MENUITEM "Large Icons", IDM_LARGEICONS
MENUITEM "Small Icons", IDM_SMALLICONS
MENUITEM "List", IDM_LIST
MENUITEM "Details", IDM_DETAILS
END
POPUP "Help"
BEGIN
MENUITEM "About", IDM_ABOUT
END
END

View File

@@ -1,32 +0,0 @@
/*
*Spanish Language resource file
*ReactOs (c) 2005 Samuel Serapi<70>n Vega
*/
LANGUAGE LANG_SPANISH, SUBLANG_SPANISH_MODERN
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Archivo"
BEGIN
MENUITEM "&Cerrar", IDM_CLOSE
END
POPUP "&View"
BEGIN
MENUITEM "Iconos Grandes", IDM_LARGEICONS
MENUITEM "Iconos Peque<75>os", IDM_SMALLICONS
MENUITEM "Lista", IDM_LIST
MENUITEM "Detalles", IDM_DETAILS
END
POPUP "Ayuda"
BEGIN
MENUITEM "Sobre", IDM_ABOUT
END
END

View File

@@ -1,28 +0,0 @@
// English language resource file (frik85, 2005-03-08)
LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Tiedosto"
BEGIN
MENUITEM "&Sulje", IDM_CLOSE
END
POPUP "&N<>yt<79>"
BEGIN
MENUITEM "Suuret kuvakkeet", IDM_LARGEICONS
MENUITEM "Pienet kuvakkeet", IDM_SMALLICONS
MENUITEM "Luettelo", IDM_LIST
MENUITEM "Tiedot", IDM_DETAILS
END
POPUP "Ohje"
BEGIN
MENUITEM "Tietoja", IDM_ABOUT
END
END

View File

@@ -1,28 +0,0 @@
// French language resource file (Heis Spiter, 2006-11-28)
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Fichier"
BEGIN
MENUITEM "&Fermer", IDM_CLOSE
END
POPUP "&Affichage"
BEGIN
MENUITEM "Grandes Ic<49>nes", IDM_LARGEICONS
MENUITEM "Petites Ic<49>nes", IDM_SMALLICONS
MENUITEM "Liste", IDM_LIST
MENUITEM "D<>tails", IDM_DETAILS
END
POPUP "Aide"
BEGIN
MENUITEM "<22> propos", IDM_ABOUT
END
END

View File

@@ -1,28 +0,0 @@
// Hungarian language resource file (talley, 2005-10-12)
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&F<>jl"
BEGIN
MENUITEM "&Bez<65>r<EFBFBD>s", IDM_CLOSE
END
POPUP "&N<>zet"
BEGIN
MENUITEM "Nagy ikonok", IDM_LARGEICONS
MENUITEM "Kis ikonok", IDM_SMALLICONS
MENUITEM "Lista", IDM_LIST
MENUITEM "R<>szletek", IDM_DETAILS
END
POPUP "S<>g<EFBFBD>"
BEGIN
MENUITEM "N<>vjegy", IDM_ABOUT
END
END

View File

@@ -1,28 +0,0 @@
// Indonesian language resource file (adezm, 2007-02-15)
LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Tutup", IDM_CLOSE
END
POPUP "&Lihat"
BEGIN
MENUITEM "Ikon Besar", IDM_LARGEICONS
MENUITEM "Ikon Kecil", IDM_SMALLICONS
MENUITEM "Daftar", IDM_LIST
MENUITEM "Detil", IDM_DETAILS
END
POPUP "Bantuan"
BEGIN
MENUITEM "Tentang", IDM_ABOUT
END
END

View File

@@ -1,28 +0,0 @@
// Italian language resource file Gabriel ilardi, september 4th 2006
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "C&hiudi", IDM_CLOSE
END
POPUP "&Visualizza"
BEGIN
MENUITEM "Titoli", IDM_LARGEICONS
MENUITEM "Icone", IDM_SMALLICONS
MENUITEM "Elenco", IDM_LIST
MENUITEM "Dettagli", IDM_DETAILS
END
POPUP "?"
BEGIN
MENUITEM "Informazioni", IDM_ABOUT
END
END

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