Commit graph

132 commits

Author SHA1 Message Date
Simon Howard
b9f3fca512 osx: Use PACKAGE_TARNAME for autoload path.
Instead of hard-coding.
2018-12-24 01:12:54 -05:00
Simon Howard
3175bb59f3 osx: Add menu item to open autoload folder. 2018-12-24 01:08:32 -05:00
Mike Swanson
5d629db9be pkg/win32: Use pandoc to create HTML versions of the docs
While plain-text versions generally worked, they have been slightly
littered recently with Markdown syntax.  We should be able to assume
every Windows user has a web browser and can view these documents
in nicely-formatted HTML pages instead of opening Notepad.
2018-09-16 05:28:28 -07:00
Mike Swanson
da54817037 win32: Include appropriate game-specific INSTALL files in Zips. 2018-03-17 10:46:16 -07:00
Simon Howard
dd45fd9652 osx: Fix AppleScript script under High Sierra.
Some of the old script broke with this new OS release.
2018-03-16 22:32:53 -04:00
Mike Swanson
00d7eb220e pkg/win32: Remove mention of cygwin 2018-03-07 11:19:13 -08:00
Mike Swanson
685062a58f pkg/win32: Set LC_ALL=C before running ./cp-with-libs
Without doing this, objdump might output text in a non-Unicode locale
and confuse Python.  This is particularly the case when running on MS
Windows, where Unicode locales aren't default for non-English regions.
2018-03-07 11:00:37 -08:00
Simon Howard
91a66a7ecb Replace COPYING with COPYING.md Markdown version.
It's not the '90s any more!
2018-01-14 23:26:54 -05:00
Mike Swanson
154c1d54dd pkg/win32: use --add-bom when processing files in unix2dos
Windows Notepad won’t display non-ASCII UTF-8 characters properly
without a byte-order-mark at the beginning of the file.
2018-01-06 09:31:51 -08:00
Fabian Greffrath
b90a9e5838 cp-with-libs: add dsound.dll to the list of bundled DLLs 2017-11-23 15:19:36 +01:00
Jonathan Dowland
83a7dfb9af Merge branch 'sdl2-branch' into chocolate-midivolume 2017-07-17 13:30:03 +01:00
Mike Swanson
f6581c534c midiproc: Change name to @PROGRAM_PREFIX@midiproc in automake 2017-02-26 14:19:49 -08:00
Mike Swanson
9f9d647297 Add midiproc to the automake system. 2017-02-22 22:49:57 -08:00
Simon Howard
75005106f1 osx: Tweak colors of command line args box.
In a previous change (I think d8cfdba5bf ?) I changed the text
entry box for command line arguments to be white on a black
background, with the idea being that it was more similar to a DOS
window. @Linguica reports that this doesn't look nice on Macs which
have low-res displays, so revert back to default colors, and also
change the font to use the system font for user-selected fixed
width. I believe this fixes #858.
2017-02-12 20:55:55 -05:00
Simon Howard
753db4d4c0 win32: Strip DLLs as well as EXEs.
We don't need to include debug symbols for these.
2017-02-07 19:51:36 -05:00
Simon Howard
3f45e0c828 win32: Add cp-with-libs to dist. 2017-02-05 01:21:39 -05:00
Mike Swanson
aad3865710 win32: Ignore staging and zip files. 2017-01-25 11:50:49 -08:00
Mike Swanson
0cdea860dc win32: Make cp-with-libs python3 compatible. 2017-01-23 08:10:34 -08:00
Simon Howard
7dc588ee07 win32: Auto-determine DLL path from LDFLAGS.
Copying DLLs raises the problem of finding where the DLLs are to copy.
With autotools, DLLs are usually installed to ${prefix}/bin alongside the
libraries installed to ${prefix}/lib. So we can use the -L arguments in
LDFLAGS passed to the linker to figure out a likely set of directories to
search in. Hook this into the build, too.

This fixes #764 - we now reliably build Windows .zip packages automatically
bundled with any DLLs which may be required.
2017-01-22 21:38:54 +00:00
Simon Howard
d6da5e3ed9 win32: Add cp-with-libs script for Win32 package.
As part of the 3.0 release we want to start bundling many more DLL
libraries than we previously did. We can use the 'objdump' command
to recursively find all DLLs that a Windows binary depends upon. To
ensure that we automatically include any DLLs that are needed and
never miss any, add something analogous to the cp-with-libs script we
already use for building Windows binaries.
2017-01-15 18:43:09 +00:00
Simon Howard
166e2bca93 Merge remote-tracking branch 'origin/master' into sdl2-branch 2017-01-14 21:55:08 +00:00
Simon Howard
eaf851e095 osx: Use bzip2 compression for .dmg files.
bzip2 compression has been supported since OS X 10.4 and we don't
distribute binaries for anything older, so there's no reason not to
use this. It makes the generated .dmg files ~40KB smaller.
2017-01-14 21:52:50 +00:00
Simon Howard
e8b9df8dbb osx: Add FreeDM to IWAD list.
FreeDM is vanilla-compatible and decently usable nowadays. Add it to
the configuration dialog as an option.
2016-06-26 18:44:28 -04:00
Simon Howard
2bd688e2a6 osx: Remove GNUstep stuff.
This has never been officially supported and probably doesn't work
properly with the current .nib file. Let's just get rid of it.
2016-06-12 19:33:13 -04:00
Simon Howard
fdb6b0f31f osx: Remove hack for dealing with .svn directories.
We aren't using Subversion any more.
2016-06-12 19:28:50 -04:00
Simon Howard
0458d30af5 osx: Add help button for command line.
We already have this on the help menu, but it's nice to have a help
button in the main interface next to the command line arguments
box.
2016-06-12 15:20:11 -04:00
Simon Howard
5caec28365 osx: Remove IWADLocation.m from dist.
This file was removed in d8cfdba5bf but was not removed from the
pkg/Makefile.am file that lists the files which are included in
'make dist'. Remove it from there too.
2016-06-12 01:22:08 -04:00
Simon Howard
c139624650 Merge remote-tracking branch 'origin/master' into sdl2-branch 2016-06-11 17:28:47 -04:00
Simon Howard
b5d296d2ab osx: New background for .dmg package.
The old background was kind of ugly and it's nice to have a new look
for version 3. Also tweak the positions of icons and the window size.
2016-06-11 17:26:24 -04:00
Simon Howard
614a449d3c osx: Add missing connection for Chex control.
In the previous change, the connection to the new file control for
the Chex Quest IWAD was not added properly. Add this to fix Chex
Quest again.
2016-06-11 15:17:49 -04:00
Simon Howard
efe8f0f6f6 Fix some references broken by markdown change. 2016-06-08 23:13:31 -04:00
Mike Swanson
b63977758f pkg: Really fix the Makefile from the last commit, include the docs 2016-06-08 04:55:47 -07:00
Mike Swanson
e2b4804903 Convert the rest of the doc files to Markdown. 2016-06-08 04:42:29 -07:00
Mike Swanson
189fbf78db README: Convert to Markdown format. 2016-06-07 01:41:45 -07:00
Simon Howard
9c6799b462 pkg: Remove ChangeLog file from binary dists.
This file now includes nothing useful other than a link to the Git
repository, so it's pointless to include it with binary distributions.
2016-06-05 23:00:24 -04:00
Simon Howard
a44cef9789 Merge remote-tracking branch 'origin/master' into sdl2-branch 2016-06-04 20:31:42 -04:00
Simon Howard
d36dafa3fc Merge remote-tracking branch 'origin/master' into sdl2-branch 2016-06-04 19:36:32 -04:00
Simon Howard
ed77a8fe11 osx: Bump OSX deployment target to 10.7.
We recently switched to targeting 10.4 because of build problems with
SDL on old versions on OSX. So make this match.
2016-06-04 19:32:59 -04:00
Simon Howard
d8cfdba5bf osx: Tweak launcher interface.
Change preferences window to use standard NSPathControl controls for
selecting IWAD file paths. Make the command line arguments text box
multiline to better support long command lines.
2016-06-04 19:29:09 -04:00
Jonathan Dowland
c9d46e0c7c Add support for .lmp file formats to Mac Launcher
Once the app has been launched at least once, double-clicking upon
an .lmp file should start the Chocolate Doom launcher and add
appropriate "-playdemo" command-line arguments.

Closes: #677.
2016-03-10 22:30:56 +00:00
Simon Howard
5d838b88a7 textscreen: Add support for OS X high-DPI rendering.
When using a Mac with a retina display, we want to use the large
textscreen font, albeit in a normal-sized window. The HIGHDPI flag is
the way to do this properly with SDL2; try to set it and if we get the
output screen size we're hoping for, switch to the large font.

As part of this, bump the SDL2 dependency to 2.0.1, since the
SDL_WINDOW_ALLOW_HIGHDPI flag was only added in this version.
2016-02-27 21:59:28 -05:00
Simon Howard
c9debbb1ce Set the window title for command prompt.
This is a bit more interesting than just displaying "tempscript.sh".
2015-11-09 23:30:34 -05:00
Simon Howard
628e1e152b osx: Add CFBundleIdentifier to Info.plist.
The preferences for the OS X launcher are currently stored in a file
ambiguously named "launcher.plist" that could conflict with any other
app on the system that chose to use the same moniker. Use the more
specific identifier of org.chocolate-doom.launcher to avoid conflicts.

Also set NSHumanReadableCopyright so that we get more detail on the
"About" window in the launcher app.

This fixes #570. Thanks to Xeriphas1994 for the suggestion to tweak
the identifier.
2015-07-12 02:52:57 -04:00
Simon Howard
7684ddcfd8 Clean up file headers.
This change rewrites and simplifies the copyright headers at the top
of all source files:

 * Remove "Emacs style mode select" line; this line was included in
   the headers for the originally released source files and appears
   to be to set the file type for old versions of Emacs. I'm not sure
   entirely why it was required but I don't think it is any more.
 * Remove "You should have received a copy of..." text from copyright
   header. This refers to the old 59 Temple Place address where the
   FSF headquarters used to be located and is no longer correct.
   Rather than change to the new address, just remove the paragraph
   as it is superfluous anyway. This fixes #311.
 * Remove ---- separator lines so that the file headers are barer
   and more simplified.
2014-05-05 00:20:54 -04:00
Simon Howard
3aefe2f23c osx: Handle .hhe, .seh file extensions.
These are the equivalents of .deh for Heretic and Strife. Add these as
file associations and auto-switch to the appropriate game type when
opened.
2014-04-26 21:15:08 -04:00
Simon Howard
b747d06387 Rename README.OPL to README.Music and extend.
Chocolate Doom now has a bewildering array of different options for
music playback and it's worth documenting them properly. Extend the
existing README.OPL file to describe the other options that are
available, and rename it to README.Music as it's no longer just about
OPL playback.
2014-04-05 14:50:04 -04:00
Simon Howard
5afef298d6 osx: Use safe string functions for launcher.
The OS X launcher used a few unsafe string functions; use snprintf()
or strlcpy,strlcat here - as this is the launcher for OS X we don't
need to care about portability.
2014-04-01 21:51:18 -04:00
Simon Howard
e197f3e5fc Only include NOT-BUGS in releases of Doom binaries, not other games.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2662
2013-09-16 02:05:27 +00:00
Simon Howard
716a36949a Override the README distributed with Chocolate Strife Windows binaries
and include the custom version. Also include a copy in the Mac
documentation folder.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2661
2013-09-16 01:43:37 +00:00
Simon Howard
e4e5387b31 Name OS X CMDLINE.game files as CMDLINE-game, so that they are not
considered as invalid file extensions.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2656
2013-09-15 23:37:13 +00:00