Commit graph

29550 commits

Author SHA1 Message Date
Hervé Poussineau 79d172f71f Use a generic .spec file, instead of a .def file per architecture
svn path=/trunk/; revision=32230
2008-02-08 19:59:30 +00:00
Hervé Poussineau 0568ff9b20 Use a generic .spec file, instead of a .def file per architecture
svn path=/trunk/; revision=32229
2008-02-08 19:46:17 +00:00
Hervé Poussineau f53e2b67f0 Add WINEBUILD_FLAGS, and set it to --kill-at for ARM
svn path=/trunk/; revision=32228
2008-02-08 19:45:30 +00:00
Hervé Poussineau 19b93a9778 Do not emit __wine_spec_unimplemented_stub() function if not needed
svn path=/trunk/; revision=32227
2008-02-08 19:27:32 +00:00
Hervé Poussineau 1d39ac6bc4 Add Rule class, which writes to Makefile how to handle a source file
Later, hardcoded rules should be read from .rbuild files

svn path=/trunk/; revision=32226
2008-02-08 19:10:19 +00:00
Colin Finck 1086d26c56 Change the encoding of the slovak translation yet another time, hopefully it's correct now
svn path=/trunk/; revision=32225
2008-02-08 18:07:29 +00:00
Aleksey Bragin 3a05e940a0 - Make LsaOpenPolicy return a fake handle (ported from Wine), so that it doesn't leave garbage instead of a handle, which is going to be closed later by LsaClose.
- Make LsaClose understand the fake handle, and don't do anything in that case but just return success.
- Make one unimplemented func show a fixme (also from Wine).

svn path=/trunk/; revision=32224
2008-02-08 17:52:48 +00:00
ReactOS Portable Systems Group 02dc4b9442 We now have an official hal-arm which exports KeSwapIrql, allowing many more drivers to compile and link properly.
We now have ARM export files for Class2 and Scsiport, allowing these drivers plus disk, cdrom and other dependencies to build and link.

svn path=/trunk/; revision=32223
2008-02-08 17:13:09 +00:00
Aleksey Bragin f190c5ef68 Kamil Hornicek <tykef@atlas.cz>
- Convert advapi32 to use wine-style debug macros.

svn path=/trunk/; revision=32222
2008-02-08 17:04:39 +00:00
Colin Finck 6e15b35fe2 ANSI -> OEM charset conversion
svn path=/trunk/; revision=32220
2008-02-08 14:46:27 +00:00
Daniel Reimer f28d0a6445 Update German translation
svn path=/trunk/; revision=32219
2008-02-08 14:10:52 +00:00
Dmitry Chapyshev bf724ddcf9 - Add WinBoard and Opera to downloader.xml
svn path=/trunk/; revision=32218
2008-02-08 13:14:22 +00:00
Dmitry Chapyshev b1c9f9232c - Update Russian translation
svn path=/trunk/; revision=32217
2008-02-08 13:11:55 +00:00
Aleksey Bragin 62b9a5ba19 - Implement one more hack to obtain LaskKrnlPhysAddr (not really a solution for reactos, since ntldr allows kernel+drivers+hal to not be continuous in memory), when booting via ntldr/winldr.
svn path=/trunk/; revision=32216
2008-02-08 13:11:01 +00:00
Dmitry Chapyshev 822f692add - Start implement Advanced General page
- Update Russian translation

svn path=/trunk/; revision=32215
2008-02-08 13:07:37 +00:00
Aleksey Bragin b807bc63c0 - Implement MiCountFreePagesInLoaderBlock() to correctly count free pages (instead of using a variable introduced somewhere below r2000 (MemHigher), and later converted to MmFreeLdrMemHigher).
- Get rid of MmFreeLdrMemHigher and MmFreeLdrMemLower (they were not actually used for anything except getting number of free pages).

svn path=/trunk/; revision=32214
2008-02-08 10:55:40 +00:00
Aleksey Bragin 82d29cb087 - Formatting fixes.
svn path=/trunk/; revision=32213
2008-02-08 10:52:20 +00:00
Daniel Reimer 9b1ded0b01 Bug 3043: Polish translation update (olaf_siejka@o2.pl)
Bug 3044: Ukrainian translation update (temarez@yandex.ru)
Part 3 of 3.

svn path=/trunk/; revision=32212
2008-02-08 10:24:02 +00:00
Daniel Reimer 085c463f52 Bug 3043: Polish translation update (olaf_siejka@o2.pl)
Bug 3044: Ukrainian translation update (temarez@yandex.ru)
Part 1 of 3.

svn path=/trunk/; revision=32210
2008-02-08 10:22:50 +00:00
Daniel Reimer 89aff6dc8a Bug 3040: add some functionality to mmsys.cpl by Kamil Hornicek (tykef at atlas dot cz) irc nick Pigglesworth
I updated all rc files according to the changes in the english one and removed DS_3DLOOK.

svn path=/trunk/; revision=32209
2008-02-08 10:08:26 +00:00
Daniel Reimer 6879d09095 Apply r32184 for Slovak Translation too.
svn path=/trunk/; revision=32208
2008-02-08 08:21:12 +00:00
ReactOS Portable Systems Group a0309ee531 We now also implement InterlockedExchange (Fixes rtl build).
We now set -lgcc for all builds (to get built-in division helpers), and also -static (not to import libgcc.dll -- it seems -static isn't needed on x86, but it is on ARM).
We hackfix kdcom to use the FeroUart base address -- this driver won't be used for a while, but we need to have it built.
Now binaries are being created properly (previously kernel was 15MB and importing .DLL files...). FreeLDR output:
FreeLoader v3.0 for ARM
Bootargs: rdbase=0x2000000 rdsize=0x1400000
Detecting Hardware...
Loading...
Reading NTOSKRNL.EXE
Reading BOOTVID.DLL
Reading HAL.DLL
Reading HAL.DLL                                                                 
Reading c_1252.nls
Reading c_437.nls
Reading l_intl.nls
Reading scsiport.sys


svn path=/trunk/; revision=32207
2008-02-08 08:20:06 +00:00
ReactOS Portable Systems Group 216376229d We now have the correct intrinsics for ARM.
The ARM linkerscript is now created (copy of the x86 linker script).
The kernel can now be linked.

svn path=/trunk/; revision=32206
2008-02-08 07:51:01 +00:00
ReactOS Portable Systems Group a81c54beff We no longer generate broken kernel-mode system call stubs.
We now have per-architecture definition files, since stdcall differences between the architectures cannot be fixed (tried a combination of --kill-at, which is ignored, and -add-stdcall-alias and --enable-stdcall-fixup. This is the same problem that breaks MSVC builds, according to Alex.)
Fixed KeRaiseIrqlToSynchLevel.
Added an arm directory in /ke where we have all the stubs for non-implemented ARM routines. We can now build almost the entire kernel and link it.
We now use intrinsics to export the Interlocked* APIs, for the ARM build. Recommend doing this for x86 too.
Hal and bootvid build and link.

svn path=/trunk/; revision=32205
2008-02-08 06:07:47 +00:00
Timo Kreuzer 3f09812318 - allow translation of strings in usetup
- so far most strings are still hardcoded, but the needed functionality is in place

svn path=/trunk/; revision=32204
2008-02-08 04:14:09 +00:00
Timo Kreuzer 5aeda067d0 patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
remove obsolete syscalls NtUserGetDesktopWindow and NtUserGetParent

svn path=/trunk/; revision=32203
2008-02-08 01:45:54 +00:00
Timo Kreuzer dfb1765988 fix a typo
svn path=/trunk/; revision=32202
2008-02-08 00:18:45 +00:00
Daniel Reimer d57a6ccafe Bug 3033: patch for packmgr (kario@szm.sk)
Bug 3039: Ukrainian translation update (temarez@yandex.ru)
Bug 3041: Bulgarian translation of ReactOS. (sstpr@narod.ru)

svn path=/trunk/; revision=32201
2008-02-07 21:23:46 +00:00
Daniel Reimer 252c05ab34 Bug 3033: patch for packmgr (kario@szm.sk)
Bug 3039: Ukrainian translation update (temarez@yandex.ru)
Bug 3041: Bulgarian translation of ReactOS. (sstpr@narod.ru)

svn path=/trunk/; revision=32200
2008-02-07 21:22:04 +00:00
Colin Finck 7f402f3f12 Yet another attempt to fix build
svn path=/trunk/; revision=32199
2008-02-07 20:58:58 +00:00
Colin Finck 026972be9b Revert the winddk.h changes of r32197 to make the hal compilable again without any warnings.
Someone (preferably ros-arm-bringup ;-), please fix this correctly.

The warning is caused, because after the change in r32197, KeRaiseIrqlToSynchLevel is defined as NTKERNELAPI for all architectures.
NTKERNELAPI itself is defined to DECLSPEC_IMPORT if the header is not included from ntoskrnl. This is why hal outputs a warning for its KeRaiseIrqlToSynchLevel implementation.
As warnings are treated as errors for hal, the build fails.

svn path=/trunk/; revision=32198
2008-02-07 20:49:58 +00:00
ReactOS Portable Systems Group fb86c24408 We can now build the ARM kernel (but not link it).
We now define _disable and _enable for ARM.
We shouldn't define KeRaiseIrqlToSynchLevel for each architecture, since the prototype is portable itself.
It was a mistake to guard against x86 only system calls -- the system calls should be the same on all archs, just return STATUS_NOT_IMPLEMENTED if they don't make sense. Undo the guards.
We now define KeGetPcr() as portable -- it's PCR itself that is a per-arch define.
We now support ARM in RtlWalkFrameChain.
We now support ARM in PspCreateThread.
We now define KeArchHaltProcessor for ARM by using Wait-For-Interrupt Mode.
We now define KeArmInitThreadWithContext for ARM.
KiRestore/SaveProcessorControlState are portable prototypes, we now define them as such.
Bochs KD code should use the portable WRITE/READ_PORT_UCHAR defines, we now do so.
We now support ARM in SharedUserData->ImageNumberLow/High during ExpInitializeExecutive.
NtQuerySytemInformation for SystemProcessorInformation has now been fixed to use the portable KeProcesssorXxx variables instead of reading from the non-portable PRCB values.
We now support NtFlushInstructionCache for ARM by flushing the I-Cache.

svn path=/trunk/; revision=32197
2008-02-07 20:04:31 +00:00
Hervé Poussineau 79f55526f5 Fix for the fix
svn path=/trunk/; revision=32196
2008-02-07 19:58:31 +00:00
Colin Finck 44fece0a7a Bulgarian translation for rosapps by Станев (sstpr AT narod DOT ru)
See issue #3042 for more details.

svn path=/trunk/; revision=32195
2008-02-07 19:33:11 +00:00
Colin Finck 3a86c280a8 - Open the Edit windows as modeless dialogs, so the user can edit more than one character at the same time
- Simplify the linked-list functions

svn path=/trunk/; revision=32194
2008-02-07 19:14:55 +00:00
Aleksey Bragin 21ab956cf9 - Rename vfatfs.sys to fastfat.sys for compatibility reasons.
svn path=/trunk/; revision=32193
2008-02-07 18:06:11 +00:00
Hervé Poussineau deb657fdaa Fill output variable before returning
svn path=/trunk/; revision=32192
2008-02-07 18:04:03 +00:00
Johannes Anderwald 9bed8e1811 - fix auto timezone selection for bulgarian locale
- patch by CCTAHEB
See issue #2887 for more details.

svn path=/trunk/; revision=32191
2008-02-07 17:52:24 +00:00
Gregor Brunmar 89a49eb4b7 * Fixed d3d9 critical section not being unlocked in GetAdapterIdentifier
* Implemeted IDirect3D9::GetAdapterMonitor

svn path=/trunk/; revision=32190
2008-02-07 17:32:49 +00:00
Colin Finck df5582f1dd Define O_BINARY to 0 in include/wine/port.h if it's not defined. Wine's version of this file already contains this #define.
This way we can remove one more difference in our widl version compared to the Wine one.

svn path=/trunk/; revision=32189
2008-02-07 17:27:25 +00:00
Gregor Brunmar 26db2d81e1 Fixed a compiler warning with msvc
svn path=/trunk/; revision=32188
2008-02-07 17:26:05 +00:00
Colin Finck 6848a25e87 creat() is equivalent to open() with the flags O_CREAT | O_WRONLY | O_TRUNC.
Use these flags and O_BINARY to replace the creat() call we previously had.

Requested by Wine for patch acceptance

svn path=/trunk/; revision=32187
2008-02-07 14:53:03 +00:00
Aleksey Bragin 9a3b43aa45 - Port LookupAccountNameA/W from Wine. This fixes VMWare Tools crash in NTDLL introduced by msiexec sync.
svn path=/trunk/; revision=32186
2008-02-07 14:05:10 +00:00
Aleksey Bragin d7e3b6a80d - Apply elf-changes changes to ntkrnlmp.rbuild.
- Small formatting fix for ntoskrnl.rbuild.

svn path=/trunk/; revision=32185
2008-02-07 13:42:29 +00:00
Johannes Anderwald d1741b3c64 - change cmd "control" to "control.exe"
- fix over-translated strings
- acquire full path for the traget executable and directly invoke CreateProcess 
- zero initialize param szTemp to fix a possible buffer overflow
- fixes bug 3027

svn path=/trunk/; revision=32184
2008-02-07 11:23:38 +00:00
Johannes Anderwald fb6911a1bb - improve control a bit so it that can execute cpl specified on the command line
- ignore the function index, page index for now

svn path=/trunk/; revision=32183
2008-02-07 11:21:10 +00:00
Filip Navara 6055ece647 Fix one more bug in adding subkeys.
svn path=/trunk/; revision=32181
2008-02-07 08:22:24 +00:00
Filip Navara f5d676df0d Fix hash table generating.
svn path=/trunk/; revision=32180
2008-02-07 08:04:17 +00:00
ReactOS Portable Systems Group ac30a263d8 We now generate the correct ARM syscall stub code for system calls with IDs > 0x100.
We never call KfRaise/LowerIrql in portable code anymore, isntead, we use Ke.
We now have correctly defined IRQL routines for ARM, much more of the kernel builds as a result.

svn path=/trunk/; revision=32179
2008-02-07 07:10:13 +00:00
ReactOS Portable Systems Group 46c6129581 We don't define types which are usually documented on "real" NT platforms in the NDK aynmore, but instead in the ARMDDK.h. This also avoids many ndk-from-ddk cross-header issues.
Added x86-only guards around certain structures and functions which are non-portable. Also guarded certain inline functions.
Added some more ARM structures, and filled out the KPRCB.
Created ARM-specific headers when required.
We can now have a buildable ARM kernel, minus a couple of compile errors.

svn path=/trunk/; revision=32178
2008-02-07 06:40:42 +00:00