1. 29 Dec, 2018 1 commit
    • Robert Sprowson's avatar
      Fix for lack of address when only Access is enabled · 36965223
      Robert Sprowson authored
      When only Access is enabled in InetSetup it doesn't work, this is because in Freeway 0.29 (August 1999) a new configuration command FreewayAutoAddress was added, but whose default is off (due to CMOS wiping to zero).
      As long as Internet is enabled that's OK because the interface will use whatever address method is chosen for TCP/IP. When only Access is enabled no address is set. In truth table form:
        Access  TCP/IP
        0       X      => Don't care, Access is disabled
        1       0      => need an auto address
        1       1      => use the same address as TCP/IP
      Update InetSetup to manage the CMOS bit per the above.
      
      Messages:RMEnsure of Freeway changed to 0.36 (the version when the auto assigned address was moved from 1.x.y.z to 10.x.y.z range).
      Save.c:Set or clear the FreewayAutoAddress bit as required.
      
      Version 0.60. Tagged as 'InetSetup-0_60'
      36965223
  2. 19 Aug, 2018 1 commit
    • Robert Sprowson's avatar
      Fix NULL pointer dereference on error · 6db8e798
      Robert Sprowson authored
      Load.c: if the file didn't open, don't try fclose(NULL)
      Found by cppcheck static analysis.
      Save.c/Diagnose.c: sort netdb.h's header ordering
      
      Version 0.59. Tagged as 'Source-0_59'
      6db8e798
  3. 07 Jan, 2017 1 commit
    • Robert Sprowson's avatar
      Only ensure AUNMsgs when they're needed · f59d1b77
      Robert Sprowson authored
      When TCP/IP networking is disabled, but AUN or Access are enabled, the Internet module is loaded for its IP handling. In doing so, only load AUNMsgs if the Internet module to hand actually requires it.
      Save.c:
        Check if the Internet module is new enough to contain its own messages, and don't load AUNMsgs if so.
      Load.c/Versions.h/Messages:
        Populate v_InternetMsgs.
      Main.h/Main.c:
        Turn the resolver types into an enum so the max value can be used instead of magic number 4.
      SmallDrag.c:
        Don't look for Wimp_PlotIcon define, it's been in the headers for years.
      UK/!Run:
        Simplify the check, !InetSetup doesn't need AUNMsgs itself.
      Save.c/Routes/SetUpNet:
        Remove the hardwired version string of !Internet, since the files end up in Choices:, that way it can't be out of date ever again.
      
      Version 0.58. Tagged as 'Source-0_58'
      f59d1b77
  4. 11 Dec, 2015 3 commits
    • Robert Sprowson's avatar
      Be more helpful when no hostname is set · 7ef9b305
      Robert Sprowson authored
      Rather than explaining in a wordy error box how to get to the hostname dialogue, rephrase the diagnosis message to say that a hostname is required, then simply open the dialogue with the caret in the box to resolve the problem.
      Implements ticket #406.
      Also change the top level icon label for AUN to say Econet, since that makes more sense alongside Access and Internet (which are protocols). The interactive help introduces the term AUN for some context (as before).
      
      Messages: Rephrased error box text.
      Res: Rephrased AUN option.
      Diagnose.c: Open the hostname window when no hostname is set.
      IfsDbox.c/Main.c/Main.h: Rename OpenWindowFromIcon() to a more Toolboxey show_window_from_component().
      
      Version 0.57. Tagged as 'Source-0_57'
      7ef9b305
    • Robert Sprowson's avatar
      Resource updates · 208d294d
      Robert Sprowson authored
      The blank User and Routes files were referencing some ancient !Internet.
      The Resolver test expressions were using variables not registered for the Internet module, moved from Test$Eval to Inet$TestEval.
      The !Help was missing some detail, added.
      
      Version 0.56. Tagged as 'Source-0_56'
      208d294d
    • Robert Sprowson's avatar
      Fade the 'Run RouteD' option when the RouteD module is missing · 966c37a9
      Robert Sprowson authored
      Ticking the option would cause an error during booting, since the module cannot be loaded.
      Removed the default option text from the Res file, as it's not language specific, it's a CLI switch looked for by the module. Strictly speaking making it lowercase (like the "default" accepted as a netmask) is an incompatible change as disassembling a 1993 copy of the RouteD module shows it uses strcmp() on "DEFAULT", but since that wont run on anything even as recent as a StrongARM it's probably better to note that any new port should be using a case insensitive switch check.
      
      Version 0.55. Tagged as 'Source-0_55'
      966c37a9
  5. 03 Feb, 2015 1 commit
  6. 15 Mar, 2014 1 commit
  7. 10 Feb, 2014 1 commit
  8. 31 Dec, 2013 1 commit
    • Robert Sprowson's avatar
      Workaround Internet module panic when gateway unset · 63dff59a
      Robert Sprowson authored
      With no gateway set this plugin would cause Internet to panic when trying to write to the routing socket.
      Inspection of the logic inside Internet revealed a (dummy) netmask must be provided so it fails to route and doesn't end up trying to free a block it didn't malloc.
      
      Tested with EtherY configured with no gateway, Internet module no longer quits.
      
      Version 0.51. Tagged as 'Source-0_51'
      63dff59a
  9. 03 Oct, 2013 1 commit
    • Robert Sprowson's avatar
      Add a live interface status/statistics view to the interface dialogue · 84dbfbf6
      Robert Sprowson authored
      This new button, 'status', to compliment the 'configure' button, shows various useful facts for an interface (packets, errors, link state, IP address) and updates every second.
      Previously, obtaining this information required messing around with showstat or ifconfig at the command line.
      
      Version 0.50. Tagged as 'Source-0_50'
      84dbfbf6
  10. 15 Jul, 2013 1 commit
  11. 13 Oct, 2012 1 commit
    • Ben Avison's avatar
      Corrected build variant · 3c0c71d8
      Ben Avison authored
      Detail:
        When Makefile was recreated at version 0.40, the -DPlugIn switch was
        accidentally replaced by -DPlugin. C is case-sensitive. Windows should
        open like any other RISC OS 4+ plugin now.
      Admin:
        Not tested, I'm that confident it'll fix the bug!
      
      Version 0.49. Tagged as 'InetSetup-0_49'
      3c0c71d8
  12. 15 Sep, 2012 1 commit
    • Robert Sprowson's avatar
      Fix to work when DHCP doesn't support -p switch · 689bdcbf
      Robert Sprowson authored
      The DHCP module uses OS_ReadArgs for switch matching, but in the CMHG table it strictly checks for max-args. The recently added '-p' switch therefore should not be output by !InetSetup when the available module doesn't support it.
      Load.c: parse setup files with or without -p
      Save.c: use RMFind() to figure out if -p is available, and omit it when not
      Also
      * Bumped up the !Internet version number in the comment block written out
      * Make sure DHCP is plugged in during save (and unplugged if TCP/IP is actively disabled)
      * Fixed the minimum DHCP version number, !InetSetup was always outputting -w even though that wasn't supported in the version that was being RMEnsure'd
      
      Version 0.48. Tagged as 'InetSetup-0_48'
      689bdcbf
  13. 29 Aug, 2012 1 commit
  14. 19 Aug, 2012 2 commits
    • Robert Sprowson's avatar
      Adjust icon heights · b1cb86a8
      Robert Sprowson authored
      The sprites used for the TCP/IP setup were exceptionally close to the text underneath, so with different themes can appear to almost overlap. 12 bonus pixels added.
      Shelved the old Makefile, the one in 'Sources' is the one that is used.
      
      Version 0.46. Tagged as 'InetSetup-0_46'
      b1cb86a8
    • Robert Sprowson's avatar
      Adjust icon heights · 64fd6411
      Robert Sprowson authored
      The sprites used for the TCP/IP setup were exceptionally close to the text underneath, so with different themes can appear to almost overlap. 12 bonus pixels added.
      
      Version 0.46. Tagged as 'InetSetup-0_46'
      64fd6411
  15. 29 Jul, 2012 1 commit
    • Robert Sprowson's avatar
      Employ bit 5 of TaskManager_Shutdown · 72d5b7c1
      Robert Sprowson authored
      Harmless on task managers that don't support it.
      Uncurled some braces to match local style.
      Don't compare "FILE *" with 0, uses NULL.
      Switched out unused os_reset_old_machine assembler.
      
      Version 0.45. Tagged as 'InetSetup-0_45'
      72d5b7c1
  16. 20 Jul, 2012 1 commit
  17. 19 Jul, 2012 1 commit
  18. 20 May, 2012 1 commit
  19. 19 May, 2012 1 commit
  20. 12 Feb, 2012 1 commit
    • Robert Sprowson's avatar
      Get focus right when opening AUN dialogue. · d35b3cb5
      Robert Sprowson authored
      Was previously stuck at the window behind, so escape closed both.
      Makefile recreated - now inserts version number into Messages at build time.
      Some trivial warnings resolved.
      
      Version 0.40. Tagged as 'InetSetup-0_40'
      d35b3cb5
  21. 14 Jan, 2012 1 commit
  22. 31 Aug, 2011 1 commit
    • Ben Avison's avatar
      Added an AutoSense script for EtherUSB · 326c1762
      Ben Avison authored
      Detail:
        Deduces how many USB devices are connected by parsing the output of
        *EJInfo, and dynamically sets the appropriate system variables to
        configure the interfaces window of InetSetup. Note that although the
        AutoSense script for EtherK is held within the EtherK sources, we don't
        currently distribute the sources to EtherUSB, so this seems a reasonable
        second choice of where to install it from.
      Admin:
        Tested with 0, 1 or 2 devices connected to a beagleboard.
      
      Version 0.38. Tagged as 'InetSetup-0_38'
      326c1762
  23. 23 May, 2010 1 commit
    • Jeffrey Lee's avatar
      Re-add the 'disable T/TCP' line · ed248089
      Jeffrey Lee authored
      Detail:
        Resources/UK/Blanks/User,feb - re-add the 'disable T/TCP' line. Somehow this must have been missed when I fixed up the disc build.
      Admin:
        Untested!
      
      
      Version 0.37. Tagged as 'InetSetup-0_37'
      ed248089
  24. 25 Oct, 2009 2 commits
    • Jeffrey Lee's avatar
      Fix InetSetup errors when no interfaces detected, add more !Sprites11 files · 95fd654b
      Jeffrey Lee authored
      Detail:
        Source/c/Main, Sources/Resources/Germany/Messags, Source/Resources/UK/Messages - InetSetup now displays a sensible error to the user if he clicks the Interfaces button when no interfaces were detected.
        Source/Resources/Germany/!Sprites11, Sources/Resources/UK/!Sprites11, Source/Makefile - !Sprites11 files are now in the correct place, and the correct makefile has been updated to install them.
      Admin:
        Tested on rev C2 beagleboard. German message (NoInterfaces) needs localising.
      
      
      Version 0.36. Tagged as 'InetSetup-0_36'
      95fd654b
    • Jeffrey Lee's avatar
      Fix InetSetup errors when no interfaces detected, add more !Sprites11 files · a9fb80d4
      Jeffrey Lee authored
      Detail:
        c/Main, Resources/Germany/Messags, Resources/UK/Messages - InetSetup now displays a sensible error to the user if he clicks the Interfaces button when no interfaces were detected.
        Resources/Germany/!Sprites11, Resources/UK/!Sprites11, Makefile - Bulk import of missing !Sprites11 files.
      Admin:
        Tested on rev C2 beagleboard. German message (NoInterfaces) needs localising.
      
      
      Version 0.36. Tagged as 'InetSetup-0_36'
      a9fb80d4
  25. 24 Oct, 2009 1 commit
  26. 17 Jan, 2003 1 commit
    • Robert Sprowson's avatar
      Delete a few !RunImages · 89847426
      Robert Sprowson authored
      Add CoSprite (rectangular pixel versions)
      Docs and version number tweak
      The resolver setup will now try to RMInsert any unplugged modules when
      saving the settings.
      Change to DNS window so that it remembers the "Use name servers also" icon
      rather than having two forgetful radio icons.
      
      Version 0.34. Tagged as 'InetSetup-0_34'
      89847426
  27. 19 Dec, 2002 1 commit
  28. 27 Mar, 2001 1 commit
  29. 08 Jan, 2001 2 commits
  30. 11 Aug, 1999 1 commit
    • Stewart Brodie's avatar
      DHCP support added. · 266c3bed
      Stewart Brodie authored
      Detail:
        The DHCP button in the interface configuration window is now unfaded
          as long as InetSetup can locate Internet 5.31 or later and DHCP
          0.11 and later.  Any number of interfaces may use DHCP to configure
          their interfaces,
      Admin:
        Tested in Risc PCs
      
      Version 0.29. Tagged as 'InetSetup-0_29'
      266c3bed
  31. 10 Aug, 1999 2 commits
  32. 06 May, 1997 3 commits