OSDN Git Service

neighbornote/NeighborNote.git
9 years agoUpdated release.txt & changelog.txt for the 0.88 release.
Randy Baumgarte [Wed, 28 Jul 2010 11:01:24 +0000 (07:01 -0400)]
Updated release.txt & changelog.txt for the 0.88 release.

9 years agoRemove Global.dbClientWait, dbClientContinue, dbWait, dbContinue and related fields
Nick Clarke [Wed, 28 Jul 2010 03:34:20 +0000 (15:34 +1200)]
Remove Global.dbClientWait, dbClientContinue, dbWait, dbContinue and related fields

Unused since DB restructuring

9 years agoFix use of Matcher.replaceAll method with backslash in the replacement string
Nick Clarke [Wed, 28 Jul 2010 03:55:24 +0000 (15:55 +1200)]
Fix use of Matcher.replaceAll method with backslash in the replacement string

Backslash must be double-escaped here because it has special meaning

9 years agoFixed a problem with the tag entry text field on a note. The problem was that a...
Randy Baumgarte [Wed, 28 Jul 2010 10:44:49 +0000 (06:44 -0400)]
Fixed a problem with the tag entry text field on a note.  The problem was that a tag wasn't being displayed in the tag tree when it was dynamically added via the text field.

9 years agoCorrected problem where a non-local database was not being recognized. This caused...
Randy Baumgarte [Mon, 26 Jul 2010 15:47:09 +0000 (11:47 -0400)]
Corrected problem where a non-local database was not being recognized.  This caused problems when synchronizing where a new, non-local notebook had a name that matched a remote notebook.

9 years agoCorrected problem where a null pointer exception would happen if the database did...
Randy Baumgarte [Mon, 26 Jul 2010 15:45:56 +0000 (11:45 -0400)]
Corrected problem where a null pointer exception would happen if the database did not exist.

9 years agoAdded geoChanged signal to NoteSignal class.
Randy Baumgarte [Mon, 26 Jul 2010 09:25:08 +0000 (05:25 -0400)]
Added geoChanged signal to NoteSignal class.

9 years agoThere are multiple changes with this commit.
Randy Baumgarte [Fri, 23 Jul 2010 16:49:41 +0000 (12:49 -0400)]
There are multiple changes with this commit.

- Added the ability to do basic GeoTag handling.  Tags can be added, removed, or launched in a separate browser to bring up Google Earth.

- Removed the DBRunner thread and changed all existing threads to have dedicated connections to the database.  This allows for the removal of a lot of the classes underneath cx.fbn.nevernote.sql.* since they are no longer needed.

9 years agoFix handling of H2 lock files
Nick Clarke [Wed, 21 Jul 2010 02:35:23 +0000 (14:35 +1200)]
Fix handling of H2 lock files

We don't necessarily need to abort if an H2 db lock file exists.
H2 manages these lock files on its own, they should never need manual deleting;
see here for details:
http://www.h2database.com/html/advanced.html#file_locking_protocols

If the lock file exists and another process has the DB open,
H2 will automatically detect this and will throw an exception when trying to
open the DB. I've restructured some startup code to detect this and
cleanly abort NeverNote startup before we do anything dangerous like deleting
files from the 'res' dir. The correct resolution is to close or kill the other
NeverNote process, no need to do anything to the lock file.

If the lock file exists but no other process has the DB open, as happens if
NeverNote crashes badly e.g. due to a segfault in QTJambi, then H2 will also
detect this and will allow startup to proceed anyway.

9 years agoRemove now-unused methods from FileManager
Nick Clarke [Tue, 20 Jul 2010 01:42:28 +0000 (13:42 +1200)]
Remove now-unused methods from FileManager

9 years agoRemove Global.currentDir
Nick Clarke [Tue, 20 Jul 2010 01:40:41 +0000 (13:40 +1200)]
Remove Global.currentDir

No longer used, access is now via Global.getFileManager()

9 years agoChange generation of files/paths in qss dir to use FileManager
Nick Clarke [Tue, 20 Jul 2010 01:22:59 +0000 (13:22 +1200)]
Change generation of files/paths in qss dir to use FileManager

9 years agoRemove Global.getDirectoryPath()
Nick Clarke [Tue, 20 Jul 2010 01:13:19 +0000 (13:13 +1200)]
Remove Global.getDirectoryPath()

Paths are now handled via Global.getFileManager()

9 years agoChange generation of files/paths in res dir to use FileManager
Nick Clarke [Tue, 20 Jul 2010 01:10:43 +0000 (13:10 +1200)]
Change generation of files/paths in res dir to use FileManager

9 years agoFix handling of return status of PDFPreview.setupPreview in BrowserWindow.handleLocal...
Nick Clarke [Mon, 19 Jul 2010 23:50:31 +0000 (11:50 +1200)]
Fix handling of return status of PDFPreview.setupPreview in BrowserWindow.handleLocalAttachment

9 years agoChange generation of files/paths in images dir to use FileManager
Nick Clarke [Mon, 19 Jul 2010 15:18:27 +0000 (03:18 +1200)]
Change generation of files/paths in images dir to use FileManager

9 years agoChange generation of files/paths in logs dir to use FileManager
Nick Clarke [Mon, 19 Jul 2010 15:22:40 +0000 (03:22 +1200)]
Change generation of files/paths in logs dir to use FileManager

9 years agoChange generation of files/paths in home dir to use FileManager
Nick Clarke [Mon, 19 Jul 2010 15:04:18 +0000 (03:04 +1200)]
Change generation of files/paths in home dir to use FileManager

9 years agoChange generation of files/paths in xml dir to use FileManager
Nick Clarke [Mon, 19 Jul 2010 15:02:04 +0000 (03:02 +1200)]
Change generation of files/paths in xml dir to use FileManager

9 years agoChange generation of files/paths in db dir to use FileManager
Nick Clarke [Mon, 19 Jul 2010 14:56:46 +0000 (02:56 +1200)]
Change generation of files/paths in db dir to use FileManager

9 years agoRemove deletion of 'res' directory files from startup scripts
Nick Clarke [Mon, 19 Jul 2010 15:26:00 +0000 (03:26 +1200)]
Remove deletion of 'res' directory files from startup scripts

Now done from java in FileManager

9 years agoAdd FileUtils with static utility methods for making 'file://' URLs, replacing backsl...
Nick Clarke [Tue, 20 Jul 2010 00:32:53 +0000 (12:32 +1200)]
Add FileUtils with static utility methods for making 'file://' URLs, replacing backslashes etc

9 years agoAdd new FileManager class, accessible as Global.getFileManager
Nick Clarke [Mon, 19 Jul 2010 13:12:25 +0000 (01:12 +1200)]
Add new FileManager class, accessible as Global.getFileManager

Checks and creates dirs at startup, purges 'res' directory.

Moved some of the startup settings from NeverNote and Global into new
StartupConfig class for better separation of things that can't be changed
after startup.

9 years agoFix path to log4j jar to match current filename
Nick Clarke [Mon, 19 Jul 2010 12:35:03 +0000 (00:35 +1200)]
Fix path to log4j jar to match current filename

9 years agoAdd distribution startup scripts, readmes, license etc. from 0.86 distribution
Nick Clarke [Mon, 19 Jul 2010 12:19:42 +0000 (00:19 +1200)]
Add distribution startup scripts, readmes, license etc. from 0.86 distribution

9 years agoGitignore db, logs, res, secure.txt
Nick Clarke [Mon, 19 Jul 2010 11:40:40 +0000 (23:40 +1200)]
Gitignore db, logs, res, secure.txt

Runtime files if running from repos directory

9 years agoAdd contents of 'images', 'res' and 'qss' directories from the 0.86 distribution
Nick Clarke [Mon, 19 Jul 2010 11:27:44 +0000 (23:27 +1200)]
Add contents of 'images', 'res' and 'qss' directories from the 0.86 distribution

9 years ago deleted: all *.class files since they are not needed
Randy Baumgarte [Sun, 18 Jul 2010 16:42:37 +0000 (12:42 -0400)]
deleted:    all *.class files since they are not needed
modified:   .classpath
deleted:    src/.classpath
deleted:    src/.project
        inserted:   external jar files into lib directory

9 years agoFix .gitignore file
Nick Clarke [Fri, 16 Jul 2010 00:16:13 +0000 (12:16 +1200)]
Fix .gitignore file

Broken due to missing newlines

9 years agoCopy libs from last full distribution release (0.86) into repos
Nick Clarke [Fri, 16 Jul 2010 00:19:29 +0000 (12:19 +1200)]
Copy libs from last full distribution release (0.86) into repos

Easier to manage this way

9 years agoRemove all .class files from repos
Nick Clarke [Fri, 16 Jul 2010 00:18:04 +0000 (12:18 +1200)]
Remove all .class files from repos

10 years agoPatch from Nick to change GIT & Eclipse so patching & collaboration is easier.
Randy Baumgarte [Thu, 15 Jul 2010 11:53:29 +0000 (07:53 -0400)]
Patch from Nick to change GIT & Eclipse so patching & collaboration is easier.

10 years agoNeverNote 0.88.
Randy Baumgarte [Tue, 13 Jul 2010 19:08:08 +0000 (15:08 -0400)]
NeverNote 0.88.