Commit Graph
64 Commits
Author SHA1 Message Date
Vadim Zeitlin c4fd5ede54 include wx/beforestd.h before iostream headers to avoid problems with visibility in Unix build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 18:53:37 +00:00
Vadim Zeitlin 1693108cfe compilation fixes after c_str() changes (due to casting of its return value to non-const wxChar *)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 22:52:29 +00:00
Vadim Zeitlin f705f97d31 removed tests for WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 17:00:47 +00:00
Vadim Zeitlin a3c8c017cf check parameters after options check sothat usign -version doesn't result in an error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 14:35:06 +00:00
Vadim Zeitlin fb66c150a4 show -version in the list of options; exit after showing the version as all the other programs do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 14:29:38 +00:00
Włodzimierz Skiba ccf6c43b3d '-version' parameter for tex2rtf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 17:30:42 +00:00
Vadim Zeitlin d49be4203e return false from OnInit() in console build if we failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 10:29:23 +00:00
Włodzimierz Skiba fefee1134b Allow some paths to be relative to current dir.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 10:38:45 +00:00
Włodzimierz Skiba 40ff126ac4 Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:01:16 +00:00
Włodzimierz Skiba 9c9691ba24 Forward port from 2.6 branch to avoid wxSTD usage crashes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 13:06:39 +00:00
Mart Raudsepp 8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba e7cc2f6502 GCC warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-01 15:56:09 +00:00
Włodzimierz Skiba 5c66e5b2b2 Missing wxUSE_... flags and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 17:56:29 +00:00
Włodzimierz Skiba 3cc14fca20 Build fix for wxMGL found in Tinderbox logs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 17:35:21 +00:00
Włodzimierz Skiba 878094ac7c wxLog small fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 18:25:39 +00:00
Włodzimierz Skiba c5565f8c61 Missing includes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 14:53:13 +00:00
Włodzimierz Skiba 489f6cf713 Fix for ambiguities which happen in STL=1 mode under DigitalMars C++.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 20:01:55 +00:00
Dimitri Schoolwerth b3ced90555 fixed MSVC6 truncation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 02:09:08 +00:00
Mattia Barbon 516a572204 Motif compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 22:14:24 +00:00
Václav Slavík 88fd7006f4 fixed spelling of -checkcurleybraces (patch #1054304)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 08:31:03 +00:00
Włodzimierz Skiba 254a21292b Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 15:38:40 +00:00
Włodzimierz Skiba 22b636aa15 wxUSE_STL=1 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:53:14 +00:00
Robin Dunn f8bd8dd506 fix compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 21:08:28 +00:00
Włodzimierz Skiba 67a9999283 Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 09:39:38 +00:00
Włodzimierz Skiba 5b7ab9385f Type casting warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 06:34:04 +00:00
Włodzimierz Skiba 4fe30bceff -1->wxID_ANY, TRUE->true, FALSE->false & tabs->spaces replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 17:58:56 +00:00
Włodzimierz Skiba e5486affee Use correct help system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 13:54:14 +00:00
George Tasker c22b322f4a Spelling typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 21:33:00 +00:00
Mattia Barbon f6fe5318e5 TeX2RTF compilation fixes after my last wxHashTable changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:40:59 +00:00
Vadim Zeitlin 3a5bcc4db0 removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
Julian Smart 0082709429 Now does cleanup when returning false from OnInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-17 08:13:21 +00:00
Ron Lee b63b07a809 More updates to the Debian packaging for wxPython, unicode and
the project name change.

Applied patch from ABX to make tex2rtf unicode compatible, then
removed wxSprintf lameness from it so it might actually work.
Also modified it to return true from tex2rtf OnInit in console
builds so the app will exit with a successful return code rather
than always returning failure even when it succeeds.

Implemented unicode capable wxCtime for glibc systems also needed
by tex2rtf.

Wrapped dde include in tex2rtf in a guard and assert that dde is
MSW only in its forwarding header.

Lowered the limit of maxlen in wxSprintf so it actually has a
chance to segfault on people instead of failing silently and
mysteriously with glibc.

Silenced some other 'potentially uninitialised variable' warnings
from gcc3, most of which were bogus, one potentially not so.

Added missing newline at the end of fontdlg.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 17:40:38 +00:00
Julian Smart 6c155d3387 Applied patch [ 867187 ] wxWindows-like markup in TEX2RTF tool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 11:54:30 +00:00
Julian Smart ddc4f3b528 Applied patch [ 817317 ] fixes for errors and warnings reported by MinGW for utils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 09:01:25 +00:00
Julian Smart 6a205442c4 Applied patch [ 809066 ] Cleanup for text2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 16:09:29 +00:00
Mattia Barbon ea172e69cf Compilation fixes for WXWIN_COMPATIBILITY_2_4.
Don't include wx/wx.h, use the much smaller set of
required headers instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 16:11:09 +00:00
Mattia Barbon 7658b9eb37 wxX11 compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 21:36:27 +00:00
Vadim Zeitlin 2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Julian Smart 56d349220f Added files for creating independent Tex2RTF distributions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 09:56:23 +00:00
Julian Smart 11611a6211 Don't use deprecated functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 20:59:11 +00:00
Julian Smart aed3314d6e Replaced wxBuffer with wxTex2RTFBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 20:25:49 +00:00
Gilles Depeyrot 219f4a6d0d added missing wxSTD for cout & cerr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 17:41:53 +00:00
Gilles Depeyrot 4538b3f1b0 added missing const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 07:13:17 +00:00
Gilles Depeyrot ad781c239e renamed global variable to avoid conflict with export from Mac OS X framework
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 21:55:40 +00:00
Gilles Depeyrot 610c6dedc1 added CodeWarrior 5 project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 22:26:44 +00:00
George Tasker e4941e3d12 Fixed closing of program to work properly if PASS #1 failed for some reason. Before this fix, you could not exit the GUI version of the program under windows without using CTRL-ALT-DEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 21:04:36 +00:00
George Tasker 04b9c5bb04 Changes to catch macros that are missing arguments - not perfect, but it will work with all our current TEX files.
Added cleaner ABORT handling in some situations
If \\end{document} is not found, then program auto-aborts after first pass to avoid hanging in some endless loop until all system resources are exhausted and the program crashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 12:54:38 +00:00
Vadim Zeitlin dd107c50be applied patch for compilation with gcc 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 16:51:53 +00:00
Vadim Zeitlin 8efab359f7 fixed compilation with NO_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:36:11 +00:00
George Tasker fad535eea3 Added '_' checking that warns of the use of "_" or "\_" in the wrong places
Added syntax checking for common documenting problems that tex2rtf does not handle properly (like \begin{verbatim} and others needing to be on a line by themselves)
Syntax checking and curley brace matching can be turned on via the commandline, or the new OPTIONS menu choice if using a GUI.  Both are OFF by default to match current behavior
Compilation again possible now if wxUSE_DEBUG_CONTEXT is set to 0 in setup.h
Various GUI glitches fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 16:54:19 +00:00