Commit Graph

924 Commits

Author SHA1 Message Date
Reinhard Pointner 203eedb24e * encapsulate similarity metrics used in RenamePanel properly
* removed some unused code
* some unit tests
2009-07-26 16:54:24 +00:00
Reinhard Pointner 7dc46efe68 * minor refactoring 2009-07-26 11:15:46 +00:00
Reinhard Pointner 57df9b1fbc * adapt tv.com scraper to site changes 2009-07-25 13:36:29 +00:00
Reinhard Pointner afbc49369a * fixed some scrollpane synchronization issues 2009-07-25 13:17:13 +00:00
Reinhard Pointner 134eba228b * removed intersect() from ExpressionFormat.global.js because it is not as nifty as i thought 2009-07-25 10:02:14 +00:00
Reinhard Pointner b109e54db4 * avoid calls to File.length() if possible 2009-07-24 21:16:29 +00:00
Reinhard Pointner 6d8c82df90 * much faster matching for lots of files/episodes 2009-07-24 20:38:47 +00:00
Reinhard Pointner a860a6ab5d * minor refactoring 2009-07-24 20:28:25 +00:00
Reinhard Pointner 014c668cdd * added upperInitial(), lowerTrail() and intersect() to ExpressionFormat.global.js
* some minor refactoring
2009-07-24 13:57:39 +00:00
Reinhard Pointner 9f047e67a5 * update TVRageClient (switch to services.tvrage.com and remove cache because its really fast anyway) 2009-07-23 14:37:54 +00:00
Reinhard Pointner a500aacf80 * improved matching of episodes with episode number > 99
* refactoring
2009-07-23 14:25:43 +00:00
Reinhard Pointner 64f1cd7040 * refactoring 2009-07-20 22:31:14 +00:00
Reinhard Pointner cb7200434d * remove transparency effect on continue button 2009-07-20 11:46:51 +00:00
Reinhard Pointner 46764f7d63 * better handling of move/rename operations (display validation dialog, create folders if necessary, working revert) 2009-07-20 11:03:24 +00:00
Reinhard Pointner 472ed8aac0 * fixed bug: disabled progress indicator although there is still some formatting going on in the background 2009-07-19 23:38:20 +00:00
Reinhard Pointner 78b77034b1 * remember recent formats in EpisodeFormatDialog
* display script exceptions if formatted name is empty
* better handling of empty search results in some page scrapes
* some test cases
* refactoring
2009-07-18 22:06:32 +00:00
Reinhard Pointner c4ce1aebe7 * improved various hashCode() methods
* removed unnecessary synchronized locks
* refactoring
2009-07-16 12:06:51 +00:00
Reinhard Pointner c81cd50fc9 * open series selection dialogs one after another 2009-07-15 09:22:40 +00:00
Reinhard Pointner 48cac46fef * added OpenSubtitles xmlrpc methods: TryUploadSubtitles, UploadSubtitles, DetectLanguage, CheckSubHash, CheckMovieHash 2009-07-13 13:02:04 +00:00
Reinhard Pointner b4f9a3ed24 * refactoring 2009-07-13 12:41:19 +00:00
Reinhard Pointner cdf2487f2c * use xml anime page to get episode information 2009-07-13 12:40:27 +00:00
Reinhard Pointner 02fc6180ab * update sublight-ws to 1.4.0 2009-07-12 10:02:12 +00:00
Reinhard Pointner b8fceccb14 * allow RegExp delimiter parameter in before() and after() 2009-07-10 19:42:55 +00:00
Reinhard Pointner b4578e9cdf * allow drop of file names via verification files (e.g. sfv) in "New Names" list
* added before() and after() substring operations to ExpressionFormat.global.js
* refactoring
2009-07-10 18:47:56 +00:00
Reinhard Pointner 9c456b275a * some subtitle parser optimizations 2009-07-10 15:12:16 +00:00
Reinhard Pointner 857d73bdc0 * refactoring 2009-07-09 20:04:47 +00:00
Reinhard Pointner d1f12dd628 * more general "Part n" pattern 2009-07-09 20:02:44 +00:00
Reinhard Pointner 7768d2e905 * minor refactoring 2009-07-05 19:39:51 +00:00
Reinhard Pointner 2a291d57c0 * faster and more accurate (in most cases) name matchings 2009-07-05 19:17:03 +00:00
Reinhard Pointner 955c83bfd9 * minor improvements
* refactoring
2009-07-05 12:38:52 +00:00
Reinhard Pointner d0faaad55a * provide link in OpenSubtitlesClient
* refactoring
2009-07-03 17:49:28 +00:00
Reinhard Pointner 2fe8bd1306 * improved OpenSubtitles support
* refactoring
2009-07-03 12:58:05 +00:00
Reinhard Pointner 978cbe881d * better handling of illegal formats 2009-07-03 10:20:51 +00:00
Reinhard Pointner f897837811 * ignore non-subtitles files when extracting archives
* download subtitle package on keystroke ENTER
* renamed OpenSubtitlesClient to OpenSubtitlesXmlRpc
* renamed OpenSubtitlesSubtitleClient to OpenSubtitlesClient
* refactoring
2009-07-03 10:06:33 +00:00
Reinhard Pointner 19d5b576db * open subtitle files via keystroke ENTER 2009-07-01 20:54:07 +00:00
Reinhard Pointner efc7f81824 * some tuning for gtk laf 2009-07-01 16:14:21 +00:00
Reinhard Pointner d1e135487a * remember search engine again 2009-07-01 08:29:04 +00:00
Reinhard Pointner 4a482832f9 * allow user to copy subtitle files via clipboard
* added "Save as..." action for subtitles
* improved subtitle download tab layout behaviour
* added junrar-custom and commons-logging to fatjar build
2009-06-30 20:49:09 +00:00
Reinhard Pointner adae7ddcef * added subtitle viewer
* added subtitle file context menu
2009-06-30 15:23:49 +00:00
Reinhard Pointner e8cf2e7029 * refactoring 2009-06-30 12:57:09 +00:00
Reinhard Pointner 6766e1bb95 * maybe finally fixed DnD on Linux ... 2009-06-30 12:29:02 +00:00
Reinhard Pointner ed40d4099e * make Multi-File DnD work on Linux 2009-06-30 12:12:34 +00:00
Reinhard Pointner 6a750cb95d * refactoring 2009-06-29 17:56:41 +00:00
Reinhard Pointner 5f073f9124 * access mapped values on demand only 2009-06-29 16:21:56 +00:00
Reinhard Pointner 6d0eb07ec6 * added String.replacePart() 2009-06-28 13:44:38 +00:00
Reinhard Pointner 3ded6a5628 + added subtitle package and parsers for some formats
* added SubRip (.srt) support
* added MicroDVD (.sub) support
* added SubViewer (.sub) support
* added SubStationAlpha (.ssa, .ass) support
2009-06-27 16:02:31 +00:00
Reinhard Pointner 5a2d1459f2 * always use main title in anidb scraper again, because the official English title doesn't meet most peoples expectations in many cases 2009-06-27 12:03:48 +00:00
Reinhard Pointner 98ddfafe43 * subtitle file view in download component
* added ByteBufferTransferable and use it as superclass of TextFileTransferable
* added ListView
* lots of refactoring
2009-06-19 22:35:39 +00:00
Reinhard Pointner 5e837fb9ce * fix dnd for files on linux 2009-06-19 22:24:27 +00:00
Reinhard Pointner 6544e71507 * cache calculated checksum as Long, not as (hex) String 2009-06-13 21:27:01 +00:00
Reinhard Pointner 18456f6864 + subtitle list displays found subtitles and download phase
+ download and extract selected subtitle packages (not displayed yet though)
* SubtitleDescriptor provides download function (Callable)
* updated sublight webservice
* lazy-initialize SubtitlesAPI2Soap (Sublight) because loading all the jax-ws classes will can take more than 1s (while blocking EDT)
* better sublight subtitle display names
* added archive files to media.types
* added icons for subtitle list
* refactoring
2009-06-13 09:53:48 +00:00
Reinhard Pointner b087fbc490 * reverse episode list ... again ... (tv.com just can't decide) 2009-06-11 15:21:50 +00:00
Reinhard Pointner f9d08bd57d * properly finish dialog when dialog is canceled via X 2009-06-02 18:51:09 +00:00
Reinhard Pointner 0c698902df * catch and ignore JUnRar OutOfMemoryErrors 2009-06-02 17:14:54 +00:00
Reinhard Pointner 1640041266 * improvements for GTK laf 2009-06-02 17:03:52 +00:00
Reinhard Pointner c49b68c836 * added support for downloading subtitles from Sublight
* added ZipArchive and RarArchive
2009-06-02 15:14:12 +00:00
Reinhard Pointner 094b37bcb8 * remove Language.properties (rename language.properties to Language.properties) 2009-06-02 11:36:33 +00:00
Reinhard Pointner a392e6714c * remove language.properties (rename language.properties to Language.properties) 2009-06-02 11:35:51 +00:00
Reinhard Pointner 7bb739f800 + Sublight support (build, client, hash, test, lib) 2009-06-02 11:32:30 +00:00
Reinhard Pointner 6593bfdbda * trim result after formatting in EpisodeExpressionFormatter
* refactoring / cleanup
2009-06-02 10:27:28 +00:00
Reinhard Pointner 28990f939d * add java.lang.* and java.util.* to ExpressionFormat context 2009-06-01 14:07:20 +00:00
Reinhard Pointner 2c8ac625d1 * restore favorite languages in correct order 2009-05-31 18:02:50 +00:00
Reinhard Pointner 5b9931ba45 * store available languages in .properties file instead of a .xml file because JAXB class-loading takes ~300ms 2009-05-31 16:38:13 +00:00
Reinhard Pointner ffc6a8b931 * didn't add some files in last commit ... 2009-05-31 16:30:48 +00:00
Reinhard Pointner a547c7e7e9 * use String (language name) instead of Locale in all SubtitleProviders
* get languages (name, code) from xml file
* implemented LanguageComboBox (model, renderer, persistence)
* rename language icons
* removed various prototype classes that will never be used
2009-05-31 15:19:56 +00:00
Reinhard Pointner cd4bde2db9 * use inferredFile for crc32 binding 2009-05-26 17:05:05 +00:00
Reinhard Pointner 508c9a7d93 * fixed leading "recap" in episodes titles of recap episodes 2009-05-25 20:30:32 +00:00
Reinhard Pointner ec4254e687 * use "matching title" in anidb search results
* use official english anime title
* much faster episode information extraction (less xpath)
2009-05-25 20:13:30 +00:00
Reinhard Pointner 7601be3b46 * refactoring 2009-05-24 18:38:12 +00:00
Reinhard Pointner 3162b3e7bc * adapt AnidbClient search query string to hide synonyms
* fixed bug that allowed the user to select a season-specific episodelist (e.g. Season 1) from anidb which is not supported
* continue matching process even if we can't fetch episode-lists for one or more auto-detected names
2009-05-24 13:25:49 +00:00
Reinhard Pointner fe37b816d1 * revert to use plain xml files (not gzipped) for history files 2009-05-23 18:27:35 +00:00
Reinhard Pointner 2963baa889 * improved scrollpane synchronisation 2009-05-22 22:28:32 +00:00
Reinhard Pointner 73273b8b5b * refactoring 2009-05-21 10:00:48 +00:00
Reinhard Pointner 67d53605af * read type/extension mapping from xml file 2009-05-21 09:56:25 +00:00
Reinhard Pointner f0414361ee * read/write gzipped xml 2009-05-20 16:47:18 +00:00
Reinhard Pointner 7c2ee57f03 * revert test hack i committed by mistake 2009-05-17 21:57:13 +00:00
Reinhard Pointner fd0c2412ef + validate names before renaming 2009-05-17 20:58:20 +00:00
Reinhard Pointner 0dc12ec505 * cleanup: group static imports 2009-05-17 17:22:44 +00:00
Reinhard Pointner bd37f96b18 + added history (revert, import, export) to rename panel 2009-05-17 17:14:03 +00:00
Reinhard Pointner 115c617a0c * refactoring 2009-05-17 15:09:09 +00:00
Reinhard Pointner 905cb49d31 * extracted format specific stuff from VerificationFileScanner and VerificationFilePrinter into VerificationFormat 2009-05-16 20:16:13 +00:00
Reinhard Pointner a8b3e13339 * cleanup 2009-05-16 16:27:11 +00:00
Reinhard Pointner 9aad7deae2 + added replaceTrailingBraces() to ExpressionFormat context
+ added Undo/Redo support in EpisodeListDialog
* refactoring
2009-05-16 11:58:28 +00:00
Reinhard Pointner 216dd4d383 * added removeTrailingBraces() to ExpressionFormat scriptcontext (e.g. "Doctor Who (2005)" -> "Doctor Who")
* removed double/integer conversion hack
2009-05-14 12:30:06 +00:00
Reinhard Pointner 92fedf2ad1 * ResourceManager will now cache Icons 2009-05-13 18:20:26 +00:00
Reinhard Pointner cda76bb77a * use ExpressionFormat in ListPanel 2009-05-13 18:18:58 +00:00
Reinhard Pointner a6c82fc8e5 * refactoring 2009-05-12 08:57:37 +00:00
Reinhard Pointner 63f5f4ba26 * added persistent rename history
* renamed some setting keys
2009-05-12 00:17:53 +00:00
Reinhard Pointner 049ae3e8ef * remove redundancy in Torrent.Entry 2009-05-10 17:03:51 +00:00
Reinhard Pointner 6d890b27d2 * apply "preserve extension" policy to filename formatter too 2009-05-10 11:17:13 +00:00
Reinhard Pointner 8729d227a1 + EpisodeFormat: don't use inferred file for crc32 binding
* fixed "All Episodes" link in TVDotComClient
2009-05-06 17:06:10 +00:00
Reinhard Pointner a41f80bd9d * added exists() to cached values in FastFile 2009-05-03 17:38:22 +00:00
Reinhard Pointner f4fa49e49b + ExpressionFormat: support for "inferred" files (e.g. if we are formatting a subtitle, use media info of the actual movie file if possible)
+ ExpressionFormat: bindings are now case insensitive
2009-05-03 16:28:39 +00:00
Reinhard Pointner 1ed4d2b495 + EpressionFormat: format Double objects with integer values as integers
+ Matching: allow partial match with season number OR episode number
+ AutoFetchEpisodeListMatcher: abort if one or more shows cannot be found

* support specials in TVRage, TVDotCom and TheTVDB Client
* account for IMDB search-to-info-page redirect
2009-05-03 15:21:04 +00:00
Reinhard Pointner 416384901b * set "preserve extension" via action popup
* make VerificationFileScanner more fault-tolerant
2009-05-03 01:32:57 +00:00
Reinhard Pointner ca032f3b56 + Script expressions in ExpressionFormat will now be evaluated in a secure sandbox
+ "preserve Extension" can be enabled/disabled in RenameModel

* fixed rename list SelectionModel performance issue 
* create package for ui-independant Hash* stuff
2009-05-02 23:34:04 +00:00
Reinhard Pointner 9e60d2c5dd * always use system laf (also on linux)
* droping of files in names list works correctly now on linux
2009-04-26 21:10:38 +00:00
Reinhard Pointner 4c926c076e * EpisodeFormatDialog: initialize selectedOption with Option.CANCEL
* RenameListCellRenderer: don't display type label in name list
* EpisodeFormatBindingBean: get cache only when needed
2009-04-26 18:57:27 +00:00
Reinhard Pointner d5a5b93b3b * introduction of a single unified Rename- and MatchModel
* arbitrary formating using Object (e.g. episode information) and File (e.g. codec information) data
* background formatting (e.g. crc32) and visual indicators in cellrenderer
2009-04-26 13:34:22 +00:00
Reinhard Pointner 54bf7c2ca3 * refactoring of ExpressionFormat and related classes 2009-04-25 07:59:08 +00:00
Reinhard Pointner 09a1e0b731 * updated tv.com page scraper (will now target episode guide page, instead of episode list page)
* add season-links to IMDbClient
* don't resolve & TVRageClient episode title
2009-04-25 07:57:14 +00:00
Reinhard Pointner 82bd7fa3b1 * use non-jdk rhino in ExpressionFormat
* add rhino to lib and include it in builds
2009-04-11 23:27:10 +00:00
Reinhard Pointner cc6b4959e7 * specify bootclasspath explicitly so we can compile code that depends on sun.* classes (AssociativeScriptObject) 2009-04-11 22:26:02 +00:00
Reinhard Pointner 2a3f3c7ae8 * added format binding for file extension 2009-04-07 18:33:05 +00:00
Reinhard Pointner 2793e1d454 * exclude hash algorithm information when writing .md5 files 2009-04-06 20:58:27 +00:00
Reinhard Pointner e6b785df63 * intuitive access for all map bindings in episode expression format (e.g. video.width or video['width'])
* added AssociativeScriptObject
* enable table sorting in MediaInfoComponent
2009-04-06 20:34:33 +00:00
Reinhard Pointner 912bf0464f * fixed visual issues with SeasonSpinnerEditor 2009-04-05 21:20:54 +00:00
Reinhard Pointner 4afc701ff7 * use system laf on Windows and Mac, use Nimbus on all the others (Linux, *BSD, ...)
* visual imrovements under Nimbus LAF
2009-04-05 21:03:40 +00:00
Reinhard Pointner d7a5b58c32 * improved LinkageError handling 2009-04-05 17:43:32 +00:00
Reinhard Pointner 49d0ca648d * added progress indicator to format dialog 2009-04-05 15:07:51 +00:00
Reinhard Pointner 23dc93bf20 * display error message if MediaInfo native library is missing
* include jna in fatjar
2009-04-05 10:08:00 +00:00
Reinhard Pointner 4388f47317 * tuned name similarity ranking 2009-04-05 09:31:02 +00:00
Reinhard Pointner 53dd17d93a * improved generic episode name matching
* added convenience function "space" in expression formatter
2009-04-04 21:30:06 +00:00
Reinhard Pointner 335cd401e1 * adjusted to changes in TV.com's html (episode list page) 2009-04-04 20:19:03 +00:00
Reinhard Pointner 7e6f485882 * improved episode format and format creation dialog
* differentiate between format errors and format warnings
2009-04-04 19:36:12 +00:00
Reinhard Pointner c83d4132ec * added wrapper for MediaInfo native library 2009-03-27 15:22:08 +00:00
Reinhard Pointner 480c848bda * less code duplication, renamed interfaces *Client to *Provider 2009-03-18 20:09:45 +00:00
Reinhard Pointner df143e0305 * added episode list support for IMDb 2009-03-17 21:59:19 +00:00
Reinhard Pointner 90c8af354d * WebRequest: try to use compression
* SubsceneClient: persist languageFilterMap
2009-03-15 17:44:39 +00:00
Reinhard Pointner daa665c00e * fixed annoying layout bug
* remember search engine in episodelist and subtitle panel
2009-03-14 16:02:27 +00:00
Reinhard Pointner 384e75576a * updated TVDotComClient client because of site changes in the search result page
* resolve & in TVRage xml feed titles
2009-03-14 10:23:41 +00:00
Reinhard Pointner 64d8c3c2b4 * refactoring
* don't use global logger
2009-03-14 10:20:59 +00:00
Reinhard Pointner 902930ff52 * fix dnd rendering issue 2009-03-14 01:01:01 +00:00
Reinhard Pointner 9ed970de05 * refactoring ...
* changed cmd line args (single panel frame)
* simplified multi panel frame
* changed window icon
* create panels via PanelBuilder
2009-03-14 00:30:24 +00:00
Reinhard Pointner bfe459b50c * updated miglayout, nekohtml, args4j and junit
* fixed layout issues that came with the new miglayout
2009-03-13 14:22:36 +00:00
Reinhard Pointner 10a7fd5b4c * added "Edit Format" action to "Fetch Episode List" action popup in rename panel
* add support for episode array transferable to episode list panel and rename panel
* renamed ScriptFormat to ExpressionFormat
* misc. changes
2009-03-12 20:08:42 +00:00
Reinhard Pointner 2de1b8a1b0 * added ScriptFormat and format configuration dialog
* added names view (did miss it last commit)
2009-03-08 19:55:05 +00:00
Reinhard Pointner deb15a6e15 * install Format/Validate view between namesList and model.names()
* refactored Preferences wrapper and unit tests
2009-03-08 18:41:11 +00:00
Reinhard Pointner 68968d84e6 * better matching behaviour
* remove trailing newline for string transferables in DefaultClipboardHandler
2009-03-01 13:52:43 +00:00
Reinhard Pointner 02c3d4ef2b * forgot to add icon resource 2009-02-28 18:10:28 +00:00
Reinhard Pointner 3689f65612 * fix episode number padding 2009-02-26 10:01:18 +00:00
Reinhard Pointner c8303655bf * use SeriesNameMatcher in ListPanel 2009-02-26 09:43:16 +00:00
Reinhard Pointner ab14e07924 * improved auto-completion 2009-02-22 19:52:07 +00:00
Reinhard Pointner 4346a6e05b * improve search history by using common word sequence of query and search result name
* ignore aka titles in OpenSubtitles search
2009-02-22 14:32:52 +00:00
Reinhard Pointner b7f0529d88 * find probable show using name similarity in auto-matching 2009-02-22 12:38:25 +00:00
Reinhard Pointner a9f5570dbe * improved automatic search result selection and allow manual selection in RenamePanel auto-matching 2009-02-22 11:55:21 +00:00
Reinhard Pointner 214399f13c * add persistent search history to episodelist to enable completion
* make tabbed panes look better in Nimbus LAF
2009-02-22 10:45:41 +00:00
Reinhard Pointner d2f5c8e572 * simplify SubsceneSubtitleClient
* use less xpath to speed things up a little bit
2009-02-21 12:48:52 +00:00
Reinhard Pointner e643466653 * little bit of refactoring
* fixed unit-test
2009-02-17 18:11:33 +00:00
Reinhard Pointner e06c5971b8 * improved cellrenderers a need full row update an state change 2009-02-16 19:08:55 +00:00
Reinhard Pointner c5f499b47f * highlight embedded checksum in bold red on warning and error 2009-02-16 17:03:38 +00:00
Reinhard Pointner 051cf3362b * some refactoring 2009-02-15 21:11:03 +00:00
Reinhard Pointner 4c94679a64 * account for sorting/filtering when removing rows 2009-02-15 18:22:08 +00:00
Reinhard Pointner 53c769321e * more visual feed back for checksum errors and warnings 2009-02-15 17:58:32 +00:00
Reinhard Pointner 87e8d830ce * full support for multiple checksum types (SFV, MD5, SHA-1)
notes:
* updated to MigLayout 3.6.3
* better exception handling in *TransferablePolicy
* added checksum toggle button and artwork
* poperly cancel computation tasks on reset
* better "Total Progress" visibility behaviour
* improved checksum table model classes, better update/repaint behaviour
2009-02-15 12:20:43 +00:00
Reinhard Pointner 9d7af8bd96 * dnd move: cancel background threads when calling BackgroundFileTransferablePolicy.clear()
* added FastFile, which minimizes fs calls by remembering the results
* use File directly (and not the holder FileEntry) in RenamePanel
2009-02-12 22:04:17 +00:00
Reinhard Pointner 5733cfbcdc * move SFV transferable policy, export handler and computation service from table class to higher-level panel class 2009-02-11 18:42:29 +00:00
Reinhard Pointner c3939dcb98 * slightly improved exception handling 2009-02-10 21:51:02 +00:00
Reinhard Pointner dac55956f6 improvement:
* BackgroundFileTransferablePolicy uses ThreadLocal<Worker> now
* support exception handling in BackgroundFileTransferablePolicy
changes:
* ChecksumComputationTask will only calculate one HashType
* added ChecksumRow.dispose()
fix:
* honor convertValueToString() in SelectDialog
2009-02-10 19:37:32 +00:00
Reinhard Pointner 5674173417 * major refactoring of Checksum* Classes (TableModel, ComputationTask, ComputationService)
* SfvTransferablePolicy create one dedicated ComputationTask executor for each drop
* ComputationTask always computes CRC32, MD5 and SHA-1 

* changed TextFileExportHandler to use Formatter instead of PrintWriter
* renamed *Util to *Utilities
* update to GlazedLists 1.8
2009-02-09 20:56:20 +00:00
Reinhard Pointner 684a7512bc * support for SubtitleSource (www.subtitlesource.org)
refactoring:
* renamed XPathUtil
* use ConcurrentMap in LanguageResolver
2009-02-06 17:57:18 +00:00
Reinhard Pointner 90f58b06ff * renamed AutoEpisodeListMatcher to AutoFetchEpisodeListMatcher
* fixed memory leak by not using FunctionList (would need to be disposed)
2009-02-06 13:11:54 +00:00
Reinhard Pointner 7b61757fd7 * improved auto episode list matching 2009-02-03 20:36:57 +00:00
Reinhard Pointner f7fdc5b5db * improved SeriesNameMatcher
* slightly modified season episode regex
* added ehcache to fatjar build
2009-02-02 20:50:04 +00:00
Reinhard Pointner 9fd13dceae * changed static class Factor to proper enum Direction
* some cleanup
2009-01-25 01:27:40 +00:00
Reinhard Pointner ac9473ff07 * automatic episode list download and matching in RenamePanel
* added SeriesNameMatcher
* added SeasonEpisodeMatcher
* access Preferences via new Settings class
* adapt TVDotComClient to site changes (episodes  no longer ordered in reverse)
* added ActionPopup (inspired by the eclipse quickfix popup)

refactoring:
* renamed *Util classes to *Utilities
* renamed HyperlinkLabel to LinkButton as it extends JButton now
* refactored FileBotUtilities and FileUtilities
2009-01-25 00:08:57 +00:00
Reinhard Pointner c5c12513fa * encapsulate the two rename Eventlists into RenameModel
* improved NameSimilarityMetric
* mostly refactoring
2009-01-17 11:03:09 +00:00
Reinhard Pointner c217d06eeb * ground up rewrite of the maching algorithm (I lovingly call it n:m multi-pass matching)
* added SeasonEpisodeSimilarityMetric which detects similarity based on known patterns
* moved everything similarity/maching related to net.sourceforge.filebot.similarity

Refactoring:
* refactoring of all the matching-related stuff in rename panel
* remove name2file and file2name maching selection because new maching algorithm works 2-ways from the start and doesn't need that hack
* added console handler to ui logger that will log ui warnings and ui errors to console too
* some refactoring on all SimilarityMetrics
* use Interrupts in analyze tools to abort operation
* refactoring of the rename process, if something goes wrong, we will now revert all already renamed files to their original filenames
* static LINE_SEPARATOR pattern in FileTransferablePolicy
* new maching icon, removed old ones
2009-01-11 21:23:03 +00:00
Reinhard Pointner 54b27e69b7 Changes:
* added TheTVDB support
* added ehcache to libs (now used in TheTVDBClient and TVRageClient)
* Season spinner will remember unlocked value

Refactoring:
* renamed HtmlUtil to WebRequest
* added getDocument() convenience methods to WebRequest
* added lots of static imports (XPathUtil, WebRequest, FileBotUtil, ...)
* TheTVDBClient and TVRageClient will throw SeasonOutOfBoundsException if for illegal season numbers
* XPathUtil will wrap NodeList with NodeListDecorator instead of creating a new ArrayList
* added DOM convenience methods to XPathUtil for performance reasons
* formatting of episode number in EpisodeListClient, EpisodeListRequestProcesser will take care of this
* added initial size to some StringBuilders
2009-01-04 18:28:28 +00:00
Reinhard Pointner 0bed877344 * heavy refactoring of AbstractSearchPanel, EpisodeListPanel and SubtitlePanel and related stuff
* added parameter to method in SubtitleClient interface
* fixed "stutter" issue in ProgressIndicator
* removed loading overlay progress indicator from tabs
* removed animated gifs
2009-01-01 22:27:53 +00:00
Reinhard Pointner 4c85cdce4a * moved Main and AllTests into from default to net.sourceforge.filebot package
* removed version identifier from lib jars
2008-12-31 20:11:27 +00:00
Reinhard Pointner 396176c2f6 * visual improvements to FileBotTabComponent
* some refactoring of FileBotUtil and Timer
2008-12-31 11:54:44 +00:00
Reinhard Pointner d7c08bc4ca * add simple Timer
* refactoring
2008-12-30 16:43:37 +00:00
Reinhard Pointner 1dfa8abcfd * fixed potential EDT deadlock in Tool
* display messages via ui logger
* maybe fix layout bug (component gets very small) for LoadingOverlayPane
2008-12-28 20:04:13 +00:00
Reinhard Pointner 931efbdd06 * misc refactoring / small improvements / stuff i haven't committed for ages 2008-12-27 11:58:39 +00:00
Reinhard Pointner 2fc8bb7195 * heavy refactoring of the analyze panel
* added TreeIterator and FilterIterator
* refactored file transferable policies
* refactored loading overlay
2008-12-27 11:35:53 +00:00
Reinhard Pointner 1cf51ae179 * remove analyze.tools package (refactor and move to analyze) 2008-12-27 11:30:35 +00:00
Reinhard Pointner 036cf30d3e * ability to calculate osdb hash from any InputStream, not just files 2008-12-21 13:01:48 +00:00
Reinhard Pointner 857a550939 * account for latest tv.com stupidity: "reverse episode lists"
* account for another tv.com disimprovement: "no season drop-down"
2008-12-09 18:49:02 +00:00
Reinhard Pointner 74b6a8c1a9 * improved DownloadTask and ByteBufferOutputStream
* added unit test for ByteBufferOutputStream
2008-11-22 15:30:33 +00:00
Reinhard Pointner 892ada4df4 * forgot to commit SubsceneSubtitleDescriptor in last commit
* comments in other files
2008-11-19 16:28:59 +00:00
Reinhard Pointner 4bb8ff29d8 * improved DownloadTask
* added ByteBufferOutputStream
2008-11-19 16:22:31 +00:00
Reinhard Pointner e0d52fb515 * more general checksum highlighter 2008-11-07 13:19:45 +00:00
Reinhard Pointner 66cf786b19 * unified embedded checksum handling 2008-11-01 13:54:31 +00:00
Reinhard Pointner 4267899842 * root temporary folder is always lower-case
* filename embedded checksum may be enclosed with () or []
2008-10-29 22:54:16 +00:00
Reinhard Pointner 8cb277252b * renamed method name 2008-10-22 22:35:17 +00:00
Reinhard Pointner e6df0141c7 * Each application instance will get its own temp folder now
* moved MessageBus registration of each Panels MessageHandler to FileBotWindow
2008-10-22 22:07:02 +00:00
Reinhard Pointner d0725404ef * use MigLayout in FileTreePanel
* use MigLayout in ValidateNamesDialog
* use MigLayout in SelectDialog
2008-10-21 17:49:08 +00:00
Reinhard Pointner a77ff635da * use MigLayout in RenamePanel
* some layout improvements in other panels
2008-10-20 18:42:52 +00:00
Reinhard Pointner bc0e354a7a * use MigLayout in SFV Panel
* use MigLayout in List Panel
2008-10-19 18:51:45 +00:00
Reinhard Pointner 792c729d54 * renamed TextFileTransferable to LazyTextFileTransferable
* use MigLayout in AnalyzePanel and ProgressDialog
2008-10-19 12:44:55 +00:00
Reinhard Pointner 4bbb189df6 * little refactoring of the cellrenderer that highlights crc32 patterns, made it more reusable 2008-10-14 17:33:38 +00:00
Reinhard Pointner 192da2cb17 * improved HistoryPanel layout
* TVRageClient.EpisodeListFeed will not fail, if XML does not contain an episode list
2008-10-12 20:14:41 +00:00
Reinhard Pointner 197bfd1b42 * renamed package "search" to "episodelist"
* renamed class "EpisodeListPanel" to "EpisodeListTab"
* renamed class "SearchPanel" to "EpisodeListPanel"
* renamed panel.search.png to panel.episodelist.png
2008-10-12 15:46:45 +00:00
Reinhard Pointner a0a43b0e03 * removed Settings singleton, always use Preferences directly
* simplified HistoryPanel by using MigLayout
* added MigLayout jar to libs
* improved decimal format for file count and size in AnalyzePanel
* put application name and version getters into FileBotUtil
2008-10-11 20:42:03 +00:00
Reinhard Pointner 661e079f2b * made all singleton classes final 2008-10-10 19:20:37 +00:00
Reinhard Pointner e61472c2f4 * moved ResourceManager to net.sourceforge.filebot package
* added "dist" to ignored folders
2008-10-10 18:59:01 +00:00
Reinhard Pointner 58d0244668 * some refactoring in ChecksumTableSaveAction 2008-10-07 18:35:26 +00:00
Reinhard Pointner 1ad60f8e97 * improved CRC32 highlighting 2008-10-06 20:15:43 +00:00
Reinhard Pointner aefc84085b * split ExportHandler interface into TransferableExportHandler and FileExportHandler
* added string flavour to all text transfer operations
* text file for dnd transfer will only be created on demand

* removed ImportHandler interface

* moved sfv renderer classes to sfv package
* removed sfv renderer package

* rename-lists now titled "Proposed" and "Current"

* DefaultClipboardHandler will export null values as empty string, not "null"
* refactored OpenSubtitlesHasher

* adapted to the new tvrage episode list xml feed syntax
2008-10-06 19:13:58 +00:00
Reinhard Pointner 074e103ddf * updated TVRage icon
* renamed flag icon
2008-10-06 18:21:04 +00:00
Reinhard Pointner 0972017fd6 * adapted TV.com scraper to the new layout (which sucks by the way) 2008-09-20 19:25:26 +00:00
Reinhard Pointner c7757e1474 * fixed annoying "selection instead of drag" behaviour of sfv table 2008-09-14 13:19:21 +00:00
Reinhard Pointner 4ebbcaeebc * don't wrap html labels in sfv table
* don't paint focus border of cells in sfv table
2008-09-07 18:49:20 +00:00
Reinhard Pointner da0e730243 * always use UTF-8 when reading and writing sfv files, lists, ...
* checksums in filenames are now highlighted in SFV panel
2008-09-06 18:41:08 +00:00
Reinhard Pointner 0c674849d8 * refactored and simplified transfer api
* use more GlazedLists stuff (EventList, AutoCompleteSupport) and remove obsolete classes (SimpleListModel, TextCompletion)
* don't use SearchResultCache in EpisodeListClient (was only done for better ui interactions)
* removed caching from ResourceManager
* some improvements based on FindBugs warnings
* use args4j for improved argument parsing
* updated ant build script
* more general MessageBus/Handler (use Object as message type instead of string)
* ChecksumComputationService is not a singleton anymore
* TemporaryFolder is always recreated if it is deleted by the user, or another instance shutting down
* Notifications flicker less when one window is removed and the others are layouted
* lots of other refactoring
2008-07-30 22:37:01 +00:00
Reinhard Pointner a401a51c75 * changed IconProvider to LabelProvider (provides text and icon)
* Changed EpisodeListClient and SubtitleClient from abstract classes to interfaces
* OpenSubtitlesSubtitleClient: remove shutdownhook if not needed anymore
* some refactoring
2008-07-13 17:59:05 +00:00
Reinhard Pointner a341922a30 * don't select invalid nodes (tag links)
* test case for that
2008-07-12 20:47:37 +00:00
Reinhard Pointner 68dc5b61d0 * some cleanup 2008-07-11 18:55:36 +00:00
Reinhard Pointner 25e5bde57b some comments 2008-07-08 18:26:18 +00:00
Reinhard Pointner c525aa9ea0 * better search->redirect->results handling (subscene, anidb)
* refactoring ...
2008-07-07 23:38:17 +00:00
Reinhard Pointner 9eb74e8038 * heavily improved Subscene support (up to 35x faster) 2008-07-06 18:31:04 +00:00
Reinhard Pointner a94cedd601 * since changing the search url, we only get shows, no additional checks necessary 2008-07-06 11:29:55 +00:00
Reinhard Pointner 91a353624c * added TV.com Client again after removing it by mistake 2008-07-06 03:33:43 +00:00
Reinhard Pointner 4c95e5b9ca * even more cleanup 2008-07-06 03:32:24 +00:00
Reinhard Pointner c56f9413fc * some more cleanup 2008-07-06 03:28:56 +00:00
Reinhard Pointner 7317717a3e * clean up 2008-07-06 03:22:47 +00:00
Reinhard Pointner cd09a67c5e * heavily improved TV.com Client (better results, 2x - 4x faster)
* improved EpisodeListClient API
* unittests
2008-07-06 03:17:23 +00:00
Reinhard Pointner ea6a839aa8 * switched back to using List as return value for EpisodeList- and SubtitleClients (lazy XPath evaluation not needed anymore, because we are fast enough anyway) 2008-07-05 11:37:03 +00:00
Reinhard Pointner d1775cf1b4 * added number-pattern similarity metric
* improved name-matching, normalizing of names
* unit-test for new similarity metrics
* improved PreferencesList
* added EventList->List synchronizer
* included GlazedLists in build
2008-06-29 17:38:57 +00:00
Reinhard Pointner 2b4218ffce * TVRageClient uses the xml feeds now
* some testcases
2008-06-21 23:31:19 +00:00
Reinhard Pointner adb4d68055 * Lazy XPath evaluation for EpisodeList/Subtitle Clients
* AbstractSearchPanel (used in SubtitlePanel only so far)
* started using GlazedLists
* replaced searchtextfield with customized combobox (will be used for completion in the future)
* renamed FileFormat to FileUtil and move to tuned
* removed ESC shortcut
2008-06-21 19:24:18 +00:00
Reinhard Pointner 21b5dc3fab * added FunctionIterator
* added Preferences Wrapper (Map, List)
2008-06-09 18:36:05 +00:00
Reinhard Pointner 89e5310ec6 * don't query unused attributes for performance reasons 2008-06-02 22:17:58 +00:00
Reinhard Pointner ff90a3f0df * removed IMDB scraper 2008-06-02 19:20:35 +00:00
Reinhard Pointner 30a54c2cf4 Lots of refactoring:
* Removed TransferablePolicySupport and related refactoring
* OpenSubtitlesClient: ignore logout status code
* Animated-GIF are animated again
* Unrar process will not hang anymore
* Improved Subscene scraper
* Better scaling for ProgressIndicator
* Added \r and \n to invalid characters
* Some work on SubtitlePanel and related stuff
* Setting putMap/List methods clear existing data first
2008-06-02 19:12:28 +00:00
Reinhard Pointner 12d453eff4 * lots of stuff for subtitle support 2008-05-03 20:43:15 +00:00
Reinhard Pointner b59e5dc714 * more accurate matching progress
* added SwingWorkerProgressMonitor and ProgressDialog
2008-04-27 21:11:30 +00:00
Reinhard Pointner b5bee237d6 * refactored matching
* added ProgressDialog for long-running matching
* added delayed invokeLater to TunedUtil
* removed generics from ListEntry (only subclasses where used anyway)
* minor cleanup in notification package
2008-04-27 17:36:27 +00:00
Reinhard Pointner eabe011e9a * fixed scrolling bug for history panels
* ByteBufferInputStream behaves like any other InputStream now
* updated nekohtml
2008-04-26 16:26:16 +00:00
Reinhard Pointner b0b3c0f48d * various improvements to TVdotcom, Anidb and TVRage clients 2008-04-24 19:39:44 +00:00
Reinhard Pointner 6bcff92763 * updated Anidb xpaths 2008-04-23 21:47:47 +00:00
Reinhard Pointner 19b99132ad * separated pure OpenSubtitlesClient and SubtitleClient implementation for OpenSubtitles
* improved OpenSubtitlesHasher
2008-04-20 16:03:19 +00:00
Reinhard Pointner b9906b6a0d * created SubtitleDescriptor/Client class hierarchy
* refactoring
2008-03-31 22:53:54 +00:00
Reinhard Pointner aa7a236b6b converted filenames from country codes to language codes 2008-03-31 21:35:33 +00:00
Reinhard Pointner aed54eb060 * episode list caches are now case insensitive
* some refactoring
2008-03-29 12:20:01 +00:00
Reinhard Pointner 02057b3056 * Simplyfied BackgroundTransferablePolicy again (no queuing again)
* solves the "add after clear" concurrency problem when adding really lots of files
2008-03-27 21:44:48 +00:00
Reinhard Pointner 2026c60b1d * improved BackgroundTransferablePolicy
* improved ChecksumComputationService
* (... both don't "leak" threads anymore)
2008-03-27 00:28:06 +00:00
Reinhard Pointner ee6dc82d50 * improved utility classes
* nested temporary folders
2008-03-25 21:03:32 +00:00
Reinhard Pointner 683c5e4cee * improved tool panel 2008-03-24 18:08:41 +00:00
Reinhard Pointner a1b118d0f6 * rename panel file list will now display file name and file type
*  some minor refactoring
2008-03-24 15:41:10 +00:00
Reinhard Pointner 94290d46a0 * user proper table event to send a repaint request from the table model to the jtable
* avoid null pointner exceptions
2008-03-24 09:44:23 +00:00
Reinhard Pointner 2b9c8e840a * rewrote the checksum computation stuff to support multiple parallel computation queues
* refactoring
* svn properties
2008-03-23 22:41:25 +00:00
Reinhard Pointner 6d2ff4dfe4 * improved dnd behavour
* refactoring
2008-03-22 21:12:34 +00:00
Reinhard Pointner 824c29fd36 * improved dnd behaviour 2008-03-21 01:45:21 +00:00
Reinhard Pointner 05eecdedd5 * forgot to add renamed files again 2008-03-20 20:12:27 +00:00
Reinhard Pointner 414ab43cc3 * create temporary folder when creating the first temporary file
* use absolute file for relative files used in arguments
2008-03-20 20:11:08 +00:00
Reinhard Pointner a2beab245f * validate default filenames in filechooser
* fixed a typo
2008-03-20 00:51:49 +00:00
Reinhard Pointner 2852bf5383 * renamed folder 2008-03-19 22:26:57 +00:00
Reinhard Pointner 04c4baf9b9 * support for arguments
* better tempfile management
* lots of refactoring
2008-03-19 22:14:38 +00:00
Reinhard Pointner 9a307588c8 * added a validation dialog in case names contain invalid characters 2008-03-16 22:58:21 +00:00
Reinhard Pointner 4b4ca4fc68 * improved ui performance
* proper class visibility
2008-03-16 18:23:12 +00:00
Reinhard Pointner 0f102d4eb6 * AnalyzePanel performance improvement, at least felt performance ;)
* some refactoring
2008-03-16 14:00:10 +00:00
Reinhard Pointner bc1e91ba10 * Updated TVRageClient and AnidbClient
* BackgroundFileTransferablePolicy improved
* lots of misc. changes
2008-03-16 01:05:06 +00:00
Reinhard Pointner a01f5c41ee * added famfam country icons
* removed opensubtitles country icons
2008-03-16 00:58:05 +00:00
Reinhard Pointner 56edac666c * lots of misc. changes/refactoring
* removed create panel (merged into list panel)
* stuff for future subtitle support
* lots of flag icons
2008-03-02 17:02:37 +00:00
Reinhard Pointner 3a91757e3e * improved preferences handling
* SelectButton refactoring
2008-02-29 01:16:52 +00:00
Reinhard Pointner 36c0406ec6 * settings / preferences
* small ui enhancements
* little bit of refactoring
2008-02-28 00:39:49 +00:00
Reinhard Pointner 0d90d19d05 * updated AnidbClient (due to changes of the website)
* not logging exception stacktraces anymore
2008-02-26 20:45:28 +00:00
Reinhard Pointner bc9eb0a267 replaced all printStackTrace statements with Logger statements 2008-02-23 21:33:09 +00:00
Reinhard Pointner 68247ea3ad use file:// as file uri path prefix 2008-02-16 07:06:22 +00:00
Reinhard Pointner 456a14e7ce * better exception logging 2008-02-15 20:58:09 +00:00
Reinhard Pointner 9053df6316 * complete dnd support for ubuntu :D 2008-02-15 20:02:23 +00:00
Reinhard Pointner 036eefc5b9 * drop to file works on ubuntu now :D 2008-02-15 18:57:18 +00:00
Reinhard Pointner 298f1f7585 use string flavor with text/uri list as content instead of filelist flavor on non-windows operating systems 2008-02-14 23:07:10 +00:00
Reinhard Pointner 3edd879d7e * foundation for subtitle support
* added/updated libs
2008-02-13 20:08:06 +00:00
Reinhard Pointner ae5c5c5e3a switched to using global logger 2008-02-11 19:36:59 +00:00
Reinhard Pointner f3d1cc50c0 some refactoring, new icons, imdb search engine 2008-02-09 17:53:08 +00:00
Reinhard Pointner 11b4034a9e little bit of documentation 2008-02-07 23:16:23 +00:00
Reinhard Pointner 3c0296d11e disabled namespaces in nekohtml parser 2008-02-07 22:05:59 +00:00
Reinhard Pointner 319a528542 added OpenSubtitlesHasher 2008-02-06 20:48:54 +00:00
Reinhard Pointner 637ce351ff validate filenames (when dragging lists to files) 2008-02-03 18:06:12 +00:00
Reinhard Pointner 5a490faca2 shownames are case sensitive again 2008-01-09 19:20:47 +00:00
Reinhard Pointner 4d3a538fa4 bugfix 2007-12-29 13:18:38 +00:00
Reinhard Pointner a8cf61ef33 improved exception handling 2007-12-27 16:48:32 +00:00
Reinhard Pointner 69f549c3b7 delettion of rows in sfv table improved 2007-12-26 20:43:58 +00:00
Reinhard Pointner 8360ed0c69 improved dnd 2007-12-26 16:48:28 +00:00
Reinhard Pointner 55f79f4930 Deleted source/net/sourceforge/filebot/ui/sal 2007-12-26 16:43:16 +00:00
Reinhard Pointner 490101af81 analyze panel bug fixes 2007-12-25 15:30:50 +00:00
Reinhard Pointner 3f2d16d03d removed unused code 2007-12-25 00:03:06 +00:00
Reinhard Pointner a9b6920507 some docu 2007-12-24 22:22:13 +00:00
Reinhard Pointner ecf7674c95 threading bugfixes and improvements 2007-12-24 21:16:14 +00:00
Reinhard Pointner a94e60312c Fixed dropping of multiple file urls seperated by \r\n 2007-12-24 11:36:11 +00:00
Reinhard Pointner b6b18e89b6 Switched to using nekohtml as html parser, externalized simmetrics (just copied the sourcefiles before), lots of buxfixes and improvements. Also started using an ant. 2007-12-23 19:28:04 +00:00