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 PITextField : CPTextField | |
- (void)textDidFocus:(CPNotification)note | |
{ | |
[self _inputElement].onpaste = function(e, elName) | |
{ | |
var originalString = [self stringValue]; | |
[self deleteBackward:self]; |
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
/** | |
* What follows is an awful, awful solution for catching native paste events | |
* on CPTextField and properly firing the textDidChange event. | |
* | |
* It doesn't yet handle cut. | |
* | |
* I only did it this way because I was in a big rush for a demo, and didn't | |
* want to fork Cappuccino at the time. | |
*/ | |
@import <Foundation/Foundation.j> |
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
Index: src/net/bican/wordpress/Comment.java | |
=================================================================== | |
--- src/net/bican/wordpress/Comment.java (revision 0) | |
+++ src/net/bican/wordpress/Comment.java (revision 0) | |
@@ -0,0 +1,231 @@ | |
+package net.bican.wordpress; | |
+ | |
+import java.util.Date; | |
+ | |
+/** |
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
Index: compiler/cpp/src/generate/t_java_generator.cc | |
=================================================================== | |
--- compiler/cpp/src/generate/t_java_generator.cc (revision 687530) | |
+++ compiler/cpp/src/generate/t_java_generator.cc (working copy) | |
@@ -41,7 +41,21 @@ | |
iter = parsed_options.find("hashcode"); | |
gen_hash_code_ = (iter != parsed_options.end()); | |
- out_dir_base_ = (bean_style_ ? "gen-javabean" : "gen-java"); | |
+ iter = parsed_options.find("j2me"); |
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
package com.parallel48.test; | |
import static org.easymock.EasyMock.expect; | |
import static org.easymock.EasyMock.expectLastCall; | |
import static org.easymock.classextension.EasyMock.createMock; | |
import static org.easymock.classextension.EasyMock.replay; | |
import static org.powermock.api.easymock.PowerMock.mockStatic; | |
import java.io.IOException; | |
import java.util.LinkedList; |
NewerOlder