Commit Graph

349 Commits

Author SHA1 Message Date
Zane U. Ji 19b7a74641 Normalize file names before going any further 2014-05-03 21:19:06 +08:00
Zane U. Ji b12b7fadc4 Fixed an updating problem 2014-04-27 22:14:08 +08:00
Zane U. Ji 87eac6e5aa Don't miss entity declarations when generate auto complete prompt 2014-04-27 22:07:35 +08:00
Zane U. Ji 47483ca5d8 Don't escape file names partially 2014-04-27 20:58:41 +08:00
Zane U. Ji 51b1bd3829 Worked around file URL problems
wxFileSystem::FileNameToURL http://trac.wxwidgets.org/ticket/16209
Both wxWidgets (<= 2.8.12) and Xerces-C++ have problems parsing file URLs when there are multi-byte characters
2014-04-27 20:35:09 +08:00
Zane U. Ji 7dbc742e57 Fixed assertion failures in debug version 2014-04-27 19:54:38 +08:00
Zane U. Ji fa5e760c82 Resolve DTDs explicitly before loading them 2014-04-24 22:47:21 +08:00
Zane U. Ji 7e7c756c60 Made UI more responsive 2014-04-24 20:14:29 +08:00
Zane U. Ji a988b943c5 Backed out a change so that debug versions and release versions can talk 2014-04-23 21:44:49 +08:00
Zane U. Ji 54e2064fe9 Don't assume the encoding of a large file is UTF-8 2014-04-23 20:48:37 +08:00
Zane U. Ji 3ad1790076 Fixed an updating problem 2014-04-22 22:42:02 +08:00
Zane U. Ji 89f25edc5d Show UI before opening any file 2014-04-22 22:40:36 +08:00
Zane U. Ji 00d8e7783f Supported auto complete list for DTDs that are on the internet 2014-04-22 22:33:21 +08:00
Zane U. Ji 13aedf637c Fixed problems when generating schemas 2014-04-22 22:17:53 +08:00
Zane U. Ji da89b9cbe6 Supported HTTPS on validation
Don't change working directory so that curl-ca-bundle.crt can be found.
2014-04-21 21:52:36 +08:00
Zane U. Ji de0d263bd7 Fixed problems when compiling with wxWidgets 2.8 2014-04-21 21:02:55 +08:00
Zane U. Ji 2f77ac47ea Fixed registry path in 64-bit installation mode 2014-04-19 20:07:16 +08:00
Zane U. Ji fe2cd0713b Feature #25 Fast commenting 2014-04-18 23:11:13 +08:00
Zane U. Ji fe0102dddd Added a close button to close find/replace panel when ESC key doesn't work 2014-04-13 23:30:09 +08:00
Zane U. Ji 57dacdc0a8 Set the language of HTML help files to support screen readers 2014-04-13 23:28:55 +08:00
Zane U. Ji 715dc32be7 Replaced std::string with wxString 2014-04-13 23:27:39 +08:00
Zane U. Ji 20c6d0ab19 Fixed an encoding problem 2014-04-13 23:17:32 +08:00
Zane U. Ji 8216a56d1e Improved encoding handling 2014-04-13 23:16:04 +08:00
Zane U. Ji 17f79c10c0 Fixed an encoding problem 2014-04-13 14:48:02 +08:00
Zane U. Ji e856dd10fe Fixed tab order 2014-04-13 11:41:11 +08:00
Zane U. Ji 3c26fa4831 Supported mingw64 2014-04-13 11:39:27 +08:00
Zane U. Ji 96ca999c16 Updated version NO to 1.2.1.1 2014-04-08 07:51:44 +08:00
Zane U. Ji 43ef24907e Updated version NO to 1.2.1 2014-04-05 10:02:35 +08:00
Zane U. Ji 8251ad478c Indicate that the document is valid when there are only warnings (Bug #161) 2014-03-29 19:22:58 +08:00
Zane U. Ji f65b1a1e61 Added shortcut keys for new menu items 2014-03-26 22:47:39 +08:00
Zane U. Ji 0df7f55493 Don't mistake file paths for URLs 2014-03-25 23:14:45 +08:00
Zane U. Ji cff6fb4256 Updated title when the file name changed 2014-03-24 20:03:32 +08:00
Zane U. Ji 9826820285 Improved messages 2014-03-24 19:11:15 +08:00
Zane U. Ji 19fded5473 Initialized constant objects explicitly (Bug #208)
From 8.5.9 of the C++ 2003 standard:

If no initializer is specified for an object, and the object is of (possibly cv-qualified) non-POD class type (or array thereof), the object shall be default-initialized; if the object is of const-qualified type, the underlying class type shall have a user-declared default constructor. Otherwise, if no initializer is specified for a nonstatic object, the object and its subobjects, if any, have an indeterminate initial value); if the object or any of its subobjects are of const-qualified type, the program is ill-formed.
2014-03-21 00:10:39 +08:00
Zane U. Ji e919668225 Bug #207 Cannot Change Text Size 2014-03-19 21:51:01 +08:00
Zane U. Ji b1a808633b Prefixed ++/-- operators for non-primitive types
Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
2014-03-19 20:21:14 +08:00
Zane U. Ji 74fdc53347 Cleaned up code 2014-03-19 19:53:39 +08:00
Zane U. Ji 705333a79a Bug #208 llvm/​clang compile error 2014-03-19 19:47:10 +08:00
Zane U. Ji 878c981934 Close panels with menu or Escape key 2014-02-28 20:09:08 +08:00
Zane U. Ji e750774b05 Improved performance 2014-02-08 19:15:15 +08:00
Zane U. Ji ae2457da03 Load translations from configured data path 2014-02-08 19:10:43 +08:00
Zane U. Ji cc0631f0b2 Bug #205 Updated messages.po for ver 1.2.0.12 in Khmer 2014-01-09 19:53:31 +08:00
Zane U. Ji a48fb47e32 Updated autoconf & automake files to support Ubuntu 12.04 LTS 2014-01-07 19:53:25 +08:00
Zane U. Ji 66507f8d51 Updated message strings 2013-12-23 22:14:36 +08:00
Zane U. Ji 437e139f4c Feature #166 Network access cannot be disabled 2013-12-23 22:12:10 +08:00
Zane U. Ji 27b5ba800c Fixed the output format when changing encoding 2013-12-23 22:09:54 +08:00
Zane U. Ji 502b2eacbd Added Khmer translations by Khoem Sokhem and Roger Sperberg
The correct abbreviation should be "km_KH", which is not supported by wxLocale::FindLanguageInfo at the moment.
2013-12-23 22:07:47 +08:00
Zane U. Ji ea705c221c Fixed error handling 2013-12-22 23:24:00 +08:00
Zane U. Ji 5ba5c52cad Fixed browser launching when that type of files are supposed to be opened in XML Copy Editor 2013-12-21 08:00:31 +08:00
Zane U. Ji 8e524983d1 Fixed the comparison of log levels 2013-12-21 00:33:02 +08:00
Zane U. Ji 9d1b206863 Fixed a memory problem 2013-12-20 23:47:50 +08:00
Zane U. Ji 59a82451a7 Fixed a Unicode problem 2013-12-20 23:14:48 +08:00
Zane U. Ji ca2d7541ed Reuse an existing translation 2013-12-20 23:02:57 +08:00
Zane U. Ji 18533712a3 Backed out improper change 2013-12-20 22:22:03 +08:00
Zane U. Ji 75ca5f839f Fixed a typo 2013-12-20 21:39:23 +08:00
Zane U. Ji f8c21cb846 Bring the window of an existing instance to front 2013-12-20 20:39:04 +08:00
Zane U. Ji bdd030850e Fixed compiling errors for wxWidgets 2.8 2013-12-17 19:21:13 +08:00
Zane U. Ji d58cbef4d7 Bug #120 Wrong size of horizontal scrollbar
For wxWidgets 2.9 and late
2013-12-16 11:56:29 +08:00
Zane U. Ji 5e1ab6289e Update the error level when logging an error 2013-12-16 11:53:58 +08:00
Zane U. Ji d7bd982545 Use memory rather than temporary files to pass XML content 2013-12-16 11:45:20 +08:00
Zane U. Ji b03707961c Bug #159 Can't change encoding while "Save UTF-8 BOM" option selected 2013-12-16 23:24:48 +08:00
Zane U. Ji 4b6e1a7bbb Use Xerces-C for DTD validation 2013-12-16 22:08:49 +08:00
Zane U. Ji 4f97286f5e Bug #161 Validation of TEI Lite DTD fails
Don't treat validation warning as error
Prefer memory to temporary file
2013-12-16 22:05:24 +08:00
Zane U. Ji 80229a3686 Replaced std::string with wxString 2013-12-15 22:21:31 +08:00
Zane U. Ji dff2513b0d Use memory rather than temporary files to pass XML content 2013-12-15 22:19:08 +08:00
Zane U. Ji e516b13d5e Bug #156 Text encoding is changed in result file that occurs after computing of xpath 2013-12-14 21:30:23 +08:00
Zane U. Ji 43e57d0dd5 Excluded windows related paths from being checked on Linux 2013-12-14 18:40:33 +08:00
Zane U. Ji 3c59e11f57 Fixed a compiler error for wxWidgets 2.8 2013-12-14 18:35:05 +08:00
Zane U. Ji a49d12fe1a Bug #145 When opening with xmlcopyeditor associated file when double-clicking on it opens twice 2013-12-14 17:56:07 +08:00
Zane U. Ji bf9eea070e Replaced wxFileName::FileExists with wxFileExists 2013-12-14 17:56:06 +08:00
Zane U. Ji a34b60072f Fixed a problem when replacing '>' with '>>'
Other '>'s except the first one wouldn't be replaced.
2013-12-14 17:56:06 +08:00
Zane U. Ji ae287e0edb Bug #185 Help file cannot be opened
Warn about invalid data paths
2013-12-14 17:55:52 +08:00
Zane U. Ji a2983e1960 Replaced wxFileName::DirExists with wxDirExists 2013-12-13 23:51:13 +08:00
Zane U. Ji e2e1b08a1a Fixed a compiler warning: -Wreorder 2013-12-13 23:43:06 +08:00
Zane U. Ji 486ddb4829 Updated autoconf & automake files 2013-12-12 00:27:49 +08:00
Zane U. Ji 8f80bee6c2 Improved performance
Bug #92 Large XML file without line breaks kills XML Copy Editor
2013-12-11 23:06:15 +08:00
Zane U. Ji 543a4b57a3 Updated version NO to 1.2.0.12 2013-12-07 11:40:01 +08:00
Zane U. Ji 9f9da80061 Feature #157 install without administrator permission 2013-12-07 00:40:50 +08:00
Zane U. Ji a189fe7c20 Use OS specific EOL 2013-12-06 20:01:00 +08:00
Zane U. Ji 0c3e138c22 #136 Feature to convert DTD to XSD 2013-12-05 23:04:41 +08:00
Zane U. Ji 35385f971a Fixed error indicators for wxWidgets 2.9+ 2013-11-27 22:44:24 +08:00
Zane U. Ji 411c3d26a0 Removed duplicated libraries 2013-11-27 22:42:38 +08:00
Zane U. Ji ba5b0d05ad Don't put XML header in generated DTDs 2013-11-17 22:56:28 +08:00
Zane U. Ji 39613729e9 Selected original directory when setting a new one
And fixed a memory leak
2013-11-16 23:55:09 +08:00
Zane U. Ji 13b5bb6a87 Cleaned up code using CppCheck 2013-11-13 00:30:07 +08:00
Zane U. Ji f73803ab6d Fixed "DTD not found" problem 2013-11-06 19:43:04 +08:00
Zane U. Ji 649b3593fb Bug #202 wrapaspell.cpp calls enchant::request_dict with wxString 2013-11-04 18:57:32 +08:00
Zane U. Ji 96481c4e9f Updated version NO to 1.2.0.11 2013-11-03 22:30:01 +08:00
Zane U. Ji 7e09ddd0df Fixed syntax coloring problem introduced in 1.2.0.10 2013-11-03 22:17:22 +08:00
Zane U. Ji 18add1e75f Bug #190 File specified on the command line without path not found 2013-11-03 20:40:27 +08:00
Zane U. Ji 742f07c6d4 Updated Inno setup script 2013-10-31 22:27:33 +08:00
Zane U. Ji 7a315a303c Fixed a memory leak 2013-10-29 19:01:45 +08:00
Zane U. Ji 9eee9ccdf9 Improved support for large files 2013-10-29 18:52:22 +08:00
Zane U. Ji d9a84f61d2 Made sure our catalog is used
According to "7.1.2. Resolution of External Identifiers" from http://www.oasis-open.org/committees/entity/spec-2001-08-06.html, our catalog may not be used if the system catalog, which is specified in a delegateSystem entry, is out of date, such as the catalog for resolving public ID "-//OASIS//DTD DocBook XML V5.0//EN"
2013-10-27 22:10:08 +08:00
Zane U. Ji e39638ea3b Corrected template names shown in the dialog when creating a new file 2013-10-26 21:21:47 +08:00
Zane U. Ji 9b385e7caa Updated docbook.dtd to version 5.0 2013-10-26 21:18:56 +08:00
Zane U. Ji c0db1726e9 Improved catalog resolving 2013-10-26 21:15:42 +08:00
Zane U. Ji 51cd9699c3 Removed an obsolete class 2013-10-26 16:23:22 +08:00
Zane U. Ji 1e7abc562e Display message about a known crash 2013-10-25 23:06:30 +08:00
Zane U. Ji 3e911ef34b Disabled the dialogs that might show up when exiting on Windows
wxWidgets logs errors internally. When the wxLogNull object is destroyed, the default log object will be effective. Logs are displayed by calling MessageBox in a GUI application by default.
2013-10-25 19:44:51 +08:00