Commit graph

2165 commits

Author SHA1 Message Date
Amar Takhar
f18ed0748b Remove an extra line (more testing.)
Originally committed to SVN as r2869.
2009-04-28 05:25:37 +00:00
Amar Takhar
ec87d3c63a Remove some EOF whitespace (more testing.)
Originally committed to SVN as r2868.
2009-04-28 05:24:28 +00:00
Amar Takhar
5eaa033697 Remove some EOF whitespace.
Originally committed to SVN as r2867.
2009-04-28 05:21:23 +00:00
Amar Takhar
d226cdf33c Add some error-checking and exit 1's.
Originally committed to SVN as r2866.
2009-04-28 05:17:33 +00:00
Amar Takhar
5de0558228 Add exit codes to various commands to ensure the script fails and doesn't proceed to the next step(s).
Originally committed to SVN as r2865.
2009-04-28 05:11:32 +00:00
Amar Takhar
c12d2d7636 Testing the tinderbox (a stub commit but still useful.)
Originally committed to SVN as r2864.
2009-04-28 05:08:18 +00:00
Amar Takhar
3648f61083 Testing the tinderbox.
Originally committed to SVN as r2863.
2009-04-27 20:58:42 +00:00
Karl Blomster
51df55edd7 Fix some more minor editbox regressions introduced in r2859. Patch by Harukalover, updates #794
Originally committed to SVN as r2861.
2009-04-26 04:31:19 +00:00
Karl Blomster
eed65e8945 Fix a minor graphical glitch in the time edit boxes introduced in r2859. Patch by Harukalover. updates #794
Originally committed to SVN as r2860.
2009-04-26 01:23:01 +00:00
Karl Blomster
31aed4c1a7 Fix a number of odd quirks regarding how grid selection is moved after committing multiple lines, and how audio selection moves after committing. See #794 for full details. Patch by Harukalover.
closes #64, #420, #794

Originally committed to SVN as r2859.
2009-04-26 01:02:23 +00:00
Karl Blomster
76cec3ec29 Fix a bug that would cause a crash under certain conditions when trying to change the properties of a recently deleted line. Patch by Plorkyeran, closes #815
Originally committed to SVN as r2858.
2009-04-26 00:25:33 +00:00
Karl Blomster
32eb3a8a62 Fix a bug that would cause the program to crash if CSRI was selected as subtitle renderer but no CSRI renderer was actually installed. Patch by Plorkyeran, closes: 462
Originally committed to SVN as r2857.
2009-04-26 00:11:29 +00:00
Karl Blomster
4dafa0ff10 Use less magic numbers
Originally committed to SVN as r2856.
2009-04-25 23:08:45 +00:00
Karl Blomster
4efd1b5567 Update ffms2.lib
Originally committed to SVN as r2855.
2009-04-25 23:04:06 +00:00
Amar Takhar
72c5828bc0 Sigh, add @set before the recently added environment variables (r2847)
Originally committed to SVN as r2854.
2009-04-25 23:00:29 +00:00
Fredrik Mellbin
140dc44882 FFMS2: Another much needed set of fixes to the Haali part
Originally committed to SVN as r2853.
2009-04-25 22:09:49 +00:00
Fredrik Mellbin
a41e48a159 Fix the video provider after the FFMS2 changes part2
Originally committed to SVN as r2852.
2009-04-25 10:31:39 +00:00
Fredrik Mellbin
f64b10978b Fix the video provider after the FFMS2 changes
Originally committed to SVN as r2851.
2009-04-25 09:26:03 +00:00
Fredrik Mellbin
8f7930e876 FFMS2: Even less enum forward declarations
Originally committed to SVN as r2850.
2009-04-25 09:09:14 +00:00
Fredrik Mellbin
6f6d1bdf3a FFMS2: Less enum forward declaration?
Originally committed to SVN as r2849.
2009-04-25 08:55:14 +00:00
Amar Takhar
f8652576c8 Add CommonProgramFiles CommonProgramFiles(x86) ProgramFiles ProgramFiles(x86) to the build environment.
Originally committed to SVN as r2847.
2009-04-25 02:04:33 +00:00
Amar Takhar
57024a2e7c vc++ needs TMP/TEMP to be set in the env in order to work correctly.
Originally committed to SVN as r2846.
2009-04-24 23:23:48 +00:00
Fredrik Mellbin
6fae2955fd FFMS2:
Remove the dependency of pixfmt.h in ffms.h
Added the alternative FFMS_GetPixFmt() for getting the different pixel format values

Originally committed to SVN as r2845.
2009-04-24 19:56:19 +00:00
Karl Blomster
aaad6b4ad6 Update ffms2.lib again
Originally committed to SVN as r2844.
2009-04-24 18:41:34 +00:00
Fredrik Mellbin
83586d2b18 FFMS2:
Several bugfixes which should fix crashes in recent versions
Added a simple regression test application
Removed a few useless functions from the API
Add TheFluff's FFmpegSource 1.21 syntax compatibility script

Originally committed to SVN as r2843.
2009-04-24 17:42:21 +00:00
Amar Takhar
45d6e37ee8 Whoops, remove trunk\ from the solution path.
Originally committed to SVN as r2842.
2009-04-24 04:16:01 +00:00
Amar Takhar
c2e02322cf Add a bath file to compile aegisub, these will exist _per_ buildslave. It's probably better to keep it here anyway as build environments will not be changable without a historical record being kept. (it's also easier!)
Originally committed to SVN as r2841.
2009-04-24 04:00:04 +00:00
Amar Takhar
fb36f6d4af Add a solution and windows config for Windows tinderbox building. Submitted by jfs, thanks!
Originally committed to SVN as r2840.
2009-04-23 20:26:07 +00:00
Karl Blomster
4c68bb5412 Updated German translation (by Sebastian Billau).
Originally committed to SVN as r2839.
2009-04-23 10:32:00 +00:00
Karl Blomster
53bc5a034d Avisynth video provider will now use ffmpegsource2 instead of ffmpegsource when so required.
Originally committed to SVN as r2838.
2009-04-23 02:09:05 +00:00
Fredrik Mellbin
e42ae2d19d FFMS2: Various fixes to haali stuff
Originally committed to SVN as r2837.
2009-04-22 18:38:28 +00:00
Amar Takhar
ff7ee2e776 Add a cross-compile condition to AC_RUN_IFELSE in AC_AGI_COMPILE to make cross-compiling work.
Originally committed to SVN as r2836.
2009-04-21 22:32:07 +00:00
Amar Takhar
e2d0317df3 Bunk commit to trigger the build cluster.
Originally committed to SVN as r2835.
2009-04-21 18:48:59 +00:00
Amar Takhar
af68c58f56 Add a command to autogen --skip-configure to allow the autogen/configure steps
to be split for the build tinderbox.

Originally committed to SVN as r2834.
2009-04-20 02:45:35 +00:00
Amar Takhar
544c325dde Fix typo.
Originally committed to SVN as r2833.
2009-04-20 02:43:32 +00:00
Niels Martin Hansen
2ba96af5b2 Remove outdated and unused Windows installer scripts.
Originally committed to SVN as r2832.
2009-04-19 20:48:08 +00:00
Niels Martin Hansen
e2a75490c9 Remove the annoyance known as Tip of the Day. Right now it's completely inaccessible, but might return in a different incarnation when we get out of strings freeze.
Originally committed to SVN as r2831.
2009-04-18 15:29:13 +00:00
Niels Martin Hansen
6ec31a3a08 Simplify code to pick mapping size in PCMWAV provider, just use sizeof(void*) to determine address space size.
Originally committed to SVN as r2830.
2009-04-18 15:16:15 +00:00
Niels Martin Hansen
f5bc001e90 Move more project settings into property sheet files.
Originally committed to SVN as r2829.
2009-04-18 13:40:52 +00:00
Niels Martin Hansen
a749c23e8b Rename auto3 DLL to something less ugly.
Originally committed to SVN as r2828.
2009-04-18 13:31:08 +00:00
Karl Blomster
f6016573c8 revert revision 2825 since apparently it broke all of jfs' changes
Originally committed to SVN as r2827.
2009-04-18 13:02:13 +00:00
Karl Blomster
65e69a51cf "Fix" an issue that would cause the FFMS2 audio provider to crash when fed with a unicode filename/path. The solution involves getting the "short path", no idea if it works on Unix. Fixes bugtracker issues #810 and #808.
Originally committed to SVN as r2826.
2009-04-18 10:54:20 +00:00
Karl Blomster
caa26103f5 add portaudio_x86.dll to the list of delay-loaded dll's in the vs2008 project file
Originally committed to SVN as r2825.
2009-04-18 09:37:54 +00:00
Karl Blomster
f20737b8b2 Fix an issue where the grid font face option's font browser button wouldn't actually update the setting. Patch by Harukalover, resolves bugtracker issues #706 and (partially) #821.
Originally committed to SVN as r2824.
2009-04-18 09:12:26 +00:00
Niels Martin Hansen
fe393f82af No longer support anything for Windows-builds but Visual Studio 2008/VC9.
Remove all outdated, unmaintained project files and some unused dirs, and other stuff related to outdated build methods.

Originally committed to SVN as r2821.
2009-04-17 22:08:37 +00:00
Niels Martin Hansen
30057004f1 Some changes to property sheets went unsaved before previous commit, oops.
(This made linking in various things impossible.)

Originally committed to SVN as r2820.
2009-04-17 21:58:17 +00:00
Niels Martin Hansen
77791217a0 Refactor Visual Studio 2008 build and make libauto3 and Lua 5.0 build on VC9.
* The most important project properties (especially paths) are now stored in VSProps files in generalised ways.
* Projects share VSProps files so they place output files in same locations and thus agree on where to find them.
* Avoid inconsistencies between build configurations/platforms as has happened often before.
* Now distributable binaries (aegisub.exe and aegisub-auto3.dll) will be placed in $(SolutionDir)/bin/, static libraries under $(SolutionDir)/lib/ and object files etc. under $(SolutionDir)/build/. Note that those locations are controlled by where the solution file is placed in the file system.
* libauto3 is no longer pulled in by a #pragma in auto4_auto3.c, but must instead be pulled in by making the aegisub project depend on the auto3 project, which must in turn depend on the lua50 project.
* Final binary filenames are now somewhat different. You get aegisub32.exe, aegisub64d.exe, aegisub-auto3lib32d.dll and more.
* There's still more that can be factored out, things like optimisation flags and defines.

Originally committed to SVN as r2819.
2009-04-17 21:53:48 +00:00
Niels Martin Hansen
c55df071cf The lines.n value produced by Auto3 implementation was 1 too small causing the last line in a file to be eaten by karaskel.
Originally committed to SVN as r2818.
2009-04-17 21:34:43 +00:00
Niels Martin Hansen
5a76711a19 Make callables.c error properly if it's attempted compiled separately.
Originally committed to SVN as r2817.
2009-04-17 20:55:48 +00:00
Niels Martin Hansen
8a5933385d Make libauto3 better liked by MSVC 2008.
Originally committed to SVN as r2816.
2009-04-17 20:51:58 +00:00
Karl Blomster
cc26be476e add portaudio2 player to the vs2005 project as well while I'm at it
Originally committed to SVN as r2814.
2009-04-17 19:45:33 +00:00
Karl Blomster
8a6206e5d0 add portaudio2 audio player to config/config_windows0.h and the vs2008 project file
Originally committed to SVN as r2813.
2009-04-17 19:44:07 +00:00
Karl Blomster
c3afb85af4 change buffer length/wanted latency in the dsound2 audio player to 80/4 (down from 100/5); should make it a bit more responsive
Originally committed to SVN as r2812.
2009-04-17 19:40:29 +00:00
Karl Blomster
0d6454087e update ffms2.lib
Originally committed to SVN as r2811.
2009-04-17 19:38:12 +00:00
Niels Martin Hansen
7a19b273b1 Fix crash in PCM audio provider when using files larger than the mapping size (256 MB on 32 bit). The length of mappings closer than mapping-size to the end of the file, when the file was larger, would not be adjusted to not cross the end of file.
Originally committed to SVN as r2810.
2009-04-17 16:34:06 +00:00
Amar Takhar
49e3895180 Re-order the functions so they're in line with every other player: Constructor,
Destructor, Open, Close, Play, Stop..  I rue the fact that I didn't do this at
the start.

Originally committed to SVN as r2809.
2009-04-17 13:58:44 +00:00
Karl Blomster
d77c119d63 Fix a bug in FFMS2 that caused it to write timecodes with scientific notation.
Originally committed to SVN as r2808.
2009-04-17 03:25:10 +00:00
Amar Takhar
6c256fd181 * Remove a short-lived hack (hours?) and replace it with a
PaStreamFinishedCallback which is called anytime a PaCallback is exited with
  anything other than 0. (normal operation)  paStreamFinishedCallback handles
  stopping the audio stream when we've run to the end of the current selection
  or the stream is stopped.
* Add framesPerBuffer to paCallback debug output in preperation for dynamic
  buffers.
* Set paPrimeOutputBuffersUsingStreamCallback in Pa_OpenStream to prime the
  output buffer using the callback rather than initing with empty space which
  is the default.
* Indent paCallback decleration another level.

Originally committed to SVN as r2807.
2009-04-17 02:14:42 +00:00
Amar Takhar
50ce42d2e9 * Fold entire callback into a single if-else block.
* Remove 'end' variable and just return 0 if we have more to play.

Originally committed to SVN as r2806.
2009-04-16 20:55:14 +00:00
Amar Takhar
eb65009f66 * Remove variable 'avail'.
* Fold lenAvailable logic into a ternary operator.
* Use GetAduioWithVolume instead of applying volume ourselves.
* Remove code used to zero rest of the buffer. (not required)

Originally committed to SVN as r2805.
2009-04-16 20:49:37 +00:00
Amar Takhar
c6364bf43d * Set Pa_OpenStream to use paClipOff as we don't need any clipping
* Update comment (realPlayPos has been removed).
* Return from paCallback with paAbort if there is no more audio to play.
  Also set endPos to be less than the current playPos to stop the audio
  event timer.
* Add CPU usage statistics to debug printf in paCallback.

Originally committed to SVN as r2804.
2009-04-16 19:55:52 +00:00
Amar Takhar
3e864d10c9 Make debug printf's a perm fixture wrapped with PORTAUDIO2_DEBUG.
Originally committed to SVN as r2803.
2009-04-16 14:22:46 +00:00
Niels Martin Hansen
7271a74b54 Forgot to put license on VideoSink.h as well.
Originally committed to SVN as r2802.
2009-04-16 13:01:05 +00:00
Niels Martin Hansen
4da7a70608 Clarify license for VideoSink.cpp.
<jfs> hmm Haali, the VideoSink.cpp you have contributed to aegisub doesn't have a license attached... I see you put MatroskaParser.c into 3-clause BSD like the rest of aegisub though, what about VideoSink ?
<Haali> jfs: BSD license is ok for that file

Originally committed to SVN as r2801.
2009-04-16 12:15:57 +00:00
Amar Takhar
50214a2a6a Move the comment for the PortAudio library to setup.cpp.
Requested by: TheFluff

Originally committed to SVN as r2800.
2009-04-15 20:16:54 +00:00
Amar Takhar
50b7f33117 Don't initalise favorite to 0 (it's a a wxString).
Originally committed to SVN as r2799.
2009-04-15 20:11:53 +00:00
Amar Takhar
918945e03b Don't set the current position via the PortAudio callback, instead set
GetCurrentPosition() to return the correct value using Pa_GetStreamTime().  Not
only does it not work on every platform, there is no point in setting it during
the callback as GetCurrentPosition() isn't called very often (in comparison)
when updating the play bar.  Eventually this should be changed to update the
playbar via a callback to get a position that's a lot more accurate.

Originally committed to SVN as r2798.
2009-04-15 17:50:16 +00:00
Amar Takhar
b63c2ea27c Add hidden option 'Audio PortAudio Device' to set the default portaudio output device.
Originally committed to SVN as r2797.
2009-04-15 11:26:43 +00:00
Amar Takhar
aa85b2eb01 * Fix paCallback decleration
* Switch from PaOpenDefaultStream to Pa_OpenStream.
* Add Debug output
* Add GetOutputDevices which returns a list of available devices (unused)

Originally committed to SVN as r2796.
2009-04-15 10:26:22 +00:00
Niels Martin Hansen
558be555e2 Make the default ALSA device default.
(It should be "default", not "default:0" as the old default was.)

Originally committed to SVN as r2795.
2009-04-13 17:08:13 +00:00
Amar Takhar
2d6ba0cb22 Move FOUND_AUDIO_PLAYER above the rest of the audio players to preserve
link ordering.  Also add libaudio_player.a to the final link.

Originally committed to SVN as r2794.
2009-04-12 10:52:40 +00:00
Amar Takhar
dc34db7f62 Early morning code-o, setting AM_CONDITIONAL _after_ the Makefiles are
generated isn't going to work very well.

Originally committed to SVN as r2793.
2009-04-12 10:48:20 +00:00
Amar Takhar
733814793e * Update comment
* Include audio_player_portaudio2.h instead of audio_player_portaudio.h.

Originally committed to SVN as r2792.
2009-04-12 10:30:38 +00:00
Amar Takhar
8dab71e974 Split audio_player.cpp into it's own convenience to avoid sending audio library
CFLAGS to every source file.

Originally committed to SVN as r2791.
2009-04-12 10:30:07 +00:00
Amar Takhar
95e9ccaf79 Add support for ALSA_(LD|C)FLAGS.
Originally committed to SVN as r2790.
2009-04-12 10:28:42 +00:00
Amar Takhar
21460ec589 Add block for WITH_PORTAUDIO2.
Originally committed to SVN as r2789.
2009-04-12 10:08:59 +00:00
Amar Takhar
d71cbda47b * s/$found_audio/$found_audio_player/ for clarity.
* Add AM_CONDITIONAL for FOUND_AUDIO_PLAYER and FOUND_VIDEO_PROVIDER.

Originally committed to SVN as r2788.
2009-04-12 10:08:28 +00:00
Amar Takhar
579b46f097 Update PortAudio v19 support.
Originally committed to SVN as r2787.
2009-04-12 10:04:10 +00:00
Amar Takhar
b89ec65c43 Move the PortAudio v19 check above the v18 check.
Originally committed to SVN as r2786.
2009-04-11 23:40:15 +00:00
Amar Takhar
97c857a94f Add 'PortAudio2' as an audio player.
Originally committed to SVN as r2785.
2009-04-11 23:23:30 +00:00
Amar Takhar
3247ad6c6c Change WITH_PORTAUDIO -> WITH_PORTAUDIO2
Originally committed to SVN as r2784.
2009-04-11 23:18:04 +00:00
Amar Takhar
e61d0b77ac Update audio_player_portaudio2.* for PortAudio v19.
Originally committed to SVN as r2783.
2009-04-11 23:16:58 +00:00
Amar Takhar
23eea68fdd Verbatium copy of audio_player_portaudio.* -> audio_player_portaudio2.*
Originally committed to SVN as r2782.
2009-04-11 23:15:45 +00:00
Fredrik Mellbin
d39d308d0d FFMS2 GCC compilation fix
Originally committed to SVN as r2781.
2009-04-11 19:43:18 +00:00
Fredrik Mellbin
6878e5884a FFMS2 beta 6 (the real commit)
Requires a recent FFmpeg
Changes the HAALITS define into HAALISOURCE

Originally committed to SVN as r2780.
2009-04-11 18:45:40 +00:00
Amar Takhar
5f5960ef00 * Fix check for libavutil/pixfmt.h
* Add detection for PortAudio2 (v19)

Originally committed to SVN as r2779.
2009-04-11 18:06:23 +00:00
Amar Takhar
26e427e838 Add a check for libavutil/pixfmt.h as a low-brow check for FFMPEG r18129+, this
needs to be fixed to check exact versions of the library.  For now this should
work.

Originally committed to SVN as r2778.
2009-04-11 08:13:09 +00:00
Amar Takhar
d642bb37ab Fix an error message to be clearer.
Originally committed to SVN as r2777.
2009-04-11 07:51:50 +00:00
Amar Takhar
d0b1ad983e Update libass to r29169 of MPlayer.
Originally committed to SVN as r2776.
2009-04-11 07:42:48 +00:00
Karl Blomster
e00fae15d6 Add a -v option to ffmsindex.
Originally committed to SVN as r2775.
2009-04-07 01:12:12 +00:00
Karl Blomster
2960b0298c Fix ffms2 video provider to work with new ffms2 version (b6)
Originally committed to SVN as r2774.
2009-04-06 20:53:01 +00:00
Karl Blomster
245c91a271 Updated ffms2.lib
Originally committed to SVN as r2773.
2009-04-06 20:19:33 +00:00
Karl Blomster
1e47a9d3e5 FFMS2 compile fix for ffmpeg revisions >18129. Probably breaks backwards compatibility so it doesn't compile with older revisions anymore, have fun.
Originally committed to SVN as r2772.
2009-04-06 20:15:49 +00:00
Karl Blomster
036da35fe8 Rename a few internal utility functions (FloatToString, IntegerToString, StringToInt, StringToFix) to Aegi* so they do not conflict with identically named wxWidgets functions. Fixes bugtracker issue #819.
Originally committed to SVN as r2771.
2009-04-06 20:01:42 +00:00
Karl Blomster
0e299f9146 FFmpegSource2 beta 6, see ffms2.html for change details
Originally committed to SVN as r2770.
2009-04-06 19:14:55 +00:00
Karl Blomster
1d69da533c Add new (VSFilter 2.39) override tags to call tips and fix a typo. Patch by Harukalover.
Originally committed to SVN as r2769.
2009-03-30 22:10:24 +00:00
Karl Blomster
9bbf4c4281 FFmpegSource2 beta 5.
Fixes a bug with timecode writing, adds some additional documentation and resolves the issue with reading ffmsindex's progress reporting from another program.

Originally committed to SVN as r2768.
2009-03-30 22:09:33 +00:00
Rodrigo Braz Monteiro
6106546f74 Fixed windows project.
Originally committed to SVN as r2766.
2009-03-14 20:52:01 +00:00
Amar Takhar
01d522b344 * Add a (small) hack for scripts/osx-bundle.sh to handle libtools weirdness.
* Update path to reflect new repo changes.

Originally committed to SVN as r2765.
2009-03-13 04:27:24 +00:00
Amar Takhar
2cf7d9c80b Fix auto3 build after repo change.
Originally committed to SVN as r2764.
2009-03-13 04:13:11 +00:00
Amar Takhar
b5ab061f02 Fix libass on OSX after the repo changes.
Originally committed to SVN as r2763.
2009-03-13 04:12:45 +00:00
Amar Takhar
b2bcb09943 Fix vs2008 build (Patch from Haruka)
Originally committed to SVN as r2762.
2009-03-12 05:56:02 +00:00
Amar Takhar
8b21bd2b9f Sync libass with r28935 from MPlayer.
Originally committed to SVN as r2761.
2009-03-12 03:46:44 +00:00
Amar Takhar
a9180cfcf7 Missed patch: Fix build for auto3 it moved from ./auto3 -> src/libauto3.
Originally committed to SVN as r2760.
2009-03-09 05:48:13 +00:00
Amar Takhar
7740439efd Remove dummy.txt it was used ages ago for testing the svn repository.
Originally committed to SVN as r2759.
2009-03-09 01:15:01 +00:00
Amar Takhar
689e353c90 Update the build system for the new repository layout.
Originally committed to SVN as r2757.
2009-03-09 00:58:38 +00:00
Amar Takhar
99d2711245 SVN Transition Step 4/7
1. svn mv auto3 aegisub/src/libauto3
   1. svn mv installer aegisub/packages/win_installer

* See r2749 for full description.

Originally committed to SVN as r2753.
2009-03-08 08:31:28 +00:00
Amar Takhar
91d73ec8ea SVN Transition Step 3/7
1. cd aegisub/
  2. svn mv *cpp *h src/
  3. svn mv Makefile.am MatroskaParser.c auto4_perldata.inc bitmaps boost \
     changelog.txt config gl include libosxutil libresrc md5.c msvc mythes.cxx \
     mythes.hxx res.rc src/
  4. cd ..
  5. svn mv FFmpegSource2/ INSTALL Makefile.am README  acinclude.m4 \
     autogen.sh automation/ bin build configure.in desktop dummy.txt lib \
     libass/ m4macros/ packages/ po/ scripts/ universalchardet/ aegisub/
  6. mkdir -p docs/wiki_convert
  7. svn add docs/wiki_convert
  8. cd docs
  9. svn mv aegisub_convert_docs.pl convert.bat output wiki_convert/

* See r2749 for full description.

Originally committed to SVN as r2752.
2009-03-08 08:30:39 +00:00
Amar Takhar
bf730cf96e * Rework the debugging flags to set the variables conditionally on either being
enabled.
* Fix some cut-and-paste-o's (dunno how I managed these)
* Move AC_SUBST* outside of the conditionally enabled blocks
* Fix typo.

Originally committed to SVN as r2746.
2009-02-22 22:01:14 +00:00
Amar Takhar
4960863be2 Add --enable-gcov, --enable-efence and --enable-ccmalloc for gcov, Electric
Fence and ccmalloc support.  gcov support won't work without manual
intervention (for now) but some hooks will be added later to automate it.

Originally committed to SVN as r2745.
2009-02-22 05:38:46 +00:00
Amar Takhar
761f044526 Return NULL if n < 0 on line 886, for whatever reason on FreeBSD this falls
through exception handling and causes and abort().

Originally committed to SVN as r2743.
2009-02-19 23:58:06 +00:00
Amar Takhar
0eaa08c405 Add audio_provider_dummy.cpp to the build which is required when _DEBUG is used.
Originally committed to SVN as r2739.
2009-02-17 08:12:19 +00:00
Amar Takhar
8ba90af9cd Add missing files from aegisub/libosxutil/, packages/, and scripts/.
All of the missing files were related to OS X.

Originally committed to SVN as r2735.
2009-02-16 00:27:52 +00:00
Niels Martin Hansen
82f91ce1fc Oops, had a C++-style line comment in a C source file
Originally committed to SVN as r2726.
2009-02-09 18:10:16 +00:00
Niels Martin Hansen
2bd0ce3055 Updated version of stdint.h for MSVC
Originally committed to SVN as r2725.
2009-02-09 18:08:14 +00:00
Karl Blomster
f85ad3c81f Fix the jumpto dialog again. Now sets the max possible number of digits to input based on how many digits are in the final frame number. Patch by Harukalover, solves bugtracker issue #804.
Originally committed to SVN as r2723.
2009-02-05 14:48:19 +00:00
Karl Blomster
f530b4c0da Modified Harukalover's patch from yesterday so the frame number is sanitized after entry, not during.
Originally committed to SVN as r2722.
2009-02-04 23:22:10 +00:00
Karl Blomster
6a765528e1 Fix a bunch of edge cases in the VFR code. Patch by Plorkyeran, solves bugtracker issue #773.
Originally committed to SVN as r2721.
2009-02-04 23:11:56 +00:00
Karl Blomster
d9d0eddfde Minor cosmetic fixes to the goto frame/time dialog box. Patch by Harukalover.
Originally committed to SVN as r2720.
2009-02-04 01:45:43 +00:00
Amar Takhar
9c6780a33e * Add DEBUG_FLAGS / PROFILE_FLAGS to LDFLAGS for aegisub binary linking.
* Move assigned variables used by AC_SUBST below AC_INIT(), they won't work
  otherwise.

Originally committed to SVN as r2718.
2009-01-29 21:32:39 +00:00
Amar Takhar
594d44f594 avutil is required on unix/dawrin, not just darwin.
Originally committed to SVN as r2710.
2009-01-28 23:34:17 +00:00
Amar Takhar
9a6265afb6 * Switch FFMPEG detection to use pkg-config.
* Add an FFMPEG compile check from TheFluff, thanks! (modified)
* Add a libpostproc check from Myrsloik, thanks!. (reqired by ffms)
* Rework how ffms / FFMPEG providers are enabled/disabled.
* Fix PulseAudio check to use pulseaudio_required_version.

Originally committed to SVN as r2705.
2009-01-28 03:19:53 +00:00
Karl Blomster
fe2ec42a45 Fix a really dumb bug in the caching video provider that caused crashes when seeking in the video.
Originally committed to SVN as r2704.
2009-01-24 23:00:35 +00:00
Amar Takhar
bd78a5c60e Instead of generating wxicon_xpm.xpm from icon.ico (which is very low-res)
supply a 48x48 xpm to be included as the application icon.  There's probably a
better way to do this, like figuring out what the typical application icon size
is and supplying different sizes.

Originally committed to SVN as r2702.
2009-01-24 15:58:38 +00:00
Niels Martin Hansen
4ddc90f027 Simple subtitle formats weren't being split-recombined correctly in some cases after modifications, because AssEntrty::StartMS didn't match AssDialogue::Start, which caused sorting to fail.
Make a hacky fix that involves setting StartMS to Start.GetMS() when Clone()ing an AssDialogue.

Originally committed to SVN as r2700.
2009-01-20 20:08:34 +00:00
Amar Takhar
fb557ddf6e Fix restarting aegisub on osx, this uses scripts/osx-bundle-restart-helper.c
(written by jfs) to restart aegisub when it actually quites using KQUEUE to
monitor the process until it dies then executing /usr/bin/open <bundle_path>

Originally committed to SVN as r2689.
2009-01-12 22:54:58 +00:00
Amar Takhar
dc83532e02 Fix restarting after lang/options change (RestartAegisub()).
(this is unix only)

Originally committed to SVN as r2687.
2009-01-12 21:26:44 +00:00
Amar Takhar
439a2c547e * Only list languages if they're actually installed (checking for the existence
of the actual .mo file)
* Add ja to the list of possbile translations.

Originally committed to SVN as r2685.
2009-01-12 21:20:53 +00:00
Amar Takhar
c476b7b883 Add PORTAUDIO_CFLAGS to portaudio static library compile.
Originally committed to SVN as r2684.
2009-01-12 00:21:17 +00:00
Karl Blomster
5e6253831a Fix a bug (introduced when support for w64 was added) that caused the PCM provider to never get used.
Originally committed to SVN as r2682.
2009-01-10 05:41:56 +00:00
Amar Takhar
1468be9860 Remove a commented line, r2676 had the Darwin paths fix for automation
snuck in (svn drives me mad sometimes!)

Originally committed to SVN as r2677.
2009-01-08 08:48:29 +00:00
Amar Takhar
852ceef55d On OS X shared librarys end with .dylib not .so, this fixes the (lame) workaround
for auto3 linking.

Originally committed to SVN as r2676.
2009-01-08 08:46:10 +00:00
Amar Takhar
81a168d625 Add a workaround for dependency_libs in auto3/, libtool brings in libraries
automatically which causes link errors due to auto4 (lua 5.1).

Originally committed to SVN as r2675.
2009-01-08 08:22:53 +00:00
Amar Takhar
24d52e10c9 Forgot to append /AEGISUB_VERSION_DATA to GetDataDir.
Originally committed to SVN as r2673.
2009-01-07 10:40:33 +00:00
Amar Takhar
302f12b472 Add extern "C" around libosxutil.h.
Originally committed to SVN as r2670.
2009-01-07 07:35:28 +00:00
Amar Takhar
ab55433c02 Add libres.cpp to EXTRA_DIST for now until I figure out why it's not working
as it should.

Originally committed to SVN as r2666.
2009-01-06 14:21:15 +00:00
Amar Takhar
d5f5e66e33 * Split HAVE_FFMPEG into HAVE_FFMPEG / HAVE_PROVIDER_FFMPEG
* s/HAVE_FFMPEGSOURCE/HAVE_PROVIDER_FFMPEGSOURCE/
* Add FFMPEG_CFLAGS / FFMPEG_LDFLAGS as configure env vars for FFMPEG
  detection.

Originally committed to SVN as r2664.
2009-01-06 13:59:15 +00:00
Amar Takhar
90062363f3 Really do the aegisub->aegisub-2.1 binary rename.
Originally committed to SVN as r2663.
2009-01-06 13:58:21 +00:00
Amar Takhar
bbe33f2b91 Set bin_PROGRAMS to aegisub-2.1
Originally committed to SVN as r2661.
2009-01-06 12:35:57 +00:00
Amar Takhar
675c4caa09 Add multiple version support, everything is now suffixed with MAJOR.MINOR, this
will allow users on unix to install and operate different versions of aegisub a$
the same time.  Note: auto3 linking is broken it will be fixed in the next
commit as it's unrelated to these changes.

Originally committed to SVN as r2659.
2009-01-06 10:44:49 +00:00
Amar Takhar
2ded1e69db Remove unused files, add config/*.h
Originally committed to SVN as r2651.
2009-01-05 11:51:34 +00:00
Amar Takhar
0c6abb553e Remove a cut-and-past-o
Originally committed to SVN as r2650.
2009-01-05 11:51:13 +00:00
Amar Takhar
25ca1497ab * Add support for setting the default A/V provider and audio player using
--with-provider-(video|audio) and --with-player-audio.
* Cleanup --help alignment
* Print default values at the end of configure
* Remove :'s in end status section headings in configure.

Originally committed to SVN as r2648.
2009-01-05 11:07:14 +00:00
Amar Takhar
37b395310b Add a cheap 'make bundledirs-test' target.
Originally committed to SVN as r2645.
2009-01-04 13:07:57 +00:00
Niels Martin Hansen
79b79d737f Add RestartAegisub() function with obvious purpose.
Replace existing code that restarts Aegisub with a call to that function.

Originally committed to SVN as r2644.
2009-01-04 11:45:06 +00:00
Niels Martin Hansen
c98c5b10b9 Add (untested) test program for libosxutil, to display what the different locations map to.
There is no makefile support for it (yet).

Originally committed to SVN as r2643.
2009-01-04 11:10:51 +00:00
Niels Martin Hansen
00d15ee4db Add OSX_GetBundlePath() to libosxutil
Originally committed to SVN as r2642.
2009-01-04 11:09:53 +00:00
Amar Takhar
732970fe56 Set default locale to en_US and disable tooltips on startup, for whatever
reason both of these break when loading (to be fixed later).

Originally committed to SVN as r2639.
2009-01-04 10:26:14 +00:00
Amar Takhar
bf09c76081 Remove posix dir and 'libposix' and create 'libresrc' which includes
resources from res.rc and and future resources required.

Originally committed to SVN as r2631.
2009-01-04 09:01:49 +00:00
Amar Takhar
e66eed8126 Remove -include posix/defines.h
Originally committed to SVN as r2625.
2009-01-04 07:02:28 +00:00
Amar Takhar
7e9f898c34 * Add -I../aegisub to libass/Makefile.am
* Remove res.h from config/config_unix.h
* Add posix/res.h to config.h (temp)

Originally committed to SVN as r2624.
2009-01-04 07:01:20 +00:00
Amar Takhar
9238c1b992 Remove WITH_FFMPEGSOURCE as the defines have been self-contained to FFmpegSource2.
Originally committed to SVN as r2623.
2009-01-04 06:56:20 +00:00
Rodrigo Braz Monteiro
7b552282ff Fixed config for MSVC
Originally committed to SVN as r2622.
2009-01-04 06:42:49 +00:00
Amar Takhar
0763541848 Change how configuration works.
* move win32/config0.h -> config/config_windows0.h
  * move win32/stdint.h -> msvc/stdint.h
  * move posix/defines.h -> config/config_unix.h
  * add config.h - brings in config_(windows|unix).h as required
  * add config.h to *.cpp
  * Self-contain FFmpegSource2 with required function defines wrapped with
    __UNIX__ instead of the now removed defines.h.
  * Edit aegisub_vs2008.vcproj to remove explicit inclusion of config.h, also
    change VCPreBuildEventTool to create windows_config.h from
    windows_config0.h.  Add msvc to include path.
  * Change configure to create ./acconf.h instead of posix/acconf.h

This will allow us to create a more standard and platform agnostic way of
configuration aegsisub during build time.

Originally committed to SVN as r2621.
2009-01-04 06:31:48 +00:00
Amar Takhar
da9e5f0cc1 Remove a single debug printf that is no longer required.
Originally committed to SVN as r2615.
2009-01-02 09:30:32 +00:00
Amar Takhar
0c7e784d71 Activate locale support on !__WINDOWS__, using SetInstallPrefix in
standard_paths.cpp allows the program to find the locale files now.

Originally committed to SVN as r2613.
2009-01-02 08:49:43 +00:00
Amar Takhar
fa5e257ead Sigh, why does 'svn commit .' only work sometimes?: Revert aegisublocale.cpp
back to r2595.  r2609 (svn:ignore commit) included debuggin code which is
harmless but not required.

Originally committed to SVN as r2610.
2009-01-02 02:15:32 +00:00
Amar Takhar
3419b99790 Set svn:ignore svn_revision.
Originally committed to SVN as r2609.
2009-01-02 02:13:15 +00:00
Amar Takhar
5523314bb2 Change #ifdef __UNIX__ to #if defined(__UNIX__) && !defined(__APPLE__) as
__UNIX__ is triggered on OS X as well which breaks things when setting
SetInstallPrefix.

Originally committed to SVN as r2608.
2009-01-01 14:01:45 +00:00
Niels Martin Hansen
31be1e68a2 Just don't show BUILD_CREDIT if it isn't defined, and use an ugly workaround in About box (to avoid clobbering the translateable messages.)
Originally committed to SVN as r2607.
2009-01-01 13:16:42 +00:00
Amar Takhar
5b17133fee Use StandardPaths::SetInstallPrefix to set the prefix using INSTALL_PREFIX
which is taken from configure (either default or with --prefix).  This is the
beginings of proper relocation support on UNIX. (thanks jfs!)

Originally committed to SVN as r2606.
2009-01-01 13:10:51 +00:00
Rodrigo Braz Monteiro
cd9faac6b0 Possible fix for crash on aegisublocale.cpp
Originally committed to SVN as r2595.
2009-01-01 05:37:47 +00:00
Rodrigo Braz Monteiro
77095bab39 UNTESTED - Per verm's request, changed listing of locales for non-Windows to use a hardcoded list. Change this to use a proper txt list later.
Originally committed to SVN as r2593.
2009-01-01 02:16:09 +00:00
Niels Martin Hansen
1cce8b4ac7 License headers, documentation comments and changed name of a few functions. (The names were inconsistent.)
Originally committed to SVN as r2588.
2008-12-31 09:40:07 +00:00
Amar Takhar
610a6c11cf Sigh, s/Framwork/Framework/
Originally committed to SVN as r2587.
2008-12-31 09:25:11 +00:00
Amar Takhar
1fd3ffc313 Add 'libosxutil' which gives us functions to locate paths within bundles, for
now this is used by libass to load fontconfig's fonts.conf.

Originally committed to SVN as r2585.
2008-12-31 09:20:50 +00:00
Niels Martin Hansen
9c04724e13 Fix conversion to multibyte strings from widechar strings in FFmpegSource providers. (tomman)
Originally committed to SVN as r2582.
2008-12-31 07:22:24 +00:00
Niels Martin Hansen
234ab505bb Use FINAL_RELEASE define to determine whether to display beta version number or stable version number. (Currently 2.1.6 vs. 2.2.0.)
Originally committed to SVN as r2579.
2008-12-31 05:19:24 +00:00
Amar Takhar
954d7282aa * Create packages/osx_bundle which is a skel of OS X bundles.
* Move aegisub/macosx/*.icns to packages/osx_bundle/Contents/Resources
* Move aegisub/macosx/Info.plist to packages/osx_bundle/Contents/
* Remove aegisub/macosx as it's no longer required.

Originally committed to SVN as r2545.
2008-12-29 03:22:04 +00:00
Amar Takhar
c30992fbbc Rename macosx/bevelButton* to ./osx_bevelButton*, the macosx/ dir is going away.
Originally committed to SVN as r2543.
2008-12-29 02:57:41 +00:00
Amar Takhar
179fd4caa7 Fix mac build, add c_str() to filename and include aegisub.h.
Originally committed to SVN as r2537.
2008-12-28 03:07:40 +00:00
Amar Takhar
de6a89c4ed move aegisub/bitmaps/genxpm.awk to scripts/ and edit autogen.sh.
Originally committed to SVN as r2526.
2008-12-27 04:50:53 +00:00
Rodrigo Braz Monteiro
a614dd57ea Added .stats to keyframe files.
Originally committed to SVN as r2508.
2008-12-20 00:17:17 +00:00
Karl Blomster
6ad406446b Changed how the lavc audio decoder handles non-decodable audio packets. Previously, if decoding failed at any point in the audio stream, it would throw an exception that didn't get caught anywhere and hence crashed the program. Now, it'll just silently skip the broken packet and go on to next one, meaning that if the audio stream is actually corrupted and not just some weird stream with null packets you'll either get desyncs from the missing samples, or if the entire stream is non-decodable you'll just silence.
tl;dr: Fixed loading of AAC files with the ffmpeg provider.

Originally committed to SVN as r2507.
2008-12-17 06:22:05 +00:00
Amar Takhar
f36986a072 * Seperate FFMPEG support and FFMPEG/FFmpegSource Provider detection. (PART 1)
* Fix CSRI detection.
* Fix capitalisation on ending support status.
* s/ANCIENT/OLD/ tag for older FFMPEG headers.
* Fix --enable-old-ffmpeg to work as advertised.

Originally committed to SVN as r2501.
2008-12-16 01:59:38 +00:00
Niels Martin Hansen
735ce2385e More complete error checking in new DSound player, shouldn't crash/die on errors now.
Originally committed to SVN as r2496.
2008-11-27 20:39:36 +00:00
Niels Martin Hansen
a6c169a4b2 Complete rewrite of the DirectSound audio player, this time doing threading and synchronisation better, and following the COM apartment model strictly too. It replaces the old player by default, but the old is still available in the runtime configuration.
Originally committed to SVN as r2495.
2008-11-27 18:35:26 +00:00
Rodrigo Braz Monteiro
bfb3f48cba Raised version number.
Originally committed to SVN as r2494.
2008-11-26 02:25:35 +00:00
Rodrigo Braz Monteiro
329d8ef9bf Fixed jfs's borkage. (wouldn't compile on VC++)
Originally committed to SVN as r2493.
2008-11-26 02:24:37 +00:00
Niels Martin Hansen
42dd599579 Make ffmpeg and ffms video providers endianness-aware and always get the video in pixel format expected by the video display.
Originally committed to SVN as r2492.
2008-11-26 02:03:53 +00:00
Rodrigo Braz Monteiro
e802fa3c84 Some more uninitialized variables.
Originally committed to SVN as r2491.
2008-11-25 02:07:07 +00:00
Rodrigo Braz Monteiro
6dba041df6 Fixed uninitialized variable (not that it matters)
Originally committed to SVN as r2490.
2008-11-25 01:52:35 +00:00
Rodrigo Braz Monteiro
07bc0a91b0 Fixed audio display's slowness.
Originally committed to SVN as r2488.
2008-11-25 01:49:17 +00:00
Niels Martin Hansen
0bd7341cfe Updated plist suitable for directly copying into OS X app bundles
Originally committed to SVN as r2485.
2008-11-24 20:25:25 +00:00
Niels Martin Hansen
ce99076e80 Get rid of that outdated XCode project, it just causes confusion.
Originally committed to SVN as r2484.
2008-11-24 20:07:30 +00:00
Niels Martin Hansen
df4aa2be60 Add a small arrow next to the vertical spectrum (third dimension) in the colour picker, to make it easier to find the cursor in some cases.
Originally committed to SVN as r2483.
2008-11-24 14:05:46 +00:00
Rodrigo Braz Monteiro
69d38ba1d6 Updated version to 2.1.5.
Originally committed to SVN as r2481.
2008-11-23 02:40:00 +00:00
Rodrigo Braz Monteiro
9c815d3042 Fixed crashing on loading malformed font files.
Originally committed to SVN as r2479.
2008-11-23 02:37:25 +00:00
Niels Martin Hansen
f279bc2a14 Crash Aegisub by holding Ctrl or Ctrl+Shift while selecting Bug Tracker from the Help menu. (Cmd instead of Ctrl on Mac.)
Originally committed to SVN as r2476.
2008-11-22 19:28:16 +00:00
Niels Martin Hansen
560ea054e9 Fix last-minute test for wx GL support to be compiled it. Thanks to sneshko.
Originally committed to SVN as r2475.
2008-11-22 19:07:56 +00:00
Rodrigo Braz Monteiro
8692fe4220 Fixed the typesetting toolbar to fill the whole height of video.
Originally committed to SVN as r2469.
2008-11-21 01:49:48 +00:00
Niels Martin Hansen
e924197c48 Make the libass fonts_dir something sensible so it doesn't search the entire homedir (or whereever) through for fonts on init, causing huge delays.
(?user/libass_fonts/ is used now, it's created if it doesn't exist.)

Originally committed to SVN as r2468.
2008-11-20 22:08:34 +00:00
Rodrigo Braz Monteiro
dae123d225 Fixed audio spectrum bug.
Originally committed to SVN as r2463.
2008-11-17 00:06:31 +00:00
Rodrigo Braz Monteiro
af8d6c6250 Changed version number.
Originally committed to SVN as r2455.
2008-11-14 01:37:55 +00:00
Rodrigo Braz Monteiro
e11bd3f659 Optimized the audio display redraw.
Originally committed to SVN as r2453.
2008-11-14 01:21:17 +00:00
Rodrigo Braz Monteiro
5ead3d4230 Fixed a bug related to resizing the audio display, that caused the video display to stretch, ruining its aspect ratio.
Originally committed to SVN as r2438.
2008-11-09 23:08:44 +00:00
Rodrigo Braz Monteiro
780e3b566c Fixed fonts collector and translation dialogue syntax highlighting.
Originally committed to SVN as r2433.
2008-11-09 01:18:15 +00:00
Rodrigo Braz Monteiro
f46200a3b6 A few more tweaks to progress dialog.
Originally committed to SVN as r2429.
2008-10-29 00:18:13 +00:00
Rodrigo Braz Monteiro
acfb815484 Semi-fix for ffms2
Originally committed to SVN as r2428.
2008-10-28 04:39:10 +00:00
Rodrigo Braz Monteiro
453f3ad816 Originally committed to SVN as r2427. 2008-10-28 04:24:45 +00:00
Rodrigo Braz Monteiro
61dc57d0e1 Fixed progress dialog and ffmpegsource providers.
Originally committed to SVN as r2426.
2008-10-28 04:03:29 +00:00
Amar Takhar
2b13dfbb43 Add support for FFmpegSource2, it's enabled by default if libpostproc is there.
Originally committed to SVN as r2425.
2008-10-28 02:18:14 +00:00
Karl Blomster
94975c6869 ignore error if the ffms index file can't be written
Originally committed to SVN as r2424.
2008-10-28 01:39:42 +00:00
Rodrigo Braz Monteiro
fdc7d2fd93 Updated about dialog and options.
Originally committed to SVN as r2420.
2008-10-28 00:08:52 +00:00
Rodrigo Braz Monteiro
4815c6fd34 Updated version number.
Originally committed to SVN as r2417.
2008-10-27 22:34:36 +00:00
Rodrigo Braz Monteiro
8ccb37d3db Removed distinction between normal and recommended video formats.
Originally committed to SVN as r2416.
2008-10-26 19:18:52 +00:00
Niels Martin Hansen
d291871460 Revert r2210 and r2201 because those fixes to DSound player seemed to just make things more unstable.
A complete rewrite of the DSound player might follow later.

Originally committed to SVN as r2415.
2008-10-22 22:31:43 +00:00
Karl Blomster
6dd79d7441 fix an oddness with the "insert before" function. patch by Harukalover.
Originally committed to SVN as r2413.
2008-10-11 13:28:29 +00:00
Karl Blomster
2d49a1e833 we don't need to #include lavc_file.h twice
Originally committed to SVN as r2412.
2008-10-10 15:30:28 +00:00
Karl Blomster
fd8a7750c7 Update ffms2 providers to work with latest ffms2 API. Also fixes a few error messages.
Originally committed to SVN as r2408.
2008-10-01 22:08:28 +00:00
Karl Blomster
00265d6ec4 change the ffmpeg includes to libav*/*.h for good this time, but you can still define WITH_OLD_FFMPEG to get the old includes.
Originally committed to SVN as r2398.
2008-09-28 13:02:25 +00:00
Karl Blomster
dde0214246 change __stdcall to FFMS_CC, should improve portability
Originally committed to SVN as r2397.
2008-09-28 00:52:19 +00:00
Karl Blomster
e247cc290e update ffms2 providers to account for latest API breakage and rename ffmpegsource2.lib to ffms2.lib in setup.cpp
Originally committed to SVN as r2395.
2008-09-28 00:40:37 +00:00
Karl Blomster
a2c5b5778c eol-style native on new files, also add said new files to Makefile.am
Originally committed to SVN as r2388.
2008-09-24 11:27:42 +00:00
Karl Blomster
8ecedcbc2d Update ffms providers to use new and improved FFMS API functionality.
Also moved the indexing function to ffmpegsource_common.cpp.

Originally committed to SVN as r2387.
2008-09-23 23:30:27 +00:00
Karl Blomster
fabcd033b0 ffms2 providers: better error messages
Originally committed to SVN as r2382.
2008-09-23 21:06:11 +00:00
Karl Blomster
4a94fa334d use wxConvFile for filenames in the ffms providers
Originally committed to SVN as r2380.
2008-09-23 20:28:57 +00:00
Karl Blomster
8107d0c1a9 Add new ffms2 audio provider. Only works with matroska so far, also probably buggy.
Originally committed to SVN as r2379.
2008-09-23 20:02:21 +00:00
Karl Blomster
eab0784d77 A few bugfixes to the FFMS2 video provider, also moved some common functions to ffmpegsource_common.cpp/.h in preparation for the FFMS2 audio provider.
Originally committed to SVN as r2378.
2008-09-23 20:01:11 +00:00
Karl Blomster
9b4f389fb2 ffmpegsource video provider now cleans up after itself properly even if loading the video file failed
Originally committed to SVN as r2373.
2008-09-23 01:19:31 +00:00
Karl Blomster
743527eeb8 fix a bug in the OpenAL audio player where it would crash if you tried to stop playback by moving the line end marker to before the playback cursor. credits to jfs.
Originally committed to SVN as r2364.
2008-09-18 23:14:12 +00:00
Rodrigo Braz Monteiro
14037b8a64 Fixed last patch and updated project.
Originally committed to SVN as r2353.
2008-09-14 15:20:15 +00:00
Rodrigo Braz Monteiro
d8c5da67d8 Added support for drawing of \iclip on visual tools, but no button to invert it yet.
Originally committed to SVN as r2352.
2008-09-14 15:17:14 +00:00
Niels Martin Hansen
e7ed19e55a Add some basic support for Sony's Wave64 format.
Originally committed to SVN as r2342.
2008-09-10 23:02:40 +00:00
Rodrigo Braz Monteiro
df3a25129e Fixed project and other stuff for ffmpegsource support.
Originally committed to SVN as r2341.
2008-09-10 22:01:35 +00:00
Karl Blomster
0026ba38ec Fix ffmpegsource video provider to no longer depend on ffmpeg directly, everything is now done by API calls to the ffmpegsource DLL.
Originally committed to SVN as r2340.
2008-09-10 21:05:54 +00:00
Niels Martin Hansen
d92efd1f54 Work around bug #772, v1 timecodes files with overlapping or out of order ranges caused weird behaviour. Now those files are simply rejected.
Originally committed to SVN as r2339.
2008-09-10 20:52:51 +00:00
Niels Martin Hansen
e737471043 Implement aegisub.video_size() function in Automation 4 Lua. Returns nil if no video is loaded, otherwise returns xres,yres,ar,artype.
Originally committed to SVN as r2337.
2008-09-10 16:53:23 +00:00
Niels Martin Hansen
30a0b7e82b Add support for new override tags: \iclip \fax \fay \xshad \yshad \xbord \ybord \blur
Support redefined override tags: \move (float-pos) \pos (float-pos) \be (variable)
Make visual typesetting understand inverse clips and edit them correctly.
Make vector clip visual tool able to convert a rectangular clip to a vector clip.
What's missing: Proper rendering of inverse vector clips in visual tool overlay.

Originally committed to SVN as r2336.
2008-09-10 16:13:54 +00:00
Niels Martin Hansen
aca234ebcc Fix bugs #775 and #776, missing initialisation of controls in Auto4 Lua dialogues. (Untested.)
Originally committed to SVN as r2335.
2008-09-10 14:56:29 +00:00
Niels Martin Hansen
f89b9d6c43 Fix incorrect type for Windows x64 builds.
Originally committed to SVN as r2334.
2008-09-10 14:45:46 +00:00
Karl Blomster
e702d9edca fixed the ffmpegsource indexing progress dialog to work with files larger than 4gb.
Originally committed to SVN as r2330.
2008-09-07 19:15:12 +00:00
Karl Blomster
ff6876b412 Fix a crash when using detached video and pressing the up/down arrows with the video slider selected. Patch by ai-chan.
Originally committed to SVN as r2329.
2008-09-07 03:22:35 +00:00
Karl Blomster
91e1fb7f06 Fix a crash when importing styles with names identical to ones existing on the script but with different case (they are now overwritten properly). Special thanks to ai-chan.
Originally committed to SVN as r2327.
2008-09-06 11:35:36 +00:00
Karl Blomster
dafc9dfe73 fix a crash when saving screenshots with a non-english locale set. patch by Manta.
Originally committed to SVN as r2326.
2008-09-06 09:33:14 +00:00
Karl Blomster
02ce1e72df missed one line when removing the useless stuff
Originally committed to SVN as r2325.
2008-09-06 02:57:09 +00:00
Karl Blomster
c72cb5f505 kill another useless cast
Originally committed to SVN as r2324.
2008-09-06 02:54:22 +00:00
Karl Blomster
0add56bfa0 remove some useless casts
Originally committed to SVN as r2323.
2008-09-06 02:50:20 +00:00
Karl Blomster
728b0d0a93 cleanup of unused and useless code in video_provider_lavc.cpp
Originally committed to SVN as r2322.
2008-09-06 02:49:58 +00:00
Karl Blomster
df3512e8eb add video_provider_ffmpegsource.cpp to Makefile.am
Originally committed to SVN as r2321.
2008-09-05 19:07:31 +00:00
Karl Blomster
82059cbfe2 add some support for sample formats other than 16-bit int to the lavc audio provider. untested and will probably break spectacularly.
Originally committed to SVN as r2320.
2008-09-05 12:55:45 +00:00
Karl Blomster
c28b96b502 add decoding threads option for the ffmpegsource video provider
Originally committed to SVN as r2319.
2008-09-05 12:53:57 +00:00
Karl Blomster
1655f97a59 add a progress dialog to the ffmpegsource video provider's indexing process
Originally committed to SVN as r2318.
2008-09-04 22:17:34 +00:00
Karl Blomster
5acd3b2534 revert back to including ffmpeg/libav*.h
Originally committed to SVN as r2316.
2008-09-04 18:26:15 +00:00
Karl Blomster
b2153dd6cf add option for ffmpegsource thread count and seek mode
Originally committed to SVN as r2314.
2008-09-03 21:22:33 +00:00
Karl Blomster
3e13ef206f fix vfr handling for the ffmpegsource video provider, entire thing should be considered working now
Originally committed to SVN as r2313.
2008-09-03 21:03:18 +00:00
Karl Blomster
98341f62be add vfr handling (broken) and keyframe reading (works) to the ffmpegsource video provider
Originally committed to SVN as r2312.
2008-09-03 20:27:50 +00:00
Karl Blomster
d8c8d47e4c new video provider: ffmpegsource
Originally committed to SVN as r2310.
2008-09-03 17:03:20 +00:00
Karl Blomster
bf931df635 fix retarded breakage in previous commit.
Originally committed to SVN as r2304.
2008-08-14 23:49:11 +00:00
Karl Blomster
d1c62c1324 Fix crash on playing video without audio loaded when using the ffmpeg providers. Patch by Manta with minor modifications by me.
Originally committed to SVN as r2303.
2008-08-14 16:10:31 +00:00
Karl Blomster
620cf44c46 sourced some error messages in the lavc video provider
Originally committed to SVN as r2302.
2008-08-14 16:06:04 +00:00
Niels Martin Hansen
8129285630 Fix #759, correctly merge lines with identical text when exporting to simple subtitle formats.
Originally committed to SVN as r2301.
2008-08-11 00:02:36 +00:00
Karl Blomster
5b38a17529 replace a bunch of magic numbers (2) with bytes_per_sample
Originally committed to SVN as r2297.
2008-08-04 08:17:35 +00:00
Karl Blomster
217c228738 misc small fixes in the ffmpeg audio provider, preparation for support of other sample formats than just 16-bit int
Originally committed to SVN as r2296.
2008-08-04 07:13:41 +00:00
Karl Blomster
bc675ea7dd explicitly tell swscaler which scaling method to use (required by newer ffmpeg versions; no actual scaling is done, only colorspace conversion)
Originally committed to SVN as r2294.
2008-08-03 16:52:54 +00:00
Niels Martin Hansen
7342c2b617 Fix search/replace deleting part of line following the last match on that line. Also a minor optimisation.
Originally committed to SVN as r2280.
2008-07-23 16:09:27 +00:00
Niels Martin Hansen
c3c29518d4 Untested patch: Remove all traces of the update checker from non-Windows builds, since it causes more problems than it solves on those.
Originally committed to SVN as r2277.
2008-07-22 20:55:24 +00:00
Niels Martin Hansen
741476c96d Correct spelling error
Originally committed to SVN as r2274.
2008-07-22 00:33:25 +00:00
Niels Martin Hansen
7b110725d1 Oops, r2270 broke the build, missing a backslash in a string.
Originally committed to SVN as r2271.
2008-07-20 13:45:10 +00:00
Niels Martin Hansen
30a9bdc17c Implement/fix #751 and update changelog a bit.
Originally committed to SVN as r2270.
2008-07-20 13:34:42 +00:00
Niels Martin Hansen
eb5e8ea8a1 Corrections for TranStation export support. Format written was incorrect (a space placed on the wrong side of a bracket). Also added full support for alignments, and subtracting one frame from end times to avoid overlaps
Originally committed to SVN as r2269.
2008-07-18 21:10:48 +00:00
Niels Martin Hansen
94011adf93 Fix SMPTE timecode formatting, never round frame up to avoid things like frame 30 in a second in a 30 fps movie, where frame numbers go from 0 to 29.
Originally committed to SVN as r2268.
2008-07-18 20:43:07 +00:00
Niels Martin Hansen
270ca4f876 Rewrite recombining of overlapping lines for export to simple subtitle formats, and reorganisation of other functions also used in those exports
Originally committed to SVN as r2267.
2008-07-18 15:39:34 +00:00
Rodrigo Braz Monteiro
2d7b2527a7 OMFG AMZ IS ALIVE! Partial TranStation export support (SMPTE drop-frames seem to be broken, and line merging isn't working)
Originally committed to SVN as r2266.
2008-07-18 01:36:20 +00:00
Karl Blomster
0badb4059f Restructured audio providing a bit. If a provider cannot provide 16-bit mono audio with a sample rate higher than 32kHz, an intermediate converting provider will be inserted to fix it. Made the lavc audio provider rely on this for downmixing instead of doing it with libavcodec (used to fail on audio with >2 channels).
Originally committed to SVN as r2265.
2008-07-16 13:22:06 +00:00
Niels Martin Hansen
2bd33541c1 Fix #745 by explicitly setting the font name combo box value after filling it
Originally committed to SVN as r2264.
2008-07-16 12:10:00 +00:00
Niels Martin Hansen
624eb825a7 Fix #746, style editor now shows initial values in spin controls
Originally committed to SVN as r2263.
2008-07-16 11:30:53 +00:00
Niels Martin Hansen
dfa3e548a0 Fix colour picker buttons in style editor by making AssColor::GetWXColor() aware that alpha has the opposite meaning in wxColour and ASS
Originally committed to SVN as r2262.
2008-07-16 01:41:33 +00:00
Niels Martin Hansen
27e35e9434 Fix current colour display in colour picker dialogue
Originally committed to SVN as r2261.
2008-07-16 01:36:38 +00:00
Niels Martin Hansen
9c51d15a99 Fix recent colours box in colour picker on Mac
Originally committed to SVN as r2260.
2008-07-16 01:29:36 +00:00
Karl Blomster
e8dffb60ec add audio_provider_downmix.cpp to Makefile.am
Originally committed to SVN as r2259.
2008-07-15 22:49:02 +00:00
Karl Blomster
6bec0322e4 split out the downmixing audio provider into its own .h/.cpp, in preparation for using it in the ffmpeg audio provider.
Originally committed to SVN as r2257.
2008-07-15 21:31:09 +00:00
Niels Martin Hansen
d120a4758b Fix bug #742 and possibly also #465. Needs testing on non-Mac platforms to see if there's visual glitches with video visual typesetting toolbar.
Originally committed to SVN as r2256.
2008-07-15 17:49:15 +00:00
Karl Blomster
a836b89476 cosmetics and cleanup of unused code in video_provider_lavc.cpp
Originally committed to SVN as r2255.
2008-07-15 14:35:22 +00:00
Karl Blomster
904873f0d9 added option to allow potentially unsafe seeking with the ffmpeg video provider. named "ffmpeg allow unsafe seeking" and defaults to false.
Originally committed to SVN as r2254.
2008-07-15 14:24:00 +00:00
Karl Blomster
cdb2227024 unbroke compilation of the directshow video provider, broke with last commit. Patch by Harukalover.
Originally committed to SVN as r2253.
2008-07-15 12:44:53 +00:00
Karl Blomster
893ff2f78a Major rewrite of the video providing system. Hilights:
- It is now the responsibility of each video provider to provide a list of keyframe positions and (if it can) timecodes.
- The ffmpeg video provider now indexes files before opening them and does no longer rely on stream->duration to determine the number of frames. Fixes opening of MKV files, but it does not (currently) open timecodes automatically and reported keyframe positions seem way off. Status of frame-accuracy with MKV files unknown but it may very well work.
- Modified the way the ffmpeg video provider seeks (inspired by code from Myrsloik's ffmpegsource). Should no longer lose the first frame and should also no longer be frame-inaccurate, at least not with AVI.
- DirectShow video provider may or may not be completely broken, not tested.

Originally committed to SVN as r2252.
2008-07-15 00:08:05 +00:00
Karl Blomster
7e2b6afdf1 typo fix (patch by Harukalover)
Originally committed to SVN as r2251.
2008-07-14 22:56:49 +00:00
Karl Blomster
11f316c180 cosmetics and minor adjustments to ffmpeg keyframe reader
Originally committed to SVN as r2249.
2008-07-14 00:07:21 +00:00
Karl Blomster
32f7a53a68 vastly improved keyframe reading with ffmpeg, should be much faster and more reliable.
Originally committed to SVN as r2248.
2008-07-13 23:45:42 +00:00
Niels Martin Hansen
32cc996ce6 Harukalover's patch for bug #740
Originally committed to SVN as r2246.
2008-07-13 15:06:29 +00:00
Karl Blomster
46a6924531 added support for DivX (6.x and possibly 5.x) and x264 2-pass stats file to keyframe reader.
patch by Harukalover, see bugtracker issue #736.

Originally committed to SVN as r2244.
2008-07-09 16:48:19 +00:00
Niels Martin Hansen
923b347356 Some more checking in PCM provider. Had apparently missed a way EnsureRangeAceesibleble() could fail. This means of failure should no longer be possible.
Originally committed to SVN as r2240.
2008-07-05 12:50:49 +00:00
Karl Blomster
51c9856160 clarified downmixing error in ffmpeg audio provider
Originally committed to SVN as r2239.
2008-07-05 11:29:42 +00:00
Niels Martin Hansen
484a179798 Forgot to change the include guard when renaming the file, so <endian.h> defined _ENDIAN_H on some systems and thus aegisub_endian.h had no effect.
Originally committed to SVN as r2238.
2008-07-04 12:36:10 +00:00
Niels Martin Hansen
3d13fcfe5f Fix some minor warnings when building on GCC.
Originally committed to SVN as r2237.
2008-07-04 12:34:02 +00:00
Karl Blomster
e26b9fe0d5 overhaul of audio_provider_lavc.cpp. should fix the infamous skewing issue, tested and works on windows at least.
Originally committed to SVN as r2236.
2008-07-04 12:04:10 +00:00
Niels Martin Hansen
d01b4ec3e9 Yet some more sanity/error checking, although it should never be triggered.
Originally committed to SVN as r2235.
2008-07-04 11:59:28 +00:00
Niels Martin Hansen
0d56463aa4 A bit additional commenting and sanity checking in PCM provider.
Originally committed to SVN as r2234.
2008-07-04 11:37:45 +00:00
Karl Blomster
a1574d0a5f milisecond -> millisecond (patch by harukalover)
Originally committed to SVN as r2233.
2008-07-04 03:40:57 +00:00
Niels Martin Hansen
155388b456 Add secret option to disable use of the PCM provider, mainly intended for debugging: "Audio Disable PCM Provider" (default is false ie. PCM provider enabled)
Originally committed to SVN as r2232.
2008-07-04 03:24:25 +00:00
Niels Martin Hansen
2c7da25e91 Avoid strncmp() for checking fourCC codes and use a handcrafted function for it instead. Also add some assertions for null pointer checks.
Originally committed to SVN as r2231.
2008-07-04 03:06:55 +00:00
Niels Martin Hansen
a4fc3e8b13 Use compiler-specific defines when building universal for OS X to detect correct endianness and avoid using dynamic endian code for no reason.
Originally committed to SVN as r2230.
2008-07-04 01:05:16 +00:00
Karl Blomster
075bc5ec75 revert r2216 (changes to the libav* includes)
Originally committed to SVN as r2228.
2008-07-04 00:20:14 +00:00
Niels Martin Hansen
5c2e749421 Forgot to inline the dynamic endian code.
Originally committed to SVN as r2227.
2008-07-03 23:38:44 +00:00
Karl Blomster
910ff2e34e the "impossible" audio error is now really impossible
Originally committed to SVN as r2226.
2008-07-03 23:27:06 +00:00
Niels Martin Hansen
0fbe0a001f Don't use uint32_t in functions working on uint64_t, shifting uint32_t by 56 bits causes evil compiler warnings. On some compilers!
Originally committed to SVN as r2225.
2008-07-03 23:24:47 +00:00
Karl Blomster
d6ada6f0bd black magic for building with ffmpeg on windows
Originally committed to SVN as r2224.
2008-07-03 15:22:25 +00:00
Niels Martin Hansen
d1b8355ff2 Rename endian.h to aegisub_endian.h to avoid clash with system headers on some systems.
Originally committed to SVN as r2223.
2008-07-03 13:35:23 +00:00
Niels Martin Hansen
a7b64fe694 Make PCM WAV reading (almost) machine endian neutral. The actual sample data read are still assumed to be in machine endian, which will produce garbage output on big endian archs.
Originally committed to SVN as r2222.
2008-07-03 02:22:18 +00:00
Niels Martin Hansen
8384e83e71 Add functions to address endianness problems.
The configure.in script should be adjusted to define appropriate preprocessor tokens. Windows developers should update their config.h.

Originally committed to SVN as r2221.
2008-07-03 01:56:26 +00:00
Niels Martin Hansen
67bfd70f82 Add a function to remove items from MRU lists, in preparation for a fix for #717. Also a bit of prettyfication of the MRU handling code.
Originally committed to SVN as r2220.
2008-07-03 01:53:22 +00:00
Niels Martin Hansen
5a2e91c00a Updated Windows icon to re-made version. The 256x256 version is left uncompressed to be compatible with older RC.exe versions.
Originally committed to SVN as r2219.
2008-07-03 00:04:51 +00:00
Niels Martin Hansen
c7ab7c8104 Updated OS X icon, now also with 512x512 size
Originally committed to SVN as r2217.
2008-07-02 16:52:25 +00:00
Karl Blomster
40c709da72 change of #includes: <ffmpeg/*> to <libavstuff/*>
Originally committed to SVN as r2216.
2008-07-02 16:31:06 +00:00
Niels Martin Hansen
3599e6edd1 Further fixing on-crash message: s/We have tried/I have tried/
Originally committed to SVN as r2215.
2008-07-02 13:50:18 +00:00
Niels Martin Hansen
8217f202e7 Rewritten on-crash messages, hopefully easier to understand and act on now.
Untested, because I can't find a reliable way to crash Aegisub currently.

Originally committed to SVN as r2214.
2008-07-02 13:42:34 +00:00
Niels Martin Hansen
f5ded43d51 Applied Harukalover's patch for remembering last subtitle open directory also for files opened from commandline or drag/drop, bug #722.
Originally committed to SVN as r2212.
2008-06-24 20:31:23 +00:00
Alysson Souza
79cb1f1bd9 Applied Harukalover's patch - Added an effect field to find and search and replace dialogs
Originally committed to SVN as r2211.
2008-06-24 03:22:46 +00:00
Niels Martin Hansen
5330c541ca Possible fix for #719
Originally committed to SVN as r2210.
2008-06-21 21:13:00 +00:00
Niels Martin Hansen
36f19a9d42 Fix #688 by moving the time display one line down when in karaoke mode.
Originally committed to SVN as r2209.
2008-06-21 18:34:57 +00:00
Niels Martin Hansen
025869468b Fix #704 with a slightly dirty hack.
Originally committed to SVN as r2208.
2008-06-21 17:25:00 +00:00
Niels Martin Hansen
59a5e8f3b3 Fix #684, I hope. Redid the case-insensitive Replace All algorithm to replace from a Right side into a Left side, also avoiding use of wx 1.x compatibility functions and doing proper case-insensitive compares rather than searching a lowercased string for a lowercased substring.
Originally committed to SVN as r2204.
2008-06-15 17:56:05 +00:00
Niels Martin Hansen
ff081c0ae9 Fix #701, make sure plain-text lines pasted from clipboard are always blank-timed, ie. start and end time are zero.
Originally committed to SVN as r2202.
2008-06-15 13:18:28 +00:00
Niels Martin Hansen
51a16f823e Yet another attempt to fix #521, 'Cannot wait for thread termination' in rare cases with the DirectSound audio player.
Make the playback thread detached so it will kill itself when it has run to end, instead of having to wait for it. This way it is never required to wait for the thread. When the thread has been signalled to stop it is simply abandoned and left to die for itself.

Originally committed to SVN as r2201.
2008-06-15 12:59:49 +00:00
Niels Martin Hansen
324ce7dbff Be explicit about some type conversions in OpenAL audio player to avoid warnings. Fixes #651.
Originally committed to SVN as r2200.
2008-06-15 12:43:56 +00:00
Niels Martin Hansen
1c60d35d16 Fix #695, close Translation Assistant when there are no more lines to translate.
Originally committed to SVN as r2199.
2008-06-15 12:20:51 +00:00
Niels Martin Hansen
6f23c635be Left-dragging the selection start marker in the audio display now only restarts the selection after a threshold defined by the Audio Start Drag Sensitivity option. A commented-out editbox for this value is added to the Options dialogue, it is commented out due to the feature freeze towards 2.2.0.
This should fix #703.

Originally committed to SVN as r2198.
2008-06-15 12:11:04 +00:00
Niels Martin Hansen
f3fe600714 Improved error reporting in AVIFile keyframe reading code (#715).
Originally committed to SVN as r2197.
2008-06-14 22:07:48 +00:00
pstatic
5942928b45 fix bug #595, with spell check
Originally committed to SVN as r2196.
2008-06-01 03:44:41 +00:00
pstatic
d65b697e12 Add workaround for what looks like a ffmpeg bug
Originally committed to SVN as r2194.
2008-05-21 20:03:39 +00:00
Alysson Souza
4e334cb1d1 oops, forgot to commit hotkeys.cpp
Originally committed to SVN as r2191.
2008-05-09 05:03:40 +00:00
Alysson Souza
baf52a3430 Applied Harukalover's patch #2 - Added play audio/video buttons to Styling Assistant
Originally committed to SVN as r2190.
2008-05-09 04:27:10 +00:00
Alysson Souza
0de8190b21 Applied Harukalover's patch #1 - Added play audio/video buttons to Translation Assistant
Originally committed to SVN as r2189.
2008-05-09 03:43:47 +00:00
Rodrigo Braz Monteiro
8918fb6296 Added a little very specific hacked up tool that isn't enabled unless you modify config.dat.
Originally committed to SVN as r2185.
2008-04-21 16:41:46 +00:00
Amar Takhar
b012a3149c Freetype/Fontconfig were pushed under two conditionals beacuse on Darwin we use
Freetype to list fonts (it uses native features).  When support for glibc iconv
was added the case broke and set $build_linux, the conditional for the
fontconfig font lister was $build_default which no longer got triggered.  Puts
the font listers under FONTLISTER_(FONTCONFIG|FREETYPE) conditional upon
$build_darwin being no/yes.

Originally committed to SVN as r2180.
2008-04-13 17:44:54 +00:00
Amar Takhar
aa7cc5a2dc Add support for CSRI (ASA), this has been tested and confirmed as working.
Compiling libass/asa in at the same time is OK.

Originally committed to SVN as r2174.
2008-04-13 05:10:27 +00:00
Amar Takhar
0734c81d9e Whoops, re-add nuked } after 'extern "C" {' that got removed when the __WINDOWS__ wrap
was removed.

Originally committed to SVN as r2173.
2008-04-13 04:47:33 +00:00
Amar Takhar
0607976605 Remove the __WINDOWS__ around 'include "../libass/ass.h"', I didn't notice this
on my system since I have ass/ass.h in /usr/local/include.  The header hasn't
changed so no damage done, unless you don't have libass installed.

Originally committed to SVN as r2169.
2008-04-06 15:08:43 +00:00
Niels Martin Hansen
58788ea5ce Change default ALSA output device to something more sensible, namely 'default:0'.
Originally committed to SVN as r2162.
2008-03-31 17:55:21 +00:00
Amar Takhar
7746efa54e * Fix ICONV_CFLAGS / ICONV_LDFLAGS so they're properly propogated during the
build.
* s/ICONV_LIBS/ICONV_LDFLAGS/ to fix the addtion of ICONV_LDFLAGS during final
  linking.

Originally committed to SVN as r2159.
2008-03-30 08:08:43 +00:00
Amar Takhar
0cf6fce7de Add -L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries to
aegisub_LDFLAGS, for now we don't do any GL link checks so there is no point in
adding it to configure.

Originally committed to SVN as r2158.
2008-03-30 06:35:00 +00:00
Amar Takhar
cfa2003553 Sigh, really fix the typo(s).
Originally committed to SVN as r2157.
2008-03-30 06:17:08 +00:00
Amar Takhar
cc25285ddd Fix typo that slipped into previous commit.
Originally committed to SVN as r2156.
2008-03-30 06:13:36 +00:00
Amar Takhar
ad63c0fbac Add a check for avutil, conditional on BUILD_DARWIN which is required on OSX.
Originally committed to SVN as r2155.
2008-03-30 06:11:45 +00:00
Amar Takhar
0fb1fee1a8 * Add target platform detection, at the moment this only uses OS info.
* Fix font_file_lister to use fontconfig for unix, freetype for OS X
* Set bevelbutton to be conditional for Darwin only. (this fixes the header
  missing header as well)

Originally committed to SVN as r2152.
2008-03-29 22:30:30 +00:00
Amar Takhar
b7af0a06d5 * Add a detection for platform/arch.
* Add a new condtitional BUILD_DARWIN for fontconfig/freetype font listing
  support.

Originally committed to SVN as r2150.
2008-03-26 23:58:39 +00:00
Niels Martin Hansen
abeaf06776 Possible fix for bevelButton problem
Originally committed to SVN as r2149.
2008-03-26 23:28:12 +00:00
Amar Takhar
3cd825e98b c_str() on _filename.
Originally committed to SVN as r2147.
2008-03-25 23:51:54 +00:00
Amar Takhar
91c641789f Remove #ifdef __APPLE__ glue, this will be the same as UNIX, eventually.
Originally committed to SVN as r2146.
2008-03-25 23:43:28 +00:00
Amar Takhar
ffaac724e1 Remove a !defined(__APPLE__) around #include "lavc_keyframes.h", also add a c_str().
Originally committed to SVN as r2145.
2008-03-25 23:42:39 +00:00
Amar Takhar
5ad19a2558 More .cstr().
Originally committed to SVN as r2144.
2008-03-25 23:08:28 +00:00
Amar Takhar
f0f0d541b6 Add a .c_str(); to _filename (line 83)
Originally committed to SVN as r2143.
2008-03-25 23:01:29 +00:00
Karl Blomster
cd177995d2 added same flag to win64 config0.h.
Originally committed to SVN as r2139.
2008-03-24 12:21:44 +00:00
Karl Blomster
4e3529930d added new config.h define, WITH_STATIC_FFMPEG, to make it possible to link ffmpeg as a static library instead of dynamic.
Originally committed to SVN as r2138.
2008-03-24 12:19:17 +00:00
Karl Blomster
7be56fbcd4 cast some lavc context variables to int (avoids warning treated as error when compiling WITH_FFMPEG on msvc)
Originally committed to SVN as r2137.
2008-03-24 11:30:35 +00:00
pstatic
cbf7143b85 typo in audio_provider_pcm
Originally committed to SVN as r2131.
2008-03-24 02:44:45 +00:00
Niels Martin Hansen
08910b5a9d Make PCM audio provider access the file memory mapped instead of through regular file access, per bug #686. Tested to work on Windows.
I've also added a POSIX implementation but it's untested and might not even build.
The implementation is not actually thread safe, but this shouldn't be a problem in most cases, yet. It should still be fixed at some point.

Originally committed to SVN as r2130.
2008-03-24 00:10:09 +00:00
Amar Takhar
e4d77f6474 Completely remove support for an external libass:
* The internal libass will always be newer than external packages.
  * aegisub requires fontconfig _and_ iconv support, some systems have
    either/or but rarely both.
  * There's zero benifit to supporting an external version.

In the future I might add some flags to allow it, if there is a compelling
reason to.

Originally committed to SVN as r2125.
2008-03-23 22:56:21 +00:00
Karl Blomster
2c495b5d80 casting
Originally committed to SVN as r2119.
2008-03-23 12:36:16 +00:00
Karl Blomster
b6d8b403d6 fix catastrophic failure in last commit
Originally committed to SVN as r2116.
2008-03-22 22:48:59 +00:00
Karl Blomster
e61d333297 warn the user if audio skew is likely
Originally committed to SVN as r2115.
2008-03-22 22:45:46 +00:00
Karl Blomster
76469421e4 minor tweaks to the lavc audio provider.
Originally committed to SVN as r2114.
2008-03-22 22:18:43 +00:00
Amar Takhar
a86a882c0a Remove files not required by the macosx build.
Originally committed to SVN as r2103.
2008-03-22 08:35:30 +00:00
Amar Takhar
ca920eea36 Remove comments about adding revision / build credit support.
Originally committed to SVN as r2102.
2008-03-22 08:24:52 +00:00
Amar Takhar
5da0b16f48 Move WITH_INTERNAL_LIBASS beove WITH_LIBASS for clarity.
Originally committed to SVN as r2101.
2008-03-22 08:24:21 +00:00
Amar Takhar
65e92e8e3c * Sort program sources in alphabetical order.
* Put program headers under aegisub_SOURCES and external headers under
  noinst_HEADERS.

Originally committed to SVN as r2099.
2008-03-22 08:20:28 +00:00
Amar Takhar
04e9ff224f Add support for an 'internal' libass, with this we can chase changes to the
libass in MPlayer which is more up-to-date than the external library that's
available.

Originally committed to SVN as r2096.
2008-03-21 21:01:03 +00:00
Karl Blomster
9a7bbc9b93 missing semicolon in last commit
Originally committed to SVN as r2095.
2008-03-21 20:35:59 +00:00
Karl Blomster
ee04563ff6 attempt at fixing the lavc audio skew problems by making very very sure all data in each packet is decoded.
Originally committed to SVN as r2094.
2008-03-21 20:30:34 +00:00
Karl Blomster
6d8f862aed cleanup of the lavc audio provider; renamed some variables, added some comments and restructured a bit. as an added improvement it will now no longer resample unless strictly necessary.
Originally committed to SVN as r2093.
2008-03-21 19:52:14 +00:00
Rodrigo Braz Monteiro
398da989f9 Fixed small OpenMP bug.
Originally committed to SVN as r2089.
2008-03-21 03:02:39 +00:00
Amar Takhar
21b3db9b2a Enable OpenMP globally, at amz's suggestion. (if this breaks things, it's his
fault.)

Originally committed to SVN as r2088.
2008-03-21 02:59:57 +00:00
Amar Takhar
d71641db51 s/WIN32/__WINDOWS__/ to stop a define collision with universalchardet. This is
a temp solution as the real fix is sorting out universalchardet to build
correctly.

Originally committed to SVN as r2087.
2008-03-21 02:41:46 +00:00
Amar Takhar
2b730ac4fa Move charset_detect.h above text_file_reader.cpp, universalchardet is defining,
or undefining things that doesn't make fstream very happy.

Originally committed to SVN as r2086.
2008-03-21 02:22:00 +00:00
Amar Takhar
90e9e6fef1 Re-enable univerchardet (for now), also make it use STL rather than stdio (which
isn't complete)

Originally committed to SVN as r2085.
2008-03-20 22:24:28 +00:00
Rodrigo Braz Monteiro
735aebb393 Fixed a litle oops from last commit.
Originally committed to SVN as r2084.
2008-03-20 21:58:21 +00:00
Rodrigo Braz Monteiro
db0cc24ae3 Originally committed to SVN as r2083. 2008-03-20 21:48:47 +00:00
Amar Takhar
1f23637cd2 Fix auto4/auto3 (lua51/lua50) support, this removes the --with-* flags in favor
of LUA_(C|LD)FLAGS and LUA50_(C|LD)FLAGS, also add the LUA LDFLAGS to LIBS like
perl in order to have it bring in the symbols properly, this is a temp measure
until we have modules.

Originally committed to SVN as r2082.
2008-03-20 21:24:01 +00:00
Rodrigo Braz Monteiro
b102ed05c1 Fixed dummy video provider and possibly fixed dvd sub generation.
Originally committed to SVN as r2079.
2008-03-18 05:24:21 +00:00
Niels Martin Hansen
3ead72329c Change default font encoding for new styles to 1, to make more fonts behave sensibly by default
Originally committed to SVN as r2064.
2008-03-15 21:34:55 +00:00
Niels Martin Hansen
426917c9a6 The progress dialogues should be centered on parent (too), certainly not on the primary monitor.
Originally committed to SVN as r2057.
2008-03-14 19:40:28 +00:00
Rodrigo Braz Monteiro
78cb8f53ff Applied shurik's patch to hopefully fix Lua's linking issues on Linux.
Originally committed to SVN as r2054.
2008-03-14 06:17:32 +00:00
Karl Blomster
521632cd9b changed output buffer size to AVCODEC_MAX_AUDIO_FRAME_SIZE which is what it's actually malloc()'ed as. might actually work now.
Originally committed to SVN as r2052.
2008-03-14 05:14:30 +00:00
Karl Blomster
56370f0f4a hurf de durf, didn't consider the fact that some audio packets might not have any actual content. return value of avcodec_decode_audio2() is now checked against < 0 again.
Originally committed to SVN as r2051.
2008-03-14 04:38:30 +00:00
Rodrigo Braz Monteiro
72145e8fa8 Fixed some warnings on g++.
Originally committed to SVN as r2046.
2008-03-13 20:27:25 +00:00
Rodrigo Braz Monteiro
cee958b2d3 Raised the warning level on MSVC8 to 4, and fixed several warnings caused by that.
Originally committed to SVN as r2045.
2008-03-13 19:12:55 +00:00
Rodrigo Braz Monteiro
c248ca39f2 Fixed several warnings on g++.
Originally committed to SVN as r2044.
2008-03-13 18:55:09 +00:00
Rodrigo Braz Monteiro
6e5f23c1cd Added missing virtual destructors.
Originally committed to SVN as r2043.
2008-03-13 18:06:13 +00:00
Karl Blomster
3cade86767 check the return value of avcodec_decode_audio2() against <= 0, not just < 0 (both indicate no audio decoded)
Originally committed to SVN as r2042.
2008-03-13 08:41:21 +00:00
Karl Blomster
47f6f2aed6 Replaced deprecated function avcodec_decode_audio() with nondeprecated version avcodec_decode_audio2() in audio_provider_lavc.cpp. Maybe possibly potentially hopefully fixes mp3 decoding problems?
Originally committed to SVN as r2041.
2008-03-13 08:30:40 +00:00
Rodrigo Braz Monteiro
0e3333e4f8 (Hopefully?) fixed auto4-lua colour buttons.
Originally committed to SVN as r2027.
2008-03-12 07:19:05 +00:00
Alysson Souza
e9004aa0f9 Semi-broken support for colour buttons in auto4-lua
Originally committed to SVN as r2026.
2008-03-12 07:04:07 +00:00
Rodrigo Braz Monteiro
0a931d3f45 wxSTC SUCKS. Note: never call SetWindowStyle() on it, or it'll break the keyboard handling.
Originally committed to SVN as r2025.
2008-03-11 23:58:43 +00:00
shb
5ceebc02a2 Maybe a fix to autoperl crashing
Originally committed to SVN as r2024.
2008-03-11 23:30:59 +00:00
Rodrigo Braz Monteiro
ae67877863 Another jab at fixing scintilla control border on posix. Also changed how it looks on Windows XP/Vista.
Originally committed to SVN as r2019.
2008-03-11 07:05:19 +00:00
Amar Takhar
722c1c6dc8 Mutter more library ordering, DynaLoader.a has to be after libauto4_perl.a so
I've used LIBS= for now (not sure if this is right but we'll see)

Originally committed to SVN as r2018.
2008-03-11 06:31:06 +00:00
Rodrigo Braz Monteiro
92d26be928 Hopefully changed scintilla border for wxgtk
Originally committed to SVN as r2017.
2008-03-11 06:30:59 +00:00
Amar Takhar
c3008be27f Aparrantly the CFLAGS to plugin_manager.cpp were never needed in the first
place, it was the result of a missed change for perl automation.

Originally committed to SVN as r2016.
2008-03-11 06:19:20 +00:00
Rodrigo Braz Monteiro
5596fa106e Moved auto3 and perl factories to their own headers to avoid including library headers.
Originally committed to SVN as r2015.
2008-03-11 06:10:00 +00:00
Amar Takhar
cdf86550f2 Sigh, GNU LD can be really annoying at times, most linkers will only pull a
symbol in from a static library if that symbol is used. (how it should work)
However! if you place the library that *uses* those symbols *after* the
libraries that have them, then the gnu ld will skip past those symbols, they
will never get included and you'll get a linking error.. There are two fixes,
tell LD to scan all libraries twice (non-portable?) or just put the libraries in
an order that LD can deal with.  (annoying!)

Originally committed to SVN as r2014.
2008-03-11 06:07:08 +00:00
Amar Takhar
311b78afec Put plugin_manager.cpp into it's own library, since it needs to be sent all
CFLAGS for any enabled automation. (this is temp until we have actual working
plugins)

Originally committed to SVN as r2013.
2008-03-11 05:45:45 +00:00
Amar Takhar
02abe1f0f8 It never ceases to amaze me how badly gawk can munge a perfectly compliant AWK
file, die gawk. die: It ate the line endings on lines wrapped using \ instead of
keeping the CR's it put everything on one line even though hard CR's were used.

Originally committed to SVN as r2012.
2008-03-11 05:41:14 +00:00
Rodrigo Braz Monteiro
7c505f06d4 Improved Aegisub's exception handling and crash log generation.
Originally committed to SVN as r2008.
2008-03-10 06:28:21 +00:00
Niels Martin Hansen
bb31ddb1da Re-introduce the wxBevelButton control of old and use it for Commit button in subs edit area on wxMac builds.
Originally committed to SVN as r2006.
2008-03-09 23:40:45 +00:00
Niels Martin Hansen
7c8e990766 Revert r2004, wxEXPAND looks ugly.
Originally committed to SVN as r2005.
2008-03-09 23:00:03 +00:00
Niels Martin Hansen
f6e12ba05a Experimentally add wxEXPAND flags to style/actor/effect controls to possibly fix alignment problems on Mac.
Originally committed to SVN as r2004.
2008-03-09 22:54:24 +00:00
Niels Martin Hansen
1248cd264f Some changes to subs edit area toolbuttons sizing
Originally committed to SVN as r2003.
2008-03-09 22:31:16 +00:00
Rodrigo Braz Monteiro
c833156e8b Now attempting to solve automation issues with Evolutionary programming: keep changing random shit until something works well, repeat until fixed.
Originally committed to SVN as r2002.
2008-03-09 22:07:17 +00:00
Rodrigo Braz Monteiro
ed7a434a9e More messing around with Lua.
Originally committed to SVN as r2001.
2008-03-09 21:49:46 +00:00
Rodrigo Braz Monteiro
777242fce3 2000 GET!! Changed how the Lua factory is registered.
Originally committed to SVN as r2000.
2008-03-09 21:36:24 +00:00
Rodrigo Braz Monteiro
f8d7c69c15 Changed how the Perl factory is registered.
Originally committed to SVN as r1999.
2008-03-09 21:33:35 +00:00
Niels Martin Hansen
d7ad931526 Rename Automation4::LuaStackcheck::check() to avoid clash with some define somewhere.
Originally committed to SVN as r1998.
2008-03-09 21:09:51 +00:00
Rodrigo Braz Monteiro
f20fc57d22 Possible fix for Perl.
Originally committed to SVN as r1997.
2008-03-09 21:00:55 +00:00
Rodrigo Braz Monteiro
825b2f3af0 Fixed registration of Ruby automation.
p.s.: embedding ruby on vc++ sucks.

Originally committed to SVN as r1996.
2008-03-09 19:01:54 +00:00
Rodrigo Braz Monteiro
a72c3abb3c Changed the way that automation factories are registered.
Originally committed to SVN as r1995.
2008-03-09 18:19:15 +00:00
Rodrigo Braz Monteiro
9f5d3e7a6e More stuff in subs lib.
Originally committed to SVN as r1991.
2008-03-09 17:25:12 +00:00
Rodrigo Braz Monteiro
fe8ed21878 Added a "reverse" option to export framerate.
Originally committed to SVN as r1988.
2008-03-09 05:32:02 +00:00
Rodrigo Braz Monteiro
88b845852a Modifications for 2.1.2
Originally committed to SVN as r1987.
2008-03-09 04:16:52 +00:00
Niels Martin Hansen
49d7b55755 Possible fix for crash in LAVCKeyframes constructor
Originally committed to SVN as r1986.
2008-03-09 00:04:30 +00:00
Rodrigo Braz Monteiro
79b82b9167 Possible fix to lavc crash.
Originally committed to SVN as r1984.
2008-03-08 23:41:24 +00:00
Amar Takhar
48af40fa26 Add include/aegisub/* headers.
Originally committed to SVN as r1981.
2008-03-08 22:22:01 +00:00
Amar Takhar
af18413a7b Remove unused 'beautify' script.
Originally committed to SVN as r1980.
2008-03-08 22:21:44 +00:00
Amar Takhar
0e00389079 Add .c_str() to line 300 (filename).
Originally committed to SVN as r1976.
2008-03-08 20:38:03 +00:00
Amar Takhar
ad1d357c61 ADd missing video_provider_manager.cpp and remove video_provider.cpp.
Originally committed to SVN as r1975.
2008-03-08 20:37:32 +00:00
Rodrigo Braz Monteiro
8227971186 Another battle in the String Hell War
Originally committed to SVN as r1974.
2008-03-08 18:13:42 +00:00
Rodrigo Braz Monteiro
045f60da35 Reverted last commit.
Originally committed to SVN as r1973.
2008-03-08 18:04:51 +00:00
Amar Takhar
ea8d16dabe More s/wxString/Aegisub::String/ changes.
Originally committed to SVN as r1972.
2008-03-08 08:13:46 +00:00
Amar Takhar
fc14717b71 Fix header -> subtitles_provider_manager.h
Originally committed to SVN as r1970.
2008-03-08 07:51:23 +00:00
Amar Takhar
c501ae6e2e Add -Iinclude to the list of CXX_FLAGS.
Originally committed to SVN as r1969.
2008-03-08 07:50:10 +00:00
Amar Takhar
6246c3998d s/wxString/Aegisub::String/ in many places.
Originally committed to SVN as r1967.
2008-03-08 04:27:41 +00:00
Amar Takhar
7c4c825cef Missed a header change in the OpenAL header.
Originally committed to SVN as r1963.
2008-03-07 21:53:46 +00:00
Amar Takhar
576dd4576e s/audio_player.h/audio_player_manager.h/ for ALSA and OpenAL.
Originally committed to SVN as r1962.
2008-03-07 21:48:36 +00:00
Amar Takhar
b666b0aeb9 s/audio_provider.h/audio_provider_manager.h/ for ALSA, OpenAL and Pulse.
Originally committed to SVN as r1961.
2008-03-07 21:47:20 +00:00
Rodrigo Braz Monteiro
a8b4c5521d Fixed include in portaudio player.
Originally committed to SVN as r1960.
2008-03-07 21:43:45 +00:00
Rodrigo Braz Monteiro
abbab149a6 (Maybe) fixed lavc after previous commit.
Originally committed to SVN as r1959.
2008-03-07 21:27:36 +00:00
Rodrigo Braz Monteiro
6b12f54d72 Changed video provider to not depend on wxWidgets.
Originally committed to SVN as r1958.
2008-03-07 21:24:14 +00:00
Rodrigo Braz Monteiro
4f4f4cc91f Moved files relevant to providers to aegisub/include. A few things might be broken.
Originally committed to SVN as r1956.
2008-03-07 21:00:20 +00:00
Amar Takhar
09abd27acf Fix Hunspell support for the older versions (1.1.10 and older?)
Originally committed to SVN as r1955.
2008-03-07 16:38:55 +00:00
Alysson Souza
c93d6d57b2 Fixed #688, related to "Replace All" always being case sensitive
Originally committed to SVN as r1952.
2008-03-07 05:34:01 +00:00
Rodrigo Braz Monteiro
d40168007f Updated version.cpp for the new release.
Originally committed to SVN as r1951.
2008-03-07 04:21:26 +00:00
Amar Takhar
1cb32448ce Remove factory.h.
Originally committed to SVN as r1950.
2008-03-07 04:11:27 +00:00
Amar Takhar
39d0e31fa5 Add missing video_provider_cache.cpp.
Originally committed to SVN as r1948.
2008-03-07 03:52:19 +00:00
Rodrigo Braz Monteiro
f2ca0c4fd3 Removed obsolete registration for providers.
Originally committed to SVN as r1947.
2008-03-07 03:50:43 +00:00
Rodrigo Braz Monteiro
974efa126b Modified all providers to separate them between factory and factory manager. This will make plugin system easier. Also, made hunspell register manually as well.
Originally committed to SVN as r1946.
2008-03-07 02:32:29 +00:00
Rodrigo Braz Monteiro
6bdee2a765 Originally committed to SVN as r1945. 2008-03-07 00:47:57 +00:00
Amar Takhar
e65fdf1fcf The source files for universalcharset support can be compiled with or without
actual support.  If they're compiled without then we don't need the fake
library, if they are, then include them into a library so we can send the proper
CFLAGS.

Originally committed to SVN as r1944.
2008-03-07 00:35:48 +00:00
Amar Takhar
8c7eb8f404 Remove useless __WINDOWS__ wrap around USE_UNIVCHARSET
Originally committed to SVN as r1943.
2008-03-07 00:34:45 +00:00
Rodrigo Braz Monteiro
7d7ea83d23 -__-
Originally committed to SVN as r1940.
2008-03-07 00:17:03 +00:00
Rodrigo Braz Monteiro
eb5be3115a Fixed directshow... again.
Originally committed to SVN as r1939.
2008-03-07 00:09:58 +00:00
Rodrigo Braz Monteiro
9c8c8831ec Fixes to directshow video provider.
Originally committed to SVN as r1937.
2008-03-07 00:00:40 +00:00
Rodrigo Braz Monteiro
d9e254533a Hopefully fixed a crash with mouse wheel on associations Window.
Originally committed to SVN as r1936.
2008-03-06 23:41:27 +00:00
Rodrigo Braz Monteiro
cf3a233970 Prevented Aegisub from saving .txt files directly. (Fix for #653)
Originally committed to SVN as r1935.
2008-03-06 23:36:43 +00:00
Rodrigo Braz Monteiro
b19737c628 Fixed copying of video coordinates to clipboard.
Originally committed to SVN as r1934.
2008-03-06 23:27:54 +00:00
Rodrigo Braz Monteiro
03d4f3fc94 Fix for translation assistant (#669)
Originally committed to SVN as r1933.
2008-03-06 23:21:03 +00:00
Rodrigo Braz Monteiro
30f12ef7e8 Fixed lavc and directshow video providers.
Originally committed to SVN as r1932.
2008-03-06 22:34:28 +00:00
Amar Takhar
1b5175ef97 Sigh, remove one more reference to csri header files. I'm planning on redoing
the lower part of this file after we start moving to modules.

Originally committed to SVN as r1931.
2008-03-06 22:19:59 +00:00
Amar Takhar
b323e9b4f1 Forgot to remove the csri headers during the removal of the svn:externals link
to the include dir.

Originally committed to SVN as r1930.
2008-03-06 22:15:05 +00:00
Rodrigo Braz Monteiro
2c2664d4d8 Fixed some typos in csri subs provider header.
Originally committed to SVN as r1929.
2008-03-06 21:58:06 +00:00
Rodrigo Braz Monteiro
bb7177dcfb Fixed #662, that resulted in crashes when trying to load an empty avs file.
Originally committed to SVN as r1927.
2008-03-06 21:38:40 +00:00
Rodrigo Braz Monteiro
2e7a77ec64 Changed charset detection to always include local charset (hopeful fix to #676)
Originally committed to SVN as r1926.
2008-03-06 20:49:04 +00:00
Rodrigo Braz Monteiro
d447236571 Fixed issue #673, related to concatenation of null-timed lines.
Originally committed to SVN as r1924.
2008-03-06 19:57:14 +00:00
Rodrigo Braz Monteiro
9cd698f673 Fixed issue #675, that caused insertion of override tags to be unable to reach the end of the line when characters over U+7F were present.
Originally committed to SVN as r1923.
2008-03-06 19:53:45 +00:00
Rodrigo Braz Monteiro
3327fc0154 Fixed issue #674, related to ScaledBorderAndShadow being erased by Clean Script Info
Originally committed to SVN as r1922.
2008-03-06 19:43:47 +00:00
Rodrigo Braz Monteiro
853fbfaebd Fixed #671, related to VFR transformation erasing templater tags.
Originally committed to SVN as r1921.
2008-03-06 19:40:24 +00:00
Rodrigo Braz Monteiro
b1eb77e1b9 Ops, a few missing files from provider change.
Originally committed to SVN as r1920.
2008-03-06 19:21:18 +00:00
Rodrigo Braz Monteiro
bed7f3ed8d Modified the video provider interface to be a true interface, and moved all caching routines to another video provider that can be chained.
Originally committed to SVN as r1918.
2008-03-06 19:20:25 +00:00
Amar Takhar
db5580f1cc Make the csri.h header a relative include and wrap it with __WINDOWS__, in the
future I'll remove all of these ifdefs and fix the windows vcproj files so we
can have the same includes for all operating systems.

Originally committed to SVN as r1916.
2008-03-06 17:01:19 +00:00
Amar Takhar
b62b58ed6f Fix OpenAL on UNIX by wrapping the Windows headers with __WINDOWS__ (AL/al.h),
the OS X headers with __APPLE__ (OpenAL/AL.h).  The default will be the UNIX
location (AL/a.h).

Originally committed to SVN as r1908.
2008-03-05 20:16:31 +00:00
Amar Takhar
f55ffd6d91 * Add support for universalchardet
* Fix #ifdef for STIDO/fstream with a proper ifdef/else
 * Make auto3 subdir inclusion conditional
 * Rename libspell_hunspell to libmisc*

Please note that universalchardet is only set to work with X86 for now, I'll fi$
the rest later.

Originally committed to SVN as r1907.
2008-03-05 18:52:09 +00:00
Amar Takhar
896cfc112b Wrap ass/ass.h with __WINDOWS__ as the UNIX build uses the system version.
Originally committed to SVN as r1904.
2008-03-05 16:50:14 +00:00
Amar Takhar
8e8f45c715 Wrap LUA includes with __WINDOWS__, the Windows build uses rolled package that
has support for unicode pathnames, UNIX does not require this support so system
installs are used.

Originally committed to SVN as r1900.
2008-03-05 04:10:20 +00:00
Rodrigo Braz Monteiro
a9984a2741 Fixed a link error with libass.
Originally committed to SVN as r1898.
2008-03-05 03:46:29 +00:00
Rodrigo Braz Monteiro
c3d1128efd Blame you-know-who.
Originally committed to SVN as r1897.
2008-03-05 03:31:20 +00:00
Rodrigo Braz Monteiro
5795012adb Yet another fix, now to libass.
Originally committed to SVN as r1896.
2008-03-05 03:24:01 +00:00
Rodrigo Braz Monteiro
7659293a21 Fixed compiling of lavc video provider.
Originally committed to SVN as r1895.
2008-03-05 03:20:55 +00:00
Rodrigo Braz Monteiro
1b96e656ff ...And done making subtitle providers register manually. If anything goes wrong, blame movax.
Originally committed to SVN as r1894.
2008-03-05 02:58:11 +00:00
Rodrigo Braz Monteiro
ee61192c43 Made audio players register manually.
Originally committed to SVN as r1893.
2008-03-05 02:43:01 +00:00
Rodrigo Braz Monteiro
30d1aeb551 ops.
Originally committed to SVN as r1892.
2008-03-05 02:23:47 +00:00
Rodrigo Braz Monteiro
b1b2c3d7fb Changed audio providers to register manually.
Originally committed to SVN as r1891.
2008-03-05 02:19:50 +00:00
Rodrigo Braz Monteiro
59f1962e7c Changed video providers to be initialized explicitly. (Only avisynth tested, though)
Originally committed to SVN as r1890.
2008-03-05 02:05:01 +00:00
Niels Martin Hansen
5047295635 Separate general Auto4 support and Auto4 Lua support into different defines in source
Originally committed to SVN as r1889.
2008-03-04 23:17:07 +00:00
Amar Takhar
8798ebd38f s/AM_CPPFLAGS/AM_CXXFLAGS/, CXXFLAGS are sent to every file including libraries.
(This was a typo on my part that I didn't notice until now.)

Originally committed to SVN as r1887.
2008-03-04 17:16:32 +00:00
Amar Takhar
7b9af6a159 * Fix all per-conditional/'library' CFLAGS (this fixes all library building).
* Fix 1 cut-and-past-o

Originally committed to SVN as r1884.
2008-03-04 04:15:14 +00:00
Amar Takhar
f5764fa2e4 Add support for OpenAL.
Originally committed to SVN as r1880.
2008-03-04 00:59:02 +00:00
Amar Takhar
76ed1d4ad8 I forgot to add all the required libraries (on condition) to the final link.
Originally committed to SVN as r1875.
2008-03-03 09:59:59 +00:00
Amar Takhar
ed4e70fae8 Add preliminary support for the swscale library if swscale is not included
in ffmpeg, there are some linux distro's running ancient versions still.

Originally committed to SVN as r1872.
2008-03-03 08:57:08 +00:00
Amar Takhar
b1c441ff73 Commit the new build system (complete re-write), this includes several changes:
* Sane C/CXX/CPP/LDFLAGS
 * --with/--without settings
 * Proper gettext support
 * System portability changes (to support OS X and all other unix-like osen)
 * Features to allow for proper compile time settings (support exists features
   need to be added)

This comes with no warrenty at the moment, auto3 and asa support are both
incomplete/non-existent, there is no documentation and some conftests still nee$
to be written.

It's still incomplete try it at your own risk!

Originally committed to SVN as r1865.
2008-03-03 07:22:58 +00:00
Rodrigo Braz Monteiro
d23733da21 Hopefully fixed crash on search dialog.
Originally committed to SVN as r1861.
2008-02-15 21:47:09 +00:00
shb
5fd966f0f3 Various improvements to autoperl
Originally committed to SVN as r1858.
2008-02-03 19:21:02 +00:00
Rodrigo Braz Monteiro
9eb12b0f36 Fixed source-wide spelling of the word adjacent.
Originally committed to SVN as r1856.
2008-01-27 22:09:47 +00:00
Rodrigo Braz Monteiro
3ee6d78939 Increased the default vertical size of audio display from 100 to 200.
Originally committed to SVN as r1854.
2008-01-27 18:30:16 +00:00
Rodrigo Braz Monteiro
c583f15082 Fixed button to open assdraw... again
Originally committed to SVN as r1852.
2008-01-27 16:58:15 +00:00
Rodrigo Braz Monteiro
b2a854396c Fixed ASSDraw3 and building of auto4-perl with console disabled.
Originally committed to SVN as r1849.
2008-01-27 03:04:42 +00:00
shb
9a7012de0b Made PerlConsole compilation optional. Added a funny line in autoperl docs.
Originally committed to SVN as r1848.
2008-01-27 01:22:01 +00:00
Rodrigo Braz Monteiro
f6a7c5c98a Modified version string to say "RELEASE PREVIEW" instead of "PRE-RELEASE".
Originally committed to SVN as r1847.
2008-01-26 20:41:44 +00:00
Rodrigo Braz Monteiro
db1de1a8e0 Fixed a rogue long path (made it short path) in avs audio provider.
Originally committed to SVN as r1846.
2008-01-26 17:18:12 +00:00
Rodrigo Braz Monteiro
96bb7cbe53 Fix for avisynth.h for it to work with avisynthx64
Originally committed to SVN as r1845.
2008-01-26 16:57:46 +00:00
Rodrigo Braz Monteiro
346520fbce Removed a #pragma from wxstd.h (yay for forced full rebuild) and updated installer.
Originally committed to SVN as r1844.
2008-01-26 03:42:01 +00:00
Rodrigo Braz Monteiro
4157469ed2 Changed the splash screen for 2.1.x releases.
Originally committed to SVN as r1843.
2008-01-26 03:35:58 +00:00
shb
7cff10cf5b Fixed bugs in autoperl: entry's class recognition misreading comments as key:value; crash if core modules are not found; description not set after script loading failure.
Originally committed to SVN as r1841.
2008-01-26 01:24:52 +00:00
Rodrigo Braz Monteiro
d793010a6b Updated assdraw project to support x64, fixed a few things, and changed Aegisub version string to 2.1.0.
Originally committed to SVN as r1840.
2008-01-26 00:21:54 +00:00
Rodrigo Braz Monteiro
94c7fcd101 Fixed assdraw3 to compile on MSVC with Unicode on. Thanks to TheFluff for the perl script to do the conversion.
Originally committed to SVN as r1839.
2008-01-25 23:16:29 +00:00
Rodrigo Braz Monteiro
f0e617634c Changed the about screen to use a text box, also added a few missing library credits.
Originally committed to SVN as r1838.
2008-01-25 21:44:55 +00:00
Rodrigo Braz Monteiro
7ab7eae5bd Another fix to about screen.
Originally committed to SVN as r1836.
2008-01-25 21:23:25 +00:00
Rodrigo Braz Monteiro
bb6c7c042e Updated the about screen.
Originally committed to SVN as r1835.
2008-01-25 21:20:38 +00:00
Rodrigo Braz Monteiro
fdb2b47395 Fixed SRT exporting
Originally committed to SVN as r1834.
2008-01-25 20:57:58 +00:00
Rodrigo Braz Monteiro
dd1ded0671 Made audio provider converter able to convert from 22 kHz
Originally committed to SVN as r1833.
2008-01-25 20:53:12 +00:00
Rodrigo Braz Monteiro
6487948d10 Fix to some 64-bit compatibility warnings in auto4_perl (note: please cast to size_t before casting to wxThread::ExitCode in the future)
Originally committed to SVN as r1830.
2008-01-24 17:52:46 +00:00
shb
b2518f9ca1 New and reorganized perl sources. Autotools patched accordingly. Win build must be fixed.
Originally committed to SVN as r1827.
2008-01-24 17:20:47 +00:00
Niels Martin Hansen
260c2b5cb2 Possible fix for #643, but needs to be checked against other versions of wx, and whether it looks right on other OS'es.
Originally committed to SVN as r1826.
2008-01-24 10:33:32 +00:00
Niels Martin Hansen
3d9eb3eba0 Fix #558, very fail fix. Unwrap function call from assert() and it's suddenly called a lot more often in release builds.
Originally committed to SVN as r1825.
2008-01-23 23:02:26 +00:00
Rodrigo Braz Monteiro
6ade2e11ac Some more project fixes.
Originally committed to SVN as r1824.
2008-01-23 23:00:52 +00:00
Rodrigo Braz Monteiro
31165436df Updated win64 config0.h
Originally committed to SVN as r1823.
2008-01-23 22:31:56 +00:00
Rodrigo Braz Monteiro
4a59329784 Made universalchardet work on Win64 (it's a one-line patch [prcpucfg.h:146] to make it work on other OS, but I don't know what the proper define is)
Originally committed to SVN as r1817.
2008-01-23 06:17:18 +00:00
Rodrigo Braz Monteiro
7e83986497 Some random changes around.
Originally committed to SVN as r1813.
2008-01-22 20:36:07 +00:00
Rodrigo Braz Monteiro
1afa7566ab Originally committed to SVN as r1812. 2008-01-22 02:54:16 +00:00
Rodrigo Braz Monteiro
d50c3575f9 Fixed crash on charset detection.
Originally committed to SVN as r1811.
2008-01-21 22:34:55 +00:00
Rodrigo Braz Monteiro
ed29ba8f8b .sup generation presumably complete.
Originally committed to SVN as r1810.
2008-01-21 21:25:06 +00:00
Rodrigo Braz Monteiro
131cb6b861 .sup file generation now seems to work, except that the image itself is corrupted.
Originally committed to SVN as r1809.
2008-01-21 21:14:47 +00:00
Niels Martin Hansen
0e60c4b9cb Fix handling of LAVCKeyFrames to be when building WITH_FFMPEG rather than some guesses based on platform.
Originally committed to SVN as r1808.
2008-01-21 21:01:00 +00:00
Niels Martin Hansen
46ccee56b5 Protect remaining audio players by #ifdef and add those to config0.h and vcproj.
Originally committed to SVN as r1807.
2008-01-21 20:57:20 +00:00
Niels Martin Hansen
27e5fdc3ce Remove spurious #pragma once from DSound audio player, and add a comment about it needing rewrite once again. (It's doing COM wrong.)
Originally committed to SVN as r1806.
2008-01-21 20:56:39 +00:00
Rodrigo Braz Monteiro
6a811254e3 Complete (but untested) .sup generation.
Originally committed to SVN as r1805.
2008-01-21 20:35:31 +00:00
Rodrigo Braz Monteiro
f8441e703c Made sup exporter encode subtitles (untested!), but it still can't generate a .sup file.
Originally committed to SVN as r1804.
2008-01-21 06:52:01 +00:00
Rodrigo Braz Monteiro
37c6828621 Made sup exporter multi-threaded with OpenMP. <3
Originally committed to SVN as r1803.
2008-01-21 05:46:52 +00:00
Rodrigo Braz Monteiro
849921c7c5 Added some initial code for DVD .sup generation (get lines from renderer and output them as 4-colour PNG files). This is currently only available on debug builds.
Originally committed to SVN as r1802.
2008-01-21 03:58:14 +00:00
Rodrigo Braz Monteiro
251d6f3a21 Fixed a major bug related to config. Also, 1800 get.
Originally committed to SVN as r1800.
2008-01-20 23:57:03 +00:00
Rodrigo Braz Monteiro
084eddd7cf Added a x64 platform to projects, but don't expect it to work.
Originally committed to SVN as r1798.
2008-01-20 23:37:44 +00:00
Rodrigo Braz Monteiro
5cafaeb976 Fixed all (?) warnings on MSVC++ and made the default project treat warnings as errors. This fixed several 64-compatibility warnings, as well.
Originally committed to SVN as r1797.
2008-01-20 22:38:07 +00:00
Rodrigo Braz Monteiro
da09a52b59 Applied p-static's patch to use swscale with ffmpeg video provider for major speed improvement.
Originally committed to SVN as r1796.
2008-01-20 21:15:22 +00:00
Rodrigo Braz Monteiro
8ce9d53757 Fixed division by zero (OSHI-) in audio display code.
Originally committed to SVN as r1795.
2008-01-20 20:09:49 +00:00
Rodrigo Braz Monteiro
efc04d9e4c Another attempt to fix assdraw icon on Unix
Originally committed to SVN as r1794.
2008-01-20 20:05:29 +00:00
Rodrigo Braz Monteiro
9731d53eea Fixed playback of independent lines.
Originally committed to SVN as r1793.
2008-01-20 19:51:48 +00:00
Rodrigo Braz Monteiro
382fb4953b Unix fix.
Originally committed to SVN as r1792.
2008-01-20 19:18:10 +00:00
Rodrigo Braz Monteiro
1d237af42c Added support for ASSDraw3 (that is, a menu item to launch the program if it's available on the same folder as Aegisub.exe)
Originally committed to SVN as r1790.
2008-01-20 17:34:35 +00:00
Rodrigo Braz Monteiro
8b8a93f560 Improved window for detection of charset, but still doesn't solve cp1258 issue.
Originally committed to SVN as r1789.
2008-01-20 07:24:04 +00:00
Rodrigo Braz Monteiro
f5306dc6a9 Re-worked the fonts collector log box to use wx's event system. If this doesn't fix the crashes, I'll try sacrificing a goat.
Originally committed to SVN as r1787.
2008-01-20 06:46:10 +00:00
Rodrigo Braz Monteiro
984c2362fd Applied p-static's video playback timing patch, and fixed a few things for eventual dynamic wx linking.
Originally committed to SVN as r1786.
2008-01-20 06:14:40 +00:00
Rodrigo Braz Monteiro
8728753844 Forgot an important option to force to default.
Originally committed to SVN as r1785.
2008-01-20 04:56:44 +00:00
Rodrigo Braz Monteiro
33117888f0 Added a system to "revoke" old option values and force defaults if the previous version of Aegisub was too old. Set this for several config options.
Originally committed to SVN as r1784.
2008-01-20 04:55:44 +00:00
Rodrigo Braz Monteiro
da6af1f5b2 Applied niks-'s patch for Makefile.am
Originally committed to SVN as r1781.
2008-01-19 17:39:50 +00:00
Karl Blomster
7df5708f03 Fixed some dialog boxes that had help buttons pointing to the wrong places or nowhere.
Originally committed to SVN as r1779.
2008-01-19 09:28:34 +00:00
Rodrigo Braz Monteiro
d87eeda5f3 Made Aegisub open the local documentation files instead of the online ones, and changed the installer to install docs as well - they will be retrieved from trunk/docs/output, so make sure to run the Perl script there (just use the batch file).
Originally committed to SVN as r1778.
2008-01-19 05:53:11 +00:00
Rodrigo Braz Monteiro
dc6aa3f161 Avisynth audio provider will now never deliver audio under 32 kHz, fixing the dsound playback bug.
Originally committed to SVN as r1776.
2008-01-19 02:38:31 +00:00
Rodrigo Braz Monteiro
dd3047e571 Made previous patch apply to every other provider, too.
Originally committed to SVN as r1775.
2008-01-19 02:20:30 +00:00
Rodrigo Braz Monteiro
ca1d42ba55 Added a conversion audio provider to convert 8-bit audio into 16-bit.
Originally committed to SVN as r1774.
2008-01-19 02:18:08 +00:00
Rodrigo Braz Monteiro
c9f31a2d83 Fixed crash when attempting to load an empty file.
Originally committed to SVN as r1773.
2008-01-19 01:59:50 +00:00
Rodrigo Braz Monteiro
dca02bd76d Fixed auto-splitting of karaoke (#597)
Originally committed to SVN as r1772.
2008-01-19 00:48:47 +00:00
Rodrigo Braz Monteiro
52d47c32e2 Fixed scrolling of audio display when it is resized. Fixes #524
Originally committed to SVN as r1771.
2008-01-19 00:39:42 +00:00
Rodrigo Braz Monteiro
0537e36bd3 Fixed bug with macro application and grid scrollbar: #559
Originally committed to SVN as r1770.
2008-01-19 00:21:32 +00:00
Rodrigo Braz Monteiro
53e7f60fe0 Fixed tag transformation with Lua expressions (%), issue #637
Originally committed to SVN as r1769.
2008-01-18 22:27:42 +00:00
Rodrigo Braz Monteiro
e5439a03fe er... ACTUALLY fixed it now.
Originally committed to SVN as r1768.
2008-01-18 18:36:52 +00:00
Rodrigo Braz Monteiro
e84071395a Fixed a crash in spectrum analyzer.
Originally committed to SVN as r1767.
2008-01-18 18:35:55 +00:00
Rodrigo Braz Monteiro
f1a8d80f0d A few more fixes pointed out by Yuri
Originally committed to SVN as r1766.
2008-01-18 17:07:00 +00:00
Rodrigo Braz Monteiro
406623443b Added a missing translatable string.
Originally committed to SVN as r1765.
2008-01-18 16:49:30 +00:00
Rodrigo Braz Monteiro
85e100c4f7 Changed Automation's autoload to ignore files of unknown extensions, instead of complaining about being unable to load them. This is necessary for the optional Perl support.
Originally committed to SVN as r1762.
2008-01-18 03:45:43 +00:00
Rodrigo Braz Monteiro
864c446318 Fixes to Perl support on Windows
Originally committed to SVN as r1760.
2008-01-18 03:10:16 +00:00
Rodrigo Braz Monteiro
6693c5c325 Small fix to restart program, and updated installer
Originally committed to SVN as r1756.
2008-01-18 00:56:24 +00:00
Rodrigo Braz Monteiro
af08810075 Finished pt_BR translation.
Originally committed to SVN as r1755.
2008-01-18 00:38:05 +00:00
Rodrigo Braz Monteiro
ae641fec3d More translation-related updates
Originally committed to SVN as r1753.
2008-01-17 20:30:44 +00:00
Rodrigo Braz Monteiro
71502c1eeb Patched universalchardet to allow Aegisub to pick all possible encodings that it found and present them to the user.
Originally committed to SVN as r1752.
2008-01-17 18:35:06 +00:00
Rodrigo Braz Monteiro
cf38dbe139 Updated config0.h to include the Perl define
Originally committed to SVN as r1748.
2008-01-17 01:45:42 +00:00
Rodrigo Braz Monteiro
75d3fa5a0b Final tweaks to perl fix.
Originally committed to SVN as r1745.
2008-01-16 20:06:52 +00:00
Rodrigo Braz Monteiro
5fbe03e04e Some more hacks to make Perl work (the irony) on VC++
Originally committed to SVN as r1744.
2008-01-16 19:56:15 +00:00
Rodrigo Braz Monteiro
b9c9782c76 Perl now builds and links on VC++, but crashes on start.
Originally committed to SVN as r1743.
2008-01-16 19:36:17 +00:00
Rodrigo Braz Monteiro
8ee4b4a769 Some fixes to perl4 code that will hopefully not break unix building, but still don't fix win32.
Originally committed to SVN as r1742.
2008-01-16 18:41:59 +00:00
Rodrigo Braz Monteiro
c2aaa4eb8c Added shb's incomplete perl support code (doesn't build on VC++ yet)
Originally committed to SVN as r1741.
2008-01-16 18:29:29 +00:00
Rodrigo Braz Monteiro
62bbb59273 Updated URLs to the new subdomains.
Originally committed to SVN as r1740.
2008-01-16 16:11:48 +00:00
Rodrigo Braz Monteiro
cee3ed931a Temporary hack to deal with some mkv files while a proper fix is discussed.
Originally committed to SVN as r1739.
2008-01-16 02:46:36 +00:00
Rodrigo Braz Monteiro
b0d0c01b93 Added a "save timecodes" option. Also updated pt_BR translation a bit more.
Originally committed to SVN as r1738.
2008-01-16 02:31:37 +00:00
Rodrigo Braz Monteiro
bb711ef9f4 Some minor tweaks to some dialogs.
Originally committed to SVN as r1737.
2008-01-16 01:01:40 +00:00
Rodrigo Braz Monteiro
21a5412143 Fixed tab getting stuck on the style editor dialog.
Originally committed to SVN as r1736.
2008-01-16 00:34:39 +00:00
Rodrigo Braz Monteiro
51725ff9a7 Made video position not show on audio by default, also made it check whether audio is visible before trying to update it.
Originally committed to SVN as r1735.
2008-01-15 22:51:16 +00:00
Rodrigo Braz Monteiro
e271b979b2 Added OpenMP support on audio spectrum generation, and updated portuguese translation a little bit.
Originally committed to SVN as r1734.
2008-01-15 22:18:54 +00:00
Rodrigo Braz Monteiro
a3c8e61f16 Added a #WITH_OLD_HUNSPELL option on config.h to let Hunspell use Hunspell::put_word() instead of Hunspell:AddWord().
Originally committed to SVN as r1733.
2008-01-15 17:24:49 +00:00
Rodrigo Braz Monteiro
3ce6d62f4e Hopefully made Aegisub compile on Linux without WITH_FFMPEG.
Originally committed to SVN as r1723.
2008-01-15 00:54:54 +00:00
Rodrigo Braz Monteiro
ba1e1b6588 Changed automation's icon with something less hideous.
Originally committed to SVN as r1720.
2008-01-14 20:08:14 +00:00
Rodrigo Braz Monteiro
74e6a888da Added a help button to visual typesetting and added an icon for the select lines tool.
Originally committed to SVN as r1719.
2008-01-14 19:46:46 +00:00
Rodrigo Braz Monteiro
e307f0578c Maybe fixed fonts collector crashing.
Originally committed to SVN as r1718.
2008-01-14 18:40:23 +00:00
Rodrigo Braz Monteiro
95492cec5e Fixed the fonts collector, now it should be able to find any real font installed.
Originally committed to SVN as r1717.
2008-01-14 18:36:10 +00:00
Rodrigo Braz Monteiro
67df761c51 Something is still broken with unicode conversion but I'll figure that out tomorrow
Originally committed to SVN as r1716.
2008-01-14 07:06:43 +00:00
Rodrigo Braz Monteiro
1b6f421917 Worthless attempt to fix stuff
Originally committed to SVN as r1715.
2008-01-14 06:38:33 +00:00
Rodrigo Braz Monteiro
3acc7b35a8 Improved (but still far from perfect) Fonts Collector performance
Originally committed to SVN as r1714.
2008-01-14 05:54:58 +00:00
Rodrigo Braz Monteiro
a69fe9e71e Made the Hunspell dictionary provider use a different dictionary (on user path) for user-defined words (fixes #477)
Originally committed to SVN as r1713.
2008-01-14 02:01:50 +00:00
Rodrigo Braz Monteiro
6116b0af7b Implemented an optional line indicating the current video position on the audio (request #542)
Originally committed to SVN as r1712.
2008-01-14 01:18:24 +00:00
Rodrigo Braz Monteiro
f939133a36 Fixed the issue on #538, although this needs some testing to see if it didn't break timecode loading support.
Originally committed to SVN as r1711.
2008-01-14 00:39:19 +00:00
Rodrigo Braz Monteiro
91986412b9 Fixed #630 (resample and \clip tags) and cleaned up some of the ASS tag structure.
Originally committed to SVN as r1710.
2008-01-14 00:30:00 +00:00
Rodrigo Braz Monteiro
400e37c2cd Made vector clip default to insertion if there is no previous vector to edit (#522). Also fixed a minor glitch when mouse was outside the window on that mode.
Originally committed to SVN as r1709.
2008-01-13 23:53:43 +00:00
Rodrigo Braz Monteiro
3aaffcf0fc Fixed the enter key on the goto dialog and MAYBE glitch #569
Originally committed to SVN as r1708.
2008-01-13 23:47:58 +00:00
Rodrigo Braz Monteiro
dd0fdcae46 Updated addresses for the bug tracker and IRC channel
Originally committed to SVN as r1707.
2008-01-13 23:36:38 +00:00
Rodrigo Braz Monteiro
984438618f Finished adding help buttons to every relevant dialog.
Originally committed to SVN as r1706.
2008-01-13 23:34:38 +00:00
Rodrigo Braz Monteiro
cd3dbd87f3 Added help button to dummy video dialog
Originally committed to SVN as r1705.
2008-01-13 22:41:34 +00:00
Rodrigo Braz Monteiro
2127d100ac Fixed Shift Times window layout and added help buttons to it and translation assistant.
Originally committed to SVN as r1704.
2008-01-13 22:25:26 +00:00
Rodrigo Braz Monteiro
62e3c7a3a6 Added help button to colour picker and changed its default colour space to HSV/H.
Originally committed to SVN as r1703.
2008-01-13 22:06:04 +00:00
Rodrigo Braz Monteiro
3f522b8836 Several minor fixes to spellchecking dialog. Also added a help button to it.
Originally committed to SVN as r1702.
2008-01-13 21:54:31 +00:00
Rodrigo Braz Monteiro
6c19999e06 Added and fixed more help buttons.
Originally committed to SVN as r1701.
2008-01-13 21:27:06 +00:00
Rodrigo Braz Monteiro
e0f3086369 1700 GET. Changed how the help button works, and made it direct to the wiki for now. Only 4 help buttons work, so far.
Originally committed to SVN as r1700.
2008-01-13 21:05:31 +00:00
Karl Blomster
58b1637bd8 Made SetVideo discard keyframe data if every frame in the video is a keyframe. Fixes #547.
Originally committed to SVN as r1699.
2008-01-13 20:25:47 +00:00
Rodrigo Braz Monteiro
acc26dba67 Applied Mosc's patch (plus a small change to variable_data.cpp) to fix #605 and #557, both related to $ variables in the middle of tags being wiped by different features.
Originally committed to SVN as r1698.
2008-01-13 19:36:05 +00:00
Karl Blomster
10fa94f768 "Copy to storage" in the styles manager now prompts the user if he wants to overwrite if the style already exists in the storage (previously it would do nothing, goggles etc.). Fixes #573.
Originally committed to SVN as r1697.
2008-01-13 06:42:34 +00:00
Rodrigo Braz Monteiro
39ccfa89a6 Final changes to use hunspell from repository as a dep project
Originally committed to SVN as r1695.
2008-01-13 06:08:45 +00:00
Rodrigo Braz Monteiro
6d9b40114c Added a minimal hunspell (for win32 only) to repository
Originally committed to SVN as r1694.
2008-01-13 05:57:09 +00:00
Karl Blomster
b16bfa6676 Changed the "split line at cursor" functions so they now split what the user sees, not what's actually committed. Fixes #632.
Originally committed to SVN as r1693.
2008-01-12 22:40:04 +00:00
Rodrigo Braz Monteiro
8a6f04512b Made detached video window remember its last position/maximized state - #492
Originally committed to SVN as r1692.
2008-01-12 03:29:45 +00:00
Rodrigo Braz Monteiro
30fc5aa32f Made Aegisub remember whether video was detached or not last time.
Originally committed to SVN as r1691.
2008-01-12 03:12:49 +00:00
Rodrigo Braz Monteiro
d7d66733f0 Fixed closing of video with detached video window open
Originally committed to SVN as r1690.
2008-01-12 03:09:48 +00:00
Karl Blomster
ec2a2fa1e3 Modified "split at cursor" so it trims off whitespace around the split point. Fixes #523.
Originally committed to SVN as r1689.
2008-01-11 19:45:15 +00:00
Rodrigo Braz Monteiro
22032bc7da Some more fixes to detached video display, but I don't know how well it's working, as there are several GL issues here.
Originally committed to SVN as r1687.
2008-01-11 05:44:00 +00:00
Rodrigo Braz Monteiro
777f74d394 Fixed #510 (detached video closing)
Originally committed to SVN as r1686.
2008-01-11 04:48:11 +00:00
Rodrigo Braz Monteiro
d3ac586ad7 Possibly fixed #606 (fonts collector crash)
Originally committed to SVN as r1685.
2008-01-11 04:36:29 +00:00
Rodrigo Braz Monteiro
5a9249f227 Fixed #617 (auto-solve corrupt config.dat)
Originally committed to SVN as r1684.
2008-01-11 04:04:28 +00:00
Rodrigo Braz Monteiro
337d451e94 Fixed #535 (audio stop button icon)
Originally committed to SVN as r1683.
2008-01-11 03:49:25 +00:00
Rodrigo Braz Monteiro
df515c6f3b Fixed #549
Originally committed to SVN as r1682.
2008-01-11 03:38:06 +00:00
Rodrigo Braz Monteiro
71f641d649 Fixed #550
Originally committed to SVN as r1681.
2008-01-11 03:33:23 +00:00
Rodrigo Braz Monteiro
6c330f12e4 Changed the behaviour of ?data to use GetDataDir(), which should be better for unix
Originally committed to SVN as r1680.
2008-01-11 01:57:30 +00:00
Karl Blomster
0dfaad3aa4 fix previous commit
Originally committed to SVN as r1679.
2008-01-11 00:56:02 +00:00
Karl Blomster
1990715ce1 update changelog
Originally committed to SVN as r1678.
2008-01-11 00:53:42 +00:00
Rodrigo Braz Monteiro
9e762b504b Changed lib name for hunspell to semi-conform to the official solution (debug lib needs _d appended).
Originally committed to SVN as r1677.
2008-01-11 00:38:47 +00:00
Rodrigo Braz Monteiro
1ab15ad85f Changed how FT2 is linked on MSVC (with a #define on config.h)
Originally committed to SVN as r1676.
2008-01-11 00:18:15 +00:00
Rodrigo Braz Monteiro
6f29cc7105 Small fix to last commit
Originally committed to SVN as r1674.
2008-01-10 23:22:49 +00:00
Karl Blomster
bc1b90a3c3 Fix saving of screenshots when dummy video is used and the screenshot save path is ?video by trying ?script instead and if that isn't defined, save to user's home dir.
Fixes mantis issue #442.

Originally committed to SVN as r1673.
2008-01-10 22:28:47 +00:00
Rodrigo Braz Monteiro
c0b9a2a5bd Got rid of build-credit.h
Originally committed to SVN as r1672.
2008-01-10 21:27:53 +00:00
Rodrigo Braz Monteiro
84079aa7a1 Updated the config file.
Originally committed to SVN as r1671.
2008-01-10 21:13:50 +00:00
Dan Donovan
e0b5576104 can disable dragging start/end times with config option "disable dragging times" (requested)
Originally committed to SVN as r1669.
2008-01-10 20:49:31 +00:00
Karl Blomster
5bb13493cd update copyright statements to 2008 in about dialog (el oh el)
Originally committed to SVN as r1667.
2008-01-09 02:01:48 +00:00
Karl Blomster
05f1a58134 added .m4a to list of recognized audio formats
Originally committed to SVN as r1666.
2008-01-08 22:17:24 +00:00
Niels Martin Hansen
f27241bd3f Minor fixes for (old) OS X builds
Originally committed to SVN as r1664.
2008-01-05 00:02:06 +00:00
Rodrigo Braz Monteiro
68203a896a Added auto3 lib+dll to repository and made auto4_auto3.cpp automatically link to it.
Originally committed to SVN as r1663.
2008-01-01 22:55:58 +00:00
Rodrigo Braz Monteiro
3f4349584f Removed dependency from universal charset detector (that was the last one)
Originally committed to SVN as r1662.
2008-01-01 22:42:29 +00:00
Rodrigo Braz Monteiro
75b4fb1437 Made almost all major components of Aegisub optional... this might be severely broken still.
Originally committed to SVN as r1660.
2007-12-31 06:46:22 +00:00
Rodrigo Braz Monteiro
e288aa6897 Applied p-static's patch for ALSA
Originally committed to SVN as r1654.
2007-11-16 13:15:26 +00:00
Rodrigo Braz Monteiro
c57ab33467 Fixed loading of mkv files over 2 GB... hopefully, without destroying the posix ports.
Originally committed to SVN as r1652.
2007-11-13 20:28:09 +00:00
Dan Donovan
0edd8bece1 fix kanji timer
Originally committed to SVN as r1648.
2007-11-01 21:47:37 +00:00
Rodrigo Braz Monteiro
76da71cef4 Applied perchr's patch for a progress bar while loading keyframes on posix.
Originally committed to SVN as r1646.
2007-11-01 18:14:56 +00:00
Rodrigo Braz Monteiro
4b607e9454 Minor tweaks to the layout of kanji timer.
Originally committed to SVN as r1645.
2007-10-31 21:52:51 +00:00
Rodrigo Braz Monteiro
fb34d37e23 pnb's fix to autosave.
Originally committed to SVN as r1643.
2007-10-30 20:40:10 +00:00
Rodrigo Braz Monteiro
1142b17362 I'm an idiot. Fixed last commit.
Originally committed to SVN as r1641.
2007-10-29 18:50:49 +00:00
Rodrigo Braz Monteiro
a8fa4b49ae Applied 2points' patch for keyframe support in AVI files in Unix systems
Originally committed to SVN as r1640.
2007-10-29 18:48:02 +00:00
Rodrigo Braz Monteiro
f46155a991 New kana table for aegisub too
Originally committed to SVN as r1636.
2007-10-29 15:35:53 +00:00
Rodrigo Braz Monteiro
53fe61c546 Hopefully fixed the behaviour of layer spin control.
Originally committed to SVN as r1635.
2007-10-29 15:30:04 +00:00
Rodrigo Braz Monteiro
6b74afd8d9 Random changes in traydict
Originally committed to SVN as r1630.
2007-10-29 04:29:04 +00:00
Rodrigo Braz Monteiro
97a14933a4 Applied 2points's patch to work around a crash in ass and libass when there are no styles in the file.
Originally committed to SVN as r1629.
2007-10-29 02:09:45 +00:00
Rodrigo Braz Monteiro
c3a9aa812a Applied 2points's patch to fix #576
Originally committed to SVN as r1626.
2007-10-27 22:19:49 +00:00
Rodrigo Braz Monteiro
c249e1c4c9 Applied patch by 2points to fix an issue with thesaurus.
Originally committed to SVN as r1625.
2007-10-26 19:30:59 +00:00
Niels Martin Hansen
8d797046a7 Fix for keyframe file reading
Originally committed to SVN as r1624.
2007-10-26 19:27:42 +00:00
Rodrigo Braz Monteiro
d761baadf3 Untitled files will now get auto-saved as "Untitled.AUTOSAVE.ass".
Originally committed to SVN as r1620.
2007-10-22 20:47:57 +00:00
Rodrigo Braz Monteiro
45f5886c2a Fixed some critical mkv loading issues.
Originally committed to SVN as r1619.
2007-10-22 20:10:35 +00:00
Rodrigo Braz Monteiro
41f3dcc35d More tweaks to the hotkeys screen, should now behave much better than before.
Originally committed to SVN as r1618.
2007-10-21 01:13:26 +00:00
Rodrigo Braz Monteiro
045583c190 Improved hotkeys manager, and tweaked style manager.
Originally committed to SVN as r1617.
2007-10-20 23:04:06 +00:00
Niels Martin Hansen
c4347d9e8a A bunch more tips for the tip of the day window, especially focused on audio timing.
Originally committed to SVN as r1616.
2007-10-19 03:34:07 +00:00
Niels Martin Hansen
eeee2aeb53 Update to audio spectrum quality settings. The quality settings now means something slightly different (but are more sensible) and there is always a memory max enforced for the spectrum cache.
Originally committed to SVN as r1615.
2007-10-19 03:32:53 +00:00
Rodrigo Braz Monteiro
2e57dda49e Small tweak to avs video provider
Originally committed to SVN as r1614.
2007-10-19 00:55:03 +00:00
Rodrigo Braz Monteiro
381d4ad9d5 Made ffmpegsource no longer write caches.
Originally committed to SVN as r1611.
2007-10-18 20:19:06 +00:00
Rodrigo Braz Monteiro
c1633cfaf0 Fixed the behaviour of vector clip when realtime mode is on.
Originally committed to SVN as r1610.
2007-10-18 19:17:01 +00:00
Rodrigo Braz Monteiro
06530d716c Fix to resampler
Originally committed to SVN as r1609.
2007-10-18 16:33:46 +00:00
Rodrigo Braz Monteiro
5d5278db88 Changed buttons for the resample dialog and made call tips be off by default.
Originally committed to SVN as r1608.
2007-10-18 15:42:07 +00:00
Rodrigo Braz Monteiro
d4d4c864db Fixed #399
Originally committed to SVN as r1607.
2007-10-18 03:18:39 +00:00
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
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