1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 17:19:43 +02:00

15 Commits

Author SHA1 Message Date
benjamin.drung@gmail.com
1686b38f3c Replace tabs by spaces. 2013-11-07 23:23:32 +00:00
benjamin.drung@gmail.com
f61fc94040 Regenerate autotools file for Audacity and lib-widget-extra. 2013-11-07 21:03:03 +00:00
benjamin.drung@gmail.com
6619f23305 Use automake for libwidgetextra.
Replace the custom Makefile by automake. In addition drop the hacky
libwidgetextra-uninstalled.pc and configure the library like every other
optional library, but check if the library is not disabled.
2013-11-07 21:00:56 +00:00
benjamin.drung@gmail.com
ade56afd17 Regenerate configure scripts. 2013-11-05 23:24:36 +00:00
benjamin.drung@gmail.com
4b5f7e9254 Really rename --enable-static to --enable-static-wx! 2013-11-05 23:24:13 +00:00
benjamin.drung@gmail.com
1f4404a43e Update lib-widget-extra configure.ac with autoupdate. 2013-11-05 22:55:43 +00:00
benjamin.drung@gmail.com
b9f7e7d0dc Regenerate configure scripts. 2013-11-05 22:38:50 +00:00
benjamin.drung@gmail.com
2503c32d92 Rename configure.in to configure.ac in lib-widget-extra. 2013-11-05 22:37:08 +00:00
benjamin.drung@gmail.com
832cc395c9 Remove trailing spaces. 2013-11-05 22:35:34 +00:00
benjamin.drung@gmail.com
639c93c145 Rename --enable-static to --enable-static-wx.
--enable-static is too generic and also used by libtool.
2013-11-05 22:28:42 +00:00
richardash1981
6a341a94c5 Only pass the include path flags into pkg-config, not the other flags that happen to be used to compile the package. Same for libraries, except that we may need
the list of dependent libraries for static library linkage, so they go in libs.private. This was causing the duplication of CFLAGS into the final link (which was clumsy but largely harmless), but also build failures for people with funky multi-part options in their CFLAGS (which is where it was found), because some of the flags didn't survive pkg-config's manipulations and came out corrupted.
2010-12-07 19:36:32 +00:00
v.audacity
8c51e56248 Switch to calling Yield via wxTheApp instead of wxGetApp(). Simpler to use pointer, AudacityApp doesn't override Yield, and this fixes compile error on VC++ Unicode Release. 2010-07-24 23:21:51 +00:00
v.audacity
54bd928ef6 regarding bug 9:
Was able to make the bug occur after lots of fast clicking around, by double-clicking Preview in Amplify dialog. 

The key seems to be the call to wxYield. That function is obsolete, but looking at the documentation for its successor, wxApp::Yield(): 

"Caution should be exercised, however, since yielding may allow the user to perform actions which are not compatible with the current task. Disabling menu items or whole menus during processing can avoid unwanted reentrance of code: see ::wxSafeYield for a better function."

That sounds like exactly the situations where this has occurred. And the documentation for ::wxSafeYieldsays: 

"This function is similar to wxYield, except that it disables the user input to all program windows before calling wxYield and re-enables it again afterwards."

Sounds like what we need. So I went through the code and for all the wxYield and wxGetApp()::Yield occurrences where Audacity is doing some drawing or already in the process of responding to a GUI event, I replaced them with ::wxSafeYield. Replaced all the remaining wxYield calls with calls to wxGetApp()::Yield().

Haven't been able to replicate the bug since these changes. Please test.
2010-07-23 23:29:50 +00:00
richardash1981
3d1217da2f Remove all the .cvsignore files we don't need any more, and update the svn:ignore properties as needed, plus some improvements 2010-02-06 21:57:49 +00:00
ra
58caf78a86 Move library tree where it belongs 2010-01-24 09:19:39 +00:00