Skip to content

Conversation

@mulot
Copy link
Owner

@mulot mulot commented Feb 19, 2021

No description provided.

mulot added 30 commits November 22, 2020 16:47
Start Swift code
App broken, need to remap all UI actions to swift AppDelegate class
Add IPSubnetcalc class properties and Init classes to init them
Define all IBOutlet ref for Swift App Delegate
Define all IBAction func for Swift App Delegate
Define a working darkMode func for Swift App Delegate
Declare properly setBitMap func in Header
Modify setBitMap return type to void
…igned for compute

Make init func as failable if IP address is not valid
Restrict IPSubnetcalc class properties to strict minimum
Define properly init IPSubnetcalc class without mask parameter
Make netclass as static method
Make AppDelegate Constants as private
Begin to define private functions to initialize Window values at launch
…dResize notif

Define init functions to populate default value in ComboBox at launch
Define bitsOnSlidePos func
…rOfRows & tableView methods to conform to protocol
Define initClassInfo func
Move splitAddrMask func from IPSubnetClass to AppDelegate class
Define doIPSubnetCalc for action on the Address Class tab
Add action to Calc button
Begin to change some IPSubnetCalc methods to self methods based on global properties
Add a numerize func for Int parameter
Change all ipv4 func as self methods
Rename all ipv6 func with IPV6 suffix
Add empty init method for ipv6
Remove doIPSubnetCalc mask parameter and test
Test if a SubnetCalc class is intanciated in doIPSubnetCalc func and get its instance properties if it does
…tring address

Create specific functions to set values on all Tabs
doSubnet func set all values of the Subnet Tab including wildcard option
…r from String to Int

Add netBits method
Add a specific myAlert function
Implemet changeSubnetbtis and changeMaskBits functions
Convert all ComboBox objects as String to allow edit/select them by hand
Remove Subnet Tab if class type is D
Force rewrite IP Address field if a mask is submitted in the field
changeSubnetBits func is working
changeSubnetMask func is working
changeMaskBits func is working
Begin to work on subnetBitsSlide func
Add classless optional parameter (false by default) to isValid func
classless parameter set to true for init methods of IPSubnetCalc class and false for doIPSubnetCalc func
Rename maskBitsIPv6 property to ipv6MaskBits
Remove classless property of AppDelegate
Implement doCIDR for CIDR Tab > OK for class and classnet mask bits
Implement changeAddrClassType > OK
Implement changeMaxHosts > OK
Implement changeMaxSubnets > OK
Implement changeSupernetMaskBits > OK
changeSupernetMask is working
changeSupernetMax is working
changeSupernetMaxAddr is working
changeSupernetMaxSubnets is working
Add test condition for nil in tableView func
Rename AppDelegate Class to SubnetCalcAppDelegate
Restore @main in SubnetCalcAppdelegate
	deleted:    SubnetCalcUITests.m
mulot added 28 commits December 9, 2020 17:19
Display IPv6 Network according to Short option
Init IPv6 Tab for Maskbits and Max Hosts
Select correct IPv6 maskbits and max host when doIPv6
Change default conversion of IPv4toIPv6 as the same format for IPv6toIPv4
Do not change IP address field value if there is already a value
ipv6to4Address is display according to convertIPv6toIPv4 func
Implement changeIPv6MaskBits func
fix convertIPv6toIPv4 func when last hex is empty
fix numerizeIPv6 when hex is empty
fix compactAddressIPv6, starting by convert ip to fullAddressIPv6 before doing anything
Refine ipv6 mask bits conversion to ipv4 mask bits (no less than 8 bits)
Update CIDR Tab maskbits according to Subnets/host bits slide
…the address field is preserved if there is already an address

Support for Class E
Allow calculation on Class D and E address
Increase version to 2.0
change MaxHosts return value to 0 for 32 mask bits
Change SubnetRange return value  for 32 and 31 mask bits
Enable SWIFT_COMPILATION_MODE = wholemodule
Add classMask func which returns the Mask of the Class type in UInt32 format
Fix missing file on Product UI Tests
@mulot mulot merged commit d75a6ea into master Feb 19, 2021
@mulot mulot deleted the developpement branch February 19, 2021 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants