Commit graph

2450 commits

Author SHA1 Message Date
Pierre Schweitzer 415228662a Updated French translation for shell32. Also fixed typo, even if I thought I already did it!?
svn path=/trunk/; revision=34991
2008-08-01 09:14:56 +00:00
Matthias Kupfer dd7dc24c8d Patch by Gregor Schneider a.k.a DosX
- use line breaks in debug output

svn path=/trunk/; revision=34966
2008-07-30 21:16:03 +00:00
Johannes Anderwald 17131c2512 - don't display network propery dialog since it is not yet implemented
svn path=/trunk/; revision=34963
2008-07-30 16:55:45 +00:00
Jeffrey Morlan 92680636ef kernel32: Don't enter the ConsoleLock if it has already been deleted by DllMain. Patch by hto (hto at dev dot null) (Bug 2308)
svn path=/trunk/; revision=34961
2008-07-30 15:00:57 +00:00
Johannes Anderwald b3ca3dbbd0 - fix a bug which made the label display 2x times the drive letter
svn path=/trunk/; revision=34957
2008-07-30 13:09:49 +00:00
Matthias Kupfer 6e77c40907 - fix wrong "ss" in German (Germany) ressource
- Swiss German version need own ressource file

svn path=/trunk/; revision=34956
2008-07-30 12:34:00 +00:00
Matthias Kupfer 9b8755513d Mario Kacmar <kario AT szm DOT sk>
- Updated Slovak translation for eventvwr, win32 and new Slovak translation for regedit added.
- See issue #33610 for more details.

svn path=/trunk/; revision=34954
2008-07-30 12:14:30 +00:00
Colin Finck ef848a8f68 Remove a change from our diff file for comctl32, which is in Wine HEAD as well.
See issue #2843 for more details.

svn path=/trunk/; revision=34948
2008-07-30 10:11:09 +00:00
Johannes Anderwald 1fa91ed658 - fix an obvious bug (introduced by me)
See issue #3064 for more details.

svn path=/trunk/; revision=34936
2008-07-29 18:54:28 +00:00
James Tabor 6d82180d7a - Add Event handle type.
svn path=/trunk/; revision=34935
2008-07-29 18:53:46 +00:00
Johannes Anderwald 4c985ce93a - register network neighbourhood as a desktop namespace extension
svn path=/trunk/; revision=34933
2008-07-29 18:03:23 +00:00
Johannes Anderwald fc0eaa9b92 - update polish translation by Olaf Siejka (Caemyr)
svn path=/trunk/; revision=34932
2008-07-29 17:49:32 +00:00
Johannes Anderwald ff15b21470 - fix titles in folder property dialog
- translate title to native language when available

svn path=/trunk/; revision=34930
2008-07-29 17:19:16 +00:00
Johannes Anderwald 60db6af48b - implement folder property dialog
- sync chinese resource files

svn path=/trunk/; revision=34929
2008-07-29 16:52:39 +00:00
Christoph von Wittich 72cd091bff Odbccp32 dll doesn't have a DllMain function
reported by hto
See issue #3603 for more details.

svn path=/trunk/; revision=34924
2008-07-29 07:30:49 +00:00
James Tabor 274bd6b2ab - Added more hook points, WH_FOREGROUNDIDLE and WH_KEYBOARD.
- Fixed WH_CALLWNDPROC/RET, now the posted test program works as it should.
- Tested with Opera 9.51, FF, Seamonkey, Abiword, Miranda, Mirc and the rest of our applications.

svn path=/trunk/; revision=34922
2008-07-29 00:35:05 +00:00
Johannes Anderwald 67821bff32 - display volume label for disk drives. If there is no label, load default label
svn path=/trunk/; revision=34915
2008-07-28 19:47:19 +00:00
Johannes Anderwald 81e31939b1 - reenable drive properties dialog
svn path=/trunk/; revision=34913
2008-07-28 18:23:42 +00:00
Johannes Anderwald bbf489032b - implement changing drive volume name
- display default volume label "local disk" if there is no title
- verify that provided clsid is valid
- display drive property dialog
- note: changing volume label currently leads to a crash

svn path=/trunk/; revision=34867
2008-07-27 22:58:19 +00:00
Aleksey Bragin e880f2361a - ntdll should be the last library in the list, not the first or somewhere in the middle ("as it imports from nothing and everything else should be resolved with it", by Herve). This fixes some base system DLLs dependency on msvcrt (which doesn't exist in Windows). Thanks Herve!
svn path=/trunk/; revision=34851
2008-07-27 16:03:38 +00:00
Jeffrey Morlan b1086dbdae Move console alias functions from csrss to win32csr, and make aliases per-console.
svn path=/trunk/; revision=34817
2008-07-27 00:41:45 +00:00
Jeffrey Morlan cbf6a79f07 - IntWriteConsoleInput: Copy the data *to* the capture buffer, not *from* it!
- Move code for handling ^C (plus that weird pseudo-scrolling thing) from ConioProcessChar to ConioProcessKey, so that WriteConsoleInput won't generate ctrl events.
- ConioProcessChar: Remove redundant NULL == Console checks (Console can't be NULL at this point), and move debug message into the check in ConioProcessKey.

svn path=/trunk/; revision=34808
2008-07-26 15:20:21 +00:00
Aleksey Bragin 138fbd967b Jon Griffiths
msvcrt: Implement ___setlc_active_func/___unguarded_readlc_active_add_func

svn path=/trunk/; revision=34806
2008-07-26 11:54:54 +00:00
Hervé Poussineau d62f18210a Revert incorrect fix committed in r34077 by cfinck, and replace it by a better one.
svn path=/trunk/; revision=34788
2008-07-25 18:45:54 +00:00
James Tabor 9f5f04ab20 Check for null pointers, keep wine msg test from crashing.
svn path=/trunk/; revision=34774
2008-07-25 12:26:22 +00:00
James Tabor c688d08ea3 - Add call window proc hooks.
svn path=/trunk/; revision=34766
2008-07-25 01:02:17 +00:00
James Tabor eaa1dbeb84 - Plug in WH_KEYBOARD callback.
svn path=/trunk/; revision=34762
2008-07-24 22:00:41 +00:00
Johannes Anderwald d228207f6f - enumerate all file types for folder options namespace applet
- use mui string when available
- load the title from shell32 module base
- remove PSH_PROPTITLE flag

svn path=/trunk/; revision=34757
2008-07-24 21:26:36 +00:00
James Tabor e928cd52fd - Added more hook points. Setup WH_MOUSE with callbacks, seems to be preloaded. Started BroadcastSystemMessage.
- Tested with Opera 9.51, FF, Seamonkey, Abiword, Miranda and the rest of our applications.

svn path=/trunk/; revision=34736
2008-07-24 11:38:08 +00:00
Ged Murphy 5032762531 - dependencies is a double terminated string array
- patch by bugboy <martinmnet at hotmail dot com>

svn path=/trunk/; revision=34729
2008-07-24 07:57:20 +00:00
James Tabor ca0afa576e - Fix show window call and add message calls for future hook support.
svn path=/trunk/; revision=34698
2008-07-23 21:18:48 +00:00
Jeffrey Morlan 4246bf6783 - Implement handle access checking on all console functions.
- OpenConsoleW: Fourth parameter is actually share mode (passing a number from 0 to 2 will usually give ERROR_SHARING_VIOLATION on Windows)
- CreateFileW: Move CONIN$/CONOUT$ handling after dwCreationDisposition checks (it must be valid, even though it doesn't matter which it is); pass FILE_SHARE_READ|FILE_SHARE_WRITE to OpenConsoleW (dwShareMode is ignored).
- CloseConsoleHandle, CsrReleaseObject, CsrVerifyObject: Remove IsConsoleHandle checks - Windows ignores lower 2 bits of handle for closing and verifying.
- SetConsoleMode: Remove IsConsoleHandle check - it's redundant, since the same check is done in CsrGetObject.
- CsrIsConsoleHandle, CsrReleaseObjectByPointer: Clean up a bit.
- CsrFreeConsole: Remove the process from the console's list.

svn path=/trunk/; revision=34694
2008-07-23 16:21:46 +00:00
James Tabor 0868fdb45d - Fixed CallNextHookEx, now we do make the callback. Q, how to reload it at the end of the list? Fix for bug 3549.
- Tested with Opera 9.51(still breaks when getting the page see bug 3465), FF, Seamonkey, Abiword, and the rest of our applications.

svn path=/trunk/; revision=34691
2008-07-22 23:46:31 +00:00
Jeffrey Morlan 0cc9f32797 - Implement access masks and optional inheritability for console handles. Currently, only CsrDuplicateHandle actually checks the access mask.
- CreateFileW: Pass CONIN$/CONOUT$ opens to OpenConsoleW.
- DuplicateConsoleHandle: Remove ProcessId from request structure, since console handles can only be duplicated in the calling process.
                          Don't check low bits of handle (Windows ignores them), but do check options and (if DUPLICATE_SAME_ACCESS is not specified) access mode. 
- OpenConsoleW: Make wsName parameter const; allow any combination of GENERIC_READ and GENERIC_WRITE, don't require both.
- CreateConsoleScreenBuffer: Add parameter checks; return INVALID_HANDLE_VALUE (not FALSE) on failure.
- Remove remnants of unnecessary handle in Get/SetConsoleTitle.
- CsrDuplicateHandle: Implement DUPLICATE_CLOSE_SOURCE and DUPLICATE_SAME_ACCESS options.

svn path=/trunk/; revision=34685
2008-07-22 17:37:13 +00:00
Johannes Anderwald c18f0a3fb9 - fix multiple bugs in mydocuments shellfolder:
- zero initialize buffer
- check return value of SHGetSpecialFolderPathW
- zeroize buffer in ISF_MyDocuments_fnGetDisplayNameOf


svn path=/trunk/; revision=34678
2008-07-22 11:20:01 +00:00
James Tabor 4f11e10d3d - Rewrite HOOKs, Implement CallNextHookEx and fix prototype for NtUserCallNextHookEx. Move hook structure to ntuser.h for user verifying.
- Tested with FF, Seamonkey, Abiword, and the rest of our applications.

svn path=/trunk/; revision=34653
2008-07-22 04:54:53 +00:00
Ged Murphy 03764ecabe - Fix NeedCurrentDirectoryForExePath. Based on Wine code
- Passes all kernel32:path winetests

svn path=/trunk/; revision=34644
2008-07-21 19:54:50 +00:00
Matthias Kupfer 3f38468f23 avoid flicker when registering components
svn path=/trunk/; revision=34638
2008-07-21 15:52:52 +00:00
Ged Murphy ee13626507 - fix the length of the dependencies string
- spotted by bugboy <martinmnet at hotmail dot com>

svn path=/trunk/; revision=34634
2008-07-21 11:43:55 +00:00
James Tabor 7272eb9108 Move NUMC defines to FNIDs.
svn path=/trunk/; revision=34582
2008-07-19 03:49:48 +00:00
Matthias Kupfer 820054b030 Mario Kacmar <kario AT szm DOT sk>
- Slovak and Czech translation of several rc-files
- See #3519 for more details.

svn path=/trunk/; revision=34578
2008-07-18 20:58:09 +00:00
Stefan Ginsberg 7c9bd27915 - Fix a typo in the DC_ATTR structure: mxDevicetoWorld -> mxDeviceToWorld
svn path=/trunk/; revision=34569
2008-07-17 21:54:40 +00:00
Jeffrey Morlan b4db43fa7b Clean up console code a bit:
- Get/SetConsoleTitle: Get rid of unnecessary handle creation; instead, just have csrss get the console from the ProcessData.
- Instead of using ShowX/ShowY to store the origin of the buffer, use the VirtualX member that was put there for this purpose. Rename it to VirtualY, though, since it's a row number. ShowX/ShowY should hold the position of the visible window, once that's implemented.
- From the CSRSS_CONSOLE structure: remove hActiveBuffer (redundant), CodePageId (unused), and hWindowIcon (only used as a temporary)
- Make cursor coordinates be "logical", not "physical". This simplifies various things.
- ConioConsoleFromProcessData: If process has no console, return STATUS_INVALID_HANDLE; don't pretend to succeed (causing many functions to access memory around address 0, which is probably not a good thing). Remove various Console != NULL checks which are now unnecessary.

svn path=/trunk/; revision=34568
2008-07-17 21:53:39 +00:00
Stefan Ginsberg 03c3603a3d -PCHify OpenGL32
svn path=/trunk/; revision=34562
2008-07-17 11:37:49 +00:00
Christoph von Wittich 30feb7b285 fix for getaddrinfo
patch by Yuri Sidorov <jura at cp-lab dot com>

svn path=/trunk/; revision=34560
2008-07-17 08:07:37 +00:00
Colin Finck 248d39652c - Remove 2 wrong versions of wctomb and 2 wrong versions of wcstombs
- Implement new versions of wctomb and wcstombs, which consider the language set by setlocale() and work according to all behaviours I could find when testing under WinXP SP2.
  This was tested with an own test suite (which I can commit as well if anyone is interested)
- Do a real conversion to MultiByte characters using wctomb in fputwc and vfwprintf. (verified under WinXP SP2)
- Set 'MSVCRT___lc_codepage' and 'MSVCRT___lc_collate_cp' to 1252 by default ("C" locale) and not the current active codepage (which might not work with i.e. Eastern codepages)
- Add a new check for 'MultiByteCount < 0' to WideCharToMultiByte (also verified under WinXP SP2)
- Change MB_LEN_MAX back to 2, the value 5 only applies to newer CRT's (msvcrt only handles single-byte and double-byte characters)
- Don't compile the Wine-imported 'wcscpy_s', it isn't available in msvcrt

svn path=/trunk/; revision=34557
2008-07-16 21:40:09 +00:00
Ged Murphy 5744130b55 - Implement freeaddrinfo and getaddrinfo.
- Implement bare boned getprotobyname and getprotobynumber.
- Make winsock functions return proper error codes instead of success (will help to identify any probs with network apps)
- patch by Yuri Sidorov <jura at cp-lab dot com>

For future reference, freeaddrinfo and getaddrinfo should really call GetAddrInfoW and FreeAddrInfoW which should do the work, but our umode network layers are a mess anyway and by no means XP compatible
See issue #3523 for more details.

svn path=/trunk/; revision=34545
2008-07-16 12:49:15 +00:00
James Tabor 900b6e2e6a Sorry for commit my test tree,,,, good for testing Bug 2451.
svn path=/trunk/; revision=34541
2008-07-16 02:06:05 +00:00
James Tabor 702a9bb706 make does like tabs, right? Fix build.
svn path=/trunk/; revision=34540
2008-07-16 01:22:26 +00:00
Daniel Reimer ef31815a6a Bug 3505: Simplified Chinese Translation Patch by Zhangbing. I skipped Wordpad, because we sync this with Wine and skipped appwiz, because it fails to build.
svn path=/trunk/; revision=34501
2008-07-14 09:26:38 +00:00