Commit graph

16622 commits

Author SHA1 Message Date
Gé van Geldorp
ae18f3a1cc Sync to Wine-20050830:
Alexandre Julliard <julliard@winehq.org>
- Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
  Dll(Un)RegisterServer with the dll name so that the compiler can check
  the prototypes.
Mike McCormack <mike@codeweavers.com>
- Fix gcc 4.0 warnings.

svn path=/trunk/; revision=17662
2005-09-05 20:07:46 +00:00
Gé van Geldorp
5d793513d1 Alexandre Julliard <julliard@winehq.org>
- Removed the broken mmap64 configure check, and moved the
  _FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
  need the define include it.

svn path=/trunk/; revision=17661
2005-09-05 20:03:06 +00:00
Alex Ionescu
87507a864e - More NDK + MSDDK/IFS Compatibility fixes
- Prototype fixes

svn path=/trunk/; revision=17660
2005-09-05 18:06:20 +00:00
Gé van Geldorp
94a3a9e377 Sync to Wine-20050830:
Alexandre Julliard <julliard@winehq.org>
- Beginnings of a crt0 library.
- Added a warning for DllGetVersion and DllInstall not being declared
  private. Also warn when one of the Dll* functions is using a different
  internal name.
- Added a --undefined option to allow forcing some symbols to be
  resolved by the linker.
- Byteswap the resources if we detect that the header is in the wrong
  endianness.
- Moved more of the spec initialization code to the winecrt0 library,
  and get rid of implicit kernel32 imports.
- Use __wine_unimplemented_stub from crt0 for 16-bit spec files too.
- Moved the delay loading support code to the winecrt0 library.
- Avoid using common symbols, they are broken on Mac OS.
- Moved the implementation of spec file stubs to the winecrt0 library.
- The exported name strings should be inside the export directory (found
  by Vitaliy Margolen).
- Added some general purpose routines for managing list of symbol
  names.
- Print a warning when a generated import library doesn't export
  anything useful.
- Implemented DelayLoadFailureHook and use it in the winebuild-generated
  delay load code.
- Compute the ordinal base and limit in assign_ordinals instead of doing
  it while parsing.
- Get rid of the unused owner_name field.
Ge van Geldorp <gvg@reactos.org>
- Adapt changes to ReactOS

svn path=/trunk/; revision=17659
2005-09-05 17:35:31 +00:00
Gé van Geldorp
89c566ad64 Sync to Wine-20050830:
Mike McCormack <mike@codeweavers.com>
- Fix a gcc 4.0 -Wpointer-sign warning.
- gcc 4.0 warning fix.

svn path=/trunk/; revision=17658
2005-09-05 10:18:07 +00:00
Gé van Geldorp
2853a0678a Fix compilation when ENABLE_VALIDATE_POOL is defined
svn path=/trunk/; revision=17657
2005-09-05 09:26:02 +00:00
Gé van Geldorp
c542593988 The kernel extension is really a EXTENDED_DEVOBJ_EXTENSION now
svn path=/trunk/; revision=17656
2005-09-05 09:25:06 +00:00
Hervé Poussineau
e77d41b989 Fix the build. TIB field in KIPCR structure is named NtTib, not Tib
svn path=/trunk/; revision=17653
2005-09-05 07:59:29 +00:00
Alex Ionescu
4e8d1019ce - More NDK/MSDDK compatibility fixes.
svn path=/trunk/; revision=17652
2005-09-05 07:51:15 +00:00
Alex Ionescu
51f0dfd307 - NDK compatibility fixes for MSDDK. Use NTAPI instead of STDCALL, and use NTSYSAPI instead of NTOSAPI.
- Remove some functions/types in NDK that were already documented in DDK/IFS.
- Fixup syscall structures for the table and fix protoype of KeAdd/RemoveServiceDescriptorTable.

svn path=/trunk/; revision=17651
2005-09-05 04:48:20 +00:00
Alex Ionescu
118aa9fba3 - Fix kernel32 and ntoskrnl build issues.
- Define public version of DEVOBJ_EXTENSION in DDK.

svn path=/trunk/; revision=17650
2005-09-04 23:48:19 +00:00
Alex Ionescu
a4d8aa2194 - Define NTSYSAPI and NTSYSCALLAPI
svn path=/trunk/; revision=17649
2005-09-04 23:26:35 +00:00
Alex Ionescu
851e0f3f36 - Fix incorrect PFILE_MAILSLOT_SET_INFORMATION definition
- Fix MSFS to build with MSDDK.
- Fix iotypes.h to be MSDDK compatible.

svn path=/trunk/; revision=17648
2005-09-04 23:18:34 +00:00
Alex Ionescu
f069c69225 - Fix typo in NDK
- Fix compilation of NPFS and MSFS and increase their compile speed by using PCH.

svn path=/trunk/; revision=17647
2005-09-04 22:33:28 +00:00
Hervé Poussineau
d41491ef47 Fix SetComputerNameA/W. They were sending a bad parameter to SetComputerNameExA/W. Thanks Hartmut
svn path=/trunk/; revision=17646
2005-09-04 22:20:22 +00:00
Alex Ionescu
a5243c8e37 - Fix incompatible IO_STACK_LOCATION definition in W32api ddk/winddk.k
- Add EXTENDED_IO_STACK_LOCATION to NDK, with the full definition.

svn path=/trunk/; revision=17645
2005-09-04 22:16:57 +00:00
Hervé Poussineau
d5829ea63d Fix definition of STDCALL. Thanks Alex
svn path=/trunk/; revision=17644
2005-09-04 22:13:30 +00:00
Hervé Poussineau
ce468083d1 Alex prefers that we don't locally define structures that not in the DDK/IFS kit, but that we use the NDK headers.
This change breaks the compilation with the DDK/IFS kit only.

svn path=/trunk/; revision=17643
2005-09-04 22:12:35 +00:00
Hervé Poussineau
8857a8b8fd Allow compilation of npfs driver with MSVC
svn path=/trunk/; revision=17642
2005-09-04 21:44:02 +00:00
Hervé Poussineau
e7ad48c2a3 Allow compilation of fs_rec driver with MSVC
svn path=/trunk/; revision=17641
2005-09-04 21:14:54 +00:00
Hervé Poussineau
a650cc6d77 Don't double-define KEBUGCHECK(EX)
svn path=/trunk/; revision=17640
2005-09-04 20:45:34 +00:00
Hervé Poussineau
1037b8be47 Implement SetComputerNameExA/W
svn path=/trunk/; revision=17639
2005-09-04 20:11:51 +00:00
Alex Ionescu
ff6172bd8f - Various fixes to headers, such as fixing some LPC prototypes, adding/correcting some structures, adding some missing definitions, etc...
svn path=/trunk/; revision=17638
2005-09-04 18:00:59 +00:00
Alex Ionescu
84727764b0 - Disable two tests since the Balance Set Manager isn't implemented yet and they'll freeze ROS.
svn path=/trunk/; revision=17637
2005-09-04 15:57:17 +00:00
Filip Navara
eb59fe4b41 Get correct physical address in HalpGrowMapBuffers.
svn path=/trunk/; revision=17636
2005-09-04 15:18:52 +00:00
Eric Kohl
72f4f89fce Implement CM_Get_Class_Name_ExA.
svn path=/trunk/; revision=17635
2005-09-04 14:40:12 +00:00
Magnus Olsen
e6f2e6fcd6 fix bug 739 can not create file notepad newfile.txt
at cmd prompt

svn path=/trunk/; revision=17634
2005-09-04 11:47:50 +00:00
Magnus Olsen
49766a2024 Revers the change after reboot it did carcgh for me hole time.
svn path=/trunk/; revision=17633
2005-09-04 11:31:54 +00:00
Eric Kohl
7fca436afd - Enclose GUID in curly brackets.
- Implement CM_Get_Class_Key_Name_ExA.

svn path=/trunk/; revision=17632
2005-09-04 11:26:09 +00:00
Magnus Olsen
a1b00983ed remove some hardcode buffer value. The dymatic buffer does not work yet, until all CMDLINE_LENGTH are remove.
svn path=/trunk/; revision=17631
2005-09-04 11:18:39 +00:00
Filip Navara
6561d0f414 Fix the return value of HalReadDmaCounter at the end of transfer.
svn path=/trunk/; revision=17630
2005-09-04 11:17:37 +00:00
Filip Navara
3a10e56852 - Set the MAP_BASE_SW_SG flag for map registers in IoFreeMapRegisters.
- Fix address calculation in HalpCopyBufferMap.
- Correctly set the map register counter in IoMapTransfer if dealing with MAP_BASE_SW_SG map registers.

svn path=/trunk/; revision=17629
2005-09-04 10:02:19 +00:00
Magnus Olsen
adb5d8466f Remove more hardcode buffer value to dymatic buffer.
svn path=/trunk/; revision=17628
2005-09-04 09:54:59 +00:00
Magnus Olsen
1cb2b6830e fix a small bug after me, and check if it really got memmory or not.
svn path=/trunk/; revision=17627
2005-09-04 09:29:44 +00:00
Magnus Olsen
25f28a6291 remove some hardcode commadline buffer value. first step to implement dymatic buffer. but we need do it very carefull, so nothing will be broken.
svn path=/trunk/; revision=17626
2005-09-03 23:12:17 +00:00
Magnus Olsen
ada0f8dfe8 fix type can handler \n at text output thx ravelo for the small patch. see file misc.c. prompt.c fix the szParam so it have a buffer set. and do not use szParam for param, the param length can in future very big. when dymatic buffer be implement at command line.
svn path=/trunk/; revision=17625
2005-09-03 19:59:51 +00:00
Eric Kohl
040c539dd5 Fix GUID->String conversion.
Implement CM_Get_Class[_Ex]A/W.

svn path=/trunk/; revision=17624
2005-09-03 19:44:47 +00:00
Andrew Munger
fe417a79c4 Fix cmd build. Please check your changes before commiting.
svn path=/trunk/; revision=17623
2005-09-03 18:05:33 +00:00
Hartmut Birr
b10d2b80c1 Fixed the return value in KeRundownQueue if the queue is empty. This should fix bug 751.
svn path=/trunk/; revision=17622
2005-09-03 18:00:54 +00:00
Hartmut Birr
2cea7b7c46 Set the ownership before locking the bitmap in EngCreateDeviceSurface, because GDIOBJ_SetOwnership runs in a dead lock if the object is already locked by the same process.
This may fix bug 747.

svn path=/trunk/; revision=17621
2005-09-03 17:40:33 +00:00
Brandon Turner
acb0c26036 Setting my changes back for prompt.c. Greatlord and I agreed about this. These was a miscommication about these changes and the way different MS version handle it.
svn path=/trunk/; revision=17620
2005-09-03 11:51:22 +00:00
Magnus Olsen
ff5ad9b6d7 Updated translation by Anders, proofread by Andreas Bjerkeholt, rename Sw to sv, Sw stand for another language's. Steven can you send this change to winehq.
svn path=/trunk/; revision=17619
2005-09-03 11:50:23 +00:00
Magnus Olsen
96791c3aa3 Swedish translation by David Nordenberg, proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=17618
2005-09-03 11:23:24 +00:00
Magnus Olsen
729d73ef17 Swedish translation by Andreas Bjerkeholt, proofread by David Nordenberg. Some did forget add Es.rc to rsrc.rc (the Spanish translations)
svn path=/trunk/; revision=17617
2005-09-03 11:22:13 +00:00
Magnus Olsen
739b84b16d David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=17616
2005-09-03 11:20:04 +00:00
Magnus Olsen
c0fc3dba7b * Updated translation by Anders, proofread by Andreas Bjerkeholt
svn path=/trunk/; revision=17615
2005-09-03 11:05:31 +00:00
Magnus Olsen
5d08c58541 revers brandon change to prompt.c they are incorrect. Add a check if prompt env are set or not. if it is not set cmd set the prompt value. in cmd.c brandon forget that.
svn path=/trunk/; revision=17614
2005-09-03 09:46:46 +00:00
Brandon Turner
35240bd337 Correctly assign %propmt%.
cmd.c = give %prompt% default value of $P$G
prompt.c = when param are null, assign %prompt% to $P$G

svn path=/trunk/; revision=17613
2005-09-03 01:34:40 +00:00
Royce Mitchell III
937e6fc685 small efficiency boost
svn path=/trunk/; revision=17612
2005-09-03 01:19:25 +00:00
Brandon Turner
99c1fbbdfc Fixed a bug that crashed cmd when "cd /D" but no path. Bug reported by Harteex.
svn path=/trunk/; revision=17611
2005-09-02 22:41:40 +00:00