Commit Graph

377 Commits

Author SHA1 Message Date
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
Zane U. Ji 5e0c1c8dc0 Fixed compiling problems with MinGW64 2012-10-07 08:27:14 +08:00
Zane U. Ji 1c45b64afe Bug #3570564 crash when there is a complexType has attribute "mixed" in a XSD 2012-09-24 22:05:20 +08:00
Zane U. Ji bc99b579db Clear error indicators when there is no error 2012-09-21 00:53:05 +08:00
Zane U. Ji 70292fe84a Fixed a crash 2012-09-20 19:54:03 +08:00
Zane U. Ji 3387f756fa Fixed a compiling problem with MinGW64 2012-09-20 19:53:18 +08:00
Zane U. Ji 3187e3a4ce Fixed an installation problem 2012-09-17 07:09:49 +08:00
Zane U. Ji a3dbae7241 Updated make files for 1.2.0.8 2012-09-16 21:16:17 +08:00
Zane U. Ji 2aa38f6da9 Added an inno setup script 2012-09-10 23:06:02 +08:00
Zane U. Ji 848778b66c Update version number to 1.2.0.8 2012-09-10 23:03:47 +08:00
Zane U. Ji 904f4aa0b4 Added translation how-to 2012-09-10 21:44:40 +08:00
Zane U. Ji 56a1e972b6 Removed a duplicated file 2012-09-10 21:42:43 +08:00
Zane U. Ji e42354ff09 Bug #3402443 Syntax coloring and folding loosed on big xmls 2012-09-08 20:18:27 +08:00
Zane U. Ji f51059a54e Honored a network control option
Backed out freezing UI code to let status bar updated
2012-09-05 20:38:34 +08:00
Zane U. Ji b5d4655986 Use wxSingleChoiceDialog to display a choice list 2012-09-04 22:03:07 +08:00
Zane U. Ji ca37b141d8 Removed an obsolete file 2012-09-04 21:05:19 +08:00
Zane U. Ji b464e10fda Enable debug log in GTK 2012-09-03 22:37:01 +08:00
Zane U. Ji b4aa69c2ca Made XercesCatalogResolver work. Don't load catalog over and over again. It isn't thread-safe according to the document.
Fixed a compiling problem with wxWidgets 2.9
2012-08-30 22:37:01 +08:00
Zane U. Ji e455fd0da3 Added missing files to Makefile 2012-08-29 20:57:23 +08:00
Zane U. Ji 8df6cd065b Fixed a few memory leaks 2012-08-27 20:25:08 +08:00
Zane U. Ji 0e3bfd65e5 Improved performance 2012-08-26 16:42:47 +08:00
Zane U. Ji 07d775377d Added a warning about SSE2 problem in Xerces-C++ 2012-08-25 19:54:38 +08:00
Zane U. Ji d47e52cedc Supported creating Schema/DTD from XML 2012-08-25 08:19:11 +08:00
Zane U. Ji 743ebcd7d7 Fixed problems in ubuntu 2012-08-20 20:12:32 +08:00
Zane U. Ji 807a96c1a0 Fixed compiling problem with wxWidgets 2.8.12 2012-08-18 23:41:27 +08:00
Zane U. Ji 7bad0039c5 Supported element substitution in XML schema 2012-08-17 01:49:57 +08:00
Zane U. Ji 0263408aef Supported navigation between documents with keyboard 2012-08-15 21:43:31 +08:00
Zane U. Ji 47dbfafd71 Fixed multi-thread problems with LibXML and Xerces-C++ 2012-08-15 20:45:24 +08:00
Zane U. Ji 3caf99e454 Fixed problem when compiling with GCC 4.7 2012-08-13 21:22:22 +08:00
Zane U. Ji 937d031ae9 Upgrade aspell to 0.6 2012-08-13 20:02:36 +08:00
Zane U. Ji 9fb6536248 Added data files 2012-08-12 21:14:30 +08:00
Zane U. Ji 4fd931159a Fixed a few function calls 2012-08-12 11:17:00 +08:00
Zane U. Ji 90dcc75929 Bug #2960087 *.config files are not supported 2012-08-11 22:41:00 +08:00
Zane U. Ji 1c963b324a Bug #2976802 build process FreeBSD 8.0 broken, patch inside 2012-08-11 18:47:16 +08:00
Zane U. Ji 9b2563595c Fixed a type name 2012-08-11 17:12:28 +08:00
Zane U. Ji 5367c5dabb Bug #2957125 Default browser choice ignored 2012-08-11 15:33:01 +08:00
Zane U. Ji a8ed8dc173 Updated developer list 2012-08-11 14:19:43 +08:00
Zane U. Ji 8815f65903 Don't free an internal object of Xerces-C++ (Bug #2900921) 2012-08-11 13:32:20 +08:00
Zane U. Ji cc30ea4961 Undo a replace all action correctly (Bug #2825280) 2012-08-11 08:33:17 +08:00
Zane U. Ji 6d6ade623e Don't initialize/terminate Xerces-C++ over and over again. It leads to crash when several files are opened on startup. This could be the root cause of some startup crashes, e.g. bug #2787738 and bug #2825812. 2012-08-11 07:50:42 +08:00
Zane U. Ji bfd582bdd1 Fixed a layout problem 2012-08-10 23:51:35 +08:00
Zane U. Ji 89feff7811 Corrected style file paths 2012-08-10 23:50:49 +08:00
Zane U. Ji 9a3a9c6280 Don't use XMLString::transcode to convert a name to native code-page Return constant references rather than objects 2012-08-10 21:34:13 +08:00
Zane U. Ji 9a9cf0e724 Made the result of first XPath evaluation the same as those of the others Fixed a potential memory leak 2012-08-10 20:42:59 +08:00
Zane U. Ji cb82a3c856 Removed magic numbers 2012-08-10 19:38:33 +08:00
Zane U. Ji acbd505cfe Avoided modifying a constant string 2012-08-10 19:36:06 +08:00
Zane U. Ji 5894e44ac2 Bug #2784140 Find & Replace insert text when nothing was found 2012-08-09 23:00:06 +08:00
Zane U. Ji 5ad9659c19 Fixed an encoding problem 2012-08-09 21:31:10 +08:00
Zane U. Ji 97b3ac3fc1 Fixed a temporary memory reference problem 2012-08-09 20:40:32 +08:00
Zane U. Ji e60ce08f9b Fixed crashes on startup 2012-08-09 19:23:00 +08:00
Zane U. Ji fd281aca5b Updated code of checking wxWidgets versions 2012-08-09 19:22:21 +08:00
Zane U. Ji 16b9efaf3d Fixed required attributes list 2012-08-06 23:27:22 +08:00
Zane U. Ji 9c9a141c96 Defined wxWidgets macros 2012-08-06 23:07:41 +08:00