Commit Graph

18 Commits

Author SHA1 Message Date
Reinhard Pointner 97aab5eab4 Allow `@file.groovy` syntax in `Format Editor` and `Preset Editor` (e.g. `@/path/to/MyFormat.groovy`) 2019-05-26 22:41:10 +07:00
Reinhard Pointner 0678aa646a Inject ExpressionFormatFunctions via extensionClasses instead of starImports 2019-05-25 01:34:58 +07:00
Reinhard Pointner 580f2bd8f4 Make sure not to expose public locks 2019-02-11 14:34:02 +07:00
Reinhard Pointner f28e41626f Refactor ExpressionFormat into generic ExpressionFormat (used by -mediainfo and -list calls) and ExpressionFileFormat (used when generating output paths) that performs all the file path validation logic (strip spaces, don't allow /\ in binding values, etc) 2017-02-27 22:11:59 +08:00
Reinhard Pointner 1391a2ffcb Use normalizePathSeparators 2017-02-09 16:21:32 +08:00
Reinhard Pointner 53376c3de6 Ignore NEWLINE in format expression literals
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=4338&p=24461#p24461
2016-11-21 00:38:57 +08:00
Reinhard Pointner a7b13076d2 Refactor format expression suppressed exception behaviour 2016-10-20 21:44:39 +08:00
Reinhard Pointner 242c342b7c Refactor
Note: replaceSpace will get rid of NEWLINE as well and trim() will get rid of any leading/trailing spaces in the result
2016-10-20 15:14:13 +08:00
Reinhard Pointner 527cd91a0d Let Groovy deal with Java keywords like null, case, etc 2016-10-01 01:49:24 +08:00
Reinhard Pointner a589cb1dcd Access simple bindings directly instead of accessing them via the Groovy engine 2016-10-01 01:41:30 +08:00
Reinhard Pointner 7afe232264 Access simple bindings directly instead of accessing them via the Groovy engine 2016-10-01 01:18:44 +08:00
Reinhard Pointner 0ae7161b47 Strip newline characters from format expression results 2016-08-10 21:00:27 +08:00
Reinhard Pointner b9fdfcbe10 Refactor 2016-03-27 13:52:59 +00:00
Reinhard Pointner 8a75000ecd * fix modularity issue 2014-06-29 12:13:54 +00:00
Reinhard Pointner 07568068c5 * properly deal with space sequences by default 2014-06-28 06:07:45 +00:00
Reinhard Pointner 94a380384f * force all \s+ to single space char 2014-06-25 10:28:15 +00:00
Reinhard Pointner 6fc7141fdb * fix package and import declarations 2014-04-19 06:30:29 +00:00
Reinhard Pointner 165e65c104 * move folder net.sourceforge.filebot to net.filebot 2014-04-19 06:06:45 +00:00