This file contains 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
@implementation TNConnectionWindow: CPWindow { | |
@outlet CPTextField jid; | |
@outlet CPTextField password; | |
@outlet CPImageView spinning; | |
@outlet CPTextField message; | |
CPCookie cookieLogin @accessors; | |
CPCookie cookiePassword @accessors; | |
TNStropheConnection strophe @accessors; |
This file contains 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
Compiling [ObjJ] CPDictionary.j......... | |
Compiling [ObjJ] CPEnumerator.j.. | |
Compiling [ObjJ] CPIndexSet.j............. | |
Compiling [ObjJ] CPKeyedArchiver.j............ | |
Compiling [ObjJ] CPKeyedUnarchiver.j........... | |
Compiling [ObjJ] CPNull.j.. | |
Compiling [ObjJ] CPSet.j.......... | |
Compiling [ObjJ] CPURLConnection.j....... | |
Compiling [ObjJ] CPWebDAVManager.j...... | |
Creating static file... /Users/Tonio/Library/Cappuccino/Release/Foundation/ObjJ.environment/Foundation.sj |
This file contains 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
// first column | |
@implementation TNOutlineTableColumnLabel : CPTableColumn | |
{ | |
CPOutlineView _outlineView; | |
CPView _dataViewForOther; | |
CPView _dataViewForRoot; | |
} | |
- (id)initWithIdentifier:(CPString)anIdentifier outlineView:(CPOutlineView)anOutlineView | |
{ |
This file contains 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
- (void)populateTabsFromPlist | |
{ | |
@each(var module in [_plistObject objectForKey:@"Modules"]) | |
{ | |
var currentModuleType = [module objectForKey:@"type"]; | |
if ([self moduleType] == currentModuleType) | |
{ | |
var folder = [module objectForKey:@"folder"]; | |
var path = [self modulesPath] + folder + "/"; |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Main cib file base name</key> | |
<string>MainView.cib</string> | |
<key>CPBundleName</key> | |
<string>MainView</string> | |
<key>CPPrincipalClass</key> | |
<string>TNMainViewController</string> |
This file contains 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
@implementation TNMainViewController : TNModule | |
{ | |
@outlet CPTextField jid @accessors; | |
@outlet CPTextField mainTitle @accessors; | |
@outlet CPButton buttonCreateVM @accessors; | |
@outlet CPPopUpButton popupDeleteMachine @accessors; | |
@outlet CPButton buttonDeleteVM @accessors; | |
@outlet CPTextField healthCPUUsage @accessors; | |
@outlet CPTextField healthDiskUsage @accessors; | |
@outlet CPTextField healthMemUsage @accessors; |
This file contains 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
/* | |
* TNUserPreferences | |
* | |
* Copyright (C) 2010 Antoine Mercadal <[email protected]> | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Affero General Public License as | |
* published by the Free Software Foundation, either version 3 of the | |
* License, or (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, |
This file contains 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
/* | |
* TNUserPreferences | |
* | |
* Copyright (C) 2010 Antoine Mercadal <[email protected]> | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Affero General Public License as | |
* published by the Free Software Foundation, either version 3 of the | |
* License, or (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, |
This file contains 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
@implementation TNBase64Image : CPImage | |
{ | |
CPString baseEncoded64Data @accessors; | |
} | |
+ (TNBase64Image)base64ImageWithData:(CPString)someBase64Data | |
{ | |
var img = [[TNBase64Image alloc] init]; | |
[img setBaseEncoded64Data:someBase64Data]; |
This file contains 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
@implementation TNBase64Image : CPImage | |
{ | |
CPString _baseEncoded64Data @accessors(setter=setBaseEncoded64Data:); | |
CPString _contentType @accessors(setter=setContentType:); | |
} | |
+ (TNBase64Image)base64ImageWithContentType:(CPString)aContentType andData:(CPString)someBase64Data | |
{ | |
var img = [[TNBase64Image alloc] init]; | |
OlderNewer