diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..9ef26d6 Binary files /dev/null and b/favicon.ico differ diff --git a/images/sprite_download.png b/images/sprite_download.png index f9f8de2..304ac53 100644 Binary files a/images/sprite_download.png and b/images/sprite_download.png differ diff --git a/index.html b/index.html index 148b157..e12699b 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,12 @@ - + + + + + + jSerialComm @@ -18,12 +23,13 @@
View on GitHub -

jSerialComm

-

Platform-independent serial port access for Java

+ jSerialComm +

Platform-independent serial port access for Java

Download this project as a .zip file Download this project as a tar.gz file + Download this library as a .jar file
@@ -31,59 +37,125 @@
-

-Welcome to GitHub Pages.

+

What is jSerialComm?

+ +

jSerialComm is a Java library designed to provide a platform-independent way to access standard serial ports without requiring external libraries, native code, or any other tools. It is meant as an alternative to RxTx and the (deprecated) Java Communications API, with increased ease-of-use and an enhanced support for timeouts.

+ +

Some of the features of this library include:

+ + + +

Additionally, this library can be used in any Java project intended for use on the following platforms:

+ + + +

How can use this library in my own project?

+ +

One of the most convenient features of this library is that it allows you to simply include the JAR file in your custom project, and it will automatically select and load the correct native library for your platform and architecture. As such, you can make use of this library by simply copying the jSerialComm.jar file into your project directory and linking to it as you would any other JAR file.

+ +

To access the contents of the library in your project, make sure to import com.fazecast.jSerialComm.* into your java files. You can then generate a list of all available serial ports on your system (real or virtual), by calling the following static method:

+ +
SerialPort.getCommPorts()
+ +

This will return an array of SerialPort objects through which you can iterate. See the Javadoc Library Reference for a complete overview of this library and its methods.

+ +

Note for Linux users: Serial port access is limited to certain users and groups in Linux. To enable user access, you must open a terminal and enter the following commands before jSerialComm will be able to access the ports on your system. (Note, this must only be done once for each user):

+ +
sudo usermod -a -G uucp username
sudo usermod -a -G dialout username
+ +

Replace the username parameter with your current username. (If you are not sure what your username is, type whoami and it will tell you.) If you are using SUSE 11.3 or higher, replace the '-a -G' flags with a single '-A' flag. Log out and you should have access to the serial port after logging back in.

+ +

Additionally, if you are using an automated build system (such as Maven), you can import this library directly into your project as a dependency from the Maven Central Repository instead of copying the .jar file manually. Use one of the following dependency declarations depending on the build system you are using:

+ +
+ +
+
<dependency>
   <groupId>com.fazecast.jSerialComm</groupId>
   <artifactId>jSerialComm</artifactId>
   <version>1.0.0</version>
</dependency>
+
+
+
<dependency org="com.fazecast.jSerialComm" name="jSerialComm" rev="1.0.0"/>
+
+
+
@Grapes(
   @Grab(group='com.fazecast.jSerialComm', module='jSerialComm', version='1.0.0')
)
+
+
+
'com.fazecast.jSerialComm:jSerialComm:1.0.0'
+
+
+
'com.fazecast.jSerialComm:jSerialComm:jar:1.0.0'
+
+
+
libraryDependencies += "com.fazecast.jSerialComm" % "jSerialComm" % "1.0.0"
+
+
+
[com.fazecast.jSerialComm/jSerialComm "1.0.0"]
+
+
+ +

Are there any usage examples?

+ +

Although this library was designed to be as simple and flexible as possible, you can enable a number of different modes of operation via manipulation of the serial port timeout values and the interface through which you choose to access the serial port.

+ +

For a description of the various modes of operation available in this library, please refer to the Modes of Operation wiki article. For code-based examples of how to use this library in your own project, we provide a Usage Examples wiki.

+ +

Finally, you can view the API Documentation for further information on how to use this library.

+ +

Authors and Contributors

+ +

This library was created and developed by Will Hedgecock (@willhedgecock) of Fazecast, Inc. (@fazecast)

+ +

Support or Contact

+ +

Having trouble with this library? Check out the documentation or open an issue report and we’ll help you sort it out.

-

This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:

- -
$ cd your_repo_root/repo_name
-$ git fetch origin
-$ git checkout gh-pages
-
- -

If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.

- -

-Designer Templates

- -

We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.

- -

-Rather Drive Stick?

- -

If you prefer to not use the automatic generator, push a branch named gh-pages to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.

- -

-Authors and Contributors

- -

You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.

- -

-Support or Contact

- -

Having trouble with Pages? Check out the documentation at https://help.github.com/pages or contact support@github.com and we’ll help you sort it out.

- - - + + diff --git a/javadoc/allclasses-frame.html b/javadoc/allclasses-frame.html index 3ccb9b3..e1b556c 100644 --- a/javadoc/allclasses-frame.html +++ b/javadoc/allclasses-frame.html @@ -2,9 +2,9 @@ - + All Classes (jSerialComm 1.0.0 API) - + diff --git a/javadoc/allclasses-noframe.html b/javadoc/allclasses-noframe.html index b95ac37..1be8503 100644 --- a/javadoc/allclasses-noframe.html +++ b/javadoc/allclasses-noframe.html @@ -2,9 +2,9 @@ - + All Classes (jSerialComm 1.0.0 API) - + diff --git a/javadoc/com/fazecast/jSerialComm/SerialPort.html b/javadoc/com/fazecast/jSerialComm/SerialPort.html index 3543c6c..4a8b668 100644 --- a/javadoc/com/fazecast/jSerialComm/SerialPort.html +++ b/javadoc/com/fazecast/jSerialComm/SerialPort.html @@ -2,9 +2,9 @@ - + SerialPort (jSerialComm 1.0.0 API) - + diff --git a/javadoc/com/fazecast/jSerialComm/SerialPortDataListener.html b/javadoc/com/fazecast/jSerialComm/SerialPortDataListener.html index fe970fe..fc61768 100644 --- a/javadoc/com/fazecast/jSerialComm/SerialPortDataListener.html +++ b/javadoc/com/fazecast/jSerialComm/SerialPortDataListener.html @@ -2,9 +2,9 @@ - + SerialPortDataListener (jSerialComm 1.0.0 API) - + @@ -109,6 +109,11 @@ var activeTableTab = "activeTableTab";
public interface SerialPortDataListener
 extends EventListener
+
This interface must be implemented to enable simple event-based serial port I/O.
+
+
See Also:
+
EventListener
+
@@ -129,11 +134,15 @@ extends int -getListeningEvents()  +getListeningEvents() +
Must be overridden to return one or more desired event constants for which the serialEvent(SerialPortEvent) callback should be triggered.
+ void -serialEvent(SerialPortEvent event)  +serialEvent(SerialPortEvent event) +
Called whenever one of the serial port events specified by the getListeningEvents() method occurs.
+ @@ -157,6 +166,26 @@ extends

getListeningEvents

int getListeningEvents()
+
Must be overridden to return one or more desired event constants for which the serialEvent(SerialPortEvent) callback should be triggered. +

+ Valid event constants are: +

+      SerialPort.LISTENING_EVENT_DATA_AVAILABLE
+      SerialPort.LISTENING_EVENT_DATA_RECEIVED
+      SerialPort.LISTENING_EVENT_DATA_WRITTEN
+

+ If you choose to listen for the SerialPort.LISTENING_EVENT_DATA_RECEIVED event, you should implement the sub-interface SerialPortPacketListener instead of this one. +

+ Two or more events may be OR'd together to listen for multiple events; however, if SerialPort.LISTENING_EVENT_DATA_AVAILABLE is OR'd with SerialPort.LISTENING_EVENT_DATA_RECEIVED, the SerialPort.LISTENING_EVENT_DATA_RECEIVED flag will take precedence. +

+
+
Returns:
+
The event constants that should trigger the serialEvent(SerialPortEvent) callback.
+
See Also:
+
SerialPort.LISTENING_EVENT_DATA_AVAILABLE, +SerialPort.LISTENING_EVENT_DATA_RECEIVED, +SerialPort.LISTENING_EVENT_DATA_WRITTEN
+
@@ -166,6 +195,13 @@ extends

serialEvent

void serialEvent(SerialPortEvent event)
+
Called whenever one of the serial port events specified by the getListeningEvents() method occurs.
+
+
Parameters:
+
event - A SerialPortEvent object containing information and/or data about the serial event that occurred.
+
See Also:
+
SerialPortEvent
+
diff --git a/javadoc/com/fazecast/jSerialComm/SerialPortEvent.html b/javadoc/com/fazecast/jSerialComm/SerialPortEvent.html index eaaa419..2e024ed 100644 --- a/javadoc/com/fazecast/jSerialComm/SerialPortEvent.html +++ b/javadoc/com/fazecast/jSerialComm/SerialPortEvent.html @@ -2,9 +2,9 @@ - + SerialPortEvent (jSerialComm 1.0.0 API) - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10}; +var methods = {"i0":10,"i1":10,"i2":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -118,9 +118,11 @@ var activeTableTab = "activeTableTab";
public final class SerialPortEvent
 extends EventObject
+
This class describes an asynchronous serial port event.
See Also:
-
Serialized Form
+
EventObject, +Serialized Form
@@ -155,13 +157,17 @@ extends Constructor and Description -SerialPortEvent(Object source, - int serialEventType)  +SerialPortEvent(SerialPort comPort, + int serialEventType) +
Constructs a SerialPortEvent object corresponding to the specified serial event type.
+ -SerialPortEvent(Object source, +SerialPortEvent(SerialPort comPort, int serialEventType, - byte[] data)  + byte[] data) +
Constructs a SerialPortEvent object corresponding to the specified serial event type and containing the passed-in data bytes.
+ @@ -180,11 +186,21 @@ extends int -getEventType()  +getEventType() +
Returns the type of serial port event that caused this object to be created.
+ byte[] -getReceivedData()  +getReceivedData() +
Returns any raw data bytes associated with this serial port event.
+ + + +SerialPort +getSerialPort() +
Returns the SerialPort that triggered this event.
+ @@ -260,6 +343,11 @@ extends

getReceivedData

public final byte[] getReceivedData()
+
Returns any raw data bytes associated with this serial port event.
+
+
Returns:
+
Any data bytes associated with this serial port event or null if none exist.
+
diff --git a/javadoc/com/fazecast/jSerialComm/SerialPortPacketListener.html b/javadoc/com/fazecast/jSerialComm/SerialPortPacketListener.html index 0e4e727..7ad8c80 100644 --- a/javadoc/com/fazecast/jSerialComm/SerialPortPacketListener.html +++ b/javadoc/com/fazecast/jSerialComm/SerialPortPacketListener.html @@ -2,9 +2,9 @@ - + SerialPortPacketListener (jSerialComm 1.0.0 API) - + @@ -105,6 +105,14 @@ var activeTableTab = "activeTableTab";
public interface SerialPortPacketListener
 extends SerialPortDataListener
+
This interface must be implemented to enable full packet reads using event-based serial port I/O. +

+ Note: Using this interface will negate any serial port read timeout settings since they make no sense in an asynchronous context.

+
+
See Also:
+
SerialPortDataListener, +EventListener
+
@@ -125,7 +133,9 @@ extends int -getPacketSize()  +getPacketSize() +
Must be overridden to return the desired number of bytes that must be read before the SerialPortDataListener.serialEvent(SerialPortEvent) callback is triggered.
+ diff --git a/javadoc/com/fazecast/jSerialComm/package-frame.html b/javadoc/com/fazecast/jSerialComm/package-frame.html index 4a33a8c..b3fe4ce 100644 --- a/javadoc/com/fazecast/jSerialComm/package-frame.html +++ b/javadoc/com/fazecast/jSerialComm/package-frame.html @@ -2,9 +2,9 @@ - + com.fazecast.jSerialComm (jSerialComm 1.0.0 API) - + diff --git a/javadoc/com/fazecast/jSerialComm/package-summary.html b/javadoc/com/fazecast/jSerialComm/package-summary.html index dd961f6..d0a8205 100644 --- a/javadoc/com/fazecast/jSerialComm/package-summary.html +++ b/javadoc/com/fazecast/jSerialComm/package-summary.html @@ -2,9 +2,9 @@ - + com.fazecast.jSerialComm (jSerialComm 1.0.0 API) - + @@ -82,11 +82,15 @@ SerialPortDataListener -  + +
This interface must be implemented to enable simple event-based serial port I/O.
+ SerialPortPacketListener -  + +
This interface must be implemented to enable full packet reads using event-based serial port I/O.
+ @@ -107,7 +111,9 @@ SerialPortEvent -  + +
This class describes an asynchronous serial port event.
+ diff --git a/javadoc/com/fazecast/jSerialComm/package-tree.html b/javadoc/com/fazecast/jSerialComm/package-tree.html index 3e2ad00..b151bc0 100644 --- a/javadoc/com/fazecast/jSerialComm/package-tree.html +++ b/javadoc/com/fazecast/jSerialComm/package-tree.html @@ -2,9 +2,9 @@ - + com.fazecast.jSerialComm Class Hierarchy (jSerialComm 1.0.0 API) - + diff --git a/javadoc/constant-values.html b/javadoc/constant-values.html index a75a41f..2fb2890 100644 --- a/javadoc/constant-values.html +++ b/javadoc/constant-values.html @@ -2,9 +2,9 @@ - + Constant Field Values (jSerialComm 1.0.0 API) - + diff --git a/javadoc/deprecated-list.html b/javadoc/deprecated-list.html index fa5f925..cc17445 100644 --- a/javadoc/deprecated-list.html +++ b/javadoc/deprecated-list.html @@ -2,9 +2,9 @@ - + Deprecated List (jSerialComm 1.0.0 API) - + diff --git a/javadoc/help-doc.html b/javadoc/help-doc.html index ee71b8a..95ee8f0 100644 --- a/javadoc/help-doc.html +++ b/javadoc/help-doc.html @@ -2,9 +2,9 @@ - + API Help (jSerialComm 1.0.0 API) - + diff --git a/javadoc/index-all.html b/javadoc/index-all.html index 0b23d6e..622f955 100644 --- a/javadoc/index-all.html +++ b/javadoc/index-all.html @@ -2,9 +2,9 @@ - + Index (jSerialComm 1.0.0 API) - + @@ -146,7 +146,9 @@
Gets a descriptive string representing this serial port or the device connected to it.
getEventType() - Method in class com.fazecast.jSerialComm.SerialPortEvent
-
 
+
+
Returns the type of serial port event that caused this object to be created.
+
getFlowControlSettings() - Method in class com.fazecast.jSerialComm.SerialPort
Returns the flow control settings enabled on this serial port.
@@ -156,7 +158,9 @@
Returns an InputStream object associated with this serial port.
getListeningEvents() - Method in interface com.fazecast.jSerialComm.SerialPortDataListener
-
 
+
+
Must be overridden to return one or more desired event constants for which the SerialPortDataListener.serialEvent(SerialPortEvent) callback should be triggered.
+
getNumDataBits() - Method in class com.fazecast.jSerialComm.SerialPort
Gets the current number of data bits per word.
@@ -170,7 +174,9 @@
Returns an OutputStream object associated with this serial port.
getPacketSize() - Method in interface com.fazecast.jSerialComm.SerialPortPacketListener
-
 
+
+
Must be overridden to return the desired number of bytes that must be read before the SerialPortDataListener.serialEvent(SerialPortEvent) callback is triggered.
+
getParity() - Method in class com.fazecast.jSerialComm.SerialPort
Gets the current parity error-checking scheme.
@@ -180,7 +186,13 @@
Gets the number of milliseconds of inactivity to tolerate before returning from a SerialPort.readBytes(byte[],long) call.
getReceivedData() - Method in class com.fazecast.jSerialComm.SerialPortEvent
-
 
+
+
Returns any raw data bytes associated with this serial port event.
+
+
getSerialPort() - Method in class com.fazecast.jSerialComm.SerialPortEvent
+
+
Returns the SerialPort that triggered this event.
+
getSystemPortName() - Method in class com.fazecast.jSerialComm.SerialPort
Gets the operating system-defined device name corresponding to this serial port.
@@ -254,7 +266,9 @@

S

serialEvent(SerialPortEvent) - Method in interface com.fazecast.jSerialComm.SerialPortDataListener
-
 
+
+
Called whenever one of the serial port events specified by the SerialPortDataListener.getListeningEvents() method occurs.
+
SerialPort - Class in com.fazecast.jSerialComm
This class provides native access to serial ports and devices without requiring external libraries or tools.
@@ -262,15 +276,25 @@
SerialPort() - Constructor for class com.fazecast.jSerialComm.SerialPort
 
SerialPortDataListener - Interface in com.fazecast.jSerialComm
-
 
+
+
This interface must be implemented to enable simple event-based serial port I/O.
+
SerialPortEvent - Class in com.fazecast.jSerialComm
-
 
-
SerialPortEvent(Object, int) - Constructor for class com.fazecast.jSerialComm.SerialPortEvent
-
 
-
SerialPortEvent(Object, int, byte[]) - Constructor for class com.fazecast.jSerialComm.SerialPortEvent
-
 
+
+
This class describes an asynchronous serial port event.
+
+
SerialPortEvent(SerialPort, int) - Constructor for class com.fazecast.jSerialComm.SerialPortEvent
+
+
Constructs a SerialPortEvent object corresponding to the specified serial event type.
+
+
SerialPortEvent(SerialPort, int, byte[]) - Constructor for class com.fazecast.jSerialComm.SerialPortEvent
+
+
Constructs a SerialPortEvent object corresponding to the specified serial event type and containing the passed-in data bytes.
+
SerialPortPacketListener - Interface in com.fazecast.jSerialComm
-
 
+
+
This interface must be implemented to enable full packet reads using event-based serial port I/O.
+
setBaudRate(int) - Method in class com.fazecast.jSerialComm.SerialPort
Sets the desired baud rate for this serial port.
diff --git a/javadoc/index.html b/javadoc/index.html index a3e3381..7f93d36 100644 --- a/javadoc/index.html +++ b/javadoc/index.html @@ -2,7 +2,7 @@ - + jSerialComm 1.0.0 API diff --git a/javadoc/serialized-form.html b/javadoc/serialized-form.html index ef25a04..02a0525 100644 --- a/javadoc/serialized-form.html +++ b/javadoc/serialized-form.html @@ -2,9 +2,9 @@ - + Serialized Form (jSerialComm 1.0.0 API) - + diff --git a/javascripts/main.js b/javascripts/main.js deleted file mode 100644 index d8135d3..0000000 --- a/javascripts/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('This would be the main JS file.'); diff --git a/params.json b/params.json deleted file mode 100644 index 341c04f..0000000 --- a/params.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"jSerialComm","tagline":"Platform-independent serial port access for Java","body":"### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:\r\n\r\n```\r\n$ cd your_repo_root/repo_name\r\n$ git fetch origin\r\n$ git checkout gh-pages\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.\r\n\r\n### Rather Drive Stick?\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at https://help.github.com/pages or contact support@github.com and we’ll help you sort it out.\r\n","google":"UA-60159197-1","note":"Don't delete this file! It's used internally to help with page regeneration."} \ No newline at end of file diff --git a/stylesheets/pygment_trac.css b/stylesheets/pygment_trac.css deleted file mode 100644 index e65cedf..0000000 --- a/stylesheets/pygment_trac.css +++ /dev/null @@ -1,70 +0,0 @@ -.highlight .hll { background-color: #ffffcc } -.highlight { background: #f0f3f3; } -.highlight .c { color: #0099FF; font-style: italic } /* Comment */ -.highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */ -.highlight .k { color: #006699; font-weight: bold } /* Keyword */ -.highlight .o { color: #555555 } /* Operator */ -.highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */ -.highlight .cp { color: #009999 } /* Comment.Preproc */ -.highlight .c1 { color: #0099FF; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */ -.highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */ -.highlight .ge { font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #FF0000 } /* Generic.Error */ -.highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */ -.highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */ -.highlight .go { color: #AAAAAA } /* Generic.Output */ -.highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */ -.highlight .gs { font-weight: bold } /* Generic.Strong */ -.highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */ -.highlight .gt { color: #99CC66 } /* Generic.Traceback */ -.highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */ -.highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */ -.highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */ -.highlight .kp { color: #006699 } /* Keyword.Pseudo */ -.highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */ -.highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */ -.highlight .m { color: #FF6600 } /* Literal.Number */ -.highlight .s { color: #CC3300 } /* Literal.String */ -.highlight .na { color: #330099 } /* Name.Attribute */ -.highlight .nb { color: #336666 } /* Name.Builtin */ -.highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */ -.highlight .no { color: #336600 } /* Name.Constant */ -.highlight .nd { color: #9999FF } /* Name.Decorator */ -.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */ -.highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */ -.highlight .nf { color: #CC00FF } /* Name.Function */ -.highlight .nl { color: #9999FF } /* Name.Label */ -.highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */ -.highlight .nt { color: #330099; font-weight: bold } /* Name.Tag */ -.highlight .nv { color: #003333 } /* Name.Variable */ -.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */ -.highlight .w { color: #bbbbbb } /* Text.Whitespace */ -.highlight .mf { color: #FF6600 } /* Literal.Number.Float */ -.highlight .mh { color: #FF6600 } /* Literal.Number.Hex */ -.highlight .mi { color: #FF6600 } /* Literal.Number.Integer */ -.highlight .mo { color: #FF6600 } /* Literal.Number.Oct */ -.highlight .sb { color: #CC3300 } /* Literal.String.Backtick */ -.highlight .sc { color: #CC3300 } /* Literal.String.Char */ -.highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */ -.highlight .s2 { color: #CC3300 } /* Literal.String.Double */ -.highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */ -.highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */ -.highlight .si { color: #AA0000 } /* Literal.String.Interpol */ -.highlight .sx { color: #CC3300 } /* Literal.String.Other */ -.highlight .sr { color: #33AAAA } /* Literal.String.Regex */ -.highlight .s1 { color: #CC3300 } /* Literal.String.Single */ -.highlight .ss { color: #FFCC33 } /* Literal.String.Symbol */ -.highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */ -.highlight .vc { color: #003333 } /* Name.Variable.Class */ -.highlight .vg { color: #003333 } /* Name.Variable.Global */ -.highlight .vi { color: #003333 } /* Name.Variable.Instance */ -.highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */ - -.type-csharp .highlight .k { color: #0000FF } -.type-csharp .highlight .kt { color: #0000FF } -.type-csharp .highlight .nf { color: #000000; font-weight: normal } -.type-csharp .highlight .nc { color: #2B91AF } -.type-csharp .highlight .nn { color: #000000 } -.type-csharp .highlight .s { color: #A31515 } -.type-csharp .highlight .sc { color: #A31515 } diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css index 619d19d..8c458e8 100644 --- a/stylesheets/stylesheet.css +++ b/stylesheets/stylesheet.css @@ -1,10 +1,3 @@ -/******************************************************************************* -Slate Theme for GitHub Pages -by Jason Costello, @jsncostello -*******************************************************************************/ - -@import url(pygment_trac.css); - /******************************************************************************* MeyerWeb Reset *******************************************************************************/ @@ -266,7 +259,7 @@ Full-Width Styles .inner { position: relative; - max-width: 640px; + max-width: 780px; padding: 20px 10px; margin: 0 auto; } @@ -317,7 +310,7 @@ Full-Width Styles #downloads { position: absolute; - width: 210px; + width: 303px; z-index: 10; bottom: -40px; right: 0; @@ -336,6 +329,17 @@ Full-Width Styles } .tar_download_link { + display: block; + float: right; + width: 90px; + height:70px; + text-indent: -5000px; + overflow: hidden; + background: url(../images/sprite_download.png) no-repeat bottom center; + margin-left: 10px; +} + +.jar_download_link { display: block; float: right; width: 90px; @@ -351,6 +355,10 @@ Full-Width Styles } .tar_download_link:hover { + background: url(../images/sprite_download.png) no-repeat top center; +} + +.jar_download_link:hover { background: url(../images/sprite_download.png) no-repeat top right; } @@ -423,3 +431,37 @@ Small Device Styles } } + +#tabs-nohdr { + padding: 0px; + background: none; + border-width: 0px; +} +#tabs-nohdr .ui-tabs-nav { + padding-left: 0px; + font-size: small; + background: transparent; + border-width: 0px 0px 1px 0px; + -moz-border-radius: 0px; + -webkit-border-radius: 0px; + border-radius: 0px; +} +#tabs-nohdr .ui-tabs-panel { + background: #f5f3e5; + border-width: 0px 1px 1px 1px; +} +#tabs-nohdr pre { + background: transparent; + padding: 0; + overflow: hidden; + box-shadow: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; + -o-box-shadow: none; + -ms-box-shadow: none; +} +#tabs-nohdr code { + background: transparent; + padding: 0; + overflow: hidden; +} \ No newline at end of file