Commit Graph

1552 Commits

Author SHA1 Message Date
niksedk
a39c3b9b5f Working on moving logic from FixCommonErrors form to libse 2015-09-19 09:30:42 +02:00
niksedk
0450545022 Working on moving logic from FixCommonErrors form to libse 2015-09-18 22:18:42 +02:00
niksedk
97366246c2 Some fixes for new "Count" in "Find" dialog (tabstop order + don't count empty string + text for one match) 2015-09-18 20:04:37 +02:00
niksedk
500e93336e Trying to fix UpdateLanguageFiles to point to correct files - thx xylographe :) 2015-09-18 19:50:47 +02:00
Nikolaj Olsson
07ecad1367 Merge pull request #1180 from ivandrofly/findDialog
[feature] add new feature to Find Dialog: "Count Matches"
2015-09-18 19:48:40 +02:00
Nikolaj Olsson
0b868439bf Merge pull request #1267 from ivandrofly/patch-16
[HI] - Refactor
2015-09-18 19:32:45 +02:00
ivandrofly
6ebcd729fb [Count Matches] - Add multi-lang support 2015-09-17 06:22:31 +02:00
ivandrofly
9eb9908941 [feature] Add new feature to Find Dialog: "Count Matches" 2015-09-17 06:22:07 +02:00
niksedk
76fa4f2178 Format "EBU stl" - writing of Chinese 2015-09-16 19:37:02 +02:00
niksedk
4e75f723cc Fixed bug regarding decimal separator in TTML 2006-10 draft format - Jiří :) 2015-09-15 17:50:59 +02:00
J.D. Purcell
3d9ad5c5dd Make subtitle list use localized decimal separator. 2015-09-13 19:50:38 -04:00
niksedk
46745d01fd Performance fix in checking for changes 2015-09-13 21:58:54 +02:00
ivandrofly
25579c198d [Internal] - Minor update 2015-09-13 20:27:26 +01:00
niksedk
4291621983 Minor fix for Unknown sub 78 2015-09-13 20:29:37 +02:00
niksedk
798b46c927 Fixed crash in TS parser - thx Verner :) 2015-09-13 20:27:52 +02:00
J.D. Purcell
0defc6b5e9 WaveToVisualizer: fix peak generation skipping the last fractional second of audio.
Add waveform batch: generate spectrogram (if respective setting is enabled).
Add waveform batch: fix status not showing the "calculating..." part.
Small code cleanups.
2015-09-13 01:11:13 -04:00
niksedk
e04f43a29a Minor fix for Chinese reading in EBU STL 2015-09-12 16:36:44 +02:00
niksedk
3bd27af9ee Add Chinese reading to EBU STL - thx Paul and Michael :) 2015-09-12 14:00:30 +02:00
niksedk
2ff54417e8 Minor fix for ebu 2015-09-12 08:23:13 +02:00
Waldi Ravens
a15d79cce9 Fixed interjection captalization (Forms/RemoveTextForHI) 2015-09-10 13:03:34 +02:00
Waldi Ravens
81973cb572 Added CapitalizeFirstLetter method to StringExtensions 2015-09-10 13:03:28 +02:00
ivandrofly
c895700d91 [HI] - Refactor 2015-09-09 21:32:28 +01:00
ivandrofly
862f356eb0 [Utilities] - Minor update 2015-09-09 20:24:45 +01:00
niksedk
fc296789ef Better handling of not supported wave files in main window 2015-09-09 06:38:49 +02:00
J.D. Purcell
511ad7e132 Add support for 8-bit, 20-bit, and 24-bit WAVs. 2015-09-08 23:31:22 -04:00
niksedk
1a27b419b9 Removed no longer used "FixLowercaseIToUppercaseICheckedButCurrentLanguageIsNotEnglish" 2015-09-08 19:25:51 +02:00
Nikolaj Olsson
5ae0efdea1 Merge pull request #1252 from ivandrofly/patch-22
[internal] - missing part from last PR
2015-09-08 17:00:16 +02:00
ivandrofly
bc68cb60d4 [internal] - minor refact 2015-09-08 11:40:35 +01:00
ivandrofly
9cffdd1cbc [internal] - Use already defined constant tags 2015-09-08 11:30:52 +01:00
Nikolaj Olsson
61c0d0b2a0 Merge pull request #1257 from xylographe/xfix1
Minor fixes + refact (Forms/RemoveTextForHI)
2015-09-08 05:08:42 +02:00
Nikolaj Olsson
9c2b83d78f Merge pull request #1261 from ivandrofly/patch-29
[setting] - use string's const empty variable instead
2015-09-08 05:06:38 +02:00
ivandrofly
39a618f0a8 [setting] - use string's const empty variable instead 2015-09-08 01:54:29 +01:00
J.D. Purcell
e44aea6609 Audio visualizer: Fix issues with HH:MM:SS:FF time code format.
Audio visualizer: Localize the decimal separator for HH:MM:SS.MS time code format.
2015-09-07 18:05:03 -04:00
Waldi Ravens
3f7cfd5e59 Formatting (whitespace only) 2015-09-07 16:43:45 +02:00
Waldi Ravens
e17beecdb9 Minor fixes + refact - RemoveStartEndTags/RemoveTextBetweenTags (RemoveTextForHI) [4] 2015-09-07 16:43:42 +02:00
Waldi Ravens
5d5ea431f3 Minor fixes + refact - RemoveInterjections (RemoveTextForHI) [3] 2015-09-07 09:23:39 +02:00
Waldi Ravens
9c439bb322 Minor refact - RemoveTextFromHearImpaired (RemoveTextForHI) [2] 2015-09-07 09:23:36 +02:00
Waldi Ravens
ccb99776f1 Minor refact - RemoveColon (RemoveTextForHI) [1] 2015-09-07 09:23:33 +02:00
Nikolaj Olsson
7096e2cbfd Merge pull request #1247 from ivandrofly/patch-8
Fix + Update (libse/HtmlUtil.cs, src/Forms/OCRSpellCheck.cs)
2015-09-06 21:41:59 +02:00
ivandrofly
0e698216c1 [internal] - cache char array global 2015-09-06 20:38:37 +01:00
Nikolaj Olsson
6c095e8d3f Merge pull request #1216 from jdpurcell/playselection
Play audio selection fix/enhancement
2015-09-06 18:30:04 +02:00
ivandrofly
3366abdb44 [internal] - Use Stream.CopyTo() instead loop thx @xylographe 2015-09-06 15:42:57 +01:00
ivandrofly
79f97e612d [internal] - add new method to GetLineWithPerhapsOnlyNumbers 2015-09-06 15:27:29 +01:00
ivandrofly
fb5145d209 [internal] - missing part from last PR 2015-09-06 15:17:03 +01:00
ivandrofly
c957d7e95f [internal] - Cache ExpectedChar + add use of ordinal 2015-09-06 14:50:13 +01:00
ivandrofly
13769465c1 [internal] - Minor update 2015-09-06 14:36:37 +01:00
Nikolaj Olsson
4238ac3949 Merge pull request #1248 from ivandrofly/patch-9
Update for (src/Forms/ImportImages.cs)
2015-09-06 15:27:43 +02:00
ivandrofly
c9ce0e4654 [UI] - Add button (Remove/Remove All) 2015-09-06 14:24:40 +01:00
J.D. Purcell
10904c57ac Merge branch 'master' of https://github.com/SubtitleEdit/subtitleedit into spectrogramoptim 2015-09-06 08:28:39 -04:00
ivandrofly
a98a00e13c [internal] - introduce more constant for var inside loop 2015-09-06 01:01:44 +01:00
ivandrofly
919ef34555 [internal] - remove redundant cast byte to byte 2015-09-06 00:53:17 +01:00
ivandrofly
5ef9a2f326 [Memory] - Dispose MemoryStream object 2015-09-06 00:52:05 +01:00
ivandrofly
a1f3caea4c [internal] - also return if string is empty 2015-09-06 00:45:51 +01:00
J.D. Purcell
3bc7d258d0 Small code cleanup. 2015-09-05 19:19:19 -04:00
J.D. Purcell
b853819faa Small code cleanup. 2015-09-05 19:12:19 -04:00
J.D. Purcell
f5a07e90b3 Small code cleanup. 2015-09-05 18:42:06 -04:00
J.D. Purcell
3fdafd165b Small code cleanup. 2015-09-05 18:19:16 -04:00
niksedk
5039f14ace Fix for playing mka files with direct show 2015-09-05 22:48:15 +02:00
niksedk
cdc73487f4 Fix for margin in ssa/ass 2015-09-05 22:47:12 +02:00
J.D. Purcell
d94c73221f Undo removing one of the lines from Info.xml (for backwards compatibility). 2015-09-05 13:56:19 -04:00
J.D. Purcell
42565f4c98 Improve spectrogram accuracy. 2015-09-05 13:45:53 -04:00
J.D. Purcell
76d96f4309 Remove unnecessary information from spectrogram info. 2015-09-05 13:45:53 -04:00
J.D. Purcell
6961eab2ef Spectrogram: parallelize image saving. 2015-09-05 13:45:52 -04:00
J.D. Purcell
0e9a416a7a Palette indexes are not actually related to the FFT length. 2015-09-05 13:45:52 -04:00
Waldi Ravens
b2fda4839a Minor fix + minor refact (Forms/RemoveTextForHI) 2015-09-03 21:30:32 +02:00
Waldi Ravens
e728c95629 Formatting (whitespace only) 2015-09-03 11:06:53 +02:00
Waldi Ravens
cf4aa11d75 Use SplitToLines string extension method 2015-09-03 11:05:45 +02:00
Nikolaj Olsson
5df15e676d Merge pull request #1227 from jdpurcell/spectrogramoptim
Spectrogram optimization, round 2
2015-09-03 08:05:25 +02:00
J.D. Purcell
d5fa8fbe3c Add some readonly keywords. 2015-09-03 01:46:29 -04:00
J.D. Purcell
2c365d078f Merge branch 'spectrogramoptim' of https://github.com/jdpurcell/subtitleedit into playselection 2015-09-02 23:41:32 -04:00
J.D. Purcell
7fa4accd64 Optimize pixel drawing.
Optimize byte to double conversion.
Other small optimizations/cleanups/fixes.
2015-09-02 23:37:56 -04:00
J.D. Purcell
456bf7c090 Change multiplication order (doesn't matter). 2015-09-02 19:11:32 -04:00
J.D. Purcell
ec247f2942 Optimize magnitude to palette index calculation. 2015-09-02 19:05:52 -04:00
J.D. Purcell
df131bf052 Optimization - increase scope of bitmap locking. 2015-09-02 17:31:52 -04:00
Nikolaj Olsson
9c5c2fa6c0 Merge pull request #1217 from jdpurcell/spectrogramoptim
Spectrogram optimization
2015-09-02 21:16:19 +02:00
J.D. Purcell
384973c80f Safe version. 2015-09-02 14:20:41 -04:00
Nikolaj Olsson
c46680ed11 Merge pull request #1221 from ivandrofly/patch-5
[bugfix] - fix bug (invalid regex pattern) in 'find' + better element validation
2015-09-02 19:47:37 +02:00
ivandrofly
e56998cfca [bugfix] - fix bug (invalid regex pattern) in 'find' + better element validation 2015-09-02 17:24:15 +01:00
ivandrofly
b37a395f79 [OcrFixReplaceList] - minor refact 2015-09-02 07:24:17 +01:00
J.D. Purcell
eb6bdee01b Argument validation.
Fix calculation when FFT length is 2.
2015-09-01 19:36:25 -04:00
J.D. Purcell
0bf16d4c71 Forgot a 'private', just for consistency. 2015-09-01 18:04:35 -04:00
niksedk
946a483822 Some fixes for PAC + added support for Korean 2015-09-01 23:31:06 +02:00
J.D. Purcell
19d6fb2465 Forgot to commit this. 2015-09-01 16:05:20 -04:00
J.D. Purcell
3e4b2acbb9 Use FastBitmap to speed up drawing.
Use better optimized FFT routines.
Other optimizations to reduce CPU/memory overhead.
2015-09-01 15:55:51 -04:00
niksedk
079a80919a Remove control characters in the other TTML formats too 2015-09-01 20:53:10 +02:00
ivandrofly
4d9c12d676 [ocr] - minor fix 2015-09-01 19:15:10 +01:00
Waldi Ravens
f9e9bf3804 Formatting (whitespace only) 2015-09-01 01:08:41 +02:00
Waldi Ravens
3af13be054 Strip control characters before trimming white space 2015-09-01 01:08:25 +02:00
niksedk
aae3152746 Fix #1211 - strip control characters from input - thx SirEllert / xylographe :) 2015-08-31 21:48:13 +02:00
niksedk
020e95c5b2 Testing removal of control characters - issue #1211 and more... 2015-08-31 20:34:09 +02:00
J.D. Purcell
d11475ba66 Fixed issue with "play new selection" shortcut where double clicking a paragraph of audio wasn't considered selecting it.
Reworded "play new selection" shortcut to "play selection" to match the way it's worded in the context menu.
Added "play end of selection" shortcut to play the last second of the selection.
2015-08-31 01:34:59 -04:00
niksedk
a412a96c3c Allow unsafe for libse 2015-08-29 00:14:50 +02:00
niksedk
6e438005b0 Making version maintaining easier (only update in SubtitleEdit AssemblyInfo.cs - libse auto updated) 2015-08-27 22:41:16 +02:00
niksedk
d34286bf5d Performance improvement in HtmlUtil 2015-08-27 16:38:58 +02:00
Nikolaj Olsson
271ea4d02b Merge pull request #1196 from xylographe/ocrhrv
Fixed replacement patterns in Croatian OCRFixReplaceList
2015-08-27 08:45:38 +02:00
Nikolaj Olsson
21b60b80c9 Make Xif public 2015-08-27 08:42:29 +02:00
Waldi Ravens
79c842317b Minor refact: new XmlDocument { XmlResolver = null } 2015-08-27 03:18:25 +02:00
Waldi Ravens
6990cfdef9 Fixed typo (Logic/SubtitleFormats/Titra) 2015-08-27 02:33:47 +02:00
Waldi Ravens
9b2eaa68ef Formatting (whitespace only) 2015-08-27 02:31:01 +02:00
niksedk
07c40c78db Clean up after UI/logic split 2015-08-26 23:04:50 +02:00
niksedk
fdf70b544e Fixed language deserializer + removed some old files 2015-08-26 22:54:56 +02:00
niksedk
1046ece216 libse - initial commit to separate UI and logic 2015-08-26 22:42:40 +02:00