Permalink
Commits on Nov 1, 2010
  1. Slight fix for correctness with --include.

    Reviewed by me.
    tolmasky committed Nov 1, 2010
  2. Made it so .h files are automatically included in AppKit (avoiding ne…

    …eding to manually include Platform.h, etc.).
    
    Also changed a bunch of <AppKit/*> imports to "*" imports.
    
    Reviewed by me.
    tolmasky committed Nov 1, 2010
  3. Merge branch 'runtime-theming'

    Klaas Pieter Annema committed Nov 1, 2010
Commits on Oct 29, 2010
  1. Merge branch 'fix-cptabview-not-resizable' of http://github.com/prima…

    …lmotion/cappuccino into primalmotion-fix-cptabview-not-resizable
    aljungberg committed Oct 29, 2010
  2. Optimise token field redraws when adding or deleting tokens by recycl…

    …ing token fields. This eliminates the flicker of all previous tokens whenever a new token was added.
    aljungberg committed Oct 29, 2010
  3. Reduced token height by 1 pixel to put some more whitespace underneat…

    …h it in a standard height token field.
    aljungberg committed Oct 29, 2010
Commits on Oct 28, 2010
  1. fix CPtabViewTest

    Antoine Mercadal committed Oct 28, 2010
Commits on Oct 27, 2010
  1. Whitespace and style cleanup.

    aljungberg committed Oct 27, 2010
  2. Fixed an accidental global.

    aljungberg committed Oct 27, 2010
  3. Apply Cappuccino code style.

    aljungberg committed Oct 27, 2010
  4. Merge branch 'CPPredicate-parsing' of http://github.com/cacaodev/capp…

    …uccino into cacaodev-CPPredicate-parsing
    aljungberg committed Oct 27, 2010
  5. Merge branch 'sprintf-format-parameter-indexes' of http://github.com/…

    …eventualbuddha/cappuccino into eventualbuddha-sprintf-format-parameter-indexes
    aljungberg committed Oct 27, 2010
Commits on Oct 26, 2010
  1. CPPredicate & CPExpression changes:

    Parsing: fixed typos in built-in function names, fixed support for [FIRST], [LAST], [INDEX]
    	Fixed aggregates {exp1,exp2}
    Fixed -expressionForFunction:selectorName:arguments:
    built-in functions are now class methods
    Cleaned a lot of code in built-in functions
    EvaluatedObjectExpression is now a singleton
    Merged inserset/minus/union Set into one file
    Deleted unused expression subclasses : expression_operator and expression_assignement
    Added CPCoding methods and changed key names to match Cocoa
    Made KeyPathExpresion a subclass of FunctionExpression like in Cocoa
    Tests
    cacaodev committed Oct 26, 2010
  2. encode and decode themeClass

    This makes it possible to theme any themeClass without having to subclass a CPView and return something different from defaultThemeClass. Theme a custom theme class by assigning to a control within the theme descriptor ([control setThemeClass:"your-theme-class"]).
    Klaas Pieter Annema committed Oct 25, 2010
Commits on Oct 25, 2010
  1. add deprecation warning for class that have themeClass implemented

    Klaas Pieter Annema committed Oct 25, 2010
  2. rename CPView +themeClass to +defaultThemeClass

    Klaas Pieter Annema committed Oct 25, 2010
  3. make theme class runtime configurable

    Klaas Pieter Annema committed Oct 25, 2010
  4. lint cleanup in CPView

    Klaas Pieter Annema committed Oct 25, 2010
Commits on Oct 23, 2010
  1. Lint cleanup.

    aljungberg committed Oct 23, 2010
  2. Fixed: clicking tokens in a token field could disable its keyboard ha…

    …ndling due to the input field losing focus.
    aljungberg committed Oct 23, 2010
  3. Place the cursor correctly when arrow keys are used with one or more …

    …tokens selected. Fixed: the layout would not update to remove the gap for the editor if between tokens when resigning first responders.
    aljungberg committed Oct 23, 2010
  4. If the text editing part of the token field is the last in the line, …

    …make it take up the remaining field width so that it captures clicks there.
    aljungberg committed Oct 23, 2010
  5. Fixed: clicking a token would cause the token field to resign first r…

    …esponder status, only to reclaim it on mouse up.
    
    This was caused by the framework's stop DOM event code blurring the field. Now simply refuse to resign first responder status between mouse down and mouse up. Note that this fixes the bug the previous commit did too, but that commit improves other scrolling behaviour so it gets to stay.
    aljungberg committed Oct 23, 2010
  6. Fixed: if the token field was scrolled up and a token was clicked, th…

    …e scroll position would jump back down.
    aljungberg committed Oct 23, 2010
  7. Improve token field scrolling behaviour and performance: only resize …

    …the document view frame when necessary to prevent the loss of scroll position and display jumps. Fixed: if a token on a new line was clicked, the view would scroll up to the first line.
    aljungberg committed Oct 23, 2010
  8. Select tokens by clicking on them. Select multiple tokens by holding …

    …down shift. Also fixed a bug when deleting multiple tokens at a time.
    aljungberg committed Oct 23, 2010
  9. Reduce token shifting when a token is selected. Ideally there shouldn…

    …'t be any shifting at all, but placing a tiny editor at the right spot simplifies scroll handling.
    aljungberg committed Oct 23, 2010
  10. Simplify: remove _selectedTokenIndexes since we now have _selectedRan…

    …ge. Hide the editor when tokens are selected. Preserve cursor position when tokens are deleted.
    aljungberg committed Oct 23, 2010