Commit Graph

2056 Commits

Author SHA1 Message Date
Thomas Goyne 3d58608230 Improve rendering with OpenGL 1.1, removing the visible seams at the cost of slight distortions at high zoom levels.
Originally committed to SVN as r3714.
2009-10-14 20:53:36 +00:00
Thomas Goyne 9ff8f42d7f Get the video display closer to working with W7's emulated OpenGL. It can now display video, but there are visible seams between the textures.
Originally committed to SVN as r3711.
2009-10-13 22:19:31 +00:00
harukalover 59cf4b656a Removed the log window which nobody seems to use. Closes #1026
Originally committed to SVN as r3710.
2009-10-13 21:53:50 +00:00
Thomas Goyne 3032c4f883 Fix a memory leak and a minor graphical glitch that sometimes happened to the video slider when switching visual typesetting modes.
Originally committed to SVN as r3709.
2009-10-13 17:28:39 +00:00
Thomas Goyne 389f296b4d Make the video display actually hide when the detached video dialog is minimized.
Originally committed to SVN as r3706.
2009-10-13 04:10:55 +00:00
Amar Takhar ddc3b57694 How lazy can I get for not regening configure to test this change... (yes, i did this time around.) Updates #1023.
Originally committed to SVN as r3703.
2009-10-12 06:06:44 +00:00
harukalover 7dcb6cd387 Fix the annoying habit of all debug output being printed twice
Originally committed to SVN as r3701.
2009-10-12 05:11:24 +00:00
Amar Takhar 669e11d10b Remove boost check as ffms has removed the usage of boost::format. This is trunk-only for now. Updates #1023.
Originally committed to SVN as r3691.
2009-10-12 00:14:36 +00:00
Karl Blomster e3583da740 Update ffms2 to r228. Removes the boost dependency.
Originally committed to SVN as r3690.
2009-10-12 00:11:15 +00:00
Thomas Goyne 68de84b427 Fix some minor quirks with detached video and the display mode.
Originally committed to SVN as r3688.
2009-10-11 22:10:08 +00:00
Thomas Goyne 5cf7724698 Disable zoom controls when video is detached as the zoom is ignored with detached video.
Originally committed to SVN as r3676.
2009-10-10 15:21:26 +00:00
Thomas Goyne 75f010f889 Make global hotkeys work when the detached video dialog is focused.
Originally committed to SVN as r3675.
2009-10-10 15:05:17 +00:00
Thomas Goyne c0364b7be1 Remove pointless keydown handlers on things that can't have keyboard focus.
Originally committed to SVN as r3674.
2009-10-10 02:13:15 +00:00
Thomas Goyne 983434a6c3 Make the video slider forward unprocessed key events to the video display.
Originally committed to SVN as r3672.
2009-10-09 22:27:27 +00:00
harukalover 36386e74fc Fixed the jump to dialog never displaying anything but 0 in the hour column. Updates #1003.
Originally committed to SVN as r3668.
2009-10-09 19:43:43 +00:00
Amar Takhar 14e2d9ad12 Add config.h to 8 files that were missing it, _all_ source files must include config.h at the very top.
Originally committed to SVN as r3666.
2009-10-09 16:34:38 +00:00
Amar Takhar 3873c4fc4e Remove @BOOST_CPPFLAGS@ as the boost detection is now disabled.
Originally committed to SVN as r3664.
2009-10-09 16:10:59 +00:00
Amar Takhar 2623b8380f Update universalchardet to 29631:4dd0cf2ba86f (2009-06-27). Closes #866.
Originally committed to SVN as r3662.
2009-10-09 15:37:55 +00:00
Amar Takhar 61c3a3149e Remove boost check, the macro I'm using has serious bugs that only shows up on some systems.
Originally committed to SVN as r3660.
2009-10-09 15:22:06 +00:00
Amar Takhar 7a53f7dd43 Fix a const issue in JpCntx.h.
Originally committed to SVN as r3656.
2009-10-09 14:50:43 +00:00
Amar Takhar 3bea135663 Check for lua.hpp usability not lua.h, Updates #998.
Originally committed to SVN as r3654.
2009-10-09 14:43:14 +00:00
Amar Takhar 42e0dd6ce4 Update universalchardet using a patch I made around 2009-02, the one we're currently using is from ~1998. I'll check again later to see if there are any updates to it before closing the ticket. Updates #866.
Originally committed to SVN as r3653.
2009-10-09 14:30:27 +00:00
Thomas Goyne 05c9ffde7a Make detached video work again.
Originally committed to SVN as r3651.
2009-10-09 02:21:30 +00:00
Amar Takhar 85d3ea9277 Commit patch for #1019 for jfs' as he doesn't have the branch compiling locally, I'll merge this to milestone:2.1.8 after this, updates #1019.
Originally committed to SVN as r3644.
2009-10-08 20:24:25 +00:00
Amar Takhar df259693d9 Add a check for boost which is now required by ffms.. this should be backported to 2.1.8.
Originally committed to SVN as r3639.
2009-10-07 01:34:47 +00:00
Thomas Goyne 37ec7ad62c Increase the maximum zoom to 300%.
Originally committed to SVN as r3634.
2009-10-06 17:43:15 +00:00
Thomas Goyne 1f27582b50 Remove some members of VideoContext that are no longer used with the rewritten video display.
Originally committed to SVN as r3633.
2009-10-06 16:19:36 +00:00
Thomas Goyne bead7360c4 Delete threaded video mode, as it never worked in the first place and is fundamentally flawed.
Originally committed to SVN as r3632.
2009-10-06 16:12:23 +00:00
Amar Takhar 9217476357 Bitten by precompiled headers round 2: the OpenGL headers must be included before the local headers.
Originally committed to SVN as r3631.
2009-10-06 16:08:39 +00:00
Amar Takhar ac260ec47b Sigh, bitten by precompiled headers, wxLogDebug requires <wx/log.h>.
Originally committed to SVN as r3630.
2009-10-06 15:47:43 +00:00
Amar Takhar c204c766ec Add two more debug printfs:
* Print the WxH of the frame size.
 * Print the size of the texture actually used.

Originally committed to SVN as r3629.
2009-10-06 15:28:22 +00:00
Amar Takhar bb4506354f Add a debug printf to display what texture sizes VideoOutGL::TestTexture is checking.
Originally committed to SVN as r3628.
2009-10-06 14:58:32 +00:00
Amar Takhar 21c5e7909c svn:eol-style native and svn:keywords Id to relevent files.
Originally committed to SVN as r3623.
2009-10-05 23:04:30 +00:00
Amar Takhar 4cc6610161 Commit jfs' patch to fix rounding errors as he doesn't have trunk going at the moment. Closes #1018.
Originally committed to SVN as r3622.
2009-10-05 22:46:28 +00:00
Thomas Goyne 40987da11a Fix spelling of video_out_gl.cpp.
Originally committed to SVN as r3620.
2009-10-05 21:32:44 +00:00
Thomas Goyne e7465e7519 More reporter tweaks to make it actually build and run on Windows.
Originally committed to SVN as r3619.
2009-10-05 21:02:02 +00:00
Thomas Goyne d677b85b66 Add required stubs for OpenGL info to the windows platform stub.
Originally committed to SVN as r3618.
2009-10-05 20:55:13 +00:00
Thomas Goyne 404e6cf081 Add support for flipped video to new video renderer.
Originally committed to SVN as r3617.
2009-10-05 20:50:04 +00:00
Thomas Goyne cbd76e7010 Rewrite the video rendering code to support displaying videos which are larger than the maximum texture size. This does not currently support YV12 (which Aegisub currently never uses), but should be otherwise functional.
Originally committed to SVN as r3615.
2009-10-05 04:22:28 +00:00
Thomas Goyne 39954493c0 Add platform_windows.h and .cpp to the project.
Originally committed to SVN as r3614.
2009-10-05 02:43:14 +00:00
Thomas Goyne df58224b55 Add #pragma once to exception.h.
Originally committed to SVN as r3613.
2009-10-05 00:06:11 +00:00
Amar Takhar 0cecf3c598 Add a stub class for Windows.. whoever fills this in should take over the license.
Originally committed to SVN as r3612.
2009-10-03 17:45:34 +00:00
Amar Takhar 41f39f65d7 Fix locale dir under windows, I forgot to change it after copying and pasting some code from aegisub.
Originally committed to SVN as r3611.
2009-10-03 17:37:09 +00:00
Thomas Goyne e1469154ea Create vcproj for reporter and make it build (but not be very useful) on windows.
Originally committed to SVN as r3610.
2009-10-03 17:16:52 +00:00
Thomas Goyne d54ddc688b Make font_file_lister.cpp build on windows when freetype2 is disabled (broken by r3536).
Originally committed to SVN as r3609.
2009-10-02 23:15:31 +00:00
Grigori Goronzy b0810a7663 Wrap() after SetFont() and don't SetMinSize() to a fixed size to calculate
reporter window dimensions correctly.

Originally committed to SVN as r3603.
2009-09-29 11:56:43 +00:00
Amar Takhar c3fe549d4d Place the OpenGL info strings into their own block. OS X reports these as completely different strings it was co-incidence that the actual vendor/card info is there on FreeBSD/Linux. It's likely other operating systems (eg. Windows) does the same thing as OS X. Eventually I'll re-add vendor information for the actual card once I figure out a way to get it on BSD/OS X.
Originally committed to SVN as r3601.
2009-09-28 08:08:16 +00:00
Amar Takhar 84e17451f9 Fill in most of the hardware fields for MAC.
Originally committed to SVN as r3600.
2009-09-28 05:16:36 +00:00
Amar Takhar b7caa012da Add list of available OpenGL extensions.
Originally committed to SVN as r3598.
2009-09-27 13:26:23 +00:00
Amar Takhar c821a7e172 * Fix commandline support, I have no idea what the !OnInit block was after OnInit(), I removed it and everthing works as expected.
* Add -x switch for dumping the report to report.xml

Unfortunatly this causes a flicker of the reporter as we need to create the main frame in order to gather some desktop metrics.

Originally committed to SVN as r3597.
2009-09-27 11:30:29 +00:00