- Timestamp:
- Apr 4, 2001, 11:05:50 AM (25 years ago)
- Location:
- trunk/src
- Files:
-
- 30 edited
-
crtdll/crtdll.cpp (modified) (3 diffs)
-
ddraw/OS2CLIPPER.CPP (modified) (2 diffs)
-
ddraw/OS2DDRAW.CPP (modified) (2 diffs)
-
ddraw/OS2SURFACE.CPP (modified) (2 diffs)
-
ddraw/bltFunc.cpp (modified) (2 diffs)
-
ddraw/colorconv.cpp (modified) (2 diffs)
-
ddraw/ddraw.CPP (modified) (2 diffs)
-
ddraw/fillfunc.cpp (modified) (2 diffs)
-
gdi32/metafile.cpp (modified) (2 diffs)
-
gdi32/objhandle.cpp (modified) (2 diffs)
-
gdi32/text.cpp (modified) (6 diffs)
-
odincrt/initterm.cpp (modified) (1 diff)
-
ole32/ole32.h (modified) (2 diffs)
-
oleaut32/oleaut32.h (modified) (2 diffs)
-
rpcrt4/rpcrt4.h (modified) (2 diffs)
-
shell32/misc.cpp (modified) (2 diffs)
-
shell32/unknown.cpp (modified) (2 diffs)
-
shlwapi/shlwapi.cpp (modified) (2 diffs)
-
user32/clipboard.cpp (modified) (2 diffs)
-
user32/dde.cpp (modified) (2 diffs)
-
user32/user32.h (modified) (2 diffs)
-
user32/win32class.cpp (modified) (2 diffs)
-
user32/windowclass.cpp (modified) (2 diffs)
-
version/info.c (modified) (2 diffs)
-
version/version.cpp (modified) (2 diffs)
-
winmm/joy.cpp (modified) (3 diffs)
-
winmm/mci.cpp (modified) (2 diffs)
-
winmm/waveoutdart.cpp (modified) (2 diffs)
-
winspool/winspool.cpp (modified) (2 diffs)
-
wnetap32/wnetap32.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/crtdll/crtdll.cpp
r4671 r5472 1 /* $Id: crtdll.cpp,v 1.28 2000-11-22 00:49:54 phaller Exp $ */2 3 1 /* 4 2 * The C RunTime DLL … … 57 55 #include <sys\stat.h> 58 56 #include "signal.h" 57 #include <time.h> 59 58 60 59 #include <crtdll.h> … … 66 65 ODINDEBUGCHANNEL(CRTDLL) 67 66 68 67 #undef dprintf2 69 68 #define dprintf2 dprintf 70 69 -
trunk/src/ddraw/OS2CLIPPER.CPP
r4146 r5472 1 /* $Id: OS2CLIPPER.CPP,v 1.1 0 2000-09-02 08:27:05sandervl Exp $ */1 /* $Id: OS2CLIPPER.CPP,v 1.11 2001-04-04 09:02:14 sandervl Exp $ */ 2 2 3 3 /* … … 11 11 */ 12 12 13 #include <odin.h> 13 14 #include <memory.h> 14 15 -
trunk/src/ddraw/OS2DDRAW.CPP
r5392 r5472 1 /* $Id: OS2DDRAW.CPP,v 1.2 7 2001-03-28 16:21:06sandervl Exp $ */1 /* $Id: OS2DDRAW.CPP,v 1.28 2001-04-04 09:02:14 sandervl Exp $ */ 2 2 3 3 /* … … 13 13 */ 14 14 15 #include <odin.h> 15 16 #include <stdlib.h> 16 17 #include <string.h> -
trunk/src/ddraw/OS2SURFACE.CPP
r5443 r5472 1 /* $Id: OS2SURFACE.CPP,v 1.3 1 2001-04-02 18:21:10sandervl Exp $ */1 /* $Id: OS2SURFACE.CPP,v 1.32 2001-04-04 09:02:14 sandervl Exp $ */ 2 2 3 3 /* … … 11 11 */ 12 12 13 #include <odin.h> 13 14 #include <stdlib.h> 14 15 #include <string.h> -
trunk/src/ddraw/bltFunc.cpp
r5326 r5472 1 /* $Id: bltFunc.cpp,v 1. 3 2001-03-18 21:44:44 mikeExp $ */1 /* $Id: bltFunc.cpp,v 1.4 2001-04-04 09:02:14 sandervl Exp $ */ 2 2 3 3 /* … … 10 10 */ 11 11 12 #define INCL_BASE 13 #include <os2wrap.h> 14 #include <win32type.h> 12 15 #include <memory.h> 13 16 #include <misc.h> -
trunk/src/ddraw/colorconv.cpp
r5326 r5472 1 /* $Id: colorconv.cpp,v 1. 5 2001-03-18 21:44:44 mikeExp $ */1 /* $Id: colorconv.cpp,v 1.6 2001-04-04 09:02:14 sandervl Exp $ */ 2 2 3 3 /* … … 10 10 */ 11 11 12 #define INCL_BASE 13 #include <os2wrap.h> 14 #include <win32type.h> 12 15 #include <memory.h> 13 16 #include <misc.h> -
trunk/src/ddraw/ddraw.CPP
r5344 r5472 1 /* $Id: ddraw.CPP,v 1.1 8 2001-03-20 23:18:55 mikeExp $ */1 /* $Id: ddraw.CPP,v 1.19 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 3 3 /* … … 14 14 */ 15 15 16 #include <odin.h> 16 17 #include <memory.h> 17 18 #include <stdio.h> -
trunk/src/ddraw/fillfunc.cpp
r5326 r5472 1 /* $Id: fillfunc.cpp,v 1. 3 2001-03-18 21:44:44 mikeExp $ */1 /* $Id: fillfunc.cpp,v 1.4 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 3 3 /* … … 10 10 */ 11 11 12 #define INCL_BASE 13 #include <os2wrap.h> 14 #include <win32type.h> 12 15 #include <memory.h> 13 16 #include <misc.h> -
trunk/src/gdi32/metafile.cpp
r5044 r5472 1 /* $Id: metafile.cpp,v 1. 4 2001-02-01 18:01:52sandervl Exp $ */1 /* $Id: metafile.cpp,v 1.5 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 3 3 /* … … 14 14 #include <stdarg.h> 15 15 #include <string.h> 16 #include "misc.h" 16 #include <misc.h> 17 #include <unicode.h> 17 18 18 19 #define DBG_LOCALLOG DBG_metafile -
trunk/src/gdi32/objhandle.cpp
r5390 r5472 1 /* $Id: objhandle.cpp,v 1.1 2 2001-03-27 20:47:53sandervl Exp $ */1 /* $Id: objhandle.cpp,v 1.13 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Handle Management Code for OS/2 … … 24 24 #include "dibsect.h" 25 25 #include "region.h" 26 #include <unicode.h> 26 27 27 28 #define DBG_LOCALLOG DBG_objhandle -
trunk/src/gdi32/text.cpp
r4602 r5472 1 /* $Id: text.cpp,v 1.1 4 2000-11-16 16:34:49sandervl Exp $ */1 /* $Id: text.cpp,v 1.15 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 3 3 /* … … 19 19 #include "oslibgpi.h" 20 20 #include <dcdata.h> 21 #include <unicode.h> 21 22 22 23 #define DBG_LOCALLOG DBG_text … … 450 451 INT SYSTEM EXPORT InternalDrawTextExW(HDC hdc,LPCWSTR lpchText,INT cchText,LPRECT lprc,UINT dwDTFormat,LPDRAWTEXTPARAMS lpDTParams,BOOL isDrawTextEx) 451 452 { 452 char *astring = (cchText == -1) ? UnicodeToAsciiString((LPWSTR)lpchText):UnicodeToAsciiStringN((LPWSTR)lpchText,cchText);453 char *astring; 453 454 INT rc; 455 456 if(cchText == -1) { 457 UnicodeToAsciiString((LPWSTR)lpchText); 458 } 459 else { 460 astring = (char *)HEAP_malloc(cchText+1); 461 UnicodeToAscii((LPWSTR)lpchText, astring); 462 astring[cchText] = 0; 463 } 454 464 455 465 dprintf(("InternalDrawTextExW %x %s %d %x", hdc, astring, cchText, dwDTFormat)); … … 508 518 DWORD SYSTEM EXPORT InternalGetTabbedTextExtentW(HDC hDC,LPCWSTR lpString,INT nCount,INT nTabPositions,LPINT lpnTabStopPositions) 509 519 { 510 char *astring = (nCount == -1) ? UnicodeToAsciiString((LPWSTR)lpString):UnicodeToAsciiStringN((LPWSTR)lpString,nCount);520 char *astring; 511 521 DWORD rc; 522 523 if(nCount == -1) { 524 UnicodeToAsciiString((LPWSTR)lpString); 525 } 526 else { 527 astring = (char *)HEAP_malloc(nCount+1); 528 UnicodeToAscii((LPWSTR)lpString, astring); 529 astring[nCount] = 0; 530 } 512 531 513 532 rc = InternalGetTabbedTextExtentA(hDC,astring,nCount,nTabPositions,lpnTabStopPositions); … … 587 606 LONG SYSTEM EXPORT InternalTabbedTextOutW(HDC hdc,INT x,INT y,LPCWSTR lpString,INT nCount,INT nTabPositions,LPINT lpnTabStopPositions,INT nTabOrigin) 588 607 { 589 char *astring = (nCount == -1) ? UnicodeToAsciiString((LPWSTR)lpString):UnicodeToAsciiStringN((LPWSTR)lpString,nCount);608 char *astring; 590 609 LONG rc; 610 611 if(nCount == -1) { 612 UnicodeToAsciiString((LPWSTR)lpString); 613 } 614 else { 615 astring = (char *)HEAP_malloc(nCount+1); 616 UnicodeToAscii((LPWSTR)lpString, astring); 617 astring[nCount] = 0; 618 } 591 619 592 620 rc = InternalTabbedTextOutA(hdc,x,y,astring,nCount,nTabPositions,lpnTabStopPositions,nTabOrigin); … … 749 777 BOOL InternalTextOutW(HDC hdc,int X,int Y,UINT fuOptions,CONST RECT *lprc,LPCWSTR lpszString,INT cbCount,CONST INT *lpDx,BOOL IsExtTextOut) 750 778 { 751 char *astring = (cbCount == -1) ? UnicodeToAsciiString((LPWSTR)lpszString):UnicodeToAsciiStringN((LPWSTR)lpszString,cbCount);779 char *astring; 752 780 BOOL rc; 753 781 782 if(cbCount == -1) { 783 UnicodeToAsciiString((LPWSTR)lpszString); 784 } 785 else { 786 astring = (char *)HEAP_malloc(cbCount+1); 787 UnicodeToAscii((LPWSTR)lpszString, astring); 788 astring[cbCount] = 0; 789 } 754 790 rc = InternalTextOutA(hdc,X,Y,fuOptions,lprc,(LPCSTR)astring,cbCount,lpDx,IsExtTextOut); 755 791 FreeAsciiString(astring); -
trunk/src/odincrt/initterm.cpp
r5135 r5472 25 25 #define INCL_DOSMODULEMGR 26 26 #define INCL_DOSPROCESS 27 #define INCL_DOSERRORS 27 28 #include <os2wrap.h> //Odin32 OS/2 api wrappers 28 29 #include <stdlib.h> -
trunk/src/ole32/ole32.h
r5026 r5472 1 /* $Id: ole32.h,v 1.1 4 2001-01-25 20:17:23sandervl Exp $ */1 /* $Id: ole32.h,v 1.15 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 /* 3 3 * … … 52 52 53 53 #include "debugtools.h" 54 #include <unicode.h> 54 55 55 56 #endif -
trunk/src/oleaut32/oleaut32.h
r4837 r5472 1 /* $Id: oleaut32.h,v 1. 9 2000-12-24 14:39:54sandervl Exp $ */1 /* $Id: oleaut32.h,v 1.10 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 /* 3 3 * Win32 OLE stubs for OS/2 … … 51 51 #include <heapstring.h> 52 52 #include <misc.h> 53 #include <unicode.h> 53 54 54 55 extern int loadNr; -
trunk/src/rpcrt4/rpcrt4.h
r3307 r5472 1 /* $Id: rpcrt4.h,v 1. 1 2000-04-02 22:02:56 davidrExp $ */1 /* $Id: rpcrt4.h,v 1.2 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 /* Definitions for the OLE RPCRT4 3 3 * … … 37 37 #include "wine/obj_cache.h" 38 38 39 40 39 #include <rpcdce.h> 41 40 41 #include <unicode.h> 42 42 43 #endif /* __ODIN_RPCRT4_H */ -
trunk/src/shell32/misc.cpp
r4121 r5472 1 /* $Id: misc.cpp,v 1.1 0 2000-08-30 13:50:53sandervl Exp $ */1 /* $Id: misc.cpp,v 1.11 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 3 3 /* … … 30 30 #include "wine/undocshell.h" 31 31 #include <misc.h> 32 #include <unicode.h> 32 33 //#include <string.h> 33 34 //#include "winbase.h" -
trunk/src/shell32/unknown.cpp
r3935 r5472 1 /* $Id: unknown.cpp,v 1. 9 2000-08-02 17:53:34 birdExp $ */1 /* $Id: unknown.cpp,v 1.10 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 3 3 /* … … 16 16 #include <shellapi.h> 17 17 #include <winreg.h> 18 #include <unicode.h> 19 18 20 //#include "shell32.h" 19 21 -
trunk/src/shlwapi/shlwapi.cpp
r4371 r5472 1 /* $Id: shlwapi.cpp,v 1. 9 2000-10-02 13:37:10 sandervl Exp $ */1 /* $Id: shlwapi.cpp,v 1.10 2001-04-04 09:05:50 sandervl Exp $ */ 2 2 3 3 /* … … 40 40 #include <heapstring.h> 41 41 #include <misc.h> 42 #include <unicode.h> 42 43 #include <win\shell.h> 43 44 #include <win\winerror.h> -
trunk/src/user32/clipboard.cpp
r4599 r5472 1 /* $Id: clipboard.cpp,v 1. 9 2000-11-15 20:30:45sandervl Exp $ */1 /* $Id: clipboard.cpp,v 1.10 2001-04-04 09:01:24 sandervl Exp $ */ 2 2 3 3 /* … … 17 17 #include <os2win.h> 18 18 #include "win32wbase.h" 19 #include <unicode.h> 19 20 20 21 #define DBG_LOCALLOG DBG_clipboard -
trunk/src/user32/dde.cpp
r5391 r5472 1 /* $Id: dde.cpp,v 1.1 1 2001-03-28 16:20:32sandervl Exp $ */1 /* $Id: dde.cpp,v 1.12 2001-04-04 09:01:24 sandervl Exp $ */ 2 2 3 3 /* … … 12 12 #include <os2win.h> 13 13 #include <misc.h> 14 #include <unicode.h> 15 14 16 #define DBG_LOCALLOG DBG_dde 15 17 #include "dbglocal.h" -
trunk/src/user32/user32.h
r2469 r5472 1 /* $Id: user32.h,v 1. 8 2000-01-18 20:08:16sandervl Exp $ */1 /* $Id: user32.h,v 1.9 2001-04-04 09:01:25 sandervl Exp $ */ 2 2 3 3 /***************************************************************************** … … 14 14 #include <stdlib.h> 15 15 #include <string.h> 16 #include <unicode.h> 16 17 17 18 inline void ConvertFontAW(LOGFONTA *fa, LOGFONTW *fw) -
trunk/src/user32/win32class.cpp
r5242 r5472 1 /* $Id: win32class.cpp,v 1.2 3 2001-02-22 10:37:30sandervl Exp $ */1 /* $Id: win32class.cpp,v 1.24 2001-04-04 09:01:25 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Class Managment Code for OS/2 … … 24 24 #include <win32wnd.h> 25 25 #include <win\winproc.h> 26 #include <unicode.h> 26 27 27 28 #define DBG_LOCALLOG DBG_win32class -
trunk/src/user32/windowclass.cpp
r5429 r5472 1 /* $Id: windowclass.cpp,v 1. 19 2001-04-01 22:13:28sandervl Exp $ */1 /* $Id: windowclass.cpp,v 1.20 2001-04-04 09:01:25 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Class Code for OS/2 … … 17 17 #include <assert.h> 18 18 #include <misc.h> 19 #include <unicode.h> 19 20 #include <win32class.h> 20 21 #include <win32wbase.h> -
trunk/src/version/info.c
r2373 r5472 1 /* $Id: info.c,v 1. 2 2000-01-08 14:27:33sandervl Exp $ */1 /* $Id: info.c,v 1.3 2001-04-04 09:02:15 sandervl Exp $ */ 2 2 /* 3 3 * Implementation of VERSION.DLL - Version Info access (Wine 991212) … … 19 19 #include "debugtools.h" 20 20 #include <misc.h> 21 #include <unicode.h> 21 22 22 23 DEFAULT_DEBUG_CHANNEL(ver) -
trunk/src/version/version.cpp
r3993 r5472 1 /* $Id: version.cpp,v 1.1 0 2000-08-11 10:56:26 sandervl Exp $ */1 /* $Id: version.cpp,v 1.11 2001-04-04 09:02:16 sandervl Exp $ */ 2 2 3 3 /* … … 23 23 #include <version.h> 24 24 #include <versionos2.h> 25 #include <unicode.h> 25 26 26 27 ODINDEBUGCHANNEL(VERSION) -
trunk/src/winmm/joy.cpp
r3933 r5472 1 /* $Id: joy.cpp,v 1. 8 2000-08-02 17:30:05 birdExp $ */1 /* $Id: joy.cpp,v 1.9 2001-04-04 09:02:16 sandervl Exp $ */ 2 2 /* 3 3 * Odin Joystick apis … … 145 145 lpCaps->wMid = MM_MICROSOFT; 146 146 lpCaps->wPid = MM_PC_JOYSTICK; 147 AsciiToUnicode("OS/2 Joystick", lpCaps->szPname);147 lstrcpyW(lpCaps->szPname, (LPWSTR)L"OS/2 Joystick"); 148 148 lpCaps->wXmin = 0; 149 149 lpCaps->wXmax = 0xffff; … … 166 166 lpCaps->wNumAxes = 2; 167 167 lpCaps->wMaxButtons = 2; 168 AsciiToUnicode("",lpCaps->szRegKey);169 AsciiToUnicode("",lpCaps->szOEMVxD);168 lpCaps->szRegKey[0] = 0; 169 lpCaps->szOEMVxD[0] = 0; 170 170 dprintf(("OK!!!\n")); 171 171 return JOYERR_NOERROR; -
trunk/src/winmm/mci.cpp
r4748 r5472 1 /* $Id: mci.cpp,v 1. 6 2000-12-03 22:18:17sandervl Exp $ */1 /* $Id: mci.cpp,v 1.7 2001-04-04 09:02:16 sandervl Exp $ */ 2 2 3 3 /* … … 357 357 #define SET_EIP(ptr) /* nothing */ 358 358 #endif /* __GNUC__ */ 359 360 /***********************************************************************361 * HEAP_strdupA362 */363 static LPSTR HEAP_strdupA( HANDLE heap, DWORD flags, LPCSTR str )364 {365 LPSTR p = (LPSTR) HeapAlloc( heap, flags, strlen(str) + 1 );366 if(p) {367 //SET_EIP(p);368 strcpy( p, str );369 }370 return p;371 }372 359 373 360 -
trunk/src/winmm/waveoutdart.cpp
r5421 r5472 1 /* $Id: waveoutdart.cpp,v 1. 2 2001-04-01 12:31:01sandervl Exp $ */1 /* $Id: waveoutdart.cpp,v 1.3 2001-04-04 09:02:16 sandervl Exp $ */ 2 2 3 3 /* … … 23 23 #define INCL_BASE 24 24 #define INCL_OS2MM 25 #define INCL_DOSPROCESS 25 26 #include <os2wrap.h> //Odin32 OS/2 api wrappers 26 27 #include <os2mewrap.h> //Odin32 OS/2 MMPM/2 api wrappers 27 28 #include <stdlib.h> 29 #include <stddef.h> 28 30 #include <string.h> 29 31 #define OS2_ONLY -
trunk/src/winspool/winspool.cpp
r4594 r5472 1 /* $Id: winspool.cpp,v 1. 5 2000-11-15 10:54:24sandervl Exp $ */1 /* $Id: winspool.cpp,v 1.6 2001-04-04 09:02:16 sandervl Exp $ */ 2 2 3 3 /* … … 34 34 #include <stdio.h> 35 35 #include <stdlib.h> 36 #include <stddef.h> 36 37 #include <string.h> 37 38 #include <misc.h> -
trunk/src/wnetap32/wnetap32.cpp
r4789 r5472 1 /* $Id: wnetap32.cpp,v 1.1 3 2000-12-12 02:43:26 phallerExp $ */1 /* $Id: wnetap32.cpp,v 1.14 2001-04-04 09:02:16 sandervl Exp $ */ 2 2 3 3 /* … … 33 33 #include <os2win.h> 34 34 #include <misc.h> 35 #include <unicode.h> 35 36 #include <heapstring.h> 36 37 #include <string.h>
Note:
See TracChangeset
for help on using the changeset viewer.
