AmendHub

jcs

/

wifi_da

/

amendments

/

window.c

Amendments on January 7, 2025

*: Don't rely on our static wifi_da persisting

Lookup str_res_id again when creating main DA window.
jcs made amendment 40 5 months ago

*: Fix WIFI_NETWORK_FLAG_AUTH

jcs made amendment 39 5 months ago

*: Revamp scan->menu building, reduce data segment size

We were overflowing wifi_menu_networks in some cases.
jcs made amendment 38 5 months ago

Amendments on December 3, 2024

*: Add localization of strings

Prompted by Jean-Michel Durand, this moves all strings into a 'STR#'
resource and based on the system's 'itlb' resource itlbLang value,
we will look for an 'STR#' resource with that ID before falling
back on the default English strings.
This also consolidates the SSID and password entry dialogs and makes
more room for longer strings (looking at you, German).
jcs made amendment 35 6 months ago

window: Make clicking on the signal icon toggle

We can't get a separate close event for each window so we don't know
what was supposed to be closed (I guess we could look up the mouse
position). Just make the logger window have goAwayFlag=false and
close it ourselves.
jcs made amendment 33 6 months ago

*: Make debug logging permanent, outputting if the logger is open

The logger can now be opened by clicking on the signal icon.
jcs made amendment 32 6 months ago

Amendments on September 19, 2024


Amendments on September 17, 2024

*: Add dialog to manually specify another/hidden SSID

jcs made amendment 27 9 months ago

Amendments on January 27, 2024

window+Rez: Use an off-screen static text field for password storage

For some reason on Mac OS 8+, PasswordDialogFieldFilter doesn't work
properly. The filter proc runs, but it doesn't seem to write to the
already-setup password field storage properly, and it can't see the
DITL id stored to compare to the edited field so we don't get bullets
in place of characters.
By using a field in the dialog for storage, we don't need to access
any of the program's variable memory. Seems to work on OS 8 and
still on 6.
Bump version to 1.1 for this fix.
jcs made amendment 25 about 1 year ago

Amendments on October 26, 2023

window: Properly truncate long SSIDs when joined

Reported by Tavis Hord
jcs made amendment 24 about 1 year ago

Amendments on October 24, 2023

window: Do updates on an off-screen bitmap to avoid flashing

jcs made amendment 20 about 1 year ago

window: We don't need a stored menu resource for a blank menu

jcs made amendment 16 about 1 year ago

Amendments on October 23, 2023


Amendments on October 20, 2023

*: Bugfixes, mask password entry, add debug logger

Properly handle unassociated state switching to associated.
Maintain a separate list of menu networks to be able to redraw the
menu at any time.
jcs made amendment 10 about 1 year ago

Amendments on September 21, 2023

window: Position in the upper right based on screen size

jcs made amendment 4 about 1 year ago

Amendments on September 8, 2023

window: Clamp found networks to tmpnets size

jcs made amendment 2 about 1 year ago

Amendments on August 22, 2023

*: Re-import with some System 6 fixes

System 6 doesn't seem to support popupMenuProc, so kind of implement it
ourselves.
Since we're running in a DA we can't access screenBits.bounds, so create
CenterDialog to work around it by creating a new Grafport and checking its
size which will be the same as the screen. I got this tip from a 1988
Usenet post by Rich Siegel.
jcs made amendment 1 about 1 year ago