Commit Graph

37 Commits

Author SHA1 Message Date
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
Włodzimierz Skiba
54ca2f7eb0 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 20:14:14 +00:00
Włodzimierz Skiba
1b392b3a68 Unicode fixes. Avoid int 'ch' and '(wx)char ch' in the same scope.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 19:17:05 +00:00
Václav Slavík
db6b57fff5 compilation fixes for gcc-3.4 + Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 08:36:06 +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
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
George Tasker
6644cbe7fb lastChar was defined as a char when it should have been an int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 01:50:13 +00:00
George Tasker
c22287afb2 Open curley braces '{' that were preceeded by a '\' were being incorrectly counted as a mismatched left curley brace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 21:31:47 +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
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
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
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
Gilles Depeyrot
dda2e4fdca corrected warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:21:23 +00:00
Václav Slavík
6d8b260cc3 added CSS stylesheets support to tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 10:50:48 +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
Julian Smart
d7d176241e Moved include for Windows compilation; minor doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 14:15:57 +00:00
Julian Smart
bf16085dc0 Added ignoreBadRefs so e.g. the PMF manual doesn't generate bad references to
wxWindows classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 18:23:35 +00:00
Gilles Depeyrot
bbd08c6a95 added missing const for char* arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 07:33:30 +00:00
Gilles Depeyrot
e4a2236693 added (another) missing const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 20:34:56 +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
Julian Smart
fd85b0640e Tex2RTF: underscores now only checked for if syntax checking is on.
Removed the MDIS_ALLCHILDSTYLES style again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 21:52:58 +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
7cbe4e7973 some missing c_str()s added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 00:21:47 +00:00
George Tasker
31ad62bc09 Changes to detect unresolved references (REF NOT FOUND) during HTML conversion
Filenames with underscores are no longer reported as errant uses of '_' character
Minor GUI display tweeks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-25 13:02:53 +00:00
George Tasker
341479ffb9 Removed check for '\par' at beginning of line that I mistakenly added before
Standardized the way I spelled 'curley' everywhere


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 23:37:39 +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
George Tasker
0e6ca3948f Now uses MAX_LINE_BUFFER_SIZE constant for the array sizing of the buffer that hold lines read in
Now checks that the line being read in does not exceed MAX_LINE_BUFFER_SIZE length, avoiding a crash whenever a long line is read in from a .tex file.  An error is now generated if the line is too long, and line line is truncated at MAX_LINE_BUFFER_SIZE characters.
All error messages are now constructed with wxStrings rather than char arrays.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-22 13:28:16 +00:00
George Tasker
3924dd226e Lots more memory/resource leak fixes. There are still more, but this solves about 75% of them.
These fixes also speed up tex2rtf greatly.  I can now build all the RTF version of the wxWindows manual in under 30 seconds, when before it took around 90 seconds.
Curley Brace matching is turned back on again.  I cannot find any places where it does not work.  If you find one, let me know


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 13:27:52 +00:00
Julian Smart
e846929090 Backslashes now allowed in \input filenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 13:16:32 +00:00
George Tasker
241c426ca8 Typecasting added to prevent warnings.
Instead of copying the temp file, if the temp file directory and output file directory for RTF are the same, program does a rename instead of a copy.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 12:05:13 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Václav Slavík
14204c7acc HTML Help Workshop support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 17:49:33 +00:00
Julian Smart
446dd881f5 Fixed silly error (what was Bool = int is now bool = 1/0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-12 20:49:50 +00:00
Julian Smart
9a29912f60 Corrected memory.cpp checkpoint bug; added Tex2RTF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-02 00:45:39 +00:00