Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

140 check-ins using file window.c version 7ecde9399e

2003-03-29
07:54
Fix off-by-one in selection update while scrolling. Thanks Richard B. check-in: f99ffbf1c3 user: simon tags: trunk
2003-03-28
19:44
Update text about ports, hopefully not too controversial. check-in: cf9f64a351 user: owen tags: trunk
2003-03-27
18:50
Tidy up dlg_editbox_set() and implemen dlg_editbox_get() for System 7. check-in: 705b6030a3 user: ben tags: trunk
18:06
Display half of a System 7 edit text CDEF, using TextEdit directly. This is the easy bit. check-in: 831e5834d4 user: ben tags: trunk
16:46
open_settings_r() and open_settings_w() need to cope with a NULL session name. check-in: 7ff9f3f2a8 user: ben tags: trunk
2003-03-26
18:22
DECCOLM fix, take 2. It turns out that my last fix wasn't causing crashes, but PuTTY was running out of memory, which is both easy and fatal under Mac OS at present. Having fixed that, I've re-instated the screen-clearing and cursor-homing on DECCOLM, and added resetting the scroll region, since this seems to help VTL's keypad diagram display correctly. check-in: 83aec2d1a3 user: ben tags: trunk
17:52
Get preferred and minimum sizes in the right order. check-in: 85c15eca05 user: ben tags: trunk
17:13
Revert last change. It seems to cause crashes when DECCOLM actually changes the width of the window. check-in: 50ca48ba13 user: ben tags: trunk
15:14
DECCOLM should clear the screen and home the cursor, so it does now. Correct interactions with DECOM and DECSTBM not investigated. Should fix bug "deccolm-cls", but I'll leave it open till I've checked the interactions. check-in: e4cc7a2e89 user: ben tags: trunk
2003-03-25
17:45
Rename dlg_listbox_addwithindex() to dlg_listbox_addwithid(), since the old name was, not to put too fine a point on it, wrong. check-in: c15ce8b4f5 user: ben tags: trunk
17:23
Use CountMenuItems() rather than CountMItems() since the latter isn't available in Carbon. check-in: c71405a7dc user: ben tags: trunk
17:18
Add support for editbox controls on Mac OS 8, and for per-control private data. check-in: ff30bf5a94 user: ben tags: trunk
2003-03-24
16:46
Clean out some #ifdef'ed out junk. check-in: b55ca73a8a user: ben tags: trunk
16:41
Initialise the "next menu ID" counter for pop-up menus. This stops crashes on Mac OS 8. Also re-do support for activate events so as not to depend on embedding hierarchies, and thus to work on System 7. check-in: 8e5be0656c user: ben tags: trunk
15:55
Slightly improve radio button layout to more closely match the Mac OS 8 HI Guidelines. check-in: 102ef083e8 user: ben tags: trunk
04:49
The general blurb on using Plink in batch mode ought to mention the host key prompt, and specifically mention how to ensure it won't bite you. check-in: f5f2f8848f user: simon tags: trunk
2003-03-23
08:11
Add support for pop-up menus (drop-down lists in Windows parlance). For some reason, these explode horribly with the Appearance Manager present, but work fine in bare System 7. Investigations are ongoing. check-in: 181998972d user: ben tags: trunk
2003-03-22
11:00
Various cosmetic fixes to the GTK config box: vertical alignment of edit box labels, Left/Right on the treeview to collapse and expand branches, a window title, and the best treatment of wrapping text widgets I could think of within the product-order-oriented GTK layout model. I think this thing is now pretty much as good as it's going to get before GTK v2 (which should fix one or two remaining minor nasties which I really couldn't be bothered to work around in GTK 1.2), so the next step is to actually start _using_ it. check-in: 8d912eb773 user: simon tags: trunk
05:07
The GTK colour selector does not provide full 8-bit resolution in the RGB values (it deals in floats with 2 d.p. instead). Hence I've replaced the static RGB text item in the Colours panel with three little edit boxes, so that a user can type in exact 0-255 RGB values if necessary. This should have the additional advantage of being quicker than faffing with the colour selector if you already know exactly what you want and are in a hurry! check-in: 485f935492 user: simon tags: trunk
04:36
Fiddle with the cmdline_saved mechanism: the `-load' option is now never deferred, but is evaluated instantly. This _should_ fix all the irritating problems with (for example) proxy settings and saved sessions not playing nicely. Or it may have some other ghastly side- effect I haven't considered; really I ought to have been keeping better track of all the problems in this area :-( check-in: b68ef18c3a user: simon tags: trunk
04:05
Windows file selectors contain an edit box as well as the Browse button; we must send EVENT_VALCHANGE when the edit box is manually changed as well as when the file selector successfully completes. check-in: fceeb8e166 user: simon tags: trunk
03:49
Yikes - saving of Default Settings must have been broken for some time! The load code in settings.c was translating an empty string into "Default Settings" to pass to {win,ux}store, whereas the save code was passing the empty string straight down and expecting it to be dealt with. So, a policy decision: the precise name of the "Default Settings" special session _at the storage level_ is up to the individual platform storage code to decide, and all platforms MUST assume Default Settings is meant if they receive NULL or the empty string as a session name. check-in: 62160c0af1 user: simon tags: trunk
03:32
Make sure one of the Local/Remote port forwarding radio buttons actually starts off selected! check-in: 0f2a55849f user: simon tags: trunk
03:22
Fixed the bug whereby PuTTYgen went into generation mode as soon as it started up. The problem was that I was accepting _any_ event on IDC_GENERATE to trigger this, not just the `clicked' event, and some uninteresting event like `initialise' must have occurred. Quite why this only showed up as a result of the config box revamp I can't imagine. check-in: ebf4491f72 user: simon tags: trunk
2003-03-20
18:24
Add crude support for multiple panels in the config dialogue box. There's no way to switch between panels yet, though, so you're stuck on the first one. check-in: a0006bd7ef user: ben tags: trunk
17:15
Pass a pointer to the entire dialog box structure to event handlers, rather than just the individual control pointer, because otherwise event handlers can't modify other controls. check-in: ccdc6b6bf8 user: ben tags: trunk
16:12
Mention xterm mouse reporting in the section on copy and paste. check-in: 7c288e49db user: ben tags: trunk
2003-03-18
18:40
Add support for drawing a ring around the default button in System 7. check-in: 7e74ec2588 user: ben tags: trunk
17:47
Add support for changing the contents of a pre-Appearance static text control. check-in: db36367194 user: ben tags: trunk
17:41
Tag the "Cancel" button appropriately, in case anyone's using a theme that pays attention to it. check-in: d521896264 user: ben tags: trunk
13:47
Better appearance and positioning for dlg_error_msg box, and also I've just found out that it's easy to ask for the config box to be centred on the screen by default, which is kinda cool. check-in: 94e43dea51 user: simon tags: trunk
13:12
Change the token for HTTP Basic Authentication from "basic" to "Basic". According to RFC 2617, it should be case-insensitive, but some proxies (Microsoft Proxy Server in particular) erroneously reject "basic". Should fix semi-bug msproxy-denied. check-in: 13456a37ff user: ben tags: trunk
13:06
Big sprawling dialog-box commit covering all sorts of things. Buttons now have an `iscancel' flag to go with `isdefault'; dlg_last_focused() now explicitly passes the control it _doesn't_ care about (`I want the last control that had focus and isn't this one'); and in the GTK implementation, various fixes have happened, notably including arrow keys working sensibly in list boxes and the treeview and short font aliases being expanded correctly to initialise the font selectors. check-in: 6f4a286473 user: simon tags: trunk
03:03
Gah, another duplicate keyword. I must stop creating new docs sections by cut and paste. check-in: 42ec2ce004 user: simon tags: trunk
2003-03-17
18:35
My First CDEF: A terribly trivial static text control for System 7. Needs work. check-in: 4af8995353 user: ben tags: trunk
16:38
Insert a missing ampersand that meant that the last version didn't even compile. check-in: d5f36308d8 user: ben tags: trunk
15:40
Partial implementation of the platform-independent dialogue-box interface for the Mac OS. This isn't anywhere near complete, and is wrong in a few important regards, but I think it's heading in the right direction. check-in: a32dd078ae user: ben tags: trunk
15:36
If I() and S() aren't inline, provide a prototype even if we're defining them. This is useful for compilers that warn about un-prototyped functions. check-in: 04aa552384 user: ben tags: trunk
13:00
When running on a system with Aqua menu layout, delete the separator line above "Quit" as well as "Quit" itself. check-in: 91ba490637 user: ben tags: trunk
10:57
Error messages update. It's now abundantly clear that WSAECONNABORTED is not the same thing as ECONNABORTED, so I've removed the `we're a bit confused about this, send us details' text. And someone has just been confused by `connection timed out', so I've added that too. check-in: f673042f10 user: simon tags: trunk
2003-03-16
14:18
typo check-in: 299ae4bf30 user: jacob tags: trunk
07:28
RSA blinding requires random numbers. Hence, Pageant now needs to have the random number generator linked in. check-in: 3eb890bc10 user: simon tags: trunk
06:37
Further work on the GTK config box; mostly implemented keyboard shortcuts now (only treeviews and list boxes to go, which currently do very weird things and I need to overhaul them completely). check-in: 4d48e2127e user: simon tags: trunk
06:36
Fixed accelerator clash in the Unix-specific config, since gtkdlg.c is now competent to detect them :-) check-in: 467805db99 user: simon tags: trunk
2003-03-15
12:39
My comment about RSA blinding was talking slight tosh. Fixed in case anyone ever actually reads it :-) check-in: ea40516592 user: simon tags: trunk
11:51
Implement RSA blinding, to defeat Brumley and Boneh's RSA timing attacks. In the PuTTY suite I'm pretty sure they're only applicable to a forwarded Pageant, and if your remote sysadmin is abusing your Pageant then you're shafted _anyway_; but it can't hurt to take precautions now, just in case things change in future. check-in: 3b2ef734f7 user: simon tags: trunk
09:56
When a piece of text overflows its column in a tabbed list box, I think on balance I rather like the natural behaviour of the way I've done it, except that non-zero separation between the columns would be even nicer. Accordingly, here is some. check-in: dbf66c8765 user: simon tags: trunk
09:55
The Telnet ENVIRON configurer also had a list box with an implicit tab stop. Fixed this one too. check-in: c8e40927a6 user: simon tags: trunk
09:50
Event handling in the GTK dialog engine is now basically present and correct. All the callbacks are getting called, all the dialog actions are working (the port forwarding, colour and charclass configurers are all completely functional), file, font and colour selectors happen, and it's all looking pretty cool. check-in: 143bc8df10 user: simon tags: trunk
09:49
Windows sets automatic tabs in list boxes, but GTK doesn't, so we should make the tab stop in the forwarded-ports list explicit. check-in: 7fbaff51e9 user: simon tags: trunk
03:42
Missed a couple of the Unix-specific settings out of settings.c. One of these days I'll have to separate the platform-specific settings out into winsett and uxsett modules, but for now it's not too urgent. check-in: 4ece626eed user: simon tags: trunk
2003-03-14
15:20
While I'm adding explanatory comments by the coroutine macros, it occurs to me that would also be a good place to put a copy of the instructions for disabling Edit and Continue debugging. Nobody _actually_ reads the README, after all... check-in: 1838c429d8 user: simon tags: trunk
15:18
The divisor in the bell timing boxes should be TICKSPERSEC, not 1000. check-in: f996ba3460 user: simon tags: trunk
12:35
Continuing work on the GTK config box. Created uxcfg.c for the Unix-specific config items; moved a stray Windows-specific config item (scrollbar-in-fullscreen) out into wincfg.c to stop it appearing on Unix; continued updates to gtkdlg.c. I now believe the GTK config box looks basically correct (modulo minor cosmetic issues and keyboard accelerators). Next step, add the event handling so it's actually functional. check-in: 65b0f014dd user: simon tags: trunk
2003-03-13
13:52
First stab at a GTK layout engine. It's missing all sorts of stuff (list boxes are particularly conspicuously absent), it has no event handling at all, and it isn't in any way integrated into pterm - you have to build it specially using the test stubs in gtkdlg.c. But what there is so far seems to work plausibly well, so it's a start. Rather than browbeat the existing GTK container/layout widgets into doing what I wanted, I decided to implement two subclasses of GtkContainer myself, which implement precisely the layout model assumed by the config box specification; this has the rather cool consequence that the box can be resized and will maintain the same layout at all times that it would have had if initially created at that size. check-in: 0a548b8a35 user: simon tags: trunk
2003-03-11
16:35
Increase PuTTY's default partition size to 2 MB. 1 MB just isn't enough. check-in: 9393fb8b0d user: ben tags: trunk
03:30
Never pass a `char' to a ctype function. I had relied on gcc -Wall letting me know about instances of this, but it turns out that my ctype.h explicitly casts input values to `int' to evade the `subscript has type char' warning, so it had been carefully not letting me know! Found them all by compiling with a doctored ctype.h, and hopefully fixed them all too. check-in: 4b43abe87a user: simon tags: trunk
2003-03-08
05:46
Add the ability to allocate extra per-dialog-instance private data in the portable dialog interface. This has allowed me to remove `ssd->savedsession' in config.c, which was (I believe) the only out-of-place piece of per-instance data in the dialog template stuff. Now we should actually be able to run more than one config box in the same process at the same time (for platforms that'll find that useful). check-in: 2d957c80e0 user: simon tags: trunk
2003-03-07
12:18
Richard B's patch for resize behaviour. The scrollback now contains a marker which defines everything before it as `permanent' scrollback and everything after it as `temporary'; only temporary scrollback lines are returned to the main screen when the window height is increased. Screen clears mark the lines pushed into the scrollback as permanent; so lines explicitly cleared off the screen by ESC[2J are never returned to it by mistake. This patch also fixes the incorrect state the primary screen is left in when the window is resized while the alternate screen is active. check-in: c0114029ba user: simon tags: trunk
03:03
Overnight docs build found a duplicate section keyword. Oops. Fixed. check-in: 3349adcd9e user: simon tags: trunk
2003-03-06
17:46
Alert box to support host-key checking. check-in: f6cbe5c08f user: ben tags: trunk
17:44
Slightly better than null verify_ssh_host_key(). It's broken in more ways than I can comfortably enumerate (see the comments in the code), but it's better than always assuming everything's OK. check-in: aa9c268756 user: ben tags: trunk
13:20
Just for Jacob, the ciphers drag list is now six lines high instead of five, so that the scroll bar doesn't show up when it's active. check-in: 18b7bd8bf0 user: simon tags: trunk
13:18
Got a bit of a better handle on the whole GDI `logical units' mess, and sorted out the static-control text wrapping rather better. Now it works under both large fonts and small fonts on Win2K, so I have high hopes that it's actually correct this time. check-in: f627d2480a user: simon tags: trunk
12:49
Fix a couple of stupid typos in the session-saving code. check-in: d9c07e5805 user: simon tags: trunk
07:25
Jacob points out that TS_EOL is broken in BINARY mode. check-in: c37f9b08b3 user: simon tags: trunk
07:24
Reorganisation of misc.c: Minefield has moved out to winmisc.c, and so has the Windows dputs() - which has also acquired a Unix counterpart in uxmisc.c. -DDEBUG should now work on Unix. check-in: dca52225ef user: simon tags: trunk
06:58
Oops, another missing forward-struct-declaration. check-in: d98f19e4da user: simon tags: trunk
06:57
Richard B's patch to add WINDOWID support to pterm. check-in: 5bae12ff10 user: simon tags: trunk
06:52
Repair the delete-saved-session button (trivial braino). check-in: ba3a52afd9 user: simon tags: trunk
06:51
Richard B's patch to push erased text into the scrollback on ESC[2J clears, and also to temporarily push the primary screen contents into the scrollback while the alternate screen is active and bring it back afterwards. check-in: 99255f9ef7 user: simon tags: trunk
06:41
As usual, gcc is better at warnings than MSVC, so here are some pedantic fiddlings with the new config-box stuff to cure some. check-in: 73136e7d3a user: simon tags: trunk
2003-03-05
16:07
The long-awaited config box revamp! I've taken the whole config box to pieces, and put it back together in a new table-driven form. config.c sets up a data structure describing most of the config box; wincfg.c adds in the Windows-specific options (so that config.c can also form the basis for Mac and Unix config boxes). Then winctrls.c contains a shiny new layout engine which consumes that data structure, and windlg.c passes all WM_COMMAND and similar messages to a driver alongside that layout engine. In the process I've sorted out nicer-looking panel titles and finally fixed the list-boxes-are- never-the-right-size bug (turned out to be Windows's fault, of course). I _believe_ it should do everything the old config box did, including context help. Now everyone has to test it thoroughly... check-in: 623bf020eb user: simon tags: trunk
2003-03-04
08:14
Add 'what does "PuTTY" mean?', and add some IPA to the shortened pronunciation answer. check-in: 7130221d8f user: ben tags: trunk
2003-03-03
10:35
I've been meaning to get round to this for _ages_: in front of my coroutine macros, I now include a comment linking to my web article that explains what they do. check-in: d1fbd328fa user: simon tags: trunk
2003-03-01
09:12
Improve scheduling on the Mac: 1: Only update the screen when there's nothing else to do. This means that it's a lot harder for a fast typist to outrun PuTTY. 2: Only sleep for at most 100ms at a time. This is a kludge to work around the WakeUpProcess caused by incoming data can happen before the WaitNextEvent it's meant to interrupt, leading to PuTTY sleeping forever because it doesn't know there's network data pending. check-in: bdadee3661 user: ben tags: trunk
2003-02-28
14:28
In merging the username and password input functions I inadvertently removed the support for control characters in passwords. Replaced. check-in: 9c58e8f454 user: simon tags: trunk
2003-02-27
17:34
Handle the Aqua menu layout, in which the system provides a "quit" option for us, correctly. check-in: db8bd30825 user: ben tags: trunk
17:21
Add 'plst' 0 resources to help Mac OS X do magic things. These aren't actually compiled yet because they must only be present in the Carbon build, and I don't currently compile the resources separately for each platform. check-in: 1083ee600a user: ben tags: trunk
2003-02-24
16:39
Add some parentheses for general robustness. (In particular I just tried to run mkfiles.pl on Perl 5.005_03 and it didn't work without them.) check-in: 9f567ffd5b user: simon tags: trunk
2003-02-23
07:42
Set the executable fragment name (in CFM builds) to the name of the target pgram, rather than to "PuTTY" unconditionally. check-in: 46aafdd33e user: ben tags: trunk
07:34
I think the Carbon build now works well enough to be worth turning on by default. It's not particularly useful, but it runs. check-in: 0a3937f543 user: ben tags: trunk
07:31
Handle suspend and resume events in PuTTYgen as well. check-in: ec008baf3e user: ben tags: trunk
07:00
Don't open the event log whenever an event is logged; instead handle the "Show Event Log" menu entry sensibly. Similarly, make it possible to close (hide) the event log. check-in: 5bac4b191f user: ben tags: trunk
06:41
Scroll the event log to the end after adding a line if it was looking at the end before the line was added. check-in: 29a6054ba8 user: ben tags: trunk
05:58
Add handling for suspend and resume events, and set the flags in our 'SIZE' resource that say we can handle them. This seems to avoid a crash when PuTTY's switched away from, and is necessary for Carbon anyway. check-in: 91edf3684b user: ben tags: trunk
2003-02-22
18:13
Work around an SC bug that causes it to try to use the same register for two purposes in s_wrpkt_prepare(). This makes SSH1 work on 68K Macs, at least until I deactivate the terminal window... check-in: 0d1b151319 user: ben tags: trunk
2003-02-20
16:55
Add a mechanism for collecting entropy, and displaying how much we've got, based on the Windows version. We don't _do_ anything with the entropy yet, though. check-in: b883ba310b user: ben tags: trunk
16:31
Be careful not to try to get information from windows we don't own, or that don't exist at all. Also a small PuTTYgen change that I can't be bothered to filter out of this commit. check-in: 9be131f6eb user: ben tags: trunk
16:22
Change some of the blocks of cut&pasted code into loops. check-in: 46a384efb2 user: ben tags: trunk
2003-02-19
18:40
Ask for traceback tables in PowerPC objects, since that should make tracking down crashes easier. check-in: cff55ca115 user: ben tags: trunk
03:54
Fix documentation for `ssh2-keyderive-nonbug'. check-in: 283ad53c20 user: jacob tags: trunk
2003-02-18
19:03
Make this compile in Carbon. check-in: f6ac137ffc user: ben tags: trunk
14:10
Fix `ssh2.0.11-keyderive-nonbug' on the strength of Ben's analysis. Not tested it myself. check-in: dbeef9d5a7 user: jacob tags: trunk
2003-02-16
08:27
Bring PuTTYgen into the world of object-oriented event handling. Also add a non-functional "generate" button the the key window. check-in: e6bbdcb84a user: ben tags: trunk
07:44
Make it possible to close the "about" and "licence" boxes again. check-in: 335f1c4fe0 user: ben tags: trunk
07:03
Actually use macabout.c. check-in: a503aefc1e user: ben tags: trunk
07:03
Stub code for handling key windows in PuTTYgen. This file will eventually include all the stuff that does actual work in PuTTYgen. check-in: e281e92371 user: ben tags: trunk
2003-02-15
12:47
faq-support: Modified text to reflect the fact that the wishlist now shows bugs fixed recently (FSVO "recently"). Hopefully I haven't made it too confusing. check-in: c16ad421d2 user: jacob tags: trunk
10:22
Rather than increasing the size of my switch statements yet further, have a bunch of function pointers associated with each window to do things like updates and click handling. This is all looking disturbingly object-oriented. . While I'm here, separate out the about box into its own file, shared by PuTTY and PuTTYgen. check-in: 3881d906eb user: ben tags: trunk
08:20
Tiny amount of infrastructure for having actual keys in PuTTYgen. check-in: 334a2cd854 user: ben tags: trunk
08:20
<OpenTransportInternet.h> seems to want <Files.h>. Silly thing. check-in: 1796652c7a user: ben tags: trunk
07:29
Make various internal functions static. check-in: 25f6932e4b user: ben tags: trunk
2003-02-13
06:30
Move the 'vers' resources for Mac OS into their own file, to be shared by the various applications. check-in: c03457d522 user: ben tags: trunk
2003-02-12
17:53
Minimal shell of PuTTYgen for Mac. No actual PuTTYgen-specific code there yet, but an absence of PuTTY-specific code. check-in: a890ccb51e user: ben tags: trunk
17:21
Deal with a "possible extraneous ';'" warning. check-in: e05da039a2 user: ben tags: trunk
17:06
Convert implicit (char *) and (unsigned char *) casts to explicit ones. check-in: 864590f66f user: ben tags: trunk
13:49
Update list of Telnet options to match what IANA currently have. check-in: 1686892274 user: ben tags: trunk
2003-02-11
17:10
Clip host resize requests to the size of the desktop. check-in: 681fb05042 user: ben tags: trunk
08:10
Remove another `please pester ssh.com for their agent protocol' bit. check-in: 51a454e99b user: simon tags: trunk
2003-02-10
17:49
The event log is implemented; remove it from the list. check-in: 431ec73eb4 user: ben tags: trunk
2003-02-07
08:22
Set some parent windows on PuTTYgen and Pageant About/Licence dialog to improve window management behaviour. check-in: f39872d5a5 user: jacob tags: trunk
07:54
Give PuTTYgen an icon. check-in: aa0351520d user: jacob tags: trunk
2003-02-06
19:38
Crude Event Log implementation for the Mac. I'm fairly convinced now that using the List Manager was entirely the wrong decision on my part, so I'll probably rewrite this to use TextEdit at some point, but it's better than stderr even so. check-in: e21e4e9b77 user: ben tags: trunk
19:33
Clean up Carbon build procedures somewhat. I still don't have anything that actually works, but I think I'm getting closer. check-in: fc6c6cc4b7 user: ben tags: trunk
2003-02-05
19:01
Move net_service_lookup() to macnet.c, since that's where it belongs. check-in: e45155e93a user: ben tags: trunk
03:05
Oops; overzealous copy-and-paste in the Windows Help context names. check-in: 2af0236d59 user: simon tags: trunk
2003-02-04
17:39
Add a level of indirection to make it rather easier to work out which of a session's windows we're dealing with. check-in: 917edfac77 user: ben tags: trunk
07:02
Add another bug workaround, this one for old OpenSSH (<2.3) servers which have a strange idea of what data should be signed in a PK auth request. This actually got in my way while doing serious things at work! :-) check-in: 2a3598e202 user: simon tags: trunk
07:00
Further fallout from the introduction of the Filename type. (Memo to self: if you change the type of a variable and everything compiles without type-checking errors, that doesn't mean it's all fixed, because variadic functions aren't type-checked! Oops.) check-in: c83f62d857 user: simon tags: trunk
2003-02-03
20:15
If we're compiling for Carbon, define OTCARBONAPPLICATION so that we get the simplified (and backward-compatible) application-only interfaces. check-in: 75b5d27dc6 user: ben tags: trunk
20:10
Carbonise, or at least disable MacTCP support under Carbon. check-in: 3fba36369a user: ben tags: trunk
20:08
I can only quote the comment in <Scrap.h> which prompted this commit: /* Newsflash! After 15 years of arduous toil, it's finally possible for specially trained typists wielding advanced text editing technology to define symbolic names for commonly used scrap flavor type constants! Apple triumphs again! */ check-in: 90f6d5ad0c user: ben tags: trunk
20:03
Fix various breakages my Carbonisation caused in the Classic build, notably that outside Carbon, CGrafPtr and GrafPtr are different types, even though they're mostly interchangeable, so we need to interpose a cast between GetWindowPort and SetPort. check-in: 68798e3793 user: ben tags: trunk
19:53
Carbonise. Currently, size tips and copy/paste won't work in Carbon. check-in: deae33d0a3 user: ben tags: trunk
18:33
Slightly improve Carbon handling: we still have to deal with the "About..." menu entry, even if the rest of the Apple Menu is done for us. check-in: 169a600cd3 user: ben tags: trunk
18:01
Convert keyboard events into Unicode properly. I can now type all manner of interesting characters and have them work properly. check-in: d405e5ebd9 user: ben tags: trunk
2003-02-02
10:02
Update to match reality. check-in: a3c46c5adf user: ben tags: trunk
09:59
Add support for using Navigation Services to open saved sessions. Support for saving sessions using Navigation Services will come later. check-in: f09cdf55a5 user: ben tags: trunk
2003-02-01
18:04
Carbonise, mostly by replacing addresource() with c2pstrcpy() and AddResource(), and similar. check-in: 2ca911cb03 user: ben tags: trunk
17:55
Carbonise. Until we support Navigation Services, loading and saving sessions is tricky. check-in: cc9ee8dc5a user: ben tags: trunk
17:42
Make this compile in a Carbon world (while still supporting everything else). check-in: 274e973054 user: ben tags: trunk
16:20
Add some glue to allow building a Carbon version of PuTTY. It won't work, but it's nice to have the infrastructure in place. check-in: 867797dc22 user: ben tags: trunk
15:44
Rather more natural (if much more complex) Mac Filename implementation. Filenames are represented as a FSSpec, which is converted to and from an alias record ('alis' resource) when saving and loading sessions. . It might be an idea to allow in-core Filenames to contain alias records too, so that they can refer to directories that don't exist on the current system, but that requires Filenames to be dynamically allocated, which is likely to be a pain. check-in: ef3dcf4a08 user: ben tags: trunk
15:39
In xlatlognam(), use the start of the destination buffer as the destination filename, not the end. check-in: 497d4a8ca8 user: ben tags: trunk
11:25
Initialise a variable that might otherwise have caused trouble. Thanks to Ross Younger. check-in: fdbeff0d7d user: simon tags: trunk
11:24
Oops, Ben is quite right about the rather appalling design of filename_from_str. Here's a better fix, with some const repercussions too. check-in: f8d33b50cd user: simon tags: trunk
09:44
Tidy up Simon's FontSpec abstraction. Also, make fontspec_to_str not return the address of an automatic variable. It now has a memory leak instead. check-in: 19ff369be2 user: ben tags: trunk
09:42
Make save_scroll() static. check-in: d6ad9400b3 user: ben tags: trunk
06:54
Created new data types `Filename' and `FontSpec', intended to be opaque to all platform-independent modules and only handled within per-platform code. `Filename' is there because the Mac has a magic way to store filenames (though currently this checkin doesn't support it!); `FontSpec' is there so that all the auxiliary stuff such as font height and charset and so on which is needed under Windows but not Unix can be kept where it belongs, and so that I can have a hope in hell of dealing with a font chooser in the forthcoming cross-platform config box code, and best of all it gets the horrid font height wart out of settings.c and into the Windows code where it should be. The Mac part of this checkin is a bunch of random guesses which will probably not quite compile, but which look roughly right to me. Sorry if I screwed it up, Ben :-) check-in: 497dc397e7 user: simon tags: trunk