src/makeg95.env
src/makeprog.g95
src/makelib.g95
-src/makesl.env
-src/makeprog.sl
-src/makelib.sl
-src/salford.lnk
src/maketwin.env
src/makefile.bcc
src/makefile.vc
src/makeg95.env
src/makeprog.g95
src/makelib.g95
-src/makesl.env
-src/makeprog.sl
-src/makelib.sl
-src/salford.lnk
src/maketwin.env
src/makefile.bcc
src/makefile.vc
#endif /* VC++ 8 */
#endif /* __VISUALC__ */
-/* suppress some Salford C++ warnings */
-#ifdef __SALFORDC__
-# pragma suppress 353 /* Possible nested comments */
-# pragma suppress 593 /* Define not used */
-# pragma suppress 61 /* enum has no name (doesn't suppress!) */
-# pragma suppress 106 /* unnamed, unused parameter */
-# pragma suppress 571 /* Virtual function hiding */
-#endif /* __SALFORDC__ */
-
/* suppress some Borland C++ warnings */
#ifdef __BORLANDC__
# pragma warn -inl /* Functions containing reserved words and certain constructs are not expanded inline */
#if defined(__WXUNIVERSAL__)
#include "wx/generic/dirdlgg.h"
#define wxDirDialog wxGenericDirDialog
-#elif defined(__WXMSW__) && (defined(__SALFORDC__) || \
- !wxUSE_OLE || \
+#elif defined(__WXMSW__) && (!wxUSE_OLE || \
(defined (__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS))
#include "wx/generic/dirdlgg.h"
#define wxDirDialog wxGenericDirDialog
#endif
#if defined(__WINDOWS__) && !defined(__WXMICROWIN__)
-#if !defined( __GNUWIN32__ ) && !defined( __MWERKS__ ) && !defined(__SALFORDC__) && !defined(__WXWINCE__) && !defined(__CYGWIN__)
+#if !defined( __GNUWIN32__ ) && !defined( __MWERKS__ ) && !defined(__WXWINCE__) && !defined(__CYGWIN__)
#include <direct.h>
#include <dos.h>
#include <io.h>
#include <dir.h>
#endif
-#ifdef __SALFORDC__
- #include <dir.h>
- #include <unix.h>
-#endif
-
#ifndef __WXPALMOS5__
#ifndef __WXWINCE__
#include <fcntl.h> // O_RDONLY &c
void *data,
const wxListKey& key = wxDefaultListKey) = 0;
-// Can't access these from derived classes otherwise (bug in Salford C++?)
-#ifdef __SALFORDC__
-public:
-#endif
// ctors
// from an array
return _stricmp(psz1, psz2);
#elif defined(__SC__)
return _stricmp(psz1, psz2);
-#elif defined(__SALFORDC__)
- return stricmp(psz1, psz2);
#elif defined(__BORLANDC__)
return stricmp(psz1, psz2);
#elif defined(__WATCOMC__)
* versions */
#if !defined(wxCRT_StricmpA)
#if defined(__BORLANDC__) || defined(__WATCOMC__) || \
- defined(__SALFORDC__) || defined(__VISAGECPP__) || \
+ defined(__VISAGECPP__) || \
defined(__EMX__) || defined(__DJGPP__)
#define wxCRT_StricmpA stricmp
#define wxCRT_StrnicmpA strnicmp
+++ /dev/null
-# Purpose: makefile for calendar example (Salford C++)
-# Created: 2000-01-03
-
-PROGRAM = calendar
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\calendar
-
+++ /dev/null
-# Purpose: makefile for dragimag example (Salford C++)
-# Created: 2000-03-15
-
-PROGRAM = dragimag
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\dragimag
-
+++ /dev/null
-#
-# File: makefile.sl
-# Author: Julian Smart
-# Created: 1998
-#
-# Makefile : Builds a wxWindows sample for Salford C++, WIN32
-
-PROGRAM = erase
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\minimal
-
+++ /dev/null
-# Purpose: makefile for event example (Salford C++)
-# Created: 2001-01-31
-
-PROGRAM = event
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\event
-
+++ /dev/null
-# Purpose: makefile for exec example (Salford C++)
-# Created: 2000-03-14
-
-PROGRAM = exec
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\exec
-
+++ /dev/null
-# Purpose: makefile for grid example (Salford C++)
-# Created: 2000-03-15
-
-PROGRAM = grid
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\grid
-
+++ /dev/null
-# Purpose: makefile for joytest example (Salford C++)
-# Created: 2000-03-14
-
-PROGRAM = joytest
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\joytest
-
+++ /dev/null
-#
-# File: makefile.sl
-# Author: Julian Smart
-# Created: 1998
-#
-# Makefile : Builds a wxWindows sample for Salford C++, WIN32
-
-PROGRAM = mdi
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\mdi
-
+++ /dev/null
-#
-# File: makefile.sl
-# Author: Julian Smart
-# Created: 1998
-#
-# Makefile : Builds a wxWindows sample for Salford C++, WIN32
-
-PROGRAM = minimal
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\minimal
-
+++ /dev/null
-# Purpose: makefile for notebook example (Salford C++)
-# Created: 2000-03-15
-
-PROGRAM = notebook
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\notebook
-
+++ /dev/null
-# Purpose: makefile for sashtest example (Salford C++)
-# Created: 2000-03-14
-
-PROGRAM = sashtest
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\sashtest
-
+++ /dev/null
-# Purpose: makefile for shaped example (Salford C++)
-# Created: 2000-01-03
-
-PROGRAM = shaped
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\shaped
-
+++ /dev/null
-# Purpose: makefile for splitter example (Salford C++)
-# Created: 2000-03-15
-
-PROGRAM = splitter
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\splitter
-
+++ /dev/null
-# Purpose: makefile for statbar example (Salford C++)
-# Created: 2000-02-04
-
-PROGRAM = statbar
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\statbar
-
+++ /dev/null
-# Purpose: makefile for thread example (Salford C++)
-# Created: 2000-03-15
-
-PROGRAM = thread
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\thread
-
+++ /dev/null
-# Purpose: makefile for toolbar example (Salford C++)
-# Created: 2000-03-14
-
-PROGRAM = toolbar
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\toolbar
-
+++ /dev/null
-# Purpose: makefile for typetest example (Salford C++)
-# Created: 2000-03-14
-
-PROGRAM = typetest
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\typetest
-
+++ /dev/null
-# Purpose: makefile for wizard example (Salford C++)
-# Created: 2000-03-15
-
-PROGRAM = wizard
-OBJECTS = $(PROGRAM).obj
-
-include ..\..\src\makeprog.sl
-
-all: wx $(TARGET)
-
-wx:
- cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
- cd $(WXDIR)\samples\wizard
-
/////////////////////////////////////////////////////////////////////////////
-// Name: file.cpp
+// Name: src/common/file.cpp
// Purpose: wxFile - encapsulates low-level "file descriptor"
// wxTempFile
// Author: Vadim Zeitlin
// standard
#if defined(__WXMSW__) && !defined(__GNUWIN32__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
-#ifndef __SALFORDC__
- #define WIN32_LEAN_AND_MEAN
- #define NOSERVICE
- #define NOIME
- #define NOATOM
- #define NOGDI
- #define NOGDICAPMASKS
- #define NOMETAFILE
- #define NOMINMAX
- #define NOMSG
- #define NOOPENFILE
- #define NORASTEROPS
- #define NOSCROLL
- #define NOSOUND
- #define NOSYSMETRICS
- #define NOTEXTMETRIC
- #define NOWH
- #define NOCOMM
- #define NOKANJI
- #define NOCRYPT
- #define NOMCX
-#endif
+#define WIN32_LEAN_AND_MEAN
+#define NOSERVICE
+#define NOIME
+#define NOATOM
+#define NOGDI
+#define NOGDICAPMASKS
+#define NOMETAFILE
+#define NOMINMAX
+#define NOMSG
+#define NOOPENFILE
+#define NORASTEROPS
+#define NOSCROLL
+#define NOSOUND
+#define NOSYSMETRICS
+#define NOTEXTMETRIC
+#define NOWH
+#define NOCOMM
+#define NOKANJI
+#define NOCRYPT
+#define NOMCX
#elif defined(__WXMSW__) && defined(__WXWINCE__)
#include "wx/msw/missing.h"
};
#endif // W_OK
-#ifdef __SALFORDC__
- #include <unix.h>
-#endif
-
-// some broken compilers don't have 3rd argument in open() and creat()
-#ifdef __SALFORDC__
- #define ACCESS(access)
- #define stat _stat
-#else // normal compiler
- #define ACCESS(access) , (access)
-#endif // Salford C
-
// wxWidgets
#ifndef WX_PRECOMP
#include "wx/string.h"
// otherwise we only create the new file and fail if it already exists
int fd = wxOpen( fileName,
O_BINARY | O_WRONLY | O_CREAT |
- (bOverwrite ? O_TRUNC : O_EXCL)
- ACCESS(accessMode) );
+ (bOverwrite ? O_TRUNC : O_EXCL),
+ accessMode );
if ( fd == -1 )
{
wxLogSysError(_("can't create file '%s'"), fileName);
accessMode &= wxS_IRUSR | wxS_IWUSR;
#endif // __WINDOWS__
- int fd = wxOpen( fileName, flags ACCESS(accessMode));
+ int fd = wxOpen( fileName, flags, accessMode);
if ( fd == -1 )
{
wxFileOffset iRc;
-#if defined(__DOS__) || defined(__UNIX__) || defined(__GNUWIN32__) || defined( __MWERKS__ ) || defined(__SALFORDC__)
+#if defined(__DOS__) || defined(__UNIX__) || defined(__GNUWIN32__) || defined( __MWERKS__ )
// @@ this doesn't work, of course, on unseekable file descriptors
wxFileOffset ofsCur = Tell(),
ofsMax = Length();
// For memcpy
#include <string.h>
-#ifdef __SALFORDC__
-#ifdef FAR
-#undef FAR
-#endif
-#endif
-
//-----------------------------------------------------------------------------
// wxBMPHandler
//-----------------------------------------------------------------------------
// For JPEG library error handling
#include <setjmp.h>
-#ifdef __SALFORDC__
-#undef FAR
-#endif
-
// ----------------------------------------------------------------------------
// types
// ----------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////
-// Name: src/common/imagepng.cpp
+// Name: src/common/imagpng.cpp
// Purpose: wxImage PNG handler
// Author: Robert Roebling
// RCS-ID: $Id$
// For memcpy
#include <string.h>
-#ifdef __SALFORDC__
-#ifdef FAR
-#undef FAR
-#endif
-#endif
-
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
#include "wx/ioswrap.h"
#if !defined(__WATCOMC__) && !(defined(__VMS__) && ( __VMS_VER < 70000000 ) )\
- && !defined( __MWERKS__ ) && !defined(__SALFORDC__)
+ && !defined( __MWERKS__ )
#include <memory.h>
#endif
#include <stdlib.h>
#include <ctype.h>
- #if !defined(__MWERKS__) && !defined(__SALFORDC__)
+ #if !defined(__MWERKS__)
#include <memory.h>
#endif
#endif // !WX_PRECOMP
#define wxHAVE_WIN32_MB2WC
#endif
-#ifdef __SALFORDC__
- #include <clib.h>
-#endif
-
#ifdef HAVE_ICONV
#include <iconv.h>
#include "wx/thread.h"
#include <string.h>
#include <stdlib.h>
-#ifdef __SALFORDC__
- #include <clib.h>
-#endif
-
#include "wx/hashmap.h"
// string handling functions used by wxString:
#include <string.h>
#include <stdlib.h>
-#ifdef __SALFORDC__
- #include <clib.h>
-#endif
-
// allocating extra space for each string consumes more memory but speeds up
// the concatenation operations (nLen is the current string's length)
// NB: EXTRA_ALLOC must be >= 0!
#include <string.h>
#include <stdlib.h>
-#ifdef __SALFORDC__
- #include <clib.h>
-#endif
-
IMPLEMENT_DYNAMIC_CLASS(wxTextValidator, wxValidator)
BEGIN_EVENT_TABLE(wxTextValidator, wxValidator)
// OLE is used for drag-and-drop, clipboard, OLE Automation..., but some
// compilers don't support it (missing headers, libs, ...)
-#if defined(__GNUWIN32_OLD__) || defined(__SYMANTEC__) || defined(__SALFORDC__)
+#if defined(__GNUWIN32_OLD__) || defined(__SYMANTEC__)
#undef wxUSE_OLE
#define wxUSE_OLE 0
#include <stdio.h>
#include <stdlib.h>
-#if !defined(__MWERKS__) && !defined(__SALFORDC__)
+#if !defined(__MWERKS__)
#include <memory.h>
#endif
wxWindow *win = CreateAbortWindow(parent, printout);
wxYield();
-#if defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__GNUWIN32__) || defined(__SALFORDC__) || !defined(__WIN32__)
+#if defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__GNUWIN32__) || !defined(__WIN32__)
#ifdef STRICT
::SetAbortProc((HDC) impl->GetHDC(), (ABORTPROC) m_lpAbortProc);
#else
+++ /dev/null
-archive ..\..\lib\wx.lib
-addobj accel.obj
-addobj app.obj
-addobj bitmap.obj
-addobj bmpbuttn.obj
-addobj brush.obj
-addobj button.obj
-addobj checkbox.obj
-addobj checklst.obj
-addobj choicdgg.obj
-addobj choice.obj
-addobj clipbrd.obj
-addobj cmndata.obj
-addobj colordlg.obj
-addobj colour.obj
-addobj combobox.obj
-addobj config.obj
-addobj control.obj
-addobj curico.obj
-addobj cursor.obj
-addobj data.obj
-addobj date.obj
-addobj datstrm.obj
-addobj dc.obj
-addobj dcclient.obj
-addobj dcmemory.obj
-addobj dcprint.obj
-addobj dcscreen.obj
-addobj dde.obj
-addobj dialog.obj
-addobj dib.obj
-addobj dibutils.obj
-addobj dirdlgg.obj
-addobj docmdi.obj
-addobj docview.obj
-addobj dynarray.obj
-addobj dynlib.obj
-addobj event.obj
-addobj extended.obj
-addobj file.obj
-addobj fileconf.obj
-addobj filedlg.obj
-addobj filefn.obj
-addobj font.obj
-addobj fontdlg.obj
-addobj frame.obj
-addobj framecmn.obj
-addobj gauge95.obj
-addobj gdicmn.obj
-addobj gdiobj.obj
-addobj gridg.obj
-addobj hash.obj
-addobj helpbase.obj
-addobj helpwin.obj
-addobj http.obj
-addobj icon.obj
-addobj image.obj
-addobj imaglist.obj
-addobj iniconf.obj
-addobj intl.obj
-addobj ipcbase.obj
-addobj joystick.obj
-addobj layout.obj
-addobj laywin.obj
-addobj list.obj
-addobj listbox.obj
-addobj listctrl.obj
-addobj log.obj
-addobj mdi.obj
-addobj memory.obj
-addobj menu.obj
-addobj menuitem.obj
-addobj metafile.obj
-addobj minifram.obj
-addobj module.obj
-addobj msgdlg.obj
-addobj mstream.obj
-addobj nativdlg.obj
-addobj notebook.obj
-addobj object.obj
-addobj objstrm.obj
-addobj ownerdrw.obj
-addobj palette.obj
-addobj panelg.obj
-addobj pen.obj
-addobj penwin.obj
-addobj printdlg.obj
-addobj printwin.obj
-addobj prntbase.obj
-addobj process.obj
-addobj prop.obj
-addobj propform.obj
-addobj proplist.obj
-addobj protocol.obj
-addobj radiobox.obj
-addobj radiobut.obj
-addobj regconf.obj
-addobj region.obj
-addobj registry.obj
-addobj resource.obj
-addobj sashwin.obj
-addobj sckaddr.obj
-addobj sckfile.obj
-addobj sckstrm.obj
-addobj scrolbar.obj
-addobj scrolwin.obj
-addobj settings.obj
-addobj slider95.obj
-addobj slidrmsw.obj
-addobj socket.obj
-addobj spinbutt.obj
-addobj splitter.obj
-addobj statbmp.obj
-addobj statbox.obj
-addobj statbr95.obj
-addobj stattext.obj
-addobj statusbr.obj
-addobj stream.obj
-addobj string.obj
-addobj tabctrl.obj
-addobj tabg.obj
-addobj taskbar.obj
-addobj tbar95.obj
-addobj tbarbase.obj
-addobj tbarmsw.obj
-addobj tbarsmpl.obj
-addobj textctrl.obj
-addobj textdlgg.obj
-addobj textfile.obj
-addobj thread.obj
-addobj time.obj
-addobj timer.obj
-addobj timercmn.obj
-addobj tokenzr.obj
-addobj treectrl.obj
-addobj url.obj
-addobj utils.obj
-addobj utilscmn.obj
-addobj utilsexc.obj
-addobj validate.obj
-addobj valtext.obj
-addobj variant.obj
-addobj wave.obj
-addobj wfstream.obj
-addobj wincmn.obj
-addobj window.obj
-addobj wxchar.obj
-addobj wxexpr.obj
-addobj y_tab.obj
-addobj zstream.obj
-file
-
#include <winsock.h>
#endif
-#if !defined(__GNUWIN32__) && !defined(__SALFORDC__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
+#if !defined(__GNUWIN32__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
#include <direct.h>
#ifndef __MWERKS__
#include <ctype.h>
-#if !defined(__GNUWIN32__) && !defined(__SALFORDC__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
+#if !defined(__GNUWIN32__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
#include <direct.h>
#ifndef __MWERKS__
#include <dos.h>
#include "wx/control.h"
#endif
-#if !defined(__GNUWIN32__) && !defined(__SALFORDC__)
+#if !defined(__GNUWIN32__)
#include "malloc.h"
#endif