Commit e1ba1278 authored by Stephanie Gawroriski's avatar Stephanie Gawroriski
Browse files

Add Aplix JBlend and Vodafone API stubs.

parent f1cc34f0
......@@ -20,33 +20,8 @@ _SquirrelJME will always be an improvement over the older versions._
More detailed changes:
* Build system
* Builder
* Allow the build system to launch binaries in a VM even if they have no
source code.
* Handle cases during compilation if a dependency has no source code.
* If an attempt is made to compile a binary with no source code, throw a
new exception type indicating this rather than the generic failure
exception because this case can be handled.
* When shading JARs for distribution, ignore entries in JARs which are
directories. Directories do not need to appear in the JAR, however they
may still be implicit within ZIPs.
* Launching
* An alternative VM may be specified.
* Correct cases where `NullPointerException` is thrown when a `Display`
was initialized but was not yet claimed by any program.
* The profiler snapshot can be written to a specific file.
* System properties may be defined and passed to the launched program.
* Started work on JavaDoc generation.
* Tests
* Adjusted the results in the logarithm test to adjust the ulp to what
SquirrelJME generates. The results are still valid as it is valid to
be within a 1 ulp range, however the test framework only supports
exact values.
* Added the missing _mimemessage_ file for the MIME file decoding test.
* Allow tests to timeout so that they do not run forever in the event of
some kind of deadlock.
* Refactored the test framework to be easier to maintain.
* Modernized the build system to Gradle!
* This will make it much easier to develop and allow for contributions!
* Programs and Libraries
* `cldc-compact`
* Added a rehash indicator for the internal `__BucketMap__` so that
......@@ -81,6 +56,8 @@ More detailed changes:
`microedition.configuration`, and `microedition.locale`.
* `demo-hello`
* Made the system properties array `final`.
* `jblend-api`
* Added API Stubs.
* `launcher`
* Added the system property `cc.squirreljme.autolaunch` to automatically
launch a program once the program list is read.
......@@ -146,6 +123,8 @@ More detailed changes:
* `tool-profiler`
* When writing the NPS snapshot, set a limit on how deep the stack can
traverse in the event an infinite recursive method was profiled.
* `vodafone-api`
* Added API Stubs.
* Compiler Backend
* Added a bunch of string representations for class structures.
* Created a stack-cached register based compiler for Java byte code.
......
import cc.squirreljme.plugin.JavaMEMidletType
description = "Proprietary JBlend API"
squirreljme
{
javaDocErrorCode = "LB"
swmType = JavaMEMidletType.API
swmName = "JBlend API"
swmVendor = "Stephanie Gawroriski"
}
dependencies
{
compile project(":modules:cldc-compact")
compile project(":modules:midp-lcdui")
}
\ No newline at end of file
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.graphics;
public class WindowSystem
{
public final int real_width;
public final int real_height;
public final int virtual_width;
public final int virtual_height;
public final boolean isColor;
public final int numColors;
public final boolean hasPointerEvents;
public final boolean hasPointerMotionEvents;
public final int numSoftkeys;
public WindowSystem()
{
throw new todo.TODO();
}
public static WindowSystem getDefaultWindowSystem()
{
throw new todo.TODO();
}
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io;
public class ConnectorImpl
{
public static synchronized Class getProtocol(String var0)
{
throw new todo.TODO();
}
public static synchronized void setProtocol(String var0, String var1)
{
throw new todo.TODO();
}
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io;
public class NotSimpleSerializableException
extends SimpleSerializeException
{
public NotSimpleSerializableException()
{
super(null);
}
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
public class SimpleObjectInputStream
extends DataInputStream
{
public SimpleObjectInputStream(InputStream var1) {
super((InputStream)null);
throw new todo.TODO();
}
public String readString() throws IOException
{
throw new todo.TODO();
}
public SimpleSerializable read(SimpleSerializable var1) throws IOException
{
throw new todo.TODO();
}
public Object dispatchReadCommand(Class var1) throws IOException
{
throw new todo.TODO();
}
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.OutputStream;
public class SimpleObjectOutputStream
extends DataOutputStream
{
public SimpleObjectOutputStream(OutputStream var1) {
super((OutputStream)null);
throw new todo.TODO();
}
public void write(String var1) throws IOException
{
throw new todo.TODO();
}
public void write(SimpleSerializable var1) throws IOException
{
throw new todo.TODO();
}
public void dispatchWriteCommand(Object var1) throws IOException
{
throw new todo.TODO();
}
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io;
import java.io.IOException;
public interface SimpleSerializable
{
void writeObject(SimpleObjectOutputStream var1) throws IOException;
void readObject(SimpleObjectInputStream var1) throws IOException;
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io;
import java.io.IOException;
public class SimpleSerializeException
extends IOException
{
public SimpleSerializeException(String var1)
{
throw new todo.TODO();
}
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io.j2me.events;
import javax.microedition.midlet.MIDlet;
public class EventDispatcher
{
public EventDispatcher()
{
throw new todo.TODO();
}
public static Thread getEventThread()
{
throw new todo.TODO();
}
public static void start()
{
throw new todo.TODO();
}
public static void setCurrentMIDlet(MIDlet var0)
{
throw new todo.TODO();
}
public static void setJoclEventDispatcherInterface(EventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static UiEventDispatcherInterface setUiEventDispatcherInterface(UiEventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static void setMIDletEventDispatcherInterface(EventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static void setMediaEventDispatcherInterface(EventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static void setSmafEventDispatcherInterface(EventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static void setPhraseEventDispatcherInterface(EventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static void setDialEventDispatcherInterface(EventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static synchronized int setOptionalEventDispatcher(EventDispatcherInterface var0, int var1)
{
throw new todo.TODO();
}
public static int setOptionalEventDispatcher(EventDispatcherInterface var0, int var1, String var2)
{
throw new todo.TODO();
}
public static synchronized void dispatchEvent()
{
throw new todo.TODO();
}
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io.j2me.events;
public interface EventDispatcherInterface
{
void dispatch(int var1, int var2, int var3, int var4);
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io.j2me.events;
public interface EventType
{
int PRESSED = 1;
int RELEASED = 2;
int CLICKED = 3;
int EXPIRED = 4;
int STARTED = 5;
int STOPPED = 6;
int PAUSED = 7;
int REQUEST_PAUSE = 8;
int REQUEST_STOP = 9;
int REQUEST_RESUME = 10;
int CALLING = 11;
int RECEIVED = 12;
int SCHEDULED_ALARM = 13;
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io.j2me.events;
public interface InternalEvent
{
int BEAM_RECEIVE_KVM_EVENT = 0;
int PEN_DOWN_KVM_EVENT = 1;
int PEN_UP_KVM_EVENT = 2;
int PEN_MOVE_KVM_EVENT = 3;
int KEY_DOWN_KVM_EVENT = 4;
int KEY_UP_KVM_EVENT = 5;
int LAST_KVM_EVENT = 6;
int APP_STOP_KVM_EVENT = 7;
int UI_KVM_EVENT = 8;
int TIMER_KVM_EVENT = 9;
int PLATFORM_KVM_EVENT = 10;
int SOUND_KVM_EVENT = 11;
int MEDIA_KVM_EVENT = 12;
int DIAL_KVM_EVENT = 14;
int APP_RESUME_KVM_EVENT = 100;
int APP_SUSPEND_KVM_EVENT = 101;
int GENERAL_NOTIFY_EVENT = 200;
int ANI_CHAR_EVENT = 221;
int USER_KVM_EVENT = 255;
int VENDOR_KVM_EVENT = 1000;
int OPTIONAL_EVENT_ORIGIN = 10000;
int MAX_OPTIONAL_EVENT = 5;
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io.j2me.events;
public class JoclEventDispatcher
implements EventDispatcherInterface
{
public JoclEventDispatcher() {
}
public void dispatch(int var1, int var2, int var3, int var4)
{
throw new todo.TODO();
}
public static void setPhraseEventDispatcherInterface(JoclEventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static void setMediaEventDispatcherInterface(JoclEventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static void setPlatformEventDispatcherInterface(JoclEventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static void setVendorEventDispatcherInterface(JoclEventDispatcherInterface var0)
{
throw new todo.TODO();
}
public static void init()
{
throw new todo.TODO();
}
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io.j2me.events;
public interface JoclEventDispatcherInterface
{
void dispatch(int var1, int var2, int var3);
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io.j2me.events;
public interface NativeMediaEventDispatcher
{
void stateChanged(int var1);
void repeated(int var1);
int getMediaType();
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io.j2me.events;
public interface UiEventDispatcherInterface
{
void dispatchUi(int var1, int var2, int var3, int var4, int var5);
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.io.j2me.events;
public interface UiEventType
{
int CLICKED = 1;
int SELECTED = 2;
int DESELECTED = 3;
int CHANGED = 4;
int REPAINT = 5;
int GOTDISPLAY = 6;
int LOSTFOCUS = 7;
int REPAINTCOMPONENT = 8;
int RELEASEDISPLAY = 9;
}
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package com.jblend.media;
import java.io.IOException;