Commit Graph

1418 Commits

Author SHA1 Message Date
Vadim Zeitlin
f36ddde1ea Fix libraries order in screenshotgen bakefile.
The richtext library must come before the adv one as it depends on the classes
in the latter and with the old libraries order linking failed in static build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-26 17:51:34 +00:00
Vadim Zeitlin
57c7447463 Link console programs with PNG library in monolithic build.
PNG images are used by the main wxWidgets library itself now and so linking
with the monolithic wx library introduces dependencies on PNG as well, even
for the console applications. Link them with linpng to avoid linker errors.

Closes #12889.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-05 20:25:09 +00:00
Vadim Zeitlin
00eef16d51 Rebake everything using bakefile 0.2.9.
Update configure and bakefile.m4 for the new version too.

Also add the missing makefiles and projects for the XTI sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-03 15:02:45 +00:00
Dimitri Schoolwerth
6636ef8ddf Use wxString's empty() when checking if the string is (non-)empty throughout wx.
Instead of constructs such as if "( s.length() )" and "if (s.length() > 0)" use "if ( !s.empty() )" instead. Similarly for "if (s.length() == 0)" or "if ( s.IsNull() )", use "if ( s.empty() )".
No code changes intended except for a few instances where a construct like "if ( s.length() && wxFileExists(s) )" was changed to not check the length of the string and let wxFileExists handle such cases.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-22 14:38:36 +00:00
Vadim Zeitlin
21567b0960 Output header to the same directory as the .cpp file in wxrc.
If "-o" option is given, generate the output header file in the same directory
as the .cpp file and not in the current directory.

Closes #4054.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-24 14:34:22 +00:00
Vadim Zeitlin
e22fa4d7b2 Fix mismatches between format strings and arguments.
This corrects the asserts which are now triggered when the actual arguments
don't match the format string.

Closes #12265.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-23 23:32:30 +00:00
Vadim Zeitlin
526954c596 Globally use "wxWindows licence" consistently.
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.

See #12165.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Václav Slavík
9b1aeed1bb Fix strings formatting in wxrc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-03 14:24:27 +00:00
Václav Slavík
0d373eac1d wxrc -g should output filenames in Unix format.
It is customary in C source code and xgettext has problems with
backslahes in #line comments.

Fixes #10727.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-30 16:53:20 +00:00
Francesco Montorsi
ed923a37e5 better error message when an inconsistency has been found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-11 21:10:18 +00:00
Vadim Zeitlin
a34ce03d63 Fix harmless g++ 4.3 warning about suggested parentheses.
Add parentheses around && within ||.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-22 14:16:18 +00:00
Vadim Zeitlin
43b5ebf2a5 Fix emulator compilation with wxX11 after GetMainWindow() renaming.
This function is now called X11GetMainWindow().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-12 11:21:41 +00:00
Václav Slavík
b796194b15 Regenerated makefiles after removing USE_GDIPLUS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-09 14:14:26 +00:00
Kevin Ollivier
00fb97de2c Rebake.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-09 19:56:18 +00:00
Kevin Ollivier
da8b1d4b3b Rebake from clean wx tree.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-04 00:45:45 +00:00
Vadim Zeitlin
94b6ce7f4b Use X64 machine type for MSVC linker instead of old AMD64.
The officially supported machine type name is X64 now, even if AMD64 is still
supported.

Closes #10711.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-08 16:36:37 +00:00
Kevin Ollivier
f82b7036e8 Rebake after last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-18 19:22:58 +00:00
Kevin Ollivier
a7ebaf0ddd Bakefile 0.2.8 rebake.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-31 20:56:47 +00:00
Vadim Zeitlin
8c9833d09e Rebaked using post-0.2.7 svn version of bakefile.
Unfortunately 0.2.7 release contained a bug in msvc backend which resulted in
warnings generated for each file compiled. Apply the fix from bakefile svn to
fix this (and test if no other problems are found).

Also update all makefile.unx after changes of r62477.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-23 17:48:21 +00:00
Vadim Zeitlin
7880889720 Rebake everything using bakefile 0.2.7.
Also updated aclocal inputs and regenerated configure.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-22 16:53:10 +00:00
Vadim Zeitlin
5ba859da5c Remove unwanted solution files from the repository.
Remove VC9-only solution files from a couple of tests/utils/demos (there is
no reason at all to have only VC9 solutions: either we have all of [789] or
none of them) and also remove all solutions files for the ribbon sample which
were probably added mistakenly in the first place (as no other sample has
them).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-22 09:40:42 +00:00
Kevin Ollivier
d5e7ffcf7a Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-08 04:07:02 +00:00
Kevin Ollivier
d9a35b5406 Fix the line endings to be CRLF after the property change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-05 16:11:02 +00:00
Kevin Ollivier
33820d9428 Setting eol-style property to CRLF for some project files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-05 15:12:40 +00:00
Vadim Zeitlin
d33ccbe15c Rebaked everything with bakefile 0.2.6 after wxRibbon merge.
0.2.5 versions of some makefiles were checked in, regenerate them using 0.2.6.

Also regenerate configure after autoconf_inc.m4 was updated.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-16 13:07:10 +00:00
Peter Cawley
3c3ead1d15 Merged GSOC Ribbon work from SOC2009_RIBBON branch into trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-16 12:06:02 +00:00
Vadim Zeitlin
873c1a2300 Reenable build of execmon in utils bakefile.
Undo r61894, it's not necessary to disable build of execmon any longer after
r61901.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-13 11:55:08 +00:00
Francesco Montorsi
80a6dafbd7 add execmon bakefile (which was forgotten in the initial commit) and regenerate execmon makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-13 10:09:59 +00:00
Vadim Zeitlin
63f4968cd1 Disable build of utils/execmon.
Bakefile for this program doesn't exist so its makefiles are out of date and
it doesn't build any more now, disable its build until the bakefile is checked
in.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 15:29:11 +00:00
Vadim Zeitlin
d12d9edacb Rebake all the samples, demos and tests makefiles.
This should have been committed together with the changes to the debug flags
handling in build/bakefiles in r61887.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 13:38:08 +00:00
Vadim Zeitlin
9a83f86094 Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
43b2d5e7c3 Put braces around all calls to wxLogFunctions() inside an if statement.
This suppresses all the remaining g++ -Wparentheses warnings and uses consistent style everywhere.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-20 16:47:54 +00:00
Vadim Zeitlin
74e67db795 update IfaceCheckLog definition after wxLog::DoLogXXX() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-08 16:06:46 +00:00
Vadim Zeitlin
058506f3e9 another attempt to fix signed/unsigned comparison warning in OS X build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 17:51:56 +00:00
Vadim Zeitlin
8a28bf768c fix harmless warnings (mostly about unused parameters/variables)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:48:44 +00:00
Vadim Zeitlin
bcb6619fbe fix overriding OnPoke() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:46:19 +00:00
Vadim Zeitlin
587b4c84fb blind fix to make IPC work again by overriding OnExec() correctly in IPC connection class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:43:06 +00:00
Vadim Zeitlin
9d4aa9c268 bracket <vector> inclusion by wx/beforestd.h and wx/afterstd.h to avoid warnings in standard headers with MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:44:25 +00:00
Vadim Zeitlin
73df4a1e3c fix (bogus) warning about uninitialized variable in release MSVC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:26:46 +00:00
Bryan Petty
07e6fc431d Small build and run fixes made to screenshotgen util after wxMSW changes.
Updated wxOSX (Carbon) screenshots in the manual.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 19:19:01 +00:00
Bryan Petty
5f1b5e83c4 Removed dependancy on wx/bitmap.h from autocapture.h.
Fixed issue with Union() improperly generating a combined bitmap from two source bitmaps (only shown on Mac).
Replaced old wxWidgets logo with the new one.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 18:30:06 +00:00
Vadim Zeitlin
ab5c51e5b2 don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 09:13:36 +00:00
Kevin Ollivier
23513e07f5 Rebake after latest changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 02:04:16 +00:00
Chris Elliott
95ff11c4bb update bakefile to 0.2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 10:36:24 +00:00
Francesco Montorsi
40531a9fda more PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 22:10:21 +00:00
Vadim Zeitlin
dbe31039f7 blind PCH-less build fixes: add missing headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 18:42:58 +00:00
Vadim Zeitlin
3814912fca MSVC compilation fixes: don't use std{out,err} as variable names; don't reuse loop variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 18:41:51 +00:00
Francesco Montorsi
aa113d87d7 adding the first raw version of the execution monitor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 11:44:00 +00:00
Francesco Montorsi
d196416cad fix bug when warning string contains percent signs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:53:07 +00:00
Francesco Montorsi
181c400b74 be x86_64-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:52:46 +00:00