Permalink
Commits on Jul 11, 2017
Commits on May 30, 2017
  1. Merge pull request #2542 from FrankReh/pullreq/cleanup/fix/unused/cac…

    cacaodev committed May 30, 2017
    …hedSearchResults
    
    Removed an unused variable: cachedSearchResults.
  2. Merge pull request #2541 from FrankReh/pullreq/cleanup/fix/syntax/pro…

    cacaodev committed May 30, 2017
    …tocol_list
    
    Fix aClass.protocol_list syntax
  3. Merge pull request #2540 from FrankReh/pullreq/cleanup/fix/syntax/glo…

    cacaodev committed May 30, 2017
    …bal-var-key
    
    Make variable local: key
Commits on May 4, 2017
  1. Removed an unused variable: cachedSearchResults.

    FrankReh committed May 3, 2017
    It is polluting the global namespace.
    
    Seven years ago this line was added and even then the variable wasn't
    being used but it was a local variable so would have been hard to spot
    unless a linter should catch things like that.
    
    Then some four years ago it was accidently converted to a global
    variable because the line above it ended in a semicolon rather than
    a comma.  'use strict' didn't exist at the time this file was created
    and hasn't been added in general yet.
  2. Make variable local: key

    FrankReh committed May 3, 2017
    This line of code was introduced years ago with a variable that
    javascript is happy to add to the global name space.  Clearly it
    was meant as a local variable.  Probably a cut and paste error
    because other places in the code use the same syntax but there the
    value is a local because the var statement for it appeared elsewhere
    in the function.
    
    Once code like this is cleaned up to use the new 'let' construct,
    as well as 'use strict', mistakes like this will be much less likely
    to go uncaught.
  3. Fix aClass.protocol_list syntax

    FrankReh committed May 3, 2017
    A long standing bug that never mattered because each class is
    initialized with a protocol_list set to an empty array.  This
    is not the case for the protocol objects but there the syntax
    was correct already.
Commits on Apr 11, 2017
  1. Fixed: Get class method instead of instance method

    mrcarlberg committed Apr 11, 2017
    When asking a protocol for a specific class method we asked each super protocol for an instance method.
    
    Thanks Frank for finding this!
Commits on Mar 13, 2017
  1. Merge pull request #2532 from cacaodev/CPWindowAnimator

    cacaodev committed Mar 13, 2017
    New: Optional declarative layout for use in CoreAnimation (css animations).
    Code refactor.
  2. Merge pull request #2533 from cacaodev/CPCompatibility-SetFeature

    cacaodev committed Mar 13, 2017
    NEW: CPCompatibility: add a function to set a feature externally.
    ```CPSetPlatformFeature(aFeature, aBool)```
Commits on Mar 2, 2017
  1. Move css animation creation & frame updaters to CPViewAnimator

    cacaodev committed Mar 2, 2017
    Reason: • consistency : animations handled by animator.
    • Views can now animate several DOM elements. For example
    a view with a nine part image need to animate its sub divs.
    
    • Do not create any css animation when the start and end values are
    equal and there is no intermediate values.
    
    + This commit adds an optional method to CPView
    - (CGRect)frameRectOfView:(CPView)aView inSuperviewSize:(CGSize)aSize
    Returns the frame of a view given its superview frame. This will allow
    views implementing -layoutSubviews to gain an optional declarative
    layout. The animation system will use this method to compute the end
    value of an animation.
  2. Style, whitespace

    cacaodev committed Mar 2, 2017
  3. Fix typo

    cacaodev committed Feb 17, 2017
Commits on Mar 1, 2017
  1. NEW: CPCompatibility add a function to set a feature externally.

    cacaodev committed Mar 1, 2017
    CPSetPlatformFeature(aFeature, aBool)
Commits on Feb 10, 2017
  1. Typo

    cacaodev committed Feb 10, 2017
Commits on Feb 3, 2017
  1. Merge pull request #2531 from cacaodev/cptableview-diddragcolumn

    cacaodev committed Feb 3, 2017
    FIXED: tableView:didDragTableColumn: was never sent
    With tests.
    Fixes #2530
Commits on Feb 2, 2017
  1. FIXED: tableview:didDragTableColumn: was never sent

    cacaodev committed Feb 2, 2017
    With manual test.
Commits on Jan 19, 2017
  1. Merge pull request #2503 from enquora/master

    mrcarlberg committed Jan 19, 2017
    Fix CPBox drawing artifacts when used in CPSeparator mode
Commits on Jan 17, 2017
Commits on Jan 16, 2017
  1. Handle case when CPBox is used as a separator line having no title

    enquora committed Jan 16, 2017
    If _titlePosition is correctly set to CPNoTitle value, class already handles removing title view from display.
    Previously, _titlePosition was not correctly set, title view was left in place.
    With no supplied value for title, outline of title view was rendered with visible artifacts.
  2. Merge pull request #2505 from HTPC-Schrauber/fix-RegEx

    mrcarlberg committed Jan 16, 2017
    Fixed: RegEx for gcc > 4.9
  3. Merge pull request #2525 from daboe01/new-textview-bindings

    mrcarlberg committed Jan 16, 2017
    New: bindings support for CPTextView + dragging improvements
  4. Merge pull request #2508 from daboe01/fix-sizing-issue

    mrcarlberg committed Jan 16, 2017
    Fixed: text-sizing by canvas and via DOM sizing differed by 1px
Commits on Jan 5, 2017