Commit graph

83 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
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
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
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
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
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
e2b4804903 Convert the rest of the doc files to Markdown. 2016-06-08 04:42:29 -07: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
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
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
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