Commit graph

16197 commits

Author SHA1 Message Date
Thomas Bluemel
00d72052e8 #include "usetup.h" -> #include <usetup.h>
svn path=/trunk/; revision=17097
2005-08-06 14:57:57 +00:00
Thomas Bluemel
db692d3cdc fixed uninitialized variable warning
svn path=/trunk/; revision=17096
2005-08-06 11:59:31 +00:00
James Tabor
eac9a2caf0 Show DrawTextExA implemented.
svn path=/trunk/; revision=17095
2005-08-06 05:26:10 +00:00
James Tabor
1556909d27 Show SetParent implemented.
svn path=/trunk/; revision=17094
2005-08-06 05:25:13 +00:00
James Tabor
b492db20dd Show UpdateWindow implemented.
svn path=/trunk/; revision=17093
2005-08-06 05:24:05 +00:00
Thomas Bluemel
044ab19d99 handle the WM_SIZE message and resize/move the controls appropriately
svn path=/trunk/; revision=17092
2005-08-06 01:14:09 +00:00
Maarten Bosma
406b162be2 Add more DDRAWISURFs and remove useless #ifndefs.
svn path=/trunk/; revision=17091
2005-08-05 23:29:52 +00:00
Gé van Geldorp
ebdbcfb097 Sync to Wine-20050725:
Alexandre Julliard <julliard@winehq.org>
- Faster implementation of wcstombs that handles overlapping buffers
  properly (based on a patch by Dmitry Timoshkov).

svn path=/trunk/; revision=17090
2005-08-05 22:24:53 +00:00
Maarten Bosma
518084eb6d include ddk/d3dnthal.h as well
svn path=/trunk/; revision=17089
2005-08-05 21:53:20 +00:00
Filip Navara
94ae83f18a Remove spurious call from I8042BasicDetect.
svn path=/trunk/; revision=17086
2005-08-05 21:31:11 +00:00
Alex Ionescu
1eb8e4cde0 - FS Devices don't need a device queue, optimize the call away.
svn path=/trunk/; revision=17085
2005-08-05 21:25:52 +00:00
Alex Ionescu
6477828cdd - DeviceExtension should be NULL if the caller didn't specify any size for one.
svn path=/trunk/; revision=17084
2005-08-05 21:16:51 +00:00
Maarten Bosma
3d09f34d49 in ddrawgdi.h
- remove #if 0 (Define GdiEntries to thier internal names)
- include the right headers instead of defining things on it's own

svn path=/trunk/; revision=17083
2005-08-05 21:05:03 +00:00
Maarten Bosma
4b9db80475 undo my last change
svn path=/trunk/; revision=17082
2005-08-05 21:02:28 +00:00
Gé van Geldorp
ebe9abeb13 Update status
svn path=/trunk/; revision=17080
2005-08-05 20:49:13 +00:00
Gé van Geldorp
ccf9cf1d90 Sync to Wine-20050628:
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Mike McCormack <mike@codeweavers.com>
- Stub implementation for GetSoftwareUpdateInfo.
- Declare functions and correct prototypes.
Maarten Lankhorst <m.b.lankhorst@gmail.com>
- Improved ObtainUserAgentString stub.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.

svn path=/trunk/; revision=17079
2005-08-05 20:48:26 +00:00
Maarten Bosma
bb1f81a0fc Actually call the DDRAW_DllRegisterServer() and DDRAW_DllUnregisterServer() functions from DllMain.
svn path=/trunk/; revision=17078
2005-08-05 20:46:20 +00:00
Gé van Geldorp
3f6ea7fd61 Sync to Wine-20050628:
Stefan Leichter <Stefan.Leichter@camLine.com>
- Update version resource of msiexec.exe to current version shipped from
  Windows Update.
Mike McCormack <mike@codeweavers.com>
- Fix some declaration and write string warnings.

svn path=/trunk/; revision=17077
2005-08-05 20:30:42 +00:00
Gé van Geldorp
be83809179 Sync to Wine-20050628:
Alexandre Julliard <julliard@winehq.org>
- Get rid of the WaveMapper and MidiMapper options, the defaults should
  be good enough in all cases.
- Moved the audio driver configuration to HKCU\Software\Wine\Drivers and
  changed it a bit to follow the model of the graphics driver.
- Added magic comments to all Wine-specific registry accesses to make
  them easier to grep.
Mike McCormack <mike@codeweavers.com>
- Make a function static.
Francois Gouget <fgouget@free.fr>
- Fix winapi_check documentation warnings.
Rein Klazes <wijn@wanadoo.nl>
- In MCI_(Un)MapMsg16To32W with wMsg == MCI_OPEN(_DRIVER) only do
  strdupAtoW on those parameters that are flagged to be a string.

svn path=/trunk/; revision=17076
2005-08-05 20:25:46 +00:00
Filip Navara
638c41010a Revert change to ExSystemExceptionFilter.
svn path=/trunk/; revision=17075
2005-08-05 18:27:06 +00:00
Filip Navara
e86cc8cec8 Don't save and restore previous mode in trap handlers. This allows us to call KeGetPreviousMode() from exception handlers and get the right value.
svn path=/trunk/; revision=17074
2005-08-05 18:26:43 +00:00
Filip Navara
957a1ac6da Remove mouse device detection for now, since it fails on some i8042 clones.
svn path=/trunk/; revision=17073
2005-08-05 17:28:17 +00:00
Filip Navara
255c467f03 Protect NtQuerySystemInformation with SEH.
svn path=/trunk/; revision=17072
2005-08-05 15:45:14 +00:00
Filip Navara
c988422fc4 Move a flush call few lines down.
svn path=/trunk/; revision=17071
2005-08-05 15:41:20 +00:00
Magnus Olsen
290d54b180 Fixes a bug which disallows tab complete on empty input and a sorting bug which didnt account for locale by Brandon Turner
svn path=/trunk/; revision=17070
2005-08-05 15:40:53 +00:00
Filip Navara
457bfd725b Fix keyboard and mouse detection. We must disable the controller features before beginning the port check and we shouldn't fail if some port isn't found. Also detect the mouse on port before trying to use it.
svn path=/trunk/; revision=17069
2005-08-05 10:35:32 +00:00
Thomas Bluemel
d974b427de #include "advapi32.h" -> #include <advapi32.h>
svn path=/trunk/; revision=17068
2005-08-05 10:31:28 +00:00
Thomas Bluemel
5ed4bb62cd #include "acluilib.h" -> #include <precomp.h>
svn path=/trunk/; revision=17067
2005-08-05 10:27:32 +00:00
Thomas Bluemel
5fe92f070c #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=17066
2005-08-05 10:23:56 +00:00
Filip Navara
55ae128183 Comment out the ACPI enumeration entries for i8042prt driver. It's set as system load driver, so it's loaded anyway.
svn path=/trunk/; revision=17065
2005-08-05 10:11:21 +00:00
Filip Navara
6b88626e55 Fix shell32 build.
svn path=/trunk/; revision=17064
2005-08-05 10:01:51 +00:00
Alex Ionescu
ce4441ce6f - Removed all 3rd-party drivers due to popular request. Information on how to make the drivers work is now available on http://www.reactos.com/wiki/index.php/ReactOS_Drivers. .reg files could be created by volunteers to simplify the process, perhaps.
svn path=/trunk/; revision=17063
2005-08-05 09:38:12 +00:00
Thomas Bluemel
e6a171e0ab set eol-style to native and allow warnings (so it compiles with GCC4)
svn path=/trunk/; revision=17062
2005-08-05 09:16:38 +00:00
Gé van Geldorp
6a1354653c Sync to Wine-20050628:
Marcus Meissner <marcus@jet.franken.de>
- Move static variables out of header file, also the local interface
  implementations.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
cjacek <cjacek@gmail.com>
- Fix typo in comment about Wine registry key.
Alexandre Julliard <julliard@winehq.org>
- Moved a few registry keys from HKLM\Software\Wine to
  HKCU\Software\Wine for consistency.
- Added magic comments to all Wine-specific registry accesses to make
  them easier to grep.
- Sort entry points in the same order as Windows.
Stefan Huehner <stefan@huehner.org>
- Fix more -Wstrict-prototypes warnings.

svn path=/trunk/; revision=17061
2005-08-05 08:02:09 +00:00
Gé van Geldorp
a291f2d15a Sync to Wine-20050628:
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Mike McCormack <mike@codeweavers.com>
- SHCreateStreamOnFileW is implemented in shlwapi, so we don't need
  another implementation in shell32.
- Add a cast to get rid of a warning.
- Warning fixes for -Wmissing-declarations and -Wwrite-strings.
- Make functions static.
- -Wpointer-sign fixes.
- forward AddRef, Release, QueryInterface and GetClassID to internal
  implementations
- implement GetClassID properly
- Switch IShellLink to use shlwapi.SHCreateStreamOnFileW.
- Remove some uses of wine/unicode.h functions.
- Add the IContextMenu interface to the ShellLink object.
- Implement ShellLink's IShellExtInit::Initialize() method.
- add the IShellExtInit interface to the ShellLink object
- use inline functions rather than macros to resolve the
  implementation pointer from an interface pointer
- Add the IShellLinkDataList interface to the ShellLink object.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Use the CallForAttributes registry value, instead of promoting the
  root folder's SFGAO_FILESYSTEM flag to the registry.
- Return the correct attributes for the desktop folder.
- Corresponding tests.
- Support for shellfolder's CallForAttributes registry value.
- Let BindToObject fail, if called with empty relative pidl.
- Tests to show that it should do so.
- Fix SHBrowseForFolder to not pass an empty pidl to BindToObject.
- Fix a lurking infinite loop in SHGetPathFromIDList.
- Support for shellfolder's CallForAttributes registry value.
- Use SHGetPathFromIDList instead of SHELL32_GetPathFromIDList.
- Implement SHGetPathFromIDList based on GetDisplayNameOf.
Stefan Doesinger <stefandoesinger@gmx.at>
- Handle cidl==0 in shfldr_desktop, shfldr_fs and shfldr_mycomp.
- Remove the dwAttributes member from the IGenericSFImpl class, it's
  not needed and can't be initialised in Initialize and InitializeEx.
Vitaly Lipatov <lav@etersoft.ru>
- Realize DoEnvironmentSubstA via ExpandEnvironmentStringsA.
- Fix types and return values.
- Add prototype into shellapi.h.
Aric Stewart <aric@codeweavers.com>
- Fix the BrowseForFolder dialog so that when it does the callbacks it
  uses the correct message instead of always sending BEFM_INITIALIZED.
Juan Lang <juan_lang@yahoo.com>
- Const-ify a mask.
- Set default for "My Documents" to $HOME, and "Desktop" to ~/Desktop.
Alexandre Julliard <julliard@winehq.org>
- Sort entry points in the same order as Windows.
Francois Gouget <fgouget@free.fr>
- Fix winapi_check documentation warnings.
Marcus Meissner <marcus@jet.franken.de>
- ExtractAssociatedIconA needs to allocate enough space to have EAIW
  fill in lpIconPathW.
Huw Davies <huw@codeweavers.com>
- Unquote the icon file path if it's quoted.

svn path=/trunk/; revision=17060
2005-08-05 07:48:18 +00:00
Alex Ionescu
53aa4eb206 - Protect semaphore release with SEH, since it can cause an exception
- Correct object type initializer
- Correct incorrect PreviousMode checks
- Correct MaximumCount and ReleaseCount checks since they can't be negative either
- Harmonize formatting

svn path=/trunk/; revision=17059
2005-08-05 06:56:17 +00:00
Alex Ionescu
4a4e5adc99 - Add comments to code and clean it up
- Fix some incorrect operations
 - Optimize and fix loops

svn path=/trunk/; revision=17058
2005-08-05 06:54:15 +00:00
Alex Ionescu
9f32108192 - Optimize locking so that the Wake Lock is only entered after a first attempt determines the timer is a wake timer.
After the lock, a second check is done to make sure. However, since the first check will fail 99% of times, we will
  not acquire/release a spinlock, and thus decrease contention.
- Fix Object Type Initializer to actually use ExpTimerDelete when the object is deleted.
- Fix Initializer to report correct memory usage of timer object.
- Fix Initializer to report OBJ_OPENLINK as an invalid attribute for timer objects.
- Use correct access masks when modifying or querying timer objects.
- Handle wake timers in NtCancelTimer.
- Return warning NTSTATUS code if a wake timer is requested but not supported by the system (default on ROS).
- Check for valid timer type in NtCreateTimer.
- Check for valid period in NtSetTimer.
- Don't dereference the timer in NtSetTimer three times.
- Return the correct Due Time in NtQueryTimer by substracting the stable interrupt time.
- Harmonize formatting, fix some comments.

svn path=/trunk/; revision=17057
2005-08-05 06:53:56 +00:00
Alex Ionescu
2e6566c315 - Makefile change for previous commit.
svn path=/trunk/; revision=17056
2005-08-05 06:13:43 +00:00
Alex Ionescu
7500ee65fa - Move ExCreateUUID to uuid.c
- Move ExpVerifiySuite to sysinfo.c
- Delete util.c

svn path=/trunk/; revision=17055
2005-08-05 06:13:23 +00:00
Steven Edwards
6b12a0217e added oledlg.dll to the build. Needed by visio2k setup.
svn path=/trunk/; revision=17054
2005-08-05 03:59:05 +00:00
Alex Ionescu
1bb6a5ce2c - Remove unused ldr/userldr.c
- Rename LdrLoadInitialProcess to Exp... and move to executive initialization.
- Removed ldr/init.c
- Renamed ldr/sysdll.c functions to Psp (correct naming) and deleted file.
- Renamed SystemDll... ntdll pointers to correct Ke names
- Use direct Ke names instead of going through an API call.
- Make ExpInit... functions STDCALL

svn path=/trunk/; revision=17053
2005-08-05 03:44:24 +00:00
Magnus Olsen
3f935aa835 fix a small bug in cd, it did make all char lower case. done by me and Brandon Turner. clean up CD source bit more. Bug fix GetRootPath. it did not accepted upper case as driver letter. done by me
svn path=/trunk/; revision=17051
2005-08-04 22:08:16 +00:00
Filip Navara
b760d02f8f Fix keyboard input in usetup.
svn path=/trunk/; revision=17050
2005-08-04 21:55:43 +00:00
Steven Edwards
0466e5cbb2 took a stab at write support and turned it on. Removed getopt as its not needed.
svn path=/trunk/; revision=17049
2005-08-04 21:42:32 +00:00
Gé van Geldorp
b3af499b55 Sync to Wine-20050628:
Robert Shearman <rob@codeweavers.com>
- Improve tracing.
- Implement FC_UP and partially FC_OP.
- Don't needlessly marshal 4 bytes in NdrPointer*.
- Fix an RPC server startup race introduced by me.
- Don't pass the PROFILE_SERVER flag in to CreateNamedPipe as it is
  bogus.
- Call FlushFileBuffers to make sure the other end of the pipe doesn't
  get cut off prematurely.
- Don't call CancelIo as we should never have async I/O pending.
- Make NdrInterfacePointer* more reliable.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Alexandre Julliard <julliard@winehq.org>
- Sort entry points in the same order as Windows.
Mike Hearn <mh@codeweavers.com>
- Initialize DataRepresentation in NdrClientInitializeNew, not
  NdrSendReceive.

svn path=/trunk/; revision=17048
2005-08-04 21:35:00 +00:00
Magnus Olsen
fc05329e7f Windows TAB complete style instead for unix style patch by Brandon Turner. Thuse does people do not like windows tab complete, the can always change in config.h to unix/linux tab complete code again.
svn path=/trunk/; revision=17043
2005-08-04 12:41:42 +00:00
Thomas Bluemel
16025312da compile welcome.exe as unicode application by default
svn path=/trunk/; revision=17042
2005-08-04 10:41:58 +00:00
Gé van Geldorp
52fafec558 Sync to Wine-20050628:
Phil Krylov <phil@newstar.rinet.ru>
- Implemented EM_GETTEXTLENGTHEX RichEdit message.
Krzysztof Foltman <wdev@foltman.com>
- added support for \ulnone (turning underline off)
- support for basic subscript and superscript
- untested support for text offset
- Emit \tx for user-defined TABs.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.
Vitaly Lipatov <lav@etersoft.ru>
- Allow null pointers for EM_GETSEL message (as MSDN says).
Robert Shearman <rob@codeweavers.com>
- Richedit classes should be global.

svn path=/trunk/; revision=17041
2005-08-04 06:52:58 +00:00
Thomas Bluemel
ed9faae3c7 properly implement scrolling
svn path=/trunk/; revision=17040
2005-08-04 00:16:41 +00:00