Commit graph

29530 commits

Author SHA1 Message Date
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