Commit Graph

83 Commits

Author SHA1 Message Date
Andy McFadden
f8017fdee3 Minor fixes
- Drop strcasecmp / strncasecmp defines; just use the VC++ version.
- Fix LOG_WARNING vs. LOG_WARN.
- Fix crash when NiftyList data file not available.
2014-11-18 17:10:23 -08:00
Andy McFadden
af429c8bb9 Remove vestigial .cvsignore 2014-11-18 15:08:53 -08:00
Andy McFadden
3f9561f2d5 Define _CRT_SECURE_NO_WARNINGS and _CRT_NONSTDC_NO_DEPRECATE
There's probably some value in using the "secure" versions of the
various string functions, but I don't want to deal with it right
now.  We won't use them for the stuff that builds under Linux
anyway (diskimg, nufxlib).

This largely eliminates warnings from VC++.
2014-11-18 14:55:13 -08:00
Andy McFadden
9a67e7b1d3 Minor fixes
Fix release build.

Eliminate a few warnings.
2014-11-18 14:30:51 -08:00
Andy McFadden
f6647b9978 Convert WSMG to LOG
Mostly a bulk conversion of debug messages, primarily with sed:

 sed -e 's/\(WMSG[0-9]\)\(.*\)\(\\n"\)/LOGI\2"/'

This removes the '\n' from the end of the log messages, and sets
them all to "info" severity.

We want to prefix each line with file/line and/or a timestamp,
so it doesn't make sense to have a partial line, and there's no
value in embedding the '\n' in every string.
2014-11-18 14:16:35 -08:00
Andy McFadden
bf5e2bce50 Change "nil" to "NULL" 2014-11-17 21:37:36 -08:00
Andy McFadden
d21ba553ab Added new logging macros
Visual Studio figured out variadic macros around 2005, so we can
finally replace the explicit-arg-count debug log macros.

Also, fixed some include guards.

Also, bumped version to 4.0.0d1.
2014-11-17 18:07:07 -08:00
Andy McFadden
7da3dc0efe Remove UpgradeLog.htm 2014-11-16 21:18:34 -08:00
Andy McFadden
51b5f00f5c Large set of changes to restore CiderPress build.
CiderPress and MDC now compile, and execute far enough to open
their respective "about" boxes, but I doubt they'll do much
more than that.

* Switch from MBCS to UNICODE APIs

Microsoft switched to UTF-16 (by way of UCS-2) a long time ago,
and the support for MBCS seems to be getting phased out.  So it's
time to switch to wide strings.

This is a bit awkward for CiderPress because it works with disk
and file archives with 8-bit filenames, and I want NufxLib and
DiskImgLib to continue to work on Linux (which has largely taken
the UTF-8 approach to Unicode).  The libraries will continue to
work with 8-bit filenames, with CiderPress/MDC doing the
conversion at the appropriate point.

There were a couple of places where strings from a structure
handed back by one of the libraries were used directly in the UI,
or vice-versa, which is a problem because we have nowhere to
store the result of the conversion.  These currently have fixed
place-holder "xyzzy" strings.

All UI strings are now wide.

Various format strings now use "%ls" and "%hs" to explicitly
specify wide and narrow.  This doesn't play well with gcc, so
only the Windows-specific parts use those.

* Various updates to vcxproj files

The project-file conversion had some cruft that is now largely
gone.  The build now has a common output directory for the EXEs
and libraries, avoiding the old post-build copy steps.

* Added zlib 1.2.8 and nufxlib 2.2.2 source snapshots

The old "prebuilts" directory is now gone.  The libraries are now
built as part of building the apps.

I added a minimal set of files for zlib, and a full set for nufxlib.
The Linux-specific nufxlib goodies are included for the benefit of
the Linux utilities, which are currently broken (don't build).

* Replace symbols used for include guards

Symbols with a leading "__" are reserved.
2014-11-16 21:01:53 -08:00
Andy McFadden
63b9996009 Normalize indentation and EOL
This updates all source files to use spaces instead of tabs for
indentation.  It also normalizes the end-of-line markers to be
Windows-style CRLF, and ensures that all files end with EOL.

No substantive changes were made; "diff -w" is empty.
2014-11-03 16:26:53 -08:00
Andy McFadden
b11f10dddf Visual Studio 2013 update
This updates the project files for Visual Studio 2013, and removes
the old Visual Studio 6 (1998) project files.  The update tool had
a number of complaints (see UpgradeLog.htm) that may need to be
addressed.

Also, replaced .cvsignore with .gitignore.

Visual Studio reports 1886 build errors, nearly all of them due to
the switch from MBCS to Unicode.  The former is no longer
supported "out of the box", and its use is discouraged, so we're
going to bite the bullet and use wide characters in the UI.
2014-11-03 14:05:07 -08:00
Andy McFadden
59bc7f08dd Create README.md 2014-10-28 17:19:54 -07:00
Andy McFadden
2ada081dc6 Fix 640 mode palette offsets in SHR converter. 2014-01-20 05:35:58 +00:00
David Schmidt
7dd253754d Recognize host TEXT files as such 2012-05-14 17:32:19 +00:00
David Schmidt
04e7620965 Protect against some really badly corrupted AppleWorks files. This fix keeps us from spinning on 100% CPU when the buffer "length" (corrupt, negative) will never decrease. 2011-09-04 20:21:40 +00:00
David Schmidt
0d0bfde65a Select the correct memory copy routine from the C runtime... 2009-02-28 20:43:32 +00:00
David Schmidt
5637461d8a Add vestigal support for Gutenberg Word Processor formatting 2009-01-05 02:11:31 +00:00
David Schmidt
abd3515424 Adding read capability for Gutenberg word processor formatted disks 2009-01-04 22:23:04 +00:00
Andy McFadden
aa89adb2d9 Tweaks for 3.0.1 release. 2009-01-04 19:19:05 +00:00
David Schmidt
fcf3be8249 Ignoring some locally-produced build artifacts 2009-01-04 17:00:48 +00:00
David Schmidt
1d091e3bf5 Ignoring the locally-produced build log 2009-01-04 16:59:53 +00:00
David Schmidt
6d1d591122 Update license copyright date and statement 2009-01-03 20:23:41 +00:00
Andy McFadden
e390a98ab8 Make gcc happy.
Remove carriage returns from linux makefiles.
Remove vestigal dependency info from libhfs makefile.
2009-01-03 19:08:48 +00:00
Andy McFadden
732cd85ce5 CP/M: added support for Microsoft Softcard "data only" disks.
CP/M: correctly identify 3.x disks
Updated some copyright notices.
2009-01-03 19:02:13 +00:00
David Schmidt
5fdc2513f3 More fidelity for Business BASIC to native LIST command 2009-01-03 09:36:26 +00:00
David Schmidt
2eb993312e Add BYE keyword from post-1.1 Business BASIC 2009-01-02 20:21:05 +00:00
Andy McFadden
dbfb6be713 Minor update to help files and version. 2009-01-02 18:55:23 +00:00
David Schmidt
a4524898f9 Add Apple /// Business BASIC file support 2008-12-16 03:35:37 +00:00
David Schmidt
f94d519657 Adding .project to .cvsignore for the time being... 2008-12-16 03:01:38 +00:00
David Schmidt
b5d96e53fa Ignore intermediate build artifacts 2008-12-16 02:55:16 +00:00
David Schmidt
535a38c4e1 Ignore intermediate build artifacts 2008-12-16 02:48:27 +00:00
Andy McFadden
5baca6e6bc Pre-built copy of NufxLib for Linux (ignored by initial import). 2007-03-27 17:54:01 +00:00
Andy McFadden
0d7d1b67e0 initial import 2007-03-27 17:47:10 +00:00