Commit Graph

329 Commits

Author SHA1 Message Date
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
Zane U. Ji 29766c2d45 Fixed a memory leak 2013-10-25 19:24:33 +08:00
Zane U. Ji 5310603467 Fixed Unicode problems 2013-10-25 19:23:34 +08:00
Zane U. Ji a9916c901e Updated source code URL 2013-10-25 00:12:11 +08:00
Zane U. Ji 4ec5f58ce1 Fixed file permissions 2013-10-20 00:10:22 +08:00
Zane U. Ji ed73d8dad0 A left out file for "Fixed crashes in Xerces-C by using wide file names" 2013-10-20 00:05:44 +08:00
Zane U. Ji 3962f183f4 Updated project settings 2013-10-19 17:17:22 +08:00
Zane U. Ji 672bbce65d Fixed crashes in Xerces-C by using wide file names
Xerces-C crashes when a file name is NULL. If the locale is wrong, wxString::mb_str returns NULL.

Wide file names also enables opening a file with any characters in its name on Windows. Since there is no wide file names on POSIX, it doesn't make much difference except that the program is more stable.
2013-10-19 08:44:17 +08:00
Zane U. Ji c484660b4c Fixed a layout problem 2013-10-17 01:34:15 +08:00
Zane U. Ji e366b6ec48 Fixed an encoding problem of file paths in prompt generator 2013-10-17 01:28:39 +08:00
Zane U. Ji 7b9701f75b Bug #191 Error on every start in en locale if en_US is not installed 2013-10-16 00:17:24 +08:00
Zane U. Ji ef4c10ce0b Made single instance checking work for wxWidgets 2.9 2013-10-15 22:55:28 +08:00
Zane U. Ji af3e0d751a Fixed a crash 2013-10-15 19:19:40 +08:00
Zane U. Ji 8d041e9433 Fixed a layout problem when resizing 2013-10-11 20:57:14 +08:00
Zane U. Ji e1bd4b433c Updated project settings for wxWidgets 3.0 2013-10-11 20:47:27 +08:00
Zane U. Ji 8233e54824 Bug #198 Incorrect XPath evaluation 2013-07-21 02:07:39 +08:00
Zane U. Ji 992e8c2322 Bug #197 Compiler error due to trailing comma in housestyle.h 2013-07-21 02:07:22 +08:00
Zane U. Ji b0a51a8893 Cleaned up source code 2013-07-21 02:05:11 +08:00
Zane U. Ji 065862fd5c Updated version number to 1.2.0.10 2013-01-18 00:28:02 +08:00
Zane U. Ji 85811a6290 Updated version to 1.2.0.9 2013-01-18 00:24:37 +08:00
Zane U. Ji 60bae36074 Separated configurations for wxWidgets 2.8 & 2.9 2013-01-17 21:53:05 +08:00