-
Notifications
You must be signed in to change notification settings - Fork 1
Developpement 2.0 version to master #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
…ts Tab (without CIDR option)
Re indent files
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
…cAppDelegate.swift file
Restore @main in SubnetCalcAppdelegate
deleted: SubnetCalcUITests.m
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
…IPv4 translation and conversion type
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
Add IPv6 info in Export to Clipboard
Refine ipv6 mask bits conversion to ipv4 mask bits (no less than 8 bits)
Add dotted option in IPv4 Tab
Update CIDR Tab maskbits according to Subnets/host bits slide
Fix UI Unit tests
…the address field is preserved if there is already an address Support for Class E Allow calculation on Class D and E address
UI tests are working again
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
…bnetHosts bits slide is under 8
Add classMask func which returns the Mask of the Class type in UInt32 format
Fix missing file on Product UI Tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.