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
import Haste | |
import Haste.DOM | |
setOnChanged :: String -> IO () -> IO Bool | |
setOnChanged eName cb = withElem eName $ \e -> setCallback e OnChange cb | |
onForm1Change :: IO () | |
onForm1Change = do | |
c <- withElem "form1" $ \e -> getProp e "value" | |
alert $ "Form 1 changed to " ++ c |
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
||=== TPlayer, Debug ===| | |
/home/ls/src/TPlayer/Kha/Backends/kxcpp/include/hxcpp.h|120|warning: ignoring #pragma warning [-Wunknown-pragmas]| | |
/home/ls/src/TPlayer/Kha/Backends/kxcpp/include/hxcpp.h|121|warning: ignoring #pragma warning [-Wunknown-pragmas]| | |
/home/ls/src/TPlayer/Kha/Backends/kxcpp/include/hxString.h||In constructor ‘String::String(const HX_CHAR*, int)’:| | |
/home/ls/src/TPlayer/Kha/Backends/kxcpp/include/hxString.h|174|warning: ‘String::__s’ will be initialized after [-Wreorder]| | |
/home/ls/src/TPlayer/Kha/Backends/kxcpp/include/hxString.h|173|warning: ‘int String::length’ [-Wreorder]| | |
/home/ls/src/TPlayer/Kha/Backends/kxcpp/include/hxString.h|25|warning: when initialized here [-Wreorder]| | |
/home/ls/src/TPlayer/Kha/Backends/kxcpp/include/hxString.h|174|warning: ‘String::__s’ will be initialized after [-Wreorder]| | |
/home/ls/src/TPlayer/Kha/Backends/kxcpp/include/hxString.h|173|warning: ‘int String::length’ [-Wreorder]| | |
/home/ls/src/TPlayer/Kha/Backends/kxcpp/include/hxString.h|37|warning: when |
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
import net.rezmason.utils.workers.QuickBoss; | |
import net.rezmason.utils.workers.Golem; | |
import de.polygonal.ds.Array2; | |
typedef PIGBoss = QuickBoss<Array2<Int>, Int>; | |
class Primes | |
{ | |
static var pig:PIGBoss = null; | |
static var done:Bool = false; |
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
import net.rezmason.utils.workers.BasicWorker; | |
import de.polygonal.ds.Array2; | |
class PrimeIntegerGenerator extends BasicWorker<Array2<Int>, Int> { | |
override function receive(data:Array2<Int>):Void { | |
var n:Int = 1; | |
while (!dead) { | |
// Apparently, Flash workers won't terminate if they run too tightly |
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
import net.rezmason.utils.workers.BasicWorker; | |
import de.polygonal.ds.Array2; | |
import de.polygonal.ds.Array3; | |
class PrimeIntegerGenerator extends BasicWorker<Array2<Int>, Array3<Int>> { | |
override function receive(data:Array2<Int>):Void { | |
var n:Int = 1; | |
while (!dead) { |
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
Deadlock Detection: | |
No deadlocks found. | |
Thread 5061: (state = BLOCKED) | |
- java.lang.Object.hashCode() @bci=0 (Compiled frame; information may be imprecise) | |
- gnu.trove.TObjectHash.computeHashCode(java.lang.Object) @bci=5, line=287 (Compiled frame) | |
- gnu.trove.TObjectHash.insertionIndex(java.lang.Object) @bci=13, line=221 (Compiled frame) | |
- gnu.trove.THashSet.add(java.lang.Object) @bci=2, line=139 (Compiled frame) | |
- com.intellij.util.containers.SmartHashSet.add(java.lang.Object) @bci=90, line=90 (Compiled frame) |
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
actuate: [1.8.6] | |
androidquirks: [dev:/home/ls/src/haxe-androidquirks] | |
box2d: [1.2.3] | |
golems: [1.2.2] | |
haxe_mobilecore: [dev:/home/ls/src/haxe-mobilecore] | |
haxelib_client: [3.2.0-rc.3] | |
hscript: [2.0.4] | |
hxcpp: [3.2.102] | |
iap: [1.0.6] | |
layout: [1.2.0] |
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
-main Test | |
-cp src | |
-php 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
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="HAXE_MODULE" version="4"> | |
<component name="HaxeModuleSettingsStorage"> | |
<option name="buildConfig" value="1" /> | |
<option name="hxmlPath" value="$MODULE_DIR$/compile.hxml" /> | |
<option name="outputFolder" value="$MODULE_DIR$/out/production/Test" /> | |
</component> | |
<component name="NewModuleRootManager" inherit-compiler-output="false"> | |
<output url="file://$MODULE_DIR$/out/production/Test" /> | |
<exclude-output /> |
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"?> | |
<module type="HAXE_MODULE" version="4"> | |
<component name="HaxeModuleSettingsStorage"> | |
<option name="buildConfig" value="1" /> | |
<option name="hxmlPath" value="$MODULE_DIR$/compile.hxml" /> | |
<option name="outputFolder" value="$MODULE_DIR$/out/production/Test" /> | |
</component> | |
<component name="NewModuleRootManager" inherit-compiler-output="false"> | |
<output url="file://$MODULE_DIR$/out/production/Test" /> | |
<exclude-output /> |