Commit graph

867 commits

Author SHA1 Message Date
Rodrigo Braz Monteiro 5f7d953f43 Fixed #568
Originally committed to SVN as r1606.
2007-10-18 03:12:18 +00:00
Rodrigo Braz Monteiro 9058955430 Added offsetting support to the resolution resampler.
Originally committed to SVN as r1605.
2007-10-18 02:47:13 +00:00
Niels Martin Hansen b1c39b5698 Set cbSize in WAVEFORMATEX correctly, even though it's supposed to be ignored for PCM format, and don't include the unused flag for notification-event support in the buffer creation flags.
Originally committed to SVN as r1604.
2007-10-18 02:27:55 +00:00
Niels Martin Hansen c306eef796 Fix "keyframes file not found" error always occurring on subs file load, when no keyframes file was used.
Originally committed to SVN as r1603.
2007-10-18 02:26:14 +00:00
Niels Martin Hansen 509732b0c2 Fix #580 - DSound playback stops before end of selection. Only happened with selections longer than 150 ms and up to 150*BytesPerSample ms, that is, 300 ms for the most common 16 bit audio. The condition used to test whether streaming or one-shot mode should be used didn't take sampledepth into account and compared a number of samples with a buffer length in bytes.
Originally committed to SVN as r1602.
2007-10-18 00:33:07 +00:00
Niels Martin Hansen 84afda857e Look for VSFilter.dll in ?data/csri/ first, then ?data/ and then registry.
Originally committed to SVN as r1600.
2007-10-13 02:13:51 +00:00
Alysson Souza 6251d467f3 Fixed playback of dummy video with no audio loaded.
Originally committed to SVN as r1596.
2007-10-05 18:15:05 +00:00
Niels Martin Hansen 4bb88670bb Make video zoom dropdown on the toolbar and the subs edit area Commit button both use default sizes.
Originally committed to SVN as r1594.
2007-10-02 19:11:06 +00:00
Niels Martin Hansen 5a713aa717 Fix by triton - use "uint64_t" instead of "unsigned int64_t" to fix compilation with GCC.
Originally committed to SVN as r1593.
2007-10-01 17:27:48 +00:00
Alysson Souza f97501f254 Some cosmetic fixes to menu.
Originally committed to SVN as r1592.
2007-09-27 22:52:01 +00:00
Niels Martin Hansen ba44069d7a I broke the build with the preprocessor... oops.
Originally committed to SVN as r1591.
2007-09-24 17:45:04 +00:00
Niels Martin Hansen 0dd60ed25a Fix remaining static box sizer problems (hopefully) and also fix a few other, minor dialogue layout problems.
Originally committed to SVN as r1590.
2007-09-24 17:40:03 +00:00
Niels Martin Hansen 3fd97b551f Fix sizer creation order so dialogue works on wxMac
Originally committed to SVN as r1589.
2007-09-24 17:04:13 +00:00
Niels Martin Hansen 4a4605f769 Make Mac builds also use the include-file approach to version information.
Originally committed to SVN as r1588.
2007-09-24 02:13:31 +00:00
Niels Martin Hansen 3f5b58762a Fix splash screen skipping so tip of the day isn't skipped on Mac.
Originally committed to SVN as r1587.
2007-09-24 01:35:47 +00:00
Niels Martin Hansen 545f85ff92 Always skip splash screen on wxMac
Originally committed to SVN as r1586.
2007-09-24 01:18:42 +00:00
Niels Martin Hansen a2c1f17939 Version check thread should not attempt to delete itself. (It's not allowed, and detached threads self-delete anyway.)
Originally committed to SVN as r1585.
2007-09-24 01:09:32 +00:00
Niels Martin Hansen d41f87ba29 Only show Avisynth options in Win32 builds.
Originally committed to SVN as r1584.
2007-09-23 23:28:20 +00:00
Niels Martin Hansen 345ff629d7 Use wxChoicebook instead of wxTreebook on wxMac, to avoid some mislayout and be a bit more in line with Apple's HIG.
Originally committed to SVN as r1583.
2007-09-23 23:22:15 +00:00
Niels Martin Hansen 09f7c32cb2 Remove "new window" item from File menu on Mac, since it can't work there in its current implementation. (OS limits to one instance of each application, one app instance must handle multiple open documents.)
Originally committed to SVN as r1582.
2007-09-23 20:19:21 +00:00
Niels Martin Hansen 89c3543b67 Tell wxMac about our special menu items, so they will be placed right on the menu bar.
Originally committed to SVN as r1581.
2007-09-23 19:40:57 +00:00
Niels Martin Hansen b0d73ac84c Apply 2points' patch to FC font file lister crash problem
Originally committed to SVN as r1580.
2007-09-22 15:27:46 +00:00
Niels Martin Hansen acc2d3753f More fixes to hotkeys, consequently use Cmd instead of Ctrl on Mac, changed some default hotkeys on Mac to avoid clashes with system hotkeys and better follow Apple HIG.
Originally committed to SVN as r1579.
2007-09-22 15:16:48 +00:00
Niels Martin Hansen 808f56d294 Fix heights of search for/replace with fields
Originally committed to SVN as r1578.
2007-09-22 03:50:05 +00:00
Niels Martin Hansen b20dcaaa5f More fixing main window title to be Apple HIG-alike
Originally committed to SVN as r1577.
2007-09-22 03:49:18 +00:00
Niels Martin Hansen 50f6d65ace Set the mark in the window close button to signal document modified, rather than prepending a star to the window title, on wxMac.
Originally committed to SVN as r1576.
2007-09-22 03:07:16 +00:00
Niels Martin Hansen eee384aa0f Make audio zoom sliders non-pointy
Originally committed to SVN as r1575.
2007-09-22 00:53:05 +00:00
Niels Martin Hansen 81aec949dc Change more places to check for Cmd key on Mac rather than Ctrl key.
Originally committed to SVN as r1574.
2007-09-21 22:56:44 +00:00
Niels Martin Hansen a353eaed38 Use Cmd+Rightclick instead of Ctrl+Rightclick on Mac to move line end marker in karaoke mode.
Originally committed to SVN as r1573.
2007-09-21 22:36:02 +00:00
Niels Martin Hansen 6587f4882a Fix crash when playback cursor leaves the visible part of the audio display on wxMac.
Originally committed to SVN as r1572.
2007-09-21 21:24:32 +00:00
Niels Martin Hansen 6b4ec2dcc5 Oops, speling error broke the build...
Originally committed to SVN as r1571.
2007-09-21 21:18:08 +00:00
Niels Martin Hansen d996c5f489 Remove sunken border from audio display on wxMac, this avoids some graphical glitches, and it really also looks better.
Originally committed to SVN as r1570.
2007-09-21 21:17:08 +00:00
Niels Martin Hansen a36a60375e Reverse audio display scrolling on Mac to have natural scrolling directions for four-way scrolling devices. (Unfortunately those also exist for Windows and other systems, can't support those properly ATM.)
Originally committed to SVN as r1569.
2007-09-21 21:00:41 +00:00
Niels Martin Hansen f22a5b2838 Misc. changes for Mac building and stuff
Originally committed to SVN as r1568.
2007-09-21 16:20:00 +00:00
Rodrigo Braz Monteiro 489abd6663 jfs's mac patches applied
Originally committed to SVN as r1560.
2007-09-11 23:22:26 +00:00
Alysson Souza 7463ee0d7a Fixed data standard path
Originally committed to SVN as r1559.
2007-09-11 03:54:56 +00:00
Dan Donovan c5a91a11fe Needed to call updatedata when changing style name. Also, add some error handling to pasting styles.
Originally committed to SVN as r1551.
2007-09-02 19:31:17 +00:00
Dan Donovan a5aa4245f0 Don't let pasting styles duplicate style names. Add "Copy of " where necessary.
Originally committed to SVN as r1550.
2007-09-02 19:09:23 +00:00
Rodrigo Braz Monteiro 23cb553ac4 Removed pixel shader support from options.
Originally committed to SVN as r1549.
2007-09-01 00:35:16 +00:00
Niels Martin Hansen 89d076c760 Apparently long long isn't safe, trying with int64_t instead then...
Originally committed to SVN as r1547.
2007-08-31 14:11:35 +00:00
Niels Martin Hansen 8909ea48e2 Replace all (applicable) instances of __int64 with long long. (All except those in foreign header files.)
Originally committed to SVN as r1540.
2007-08-29 13:36:30 +00:00
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
Rodrigo Braz Monteiro 7e6a5ad6c8 Implemented issue #345 - Added a "new window" command to the file menu, to launch a new instance of Aegisub.
Originally committed to SVN as r1447.
2007-07-27 07:30:33 +00:00
Rodrigo Braz Monteiro a9e9e9b62c Fixed issue #367 - The default secondary style colour is now red.
Originally committed to SVN as r1446.
2007-07-27 07:14:49 +00:00
Rodrigo Braz Monteiro 857938f18b Joining of two lines will no longer take the timings of any line that starts and ends at 0 into consideration. Issue #206
Originally committed to SVN as r1445.
2007-07-27 07:08:22 +00:00
Rodrigo Braz Monteiro fcd9974772 Fixed #458, along with other style manager/editor related issues.
Originally committed to SVN as r1444.
2007-07-27 06:14:38 +00:00
Rodrigo Braz Monteiro 1bd5869ac6 Fixed #480
Originally committed to SVN as r1443.
2007-07-27 05:58:55 +00:00
Rodrigo Braz Monteiro 00dfc86bcc Fixed #496 and #488
Originally committed to SVN as r1442.
2007-07-27 05:25:51 +00:00
Rodrigo Braz Monteiro 7a19d18942 Fixed bug #490 - rotation visual tools weren't updated after manual text edit.
Originally committed to SVN as r1441.
2007-07-27 04:50:15 +00:00
Rodrigo Braz Monteiro 6110808dad Some failed attempts to fix detached video window stuff :3
Originally committed to SVN as r1440.
2007-07-27 04:05:18 +00:00
Rodrigo Braz Monteiro 14b425d0a3 Fixed issue with time edit boxes being unable to represent times over 1 hour in certain cases - #482
Originally committed to SVN as r1439.
2007-07-26 22:47:49 +00:00
Niels Martin Hansen 55f64cf6a4 Rename stack.txt to crashlog.txt
Originally committed to SVN as r1438.
2007-07-23 21:46:56 +00:00
Niels Martin Hansen 742240b5d8 Added debug-builds-only dummy audio provider (can provide either blank or noise audio.)
Originally committed to SVN as r1436.
2007-07-23 15:19:48 +00:00
Dan Donovan 2134cb4ba8 commit nekodar's style parser fix
Originally committed to SVN as r1435.
2007-07-20 22:41:43 +00:00
Niels Martin Hansen a078676cf7 I broke the build. Now it's no longer broken.
Originally committed to SVN as r1434.
2007-07-18 13:49:44 +00:00
Niels Martin Hansen a0beaef640 Clarified a bunch of error messages
Originally committed to SVN as r1433.
2007-07-18 13:46:38 +00:00
Rodrigo Braz Monteiro 52904f6217 demi's patches #3: Added a dialogue to text importing, asking which character to use as comment and actor separator.
Originally committed to SVN as r1427.
2007-07-16 03:22:11 +00:00
Rodrigo Braz Monteiro 9ab04c7ea3 demi's patches #2: fixed x button on translation assistant
Originally committed to SVN as r1426.
2007-07-16 03:17:11 +00:00
Rodrigo Braz Monteiro 5269a2e2a1 demi's patches #1: scaled border and shadow by default on [Script Info]
Originally committed to SVN as r1425.
2007-07-16 03:16:17 +00:00
Niels Martin Hansen 3362b61f73 Hopefully fix assertion failure when audio provider creation succeeds but audio player fails to init.
Originally committed to SVN as r1397.
2007-07-09 11:52:28 +00:00
Rodrigo Braz Monteiro 7e7ac23e5f Fixed crosshair glitch.
Originally committed to SVN as r1395.
2007-07-08 19:50:54 +00:00
Niels Martin Hansen cbec57facf "Maybe" fix for #470 - reset the playback start time and audio area start when seeking. This should make the times returned correct.
Originally committed to SVN as r1394.
2007-07-08 13:49:51 +00:00
Niels Martin Hansen 02a53226ab "Fix" #471, shortened the buffer down to 250 ms (instead of 1500 ms) and tightened the loop filling it to run every 100 ms instead of every 500. Result is that it's almost impossible to reproduce the problem now. (It pretty much takes superhuman reflexes.)
Originally committed to SVN as r1393.
2007-07-08 13:28:15 +00:00
Rodrigo Braz Monteiro bd8b8ce4c5 Finished vector clip visual typesetting tool.
Originally committed to SVN as r1392.
2007-07-08 07:22:09 +00:00
Rodrigo Braz Monteiro b0e2ef92c2 Fixed realtime visual typesetting.
Originally committed to SVN as r1391.
2007-07-07 21:18:00 +00:00
Rodrigo Braz Monteiro 12534f74a7 Visual typesetting vector clip now supports insertion of new points.
Originally committed to SVN as r1390.
2007-07-07 21:13:20 +00:00
Rodrigo Braz Monteiro 14ade371f3 Implemented finding of nearest point to spline classes.
Originally committed to SVN as r1389.
2007-07-07 08:53:11 +00:00
Rodrigo Braz Monteiro ee832d642d Implemented delete point function to vector clip tool.
Originally committed to SVN as r1388.
2007-07-07 07:27:28 +00:00
Rodrigo Braz Monteiro d1d8302548 Line and bicubic curve appending implemented to vector clip.
Originally committed to SVN as r1387.
2007-07-07 06:41:14 +00:00
Rodrigo Braz Monteiro 1af87b0808 Added freehand and smoothed freehand drawing to vector \clip.
Originally committed to SVN as r1386.
2007-07-07 05:51:18 +00:00
Rodrigo Braz Monteiro 5f2508ee70 Finished some clean up on visual typesetting
Originally committed to SVN as r1385.
2007-07-07 03:21:52 +00:00
Niels Martin Hansen 9eb5ab4e25 Can now set the grid selected from a Lua macro. Should still work in Ruby too but can't test that. Don't blame me if it breaks.
Originally committed to SVN as r1384.
2007-07-06 14:26:04 +00:00
Rodrigo Braz Monteiro 70367a1c35 Replaced visual typesetting controls with an actual toolbar.
Originally committed to SVN as r1383.
2007-07-06 05:47:03 +00:00
Niels Martin Hansen 9043bdecf8 Fix #450 point 4, playback of drag-retimed karaoke syllables now stops at the right position instead of at the end of line.
Originally committed to SVN as r1382.
2007-07-06 01:36:01 +00:00
Niels Martin Hansen 6d55d1fa11 Some (defined out) startup logging code.
Originally committed to SVN as r1381.
2007-07-05 19:11:54 +00:00
Niels Martin Hansen a9df544cee More minox fixes (well, maybe) to subs preview
Originally committed to SVN as r1380.
2007-07-05 19:08:43 +00:00
David Lamparter 4126b0e5bc fix #398 (crash on opening style editor)
Originally committed to SVN as r1379.
2007-07-05 19:03:26 +00:00
Niels Martin Hansen d578680974 Third and last part of this review-round of localisable strings.
Originally committed to SVN as r1377.
2007-07-05 15:51:42 +00:00
Niels Martin Hansen a3ee2770fa Fix localisable strings in frame_main, especially main menu bar
Originally committed to SVN as r1376.
2007-07-05 15:41:41 +00:00
Niels Martin Hansen 93185b04aa Misc. changes to localisable text, part one.
Originally committed to SVN as r1374.
2007-07-05 15:23:31 +00:00
Rodrigo Braz Monteiro 80b5c07a51 Implemented (untested) splitting of bicubic curves using de Casteljau
Originally committed to SVN as r1372.
2007-07-05 14:44:57 +00:00
Rodrigo Braz Monteiro 0bc8847f7a Random spline stuff added.
Originally committed to SVN as r1371.
2007-07-05 14:30:28 +00:00
Rodrigo Braz Monteiro 28b7264d3b Replaced spline stuff with Vector2D
Originally committed to SVN as r1370.
2007-07-05 14:15:28 +00:00
Rodrigo Braz Monteiro 1212de942b Added a 2D vector class from my old Allegro Wrapper, Halley.
Originally committed to SVN as r1369.
2007-07-05 13:53:10 +00:00
David Lamparter 06c2a7f6c3 ignore .cur files on posix
Originally committed to SVN as r1368.
2007-07-05 13:25:20 +00:00
Rodrigo Braz Monteiro 1c87280357 Added toolbar for vector clip tool. Not functional yet.
Originally committed to SVN as r1367.
2007-07-05 06:13:22 +00:00
Rodrigo Braz Monteiro ee3e97336a Gave vector clip an actual icon.
Originally committed to SVN as r1366.
2007-07-05 05:07:11 +00:00
Rodrigo Braz Monteiro 201a9a4b26 Tweaks to visual clip tools
Originally committed to SVN as r1365.
2007-07-05 04:56:56 +00:00
Rodrigo Braz Monteiro 570321722b Barely function vector clip tool implemented
Originally committed to SVN as r1364.
2007-07-05 04:32:46 +00:00
Rodrigo Braz Monteiro 5e25ffe30b Unused, incomplete and untested spline class added.
Originally committed to SVN as r1363.
2007-07-05 02:01:12 +00:00
Niels Martin Hansen 43ff836901 wxSTATIC_BORDER for Windows, wxSIMPLE_BORDER for everything else. It's probably not very pretty but better than no border at all.
Originally committed to SVN as r1362.
2007-07-04 23:53:19 +00:00
Niels Martin Hansen 964e3b3c8e Misc fixes to colour dropper.
Originally committed to SVN as r1361.
2007-07-04 23:47:20 +00:00
Rodrigo Braz Monteiro 6087d6ec22 Added icons to all dialogs that have one for them.
Originally committed to SVN as r1360.
2007-07-04 23:09:40 +00:00
Niels Martin Hansen 83d8d48db6 Removed monochrome eyedropper cursor image so the 4 bpp one can be used instead. (What's up with Windows not using the highest bpp cursor image possible?)
Originally committed to SVN as r1359.
2007-07-04 22:28:13 +00:00
Niels Martin Hansen 522f5030b0 Tweaks to mouse cursors in colour picker dialog.
Originally committed to SVN as r1358.
2007-07-04 22:23:52 +00:00
Niels Martin Hansen 55a06f00b9 Tweaked colour dropper tool.
Originally committed to SVN as r1357.
2007-07-04 22:16:24 +00:00
Rodrigo Braz Monteiro 4d98ea25af Made it possible to drag the origin while in both rotation modes.
Originally committed to SVN as r1355.
2007-07-04 21:47:26 +00:00
Rodrigo Braz Monteiro 4f7bb0f6a8 Made ctrl restrict XY rotation and scaling to only one axis.
Originally committed to SVN as r1354.
2007-07-04 20:45:01 +00:00
Rodrigo Braz Monteiro 93571ce295 Added dashed line between org anchor and corresponding line, and tweaked the display of all visual typesetting tools to make them more visible.
Originally committed to SVN as r1353.
2007-07-04 20:25:24 +00:00
Rodrigo Braz Monteiro 2251c79791 Added support for origin dragging.
Originally committed to SVN as r1352.
2007-07-04 07:26:24 +00:00
Rodrigo Braz Monteiro 686c95b8dc Made the circles at the edges of the rectangular \clip visual typesetting tool draggable.
Originally committed to SVN as r1351.
2007-07-04 06:50:03 +00:00
Rodrigo Braz Monteiro efa8401415 Fixed the orientation of Y and Z axes in XY rotation tool. (mostly a cosmetic fix)
Originally committed to SVN as r1350.
2007-07-04 06:16:11 +00:00
Rodrigo Braz Monteiro 0d40d2533f Visual typesetting fixes and failed attempt to make \clip typesetting allow dragging of corners.
Originally committed to SVN as r1349.
2007-07-04 05:22:35 +00:00
Rodrigo Braz Monteiro 92e61f885f Completed \move support and fixed a bug related to dragging.
Originally committed to SVN as r1348.
2007-07-04 04:24:47 +00:00
Rodrigo Braz Monteiro d6e9c3f730 Fixed \move drag. Note to self: std::vector != std::list, iterators are not preserved after a push_back().
Originally committed to SVN as r1344.
2007-07-04 01:22:10 +00:00
Rodrigo Braz Monteiro 7554bd373b Added support for \move in the drag tool, but it's still not possible to "upgrade" from \pos to it. Also, using the crosshair to position a line that had \move will no longer keep both tags.
Originally committed to SVN as r1343.
2007-07-04 00:36:04 +00:00
Niels Martin Hansen 66fa8be021 When disabling karaoke mode during splitting, cancel the split instead of committing it.
Originally committed to SVN as r1342.
2007-07-03 18:28:08 +00:00
Niels Martin Hansen 9fafcb6b81 Fixed some Automation defaults.
Originally committed to SVN as r1341.
2007-07-03 18:26:35 +00:00
Rodrigo Braz Monteiro e64f9b2cfe Applied demi's patch to fix default timing duration.
Originally committed to SVN as r1339.
2007-07-03 06:43:57 +00:00
Rodrigo Braz Monteiro 075bb0184c Layer and margin columns are no longer shown if all lines have default values for those.
Originally committed to SVN as r1338.
2007-07-03 01:48:04 +00:00
Rodrigo Braz Monteiro 79e3e49cf4 1337 GET! Fixed behavior of mouse wheel when mouse is over the scintilla subtitle edit control.
Originally committed to SVN as r1337.
2007-07-03 01:18:00 +00:00
Rodrigo Braz Monteiro 1125cbb5a9 Fixed two crashes
Originally committed to SVN as r1336.
2007-07-03 01:09:39 +00:00
Rodrigo Braz Monteiro c01bb02942 Redesigned the layout of the styles manager.
Originally committed to SVN as r1334.
2007-07-02 06:18:28 +00:00
Rodrigo Braz Monteiro c70919ff42 Added standard button sizer to timing processor dialog
Originally committed to SVN as r1333.
2007-07-02 04:47:04 +00:00
Rodrigo Braz Monteiro 56ea22b0ff Fixed creation of catalogs on style manager.
Originally committed to SVN as r1332.
2007-07-01 19:07:19 +00:00
Rodrigo Braz Monteiro 80573bcb78 Re-implemented drag in visual typesetting (thus completing the rewriting), fixed lots of other visual typesetting stuff, and maybe, JUST MAYBE, fixed the video playback issue on unix.
Originally committed to SVN as r1331.
2007-07-01 07:09:37 +00:00
Rodrigo Braz Monteiro 5b1a326804 Visual typesetting fixes.
Originally committed to SVN as r1330.
2007-07-01 03:57:34 +00:00
Rodrigo Braz Monteiro c498c3a0b7 Re-implemented visual typesetting clip, and added a stub for drag.
Originally committed to SVN as r1329.
2007-07-01 03:36:17 +00:00
Rodrigo Braz Monteiro 4dd3a031c6 Re-implemented scaling to visual typesetting.
Originally committed to SVN as r1328.
2007-07-01 03:17:56 +00:00
Rodrigo Braz Monteiro d06fdfda65 Fixed rotate z and re-implemented rotate xy.
Originally committed to SVN as r1327.
2007-07-01 02:46:12 +00:00
Rodrigo Braz Monteiro a1050db3f3 Re-implemented z rotation on visual typesetting
Originally committed to SVN as r1326.
2007-07-01 02:23:57 +00:00
Niels Martin Hansen 48db3ab310 More actual update after running macros.
Originally committed to SVN as r1325.
2007-07-01 00:59:26 +00:00
Rodrigo Braz Monteiro 7e8de1c389 Visual tools rewriting, currently only the crosshair works.
Originally committed to SVN as r1324.
2007-07-01 00:19:55 +00:00
Rodrigo Braz Monteiro f963a8c462 lol, grammar.
Originally committed to SVN as r1323.
2007-06-30 22:14:50 +00:00
Rodrigo Braz Monteiro af9af29419 Very early reform to visual typesetting, in order to implement the more advanced tools.
Originally committed to SVN as r1322.
2007-06-30 21:56:15 +00:00
Rodrigo Braz Monteiro 3a7fa50f9d Made audio mode tooltips update when changed in options dialog.
Originally committed to SVN as r1321.
2007-06-30 20:59:32 +00:00
Rodrigo Braz Monteiro 9acbb6a356 Added an untested singleton class to manage tooltips of buttons and account for changes in them when hotkey bindings change.
Originally committed to SVN as r1320.
2007-06-30 20:32:02 +00:00
Rodrigo Braz Monteiro 6f283a819e Added a commit button to the subtitles edit box for the shortcut-impaired.
Originally committed to SVN as r1319.
2007-06-30 20:00:07 +00:00
Niels Martin Hansen 3e411f1eed Ctrl/Ctrl+Shift click Automation toolbar button to reload autoload/all scripts.
Originally committed to SVN as r1318.
2007-06-30 19:21:06 +00:00
Niels Martin Hansen 336f0621d7 Implemented spectrum cache aging/memory limiting.
Originally committed to SVN as r1317.
2007-06-30 14:40:52 +00:00
Niels Martin Hansen 7b3674abcd Only one syllable selected after a split now.
Originally committed to SVN as r1316.
2007-06-30 01:27:00 +00:00
Niels Martin Hansen e09ebcf442 Karaoke join back to working state.
Originally committed to SVN as r1315.
2007-06-30 00:00:44 +00:00
Rodrigo Braz Monteiro 7082e21765 Added support for BBC's 16:9 overscan standard.
Originally committed to SVN as r1314.
2007-06-28 23:27:37 +00:00
Rodrigo Braz Monteiro b8d5125d6c Tweaked colours of visual typesetting controls.
Originally committed to SVN as r1313.
2007-06-28 23:11:10 +00:00
Rodrigo Braz Monteiro ec9f32b670 Fixed minor glitch on visual typesetting
Originally committed to SVN as r1312.
2007-06-28 22:27:33 +00:00
Rodrigo Braz Monteiro 36df5b3de2 Made lines in typesetting controls antialiased.
Originally committed to SVN as r1311.
2007-06-28 22:18:19 +00:00
Rodrigo Braz Monteiro 2f911574d6 Overscan mask fully implemented. Toggleable via video menu.
Originally committed to SVN as r1310.
2007-06-28 21:35:37 +00:00
Rodrigo Braz Monteiro 4d4cbe1fcc Fixed bug with "snap to scene"
Originally committed to SVN as r1309.
2007-06-28 21:08:07 +00:00
Rodrigo Braz Monteiro 726305faff Fixed some video display bugs and added overscan mask drawing (disabled for now).
Originally committed to SVN as r1308.
2007-06-28 20:29:56 +00:00
Niels Martin Hansen 907221c940 Added spec for step in floatedit controls in Lua config dialogs and intedit spin controls seem to work properly now.
Originally committed to SVN as r1307.
2007-06-28 19:11:41 +00:00
Niels Martin Hansen 53f429c13d Fixed tooltip hints in Auto4/Lua config dialogs.
Originally committed to SVN as r1306.
2007-06-28 17:59:27 +00:00
Niels Martin Hansen 405c263700 Tweaks to spectrum quality index meaning. Insane quality is no longer nearly as insane.
Originally committed to SVN as r1305.
2007-06-24 20:54:02 +00:00
Niels Martin Hansen 0a1069407e Replaced Audio Spectrum Window and Audio Spectrum Overlaps with a single Audio Spectrum Quality option.
Originally committed to SVN as r1304.
2007-06-24 20:46:52 +00:00
Niels Martin Hansen e2858d07c9 Overlapping FFT's seem to work now.
Originally committed to SVN as r1303.
2007-06-24 20:09:18 +00:00
Niels Martin Hansen 18340499c6 Functionally useless implementation of overlapping FFT's. The overlaps should be calculated right but seem to not be rendered. (Rendered result is same as without any overlapping.)
Originally committed to SVN as r1302.
2007-06-24 19:53:41 +00:00
David Lamparter bbd368136a fix ambiguous overload reference (by removing the overload...)
Originally committed to SVN as r1301.
2007-06-24 19:03:42 +00:00
Niels Martin Hansen 7779ad6dde Add some preliminary FFT cache aging... while it "works" it doesn't do so in a very useful fashion, since unused cache segments are killed off much faster when you scroll the view in short segments than when doing large scrolls. It should, however, limit memory usage to cache_line_age_limit*line_length*sizeof(float) bytes, which is 64 MB with the current Audio Spectrum Window size.
Originally committed to SVN as r1298.
2007-06-24 02:58:33 +00:00
Rodrigo Braz Monteiro b28eeabc47 Started adding non-functional help buttons to dialogs and replacing buttons with wxStdDialogButtonSizer.
Originally committed to SVN as r1297.
2007-06-23 07:27:09 +00:00
Rodrigo Braz Monteiro d5a42097ff Fixed loading of avisynth scripts as audio
Originally committed to SVN as r1296.
2007-06-23 06:46:42 +00:00
Rodrigo Braz Monteiro 54f5c82296 Added a non-overwrite mode for text edit controls, which can be set on the menu. Some basic testing was done, but not exhaustive, which means that it MIGHT be buggy (also, the old mode might have been bugged)
Originally committed to SVN as r1295.
2007-06-23 06:07:32 +00:00
David Lamparter 69bb371305 make audio display not crash on no audio loaded (1 FPE fix, 1 NULL deref fix)
Originally committed to SVN as r1294.
2007-06-23 02:43:42 +00:00