reactos.git
17 years agoA correct check, finally.
Aleksey Bragin [Thu, 14 Dec 2006 13:22:55 +0000 (13:22 +0000)]
A correct check, finally.

svn path=/trunk/; revision=25161

17 years agoGreyGhost: Fixing typos.
Aleksey Bragin [Thu, 14 Dec 2006 12:51:16 +0000 (12:51 +0000)]
GreyGhost: Fixing typos.

svn path=/trunk/; revision=25160

17 years agorevers 25135 for it is incorrect change, do ask before change any code in win32k...
Magnus Olsen [Thu, 14 Dec 2006 12:49:19 +0000 (12:49 +0000)]
revers 25135 for it is incorrect change, do ask before change any code in win32k. and do not assume code is wrong
See issue #25 for more details.

svn path=/trunk/; revision=25159

17 years agomake the cleanup working as it should, do not crash when it try free unlinked dd...
Magnus Olsen [Thu, 14 Dec 2006 10:53:35 +0000 (10:53 +0000)]
make the cleanup working as it should, do not crash when it try free unlinked dd interface.

svn path=/trunk/; revision=25158

17 years agoThe format change of setup.c cause unexpect error. some typo ??
Magnus Olsen [Thu, 14 Dec 2006 10:32:23 +0000 (10:32 +0000)]
The format change of setup.c cause unexpect error. some typo ??

svn path=/trunk/; revision=25157

17 years agofixing the last problem with release of dd interface, hopply I do not forget to free...
Magnus Olsen [Thu, 14 Dec 2006 09:35:19 +0000 (09:35 +0000)]
fixing the last problem with release of dd interface, hopply I do not forget to free any memory it alloc this time.
fixing proper shourtdown of dx.

svn path=/trunk/; revision=25156

17 years agostart implement release for dd interface, we do not release everthing yet, we still...
Magnus Olsen [Thu, 14 Dec 2006 09:20:00 +0000 (09:20 +0000)]
start implement release for dd interface, we do not release everthing yet, we still have some memory leak.

svn path=/trunk/; revision=25155

17 years agofixing a small check in createsurface
Magnus Olsen [Thu, 14 Dec 2006 08:43:04 +0000 (08:43 +0000)]
fixing a small check in createsurface

svn path=/trunk/; revision=25154

17 years agoImplement full support for GetPixelFormat
Magnus Olsen [Thu, 14 Dec 2006 08:22:17 +0000 (08:22 +0000)]
Implement full support for GetPixelFormat

svn path=/trunk/; revision=25153

17 years agoDo not crash in GetDC, mplayer company we do not have a backbuffer now. good news...
Magnus Olsen [Wed, 13 Dec 2006 23:19:20 +0000 (23:19 +0000)]
Do not crash in GetDC, mplayer company we do not have a backbuffer now. good news, instead for a crash

svn path=/trunk/; revision=25152

17 years agoexprement code for GetPxielformat, (manger crash mplayer (the gui version) in the...
Magnus Olsen [Wed, 13 Dec 2006 23:06:48 +0000 (23:06 +0000)]
exprement code for GetPxielformat, (manger crash mplayer (the gui version) in the GetDC api, and maybe for we do not have the clipper implement. yet.

svn path=/trunk/; revision=25151

17 years agobuild wordpad with unicode="yes/no"
Sylvain Petreolle [Wed, 13 Dec 2006 22:05:14 +0000 (22:05 +0000)]
build wordpad with unicode="yes/no"

svn path=/trunk/; revision=25150

17 years agomore cleanup,
Magnus Olsen [Wed, 13 Dec 2006 21:48:35 +0000 (21:48 +0000)]
more cleanup,
1. fixed more tab to space
2. rewrite addref for some inteface.

svn path=/trunk/; revision=25149

17 years agofixing more format from tab to space
Magnus Olsen [Wed, 13 Dec 2006 21:28:52 +0000 (21:28 +0000)]
fixing more format from tab to space

svn path=/trunk/; revision=25148

17 years agofixed format of this file do not mix tab and space
Magnus Olsen [Wed, 13 Dec 2006 20:57:09 +0000 (20:57 +0000)]
fixed format of this file do not mix tab and space

svn path=/trunk/; revision=25147

17 years ago- Improve a debug print to provide more info.
Aleksey Bragin [Wed, 13 Dec 2006 16:04:17 +0000 (16:04 +0000)]
- Improve a debug print to provide more info.

svn path=/trunk/; revision=25146

17 years agoTry to read shell name from HKCU registry key.
Hervé Poussineau [Wed, 13 Dec 2006 14:58:10 +0000 (14:58 +0000)]
Try to read shell name from HKCU registry key.
If HKCU registry key or file not found, fall back to HKLM registry key
If HKLM registry key or file not found, fall back to names "explorer.exe" and "cmd.exe"

svn path=/trunk/; revision=25145

17 years ago- msvc compability fixes
Johannes Anderwald [Wed, 13 Dec 2006 14:45:23 +0000 (14:45 +0000)]
- msvc compability fixes
- fix build breakage introduced by me

svn path=/trunk/; revision=25144

17 years agofixed setcorative level set now the DDRAWILCL_ISFULLSCREEN flags,
Magnus Olsen [Wed, 13 Dec 2006 09:36:39 +0000 (09:36 +0000)]
fixed setcorative level set now the DDRAWILCL_ISFULLSCREEN flags,
remove some code from blt for it does not work in fullscreen. our bltblt working now in fullscreen and windows mode.

svn path=/trunk/; revision=25143

17 years agosmall cleanup for unlock
Magnus Olsen [Wed, 13 Dec 2006 08:31:02 +0000 (08:31 +0000)]
small cleanup for unlock

svn path=/trunk/; revision=25142

17 years agoFixed, yeah our second test apps works ms dx sdk font.exe works equal good as it...
Magnus Olsen [Wed, 13 Dec 2006 07:54:45 +0000 (07:54 +0000)]
Fixed, yeah our second test apps works ms dx sdk font.exe works equal good as it use to now. We are getting Ddlock and Ddunlock working again.

svn path=/trunk/; revision=25141

17 years ago- Compilation fix.
Peter Ward [Wed, 13 Dec 2006 05:37:55 +0000 (05:37 +0000)]
- Compilation fix.

svn path=/trunk/; revision=25140

17 years agoPart 2/2 of WDK compability fixes
Johannes Anderwald [Tue, 12 Dec 2006 23:57:24 +0000 (23:57 +0000)]
Part 2/2 of WDK compability fixes
- reflect previous header changes
- fix prototype for GetConsoleAliasA/W
                    CreateSymbolicLinkA/W

svn path=/trunk/; revision=25139

17 years agoPart 1/2 of WDK compability fixes
Johannes Anderwald [Tue, 12 Dec 2006 23:52:02 +0000 (23:52 +0000)]
Part 1/2 of WDK compability fixes
- add struct CONSOLE_READCONSOLE_CONTROL to wincon.h
- add missing pointer typedef
- fix declaration of ReadConsoleA
                     ReadConsoleW
                     FindFirstVolumeA
                     FindFirstVolumeW
                     FindFirstVolumeMountPointA
                     FindFirstVolumeMountPointW
                     FindNextVolumeA
                     GetApplicationRecoveryCallback
                     RegisterApplicationRecoveryCallback
                     SystemTimeToTzSpecificLocalTime

- fix typedef of WIN32_FIND_STREAM_DATA

svn path=/trunk/; revision=25138

17 years agodo not crash if we call lock and unlock but something are wrong.
Magnus Olsen [Tue, 12 Dec 2006 22:03:49 +0000 (22:03 +0000)]
do not crash if we call lock and unlock but something are wrong.
we manger getting a lock but ms sdk font sample does not showing the font why ??

svn path=/trunk/; revision=25137

17 years agonow we are back in track, we are almost same state as we got with the old desgin...
Magnus Olsen [Tue, 12 Dec 2006 20:35:12 +0000 (20:35 +0000)]
now we are back in track, we are almost same state as we got with the old desgin of ddraw.dll
bltblt working again for HAL

svn path=/trunk/; revision=25136

17 years ago- fix bug in IntChangeDisplaySettings
Johannes Anderwald [Tue, 12 Dec 2006 20:22:07 +0000 (20:22 +0000)]
- fix bug in IntChangeDisplaySettings

svn path=/trunk/; revision=25135

17 years agobltblt is hacked now. but it draw a yellow surface now
Magnus Olsen [Tue, 12 Dec 2006 19:34:33 +0000 (19:34 +0000)]
bltblt is hacked now. but it draw a yellow surface now

svn path=/trunk/; revision=25134

17 years ago- Improve debug output
Aleksey Bragin [Tue, 12 Dec 2006 19:08:32 +0000 (19:08 +0000)]
- Improve debug output

svn path=/trunk/; revision=25133

17 years agoCheck if This and ThisSrc are NULL.
Maarten Bosma [Tue, 12 Dec 2006 18:54:50 +0000 (18:54 +0000)]
Check if This and ThisSrc are NULL.

svn path=/trunk/; revision=25132

17 years agoremove fireball hack in changedisplay, do not hard code the display number,
Magnus Olsen [Tue, 12 Dec 2006 17:56:27 +0000 (17:56 +0000)]
remove fireball hack in changedisplay, do not hard code the display number,
with this patch we are now extract the display number from the desktop and use it
patch was wroten by me and janderwald. I was to lazy finish it so janderwald did finish it
thanks janderwald.

svn path=/trunk/; revision=25131

17 years agoMake it a compile time choice, whether you want to use a clipper or not, because...
Maarten Bosma [Tue, 12 Dec 2006 17:51:50 +0000 (17:51 +0000)]
Make it a compile time choice, whether you want to use a clipper or not, because our ddraw does not support it yet.

svn path=/trunk/; revision=25130

17 years agoChangeDisplaySettingsEx() can be called with NULL DeviceName. In this case, we should...
Aleksey Bragin [Tue, 12 Dec 2006 12:18:17 +0000 (12:18 +0000)]
ChangeDisplaySettingsEx() can be called with NULL DeviceName. In this case, we should look it up, instead of BSODing.

Right now, this case is fixed by substituting the value to a hardcoded one "\\.\DISPLAY1" in case of NULL and call is made to store the values in registry.

svn path=/trunk/; revision=25129

17 years agoset svn:eolstyle native
Johannes Anderwald [Tue, 12 Dec 2006 07:59:45 +0000 (07:59 +0000)]
set svn:eolstyle native

svn path=/trunk/; revision=25128

17 years agoadd french translation to ipconfig
Sylvain Petreolle [Mon, 11 Dec 2006 22:41:37 +0000 (22:41 +0000)]
add french translation to ipconfig

svn path=/trunk/; revision=25127

17 years agounicode build fixes
Sylvain Petreolle [Mon, 11 Dec 2006 18:04:02 +0000 (18:04 +0000)]
unicode build fixes

svn path=/trunk/; revision=25126

17 years ago- Assign a proper InterfaceType to the resource descriptor. Fixes assert when using...
Aleksey Bragin [Mon, 11 Dec 2006 17:31:04 +0000 (17:31 +0000)]
- Assign a proper InterfaceType to the resource descriptor. Fixes assert when using VMWare video driver.

Approved by hpoussin.

svn path=/trunk/; revision=25125

17 years ago- Fix GCC 4.1.2 build. Patch by Usurp.
Peter Ward [Sun, 10 Dec 2006 22:39:21 +0000 (22:39 +0000)]
- Fix GCC 4.1.2 build. Patch by Usurp.

svn path=/trunk/; revision=25122

17 years agoFix compilation \ -> /.
Peter Ward [Sun, 10 Dec 2006 22:26:01 +0000 (22:26 +0000)]
Fix compilation \ -> /.

svn path=/trunk/; revision=25121

17 years ago- Add missing header.
Alex Ionescu [Sun, 10 Dec 2006 21:21:08 +0000 (21:21 +0000)]
- Add missing header.

svn path=/trunk/; revision=25119

17 years ago- Fix SleepEx.
Alex Ionescu [Sun, 10 Dec 2006 18:40:30 +0000 (18:40 +0000)]
- Fix SleepEx.
- Put volatile statements in EX_RUNDOWN_REF, IRP, DEVICE_OBJECT, ERESOURCE, FILE_OBJECT, IO_REMOVE_LOCK, WORK_QUEUE_ITEM where required (thanks to Microsoft's changes in the WDK to mark the fields properly).
- Update FILE_OBJECT definition.
- Add some asserts to some I/O functions.
- Add stub support for File Objects created by XP+ Drivers which have File Object Extensions.
- Add some fixes to IopDeleteFile, including proper reference counting for the DO and VPB, as well as cleanup when the file is closed without a handle.
- Fix a bug in IopSecurityFile.
- Queue and unqueue IRPs in all I/O functions.
- Fully support IRP cancellation now.
- Fix critical bugs in NtDeviceIoControlFile and NtDeviceFsControlFile which were causing double queueing of IRPs and freeing of invalid memory, as well as invalid paramter checking for user-mode buffers.
- Add exhaustive validation checks to IoCreateFile, add more failure cases, and validate the EA buffer. Also support IO_ATTACH_DEVICE_API flag.
- Implement IoCreateStreamFileObjectEx and IoCreateStreamFileObjectLite and fix several bugs in the original implementation of IoCreateStreamFileObject.
- Fix a bug in RtlRaiseException.
- Update Io*ShareAccess routines to support XP+ style semantics related to special File Object flags which disable their use.
- Add validation to all Query/Set routines so that information clasess, lengths, buffers and alignment are properly checked.
- Also add an array for the proper acess rights that each query/set operation requires.
- Check backup/restore privileges during I/O File operations.
- Check traverse access during I/O File Operations.
- Check access privileges to the device during I/O file operations.
- Rename IopReferenceDeviceObject and also verify if an exclusive DO is trying to be invalidly opened.
- Support various extra security checks during I/O File/Device Parse Routine.
- Fix a bug during IopCleanupIrp so that we don't dereference the File OBject if this was a create operation.
- Fix some bogus asserts in IofCompleteRequest, and save the IRP Flags before signalling it's event, since the driver might've freed it behind our back.
- Fix a large bug in ObInsertObject which affected the insert of unnamed objects with forced security options (Such as process/threads).
- Fix the creation of the Process/Thread/Job Obejct Types to that security information is forced.
- Remove "Fix PS!!!" messages since the bug is now fixed and these objects now get proper security descriptors.
- Fix another bug in ObInsertObjet which wasn't properly validating user-mode objects and always assumed kernel mode.
- Silence multiple trace/checkpoint messages that have accumulated throughout time for various debugging purposes.

svn path=/trunk/; revision=25118

17 years agocommit the patch from bug 1874 even it does not use the RDMSR and WRMSR measure metho...
Magnus Olsen [Sun, 10 Dec 2006 17:39:01 +0000 (17:39 +0000)]
commit the patch from bug 1874 even it does not use the RDMSR and WRMSR measure methood, we need use the RDMSR and WRMSR for dual core and CPU support it see Intel documentations AP-485, who u should do it. The patch is from HTO  Bugfix detections of RTSC support for single and dual core by me, adding check if the CPU support RDMSR and WRMSR and send a true or false value to GetCpuSpeed, so we known which method we should use. HTO patch should be use when it is false. other wise we should use the RDMSR and WRMSR measure method

See issue #1874 for more details.

svn path=/trunk/; revision=25117

17 years agoStubbing of Kernel Streaming DRM module
Andrew Greenwood [Sun, 10 Dec 2006 15:12:12 +0000 (15:12 +0000)]
Stubbing of Kernel Streaming DRM module

svn path=/trunk/; revision=25115

17 years agoFurther stubbing of Kernel Streaming APIs:
Andrew Greenwood [Sun, 10 Dec 2006 15:09:46 +0000 (15:09 +0000)]
Further stubbing of Kernel Streaming APIs:
KS.SYS PORTCLS.SYS

svn path=/trunk/; revision=25114

17 years agoFixed all hack in createsurface, we still have some bugs and do not create surface...
Magnus Olsen [Sun, 10 Dec 2006 13:32:35 +0000 (13:32 +0000)]
Fixed all hack in createsurface, we still have some bugs and do not create surface as we should.
but we lest create a single primary surface.

svn path=/trunk/; revision=25113

17 years agofixed some check in createsurface so user can not easy crash it.
Magnus Olsen [Sun, 10 Dec 2006 10:44:39 +0000 (10:44 +0000)]
fixed some check in createsurface so user can not easy crash it.

svn path=/trunk/; revision=25112

17 years agoRemove more of createsurface hack for primary surface.
Magnus Olsen [Sun, 10 Dec 2006 08:11:08 +0000 (08:11 +0000)]
Remove more of createsurface hack for primary surface.

svn path=/trunk/; revision=25111

17 years agosmall optimzing of drawing line by George Veskov (jkxxster at gmail dot com) irc...
Magnus Olsen [Sun, 10 Dec 2006 07:39:20 +0000 (07:39 +0000)]
small optimzing of drawing line by  George Veskov (jkxxster at gmail dot com) irc nick jkxx

svn path=/trunk/; revision=25110

17 years ago- Revert 25108, requested by silverblade.
Peter Ward [Sun, 10 Dec 2006 05:43:49 +0000 (05:43 +0000)]
- Revert 25108, requested by silverblade.

svn path=/trunk/; revision=25109

17 years agoFurther stubbing of Kernel Streaming APIs
Andrew Greenwood [Sun, 10 Dec 2006 04:16:35 +0000 (04:16 +0000)]
Further stubbing of Kernel Streaming APIs
(corrective path fix to follow...)

svn path=/trunk/; revision=25108

17 years agoThese files aren't complete yet, but this will put them at least in
Andrew Greenwood [Sun, 10 Dec 2006 04:04:03 +0000 (04:04 +0000)]
These files aren't complete yet, but this will put them at least in
their right place...

svn path=/trunk/; revision=25107

17 years agoremove most of the hack in createsurface
Magnus Olsen [Sat, 9 Dec 2006 21:41:42 +0000 (21:41 +0000)]
remove most of the hack in createsurface

svn path=/trunk/; revision=25105

17 years agoTest code to create surface. it is a big hack to create a primare surface.
Magnus Olsen [Sat, 9 Dec 2006 18:31:31 +0000 (18:31 +0000)]
Test code to create surface. it is a big hack to create a primare surface.
but we success create a primary surface. with this hack.

svn path=/trunk/; revision=25104

17 years agoDon't show a wallpapers file extension.
Eric Kohl [Sat, 9 Dec 2006 15:31:06 +0000 (15:31 +0000)]
Don't show a wallpapers file extension.

svn path=/trunk/; revision=25102

17 years ago- only control panel applet should be started with rundll32.exe, other modules can...
Johannes Anderwald [Sat, 9 Dec 2006 14:43:02 +0000 (14:43 +0000)]
- only control panel applet should be started with rundll32.exe, other modules can be started w/o it

svn path=/trunk/; revision=25101

17 years agofix version information display when using yasm
Christoph von Wittich [Sat, 9 Dec 2006 13:47:38 +0000 (13:47 +0000)]
fix version information display when using yasm

svn path=/trunk/; revision=25100

17 years agorevert the 25082 it cause unknown regress.
Magnus Olsen [Sat, 9 Dec 2006 12:11:09 +0000 (12:11 +0000)]
revert the 25082 it cause unknown regress.
I did not notice it becose I did have a crashed dx hal interface.

svn path=/trunk/; revision=25099

17 years ago- various msvc fixes
Johannes Anderwald [Sat, 9 Dec 2006 09:07:15 +0000 (09:07 +0000)]
- various msvc fixes
 * inline -> __inline
 * use msvc generated interface name
 * fix duplicate definition of ElfrRegisterEventSourceA -> ElfrRegisterEventSourceW
 * fix memory leak in ElfrOpenELA

svn path=/trunk/; revision=25097

17 years ago-display version information for compiler, binutils and nasm
Christoph von Wittich [Fri, 8 Dec 2006 18:41:20 +0000 (18:41 +0000)]
-display version information for compiler, binutils and nasm

svn path=/trunk/; revision=25092

17 years ago- generated client header/source files get _c postfix
Johannes Anderwald [Fri, 8 Dec 2006 12:47:58 +0000 (12:47 +0000)]
- generated client header/source files get _c postfix
- generated server header/source files get _s postfix
- only generate code for the required module
Note: due to an bug in VS2005 build tool lib tool does only get part of generated object filename i.e. pnp_c.obj becomes pnp.obj. As a result the lib tool cannot link. However we need to generate unique obj files so that client / server project always compiles the requires source files

svn path=/trunk/; revision=25091

17 years ago- silence output
Johannes Anderwald [Fri, 8 Dec 2006 12:24:40 +0000 (12:24 +0000)]
- silence output

svn path=/trunk/; revision=25090

17 years ago- include path to generated idl files for dependant projects
Johannes Anderwald [Fri, 8 Dec 2006 11:50:56 +0000 (11:50 +0000)]
- include path to generated idl files for dependant projects

svn path=/trunk/; revision=25089

17 years agofix unused variable warning in release build
Christoph von Wittich [Fri, 8 Dec 2006 11:15:48 +0000 (11:15 +0000)]
fix unused variable warning in release build

svn path=/trunk/; revision=25088

17 years ago- add missing source header
Johannes Anderwald [Fri, 8 Dec 2006 10:53:14 +0000 (10:53 +0000)]
- add missing source header

svn path=/trunk/; revision=25087

17 years agoupdated buslogic driver to version 1.2.0.4
Christoph von Wittich [Fri, 8 Dec 2006 02:01:34 +0000 (02:01 +0000)]
updated buslogic driver to version 1.2.0.4
See issue #1891 for more details.

svn path=/trunk/; revision=25086

17 years agofix a typo in ObFindObject patch by hto
Christoph von Wittich [Fri, 8 Dec 2006 01:06:10 +0000 (01:06 +0000)]
fix a typo in ObFindObject patch by hto
See issue #1861 for more details.

svn path=/trunk/; revision=25085

17 years ago-new german language file
Christoph von Wittich [Fri, 8 Dec 2006 01:00:51 +0000 (01:00 +0000)]
-new german language file
-some fixed for the english language file
patch by Colin Finck
See issue #1900 for more details.

svn path=/trunk/; revision=25084

17 years agofix gcc 4.1.2 build patch by Coviti
Christoph von Wittich [Fri, 8 Dec 2006 00:50:58 +0000 (00:50 +0000)]
fix gcc 4.1.2 build patch by Coviti
See issue #1897 for more details.

svn path=/trunk/; revision=25083

17 years agoAdding more setup infromations for createsurface. (does not working yet)
Magnus Olsen [Thu, 7 Dec 2006 20:48:00 +0000 (20:48 +0000)]
Adding more setup infromations for createsurface. (does not working yet)

svn path=/trunk/; revision=25082

17 years agostart config up createsurface right to create surface but we are not setting all...
Magnus Olsen [Thu, 7 Dec 2006 18:27:16 +0000 (18:27 +0000)]
start config up createsurface right to create surface but we are not setting all value right yet.

svn path=/trunk/; revision=25081

17 years agostart writing on the createsurface code, current does not setup the interface right...
Magnus Olsen [Thu, 7 Dec 2006 16:46:33 +0000 (16:46 +0000)]
start writing on the createsurface code, current does not setup the interface right yet so we do not doing the callbacks yet

svn path=/trunk/; revision=25080

17 years ago- Fix for "pice.sys gets loaded unexpectedly".
Peter Ward [Thu, 7 Dec 2006 16:43:30 +0000 (16:43 +0000)]
- Fix for "pice.sys gets loaded unexpectedly".
- Patch by Usurp.
- See bug http://www.reactos.org/bugzilla/show_bug.cgi?id=1898.

svn path=/trunk/; revision=25079

17 years ago- fix a few warnings
Johannes Anderwald [Thu, 7 Dec 2006 08:54:16 +0000 (08:54 +0000)]
- fix a few warnings
- make it compilable with msvc and gcc4.1.1

svn path=/trunk/; revision=25078

17 years agoAdd KdChangeOption() stub
Aleksey Bragin [Wed, 6 Dec 2006 20:55:42 +0000 (20:55 +0000)]
Add KdChangeOption() stub

svn path=/trunk/; revision=25077

17 years agodid forget to exlucde the ddraw.rbuild. sorry I did break the build
Magnus Olsen [Wed, 6 Dec 2006 19:54:53 +0000 (19:54 +0000)]
did forget to exlucde the ddraw.rbuild. sorry I did break the build

svn path=/trunk/; revision=25076

17 years agofixed a pointer I forget setup. the This->lcl->lpDDCB was not set. and that mean...
Magnus Olsen [Wed, 6 Dec 2006 19:53:43 +0000 (19:53 +0000)]
fixed a pointer I forget setup. the This->lcl->lpDDCB was not set. and that mean we did not use any interface. we are using This->lcl->lpDDCB in the iface calls

svn path=/trunk/; revision=25075

17 years agoset minimum req. gcc version to 3.4.2
Christoph von Wittich [Wed, 6 Dec 2006 16:22:32 +0000 (16:22 +0000)]
set minimum req. gcc version to 3.4.2

svn path=/trunk/; revision=25074

17 years ago- vfat now checks what CcCopyRead() returned, and return that value to the caller...
Aleksey Bragin [Wed, 6 Dec 2006 13:29:21 +0000 (13:29 +0000)]
- vfat now checks what CcCopyRead() returned, and return that value to the caller in case of failure
- Added a check for successful call to ReadCacheSegmentChain() in CC
See issue #1855 for more details.

svn path=/trunk/; revision=25073

17 years ago- Revert 25070: NO.
Alex Ionescu [Tue, 5 Dec 2006 18:33:03 +0000 (18:33 +0000)]
- Revert 25070: NO.
- Please look what I did inside FreeLdr. I called this function perfectly without needing to modify how it works. It's what the AdditionalBias parameter is there for...

svn path=/trunk/; revision=25071

17 years agoA necessary hack for PE relocation within physical address space (in FreeLdr).
Aleksey Bragin [Tue, 5 Dec 2006 18:28:08 +0000 (18:28 +0000)]
A necessary hack for PE relocation within physical address space (in FreeLdr).
Using it removes code duplication from FreeLdr / winldr.

To get rid of this hack, either freeldr should be fully switched to virtual paged mode (which is not good) or code must be duplicated inside freeldr.

svn path=/trunk/; revision=25070

17 years ago- fix build with gcc 4.1.0
Johannes Anderwald [Tue, 5 Dec 2006 11:27:45 +0000 (11:27 +0000)]
- fix build with gcc 4.1.0

svn path=/trunk/; revision=25069

17 years ago-revert janderwalds change until because it breaks the gcc 4.x build
Christoph von Wittich [Mon, 4 Dec 2006 16:46:52 +0000 (16:46 +0000)]
-revert janderwalds change until because it breaks the gcc 4.x build

svn path=/trunk/; revision=25065

17 years agofix ks.rbuild
Christoph von Wittich [Mon, 4 Dec 2006 16:34:26 +0000 (16:34 +0000)]
fix ks.rbuild

svn path=/trunk/; revision=25064

17 years agoReactOS Intel Mac compatibility commits, part 2/2
Michael Steil [Mon, 4 Dec 2006 15:33:06 +0000 (15:33 +0000)]
ReactOS Intel Mac compatibility commits, part 2/2

== LBA Functionality BIOS Bug ==
When the BIOS is asked whether it supports INT 13 extensions, it will answer yes if the device is a hard disk, but it will pretend that even the function to ask about this functionality is unsupported if asked about a CD drive. This is similar to what is documented in the code already: Some BIOSes return "doesn't support INT 13 extensions" for CDs.
Code has been added to use INT 13 extensions (and therefore LBA read as opposed to CHS) even if the BIOS claims this is unsupported, if the device is a CD-ROM. The check for the drive type is done by comparing with 0x90: If the device number is 0x90 or above, it's a CD drive. (On Insyde's BIOS, it's 0x90, on most others, it's 0x9F).

(Ironically, Insyde's BIOS cannot even do CHS on CDs, so if the bootloader correctly asks for LBA support, it will get a "no" and will fail when trying to do CHS: When querying the max. CHS values, the BIOS returns 0 sectors per track, which will make conversions from LBA to CHS impossible.)

== LBA Read BIOS Bug ==
When trying to read from CD using the LBA function INT 13/42, the BIOS function will return as it is supposed to, with CF and AH cleared, but with an unchanged buffer. This is because freeldr passes a "disk address packets" that structure contains an extra 64 bit value at the end and is therefore 24 bytes long instead of 16. This is perfectly fine, and a BIOS should ignore any extra data in the structure, but Insyde's BIOS, which doesn't support the extra field (and thus the EDD-3.0 standard) just ignores the complete task and returns in this case.
The extra field has been removed from the structure in freeldr, as it is not used anyway. The structure is now 16 bytes long.

svn path=/trunk/; revision=25063

17 years agoReactOS Intel Mac compatibility commits, part 1/2, by Michael Steil.
Michael Steil [Mon, 4 Dec 2006 15:00:11 +0000 (15:00 +0000)]
ReactOS Intel Mac compatibility commits, part 1/2, by Michael Steil.

== A20 Gate and the Keyboard Controller ==
In order to turn on the A20 gate, the keyboard controller has to be emptied. This is done in freeldr by reading bytes until the keyboard controller signals it's empty. Intel Macs don't have PS/2 keyboard controller and the status register always reads back 0xFF, so the "there is data" bit will never be cleared. (The same problem has been in GRUB as well as in Darwin's BIOS loader.)
Added code that doesn't bother to clear the keyboard buffer if the status port reads back 0xFF.

== Serial Port BIOS Bug ==
Insyde's BIOS reports that there is a COM1 serial port at 0x3F8 (as stored in 0040:0000 in memory), but there is none in Intel Macs, so freeldr spins infinitely while trying to empty the serial port's buffer.
Added code that makes sure the loop only gets executed up to 200 times

svn path=/trunk/; revision=25062

17 years ago- Small compilation fix for roshttpd.
Peter Ward [Mon, 4 Dec 2006 01:50:47 +0000 (01:50 +0000)]
- Small compilation fix for roshttpd.

svn path=/trunk/; revision=25060

17 years ago- give roshttpd a rbuild file
Johannes Anderwald [Sun, 3 Dec 2006 23:35:02 +0000 (23:35 +0000)]
- give roshttpd a rbuild file
- include it in build
- fix building with msvc

svn path=/trunk/; revision=25059

17 years ago-fix compiling with msvc
Johannes Anderwald [Sun, 3 Dec 2006 22:43:22 +0000 (22:43 +0000)]
-fix compiling with msvc

svn path=/trunk/; revision=25058

17 years ago- fix compiling with msvc
Johannes Anderwald [Sun, 3 Dec 2006 22:29:07 +0000 (22:29 +0000)]
- fix compiling with msvc
- replace getopt with simple parse routine

svn path=/trunk/; revision=25057

17 years ago- fix some warnings when compiling with msvc
Johannes Anderwald [Sun, 3 Dec 2006 21:51:50 +0000 (21:51 +0000)]
- fix some warnings when compiling with msvc

svn path=/trunk/; revision=25056

17 years ago- remove unused make files
Johannes Anderwald [Sun, 3 Dec 2006 21:37:38 +0000 (21:37 +0000)]
- remove unused make files

svn path=/trunk/; revision=25055

17 years ago- fix msvc compile problems
Johannes Anderwald [Sun, 3 Dec 2006 21:33:17 +0000 (21:33 +0000)]
- fix msvc compile problems

svn path=/trunk/; revision=25054

17 years ago- move undocumented constants to more appropiate location
Johannes Anderwald [Sun, 3 Dec 2006 21:19:23 +0000 (21:19 +0000)]
- move undocumented constants to more appropiate location
- thnx to Alex_Ionescu

svn path=/trunk/; revision=25053

17 years agoNew stubbing of KS (Kernel Streaming) and associated header files.
Andrew Greenwood [Sun, 3 Dec 2006 21:11:56 +0000 (21:11 +0000)]
New stubbing of KS (Kernel Streaming) and associated header files.
Updated README.

svn path=/trunk/; revision=25052

17 years agostarted hacked SetCooperativeLevel and ReCreateDirectDraw code. we need it if hwnd...
Magnus Olsen [Sun, 3 Dec 2006 21:11:40 +0000 (21:11 +0000)]
started hacked SetCooperativeLevel and ReCreateDirectDraw code. we need it if hwnd are not null we need recreate the HAL and HEL interface for we already inistate it early.

svn path=/trunk/; revision=25051

17 years ago- default to __cdecl convention for gui / console apps
Johannes Anderwald [Sun, 3 Dec 2006 21:09:04 +0000 (21:09 +0000)]
- default to __cdecl convention for gui / console apps

svn path=/trunk/; revision=25050

17 years ago[AUDIT]
Aleksey Bragin [Sun, 3 Dec 2006 21:06:03 +0000 (21:06 +0000)]
[AUDIT]
Change name everywhere back to Ariadne because real person could not be contacted. Non-working email address removed.

If this person doesn't contact me before finish of the audit, the copyright will be transferred to ReactOS Foundation.

svn path=/trunk/; revision=25049

17 years agoKernel Streaming cleanup - replacing with new stubs shortly!
Andrew Greenwood [Sun, 3 Dec 2006 20:59:52 +0000 (20:59 +0000)]
Kernel Streaming cleanup - replacing with new stubs shortly!

svn path=/trunk/; revision=25048

17 years ago-fix compiling with msvc
Johannes Anderwald [Sun, 3 Dec 2006 20:48:25 +0000 (20:48 +0000)]
-fix compiling with msvc

svn path=/trunk/; revision=25047

17 years ago- include gettype in build process
Johannes Anderwald [Sun, 3 Dec 2006 20:43:21 +0000 (20:43 +0000)]
- include gettype in build process
- add missing dependency

svn path=/trunk/; revision=25046