Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
119 check-ins using file mac/otnet.c version 5738ebeb71
|
2003-02-03
| ||
| 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 | |
| 06:28 | Fix the gcc warnings in this module (since we now seem to be building -Werror under Unix this is quite important!). check-in: f2f4ab7ddd user: simon tags: trunk | |
| 06:26 | Richard's lazy-scrolling patch. This builds up scroll operations in a list, combining adjacent ones for the same region, and runs them all in do_paint. I'm not sure it's entirely right, but it works on my Mac in every case I've tested. check-in: 6144d2df4f user: ben tags: trunk | |
|
2003-01-31
| ||
| 20:09 | Misc tweaks to proxy section check-in: 59e9cf9831 user: jacob tags: trunk | |
| 18:29 | Be slightly less negative about other people's setting up PuTTY-related fora. check-in: 14c4261726 user: ben tags: trunk | |
| 17:18 | Mention the slightly odd "too many authentication attempts" message you get from OpenSSH if you overfill Pageant. check-in: 9c12e6ca96 user: ben tags: trunk | |
|
2003-01-30
| ||
| 17:11 | Small amount of extra noise gathering -- slurp the process list in noise_get_heavy(). check-in: a7e2dbcbf1 user: ben tags: trunk | |
| 07:39 | Yet more fallout from the 16-colour changes. I think by this time these fiddly little changes are no longer bugs I introduced recently, they're bugs that have been around all along and I've only just smoked out by altering the ATTR_* definitions. check-in: 433f96b155 user: simon tags: trunk | |
| 04:19 | Antonin Brothanek points out that `Incoming packet was garbled on decryption' could be a result of the wrong setting of the `Miscomputes SSH2 encryption keys' bug workaround option. check-in: 3ed7da1881 user: simon tags: trunk | |
|
2003-01-29
| ||
| 10:39 | Further cosmetic tweaks to file-selection boxes per observed conventions on Windows: - Change "AllFiles" to "All Files (*.*)" - Extensions in lower case check-in: e7864be8f8 user: jacob tags: trunk | |
|
2003-01-28
| ||
| 06:06 | And another bit missing from the settings changes: pterm's platform default for CloseOnExit was encoded wrongly. Hopefully this should be everything now; I'm really starting to get sick of picking up the pieces after my two checkins yesterday. Perhaps I should have waited until I had a brain before doing them in the first place. check-in: d0361ae286 user: simon tags: trunk | |
| 06:05 | Gaah, another missing bit from the 16-colour support: Ben points out an out-of-date comment in putty.h. check-in: 28c32b2994 user: simon tags: trunk | |
| 05:57 | Neither do we do non-block cursors. check-in: 0409b0a9d7 user: ben tags: trunk | |
| 05:56 | We don't do blinking text/cursor yet. check-in: 8be89f7bf2 user: ben tags: trunk | |
| 03:30 | Ahem, and restore the missing & from that checkin. Arrgh. check-in: 7924f05930 user: simon tags: trunk | |
| 03:26 | Oh, _that's_ why that `if' had the sense it did. Good grief. Apparently I used to rely on the fact that the same `erase_char' used to wipe parts of the screen was also a good value to use for resetting line attributes. Should now be more robust against future reorganisations of the ATTR_* bit fields. check-in: 1bc37a873d user: simon tags: trunk | |
|
2003-01-27
| ||
| 18:35 | Don't log every keypress by default here either. check-in: 7459fe2b61 user: ben tags: trunk | |
| 18:25 | Fix a minor oversight in the new 16-colour code for the Mac, which was calculating the background colour wrongly. check-in: 4dd716d5d5 user: ben tags: trunk | |
| 18:17 | Security fascists might claim that logging every keypress to stderr is a bad idea, so stop doing that (only in the Mac port, so not actually much of a problem). check-in: a466b7e46b user: ben tags: trunk | |
| 17:46 | Add myself to the list of copyright holders, largely for term_key(). check-in: 8c416fc67d user: ben tags: trunk | |
| 17:18 | Of course, that cleanup I did earlier in which I rationalised all the various `yes/no/maybe' enums into one common one missed a vital point: all those enums mapped on to integers in different ways, which affected the format of stored settings. Arrgh. So now settings.c contains yet more painful warts and I'm _really_ starting to think it's about time we designed a new set of human-usable config keywords and retired this lot to the status of Unpleasant Backwards-Compatibility Relic. check-in: a31fb10880 user: simon tags: trunk | |
| 17:03 | xterm apparently supports ESC[90m through ESC[97m to set bright foreground colours, and ESC[100m through ESC[107m to set bright background colours. Hence, so do we. Bright-foreground is distinguishable from bold, and bright-background distinguishable from blink, when it leaves terminal.c; the front end may then choose to display them in the same way if it's configured to do so. This change makes the xterm backend for Turbo Vision (!!!) work properly. Untested on Mac. check-in: a7834c6a71 user: simon tags: trunk | |
| 12:02 | Remove all `enum'-typed variables from the Config structure. Everything in there which is integral is now an actual int, which means my forthcoming revamp of the config box will be able to work with `int *' pointers without fear of doom. check-in: b7a1f42e84 user: simon tags: trunk | |
| 09:44 | Blinking text was broken on pterm. This should fix it. check-in: 41143d93f5 user: simon tags: trunk | |
|
2003-01-26
| ||
| 18:39 | First attempt at a platform-independent keyboard handler. This isn't complete yet -- there's no Alt+keypad support, and no way for the front-end to find out what it should do with the Num Lock light. It's also not fully tested. Nonetheless, it's at least as good as the previous Mac keyboard handler. Other platforms probably shouldn't adopt it just yet. check-in: 78d8025c59 user: ben tags: trunk | |
| 18:33 | Remove some fossils. check-in: d967df13b1 user: ben tags: trunk | |
|
2003-01-25
| ||
| 13:23 | Support for pasting 'TEXT', ie text in the local character set. At the moment, we assume it's in the system script -- later we should check for 'styl' scrap in case it isn't. check-in: 24d30e0b77 user: ben tags: trunk | |
| 13:21 | Don't pass NULL to strcmp. Instead, if the user passes a font of NULL, only match table entries where the font is NULL. check-in: 037cf15232 user: ben tags: trunk | |
| 11:20 | Add support for copying non-Unicode text to the clipboard. We also send a simple 'styl' record along with it to specify the font and suchlike. I'm not sure it's worth making this optional in the way the RTF is in Windows. check-in: c32aaaea83 user: ben tags: trunk | |
| 10:23 | Fix Unix breakage from term_mouse() revamp too. check-in: e2ba46c004 user: simon tags: trunk | |
| 10:22 | Fix minor breakage on Windows as a result of term_mouse revamp. check-in: 152c010761 user: simon tags: trunk | |
| 10:16 | Change the term_mouse interface a little so that it gets passed both the raw and the cooked mouse button, with the mapping being done in advance by the front-end. This is useful because it allows the front-end to use information other than the raw button (e.g. the modifier state) to decide which cooked button to generate. . Front ends other than the Mac one are untested, but they just call translate_button() themselves and pass the result to term_mouse(). check-in: b60ae0056c user: ben tags: trunk | |
| 09:21 | The PowerPC build works on Owen's Mac, which doesn't have AppearanceLib, so that bug's definitely fixed. check-in: 712882f429 user: ben tags: trunk | |
| 09:18 | Duplicate Session is done. check-in: 131cbe6764 user: ben tags: trunk | |
| 09:15 | Add support for "Duplicate Session", moving back-end selection into mac_startsession() in the process. check-in: d09a3393de user: ben tags: trunk | |
| 08:09 | Ensure that development snapshots have a version number higher than the preceding release. check-in: ad208882de user: ben tags: trunk | |
| 08:07 | We now have _some_ useful AE support, so mention what's missing specifically. Also mentio lack of Duplicate Session. check-in: bce1cbfaeb user: ben tags: trunk | |
| 08:04 | AEGetNthPtr() is stupid and counts from 1. Allowing for this gets aevt/odoc working. check-in: cf472a08fb user: ben tags: trunk | |
|
2003-01-24
| ||
| 08:12 | Change website refs from putty/wishlist.html to putty/wishlist/ check-in: 18b7538040 user: jacob tags: trunk | |
|
2003-01-23
| ||
| 18:37 | We'd like full-screen mode too. check-in: d5cc84034d user: ben tags: trunk | |
| 18:28 | Add a bug and a missing feature. check-in: 9b3d649e18 user: ben tags: trunk | |
| 18:25 | Redesign the macnet.c infrastructure, largely so as to avoid using Gestalt(), which didn't detect the MacTCP emulation in Owen's Open Transport. check-in: e984a17713 user: ben tags: trunk | |
| 16:57 | Add Apple Event handlers for 'aevt'/'oapp', 'aevt'/'odoc' and 'aevt'/'pdoc'. None of them does anything useful yet (though the odoc one tries to). check-in: f1ab1bab49 user: ben tags: trunk | |
| 11:01 | Add {Question} to faq-psftp-slow check-in: 35f5c62479 user: jacob tags: trunk | |
| 06:30 | Mention Ctrl-PgUp/PgDn check-in: 1165483f25 user: jacob tags: trunk | |
| 05:37 | In pursuance of `icon-title-default-change': Change the sense of cfg.win_name_always' representation in the UI (from `Avoid ever using icon title' to `Separate window and icon titles'). Also update the docs to match reality. check-in: 2ca630032f user: jacob tags: trunk | |
|
2003-01-22
| ||
| 14:22 | Next instalment of the Great Incompatible Defaults Change: `avoid ever using icon title' now defaults to On, because in general it seems to cause more problems than it solves. check-in: 3e1a10c37a user: simon tags: trunk | |
|
2003-01-21
| ||
| 15:05 | accel.pl knows about the accelerators added by winctrls.c:prefslist(). (I'm amazed this still works...) check-in: 1a775309b2 user: jacob tags: trunk | |
| 13:18 | Fix "-v" in the Windows console utilities (plink, pscp, psftp). I'm not convinced I've done this the right way (I've introduced a static for logctx in console.c) but it will do for now. check-in: de3e01d206 user: jacob tags: trunk | |
|
2003-01-20
| ||
| 18:28 | We'll need the event log to work, too. check-in: bba6b378b1 user: ben tags: trunk | |
| 18:27 | Remove stray debugging printfs. check-in: 9acbdd2713 user: ben tags: trunk | |
| 16:55 | More unimplemented features. check-in: ad8e50ca15 user: ben tags: trunk | |
| 16:55 | Add minimal Apple Event support -- we handle the 'aevt'/'quit' event. check-in: f7f6836f13 user: ben tags: trunk | |
| 14:15 | Enable -Werror in GTK builds (we already have -Wall, so more GCCisms aren't _that_ evil). check-in: 023d9c2fdc user: ben tags: trunk | |
| 14:10 | Add a stub "free" routine for pterm. Thanks to rjk. check-in: 25b133ff45 user: ben tags: trunk | |
| 12:05 | Run through contrib/accel.pl 1.1 [r1585]: - Fix accelerator clash on SSH panel (D) - Fix accelerator comments check-in: 8ce8de0236 user: jacob tags: trunk | |
|
2003-01-19
| ||
| 19:07 | Sync with reality and add more things that need fixing. check-in: 9c97f21650 user: ben tags: trunk | |
|
2003-01-18
| ||
| 18:00 | unitab_xterm is now basically right. SC's optimiser seems to do something nasty to ssh.c. check-in: eb5ef02032 user: ben tags: trunk | |
| 17:26 | Use the correct ProcInfo for AddrToStr. This makes the MacTCP code work in PowerPC builds. Well, makes it not crash, anyway -- AddrToStr doesn't seem to be returning amything very useful. check-in: 3b7e6ec09e user: ben tags: trunk | |
| 16:02 | Remove stray debugging code that got in with the last commit. check-in: 454cf38c50 user: ben tags: trunk | |
| 15:56 | Clear kex_ctx in a new session so we can safely free an ssh session without one. check-in: 72ba35c7bb user: ben tags: trunk | |
| 14:52 | Remember which file a session was opened from, so it can be the default one to save back to. check-in: 171fe191f0 user: ben tags: trunk | |
| 14:09 | Support for saving sessions on the Mac. This is slightly useful even in the absence of a config dialogue, since it allows me to get Default Settings out. check-in: 00d16a81fe user: ben tags: trunk | |
| 11:24 | PuTTY doesn't remember which file it got a saved session from, so it's as stationery-pad-aware as it needs to be. check-in: 9f77d4b00e user: ben tags: trunk | |
| 11:14 | Add "Save" and "Save As..." items to the menus. No code behind them yet. check-in: 4d7cb8947c user: ben tags: trunk | |
| 10:54 | Move mac_opensession() from macterm.c to macdlg.c. check-in: 80b515afb7 user: ben tags: trunk | |
| 10:10 | Various things to make the Finder like us: - Change the creator of files we don't want the user to open to 'pTTI' (for "PuTTY internal"), and give them application-missing strings. - Provide missing-application names for saved sessions. - Provide a ResEdit 'TMPL' resource for integers in saved sessions. - Provide an icon for saved session stationery pads (maybe "Default Settings" should be one of these by default). No code to handle this yet. check-in: 16d2e8d9f1 user: ben tags: trunk | |
| 06:25 | Correct an incorrect black pixel in the PuTTY icon that's been annoying me for some time. check-in: 59297f8b8e user: ben tags: trunk | |
| 06:19 | Clear the "Inited" bit when we finish building each executable, in a bid to get the Finder to look at the new 'BNDL' resource. check-in: 59675f5f98 user: ben tags: trunk | |
| 06:18 | It would help if everything agreed on the type of PuTTY random seed files. check-in: 230dab5fda user: ben tags: trunk | |
| 06:03 | Simplify the random-seed-saving code: There's no need to take great care to preserve the old file in case the update is interrupted and replace it atomically, so we just overwrite in place. Much simpler. check-in: 1be497bfde user: ben tags: trunk | |
|
2003-01-17
| ||
| 07:32 | When voting for items already on the wishlist, a stonking new reason that we hadn't already thought of might help. check-in: 8cf7b05740 user: jacob tags: trunk | |
|
2003-01-16
| ||
| 09:43 | Steven Shockley points out that the .PPK extension is far from obvious to users. Update the file selection dialogs to mention it per the usual Windows convention, and also sprinkle references to it throughout the docs. I've also scattered hints that most tools need PuTTY's native format; perhaps this will reduce the frequency with which FAQ A.1.2 trips people up. check-in: 8a5be4d472 user: jacob tags: trunk | |
|
2003-01-15
| ||
| 18:52 | Statements after declarations, dammit check-in: 307baf6078 user: jacob tags: trunk | |
| 18:35 | Add some icons for saved sessions and random seeds. check-in: cc330ea46e user: ben tags: trunk | |
| 17:46 | "I don't think that bit means what I think it means", if you see what I mean. In other words, turn off the useTextEditServices bit in our 'SIZE' resource. check-in: 62298597b3 user: ben tags: trunk | |
| 17:30 | Add the ability to close sessions. This adds *_free() functions to most areas of the code. Not all back-ends have been tested, but Telnet and SSH behave reasonably. Incidentally, almost all of this patch was written through Mac PuTTY, admittedly over a Telnet connection. check-in: c4f9059891 user: ben tags: trunk | |
| 16:37 | Make this compile again. check-in: 63aaa3e54a user: ben tags: trunk | |
| 14:47 | Implement Simon's suggestion of moving DEFAULT_PROTOCOL into a per-backend- link-module const variable `be_default_protocol' which suggests a sensible default to the front end (which can ignore it). (DEFAULT_PORT is replaced by a lookup in the backend[] table.) Still not pretty, but it does mean that the recent fix for `ssh-default' doesn't break PuTTYtel. check-in: 184dd22aa5 user: jacob tags: trunk | |
| 12:47 | MacTCP returns canonical names with a trailing dot. We don't want this, so strip it off. check-in: 7192827858 user: ben tags: trunk | |
| 12:45 | PuTTYtel should use be_nossh, not be_none. While we're here, also comment the meaning of [M]. check-in: 4da7e1cce4 user: ben tags: trunk | |
| 10:16 | Fix small breakages as a result of yesterday's upheavals. Oops. check-in: 0f70f4c34a user: simon tags: trunk | |
| 09:22 | `ssh-default': change the /DSSH_DEFAULT flag to a /DTELNET_DEFAULT one and note its existence in Recipe. As far as I can tell there are no documentation changes required. check-in: e942898dbf user: jacob tags: trunk | |
| 08:51 | Use set_icon and set_title rather than SetWindowText. Should fix inactive-title. check-in: 10b8c5f189 user: owen tags: trunk | |
|
2003-01-14
| ||
| 13:57 | Use the standard linedraw->Unicode mapping from unicode.c to generate unitab_xterm. Most linedraw characters display correctly, but it's clear that RDB and Apple disagree on some of the mappings. check-in: d691465c13 user: ben tags: trunk | |
| 13:42 | Update for Unicode deglobalisations. check-in: a7d676d35a user: ben tags: trunk | |
| 13:41 | Update the "known bugs" and "missing features" sections. check-in: b143053804 user: ben tags: trunk | |
| 13:29 | Add constants to mac_res.r to set the binary version number. Mention this in CHECKLST as a location where the version number has to be set. check-in: 33463e913f user: ben tags: trunk | |
| 13:09 | const fallout. check-in: 7a1fadcab6 user: ben tags: trunk | |
| 12:44 | Remove debugging printfs from mac_workoutfontscale(). check-in: 55403212aa user: ben tags: trunk | |
| 12:43 | Miscellaneous fixes to finish up `remove-statics'. rlogin.c had a holdout static I hadn't noticed; unicode.c had one too; and a large number of statics that were perfectly OK due to being constants have been made `const', with assorted `const' repercussions all over the place. I now declare `remove-statics' to be fixed. check-in: 47dac3d92b user: simon tags: trunk | |
| 12:43 | Add double width/height support. This passes all the relevant parts of vttest apart from the "mad programmer" screen, which I think is a linedraw problem. This also intorduces proper clipping of the drawn text for good measure. check-in: 9c73339f07 user: ben tags: trunk | |
| 12:28 | Deglobalise the Unicode module. Despite all my grand plans, I've just done this the very simple way - bundle all the globals into a data structure and pass pointers around. One particularly ugly wart is that wc_to_mb now takes a pointer to this structure as an argument (optional, may be NULL, and unused in any Unicode layer that's even marginally less of a mess than the Windows one). I do need to do this properly at some point, but for now this should just about be adequate. As usual, the Mac port has not been updated. check-in: 483cb38b72 user: simon tags: trunk | |
| 09:24 | request_resize() needs to call term_size() to tell the terminal emulator that its resize request has been approved. check-in: 2a3a2dd2a2 user: ben tags: trunk | |
| 09:01 | It's impossible to write a checklist from scratch without leaving one or two things out of the first version. check-in: f54223cef2 user: simon tags: trunk | |
| 08:19 | After the New Year copyright-dates fiasco, I think it's about time we had one or two official checklists. This file lists the locations of _all_ the copies of the licence and the copyright dates, all the files in CVS which need to know the current version number, and also lays out the release procedure since I always find it terribly fiddly to do it all in the right order. PLEASE KEEP THESE LISTS UP TO DATE, people! Anyone adds a new copy of the licence or the copyright notice, shout about it in here. Likewise any file that needs to know the current release number and can't get away with referencing LATEST.VER. check-in: 20a4d7ccdf user: simon tags: trunk | |
| 05:24 | Ctrl-PgUp and Ctrl-PgDn now scroll by one line on Unix and Windows check-in: 62e9596ee2 user: owen tags: trunk | |
|
2003-01-13
| ||
| 12:03 | Oops - put the right `void *' in back->reconfig. check-in: 182b57a102 user: simon tags: trunk | |
| 09:06 | Make ^/ do the same as ^_ (wish control-slash) check-in: 9c37f01da2 user: owen tags: trunk | |
|
2003-01-12
| ||
| 10:25 | Set the window title to the canonical host name when we connect. check-in: eeab6cffbb user: ben tags: trunk | |
| 10:11 | Consequences of Simon's recent deglobalisation changes. check-in: 93cecb8450 user: ben tags: trunk | |