Commit graph

17851 commits

Author SHA1 Message Date
Gé van Geldorp
91c3198544 Sync to Wine-0_9:
Lionel Ulmer <lionel.ulmer@free.fr>
- fix first two arguments to 'FindExecutableA' (input strings instead
  of pointers)
- fix last argument to 'FindExecutableW' (it's an output string)
Francois Gouget <fgouget@free.fr>
- Use "static const" rather than "const static" as gcc -W complains
  about the former.
Jonathan Ernst <Jonathan@ErnstFamily.ch>
- First creation of registry entries missed AppData.
Aric Stewart <aric@codeweavers.com>
- MSDN states that the pszDisplayName member of BROWSEINFO is assumed to
  be MAX_PATH in length. So when doing the A->W conversion in
  BrowseForFolderA do not set that member to be the size of the
  incoming string, instead make it MAX_PATH.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Use appropriate DDE APIs (ANSI or unicode) for ShellExecuteA/W, Excel
  2000 depends on that.
Martin Fuchs <martin-fuchs@gmx.net>
- Simplify 'sei' structure initialization in ShellExecuteA/W.
Mike McCormack <mike@codeweavers.com>
- Use ShellLink_QueryInterface to return the right interface in
  IShellLink_Constructor.
Richard Cohen <richard@daijobu.co.uk>
- Don't hardcode "windows" directory.

svn path=/trunk/; revision=18956
2005-11-02 20:50:50 +00:00
Gé van Geldorp
174476f772 Sync to Wine-0_9:
Phil Krylov <phil@newstar.rinet.ru>
- Fixed encoding of non-ASCII chars.
Krzysztof Foltman <wdev@foltman.com>
- Bugfix in EM_GETTEXTEX
- Additional traces helpful in diagnosing similar (text
  retrieval-related) bugs.
- Fix unnecessary (and harmful) repeated statement.
- Removed buffer overrun error (incrementing output pointer one time too
  much in non-CRLF mode) making KeyNote fail to install.
- Style trace information is written to different debug channel (it's
  not very useful anymore, reference counting looks correct for now).
- The document dump contains the character position of the end-of-text
  mark.
- The previous implementation was a workaround for off-by-one bug in
  ME_RunOfsFromCharOfs, this one relies on correct behavior of that
  function introduced by the previous patch.
- Send verbose info to different debug channels (richedit_check for
  output from offset checker, richedit_lists for the document list
  dumps).
- Fix a bug in 1.0 emulation mode in EM_LINELENGTH (which broke PTE
  installer).
- Fixed EOL detection in ME_RunOfsFromCharOfs in 1.0 emulation mode
  (necessary for a non-workaround version of EM_POSFROMCHAR).
- Fix 1.0 emulation mode in ME_GetTextW.
- Remove another potential sources of infinite loops caused by EOF in
  the middle of the font and color tables.
- Closing brace on text level is treated as EOF (effectively
  protecting the control from trash after the end of RTF).
- Removed misleading comment about incomplete buffers (I was
  definitely wrong).
- Implemented EM_GETFIRSTVISIBLELINE and EM_POSFROMCHAR (basic
  suboptimal implementation, can be optimized to skip whole paragraphs
  later if it's useful at all).
- Fixed another case of misunderstanding MSDN wrt StreamInProc, causing
  license text to be truncated in Picasa installer (as well as some
  other programs, especially those that display long texts with NSIS).

svn path=/trunk/; revision=18955
2005-11-02 20:03:07 +00:00
Gé van Geldorp
4f4eef04fd Sync to Wine-0_9:
Pierre d'Herbemont <pidherbemont@opendarwin.org>
- Allow compilation on non-i386.
Huw Davies <huw@codeweavers.com>
- When a dispinterface isn't dual, we should return
  TYPE_E_ELEMENTNOTFOUND when trying to get index -1.
- Proxies and stubs for GetTypeInfoCont, GetLibAttr and ReleaseLibAttr.
- Implement GetContainingTypelib_{Proxy,Stub}.

svn path=/trunk/; revision=18954
2005-11-02 19:28:16 +00:00
Martin Fuchs
44d671e34d regedit: polish resource file from Sebastian Gasiorek (sebastian dot gasiorek at gmail dot com
svn path=/trunk/; revision=18953
2005-11-02 18:36:04 +00:00
Gé van Geldorp
02d236693b ScoTTie <scott@wizzer-it.com>/erie-- <seditaniedi@gmail.com>
Build fixes for FreeBSD

svn path=/trunk/; revision=18952
2005-11-02 16:13:00 +00:00
Christoph von Wittich
eb90b6c916 * compile .S files with MSVC2002/2003 too
svn path=/trunk/; revision=18951
2005-11-02 15:32:05 +00:00
Royce Mitchell III
7a80b9dabf newer msvc's are aware of __FUNCTION__
svn path=/trunk/; revision=18950
2005-11-02 14:18:40 +00:00
Brandon Turner
0f821d720d Some changes for better formatting / following standards.
svn path=/trunk/; revision=18949
2005-11-02 14:15:42 +00:00
Royce Mitchell III
486e2e5a02 comment out incorrect #defines
svn path=/trunk/; revision=18948
2005-11-02 14:08:16 +00:00
Brandon Turner
f39d1cda03 fix for bug 875. Patch by jvangael@wisc.edu
svn path=/trunk/; revision=18947
2005-11-02 13:49:14 +00:00
Thomas Bluemel
12b9b7e3aa implemented yet one more - still useless - function: RtlCreateSystemVolumeInformationFolder
svn path=/trunk/; revision=18946
2005-11-02 01:39:30 +00:00
Thomas Bluemel
8006508b1a return the required buffer size in RtlMakeSelfRelativeSD if the supplied buffer is too small
svn path=/trunk/; revision=18945
2005-11-02 00:40:35 +00:00
Alex Ionescu
524dd664c3 - RtlCreateUnicodeString fails if the Length is > 0xFFFE on Windows NT 5.2 and higher. Spotted by Thomas.
svn path=/trunk/; revision=18944
2005-11-01 23:54:39 +00:00
Gé van Geldorp
baee1b54eb Patch by hpoussin/GvG
- Read parameters in the right registry key
- Force exclusive opening on device object
- Add hack for first stage setup (link main device object to \??\Keyboard)
- Use buffered IO
- Reference pointer port DOs when they are linked to pointer class DO

svn path=/trunk/; revision=18943
2005-11-01 23:39:12 +00:00
Alex Ionescu
f9d8fe961d - Revert so call "Fixes" introduced in 18941 because they are bugs which I had to fix in 18002 and adding back bugs isn't really a good idea.
svn path=/trunk/; revision=18942
2005-11-01 23:37:26 +00:00
Thomas Bluemel
3cda2939fe various minor fixes
svn path=/trunk/; revision=18941
2005-11-01 22:45:35 +00:00
Thomas Bluemel
837e60ee47 fixed a typo
svn path=/trunk/; revision=18940
2005-11-01 22:39:14 +00:00
Thomas Bluemel
23c6b8167f properly handle fragmented self-relative security descriptors in the 64 bit version of RtlSelfRelativeToAbsoluteSD2
svn path=/trunk/; revision=18939
2005-11-01 22:36:00 +00:00
Thomas Bluemel
30b938fbe9 implemented RtlSelfRelativeToAbsoluteSD2 for 32 and 64 bit builds
svn path=/trunk/; revision=18938
2005-11-01 21:53:36 +00:00
Martin Fuchs
07a232d2e7 create two new functions String::str() and String::toLower() to avoid _tcslwr() calls and allow convenient string conversions
svn path=/trunk/; revision=18937
2005-11-01 20:30:17 +00:00
Magnus Olsen
0749054fcf do not try free memmory at exit it seam like the DdDeleteDirectDrawObject doing it for us, and it does not crash any longer at exists
svn path=/trunk/; revision=18936
2005-11-01 18:53:37 +00:00
Magnus Olsen
4fdcdd13c6 Fixed a crach. and do not hardcode the flag ddsd to primersurface amd other value.
svn path=/trunk/; revision=18935
2005-11-01 18:42:50 +00:00
Magnus Olsen
b954033d53 split up CreateSurface to hal and hel interface
svn path=/trunk/; revision=18934
2005-11-01 18:27:09 +00:00
Brandon Turner
afa72f4caa Small unicode safe changes by me. Small msvc build error fix by jvangael@wisc.edu.
svn path=/trunk/; revision=18933
2005-11-01 17:01:36 +00:00
Thomas Bluemel
0ecd041efc - if a file object is a named pipe don't allow the FILE_APPEND_DATA access right as it equals FILE_CREATE_PIPE_INSTANCE (NtFlushBuffersFile and NtWriteFile)
- add more parameters probing and capturing code

svn path=/trunk/; revision=18932
2005-11-01 16:17:25 +00:00
Magnus Olsen
6e138c7f47 * Source cleanup.
* SetMode adding a check see if it same reslution or not if it not same we change it.
* SetMode adding correct check for hal or hel. choice hal if it the drv provide it. 

svn path=/trunk/; revision=18931
2005-11-01 14:46:34 +00:00
Eric Kohl
b4693503e5 - Mark service for delete in the registry.
svn path=/trunk/; revision=18930
2005-11-01 13:52:22 +00:00
Eric Kohl
9c843bd352 Update the Indentation.
svn path=/trunk/; revision=18929
2005-11-01 13:47:40 +00:00
Maarten Bosma
f72f2cf5ea Another few cosmetic changes and also except DDSURFACEDESC as parameter for CreateSurface.
svn path=/trunk/; revision=18928
2005-11-01 12:17:25 +00:00
Maarten Bosma
416daf8bd1 Add call to DdReenableDirectDrawObject (GdiEntry10) where it is needed.
svn path=/trunk/; revision=18927
2005-11-01 12:02:12 +00:00
Maarten Bosma
b7d56ed0e3 fix compiling again, sorry.
svn path=/trunk/; revision=18926
2005-11-01 11:35:01 +00:00
Maarten Bosma
abdfa2a93b Some cosmetic changes like replacing tabs with spaces and grouping all stubs together.
svn path=/trunk/; revision=18925
2005-11-01 11:32:35 +00:00
Maarten Bosma
e72a06483d fix compile
svn path=/trunk/; revision=18924
2005-11-01 09:59:21 +00:00
Maarten Bosma
72d7506aca Fixed the "header problems".
svn path=/trunk/; revision=18923
2005-11-01 09:50:29 +00:00
Maarten Bosma
1287fda4c9 Remove DUMMYUNIONNAMEs since it fixes compile problems.
svn path=/trunk/; revision=18922
2005-11-01 09:48:01 +00:00
Maarten Bosma
c5db6531f3 Created makefile for alphablend-test in rosapps.
svn path=/trunk/; revision=18921
2005-11-01 08:37:43 +00:00
Martin Fuchs
e918f31d8f correctly call HCR_GetFolderAttributes() in SHELL32_GetItemAttributes() to fix explorer's start menu root
svn path=/trunk/; revision=18920
2005-11-01 01:39:45 +00:00
Magnus Olsen
eb40205bb8 fill in the DDSD we got from the call of createsurface it is not complete
svn path=/trunk/; revision=18919
2005-10-31 20:43:06 +00:00
Thomas Bluemel
cb2e289656 fix return type of ObDereferenceSecurityDescriptor
svn path=/trunk/; revision=18918
2005-10-31 20:35:03 +00:00
Magnus Olsen
0e0d775a1d Fix someprat of Createsurface now it is working for ati readon, the code is not complete.
svn path=/trunk/; revision=18917
2005-10-31 20:08:24 +00:00
Thomas Bluemel
341406bf3c added stubs for ObLogSecurityDescriptor and ObDereferenceSecurityDescriptor
svn path=/trunk/; revision=18916
2005-10-31 19:41:27 +00:00
Thomas Bluemel
52e523d86c don't ask for generic read access rights in WaitNamedPipe
svn path=/trunk/; revision=18915
2005-10-31 19:39:22 +00:00
Maarten Bosma
eea652f412 Fix wrong DDESC2 to DDESC conversion. Spotted by GreatLord.
svn path=/trunk/; revision=18914
2005-10-31 19:12:07 +00:00
Magnus Olsen
8e04cb351f Use the info we got from callback for the res in createsurface
svn path=/trunk/; revision=18913
2005-10-31 19:02:09 +00:00
Hartmut Birr
5fad003df8 Removed the 'special' mode, because it didn't connect a pipe.
svn path=/trunk/; revision=18912
2005-10-31 18:56:44 +00:00
Hervé Poussineau
5a77f871d4 Big move of driver input stack to a Plug-and-Play model:
- mouclass:
  Do non buffered IO. The pointer move should be smoother.
  Search non Plug-and-Play drivers in registry, instead of using their device name.
- kbdclass:
  Full rewrite to support more than one keyboard.
  Use registry settings as specified in MSDN.
  (Info: kbdclass is now very similar to mouclass)
- i8042prt:
  Keep it as a non Plug-and-Play driver, but register it in DEVICEMAP registry key.
- USB controller:
  Enable USB keyboard/mouse

I may have broken support for serial mice, i'll add it back in a few days...

svn path=/trunk/; revision=18911
2005-10-31 16:46:46 +00:00
Aleksey Bragin
615b2d64a7 I don't think tracert really depends on winmm lib.
svn path=/trunk/; revision=18910
2005-10-31 11:59:29 +00:00
Hartmut Birr
dad4f98487 Do always dereference the section object if it was created (in PspCreateProcess).
svn path=/trunk/; revision=18909
2005-10-31 08:02:49 +00:00
Magnus Olsen
36704a0989 Fix some crach in ddraw.dll startup process for surface, we still got crach and surface are being setup wrong. working on this.
svn path=/trunk/; revision=18908
2005-10-31 01:22:19 +00:00
Brandon Turner
2995749811 only show one screen of text at a time for displaying help.
svn path=/trunk/; revision=18907
2005-10-31 00:53:00 +00:00