Skip to content
Permalink
Branch: master
Commits on Jun 4, 2019
  1. Add TokamakLogger (#104)

    hodovani committed Jun 4, 2019
    * Init TokamakLogger
    
    * Add TokamakLogger
    
    * Apply swiftformat
    
    * Fix var name
    
    * Add TokamakLogger to project
    
    * Add TokamakLoggerTest
    
    * Remove unused code form TokamakLogger
    
    * Remove logLevel proxying
    
    * Add TokamakLoggerTest
    
    * Add TokamakLoggerTest
    
    * Add TokamakLogger to TokamakCLI
    
    * Remove logLevel assignment
    
    * Add TokamakCLI options bloc to Linter.md
    
    * Remove force unwrap
    
    * Add Logger
    
    * Refactor TokamakLogHandler
    
    * Apply swift format
    
    * Fix error names
    
    * Make error enum public
Commits on May 30, 2019
  1. Lint components type (#102)

    hodovani committed May 30, 2019
    * Extend HooksRule on extension
    
    * Add ComponentAsStructRule
    
    * Fix typo
    
    * Apply swiftformat
    
    * Fix violation description
    
    * Fix rule name
  2. Extend HooksRule on extension (#101)

    hodovani committed May 30, 2019
    * Extend HooksRule on extension
    
    * Simplify HooksRule
    
    * Remove return type
    
    * Add FIXME
    
    * Apply swiftformat
Commits on May 29, 2019
  1. Fix one render function rule (#100)

    hodovani committed May 29, 2019
    * Fix getComponents and OneRenderFunctionRule
    
    * Fix RenderGetsHooksRule
    
    * Refactor GetComponents
    
    * Refactor Rules
    
    * Fix RenderGetsHooksRule
    
    * Extend Node children search
    
    * Add tests to RenderGetsHooksRule
    
    * Apply swiftformat
    
    * Fix comments
Commits on May 23, 2019
  1. Lint Rules of Hooks (#98)

    hodovani committed May 23, 2019
    * Make Node Equatable
    
    * Extend Node methods
    
    * Init HooksRule
    
    * Update HooksRule tests
    
    * Update Node compare function
    
    * Add start position to Node in TokenVisitor.visitPre
    
    * Update HooksRule test
    
    * Refactor HooksRule
    
    * Fix typo in comments
    
    * Rename functions in the tests
    
    * Fix typo in comment
    
    * Move repeated code in function
    
    * Move repeated code in function
    
    * Remove repeated code
    
    * Apply swiftformat
    
    * Group repeated guards
Commits on May 20, 2019
  1. Refactor OneRenderFunction rule (#97)

    hodovani committed May 20, 2019
    * Regenerate project
    
    * Revert "Regenerate project"
    
    This reverts commit 37e676b.
    
    * Rename getRender to getOneRender
    
    * Add component type check to getOneRender
    
    * Add negative lint test
    
    * Add OneRenderFunction description
    
    * Add negative tests to RuleOfHooks
    
    * Add test file with two correct components
    
    * Refactor OneRenderFunctionRule
    
    * Apply swiftformat
    
    * Remove return from catch
    
    * Replace map with compactMap
    
    * Refactor throw violations in OneRenderFunctionRule
    
    * Fix var name typo
Commits on May 18, 2019
  1. Migrate from travis to azure (#96)

    hodovani committed May 18, 2019
    * Migrate from travis to azure
    
    * Make scripts executable
    
    * Add codecov token
    
    * Add fail key to lint.sh
    
    * Add fail flag to codecov.sh
    
    * Add azure status to README.md
  2. Move getRender to Node extension (#95)

    hodovani committed May 18, 2019
    * Make node final class
    
    * Move getRender to Node extension
    
    * Apply swiftformat
    
    * Regenerate project
Commits on May 14, 2019
  1. Add TokamakCLITests to Tokamak (#94)

    hodovani committed May 14, 2019
    * Add TokamakCLITests to Tokamak
    
    * Add TEST_PATH to Tokamak scheme
  2. Add xcodebuild exit status to travis (#93)

    hodovani committed May 14, 2019
    * Add exit status
    
    * Fix Color
    
    * Update travis.yml script
    
    * Remove unused extension
    
    * Add condition for safe
    
    * Add Color tests
    
    * Add codecov.yml
  3. Lint rules of hooks (#92)

    hodovani committed May 14, 2019
    * Remove broken test
    
    * Add OneRenderFunctionRule
    
    * Init RenderCorespondToNonPureComponentProtocolRule
    
    * Fix OneRenderFunctionRule
    
    * Apply swiftformat
    
    * Fix RenderCorespondToNonPureComponentProtocolRule
    
    * Add render check to RenderCorespondToNonPureComponentProtocolRule
    
    * Update TokenVisitor
    
    * Update getNodes
    
    * Add TokenLint helpers
    
    Add GetRender, IsConformance, TokenTypes
    
    * Remove RenderCorespondToNonPureComponentProtocolRule
    
    * Format comments
    
    * Fix GetRender
    
    * Remove TokenTypes
    
    * Replace strings with SyntaxKind rawValue
    
    * Add function to walk in graph
    
    * Add TokenVisitor init function
    
    * Add GraphWalkers to project
    
    * Update isConformance function
    
    * Update OneRenderFunctionRule
    
    * Update getFirstChildOf function
    
    * Update GraphWalkers
    
    * Add getRender function
    
    * Add RenderGetsHooksRule
    
    * Update RenderGetsHooksRule
    
    * Update RenderGetsHooksRule
    
    * Apply swiftformat
    
    * Rename getNodes to children
    
    * Remove render from GetRender
    
    * Remove IsConformance
    
    * Mode nodes helpers to `Node.swift`
    
    * Add test to Node
    
    * Fix Unused Optional Binding Violation
    
    * Fix Leading Whitespace Violation
    
    * Apply swiftformat
    
    * Fix typos
    
    * Fix typos
    
    * Remove unused code
    
    * Clean code
    
    * Move isInherited to Node
    
    * Refactor hasTokamakImport
    
    * Refactor Node
    
    * Add helpers to TokamakCLITests
    
    * Refactor code
    
    * Update TokamakCLI main
    
    * Refactor GetRender
    
    * Fix typo
    
    * Refactor rules
    
    * Refactor TokenVIsitor
    
    * Add TokamakCLI to .travis.yml
    
    * Move NodeStruct to ValidationTests
    
    * Add TEST_PATH to TokamakCLI
    
    * Refactor StyleViolation
    
    * Refactor Rule
    
    * Add SwiftCLI to Package
    
    * Apply swiftformat
    
    * Regenerate project
    
    * Update project.pbxproj
    
    * Remove package for swift-4.2
Commits on May 3, 2019
  1. Add SwiftCLI dependency to TokamakCLI (#89)

    hodovani committed May 3, 2019
    * Add public lintFile
    
    * Add SwiftCLI package
    
    * Add CLI to TokamakCLI
    
    * Apply swiftformat
    
    * Fix TokamakCLI version
    
    * Fix typo
    
    * Update TokamakCLI error catch
    
    * Update TokamakCLI path
    
    * Update Linter.md
    
    * Remove SRCROOT
    
    * Update Linter.md
    
    * Update XcodeReporter
    
    * Update project.pbxproj
    
    * Remove commented print
Commits on May 2, 2019
  1. Make error output more readable (#87)

    hodovani committed May 2, 2019
  2. Fix walkAndGrab (#86)

    hodovani committed May 2, 2019
  3. Remove unused variables (#85)

    hodovani committed May 2, 2019
  4. Fix TokenVisitor handling of Range (#84)

    hodovani committed May 2, 2019
    * Fix TokenVisitor handling of Range
    
    * Fix class name in TokamakLintTests
    
    * Add testRange
    
    * Fix algorithm to find the token range
    
    * Add test to verify token range correctness
    
    * Remove force unwrapping
Commits on May 1, 2019
  1. Fix TokamakLint types access scope (#83)

    hodovani committed May 1, 2019
Commits on Apr 29, 2019
  1. Add lintFolder function to TokamakCLI (#82)

    hodovani committed Apr 29, 2019
    * Add lintFolder
    
    * Fix PropsIsEquatableRule
Commits on Apr 14, 2019
  1. Refactor TokamakLint (#81)

    hodovani committed Apr 14, 2019
    * Add Protocols and Models to TokamakLint
    
    * Refactor TokamakLint
    
    * Fix PropsIsEquatable test
    
    * Remove unready functional
    
    * Update TokamakLint
    
    * Remove  commented code
    
    * Move unchanged method to protocol extension
    
    * Remove internal
    
    * Fix typo
    
    * Remove unused property
    
    * Format code
    
    * Refactor PropsIsEquatableRule
    
    * Remove lintFolder test from main.swift
    
    * Remove unused variable
    
    * Remove optional fields from Location
    
    * Redactor RuleDescription and PropsIsEquatableRule
    
    * Update Location.swift
Commits on Apr 8, 2019
  1. Add TokamakLint module (#79)

    hodovani committed Apr 8, 2019
    * Init TokamakLint
    
    * Fix Package.swift
    
    * Move TokamakLint to Source
    
    * Add SwiftSyntax to TokamakLint dependencies
    
    * Rename TokamakLint to TokamaCLI
    
    * Rename Lint.swift to main.swift
    
    * Update TokamakCLI
    
    * Init Lint Test
    
    * Gererate project
    
    * Update package.swift
    
    * Clean and build
    
    * Add Lint module
    
    * Init test for one file
    
    * Init file to test props
    
    * Add test to check Props is Equatable
    
    * Add lint warning
    
    * Add warning to Props is not conformance from Equatable
    
    * Init Linter doc & clean files
    
    * Clean up code
    
    * Format code
    
    * Fix TokamakCLITest
    
    * Fix Lint functions
    
    * Remove IOU from TokenVisitor with optional
    
    * Remove Encodable conformance from Node
    
    * Remove unused file
    
    * Rename test file
    
    * Add comment of usage to `TestPropsEquatable`
    
    * Remove unwanted methods
    
    * Add scheme variable to TokamakCLI
    
    * Update Linter.md
    
    * Update TokamakCLI scheme
    
    * Update Tokamak project
    
    * Refactor TokamaLint
    
    * Fix typo
    
    * Add negative test to TokamakCLI
    
    * Change output error function
    
    * Simplify TokamakLint
    
    * Fix TokamakLintTests
    
    * Add error print to TokamakCLI
    
    * Add error print to TokamakCLI
    
    * Remove escapeHtmlSpecialCharacters
    
    * Add print error to TokamakLint
    
    * Add LintError
    
    * Remove unused LintError case
    
    * Expand LintError message
    
    * Format LintError
    
    * Format LintError
Commits on Mar 29, 2019
  1. Add TextView host component (#76)

    hodovani committed Mar 29, 2019
    * Add TextView host component
    
    * Refactor TextViewExample
    
    * Add TextViewDelegate to TextView
    
    * Add applyScrollOptions to TextView
    
    * Apply swiftformat
Commits on Mar 27, 2019
  1. Add applyScrollOptions to UIScrollView components (#75)

    hodovani committed Mar 27, 2019
    * Add applyScrollOptions to UIScrollView components
    
    * Add ScrollOptions to CollectionView, ListView, ScrollView
    
    * Rename scrollProps to scrollOptions
    
    * Change ScrollOptions init in Example
    
    * Refactor ScrollView
    
    * Remove storage ScrollOptions in ScrollView
Commits on Mar 25, 2019
  1. Move TabPresenter to Presenters folder (#74)

    hodovani committed Mar 25, 2019
  2. Add TabPresenter host component (#66)

    hodovani committed Mar 25, 2019
    * Init TabBar
    
    * Update TabExample
    
    * Add ref to TabBar
    
    * Add TabBarControllerBox
    
    * Remove Router.swift
    
    * Merge master in tab-bar
    
    * Add TabBarControllerDelegate subclass
    
    * Add hook to TabBarDelegate
    
    * Fix SwiftLint warnings
    
    * Fix TabBarController
    
    * Fix TabBarExample
    
    * Comment out counter example
    
    * Remove Roter Presenters
    
    * Remove addChild from AppKit
    
    * Rename TabController to TabPresenter
    
    * Add function to delete tab in TabBarExample
    
    * Add `parent` parameter to unmount
    
    * Add ability to delete TabItem in TabBarExample
    
    * Add badge, badgeColor, image, selectedImage to TabItem
    
    * Fix unmount functions
    
    * Remove force cast
    
    * Comment out counter example
    
    * Move repeated style to constant
    
    * Rename TokamakTabPresenter to TokamakTabController
    
    * Add TabContent component
    
    * Fix MountedHostComponent mount
    
    * Fix TabBarExample
    
    * Fix TabBarExample
    
    * Fix TabBarExample strings
    
    * Fix TabBarExample
    
    * Fix TabItem
    
    * Fix TabBarExample variable name
Commits on Mar 8, 2019
  1. Add CollectionView (#59)

    hodovani committed Mar 8, 2019
    * Init CollectionView
    
    * Add Collection Example
    
    * Add CollectionViewBox to project
    
    * Format code
    
    * Refactor Collection View
    
    * Fix Collection View example style
    
    * Add rule to hound.yml
    
    * Format code
    
    * Improve error message
Commits on Mar 6, 2019
  1. Add ScrollView (#58)

    hodovani committed Mar 6, 2019
    * Init ScrollView
    
    * Add ScrollView component
    
    * Update ScollView
    
    * Update Scroll extension
    
    * Fix Ref index
    
    * Add scroll example with ref styling
    
    * Init zoom
    
    * Add contentInset, bounces, scrollsToTop to ScrollView
    
    * Add alwaysBounceVertical to ScrollView
    
    * Add alwaysBounceHorizontal, indicatorStyle to ScrollView
    
    * Add scrollIndicatorInsets, showsHorizontalScrollIndicator, showsVerticalScrollIndicator to ScrollView
    
    * Add isDirectionalLockEnabled, isPagingEnabled, isScrollEnabled to ScrollView
    
    * Add maximumZoomScale, minimumZoomScale, zoomScale to ScrollView
    
    * Add bouncesZoom to ScrollView
    
    * Add extension to RefComponent
    
    * Add zoom to Image example
    
    * Add simple ScrollView example
    
    * Format code
Commits on Mar 4, 2019
  1. Update AnyNode initializater arguments order (#57)

    hodovani committed Mar 4, 2019
    * Update AnyNode initialization function arguments order
    
    * Change node initialization function arguments order
    
    * Fix arguments order
Commits on Feb 27, 2019
  1. Add Snake Game to Example list (#56)

    hodovani committed Feb 27, 2019
    * Init snake game
    
    * Replace [Any] state with [UnsafeMutableRawPointer]
    
    * Broke ux
    
    * Add Width init function
    
    * Update Snake Game
    
    * Remove ability to switch move direction to opposite
    
    * Fix game board bound
    
    * Add game over condition
    
    * Add color to snake target
    
    * Refactor code
    
    * Add Gamepad to Snake Game
    
    * Remove infinity loop
    
    * Refactor code
    
    * Refactor code
    
    * Add Gameboard to Snake
    
    * Reduce render function size
    
    * Add Gamemenu
    
    * Rename Gamemenu to GameMenu
    
    * Format code
    
    * Refactor code
Commits on Feb 25, 2019
  1. Add TextField (#52)

    hodovani committed Feb 25, 2019
    * Add TextField
    
    List of added props are: textColor, textAlignment, placeholder, clearsOnBeginEditing, clearButtonMode, autocapitalizationType, autocorrectionType, spellCheckingType.
    
    * Add keyboardType to TextField
    
    * Add keyboardAppearance to TextField
    
    * Add returnKeyType to TextField
    
    * Add borderStyle to TextField
    
    * Update TextField target
    
    * Add TextField example
    
    * Fix TextFields position on example screen
    
    * Fix placeholder typo
    
    * Use implicit member expression
    
    * Add isSecureTextEntry prop to TextField
    
    * Fix TextField refs
    
    * Add valueChangeEvent to UIControlComponent
Commits on Feb 22, 2019
  1. Expose accessibility configuration on view props (#50)

    hodovani committed Feb 22, 2019
    * Rename StyleProps to ViewProps
    
    * Init new argument order
    
    * Init accessibility
    
    * Add Accessibility.swift to project
    
    * Sort Style init arguments
    
    * Reorder arguments in Example
    
    * Add Props init to StackView
    
    * Fix arguments order in test
    
    * Expose accessibility configuration on view props
    
    * Rename ViewProps to StyleProps
Commits on Feb 20, 2019
  1. Add Stepper missing props (#47)

    hodovani committed Feb 20, 2019
Commits on Feb 19, 2019
  1. Add contentMode to Style (#46)

    hodovani committed Feb 19, 2019
    * Add contentMode to Style
    
    * Change ImageExample protocol to PureLeafComponent
    
    * Add ContentMode to main project
Commits on Feb 18, 2019
  1. Add Image component (#45)

    hodovani committed Feb 18, 2019
    * Init Image
    
    * Fix RenderingMode, merge Tokamak renaming
    
    * Add image props
    
    * Add image example
    
    * Format comment
    
    * Switch image to implicit member expression
Commits on Feb 6, 2019
  1. Add isAnimated to Switch (#38)

    hodovani committed Feb 6, 2019
  2. Add properties for CALayer appearance (#34)

    hodovani committed Feb 6, 2019
    * Add modifiers the layer’s appearance
    
    * Rename CALayerModal variable
    
    * Add missing masksToBounds to UIViewComponent
Older
You can’t perform that action at this time.