1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 19:42:48 -05:00
Commit Graph

90 Commits

Author SHA1 Message Date
ad2bbc52a4 First draft of Unicode support in pterm. It's pretty complete: it
does UTF-8 copy and paste (falling back to normal strings if
necessary), it understands X font encodings and translates things
accordingly so that if you have a Unicode font you can ask for
virtually any single-byte encoding and get it (Mac-Roman pterm,
anyone?), and so on. There's work left to be done (wide fonts for
CJK spring to mind), but I reckon this is a pretty good start.

[originally from svn r2395]
2002-12-31 12:20:34 +00:00
860164958a Dimitrie Paun's patch for Winelib support. Actually does nothing
except add a couple of commented-out lines to Makefile.cyg; the
Winelib user must uncomment them to do the compilation.

[originally from svn r2393]
2002-12-31 10:04:35 +00:00
47f459bb5f Add support for compiling 'vers' resources into Mac applications. This is
needlessly complex because Rez's preprocessor doesn't do either ANSI or K&R
stringification, and the MPW Shell isn't much good as shells go.

Also make _all_ the Mac executables depend on reources, not just the
Classic 68K one.

[originally from svn r2389]
2002-12-30 23:14:11 +00:00
672404dc4e Finally add support for building Mac resource forks. This adds a new kind
of compiled resource file, .rsrc, which is built from .r, and adds mechanisms
to the MPW makefile generator to handle this.

[originally from svn r2385]
2002-12-30 14:20:25 +00:00
f5578ea873 More cleanup to Mac build procedures, notably:
- Remove an unused library from the CFM-68K link line.
 - Set the fragment name in CFM builds to "PuTTY".
 - Set the hasBundle and isShared bits on freshly-created applications.

[originally from svn r2383]
2002-12-30 13:43:19 +00:00
b838180aa0 Add support for building a CFM-68K version of PuTTY, which is rather smaller
than the Classic 68K version.  This requires installing more bits of the
Text Encoding Converter SDK, since Apple seem to have forgotten to put _any_
68k bits for it, either CFM or Classic, in Universal Interfaces.

Also don't bother linking against libraries we don't seem to need.

[originally from svn r2379]
2002-12-29 19:01:33 +00:00
9b45be7987 Substantial overhaul of Mac build system. We now have working PowerPC builds,
and optimisation (for size) enabled.

[originally from svn r2378]
2002-12-29 15:44:15 +00:00
09dc635ba3 Use the "far" versions of all libraries for which they seem to exist.
This should make things less likely to break as the code gets bigger.

[originally from svn r2375]
2002-12-29 13:41:38 +00:00
ee01ff5731 The current version of SC generates warnings for unused parameters just
like MrC.  Turn them off, since they're clearly silly.

[originally from svn r2370]
2002-12-28 22:17:51 +00:00
93f12a008d Use the Unicode Converter to convert from Unicode to the display encoding
if it's available.  Linking against the static Unicode Converter library
costs us about 30k on Classic 68K, which I can live with.

Because the default fallback converter can generate multiple output
characters for a single input character, we provide our own fallback that
doesn't.  It converts everything to '?' instead.

[originally from svn r2315]
2002-12-13 00:02:48 +00:00
26fcf5f991 Add support for generating MPW Makefiles. This makes the following changes:
* splitline gets support for changing the continuation character.
* deps returns a data structure for the output routine to format as
  appropriate.
* There's a new program type, [M], for Macintosh.
* There's a new backend to output mac/Makefile.mpw.

[originally from svn r2272]
2002-12-02 21:01:11 +00:00
4c24598b57 Add mac/ to include paths after discussion with bjh21
[originally from svn r2229]
2002-11-19 19:36:14 +00:00
7a85e73e57 Borland makefile needs to define _WINDOWS; apparently this makefile
hasn't worked since the Unix port started and nobody has noticed
until now :-)

[originally from svn r2198]
2002-11-07 19:37:36 +00:00
0e6c1fffd9 Introduce program category U, for non-GTK-requiring Unix apps. Plink
doesn't need to be linked with libgtk, libgdk, libX11 etc!

[originally from svn r2179]
2002-11-01 18:51:55 +00:00
28a75f8b84 RJK's `make install' patch for the Unix makefile.
[originally from svn r2163]
2002-10-30 18:17:56 +00:00
78c69239f1 Preparatory work before attempting a Unix port of plink: mkfiles.pl
needs to be able to handle separate Recipe entries for the same
program with different types (plink [C] and plink [X] for example,
with different object lists).

[originally from svn r2159]
2002-10-30 17:56:05 +00:00
60935859d5 Richard's patch to fix `make clean' under Unix.
[originally from svn r2063]
2002-10-15 14:58:02 +00:00
6d0e9b205d First phase of porting. pterm now compiles and runs under Linux+gtk.
The current pty.c backend is temporarily a loopback device for
terminal emulator testing, the display handling is only just enough
to show that terminal.c is functioning, the keyboard handling is
laughable, and most features are absent. Next step: bring output and
input up to a plausibly working state, and put a real pty on the
back to create a vaguely usable prototype. Oh, and a scrollbar would
be nice too.
In _theory_ the Windows builds should still work fine after this...

[originally from svn r2010]
2002-10-09 18:09:42 +00:00
268213483c Oops. Dirsep in Makefile.cyg should be / not \.
[originally from svn r2004]
2002-10-07 22:21:28 +00:00
64c52b0d30 Begin destabilisation in the wake of 0.53! This checkin contains the
beginning of a Unix port. It's nowhere near done, and currently it
won't even compile on Unix. But this represents the start of the
process of separating out platform-specific code, and also contains
the mkfiles.pl changes required to support a Unix makefile and a
non-flat source tree.

[originally from svn r1993]
2002-10-07 16:45:23 +00:00
689fcb5106 Add -w-pia to the Borland makefile (suppress warnings about
assignment statements used as truth values).

[originally from svn r1605]
2002-03-27 20:08:12 +00:00
a011a5edba Completely revamped mkfiles.pl which incorporates dependency
analysis (for both .c and .rc files). Generates the VC++ makefile as
well as the other two; the authoritative source is now the new file
`Recipe' rather than any particular Makefile. Note that `Makefile'
is still here as a relic of the old way until we stop the nightly
builds using it, but it'll be gone soon.

[originally from svn r1592]
2002-03-16 15:49:28 +00:00
e4712f729d Bah. Add winspool.lib to libraries list. Maybe _now_ the nightly
builds will start working again :-/

[originally from svn r1587]
2002-03-11 10:38:30 +00:00
0d18907a1d `make clean' in the Borland makefile should ignore error returns
from the delete commands in case nothing of a particular type needs
to be cleaned up.

[originally from svn r1498]
2001-12-15 14:29:03 +00:00
05226e43a9 Wez Furlong's patch to tidy up full-screen mode: make it
multi-monitor aware and make the scrollbar separately configurable
in and out of full-screen mode. Also (not Wez's patch, this bit) fix
the case where the user reconfigures _while_ the window is
full-screen, and disables full-screening. (In this case the window
should return gracefully to normal, rather than losing all its title
bars and getting confused.)

[originally from svn r1310]
2001-10-17 21:21:03 +00:00
abee2a59ab Cygwin build fixes: update the dependencies, add -DNO_SECURITY to
the Cygwin CFLAGS, and declare `struct ssh_channel' in ssh.h to
prevent gcc warning about scope-confined-to-parameter-list.

[originally from svn r1268]
2001-09-15 14:58:26 +00:00
913b9deeec Updated Makefile.cyg for Glenn Maynard's IME patch.
[originally from svn r1186]
2001-08-15 19:41:14 +00:00
aaf250b9f3 Disable the most irritating compiler warnings in the Borland makefile.
[originally from svn r1142]
2001-05-28 10:26:10 +00:00
e59d3712c2 Borland and Cygwin makefiles now support XFLAGS.
[originally from svn r1117]
2001-05-13 11:46:00 +00:00
580cde3fde Add the missing "all" target in the Cygwin makefile
[originally from svn r1085]
2001-04-28 12:07:41 +00:00
64b27d6bf4 Add -lwinmm to Cygwin makefile. Thanks Jacob.
[originally from svn r1081]
2001-04-28 11:25:03 +00:00
942d7f0533 Update Makefile generation and ensure everything works with Borland 5.5
[originally from svn r684]
2000-10-06 15:54:04 +00:00
9119c6e02f Fix Jacob's fix for mingw32 resource compiler so that it _only_ happens
when using the mingw32 resource compiler!

[originally from svn r600]
2000-09-19 08:24:51 +00:00
9325cb748f Joris van Rantwijk knows how to cause a Borland-built PuTTY to
release the console! Hooray! Let's do that then. It's the -aa option
on ilink32.

[originally from svn r499]
2000-06-21 16:08:08 +00:00
3ceb7127ba Borland makefile should now work sanely with the free-beer bcc55
[originally from svn r395]
2000-03-08 09:41:17 +00:00
bd4b8c1285 Joris van Rantwijk's fixes for cygwin (NB includes WIN32S_COMPAT)
[originally from svn r389]
2000-02-20 11:01:00 +00:00
6e7131412e Fix problems with resource compilation Makefile lines
[originally from svn r371]
2000-01-19 12:16:19 +00:00
21d2f97597 Fix FORCE target in Cygwin makefile
[originally from svn r370]
2000-01-19 12:11:38 +00:00
3c7d363fd8 Couple of bug fixes to cygwin makefile
[originally from svn r350]
1999-12-14 09:29:55 +00:00
5176e1e9bb Add multi-makefile management system
[originally from svn r349]
1999-12-13 17:21:42 +00:00