Changeset 36

Show
Ignore:
Timestamp:
07/21/04 23:47:45 (4 years ago)
Author:
brad
Message:

Changes to try to get the project to compile on my WinXP box. Can't seem to get any of the Windows *.lib symbols to be recognized.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/SConstruct

    r33 r36  
    1616) 
    1717 
     18SRC += glob('HelloDWT.d') 
     19 
    1820if 'win32' in sys.platform: 
    19     env.Append(DVERSIONS='Win32'
     21    env.Append(DVERSIONS=['Win32','Unicode']
    2022    SRC += glob('dwt/*/win32/*.d') # ooo 
    2123 
     
    2527    SRC += glob('dwt/*/gtk/*.d') 
    2628 
    27 SRC += glob('HelloDWT.d') 
    28  
    2929env.Program(SRC) 
  • trunk/src/dwt/graphics/device.d

    r33 r36  
    2222module dwt.graphics.device; 
    2323 
    24 /+ 
    25 import org.eclipse.swt.internal.*; 
    26 import org.eclipse.swt.internal.win32.*; 
    27 import org.eclipse.swt.*; 
    28 +/ 
    2924 
    3025private import dwt.graphics.IDrawable; 
  • trunk/src/dwt/internal/win32/os.d

    r33 r36  
    26032603    bool ShowScrollBar (int hWnd, int wBar, bool bShow); 
    26042604    bool ShowWindow (int hWnd, int nCmdShow); 
    2605     bool SipGetInfo (SIPINFO* pSipInfo); 
     2605//    bool SipGetInfo (SIPINFO* pSipInfo); 
    26062606    int StartDocW (int hdc, DOCINFO* lpdi); 
    26072607    int StartDocA (int hdc, DOCINFO* lpdi); 
  • trunk/src/dwt/util/throwable.d

    r33 r36  
    2020 
    2121 
    22 module dwt.util.Throwable; 
     22module dwt.util.throwable; 
    2323 
    2424/+ 
  • trunk/src/dwt/util/util.d

    r33 r36  
    1919 
    2020 
    21 module dwt.internal.util.util; 
     21module dwt.util.util; 
    2222 
    2323 
  • trunk/src/dwt/widgets/runnablelock.d

    r33 r36  
    2323 
    2424private import dwt.util.runnable; 
     25private import dwt.util.thread; 
    2526private import dwt.util.throwable; 
    26 //private import std.thread; 
    27 private import dwt.util.thread; 
    2827 
    2928/** 
  • trunk/src/dwt/widgets/shell.d

    r33 r36  
    15731573//  if (result != null) return result; 
    15741574    if (result != 0) return result; 
     1575/+ 
    15751576    if (OS.IsPPC) { 
    15761577        if (wParam == OS.SPI_SETSIPINFO) { 
     
    15931594        } 
    15941595    } 
     1596+/ 
    15951597    return result; 
    15961598} 
  • trunk/src/dwt/widgets/synchronizer.d

    r33 r36  
    4141public class Synchronizer { 
    4242 
     43private import dwt.dwt; 
     44 
     45private import dwt.internal.compatibility; 
     46 
    4347private import dwt.util.runnable; 
    4448private import dwt.util.system; 
    45 private import dwt.dwt; 
    46 private import dwt.internal.compatibility; 
    47  
    48 //private import std.thread; 
    4949private import dwt.util.thread; 
     50private import dwt.util.throwable; 
    5051 
    5152private import dwt.widgets.display; 
    5253private import dwt.widgets.runnablelock; 
    53 private import dwt.util.throwable; 
    5454 
    5555    Display display; 
  • trunk/src/win32.mak

    r35 r36  
    99#   Unicode and the OS. 
    1010# 
    11 imports=c:\dmd\src\phobos  
    12 dwt.dwt = \ 
     11 
     12imports=d:\dmd\src\phobos  
     13 
     14dwt.dwt=\ 
    1315    dwt/dwt.d 
    1416 
    15 dwt.graphics =
    16     dwt/graphics/IDrawable.d
    17     dwt/graphics/color.d
     17dwt.graphics=
     18    dwt/graphics/IDrawable.d
     19    dwt/graphics/color.d
    1820    dwt/graphics/cursor.d \ 
    1921    dwt/graphics/device.d \ 
     
    4345    $(dwt.internal.images) \ 
    4446    $(dwt.internal.ole) \ 
    45     $(dwt.internal.win32) \ 
    46     $(dwt.accessible) 
     47    $(dwt.internal.win32) 
    4748 
    4849dwt.internal.win32 = \ 
    49     dwt/internal/win32/os.d
    50     dwt/internal/win32/tchar.d
     50    dwt/internal/win32/os.d
     51    dwt/internal/win32/tchar.d
    5152    dwt/internal/win32/types.d 
    5253 
    5354dwt.accessible = \ 
    5455    dwt/accessibility/acc.d \ 
    55     dwt/accessibility/accessible.d \ 
     56    dwt/accessibility/accessible.d 
    5657 
    5758dwt.util = \ 
     
    9495#   dwt/widgets/tree.d \ 
    9596#   dwt/widgets/treeitem.d \ 
    96 #   dwt/widgets/widget.d 
     97 
    9798     
    9899dwtSRC = \ 
    99     $(dwt.dwt) \ 
    100     $(dwt.graphics) \ 
    101     $(dwt.internal) \ 
     100    $(dwt.dwt)\ 
     101    $(dwt.accessible)\ 
     102    $(dwt.graphics)\ 
     103    $(dwt.internal)\ 
     104    $(dwt.util)\ 
    102105    $(dwt.widgets) 
    103106 
    104107hello: 
    105     dmd -version=Win32 -version=Unicode HelloDWT.d $(dwtSRC) -L HelloDWT.exe -c -I$(imports) 
     108    dmd -version=Win32 -version=Unicode HelloDWT.d $(dwtSRC) -g 
    106109 
    107110