Commit graph

99 commits

Author SHA1 Message Date
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
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
Simon Howard
d0874f3178 Open appropriate CMDLINE file depending on the currently-selected game.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2655
2013-09-15 23:22:38 +00:00
Simon Howard
a1e79a3ba1 Fix copying of CMDLINE files for Mac package build.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2654
2013-09-15 23:22:06 +00:00
Simon Howard
3cd3810c38 Fix INSTALL generation for source code and Mac binary distribution.
Include CMDLINE files in Mac packages.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2653
2013-09-15 22:52:54 +00:00
Simon Howard
b0a0f90cd9 Rework documentation system to generate INSTALL files tailored for the
different games.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2652
2013-09-15 22:41:33 +00:00
Simon Howard
fff9267c40 Update Windows build to generate multiple .zip packages, one for each
game.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2650
2013-09-15 21:09:17 +00:00
Simon Howard
110d279326 Remove top-level CMDLINE documentation file and generate multiple
CMDLINE files, one for each game.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2648
2013-09-15 21:04:36 +00:00
Simon Howard
63acb55b18 Remove Windows CE support.
What support exists is for obsolete devices I no longer possess; I've
never been contacted about the port and it's been several years since
I even bothered to build a new version. All the extra overrides are
clutter that can just be removed.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2615
2013-08-11 17:32:29 +00:00
Simon Howard
73fd9adc1e Reduce window height of .dmg Finder window - this reverts r2371.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2554
2012-12-24 01:09:30 +00:00
Simon Howard
f1934e990d Merge from trunk.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2553
2012-12-24 00:03:41 +00:00
Simon Howard
da1e9064e9 Add some extra zero-fill to the end of .DS_store.
Recent versions of Mac OS X Finder seem to generate slightly fatter
.DS_store files. This can cause a problem where there is insufficient
free space in tmp.dmg to generate the modified .DS_store file. Adding
some zero-fill to the end of the base one fixes this.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2547
2012-12-22 23:30:17 +00:00
Simon Howard
55825846ef Update OS X launcher to include box for Strife IWAD.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2372
2011-09-12 22:21:53 +00:00
Simon Howard
2225061906 Increase window size in .dmg package, so that there is no vertical
scroll bar.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2371
2011-09-12 21:58:52 +00:00
Simon Howard
efd15d965d Merge from raven-branch.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2367
2011-09-11 23:40:44 +00:00
Simon Howard
1cfa4409af Rework configuration window; add Heretic/Hexen configuration boxes.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2348
2011-06-13 23:45:10 +00:00
Simon Howard
391e7466b1 Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2347
2011-06-13 22:21:37 +00:00
Simon Howard
184ea9ba50 Convert build system to using the PROGRAM_PREFIX system used on
raven-branch.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2336
2011-05-14 20:11:26 +00:00
Simon Howard
351c1be331 Allow IWAD files to be double-clicked in the finder to set the IWAD
configuration.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2334
2011-05-08 18:29:46 +00:00
Simon Howard
1fd0ad08ed Rework OS X launcher package. Include documentation files within the
application bundle and add a help menu with links. Rework .dmg
generation to generate a file with a "fancy" background image and
overall nicer appearance.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2332
2011-05-07 23:52:26 +00:00
Simon Howard
b79f27cef8 Add a symlink hack to work around the fact that OS X doesn't like paths
in MANPATH to contain spaces.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2318
2011-03-30 19:16:40 +00:00
Simon Howard
0268c882d9 Remove the BUGS file as it doesn't really contain any useful
information.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2316
2011-03-28 23:48:31 +00:00
Simon Howard
d4e5675421 Include Unix manpages in MacOS package, and set MANPATH to point to them
when opening a terminal window.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2302
2011-03-10 19:47:14 +00:00
Simon Howard
eca0d817b7 Replace the INSTALL file with a template version that is customized to
different platforms.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2299
2011-03-10 19:03:23 +00:00
Simon Howard
07bb5a69ef Add Strife to OS X launcher.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2294
2011-03-06 22:58:02 +00:00
Simon Howard
72c1191348 Make code changes to add Heretic/Hexen support to OS X launcher.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2277
2011-02-24 20:57:30 +00:00
Simon Howard
a9996b41e9 Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2258
2011-02-12 15:38:08 +00:00
Simon Howard
6d9d1c6051 Remove redundant package version label from top of OS X launcher window.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2234
2011-01-02 17:45:24 +00:00
Simon Howard
8dab0a3e63 Merge from trunk. This is slightly out of date as I did the merge
several days ago.

Subversion-branch: /branches/raven-branch
Subversion-revision: 2212
2010-12-10 22:44:01 +00:00
Simon Howard
e18391bb0f Add NOT-BUGS file with some common Vanilla gotchas.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2175
2010-11-30 01:08:59 +00:00
Simon Howard
167d4df40b Update Python scripts to work in Python 3.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2162
2010-11-09 16:10:52 +00:00
Simon Howard
22fc405736 Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1987
2010-08-31 19:26:32 +00:00
Simon Howard
b582e47695 Include INSTALL file in distribution packages.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1969
2010-08-28 18:28:05 +00:00
Simon Howard
fea1fb2a38 Set MACOSX_DEPLOYMENT_TARGET to target 10.4, so that the launcher will
work on older versions.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1944
2010-07-14 20:36:53 +00:00
Simon Howard
1162b2c65c Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1924
2010-04-30 20:53:31 +00:00