Commit graph

844 commits

Author SHA1 Message Date
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
Niels Martin Hansen
7c002835d8 I forgot Makefile.am too
Originally committed to SVN as r1293.
2007-06-23 00:36:07 +00:00
Niels Martin Hansen
2b089a7fb2 Forgot some stuff in changelog, as always
Originally committed to SVN as r1292.
2007-06-23 00:31:30 +00:00
Rodrigo Braz Monteiro
6dfcbc0cd8 Changed translation assistent to use Scintilla text controls to avoid several issues, including Right-To-Left text entry.
Originally committed to SVN as r1291.
2007-06-23 00:25:03 +00:00
Niels Martin Hansen
f205d35a5a Fix #383 and pray it didn't subtly break something else (reusable struct+function for properly splitting and handling karaoke)
Originally committed to SVN as r1290.
2007-06-23 00:21:20 +00:00
Rodrigo Braz Monteiro
2b8fc2a2d5 Moved a lot of the subs_edit_ctrl functionality into a class of its own, so it can be reused elsewhere.
Originally committed to SVN as r1289.
2007-06-22 23:43:21 +00:00
Niels Martin Hansen
3818649af7 Fix #441 (Join/Split karaoke buttons now become Cancel/Accept Split buttons when in karaoke split mode)
Originally committed to SVN as r1288.
2007-06-22 23:28:28 +00:00
Niels Martin Hansen
cee5c46ab7 Fix #278 (desync between audio and karaoke selection after splitting karaoke)
Originally committed to SVN as r1287.
2007-06-22 22:50:02 +00:00
Rodrigo Braz Monteiro
9122cdf74a Some more fixes to Linux
Originally committed to SVN as r1286.
2007-06-22 03:14:25 +00:00
Rodrigo Braz Monteiro
831c423d93 Removed associations dialog from non-win32 and added kanji timer icon to toolbar.
Originally committed to SVN as r1285.
2007-06-21 21:14:31 +00:00
Rodrigo Braz Monteiro
d04995bac8 Fixed text_file_writer.h on Linux and made it use fstream on Win32 as well.
Originally committed to SVN as r1284.
2007-06-21 21:04:50 +00:00
David Lamparter
2d1df509f4 fix auto* library referencing
Originally committed to SVN as r1282.
2007-06-21 20:41:17 +00:00
Rodrigo Braz Monteiro
2d4032d83b Improved loading of config.dat
Originally committed to SVN as r1281.
2007-06-21 06:52:15 +00:00
Rodrigo Braz Monteiro
24d941b2bc config.dat can optionally be stored on the same folder as aegisub.exe.
Originally committed to SVN as r1280.
2007-06-21 06:14:49 +00:00
Rodrigo Braz Monteiro
1db207ea29 Fixed file backup AGAIN...
Originally committed to SVN as r1279.
2007-06-21 04:11:24 +00:00
Rodrigo Braz Monteiro
cf710ffd90 Path fixing for release builds.
Originally committed to SVN as r1278.
2007-06-21 02:38:04 +00:00
Rodrigo Braz Monteiro
d0fc49ca67 Replaced all references to absolute paths with ?user, ?data or ?temp. Some bugs might have resulted, but it seems to work-ish.
Originally committed to SVN as r1277.
2007-06-21 00:46:50 +00:00
Rodrigo Braz Monteiro
c4d94d4dfa Added ?script, ?video and ?audio to standard paths. It's now all done except for encoding, which isn't very important...
Originally committed to SVN as r1276.
2007-06-20 22:23:55 +00:00
Rodrigo Braz Monteiro
4825235896 Forgot to update makefile AGAIN.
Originally committed to SVN as r1275.
2007-06-20 21:26:39 +00:00
Rodrigo Braz Monteiro
2fe424644a Standard paths semi-operational, and font caching (for ft2 retrieval engine) working.
Originally committed to SVN as r1274.
2007-06-20 21:08:31 +00:00
Rodrigo Braz Monteiro
01f49dda8d Unused standard paths class
Originally committed to SVN as r1273.
2007-06-20 19:40:06 +00:00
Rodrigo Braz Monteiro
f36ccd9e99 Fonts collector seemingly all fixed and done, except for lack of font caching and use of fc on unix.
Originally committed to SVN as r1272.
2007-06-20 07:10:41 +00:00
Rodrigo Braz Monteiro
6319bcca7b General fixes to fonts collector, and made font attachment work. Collecting to archives still doesn't work, and there are a few destination-box related issues.
Originally committed to SVN as r1271.
2007-06-20 06:29:20 +00:00
Rodrigo Braz Monteiro
fa293466d6 Semi-functional new fonts collector, using jfs's freetype2 font finding engine. Only font copying and checking work... and stuff also needs general tweaking.
Originally committed to SVN as r1270.
2007-06-20 05:18:47 +00:00
Niels Martin Hansen
de107f3108 Another load of debug prints in audio code, and a semi-working commit of karaoke changes when karaoke mode is just disabled. Still very broken.
Originally committed to SVN as r1269.
2007-06-20 02:18:55 +00:00
Rodrigo Braz Monteiro
65c3b424f6 So i hurd u liek new splash
Originally committed to SVN as r1268.
2007-06-20 01:39:59 +00:00
Rodrigo Braz Monteiro
ccfe77cd43 Fixed linking of expat for debug (was linking to release)
Originally committed to SVN as r1267.
2007-06-19 23:06:05 +00:00
Dan Donovan
bb2aaaba37 Fixing other peoples screwups as usual :D setup.cpp updated
Originally committed to SVN as r1266.
2007-06-19 22:56:47 +00:00
Niels Martin Hansen
b52761dd06 Made switching to a different line when in karaoke split-mode commit the splits.
Also littered debug prints all over the audio karaoke code.

Originally committed to SVN as r1265.
2007-06-19 22:37:25 +00:00
Rodrigo Braz Monteiro
2a55d6a01e Added an error message on video context if gl support isn't available.
Originally committed to SVN as r1264.
2007-06-19 07:03:33 +00:00
Rodrigo Braz Monteiro
4f4d67d7f7 A few more fixes for pch-less compilation
Originally committed to SVN as r1263.
2007-06-19 06:04:47 +00:00
Rodrigo Braz Monteiro
fd9f14573d Added support for adobe encore export (both PAL and NTSC)
Originally committed to SVN as r1262.
2007-06-19 05:04:15 +00:00
Rodrigo Braz Monteiro
e1df257ff4 A few missing header includes
Originally committed to SVN as r1261.
2007-06-19 04:14:25 +00:00
Rodrigo Braz Monteiro
64c6c7ee07 Added the associations dialogue to the menu and made Aegisub capable of associating sub and ttxt, as well as opening them by command line or drag-drop
Originally committed to SVN as r1260.
2007-06-19 04:04:46 +00:00
Rodrigo Braz Monteiro
708622cc63 Some refactoring and bug fixing to subtitle format stuff, and improved saving of srt, ttxt and microdvd.
Originally committed to SVN as r1259.
2007-06-19 03:34:53 +00:00
Rodrigo Braz Monteiro
4a63ffe94a Aegisub should now be able to save TTXT 1.1 compliant files... at least, it's identical to the one generated by 'mp4box -ttxt'
Originally committed to SVN as r1257.
2007-06-19 01:30:27 +00:00
Rodrigo Braz Monteiro
b96f4ba5d0 Working TTXT export, aside from the incomplete header
Originally committed to SVN as r1256.
2007-06-19 00:44:18 +00:00
Rodrigo Braz Monteiro
14195cc2bb Completely broken TTXT writing pseudo-implemented.
Originally committed to SVN as r1255.
2007-06-18 22:20:50 +00:00
Rodrigo Braz Monteiro
808a1fe06c Fixed reading and writing of microdvd subtitles
Originally committed to SVN as r1254.
2007-06-18 19:25:11 +00:00
Rodrigo Braz Monteiro
9b880fd963 Modified makefile to include the two new subtitle formats.
Originally committed to SVN as r1253.
2007-06-18 18:27:27 +00:00
Rodrigo Braz Monteiro
5d24b07b50 Added a copy constructor to the numeric validator, to hopefully fix the issues that xat had with it on Linux. Also, made it enforce stricter standards (that is, not allowing you to type numbers before the sign)
Originally committed to SVN as r1252.
2007-06-18 18:20:45 +00:00
Niels Martin Hansen
b1b89523d0 Link wxbase28u[d]_xml.lib
Originally committed to SVN as r1251.
2007-06-18 18:13:01 +00:00
Rodrigo Braz Monteiro
0ceff61352 Fixed support for TTXT version 1.1
Originally committed to SVN as r1247.
2007-06-18 06:56:10 +00:00
Rodrigo Braz Monteiro
ee5aea601c Added full read-write support for MicroDVD subtitles, including reading of fps from first line, or asking user for one, including that of video.
Originally committed to SVN as r1245.
2007-06-18 04:03:58 +00:00
Rodrigo Braz Monteiro
b41c288677 Fixed handling of single quotes/lines in TTXT, but still at a loss on how to decode the line properly (a sample that actually has an apostrophe would be useful)
Originally committed to SVN as r1244.
2007-06-18 01:50:49 +00:00
Rodrigo Braz Monteiro
c9c8f41e1f Implemented basic (plain-text only) TTXT reading.
Originally committed to SVN as r1243.
2007-06-18 01:17:03 +00:00
Rodrigo Braz Monteiro
d84d930c87 Changed layer box with a spin control and further organized changes in changelog
Originally committed to SVN as r1241.
2007-06-17 23:49:51 +00:00
Rodrigo Braz Monteiro
a12a6f229c Float spin control mostly works, but there are two bugs that I don't want to deal with, so, meh.
Originally committed to SVN as r1240.
2007-06-17 22:57:36 +00:00
Rodrigo Braz Monteiro
673a818e49 Replaced some numeric validators with a new, improved one... It still allows wrong data on paste, though.
Originally committed to SVN as r1239.
2007-06-17 21:12:28 +00:00
Rodrigo Braz Monteiro
a2ef89c752 More incomplete float spin code
Originally committed to SVN as r1237.
2007-06-17 18:43:57 +00:00
Rodrigo Braz Monteiro
de81a61ee6 Added base and mostly unimplemented float spin control
Originally committed to SVN as r1233.
2007-06-17 07:40:43 +00:00
Rodrigo Braz Monteiro
a98fc362d3 Added icon for kanji timer and enabled the 'delete line' icon
Originally committed to SVN as r1232.
2007-06-17 05:15:20 +00:00
Rodrigo Braz Monteiro
1cb3b05ada Fixed issues with close buttons.
Originally committed to SVN as r1231.
2007-06-17 02:51:11 +00:00
Rodrigo Braz Monteiro
063bf22a42 Added a "toggle next line on commit" button to the audio tool bar
Originally committed to SVN as r1230.
2007-06-17 02:34:27 +00:00
Rodrigo Braz Monteiro
35f2610bb8 Fixed insertion of bold/italics/etc overrides on lines that contained non-ascii characters.
Originally committed to SVN as r1228.
2007-06-16 23:05:05 +00:00
Rodrigo Braz Monteiro
34cd74525d Made Avisynth video provider use FFMpegSource for non avi/d2v/avs, but it will break for vfr because of the hack to make it work with dss
Originally committed to SVN as r1227.
2007-06-16 22:07:43 +00:00
Rodrigo Braz Monteiro
cec8828bb2 Some random changes that I didn't have committed
Originally committed to SVN as r1224.
2007-06-16 19:38:44 +00:00
Niels Martin Hansen
ac662477b9 Support multiple Automation autoload dirs. (I hope. As usual, not tested.)
Originally committed to SVN as r1219.
2007-06-10 01:49:11 +00:00
Dan Donovan
77e2f20424 Fix override block parsing
Originally committed to SVN as r1218.
2007-06-09 21:45:14 +00:00
David Lamparter
f7fe30b7c9 Commit Wars Episode V: The setup.h strikes back
Originally committed to SVN as r1217.
2007-06-08 00:44:44 +00:00
Niels Martin Hansen
b40b5b325a Killed off setup.h - only feature still controlled by it was PRS export, which in its current state is worthless. It can be re-enabled by defining USE_PRS=1 during build.
Originally committed to SVN as r1215.
2007-06-08 00:37:24 +00:00
Niels Martin Hansen
1a5906f97c Removed FexTracker for good.
Originally committed to SVN as r1214.
2007-06-08 00:30:37 +00:00
Niels Martin Hansen
ecd060a70b Made filling font face list in style editor dialog non-slow.
Originally committed to SVN as r1209.
2007-06-06 21:42:32 +00:00
Niels Martin Hansen
9d1f40b4c4 Fixed style editor crashing for good (I think) and added some performance measurement of font list creation in debug builds.
Originally committed to SVN as r1208.
2007-06-06 21:27:42 +00:00
Niels Martin Hansen
31003a3a52 Removed a small noop codeblock.
Originally committed to SVN as r1207.
2007-06-06 20:59:01 +00:00
Niels Martin Hansen
f8715f91ef Added various FIXME/TODO comments, set proper default audio player on Apple systems.
Originally committed to SVN as r1206.
2007-06-05 18:02:54 +00:00
Dan Donovan
4fa3c0f776 Removed subtitles preview unavailable messagebox in subtitles editor and replaced the preview box itself with a similar message
Originally committed to SVN as r1205.
2007-06-03 04:54:38 +00:00
Dan Donovan
5e3087a23e Updating changelog.txt
Originally committed to SVN as r1204.
2007-06-03 02:07:35 +00:00
Dan Donovan
c85d148076 Treat comments inside {} as plain text so that typesetting doesn't mess with them
Originally committed to SVN as r1203.
2007-06-03 01:54:39 +00:00
Dan Donovan
50aab0f08f Don't assume override blocks always start with a backslash, since many people use them for comments
Originally committed to SVN as r1202.
2007-06-03 00:37:49 +00:00
Niels Martin Hansen
5a4e03312a If Ctrl is held when video playback is started, no audio resync is attempted during that playback.
Originally committed to SVN as r1201.
2007-06-02 13:48:36 +00:00
Niels Martin Hansen
508d3d9a52 Fix #413 (mouse crosshair on video not disappearing when mouse leaves video display) and some minor code cleanup.
Originally committed to SVN as r1199.
2007-05-28 18:45:57 +00:00
Niels Martin Hansen
ea3c386aa2 Fix #418 (crash modifying karaoke timing on lines with text before first karaoke tag.)
Originally committed to SVN as r1198.
2007-05-28 11:24:37 +00:00
Niels Martin Hansen
6a9e0d8d68 Commented out the useless PRS stuff for now, just to simplify building on non-Windows.
Originally committed to SVN as r1197.
2007-05-23 23:22:46 +00:00
Rodrigo Braz Monteiro
3a9f5995e9 Some incomplete clean up to changelog.txt
Originally committed to SVN as r1194.
2007-05-22 06:11:19 +00:00
Rodrigo Braz Monteiro
3fe5fb09f2 Applied demi's patch to fix the display of frames on grid, and fixed the toggling of the "layer" column.
Originally committed to SVN as r1193.
2007-05-22 05:53:08 +00:00
Rodrigo Braz Monteiro
a0b7583262 Replaced margin edit boxes in style editor with spin controls.
Originally committed to SVN as r1192.
2007-05-21 06:03:09 +00:00
Rodrigo Braz Monteiro
e1592d0628 Alpha edit boxes on the style editor were replaced with spin controls.
Originally committed to SVN as r1191.
2007-05-21 05:38:28 +00:00
Rodrigo Braz Monteiro
7f1f1c956b Added a button to change the background colour of the preview box in the style editor.
Originally committed to SVN as r1190.
2007-05-21 04:53:14 +00:00
Rodrigo Braz Monteiro
2be3007cb8 error in changelog
Originally committed to SVN as r1189.
2007-05-21 04:06:17 +00:00
Rodrigo Braz Monteiro
001c5947f6 Changed the Style Editor to have an editable drop-down (combo box) to select fonts, instead of the OS's standard font chooser. This allows easy realtime preview of subtitles.
Originally committed to SVN as r1188.
2007-05-21 03:59:46 +00:00
Niels Martin Hansen
fb659e2d63 Fixed a minor annoyance related to Automation options and commented at some possible problem areas
Originally committed to SVN as r1185.
2007-05-15 22:40:20 +00:00
Dan Donovan
190dcfe02e use more appropriate variable names in kanji timer...
Originally committed to SVN as r1177.
2007-05-12 17:35:54 +00:00
Niels Martin Hansen
b9298b61e4 FIXME comments in (almost) all audio players, neither handle time reporting fully correct: they report number of samples they have played plus start sample, instead of current sample being heard, ie. they don't take into account that the current position might get changed in mid-stream by the video player to resync audio to video.
Originally committed to SVN as r1175.
2007-05-10 22:39:17 +00:00
Niels Martin Hansen
e46b57ca86 Much better time reporting.
Originally committed to SVN as r1174.
2007-05-10 22:31:49 +00:00
Niels Martin Hansen
f7893b932e OpenAL audio player that at least "somewhat works" on Windows.
Originally committed to SVN as r1173.
2007-05-10 21:08:30 +00:00
Niels Martin Hansen
224146a9e0 Updated changelog, moved some items around to better group related changes.
Originally committed to SVN as r1171.
2007-05-08 01:13:40 +00:00
Niels Martin Hansen
15fb8e8fdb "New", nicer solution for including the SVN revision information in Windows builds.
Originally committed to SVN as r1170.
2007-05-08 00:06:39 +00:00
Niels Martin Hansen
b22a47f842 Fixing Auto3 on POSIX broke it on Win32, wonderful world of compiler incompatibilities.
Originally committed to SVN as r1169.
2007-05-08 00:05:59 +00:00
Niels Martin Hansen
b3c15d8d2e Somewhat working auto3 on Linux, still needs some minor fixing
Originally committed to SVN as r1167.
2007-05-07 16:44:26 +00:00
Niels Martin Hansen
d3bf280993 Building on POSIX seems fixed again
Originally committed to SVN as r1166.
2007-05-07 14:22:18 +00:00
Niels Martin Hansen
f9f65888d3 About-dialog is no longer on top.
Originally committed to SVN as r1164.
2007-05-04 01:56:17 +00:00
Niels Martin Hansen
81b8660348 Fix for styles table in auto3, broken karaoke-splitter...
Originally committed to SVN as r1163.
2007-05-04 01:43:00 +00:00
Niels Martin Hansen
6087314600 I would like to claim that auto3 now "works". It's just somewhat useless currently.
Originally committed to SVN as r1162.
2007-05-03 22:15:22 +00:00
Niels Martin Hansen
e659a5d12f Separate Auto3 lib seems to work on Windows now... changed the GNU build system a bit so it shouldn't try to build Auto3 yet. (Still some decisions to be made about where the lib should be placed and how it should be loaded.) Building on POSIX might break now...
Originally committed to SVN as r1159.
2007-05-03 17:57:21 +00:00
Niels Martin Hansen
9aceffb576 Added some more Gabest logic to AssFile::GetResolution()
Originally committed to SVN as r1158.
2007-05-03 17:19:50 +00:00
Niels Martin Hansen
2785821a62 Forgot to add Lua scriptreader to Makefile.am
Originally committed to SVN as r1156.
2007-05-02 17:29:32 +00:00
Niels Martin Hansen
ce2b203251 Split out the LuaScriptReader class, though it might be futile.
Originally committed to SVN as r1154.
2007-05-01 21:51:49 +00:00
Rodrigo Braz Monteiro
e050a094b6 demi did it on purpose
Originally committed to SVN as r1153.
2007-04-29 01:18:13 +00:00
Niels Martin Hansen
b1be9b3483 Intentionally break loading of Auto3 scripts to make people ask less. Auto3 scripts will for now always fail loading, displaying a message that they are not supported.
Originally committed to SVN as r1152.
2007-04-29 00:59:19 +00:00
Rodrigo Braz Monteiro
2940fa93d1 Changed colours of spectrum analyser display
Originally committed to SVN as r1151.
2007-04-28 23:43:58 +00:00
Rodrigo Braz Monteiro
d403fd21f2 Applied demi's fix to scaledborderandshadow
Originally committed to SVN as r1150.
2007-04-27 21:19:22 +00:00
Rodrigo Braz Monteiro
a59ee116a7 Some refactoring of options dialog code... not complete, but already an improvement.
Originally committed to SVN as r1149.
2007-04-27 04:53:44 +00:00
Niels Martin Hansen
d244277ac9 More fixing build system
Originally committed to SVN as r1148.
2007-04-26 21:38:42 +00:00
Niels Martin Hansen
e52740570a More correct playback position reporting.
Originally committed to SVN as r1147.
2007-04-26 20:17:20 +00:00
Niels Martin Hansen
7a89405f18 So apparently Alsa mostly works now. Not thorougly tested.
Originally committed to SVN as r1146.
2007-04-26 20:11:48 +00:00
Niels Martin Hansen
2e82606c29 Alsa player is still broken... but trying to do things differently at least.
Originally committed to SVN as r1145.
2007-04-26 18:34:36 +00:00
Rodrigo Braz Monteiro
e04c25d378 Probably fixed OS X errors on gl_wrap.cpp, but I really don't think that I want to fix the retarded warnings
Originally committed to SVN as r1144.
2007-04-25 18:57:56 +00:00
Rodrigo Braz Monteiro
3f0b3eebae Another attempt to fix gl_wrap.cpp on OS X.
Originally committed to SVN as r1143.
2007-04-25 18:45:09 +00:00
Rodrigo Braz Monteiro
aef7dd3e61 Possible fix for gl_wrap.cpp on OS X
Originally committed to SVN as r1142.
2007-04-25 18:35:27 +00:00
Rodrigo Braz Monteiro
577295495e Commiting text now commits times as well.
Originally committed to SVN as r1141.
2007-04-25 04:31:36 +00:00
Rodrigo Braz Monteiro
399a7396cf Attempt at a dummy video dialog fix and fixed mythes's function duplication issues once and for all.
Originally committed to SVN as r1140.
2007-04-25 04:09:42 +00:00
Rodrigo Braz Monteiro
dfeb714019 restored boost
Originally committed to SVN as r1139.
2007-04-25 02:39:17 +00:00
Niels Martin Hansen
dcfb3fc2ed Killed off unused boost headers.
And final commit in Makefile.am updates for now... I hope.

Originally committed to SVN as r1135.
2007-04-25 02:03:02 +00:00
Niels Martin Hansen
b068353513 Adding Makefile.am's in smaller steps.. SVN doesn't like me.
Originally committed to SVN as r1134.
2007-04-25 01:59:46 +00:00
Niels Martin Hansen
93d0b0a469 Adding Makefile.am's in smaller steps.. SVN doesn't like me.
Originally committed to SVN as r1133.
2007-04-25 01:59:01 +00:00
Niels Martin Hansen
1ba8e934f2 Deleted old, unused files.
Originally committed to SVN as r1132.
2007-04-25 01:56:09 +00:00
Niels Martin Hansen
4d0a78b9a9 DSound player seems good now... stop breaking it.
Originally committed to SVN as r1129.
2007-04-25 00:35:10 +00:00
Niels Martin Hansen
14582ad00a Fixed Alsa player, now mostly works. (Incorrect position reporting, strange samplerate glitch at start of playback.) And more fixes to build system.
Originally committed to SVN as r1128.
2007-04-24 22:29:27 +00:00
Niels Martin Hansen
a278e4e4a3 More fixing of build system: Properly link GL framework on OS X (I hope.) FFmpeg is now optional. Check for a working pthreads. More detailed warnings when no audio players or video/audio providers are available.
Originally committed to SVN as r1127.
2007-04-24 00:52:49 +00:00
Niels Martin Hansen
bd72e621b8 Fixed "invalid -e option" warning when converting images to xpm
Originally committed to SVN as r1126.
2007-04-23 23:38:13 +00:00
Niels Martin Hansen
5ee7106920 Various fixes in build system
Originally committed to SVN as r1125.
2007-04-23 22:34:52 +00:00
Niels Martin Hansen
3e5d49d46c Seem to have fixed asserts randomly triggering. Taking the mainloop mutex is important!
Originally committed to SVN as r1124.
2007-04-23 20:58:21 +00:00
Niels Martin Hansen
470f8d05c6 Better error reporting
Originally committed to SVN as r1123.
2007-04-23 20:26:39 +00:00