Some docs and older pom stuff

This commit is contained in:
Norbi Peti 2019-07-03 22:13:16 +02:00
parent 6de24a2742
commit c98fcdb1c0
No known key found for this signature in database
GPG key ID: DBA4C4549A927E56
4 changed files with 193 additions and 143 deletions

View file

@ -1,153 +1,162 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent> <parent>
<artifactId>VirtualComputer</artifactId> <artifactId>VirtualComputer</artifactId>
<groupId>io.github.NorbiPeti</groupId> <groupId>io.github.NorbiPeti</groupId>
<version>2.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>VirtualComputer-Core</artifactId>
<version>2.1-SNAPSHOT</version> <version>2.1-SNAPSHOT</version>
<build> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>VirtualComputer-Core</artifactId>
<version>2.1-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<compilerArgs>
<arg>-g</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration/>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>XPCOM</id>
<build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.5.1</version> <executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration> <configuration>
<source>1.8</source> <artifactSet>
<target>1.8</target> <excludes>
<compilerArgs> <exclude>org.virtualbox:VirtualBox-MSCOM</exclude>
<arg>-g</arg> <exclude>sznp.virtualcomputer:VirtualComputer-MSCOM</exclude>
</compilerArgs> </excludes>
</artifactSet>
<minimizeJar>true</minimizeJar>
<filters>
<filter>
<artifact>io.github.NorbiPeti:VirtualComputer-XPCOM</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
</configuration> </configuration>
</plugin> </execution>
<plugin> </executions>
<artifactId>maven-shade-plugin</artifactId> </plugin>
<version>2.4.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration/>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
<profiles> </profile>
<profile> <profile>
<id>XPCOM</id> <id>MSCOM</id>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
<goals> <goals>
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
<configuration> <configuration>
<artifactSet> <artifactSet>
<excludes> <excludes>
<exclude>org.virtualbox:VirtualBox-MSCOM</exclude> <exclude>org.virtualbox:VirtualBox</exclude>
<exclude>sznp.virtualcomputer:VirtualComputer-MSCOM</exclude> <exclude>sznp.virtualcomputer:VirtualComputer-XPCOM</exclude>
</excludes> </excludes>
</artifactSet> </artifactSet>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile> </profiles>
<id>MSCOM</id> <dependencies>
<build> <dependency>
<plugins> <groupId>org.virtualbox</groupId>
<plugin> <artifactId>VirtualBox-MSCOM</artifactId>
<artifactId>maven-shade-plugin</artifactId> <version>6.0</version>
<executions> <scope>compile</scope>
<execution> </dependency>
<phase>package</phase> <dependency>
<goals> <groupId>sznp.virtualcomputer</groupId>
<goal>shade</goal> <artifactId>VirtualComputer-MSCOM</artifactId>
</goals> <version>2.1-SNAPSHOT</version>
<configuration> <scope>compile</scope>
<artifactSet> </dependency>
<excludes> <dependency>
<exclude>org.virtualbox:VirtualBox</exclude> <groupId>junit</groupId>
<exclude>sznp.virtualcomputer:VirtualComputer-XPCOM</exclude> <artifactId>junit</artifactId>
</excludes> <version>4.11</version>
</artifactSet> <scope>test</scope>
</configuration> <exclusions>
</execution> <exclusion>
</executions> <artifactId>hamcrest-core</artifactId>
</plugin> <groupId>org.hamcrest</groupId>
</plugins> </exclusion>
</build> </exclusions>
</profile> </dependency>
</profiles> <dependency>
<dependencies> <groupId>org.spigotmc</groupId>
<dependency> <artifactId>spigot-api</artifactId>
<groupId>org.virtualbox</groupId> <version>1.12-R0.1-SNAPSHOT</version>
<artifactId>VirtualBox-MSCOM</artifactId> <scope>provided</scope>
<version>6.0</version> <exclusions>
<scope>compile</scope> <exclusion>
</dependency> <artifactId>commons-lang</artifactId>
<dependency> <groupId>commons-lang</groupId>
<groupId>sznp.virtualcomputer</groupId> </exclusion>
<artifactId>VirtualComputer-MSCOM</artifactId> <exclusion>
<version>2.1-SNAPSHOT</version> <artifactId>json-simple</artifactId>
<scope>compile</scope> <groupId>com.googlecode.json-simple</groupId>
</dependency> </exclusion>
<dependency> <exclusion>
<groupId>junit</groupId> <artifactId>guava</artifactId>
<artifactId>junit</artifactId> <groupId>com.google.guava</groupId>
<version>4.11</version> </exclusion>
<scope>test</scope> <exclusion>
<exclusions> <artifactId>gson</artifactId>
<exclusion> <groupId>com.google.code.gson</groupId>
<artifactId>hamcrest-core</artifactId> </exclusion>
<groupId>org.hamcrest</groupId> <exclusion>
</exclusion> <artifactId>snakeyaml</artifactId>
</exclusions> <groupId>org.yaml</groupId>
</dependency> </exclusion>
<dependency> <exclusion>
<groupId>org.spigotmc</groupId> <artifactId>bungeecord-chat</artifactId>
<artifactId>spigot-api</artifactId> <groupId>net.md-5</groupId>
<version>1.12-R0.1-SNAPSHOT</version> </exclusion>
<scope>provided</scope> </exclusions>
<exclusions> </dependency>
<exclusion> </dependencies>
<artifactId>commons-lang</artifactId>
<groupId>commons-lang</groupId>
</exclusion>
<exclusion>
<artifactId>json-simple</artifactId>
<groupId>com.googlecode.json-simple</groupId>
</exclusion>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
<exclusion>
<artifactId>gson</artifactId>
<groupId>com.google.code.gson</groupId>
</exclusion>
<exclusion>
<artifactId>snakeyaml</artifactId>
<groupId>org.yaml</groupId>
</exclusion>
<exclusion>
<artifactId>bungeecord-chat</artifactId>
<groupId>net.md-5</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project> </project>

View file

@ -80,6 +80,16 @@
<exclude>sznp.virtualcomputer:VirtualComputer-MSCOM</exclude> <exclude>sznp.virtualcomputer:VirtualComputer-MSCOM</exclude>
</excludes> </excludes>
</artifactSet> </artifactSet>
<minimizeJar>true</minimizeJar>
<filters>
<filter>
<artifact>io.github.NorbiPeti:VirtualComputer-XPCOM</artifact>
<includes>
<include>**
</include> <!-- Don't delete org.mozilla.interfaces.internal when minimizing -->
</includes>
</filter>
</filters>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>

View file

@ -21,4 +21,25 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<artifactSet>
<includes>
<include>org.virtualbox:VirtualBox</include>
</includes>
</artifactSet>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View file

@ -100,8 +100,18 @@ public class COMFrameBuffer implements IFramebuffer {
public void setVisibleRegion(byte arg0, long arg1) { public void setVisibleRegion(byte arg0, long arg1) {
} }
/**
* Posts a Video HW Acceleration Command to the frame buffer for processing.<br />
* <br />
* The commands used for 2D video acceleration (DDraw surface creation/destroying, blitting, scaling, color conversion, overlaying, etc.) are posted from quest to the host to be processed by the host hardware.
*
* @param command Pointer to VBOXVHWACMD containing the command to execute.
* @param enmCmd The validated VBOXVHWACMD::enmCmd value from the command.
* @param fromGuest Set when the command origins from the guest, clear if host.
*/ //https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp#L4645
@Override @Override
public void processVHWACommand(byte b, int i, boolean b1) { public void processVHWACommand(byte command, int enmCmd, boolean fromGuest) {
} }
@Override @Override