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; |
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
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
/** | |
* 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
@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
<iframe src="//www.pieceable.com/view/embed/v2/p/a23faec69edeb82fc838d85192f00422c11a4baa" width="390" height="550" frameBorder="0"></iframe> |
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
#!/usr/bin/env dtrace -s | |
/* | |
* DTrace script to observe UNIX socket reads/writes for RubyMotion apps running | |
* in the iOS Simulator. | |
* | |
* Usage: sudo dtrace_rubymotion_repl <pid of running RubyMotion iOS app> | |
* | |
*/ | |
syscall::sendto:entry |
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
// Example output for xctool with `-reporter raw`. | |
// | |
// NOTE: Each dictionary you see below would normally be on a single line. | |
// e.g. -- | |
// {"title":"UICatalog", "event":"begin-xcodebuild", "command":"build"} | |
// | |
{ | |
"title" : "UICatalog", | |
"event" : "begin-xcodebuild", | |
"command" : "build" |
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
Exception: *** Collection <__NSArrayM: 0x40098e8c0> was mutated while being enumerated. | |
Stack: | |
0 0x00007fff81091aee __exceptionPreprocess (in CoreFoundation) | |
1 0x00007fff8b3f63f0 objc_exception_throw (in libobjc.A.dylib) | |
2 0x00007fff81125cb8 __NSFastEnumerationMutationHandler (in CoreFoundation) | |
3 0x000000010452b21d +[PBXBuildRule systemBuildRulesForToolchains:platform:buildPhaseIdentifier:] (in DevToolsCore) | |
4 0x0000000104634af7 +[XCBuildRuleDGSnapshot systemBuildRulesForToolchains:platform:] (in DevToolsCore) | |
5 0x000000010461dd52 -[XCTargetDGSnapshot initWithInformationFromTarget:withBuildParameters:] (in DevToolsCore) | |
6 0x0000000104620a7d -[XCNativeTargetDGSnapshot initWithInformationFromTarget:withBuildParameters:] (in DevToolsCore) | |
7 0x000000010450c633 -[PBXTarget createDependencyGraphSnapshotWithTargetBuildParameters:] (in DevToolsCore) |
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
$ ./xctool.sh -project xctool/xctool-tests/TestData/TestProject-Library/TestProject-Library.xcodeproj -scheme TestProject-Library test -sdk iphonesimulator | |
=== BUILDING XCTOOL === | |
/Users/fpotter/xctool/build.sh | |
✓ Built xctool (1000 ms) | |
[Info] Loading settings for scheme 'TestProject-Library' ... (462 ms) | |
=== TEST === |
OlderNewer