Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 13, 2015
Commits on Aug 12, 2015
  1. @Dogild
Commits on Aug 4, 2015
  1. NEW: XcodeCapp 4.0

    authored
    XcodeCapp 4.0 is a major release of our beloved tool. In a nutshell it:
    
    - allows to manage multiple projects simultaneously
    - allows to follow operations and cancel them
    - has a per project Error and Warning reporting
    - supports capp_env as you can define additional paths and objj include path per project
    - much more things
Commits on Aug 3, 2015
  1. FIXED: crash when a cell based table view contains a dataview that co…

    authored
    …ntains an editable text field
    
    Previously, CPTableView was listening to all end editing notifications in cell-based mode.
    This caused a crash if the textfield is an actually subview of a dataview.
    
    This patch ensures to listen only editing did end notification for direct subview of tableView.
Commits on Jul 30, 2015
  1. FIXED: Fonts from IB not correctly interpreted in OSX El Capitain

    authored
    This patch adds support for the new way of defining the default font from Xcode 7 beta. The patch also supports the old explicit 'Lucida Grande' of previous version.
Commits on Jul 23, 2015
  1. @Dogild
Commits on Jul 15, 2015
  1. @Dogild

    New: Added gitter link in the readme

    Dogild authored
    New: Added gitter link in the readme
Commits on Jul 8, 2015
  1. FIXED: Previous patch by @dogild was not correctly setting the CSS class

    authored
    This patch adds a reference to the current CSS selectable field in and
    reset the style when user clicks on a different one.
  2. @Dogild

    Fixed: selection did not work in Cappuccino when doing a right click …

    Dogild authored
    …or dragging
    
    Previously, the selection of a textField did not work as expected when the user did a right click or a drag even if the label was set to none selectable.
    Now, with the css style user-select, a textField can only be selected if it is selectable and enable.
    
    Credit to @primalmotion
Commits on Jul 7, 2015
  1. @Dogild

    Test: finally put the init of the CPApplication in the instance metho…

    Dogild authored
    …d setUp. See previous commit #6fe9dae3d62af995f2481bfebdd706aeb0b21365
  2. @Dogild

    Fixed: AppKit unit-tests are not standalone

    Dogild authored
    Previously, every AppKit tests used the same sharedApplication. Due to this implementation, a could not pass because a previous test made failed the current test. For instance, a test could fail because the window of the previous test resigned (just imagine a new window is the key window in the current test), and this resign could raise an error. The error was displayed for the current test thought this test was perfect !
    
    We now instead of using sharedApplication create a new CPApplication per unit-test file in the class method setUp.
Commits on Jul 6, 2015
  1. @Dogild

    Fixed: travis failed because the unittests tried to display a layer

    Dogild authored
    Previously, the unittests for the CPDatePicker broke the tests suite of cappuccino. A CPDatePicker uses a CALayer, and the CALayer display methods wasn't wrap in a #if PLATFOrM(DOM). Now it does, so during the tests we do not try to access do the element document anymore.
    
    This PR fixes also some warnings when compiling.
Commits on Jul 2, 2015
  1. @Dogild

    New: added delegate methods applicationShouldTerminate and applicatio…

    Dogild authored
    …nShouldTerminateMessage
    
    This PR adds the delegate methods applicationShouldTerminate and applicationShouldTerminateMessage in CPApplicationDelegateProtocol.
    
    The delegate applicationShouldTerminate does not exactly work as in Cocoa. In Cocoa, this method is called in CPApp -terminate, but in cappuccino it is called in the method onbeforeunload of the window. In JS, this is the only time where we can prevent to reload the HTML page. If the developer cancel to reload the page, the browser will ask the user if he wants to reload or not the page thought (natural behavior of js).
    
    The method applicationShouldTerminateMessage allows you to define what will be the text displayed in the confirmation alert.
    
    Test app in Tests/Manual/CPPlatformWindow/
  2. @Dogild
  3. @Dogild

    New: added method closeAllPlatformWindows in CPPlatform

    Dogild authored
    Added the method closeAllPlatformWindows in CPPlatform. This platform close all platform windows of the application (except the main one). This method is now used when reloading or leaving a cappuccino application, the application will now close every external window openend by the application.
Commits on Jun 29, 2015
  1. @Dogild

    Fixed: refactoring of the class _CPDatePickerTextField.j. We now use …

    Dogild authored
    …the method called by interpreteKeyEvents instead of handling the key equivalent in performKeyEquivalent
Commits on Jun 26, 2015
  1. @Dogild

    New: added CPUserNotification and CPUserNotificationCenter in Foundation

    Dogild authored
    This PR adds the features CPUserNotification and CPUserNotificationCenter in Foundation.
    The CPUserNotificationCenter allows you to send user notification to the system.
    Right now, we only propose what the W3C proposes. We can set for a notification the title, informativeText and the icon.
    We only support local notification yet.
    
    The protocol CPUserNotificationCenterDelegate has been added as well.
    
    Test app in Tests/Manual/CPUserNotificationTest
Commits on Jun 24, 2015
  1. @Dogild

    Revert "fix disappearing buttons"

    Dogild authored
    This reverts commit 7323a5e.
    
    Fixed #2361
Commits on Jun 19, 2015
Commits on Jun 14, 2015
  1. @Dogild
Commits on Jun 8, 2015
  1. @Dogild
  2. @Dogild

    Fixed: xml format now has the key sourcePath instead of path for the …

    Dogild authored
    …command objj and objj2objcskeleton
Commits on Jun 1, 2015
  1. @Dogild

    New: added the option -n to specify the name of the cocoa files gener…

    Dogild authored
    …ated by objj2objcskeleton
  2. Add capp_env

    authored
  3. @Dogild

    Fixed: objj2objcskeleton does not work with categories on cappuccino …

    Dogild authored
    …class
    
    Previously, when making objj2objcskeleton on a category of a cappuccino class, the cocoa category was not a cocoa class but still a cappuccino class. For instance, a CPView category was still a CPView category instead of being a NSView category.
    
    Fixed #2344
  4. @Dogild
  5. @Dogild
Commits on May 28, 2015
  1. @Dogild
Commits on May 27, 2015
  1. @Dogild

    Merge pull request #2348 from Dogild/BaseWritingDirection

    Dogild authored
    New: added property baseWritingDirection in CPControl
  2. @Dogild

    Merge pull request #2358 from Dogild/CPScrollView-documentVisibleRect

    Dogild authored
    Fixed: documentVisibleRect in CPScrollView does not return the expected result
  3. @Dogild

    Merge pull request #2346 from primalmotion/fix-popen

    Dogild authored
    FIXED: Closes all streams after a OS.popen()
Something went wrong with that request. Please try again.