Commit Graph

60 Commits

Author SHA1 Message Date
Reinhard Pointner efc7f81824 * some tuning for gtk laf 2009-07-01 16:14:21 +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 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 6593bfdbda * trim result after formatting in EpisodeExpressionFormatter
* refactoring / cleanup
2009-06-02 10:27:28 +00:00
Reinhard Pointner 0dc12ec505 * cleanup: group static imports 2009-05-17 17:22:44 +00:00
Reinhard Pointner 115c617a0c * refactoring 2009-05-17 15:09:09 +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 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 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 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 daa665c00e * fixed annoying layout bug
* remember search engine in episodelist and subtitle panel
2009-03-14 16:02:27 +00:00
Reinhard Pointner 64d8c3c2b4 * refactoring
* don't use global logger
2009-03-14 10:20:59 +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 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 ab14e07924 * improved auto-completion 2009-02-22 19:52:07 +00:00
Reinhard Pointner e643466653 * little bit of refactoring
* fixed unit-test
2009-02-17 18:11:33 +00:00
Reinhard Pointner 051cf3362b * some refactoring 2009-02-15 21:11:03 +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 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 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 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 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 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 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 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 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 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 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 a1b118d0f6 * rename panel file list will now display file name and file type
*  some minor refactoring
2008-03-24 15:41:10 +00:00