Dmitry Chapyshev [Wed, 6 Feb 2008 15:29:45 +0000 (15:29 +0000)]
- Fix formatting for ras.h, rasdlg.h and rasapi.h
- Add raseapif.h header file
svn path=/trunk/; revision=32160
Dmitry Chapyshev [Wed, 6 Feb 2008 15:23:40 +0000 (15:23 +0000)]
- Import tapi32.dll from Wine
- Add more defines and structures to tapi.h
- Add tapi32 to bootcd
svn path=/trunk/; revision=32159
Daniel Reimer [Wed, 6 Feb 2008 12:20:34 +0000 (12:20 +0000)]
Update German RC File
svn path=/trunk/; revision=32158
Dmitry Chapyshev [Wed, 6 Feb 2008 11:36:37 +0000 (11:36 +0000)]
- Add more dialogs
- Add disable all controls functions
- Add icons
svn path=/trunk/; revision=32157
Hervé Poussineau [Wed, 6 Feb 2008 10:37:21 +0000 (10:37 +0000)]
Fix typo
svn path=/trunk/; revision=32155
Ged Murphy [Wed, 6 Feb 2008 10:34:03 +0000 (10:34 +0000)]
fix indentation
svn path=/trunk/; revision=32154
Aleksey Bragin [Wed, 6 Feb 2008 09:46:38 +0000 (09:46 +0000)]
- 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
ReactOS Portable Systems Group [Wed, 6 Feb 2008 07:32:47 +0000 (07:32 +0000)]
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
ReactOS Portable Systems Group [Wed, 6 Feb 2008 07:19:13 +0000 (07:19 +0000)]
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
Timo Kreuzer [Wed, 6 Feb 2008 05:09:26 +0000 (05:09 +0000)]
- use intrinsic interlocked functions
- add a function to get a full stackbacktrace including usermode
svn path=/trunk/; revision=32149
ReactOS Portable Systems Group [Wed, 6 Feb 2008 04:48:22 +0000 (04:48 +0000)]
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
Timo Kreuzer [Wed, 6 Feb 2008 04:01:02 +0000 (04:01 +0000)]
Windows doesn't store a hbrBack, when creating a window
svn path=/trunk/; revision=32147
Timo Kreuzer [Wed, 6 Feb 2008 00:43:15 +0000 (00:43 +0000)]
use syscolor brush for menu background, fixes a brush leak.
svn path=/trunk/; revision=32146
Colin Finck [Tue, 5 Feb 2008 19:31:05 +0000 (19:31 +0000)]
- 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
Dmitry Chapyshev [Tue, 5 Feb 2008 19:27:03 +0000 (19:27 +0000)]
- Fix typo
svn path=/trunk/; revision=32144
Colin Finck [Tue, 5 Feb 2008 19:22:14 +0000 (19:22 +0000)]
Fix the usetup text screen (broken in r32135)
svn path=/trunk/; revision=32143
Daniel Reimer [Tue, 5 Feb 2008 17:00:30 +0000 (17:00 +0000)]
Move and rename all rc files of rosapps according to our standards.
svn path=/trunk/; revision=32142
Daniel Reimer [Tue, 5 Feb 2008 16:33:47 +0000 (16:33 +0000)]
Fix whatever TortoiseSVN made wrong here again... Build fixed
svn path=/trunk/; revision=32141
Daniel Reimer [Tue, 5 Feb 2008 15:50:59 +0000 (15:50 +0000)]
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
Colin Finck [Tue, 5 Feb 2008 15:31:12 +0000 (15:31 +0000)]
- 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
Colin Finck [Tue, 5 Feb 2008 15:12:35 +0000 (15:12 +0000)]
- 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
Dmitry Chapyshev [Tue, 5 Feb 2008 14:50:02 +0000 (14:50 +0000)]
- Add Russian translation
- Move application title to resources
svn path=/trunk/; revision=32137
ReactOS Portable Systems Group [Tue, 5 Feb 2008 11:15:59 +0000 (11:15 +0000)]
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
ReactOS Portable Systems Group [Tue, 5 Feb 2008 11:13:17 +0000 (11:13 +0000)]
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
ReactOS Portable Systems Group [Tue, 5 Feb 2008 11:08:34 +0000 (11:08 +0000)]
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
Gregor Brunmar [Tue, 5 Feb 2008 06:37:48 +0000 (06:37 +0000)]
Fixed an infinite loop in IDirect3D::GetAdapterIdentifier()
svn path=/trunk/; revision=32133
ReactOS Portable Systems Group [Tue, 5 Feb 2008 03:06:20 +0000 (03:06 +0000)]
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
ReactOS Portable Systems Group [Tue, 5 Feb 2008 02:58:28 +0000 (02:58 +0000)]
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
ReactOS Portable Systems Group [Tue, 5 Feb 2008 02:40:08 +0000 (02:40 +0000)]
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
ReactOS Portable Systems Group [Tue, 5 Feb 2008 01:39:22 +0000 (01:39 +0000)]
--- 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
ReactOS Portable Systems Group [Tue, 5 Feb 2008 01:29:49 +0000 (01:29 +0000)]
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
Colin Finck [Mon, 4 Feb 2008 22:48:42 +0000 (22:48 +0000)]
- 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
Christoph von Wittich [Mon, 4 Feb 2008 22:41:09 +0000 (22:41 +0000)]
always return Request->Status;
svn path=/trunk/; revision=32126
Johannes Anderwald [Mon, 4 Feb 2008 22:33:21 +0000 (22:33 +0000)]
- remove unused members
svn path=/trunk/; revision=32125
Johannes Anderwald [Mon, 4 Feb 2008 22:32:37 +0000 (22:32 +0000)]
- fix error status
svn path=/trunk/; revision=32124
Christoph von Wittich [Mon, 4 Feb 2008 22:11:56 +0000 (22:11 +0000)]
return 0 when type is DWORD
remove unused alias struct
svn path=/trunk/; revision=32123
Gregor Brunmar [Mon, 4 Feb 2008 21:33:12 +0000 (21:33 +0000)]
* Implemented IDirect3D9's GetAdapterCount() and GetAdapterIdentifier()
* Made d3d9.dll compile with MSVC
svn path=/trunk/; revision=32122
Johannes Anderwald [Mon, 4 Feb 2008 21:24:09 +0000 (21:24 +0000)]
- insert new entry when required
- check for null
svn path=/trunk/; revision=32121
Aleksey Bragin [Mon, 4 Feb 2008 20:27:43 +0000 (20:27 +0000)]
- 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
Johannes Anderwald [Mon, 4 Feb 2008 18:58:46 +0000 (18:58 +0000)]
- rename member
svn path=/trunk/; revision=32119
Johannes Anderwald [Mon, 4 Feb 2008 18:58:17 +0000 (18:58 +0000)]
- call csrss for Console alias related functions
svn path=/trunk/; revision=32118
Johannes Anderwald [Mon, 4 Feb 2008 18:57:19 +0000 (18:57 +0000)]
- implement GetConsoleAlias* AddConsoleAlias function in csrss
-
svn path=/trunk/; revision=32117
Aleksey Bragin [Mon, 4 Feb 2008 17:10:01 +0000 (17:10 +0000)]
- Add missing registry values.
svn path=/trunk/; revision=32116
Johannes Anderwald [Mon, 4 Feb 2008 15:06:09 +0000 (15:06 +0000)]
- add api message structs / constants for doskey
svn path=/trunk/; revision=32115
Aleksey Bragin [Mon, 4 Feb 2008 13:15:01 +0000 (13:15 +0000)]
- Sync RPC headers with Wine.
svn path=/trunk/; revision=32114
Aleksey Bragin [Mon, 4 Feb 2008 10:45:55 +0000 (10:45 +0000)]
- 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
Aleksey Bragin [Mon, 4 Feb 2008 09:37:59 +0000 (09:37 +0000)]
- Make other filesystems use the new heap mm routines.
svn path=/trunk/; revision=32112
Timo Kreuzer [Mon, 4 Feb 2008 03:31:09 +0000 (03:31 +0000)]
- 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
Timo Kreuzer [Mon, 4 Feb 2008 03:22:27 +0000 (03:22 +0000)]
- 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
Timo Kreuzer [Mon, 4 Feb 2008 03:17:37 +0000 (03:17 +0000)]
- 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
Aleksey Bragin [Sun, 3 Feb 2008 21:47:35 +0000 (21:47 +0000)]
- Revert 32105 to make trunk bootable, as agreed with Colin.
svn path=/trunk/; revision=32108
Aleksey Bragin [Sun, 3 Feb 2008 18:51:48 +0000 (18:51 +0000)]
- Make caching enable/disable a runtime switch instead of a compile time one.
svn path=/trunk/; revision=32107
Timo Kreuzer [Sun, 3 Feb 2008 14:26:52 +0000 (14:26 +0000)]
fix a DC handle leak
svn path=/trunk/; revision=32106
Colin Finck [Sun, 3 Feb 2008 13:53:27 +0000 (13:53 +0000)]
- 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
Colin Finck [Sun, 3 Feb 2008 13:36:10 +0000 (13:36 +0000)]
Get inflib_host to build warning-free
svn path=/trunk/; revision=32104
Colin Finck [Sun, 3 Feb 2008 11:52:42 +0000 (11:52 +0000)]
Finally fix all cabman warnings and the 64-bit build
svn path=/trunk/; revision=32103
Aleksey Bragin [Sun, 3 Feb 2008 11:50:26 +0000 (11:50 +0000)]
- Remove accidentally committed stuff, noticed by Stefan.
svn path=/trunk/; revision=32102
Colin Finck [Sun, 3 Feb 2008 11:23:31 +0000 (11:23 +0000)]
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
Daniel Reimer [Sun, 3 Feb 2008 08:34:44 +0000 (08:34 +0000)]
German Translations by Dark_Shadow@gmx.at
svn path=/trunk/; revision=32100
Daniel Reimer [Sun, 3 Feb 2008 08:21:00 +0000 (08:21 +0000)]
German RC File Updates by (Dark_Shadow@gmx.at)
svn path=/trunk/; revision=32099
Christoph von Wittich [Sat, 2 Feb 2008 22:49:24 +0000 (22:49 +0000)]
build unicode version
svn path=/trunk/; revision=32098
Christoph von Wittich [Sat, 2 Feb 2008 21:52:46 +0000 (21:52 +0000)]
add support for /macrofile (bit hacky - but it should work for RosBE)
svn path=/trunk/; revision=32097
Christoph von Wittich [Sat, 2 Feb 2008 21:32:11 +0000 (21:32 +0000)]
support for adding and deleting macros
doskey macroname=command
doskey macroname=
svn path=/trunk/; revision=32096
Christoph von Wittich [Sat, 2 Feb 2008 21:26:26 +0000 (21:26 +0000)]
add doskey to bootcd
svn path=/trunk/; revision=32095
Christoph von Wittich [Sat, 2 Feb 2008 21:23:38 +0000 (21:23 +0000)]
add doskey (not finished yet)
svn path=/trunk/; revision=32094
Christoph von Wittich [Sat, 2 Feb 2008 21:06:53 +0000 (21:06 +0000)]
rewrote alias handling in cmd for doskey compatibility
implemented AddConsoleAliasA, GetConsoleAliasesLengthA, GetConsoleAliasesLengthW
halfplemented: AddConsoleAliasW, GetConsoleAliasW, GetConsoleAliasesW
svn path=/trunk/; revision=32093
Colin Finck [Sat, 2 Feb 2008 19:21:35 +0000 (19:21 +0000)]
- 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
Aleksey Bragin [Sat, 2 Feb 2008 15:15:41 +0000 (15:15 +0000)]
- Mark APIC's memory as WriteThrough / CacheDisabled.
svn path=/trunk/; revision=32090
Colin Finck [Sat, 2 Feb 2008 14:32:44 +0000 (14:32 +0000)]
- 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
Colin Finck [Sat, 2 Feb 2008 12:05:05 +0000 (12:05 +0000)]
Get it to compile warning-free under MSVC (at /W3)
svn path=/trunk/; revision=32087
Colin Finck [Sat, 2 Feb 2008 11:57:16 +0000 (11:57 +0000)]
[FORMATTING] TABs -> 4 spaces
svn path=/trunk/; revision=32086
Christoph von Wittich [Sat, 2 Feb 2008 11:03:43 +0000 (11:03 +0000)]
display short version info for "ver" as default
use /c, /r or /w to get more details
svn path=/trunk/; revision=32085
Christoph von Wittich [Sat, 2 Feb 2008 10:52:29 +0000 (10:52 +0000)]
move code to the correct position to handle all cases in 'if'
svn path=/trunk/; revision=32084
Christoph von Wittich [Sat, 2 Feb 2008 10:38:37 +0000 (10:38 +0000)]
don't overwrite terminating \0 char
some code cleanup
svn path=/trunk/; revision=32083
Christoph von Wittich [Sat, 2 Feb 2008 09:29:42 +0000 (09:29 +0000)]
fix length calculation for :~
svn path=/trunk/; revision=32082
Christoph von Wittich [Sat, 2 Feb 2008 09:21:22 +0000 (09:21 +0000)]
set correct varNameLen for %~dp0
svn path=/trunk/; revision=32081
Christoph von Wittich [Fri, 1 Feb 2008 23:27:27 +0000 (23:27 +0000)]
fix formatting
svn path=/trunk/; revision=32080
Colin Finck [Fri, 1 Feb 2008 21:40:18 +0000 (21:40 +0000)]
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
Christoph von Wittich [Fri, 1 Feb 2008 21:25:21 +0000 (21:25 +0000)]
fix a problem with length calculation
handle vars with exclamation marks instead of %
like !errorlevel!
svn path=/trunk/; revision=32078
Colin Finck [Fri, 1 Feb 2008 21:22:02 +0000 (21:22 +0000)]
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
Christoph von Wittich [Fri, 1 Feb 2008 20:30:51 +0000 (20:30 +0000)]
ZeroMemory the batchfile path
svn path=/trunk/; revision=32076
Aleksey Bragin [Fri, 1 Feb 2008 18:53:43 +0000 (18:53 +0000)]
- 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
Peter Ward [Fri, 1 Feb 2008 14:15:41 +0000 (14:15 +0000)]
- Make dp0 give the directory the batch was run from instead of the current directory.
svn path=/trunk/; revision=32074
Christoph von Wittich [Fri, 1 Feb 2008 09:49:58 +0000 (09:49 +0000)]
fix a bug in goto
a stubs for setlocal and endlocal (our default is delayed expansion)
svn path=/trunk/; revision=32073
Sebastian Gasiorek [Thu, 31 Jan 2008 23:17:24 +0000 (23:17 +0000)]
Polish resource changes:
- change Wine to ReactOS in "Run" dialog
- insert and translate IDS_RESTART
svn path=/trunk/; revision=32072
Timo Kreuzer [Thu, 31 Jan 2008 21:29:03 +0000 (21:29 +0000)]
fix definitions of WM_MOUSEWHEEL and WM_MOUSELAST
svn path=/trunk/; revision=32071
Christoph von Wittich [Thu, 31 Jan 2008 20:55:05 +0000 (20:55 +0000)]
handle call :Label
fix goto :Label
svn path=/trunk/; revision=32070
Christoph von Wittich [Thu, 31 Jan 2008 19:01:23 +0000 (19:01 +0000)]
handle %dp0
svn path=/trunk/; revision=32069
Christoph von Wittich [Thu, 31 Jan 2008 17:59:02 +0000 (17:59 +0000)]
support else
handle negative values in special envvars
stdin,out,err can't be redirected for windows gui apps
svn path=/trunk/; revision=32068
Christoph von Wittich [Thu, 31 Jan 2008 17:26:57 +0000 (17:26 +0000)]
don't print the new color value when echo is off
svn path=/trunk/; revision=32067
Daniel Reimer [Thu, 31 Jan 2008 16:41:33 +0000 (16:41 +0000)]
Bug 3021: slovak translations of rosapps (kario@szm.sk)
svn path=/trunk/; revision=32066
Christoph von Wittich [Thu, 31 Jan 2008 15:11:25 +0000 (15:11 +0000)]
allow nested (...) blocks (but still no support for else)
svn path=/trunk/; revision=32065
Christoph von Wittich [Thu, 31 Jan 2008 10:35:34 +0000 (10:35 +0000)]
rename it back to matrix.src to get it included on bootcd again
svn path=/trunk/; revision=32064
Christoph von Wittich [Thu, 31 Jan 2008 10:05:02 +0000 (10:05 +0000)]
fix storing and loading registry settings
svn path=/trunk/; revision=32063
Christoph von Wittich [Thu, 31 Jan 2008 09:00:27 +0000 (09:00 +0000)]
don't try to append when there is only one parameter given
See issue #3023 for more details.
svn path=/trunk/; revision=32062
Christoph von Wittich [Thu, 31 Jan 2008 07:33:02 +0000 (07:33 +0000)]
don't draw the standard UI background in minimal mode
some code reduction
svn path=/trunk/; revision=32061
Filip Navara [Wed, 30 Jan 2008 23:04:37 +0000 (23:04 +0000)]
Add NT6 members to the enumerations and structures.
svn path=/trunk/; revision=32060
Daniel Reimer [Wed, 30 Jan 2008 17:59:13 +0000 (17:59 +0000)]
Bug 2993: slovak translation for usetup (kario@szm.sk)
Bug 3020: Ukrainian translation update (temarez@yandex.ru)
svn path=/trunk/; revision=32059
Daniel Reimer [Wed, 30 Jan 2008 17:43:12 +0000 (17:43 +0000)]
Bug 2993: slovak translation for usetup (kario@szm.sk)
Bug 3020: Ukrainian translation update (temarez@yandex.ru)
svn path=/trunk/; revision=32058
Christoph von Wittich [Wed, 30 Jan 2008 17:20:47 +0000 (17:20 +0000)]
disable Search when there is no text
call SearchDialog when SearchNext is called without a string to search for
svn path=/trunk/; revision=32057