OSDN Git Service

Add nevernote-osx for Mac users and remove old unused gif files.
authorRandy Baumgarte <randy@fbn.cx>
Sun, 31 Oct 2010 18:59:58 +0000 (14:59 -0400)
committerRandy Baumgarte <randy@fbn.cx>
Sun, 31 Oct 2010 18:59:58 +0000 (14:59 -0400)
21 files changed:
nevernote-osx [new file with mode: 0644]
src/cx/fbn/nevernote/icons/bold.gif [deleted file]
src/cx/fbn/nevernote/icons/bulletList.gif [deleted file]
src/cx/fbn/nevernote/icons/copy.gif [deleted file]
src/cx/fbn/nevernote/icons/cut.gif [deleted file]
src/cx/fbn/nevernote/icons/fontColor.gif [deleted file]
src/cx/fbn/nevernote/icons/fontHilight.gif [deleted file]
src/cx/fbn/nevernote/icons/hline.gif [deleted file]
src/cx/fbn/nevernote/icons/indent.gif [deleted file]
src/cx/fbn/nevernote/icons/italic.gif [deleted file]
src/cx/fbn/nevernote/icons/justifyCenter.gif [deleted file]
src/cx/fbn/nevernote/icons/justifyLeft.gif [deleted file]
src/cx/fbn/nevernote/icons/justifyRight.gif [deleted file]
src/cx/fbn/nevernote/icons/numberList.gif [deleted file]
src/cx/fbn/nevernote/icons/outdent.gif [deleted file]
src/cx/fbn/nevernote/icons/paste.gif [deleted file]
src/cx/fbn/nevernote/icons/redo.gif [deleted file]
src/cx/fbn/nevernote/icons/spellCheck.gif [deleted file]
src/cx/fbn/nevernote/icons/strikethrough.gif [deleted file]
src/cx/fbn/nevernote/icons/todo.gif [deleted file]
src/cx/fbn/nevernote/icons/undo.gif [deleted file]

diff --git a/nevernote-osx b/nevernote-osx
new file mode 100644 (file)
index 0000000..a8f109c
--- /dev/null
@@ -0,0 +1,107 @@
+#! /bin/sh
+
+###########################################
+# NeverNote Startup script for OS-X
+###########################################
+
+
+eval $1
+
+###########################################
+# Location variables. Edit the variables #
+# below to your specific installation. #
+# The ones below are examples only. #
+###########################################
+
+NEVERNOTE=$(cd `dirname $0` && pwd)
+# NEVERNOTE=/usr/share/nevernote
+
+########################################
+# Memory settings. These can be tuned #
+# to your specific needs. The greater #
+# the memory allocated the better #
+# your response may be, but the more #
+# resources the program will consume. #
+# Lower numbers may hurt performance #
+# but will reduce resource held by #
+# the program. If you get errors #
+# that say "out of memory" you need #
+# to increase these values. #
+########################################
+# Initial heap size
+NN_XMS=256M
+# Maximum heap size
+NN_XMX=512M
+
+## The young generation
+# the young generation will occupy 1/2 of total heap
+NN_NEW_RATIO=1
+
+## GC option
+## recommend Incremental Low Pause GC for desktop apps 
+NN_GC_OPT=-Xincgc
+## recent multi-core CPU may show good performance
+#NN_GC_OPT=-XX:+UseParNewGC
+#NN_GC_OPT=-XX:+UseConcMarkSweepGC
+## same as default
+#NN_GC_OPT=-XX:+UseParallelGC
+
+## debug
+#NN_DEBUG=-agentlib:hprof=format=b
+#NN_DEBUG=-agentlib:hprof=cpu=samples,format=a
+#NN_DEBUG=-verbose:gc 
+
+########################################
+# This next variable is optional. It #
+# is only needed if you want to run #
+# multiple copies of NeverNote under #
+# the same Linux user id. Each #
+# additional copy (after the first) #
+# should have a unique name. This #
+# permits the settings to be saved #
+# properly. If you only want to run #
+# one copy under a single userid, this #
+# can be commented out. #
+########################################
+#NN_NAME="sandbox" 
+
+
+#Do any parameter overrides
+while [ -n "$*" ]
+do
+eval $1
+shift
+done
+
+
+###################################################################
+###################################################################
+## You probably don't need to change anything below this line. ##
+###################################################################
+###################################################################
+
+
+#####################
+# Setup environment #
+#####################
+NN_CLASSPATH=$NEVERNOTE/nevernote.jar
+NN_CLASSPATH=$NN_CLASSPATH:$NEVERNOTE/lib/evernote.jar
+NN_CLASSPATH=$NN_CLASSPATH:$NEVERNOTE/lib/h2-1.2.136.jar
+NN_CLASSPATH=$NN_CLASSPATH:$NEVERNOTE/lib/libthrift.jar
+NN_CLASSPATH=$NN_CLASSPATH:$NEVERNOTE/lib/log4j-1.2.14.jar
+NN_CLASSPATH=$NN_CLASSPATH:$NEVERNOTE/lib/PDFRenderer.jar
+NN_CLASSPATH=$NN_CLASSPATH:$NEVERNOTE/lib/commons-lang-2.4.jar
+NN_CLASSPATH=$NN_CLASSPATH:$NEVERNOTE/lib/jtidy-r938.jar 
+NN_CLASSPATH=$NN_CLASSPATH:$NEVERNOTE/lib/qtjambi-macosx-4.5.2_01.jar
+NN_CLASSPATH=$NN_CLASSPATH:$NEVERNOTE/lib/qtjambi-macosx-gcc-4.5.2_01.jar
+
+
+###################
+# Run the program #
+###################
+cd $NEVERNOTE
+
+java -Xmx$NN_XMX -Xms$NN_XMS -XX:NewRatio=$NN_NEW_RATIO $NN_GC_OPT $NN_DEBUG -classpath $NN_CLASSPATH cx.fbn.nevernote.NeverNote --name=$NN_NAME -XstartOnFirstThread -d32 -client
+
+cd -
+
diff --git a/src/cx/fbn/nevernote/icons/bold.gif b/src/cx/fbn/nevernote/icons/bold.gif
deleted file mode 100644 (file)
index 8711be2..0000000
Binary files a/src/cx/fbn/nevernote/icons/bold.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/bulletList.gif b/src/cx/fbn/nevernote/icons/bulletList.gif
deleted file mode 100644 (file)
index 27aa76c..0000000
Binary files a/src/cx/fbn/nevernote/icons/bulletList.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/copy.gif b/src/cx/fbn/nevernote/icons/copy.gif
deleted file mode 100644 (file)
index 418f22f..0000000
Binary files a/src/cx/fbn/nevernote/icons/copy.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/cut.gif b/src/cx/fbn/nevernote/icons/cut.gif
deleted file mode 100644 (file)
index 3db4168..0000000
Binary files a/src/cx/fbn/nevernote/icons/cut.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/fontColor.gif b/src/cx/fbn/nevernote/icons/fontColor.gif
deleted file mode 100644 (file)
index a69bf0d..0000000
Binary files a/src/cx/fbn/nevernote/icons/fontColor.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/fontHilight.gif b/src/cx/fbn/nevernote/icons/fontHilight.gif
deleted file mode 100644 (file)
index a7d4aeb..0000000
Binary files a/src/cx/fbn/nevernote/icons/fontHilight.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/hline.gif b/src/cx/fbn/nevernote/icons/hline.gif
deleted file mode 100644 (file)
index f8cdb5b..0000000
Binary files a/src/cx/fbn/nevernote/icons/hline.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/indent.gif b/src/cx/fbn/nevernote/icons/indent.gif
deleted file mode 100644 (file)
index 772ab9c..0000000
Binary files a/src/cx/fbn/nevernote/icons/indent.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/italic.gif b/src/cx/fbn/nevernote/icons/italic.gif
deleted file mode 100644 (file)
index 2bc70b9..0000000
Binary files a/src/cx/fbn/nevernote/icons/italic.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/justifyCenter.gif b/src/cx/fbn/nevernote/icons/justifyCenter.gif
deleted file mode 100644 (file)
index d4baf4e..0000000
Binary files a/src/cx/fbn/nevernote/icons/justifyCenter.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/justifyLeft.gif b/src/cx/fbn/nevernote/icons/justifyLeft.gif
deleted file mode 100644 (file)
index 050fd89..0000000
Binary files a/src/cx/fbn/nevernote/icons/justifyLeft.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/justifyRight.gif b/src/cx/fbn/nevernote/icons/justifyRight.gif
deleted file mode 100644 (file)
index 52cdf56..0000000
Binary files a/src/cx/fbn/nevernote/icons/justifyRight.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/numberList.gif b/src/cx/fbn/nevernote/icons/numberList.gif
deleted file mode 100644 (file)
index 2d33f4f..0000000
Binary files a/src/cx/fbn/nevernote/icons/numberList.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/outdent.gif b/src/cx/fbn/nevernote/icons/outdent.gif
deleted file mode 100644 (file)
index 777a9c0..0000000
Binary files a/src/cx/fbn/nevernote/icons/outdent.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/paste.gif b/src/cx/fbn/nevernote/icons/paste.gif
deleted file mode 100644 (file)
index 7907f9b..0000000
Binary files a/src/cx/fbn/nevernote/icons/paste.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/redo.gif b/src/cx/fbn/nevernote/icons/redo.gif
deleted file mode 100644 (file)
index 31c74c3..0000000
Binary files a/src/cx/fbn/nevernote/icons/redo.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/spellCheck.gif b/src/cx/fbn/nevernote/icons/spellCheck.gif
deleted file mode 100644 (file)
index deb6735..0000000
Binary files a/src/cx/fbn/nevernote/icons/spellCheck.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/strikethrough.gif b/src/cx/fbn/nevernote/icons/strikethrough.gif
deleted file mode 100644 (file)
index 583915f..0000000
Binary files a/src/cx/fbn/nevernote/icons/strikethrough.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/todo.gif b/src/cx/fbn/nevernote/icons/todo.gif
deleted file mode 100644 (file)
index 50da4df..0000000
Binary files a/src/cx/fbn/nevernote/icons/todo.gif and /dev/null differ
diff --git a/src/cx/fbn/nevernote/icons/undo.gif b/src/cx/fbn/nevernote/icons/undo.gif
deleted file mode 100644 (file)
index a5d1ebf..0000000
Binary files a/src/cx/fbn/nevernote/icons/undo.gif and /dev/null differ