Commit Graph

209 Commits

Author SHA1 Message Date
Reinhard Pointner 7b61757fd7 * improved auto episode list matching 2009-02-03 20:36:57 +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 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 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 74b6a8c1a9 * improved DownloadTask and ByteBufferOutputStream
* added unit test for ByteBufferOutputStream
2008-11-22 15:30:33 +00:00
Reinhard Pointner 4bb8ff29d8 * improved DownloadTask
* added ByteBufferOutputStream
2008-11-19 16:22: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 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 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 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 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 c525aa9ea0 * better search->redirect->results handling (subscene, anidb)
* refactoring ...
2008-07-07 23:38:17 +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 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 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 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 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 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 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 04c4baf9b9 * support for arguments
* better tempfile management
* lots of refactoring
2008-03-19 22:14:38 +00:00
Reinhard Pointner 4b4ca4fc68 * improved ui performance
* proper class visibility
2008-03-16 18:23:12 +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 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 3edd879d7e * foundation for subtitle support
* added/updated libs
2008-02-13 20:08:06 +00:00
Reinhard Pointner f3d1cc50c0 some refactoring, new icons, imdb search engine 2008-02-09 17:53:08 +00:00
Reinhard Pointner 3c0296d11e disabled namespaces in nekohtml parser 2008-02-07 22:05:59 +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