Commit Graph

676 Commits

Author SHA1 Message Date
Niels Martin Hansen e9f05f84eb Oops, missed a slash to end a block comment. Broke the entire file...
Originally committed to SVN as r1539.
2007-08-28 22:54:25 +00:00
Niels Martin Hansen 5d3d3294ec Only highlight kara-templater templates with template syntax and not code lines. Added some non-working and commented out code to switch to full-edit-box Lua highlighting for code lines.
Originally committed to SVN as r1538.
2007-08-28 22:52:23 +00:00
Niels Martin Hansen fb7c7e1f74 Make Avisynth video and audio provider load DirectShowSource.dll from the application directory if it exists. Audio provider should also fail properly now if the DirectShowSource function doesn't exist.
Originally committed to SVN as r1537.
2007-08-28 21:34:44 +00:00
Alysson Souza 3518f381a7 Added support for reading keyframes from xvid pass files
Originally committed to SVN as r1535.
2007-08-26 00:00:37 +00:00
Niels Martin Hansen 33d9cf313b Swap ordering of some operations after running an Auto4 macro. This might or might not make grid updates more correct.
Originally committed to SVN as r1531.
2007-08-23 23:09:46 +00:00
Niels Martin Hansen 044f104a2e Forgot to remove some debugging messages from the PCM audio provider, making using any other audio provider really annoying.
Originally committed to SVN as r1530.
2007-08-23 23:08:33 +00:00
Niels Martin Hansen 128dd0df0f What a fix, #113 (direct PCM WAV reading) now quite much implemented and working.
Originally committed to SVN as r1529.
2007-08-22 21:06:16 +00:00
Niels Martin Hansen 93f6ef6d7a Issue #113 - reading PCM audio directly from disk. Almost works, but downsampling from non-mono to mono seems to be broken.
Originally committed to SVN as r1528.
2007-08-22 20:58:53 +00:00
Niels Martin Hansen 646d2b2e84 Also show what features are provided by the script in the Show Info dialog from Automation Manager.
Originally committed to SVN as r1527.
2007-08-22 13:03:37 +00:00
Niels Martin Hansen fcb133fe3e Fix #532 - other lines become invisible after using visual TS tools, until video reload. (Regression introduced in r1466.)
Originally committed to SVN as r1526.
2007-08-22 13:02:44 +00:00
Niels Martin Hansen cdb9d2088b Make fonts collector regard @-fonts identical to their non-@ variation.
Originally committed to SVN as r1523.
2007-08-20 18:10:27 +00:00
Niels Martin Hansen ed9dc1c28e (Attempt to) fix crashes when scroll events hit the audio display and no audio is loaded.
Originally committed to SVN as r1522.
2007-08-20 18:09:18 +00:00
Rodrigo Braz Monteiro 388429b899 Fixing weird shit that got broken
Originally committed to SVN as r1521.
2007-08-19 22:56:22 +00:00
Rodrigo Braz Monteiro d6b5c8fbb9 demi` patch: Added a new "Video Details" dialog, that lists some information regarding the currently open video.
Originally committed to SVN as r1520.
2007-08-19 22:21:41 +00:00
Rodrigo Braz Monteiro 945c1b2bcd Added a new method to the video provider interface (unimplemented).
Originally committed to SVN as r1516.
2007-08-19 05:50:28 +00:00
Rodrigo Braz Monteiro adf6630564 Meh, small fix to last commit
Originally committed to SVN as r1515.
2007-08-19 02:20:09 +00:00
Rodrigo Braz Monteiro 352c4c93d1 Made the syntax highlighter check if it's a template line before applying template highlighting to it.
Originally committed to SVN as r1514.
2007-08-19 02:18:00 +00:00
Rodrigo Braz Monteiro 81856dbe67 demi`'s patch applied: Added "Effect" field to the Select Lines dialog.
Originally committed to SVN as r1513.
2007-08-19 01:36:36 +00:00
Rodrigo Braz Monteiro 8e5e70cf8b Originally committed to SVN as r1510. 2007-08-18 02:00:20 +00:00
Niels Martin Hansen 6cc27087dc Fix colour picker mode remembering.
Originally committed to SVN as r1505.
2007-08-17 17:03:16 +00:00
Niels Martin Hansen f3e8817487 Added some 'volatile' that should probably have been there all along
Originally committed to SVN as r1503.
2007-08-17 14:10:49 +00:00
Niels Martin Hansen 35ea03c2ab Forgot one instance of WITH_AUTO3. Now fully killed. (Auto4 Lua no longer depends on Auto3 under any circumstances.)
Originally committed to SVN as r1502.
2007-08-17 02:34:29 +00:00
Niels Martin Hansen 9a85ba7b82 No longer allow loading Auto3 scripts with .lua extension.
Originally committed to SVN as r1501.
2007-08-17 02:16:41 +00:00
Niels Martin Hansen 2124c58daf Add a little more error reporting to audio loading, also catch unspecified exceptions now. Additionally make sure to null out some pointers that might be delete'd during exception handling. (Also, GET.)
Originally committed to SVN as r1500.
2007-08-16 23:17:54 +00:00
Niels Martin Hansen 720ee8c309 Add some better error catching+reporting in audio loading/unloading. (Don't just crash.)
Originally committed to SVN as r1499.
2007-08-16 22:45:29 +00:00
Niels Martin Hansen a7e05ff1c8 Semi-workaround for wrong text_extents on non-Windows. Better but still not perfect calculation.
Originally committed to SVN as r1495.
2007-08-16 16:02:52 +00:00
Niels Martin Hansen 0c7e929f13 Fix tab order issues in various dialogues - bug #518. Still a couple left with more serious issues. (Export, style editor, translation assistant, fonts collector, kanji timer, more I'm forgetting.)
Originally committed to SVN as r1494.
2007-08-15 23:17:42 +00:00
Niels Martin Hansen 762aa6287f Prevent audio display from continually stealing focus when navigating subtitle lines and karaoke mode is enabled. This should fix #425.
Originally committed to SVN as r1493.
2007-08-15 22:33:38 +00:00
Niels Martin Hansen f9bfa1fc43 Workaround to #503 - UI no longer semi-freezes (becomes almost completely unresponsive to input) when karaoke mode is enabled and a blank line is selected. The workaround is to simply make sure that blank lines never happen, by turning them into one empty syllable instead.
Originally committed to SVN as r1492.
2007-08-15 20:41:57 +00:00
Niels Martin Hansen aff3548407 Should fix #521 - no more "can not wait for thread termination" / "couldn't terminate thread" errors.
Originally committed to SVN as r1491.
2007-08-15 19:40:41 +00:00
Rodrigo Braz Monteiro b773706f6d Some fixes for ffmpeg linking (I have no idea how it worked before)
Originally committed to SVN as r1473.
2007-08-07 22:10:44 +00:00
Rodrigo Braz Monteiro 2c60df7b53 Some fixes for SVN wx compatibility (that doesn't work, anyway)
Originally committed to SVN as r1472.
2007-08-07 20:45:41 +00:00
Niels Martin Hansen 4e48317803 Intermediate implementation of #498 - karaoke template syntax highlighting. Only !! blocks and $variables are highlighted right now, and no actual Lua specific highlighting is done.
Originally committed to SVN as r1470.
2007-08-06 14:29:43 +00:00
Rodrigo Braz Monteiro 53a95b3af2 Issue #386 - Fixed setting of hotkeys to enter.
Originally committed to SVN as r1469.
2007-08-04 09:23:21 +00:00
Rodrigo Braz Monteiro d162cb440a Issue #516 - Resample dialog no longer affects karaoke templater lines.
Originally committed to SVN as r1467.
2007-08-03 17:32:23 +00:00
Rodrigo Braz Monteiro 17c1a5801f Issue #514 - Fixed crash with vector clip. Also fixed a minor bug that caused visual typesetting to flag the script as modified even if nothing changed.
Originally committed to SVN as r1466.
2007-08-03 17:22:06 +00:00
Rodrigo Braz Monteiro 1d6f2f90c6 Issue #446 - Fixed some crashing while trying to play video without audio loaded, on posix
Originally committed to SVN as r1463.
2007-07-30 04:05:45 +00:00
Rodrigo Braz Monteiro 1e1f7b411b Fonts collector now seems to work on Linux, and presumably on other posix systems.
Originally committed to SVN as r1462.
2007-07-30 00:56:54 +00:00
Rodrigo Braz Monteiro 0ccf9cb111 Small fix to font attaching to file.
Originally committed to SVN as r1461.
2007-07-30 00:25:26 +00:00
Niels Martin Hansen 0718cf5a2c Hack: Use a single-play (non-looping) buffer for very short samples that fit entirely in the buffer for DSound playback. This avoids unwanted repeating of very short samples, but also makes it impossible to extend these selections to continue playback.
Fixing the real problem could prove to be very hard or even impossible, as it seems to be a problem of timing and possibly even related to the time slices allocated by the OS. As a buffer size in the DSound player is fixed at 150 ms the side-effect of this hack hopefully won't be a real problem.

Originally committed to SVN as r1460.
2007-07-29 21:00:57 +00:00
Rodrigo Braz Monteiro 8d69e930f6 Issue #394 - Fixed conflicting names in style storage.
Originally committed to SVN as r1458.
2007-07-29 09:45:11 +00:00
Rodrigo Braz Monteiro ad601c46d1 Issue #504 - Fixed crash with rotation tools if no line was available for visual typesetting.
Originally committed to SVN as r1457.
2007-07-29 09:15:32 +00:00
Rodrigo Braz Monteiro c098e4d2a3 Issue #466 - Fixed ffmpegsource with vfr videos. Also re-added the warning for dss. Avisynth provider *should* now be 100% reliable if ffmpegsource.dll is present.
Originally committed to SVN as r1456.
2007-07-29 09:06:38 +00:00
Rodrigo Braz Monteiro 1aec7be708 Issue #481 - Fixed update of edit box after using resampling.
Originally committed to SVN as r1455.
2007-07-29 07:49:56 +00:00
Rodrigo Braz Monteiro e568425e97 Issue #464 - Fixed commiting of default line timing
Originally committed to SVN as r1454.
2007-07-29 07:32:40 +00:00
Rodrigo Braz Monteiro d256a61703 Implemented font config file lister, except that it doesn't work.
Originally committed to SVN as r1453.
2007-07-29 01:47:18 +00:00
Rodrigo Braz Monteiro fec497a047 Split the font file lister in a base class and two subclasses, freetype for win32 (implemented) and fontconfig for everything else (todo)
Originally committed to SVN as r1452.
2007-07-29 01:21:28 +00:00
Rodrigo Braz Monteiro 4cee0dd054 Fixed drawing of text via OpenGL (in particular, video coordinates) in Linux, and probably everywhere else where it was broken.
Originally committed to SVN as r1451.
2007-07-28 23:17:33 +00:00
Niels Martin Hansen 9ab2d1c7fe Seems to fix DSound player repeat-at-end problem.
Also avoid throwing-catching an exception during audio display drawing, only because it looks bad in the debug output.

Originally committed to SVN as r1449.
2007-07-28 13:59:32 +00:00
Rodrigo Braz Monteiro 3f934a66db Resolved #341
Originally committed to SVN as r1448.
2007-07-27 08:24:49 +00:00