Commit graph

21650 commits

Author SHA1 Message Date
Magnus Olsen f909be8aaa rename some file from xml to rbuild.
svn path=/trunk/; revision=23343
2006-07-28 21:30:18 +00:00
Magnus Olsen 6b19073a39 sorry for the typo
svn path=/trunk/; revision=23342
2006-07-28 21:21:38 +00:00
Magnus Olsen 6bd161c5b8 some forgot fixing rosapps change the xml to rbuild.
fixed that in trunks

svn path=/trunk/; revision=23341
2006-07-28 21:15:46 +00:00
Magnus Olsen 3a43d2db6c adding more and find to livecd and bootcd
svn path=/trunk/; revision=23340
2006-07-28 21:05:48 +00:00
Magnus Olsen 307c8c7494 building more and find
svn path=/trunk/; revision=23339
2006-07-28 21:04:25 +00:00
Magnus Olsen 30c6b3bace making rosapps build again
svn path=/trunk/; revision=23338
2006-07-28 21:00:14 +00:00
Magnus Olsen c8183964de copy cmdutils.rbuild
svn path=/trunk/; revision=23337
2006-07-28 20:57:04 +00:00
Aleksey Bragin 793b990edb Actually add cmlib itself
svn path=/trunk/; revision=23336
2006-07-28 20:50:05 +00:00
Magnus Olsen d01cb10386 Moved cmdutils command more remotely
svn path=/trunk/; revision=23335
2006-07-28 20:48:20 +00:00
Magnus Olsen 397361df50 Moved cmdutils command find remotely
svn path=/trunk/; revision=23334
2006-07-28 20:47:22 +00:00
Magnus Olsen 05066fce58 prepare move for cmdutils more and find for they are necessary cmd command for allot bat files.
Fireball agrees to it. 

svn path=/trunk/; revision=23333
2006-07-28 20:43:58 +00:00
Aleksey Bragin b6fc604db0 - Add Filip Navara's cmlib
- Use cmlib in Freeldr and Setupldr (patch by Filip Navara)
- Fix some HIVE definition and checksum calculation in mkhive and ntoskrnl (so they btoh create a compatible registry)

TODO: Apply 2nd half of the patch, which makes ntoskrnl using cmlib.

This commit is dedicated to Filip Navara's constant promises to commit cmlib and to recent small Arty vs. Alex debate on irc :)

svn path=/trunk/; revision=23332
2006-07-28 20:25:47 +00:00
Magnus Olsen 02f0e4b7ac patch from LMH1 : Bug#: 1684 : Norwegian translation
svn path=/trunk/; revision=23331
2006-07-28 20:03:29 +00:00
Aleksey Bragin b9673c3ca0 Add message's spy into user32.dll. In order to enable, just uncomment #define YDEBUG in spy.c file and optionally set the messages you want to include / exclude in the registry (HKCU\ReactOS\Debug).
When it's turned off (YDEBUG is not defined), it doesn't provide any slow-down to the system.

DefWindowProc() functions are slightly refactored to have one exit point instead of numerous returns in a switch-case statement.

FIXME: maybe DPRINTs will be changed to DbgPrint because it's pointless to display path to the spy.c file everytime.

svn path=/trunk/; revision=23330
2006-07-28 13:52:23 +00:00
Alex Ionescu 3d97c16cd1 - Mega whammy jammy fix commit:
- Fix bootcd by fixing some bugs in CDFS (same as in VFAT).
  - Fix Broken Installers and other I/O programs that couldn't, for example, create temporary directories.
  - Fix Firefox installers and other apps crashing due to a bug in NtSetInformationFile.
  - Fix File Objects being referenced twice resulting in IRP_MJ_CLOSE/CLEANUP never being sent and several memory leaks.
  - Fix File Object Lock being incorrectly created and then misused by mm/section code.
  - Fix creation of File Object before setting up the IRP, to properly cleanup during failures.
- Add failure code if ObCreateObject fails.

svn path=/trunk/; revision=23328
2006-07-27 22:26:40 +00:00
Aleksey Bragin 27f7e69bf7 Improve a few headers by adding missing definitions and structures (taken from Wine).
Versioning might not be correct.

svn path=/trunk/; revision=23327
2006-07-27 20:34:04 +00:00
Alex Ionescu 280c7a5a59 - Add kernel fun entry:
- Find out why 7zip can't create temporary folders due to deferred I/O
    completion in IopParseDevice when creating a new File Object.. 
Thanks to encoded.

svn path=/trunk/; revision=23326
2006-07-27 20:18:22 +00:00
Alex Ionescu 48d3c8e74f - Enable IopReferenceDeviceObject in IopParseDevice (not much use for now except OS "Correctness" and identifying broken drivers). DO referencing isn't fully used in the kernel yet.
- Fix broken drivers: i8042 and videoprt. NDIS might be broken too, but downloading worked fine for me, so it's not hitting the check in IopParseDevice.

svn path=/trunk/; revision=23325
2006-07-27 20:16:48 +00:00
Alex Ionescu bef11ebb29 - Set DRVO_INITAILIZED flag for intiailized driver objects.
- Loop the list of devices created by the driver's DriverEntry and remove the DO_DEVICE_INITIALIZING flag.

svn path=/trunk/; revision=23324
2006-07-27 19:56:38 +00:00
Alex Ionescu 6e6d9ed927 - Fix some last STDCALL->NTAPI problems.
- Generate KUSER_SHARED_DATA cookie if it doesn't already exist when a user-mode thread runs.
- Remove the last Ps entry from kernel fun.

svn path=/trunk/; revision=23323
2006-07-27 18:28:26 +00:00
Alex Ionescu 22b41d9acf - Reimplement and activate NtQueryInformationThread.
- Remove kernel fun entry.

svn path=/trunk/; revision=23322
2006-07-27 17:09:42 +00:00
Andrew Munger 306688e01b "PnPify" ne2000, patch from Filip.
This allows the ne2000 driver to work with (and without) the new qemu acpi settings.

svn path=/trunk/; revision=23320
2006-07-27 16:52:03 +00:00
Alex Ionescu 248996ff72 - Reimplement and activate NtSetInformationThread.
svn path=/trunk/; revision=23319
2006-07-27 16:43:03 +00:00
Aleksey Bragin 148bbcc210 Add sm.exe to bootcd
svn path=/trunk/; revision=23318
2006-07-27 11:37:23 +00:00
Aleksey Bragin 96c732942d Fix sm.exe's compilation
svn path=/trunk/; revision=23315
2006-07-27 11:03:36 +00:00
Magnus Olsen e95b8ee1f2 forgot the file.
patch from LMH1  : Bug#:  1682  :  Norwegian translation
note : sm are not include in building process, the source code have got begin to be rotten, it 
       can not longer be build. shall we delete it ? or shall some look into and make it
       work again, I am not voluntary todo either of it. some else for todo that. 

svn path=/trunk/; revision=23314
2006-07-27 08:36:37 +00:00
Magnus Olsen 27f868593a patch from LMH1 : Bug#: 1682 : Norwegian translation
note : sm are not include in building process, the source code have got begin to be rotten, it 
       can not longer be build. shall we delete it ? or shall some look into and make it
       work again, I am not voluntary todo either of it. some else for todo that. 

svn path=/trunk/; revision=23313
2006-07-27 08:35:46 +00:00
Magnus Olsen a88bf9a848 patch from LMH1 : Bug#: 1681 : Norwegian translation
svn path=/trunk/; revision=23311
2006-07-27 08:21:29 +00:00
Magnus Olsen 82d4e57ee2 patch from LMH1 : Bug#: 1680 : Norwegian translation
svn path=/trunk/; revision=23310
2006-07-27 08:17:00 +00:00
Magnus Olsen bdcc4dd0cb patch from LMH1 : Bug#: 1687 : Norwegian translation
svn path=/trunk/; revision=23309
2006-07-27 07:59:35 +00:00
Magnus Olsen 692e79dc80 patch from LMH1 : Bug#: 1686 : Norwegian translation
svn path=/trunk/; revision=23308
2006-07-27 07:55:55 +00:00
Magnus Olsen 03b940bdba patch from LMH1 : Bug#: 1683 : Norwegian translation
svn path=/trunk/; revision=23307
2006-07-27 07:50:33 +00:00
Magnus Olsen 57404c2c93 patch from LMH1 : Bug#: 1700 : Norwegian translation
svn path=/trunk/; revision=23306
2006-07-27 07:46:08 +00:00
Alex Ionescu 29a0553ced - Remove PspGetImagePath and use the new SeLocateProcessImageName instead.
It's still not fully XP-compatible, because it should return the entire name with the \Device\HardDisk0 path, but that is easily fixable by modifying the OB Type info for the device object to also use IopQueryNameFile (TODO).
- Update kernel fun with specifics about Cc-branch dereference bug and re-prioritize an I/O Bug.

svn path=/trunk/; revision=23305
2006-07-27 05:03:03 +00:00
James Tabor 55483dc7f6 - Part 2, Menu.c, cosmetic fixes. Fixed most of all the drawing issues. One outstanding needed fix is Lazarus. There maybe some tweaking needed, over all menus look nice.
svn path=/trunk/; revision=23304
2006-07-27 01:21:21 +00:00
Alex Ionescu de6dc70c56 - Implement XP-style process name auditing to store the full name of the process in EPROCESS instead of only the first 16 ascii characters. This is required for one of the newer Info process classes. Implemented SeInitializeProcessAuditName and SeLocateProcessImageName.
- Remove #ifed out code in PspCreateProcess which was attempting to create the name structure. Add code to MmCreateProcessAddressSpace to initialize the audit name after the 16-byte name.
- Implement some helper APIs for better code refactoring.
- TODO: Get rid of PspGetImagePath and wrap around SeLocateProcessImageName instead.

svn path=/trunk/; revision=23303
2006-07-27 00:22:36 +00:00
Alex Ionescu f0166aaf6e - Fix multiple bugs in VfatGetNameInformation:
* Return the file name length even if the buffer is too small, that's the whole point of the "Query length before comitting a buffer" principle.
  * FSDs are not supposed to null-terminate the buffer, nor expect the caller to send a buffer large enough for null-termination.
  * Added a hack in IopQueryFile to handle another VFAT bug which makes it return the total number of bytes written in IoStatus.Information instead of the total number of bytes *left untouched*.There are probably many other broken things due to this.
- Fix some length calculation bugs in IopQueryFile.

svn path=/trunk/; revision=23302
2006-07-27 00:13:14 +00:00
Johannes Anderwald c0e140d91b * Ukrainian translation by Temarez (bug 1713)
* fix a warning

svn path=/trunk/; revision=23301
2006-07-26 20:41:38 +00:00
Alex Ionescu 4a34b5d7b6 - More kernel fun
svn path=/trunk/; revision=23298
2006-07-26 07:18:06 +00:00
Maarten Bosma 37fbfe0d73 Added module list needed to generate the xml. It contains all Kernel, KernelModeDLL, NativeDLL and Win32DLL modules. I produced it by hacking rbuild.
svn path=/trunk/; revision=23295
2006-07-25 21:45:23 +00:00
Maarten Bosma f83c1d1963 Copy the needed xsl file from trunk\cis to tools\rgenstat\web.
svn path=/trunk/; revision=23294
2006-07-25 21:34:21 +00:00
Ged Murphy c4abac4743 Export CPlApplet() as stdcall
patch from Thomas Weidenmueller 

svn path=/trunk/; revision=23293
2006-07-25 21:19:31 +00:00
Alex Ionescu 986d920762 - Fix a bug in LPC creation (missing one handle) and LPC closing (was not properly closing the port). This caused LPC_PORT_CLOSED never to be sent, and thus CSRSS never received and never closed its handle of the process, meaning that all win32 processes leaked.
- As a result, processes can die again, and also be killed by Task Manager.
- And finally, "Exit" in cmd.exe as well as pressing the "x" button work.

svn path=/trunk/; revision=23292
2006-07-25 20:21:24 +00:00
Ged Murphy fb050d7eb5 quick build fix
Code needs fixing (and formatting) correctly.

svn path=/trunk/; revision=23291
2006-07-25 20:02:26 +00:00
Alex Ionescu a9183e6f8f - Hack FPU handler. 2nd stage installation now works if you had a crash, as well as any other crash where your trace indidicated one of the following: "CoordLpToDP", "KiHandleFpuFault".
svn path=/trunk/; revision=23290
2006-07-25 19:49:53 +00:00
Magnus Olsen b1961cb16c Move some stuff from createsurface to startup.c
Bugfix some other stuff

svn path=/trunk/; revision=23289
2006-07-25 19:20:49 +00:00
Magnus Olsen 4ca3d3c07b rewrote Main_DDrawSurface_AddAttachedSurface lite so we are using Gdientry DdattachSurface and using wine attach code.
to keep Hal compatible. 
 

svn path=/trunk/; revision=23288
2006-07-25 17:31:07 +00:00
Magnus Olsen 21f9a961c8 Implement Main_DDrawSurface_EnumAttachedSurfaces after wine desgin of it
we need rewrite Createsurface and Implement AttahedSurface 
Thanks to wine code and some wine devloper to expain how it works

I got one more directx sdk sample working parlty with this change. 


svn path=/trunk/; revision=23287
2006-07-25 16:57:57 +00:00
Magnus Olsen 0b21a745a5 fixing bsod in GetAttachSurface when pointer is NULL
svn path=/trunk/; revision=23286
2006-07-25 16:04:10 +00:00
Maarten Bosma 2e4a553ff9 Also committed the red leds because they are way better readable.
svn path=/trunk/; revision=23285
2006-07-25 14:59:13 +00:00