reactos.git
15 years agoFix getInterfaceInfoSet so GetInterfaceInfo returns only non-loopback adapters, howev...
Andrew Munger [Sun, 25 Sep 2005 04:55:16 +0000 (04:55 +0000)]
Fix getInterfaceInfoSet so GetInterfaceInfo returns only non-loopback adapters, however, we still return some incorrect info.
Silenced a DPRINT.

svn path=/trunk/; revision=18041

15 years ago1. Moved windows styles pertaining to the edit control to main.h
Nathan Woods [Sun, 25 Sep 2005 00:35:13 +0000 (00:35 +0000)]
1.  Moved windows styles pertaining to the edit control to main.h
2.  Stopped using WS_BORDER on the edit control

svn path=/trunk/; revision=18040

15 years agoFixed property svn:eol-style
Nathan Woods [Sun, 25 Sep 2005 00:12:12 +0000 (00:12 +0000)]
Fixed property svn:eol-style

svn path=/trunk/; revision=18039

15 years agoFix GDB backtrace
Gé van Geldorp [Sun, 25 Sep 2005 00:00:03 +0000 (00:00 +0000)]
Fix GDB backtrace

svn path=/trunk/; revision=18038

15 years agoNotepad enhancements:
Nathan Woods [Sat, 24 Sep 2005 23:45:05 +0000 (23:45 +0000)]
Notepad enhancements:

1.  Added line ending handling, so that Notepad can handle line endings other than CR/LF.  This is specified in a dropdown menu similar to the text encoding.  Consequently, I've moved text handling to a new file, text.c

2.  Implemented the Find command

3.  Changed some dialog titles to be 'Notepad' instead of 'ERROR', in line with how Windows notepad works.

4.  The edit control now has the style ES_NOHIDESEL specified

svn path=/trunk/; revision=18037

15 years agoremoved obsolete goto statement
Thomas Bluemel [Sat, 24 Sep 2005 20:37:53 +0000 (20:37 +0000)]
removed obsolete goto statement

svn path=/trunk/; revision=18036

15 years agoAllow the system process and a process without a parent process to use all cpus on...
Hartmut Birr [Sat, 24 Sep 2005 19:34:54 +0000 (19:34 +0000)]
Allow the system process and a process without a parent process to use all cpus on a smp machine, even if only the boot cpu is running.

svn path=/trunk/; revision=18035

15 years agoThis NtGdiCreateCompatableDC misspelling has annoyed me long enough now
Gé van Geldorp [Sat, 24 Sep 2005 19:30:12 +0000 (19:30 +0000)]
This NtGdiCreateCompatableDC misspelling has annoyed me long enough now

svn path=/trunk/; revision=18034

15 years agoSet the MaximumLength of the returned string in IntGetFullWindowStationName.
Hartmut Birr [Sat, 24 Sep 2005 19:17:00 +0000 (19:17 +0000)]
Set the MaximumLength of the returned string in IntGetFullWindowStationName.

svn path=/trunk/; revision=18033

15 years agoDo also alert the mouse thread in UserAcquireOrReleaseInputOwnership.
Hartmut Birr [Sat, 24 Sep 2005 19:15:24 +0000 (19:15 +0000)]
Do also alert the mouse thread in UserAcquireOrReleaseInputOwnership.

svn path=/trunk/; revision=18032

15 years ago- Moved the definition of REG_NOTIFY_CLASS from cm.h to winddk.h.
Hartmut Birr [Sat, 24 Sep 2005 18:42:37 +0000 (18:42 +0000)]
- Moved the definition of REG_NOTIFY_CLASS from cm.h to winddk.h.
- Release the rundown protection if the callback function returns an error (in CmiCallRegisteredCallbacks).
- Call the registry callback functions in most of the Nt/ZW registry functions.

svn path=/trunk/; revision=18031

15 years ago- Use the given buffer for getting the name of the parent.
Hartmut Birr [Sat, 24 Sep 2005 18:28:04 +0000 (18:28 +0000)]
- Use the given buffer for getting the name of the parent.
- Check the length of the buffer.
- Intialise the name string if it is necessary.

svn path=/trunk/; revision=18030

15 years agoUsed NtQueryFullAttributesFile instead of NtOpenFile/NtQueryInformationFile/NtClose...
Hartmut Birr [Sat, 24 Sep 2005 18:09:06 +0000 (18:09 +0000)]
Used NtQueryFullAttributesFile instead of NtOpenFile/NtQueryInformationFile/NtClose in GetFileAttributesExW (suggested by Thomas Weidenmueller).

svn path=/trunk/; revision=18029

15 years agoMerged the main code from NtQueryAttributesFile and NtQueryFullAttributesFile to...
Hartmut Birr [Sat, 24 Sep 2005 18:04:13 +0000 (18:04 +0000)]
Merged the main code from NtQueryAttributesFile and NtQueryFullAttributesFile to IopQueryAttributesFile.
Check the access to parameters in IopQueryAttributesFile if we are called from user mode because calling Zw functions from kernel mode will bypass all checks.

svn path=/trunk/; revision=18028

15 years agoPort the system message queue WM_MOUSEDOWN coalesce fix from win32k rewrite branch.
Filip Navara [Sat, 24 Sep 2005 17:34:09 +0000 (17:34 +0000)]
Port the system message queue WM_MOUSEDOWN coalesce fix from win32k rewrite branch.

svn path=/trunk/; revision=18027

15 years agoimplemented RegCopyTreeW() (untested!)
Thomas Bluemel [Sat, 24 Sep 2005 17:08:13 +0000 (17:08 +0000)]
implemented RegCopyTreeW() (untested!)

svn path=/trunk/; revision=18026

15 years agoIf device instance id is not unique, prepend information from parent bus device
Hervé Poussineau [Sat, 24 Sep 2005 13:19:25 +0000 (13:19 +0000)]
If device instance id is not unique, prepend information from parent bus device

svn path=/trunk/; revision=18025

15 years agouncomment and add mutex asserts
Gunnar Dalsnes [Sat, 24 Sep 2005 11:43:23 +0000 (11:43 +0000)]
uncomment and add mutex asserts

svn path=/trunk/; revision=18024

15 years ago- Implement CM_Get_Device_List_Size_ExW
Eric Kohl [Sat, 24 Sep 2005 09:30:43 +0000 (09:30 +0000)]
- Implement CM_Get_Device_List_Size_ExW

svn path=/trunk/; revision=18023

15 years ago-include/ndk/rtltypes.h: add MAX_ATOM_LEN define
Gunnar Dalsnes [Sat, 24 Sep 2005 02:50:02 +0000 (02:50 +0000)]
-include/ndk/rtltypes.h: add MAX_ATOM_LEN define
-win32k: remove some NtUser syscalls and merge some NtUser syscalls
-crt/include/internal/file.h: correct spelling
-RtlAddAtomToAtomTable: check for max atom len
-RtlQueryAtomInAtomTable: fix bug. somehow lock wasnt always released.
-fix/reword windows classes impl. based on Wine. All but 2 winetests pass.
-ntoskrnl/rtl/atom.c: add fixme about global atom table
-remove desktop object lock
-dont link windows into the class object
-co_IntShellHookNotify: safely send notify messages
-misc win32k reorg/cleanup

svn path=/trunk/; revision=18022

15 years agoFirst commit, mainly testing.
Ged Murphy [Fri, 23 Sep 2005 21:46:54 +0000 (21:46 +0000)]
First commit, mainly testing.
Cleanup code to follow ROS' coding style better
Remove tabs and trailing whitespace.

svn path=/trunk/; revision=18021

15 years agoFix RtlQueryAtomInAtomTable and add regression tests
Gé van Geldorp [Fri, 23 Sep 2005 21:08:57 +0000 (21:08 +0000)]
Fix RtlQueryAtomInAtomTable and add regression tests

svn path=/trunk/; revision=18020

15 years agoimported shfolder.dll from WINE-20050830
Thomas Bluemel [Fri, 23 Sep 2005 19:24:20 +0000 (19:24 +0000)]
imported shfolder.dll from WINE-20050830

svn path=/trunk/; revision=18019

15 years agofix identation bug in 18016
Alex Ionescu [Fri, 23 Sep 2005 18:15:39 +0000 (18:15 +0000)]
fix identation bug in 18016

svn path=/trunk/; revision=18018

15 years agoFix signalstate check in KGATE code; spotted by magey.
Alex Ionescu [Fri, 23 Sep 2005 16:31:06 +0000 (16:31 +0000)]
Fix signalstate check in KGATE code; spotted by magey.

svn path=/trunk/; revision=18017

15 years ago- Call IsDialogMessage before TranslateAccelerators, so that the accelerator's output...
Alex Ionescu [Fri, 23 Sep 2005 15:46:10 +0000 (15:46 +0000)]
- Call IsDialogMessage before TranslateAccelerators, so that the accelerator's output, if any, appears in the proper window. Patch by Bletch <npwoods@mess.org>. Fixes bug 803.

svn path=/trunk/; revision=18016

15 years ago- Return focus to run dialog after showing the file not found messagebox. Patch by...
Alex Ionescu [Fri, 23 Sep 2005 15:42:40 +0000 (15:42 +0000)]
- Return focus to run dialog after showing the file not found messagebox. Patch by brbak <mpd000@yahoo.de>

svn path=/trunk/; revision=18015

15 years agouse RegGetKeySecurity() directly to read the security information
Thomas Bluemel [Fri, 23 Sep 2005 15:31:42 +0000 (15:31 +0000)]
use RegGetKeySecurity() directly to read the security information

svn path=/trunk/; revision=18014

15 years agodon't read the DACL if it's not present or if it's a NULL-DACL
Thomas Bluemel [Fri, 23 Sep 2005 15:31:04 +0000 (15:31 +0000)]
don't read the DACL if it's not present or if it's a NULL-DACL

svn path=/trunk/; revision=18013

15 years ago- fixed buffer size calculation in RtlLengthRequiredSid and RtlLengthSid
Thomas Bluemel [Fri, 23 Sep 2005 14:15:30 +0000 (14:15 +0000)]
- fixed buffer size calculation in RtlLengthRequiredSid and RtlLengthSid
- use RtlCreateUnicodeString to allocate the string in RtlConvertSidToUnicodeString

svn path=/trunk/; revision=18012

15 years agominor optimization of RtlCreateUnicodeString: as the memory never overlaps, just...
Thomas Bluemel [Fri, 23 Sep 2005 14:13:44 +0000 (14:13 +0000)]
minor optimization of RtlCreateUnicodeString: as the memory never overlaps, just copy the memory instead of moving it

svn path=/trunk/; revision=18011

15 years agofixed signedness warning
Thomas Bluemel [Fri, 23 Sep 2005 11:12:18 +0000 (11:12 +0000)]
fixed signedness warning

svn path=/trunk/; revision=18010

15 years agoRemove dead file
Gé van Geldorp [Fri, 23 Sep 2005 09:51:18 +0000 (09:51 +0000)]
Remove dead file

svn path=/trunk/; revision=18009

15 years agoMake GDB available for release builds
Gé van Geldorp [Fri, 23 Sep 2005 09:23:14 +0000 (09:23 +0000)]
Make GDB available for release builds

svn path=/trunk/; revision=18008

15 years agoDon't use uninitialized var
Gé van Geldorp [Fri, 23 Sep 2005 09:17:38 +0000 (09:17 +0000)]
Don't use uninitialized var

svn path=/trunk/; revision=18007

15 years agoReport correctly USB device class and subclass when the device reports only one inter...
Hervé Poussineau [Fri, 23 Sep 2005 09:02:16 +0000 (09:02 +0000)]
Report correctly USB device class and subclass when the device reports only one interface and the class is not defined in the device descriptor

svn path=/trunk/; revision=18006

15 years agoCast the right pointer to the structure.
Hervé Poussineau [Fri, 23 Sep 2005 08:55:33 +0000 (08:55 +0000)]
Cast the right pointer to the structure.
Fix bug 783. Thanks GvG.

svn path=/trunk/; revision=18005

15 years agodoing my good dead for the day
Steven Edwards [Fri, 23 Sep 2005 07:32:21 +0000 (07:32 +0000)]
doing my good dead for the day

svn path=/trunk/; revision=18004

15 years agoForgot these changes, sorry
Alex Ionescu [Fri, 23 Sep 2005 07:19:47 +0000 (07:19 +0000)]
Forgot these changes, sorry

svn path=/trunk/; revision=18003

15 years ago- Fix a bunch of various bugs in the Rtl String routines, mostly subtle (ie: fail...
Alex Ionescu [Fri, 23 Sep 2005 06:37:14 +0000 (06:37 +0000)]
- Fix a bunch of various bugs in the Rtl String routines, mostly subtle (ie: fail AFTER writing maximum length, not before (some apps might depend on it), fix completely broken RtlAnsiCharToUnicodeChar prototype and functionality, don't clear buffers when we shouldn't/clear buffers when we should...)
- Also cleanup formatting of the file
- Use Index member from Rtl...To...N API when null-terminating the strings.
- Various optimizations and simplifications in some of the loops.
- Remove some duplicated code.
- Notes about special handling where required, also implement it in some parts.
- Add more failure cases.
- Return correct status codes on failures.

svn path=/trunk/; revision=18002

15 years agoMake TAB+ debug combos work again. Based on bugfix by Andrew Munger.
Alex Ionescu [Fri, 23 Sep 2005 06:32:47 +0000 (06:32 +0000)]
Make TAB+ debug combos work again. Based on bugfix by Andrew Munger.

svn path=/trunk/; revision=18001

15 years agoFix exception handling/PSEH. Fixes bug 797.
Alex Ionescu [Fri, 23 Sep 2005 06:25:38 +0000 (06:25 +0000)]
Fix exception handling/PSEH. Fixes bug 797.

svn path=/trunk/; revision=18000

15 years agoStefan Huehner <stefan@huehner.org>
Steven Edwards [Fri, 23 Sep 2005 06:06:20 +0000 (06:06 +0000)]
Stefan Huehner <stefan@huehner.org>
Fix more -Wstrict-prototypes warnings.

svn path=/trunk/; revision=17999

15 years agoDmitry Timoshkov <dmitry@codeweavers.com> Fix the usage of COLOR_xxx constants in...
Steven Edwards [Fri, 23 Sep 2005 06:04:44 +0000 (06:04 +0000)]
Dmitry Timoshkov <dmitry@codeweavers.com> Fix the usage of COLOR_xxx constants in the place of the window's class hbrBackground.

svn path=/trunk/; revision=17998

15 years agoKevin Koltzau <kevin@plop.org> Enable/disable menu items based on edit control state.
Steven Edwards [Fri, 23 Sep 2005 06:02:23 +0000 (06:02 +0000)]
Kevin Koltzau <kevin@plop.org> Enable/disable menu items based on edit control state.

svn path=/trunk/; revision=17997

15 years agoKevin Koltzau <kevin@plop.org> Handle notepad log feature.
Steven Edwards [Fri, 23 Sep 2005 05:58:27 +0000 (05:58 +0000)]
Kevin Koltzau <kevin@plop.org> Handle notepad log feature.

svn path=/trunk/; revision=17996

15 years agoLauri Tulmin <lauri_@ut.ee> implement word wrap
Steven Edwards [Fri, 23 Sep 2005 05:54:46 +0000 (05:54 +0000)]
Lauri Tulmin <lauri_@ut.ee> implement word wrap

svn path=/trunk/; revision=17995

15 years agoProperly return status in iphplapi, and don't close the file handle before we use...
Andrew Munger [Fri, 23 Sep 2005 03:50:03 +0000 (03:50 +0000)]
Properly return status in iphplapi, and don't close the file handle before we use it in getNumInterfacesInt.

svn path=/trunk/; revision=17994

15 years agomark ZwDuplicateToken as NTSYSAPI. thx to alex
Thomas Bluemel [Fri, 23 Sep 2005 00:05:38 +0000 (00:05 +0000)]
mark ZwDuplicateToken as NTSYSAPI. thx to alex

svn path=/trunk/; revision=17993

15 years agosome Nt vs. Zw fixes; these functions shouldn't be used in ntoskrnl but since they...
Thomas Bluemel [Thu, 22 Sep 2005 23:50:38 +0000 (23:50 +0000)]
some Nt vs. Zw fixes; these functions shouldn't be used in ntoskrnl but since they're shared there's a chance they could be used

svn path=/trunk/; revision=17992

15 years agosome Nt vs. Zw fixes; these functions shouldn't be used in ntoskrnl but since they...
Thomas Bluemel [Thu, 22 Sep 2005 23:46:20 +0000 (23:46 +0000)]
some Nt vs. Zw fixes; these functions shouldn't be used in ntoskrnl but since they're shared there's a chance they could be used

svn path=/trunk/; revision=17991

15 years agosome Nt vs. Zw fixes
Thomas Bluemel [Thu, 22 Sep 2005 23:23:00 +0000 (23:23 +0000)]
some Nt vs. Zw fixes

svn path=/trunk/; revision=17990

15 years agofixed gcc4 warning
Thomas Bluemel [Thu, 22 Sep 2005 21:09:06 +0000 (21:09 +0000)]
fixed gcc4 warning

svn path=/trunk/; revision=17989

15 years agoBletch <npwoods@mess.org>:
Gé van Geldorp [Thu, 22 Sep 2005 20:54:20 +0000 (20:54 +0000)]
Bletch <npwoods@mess.org>:
- Implements key and value renaming
- Implements key deleting
- Implements New Key/String/Binary/DWORD option

svn path=/trunk/; revision=17988

15 years agofixed uninitialized variable warning
Thomas Bluemel [Thu, 22 Sep 2005 20:44:10 +0000 (20:44 +0000)]
fixed uninitialized variable warning

svn path=/trunk/; revision=17987

15 years agoHandle some failure cases in better way.
Filip Navara [Thu, 22 Sep 2005 20:36:07 +0000 (20:36 +0000)]
Handle some failure cases in better way.

svn path=/trunk/; revision=17986

15 years agoReturn atom length when requested. Fixes bug 793.
Gé van Geldorp [Thu, 22 Sep 2005 20:24:50 +0000 (20:24 +0000)]
Return atom length when requested. Fixes bug 793.

svn path=/trunk/; revision=17985

15 years agoInfoTdiQueryInformationEx should return failure if no entity was found.
Filip Navara [Thu, 22 Sep 2005 20:17:55 +0000 (20:17 +0000)]
InfoTdiQueryInformationEx should return failure if no entity was found.

svn path=/trunk/; revision=17984

15 years agominor string initialization optimizations
Thomas Bluemel [Thu, 22 Sep 2005 19:46:36 +0000 (19:46 +0000)]
minor string initialization optimizations

svn path=/trunk/; revision=17983

15 years agoadd selected principals to the list (doesn't modify the ACLs yet!)
Thomas Bluemel [Thu, 22 Sep 2005 14:30:29 +0000 (14:30 +0000)]
add selected principals to the list (doesn't modify the ACLs yet!)

svn path=/trunk/; revision=17982

15 years agoFix IRP_MJ_PNP / IRP_MN_QUERY_ID / BusQueryHardwareIDs for root USB hubs.
Hervé Poussineau [Thu, 22 Sep 2005 11:20:52 +0000 (11:20 +0000)]
Fix IRP_MJ_PNP / IRP_MN_QUERY_ID / BusQueryHardwareIDs for root USB hubs.
The vendor and device IDs are not filled in Cromwell code, so ask directly the PCI device to retrieve the information

svn path=/trunk/; revision=17981

15 years agoFix IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_TEXT / DeviceTextLocationInformation for USB...
Hervé Poussineau [Thu, 22 Sep 2005 09:17:17 +0000 (09:17 +0000)]
Fix IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_TEXT / DeviceTextLocationInformation for USB devices
I was mis-using usb_get_string() method...

svn path=/trunk/; revision=17980

15 years agoSlicencium <silencium@wanadoo.es>:
Gé van Geldorp [Thu, 22 Sep 2005 07:24:08 +0000 (07:24 +0000)]
Slicencium <silencium@wanadoo.es>:
Fix precision bug (bug 775)

svn path=/trunk/; revision=17979

15 years agofixed some handle leaks in RegDeleteTree() in some failure cases
Thomas Bluemel [Wed, 21 Sep 2005 23:56:52 +0000 (23:56 +0000)]
fixed some handle leaks in RegDeleteTree() in some failure cases

svn path=/trunk/; revision=17978

15 years agobrbak <mpd000@yahoo.de>:
Gé van Geldorp [Wed, 21 Sep 2005 22:55:37 +0000 (22:55 +0000)]
brbak <mpd000@yahoo.de>:
Reset on new calculation. Patch from bug 775.

svn path=/trunk/; revision=17977

15 years agobrbak <mpd000@yahoo.de>:
Gé van Geldorp [Wed, 21 Sep 2005 22:48:52 +0000 (22:48 +0000)]
brbak <mpd000@yahoo.de>:
fixes repositioning of text (from bug 749)

svn path=/trunk/; revision=17976

15 years ago- Do only create a registry entry for partitions if the signature of the disk is...
Hartmut Birr [Wed, 21 Sep 2005 22:16:17 +0000 (22:16 +0000)]
- Do only create a registry entry for partitions if the signature of the disk is non zero.
- Do only mount partitions from a registry key if the signature is non zero.
- Do delete all registry keys for non existing partitions.

svn path=/trunk/; revision=17975

15 years ago- use size_t for buffer/string lengths instead of int
Martin Fuchs [Wed, 21 Sep 2005 21:54:52 +0000 (21:54 +0000)]
- use size_t for buffer/string lengths instead of int
- define COUNTOF if not defined already

svn path=/trunk/; revision=17974

15 years ago- Bugfix for UTF-8 strings
Martin Fuchs [Wed, 21 Sep 2005 21:44:39 +0000 (21:44 +0000)]
- Bugfix for UTF-8 strings
- insert more XS_vsnprintf() calls
- additional comments
- struct XMLWriter

svn path=/trunk/; revision=17973

15 years agofixed some mismatching prototypes, sorry for breaking the build
Thomas Bluemel [Wed, 21 Sep 2005 18:24:16 +0000 (18:24 +0000)]
fixed some mismatching prototypes, sorry for breaking the build

svn path=/trunk/; revision=17972

15 years agosome arc names might be longer than 100 characters, increase the buffer size to 255...
Thomas Bluemel [Wed, 21 Sep 2005 17:57:07 +0000 (17:57 +0000)]
some arc names might be longer than 100 characters, increase the buffer size to 255 characters for now to fix a buffer overflow during startup

svn path=/trunk/; revision=17971

15 years agofixed differences in signedness warnings
Thomas Bluemel [Wed, 21 Sep 2005 17:37:08 +0000 (17:37 +0000)]
fixed differences in signedness warnings

svn path=/trunk/; revision=17970

15 years agoadd missing function declarations
Thomas Bluemel [Wed, 21 Sep 2005 17:28:14 +0000 (17:28 +0000)]
add missing function declarations

svn path=/trunk/; revision=17969

15 years agopass the buffer size to GetEnvironmentVariable() in characters, not bytes!
Thomas Bluemel [Wed, 21 Sep 2005 17:23:27 +0000 (17:23 +0000)]
pass the buffer size to GetEnvironmentVariable() in characters, not bytes!

svn path=/trunk/; revision=17968

15 years agofixed some warnings
Thomas Bluemel [Wed, 21 Sep 2005 17:22:45 +0000 (17:22 +0000)]
fixed some warnings

svn path=/trunk/; revision=17967

15 years ago-small test commit
Richard Campbell [Wed, 21 Sep 2005 17:09:33 +0000 (17:09 +0000)]
-small test commit

svn path=/trunk/; revision=17966

15 years agofixed differences in signedness warnings
Thomas Bluemel [Wed, 21 Sep 2005 15:32:53 +0000 (15:32 +0000)]
fixed differences in signedness warnings

svn path=/trunk/; revision=17965

15 years agoIndentation fix.
Filip Navara [Wed, 21 Sep 2005 14:01:49 +0000 (14:01 +0000)]
Indentation fix.

svn path=/trunk/; revision=17964

15 years agoIncomplete support for WS_EX_TRANSPARENT, should fix Task Manager painting bugs.
Filip Navara [Wed, 21 Sep 2005 13:49:09 +0000 (13:49 +0000)]
Incomplete support for WS_EX_TRANSPARENT, should fix Task Manager painting bugs.

svn path=/trunk/; revision=17963

15 years agoNathan Woods <npwoods _NOSPAM_at_NOSPAM cybercom.net> - Implement a working VS.NET...
Steven Edwards [Wed, 21 Sep 2005 03:20:07 +0000 (03:20 +0000)]
Nathan Woods <npwoods _NOSPAM_at_NOSPAM cybercom.net> - Implement a working VS.NET backend, minor fixes to the vc6 backend

svn path=/trunk/; revision=17962

15 years agoremove extraneous \n's
Royce Mitchell III [Wed, 21 Sep 2005 02:04:07 +0000 (02:04 +0000)]
remove extraneous \n's

svn path=/trunk/; revision=17961

15 years agogive set/a access to "special" variables like errorlevel
Royce Mitchell III [Wed, 21 Sep 2005 01:44:18 +0000 (01:44 +0000)]
give set/a access to "special" variables like errorlevel

svn path=/trunk/; revision=17960

15 years agomsvc6 warning fix
Royce Mitchell III [Wed, 21 Sep 2005 01:27:54 +0000 (01:27 +0000)]
msvc6 warning fix

svn path=/trunk/; revision=17959

15 years agoalways strip '^' (unless it was preceded by an '^' itself), not just if it precedes...
Royce Mitchell III [Wed, 21 Sep 2005 01:27:22 +0000 (01:27 +0000)]
always strip '^' (unless it was preceded by an '^' itself), not just if it precedes the redirection symbols - fixes some of my test cases in seta_test.cmd

svn path=/trunk/; revision=17958

15 years agofix debug output
Royce Mitchell III [Wed, 21 Sep 2005 01:25:58 +0000 (01:25 +0000)]
fix debug output
remove my '!' code - don't know how I thought this was valid
restore part of code I removed previously that was breaking 'not' cases that need to execute and the right half of the == was longer than then left

svn path=/trunk/; revision=17957

15 years agoa few more tests to clarify parsing oddities based on my playing around
Royce Mitchell III [Wed, 21 Sep 2005 01:23:44 +0000 (01:23 +0000)]
a few more tests to clarify parsing oddities based on my playing around

svn path=/trunk/; revision=17956

15 years ago%1 %2 etc still work with set/a ( just not %foo% )
Royce Mitchell III [Wed, 21 Sep 2005 01:22:56 +0000 (01:22 +0000)]
%1 %2 etc still work with set/a ( just not %foo% )

svn path=/trunk/; revision=17955

15 years agofix misunderstandings of if syntax
Royce Mitchell III [Tue, 20 Sep 2005 20:43:15 +0000 (20:43 +0000)]
fix misunderstandings of if syntax

svn path=/trunk/; revision=17954

15 years agofix escape removal
Royce Mitchell III [Tue, 20 Sep 2005 20:32:48 +0000 (20:32 +0000)]
fix escape removal

svn path=/trunk/; revision=17953

15 years agoremove now-pointless if statement
Royce Mitchell III [Tue, 20 Sep 2005 20:13:16 +0000 (20:13 +0000)]
remove now-pointless if statement
add a little more debug output

svn path=/trunk/; revision=17952

15 years ago- fix build for MinGW and VC++ environments
Martin Fuchs [Tue, 20 Sep 2005 19:51:27 +0000 (19:51 +0000)]
- fix build for MinGW and VC++ environments
- fix Manifest descriptions
- ignore some immediate files

svn path=/trunk/; revision=17951

15 years agounrevert change - this change is correct and works in windows
Royce Mitchell III [Tue, 20 Sep 2005 19:27:08 +0000 (19:27 +0000)]
unrevert change - this change is correct and works in windows

svn path=/trunk/; revision=17950

15 years agoRevert royce3 change from 17948 to 16488 it break choice in bat files, in some case.
Magnus Olsen [Tue, 20 Sep 2005 18:11:55 +0000 (18:11 +0000)]
Revert royce3 change from 17948 to 16488 it break choice in bat files, in some case.

svn path=/trunk/; revision=17949

15 years agocmd's documentation says that env variables override the "built-ins" like %errorlevel...
Royce Mitchell III [Tue, 20 Sep 2005 16:38:02 +0000 (16:38 +0000)]
cmd's documentation says that env variables override the "built-ins" like %errorlevel% and such.
also fixed a couple msvc6 warnings and added a little documentation to the set/a code

svn path=/trunk/; revision=17948

15 years agoRestore the pre-r17946 UserGetAncestor behaviour and fix the code calling it.
Filip Navara [Tue, 20 Sep 2005 10:45:27 +0000 (10:45 +0000)]
Restore the pre-r17946 UserGetAncestor behaviour and fix the code calling it.

svn path=/trunk/; revision=17947

15 years ago- SetParent shouldn't destroy menus.
Filip Navara [Tue, 20 Sep 2005 10:31:57 +0000 (10:31 +0000)]
- SetParent shouldn't destroy menus.
- UserGetAncestor(Window, GA_ROOT) really shouldn't return NULL, in any case.

svn path=/trunk/; revision=17946

15 years agoDon't return NULL regions from DceGetVisRgn.
Filip Navara [Tue, 20 Sep 2005 10:29:05 +0000 (10:29 +0000)]
Don't return NULL regions from DceGetVisRgn.

svn path=/trunk/; revision=17945

15 years agoFix parameter validation in WM_GETTEXT and GetWindowText.
Filip Navara [Tue, 20 Sep 2005 09:31:13 +0000 (09:31 +0000)]
Fix parameter validation in WM_GETTEXT and GetWindowText.

svn path=/trunk/; revision=17944

15 years agoSupport GCW_ATOM in GetClassLong.
Filip Navara [Tue, 20 Sep 2005 09:28:49 +0000 (09:28 +0000)]
Support GCW_ATOM in GetClassLong.

svn path=/trunk/; revision=17943

15 years agoFix the order of window style setting.
Filip Navara [Tue, 20 Sep 2005 09:28:18 +0000 (09:28 +0000)]
Fix the order of window style setting.

svn path=/trunk/; revision=17942