Commit graph

74 commits

Author SHA1 Message Date
Mirek Fidler
34ff691308 sizeof(wchar) is changed to 4 (32 bits) to support non BMP unicode characters
This might bring some incompatibilities in the code that expects wchar to be 16 bit, which
  escpecially involves dealing with Win32 (and to lesser extend MacOS) APIs, so if your application
  is doing that, please check all instances of WCHAR (UniChar on MacOS) or even wchar
  especially type casts.

  To support host APIs, char16 is introduced (but there is no 16-bit String varian).

  Use ToSystemCharsetW, FromSystemCharsetW to convert texts to Win32 API.

- Support of drawing non-BMP characters in GUI
- Vastly improved character font replacement code (when drawing characters missing with requested font, replacement font is used)
- Last instances of Win32 ANSI calls (those ending with A) are removed
- UTF handling routines are refactored and their's naming is unified
- RTF is now being able to handle non-BMP characters (RTF is used as clipboard format for RichText)

Other minor changes:

- fixed TryRealloc issue
- improved MemoryCheck
- Removed MemoryAlloc48/MemoryFree48
- In theide Background parsing should less often cause delays in the main thread
2021-12-02 12:03:19 +01:00
cxl
792ab8ca25 ide: Fixed freeze on empty block replace
git-svn-id: svn://ultimatepp.org/upp/trunk@15563 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-12-02 09:08:46 +00:00
cxl
af3a34d9ff ide: Fixed progress issue in find
git-svn-id: svn://ultimatepp.org/upp/trunk@11597 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-12-20 22:36:26 +00:00
cxl
3d0e1db02f CtrlLib: TextCtrl, LineEdit, CodeEditor: view mode
git-svn-id: svn://ultimatepp.org/upp/trunk@11592 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-12-20 12:10:24 +00:00
cxl
1e89b14fcd CodeEditor, ide: ReadOnly mode now blocks all write operations (some of advanced ones were not blocked)
git-svn-id: svn://ultimatepp.org/upp/trunk@11112 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-05-22 09:57:05 +00:00
cxl
7560f610ea ide: Fixed cosmetics issue with Find All
git-svn-id: svn://ultimatepp.org/upp/trunk@10964 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-22 12:01:00 +00:00
cxl
32d9c4d7b7 ide: Find all optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@10956 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-19 12:26:43 +00:00
cxl
ef60a3ef31 ide: Find/replace cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@10955 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-19 12:01:57 +00:00
cxl
b788ada7ae ide: FindAll button in Find
git-svn-id: svn://ultimatepp.org/upp/trunk@10942 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-16 18:53:47 +00:00
cxl
8b96b11e8c CodeEditor: Minor fix of replace in block
git-svn-id: svn://ultimatepp.org/upp/trunk@10273 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 14:43:48 +00:00
cxl
44037d6a0c 'Event' branch merged into trunk (Callback now deprecated)
git-svn-id: svn://ultimatepp.org/upp/trunk@10260 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:15:05 +00:00
cxl
8ebdcbb0d5 uppsrc: NAMESPACE_UPP / END_UPP_NAMESPACE removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10186 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-08-26 17:15:30 +00:00
cxl
6cce96db60 ide: Fixed find in files history issue #824
git-svn-id: svn://ultimatepp.org/upp/trunk@8983 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-10-04 19:43:01 +00:00
cxl
465ad1007c ide: Fixed issue with individual replace #1235
git-svn-id: svn://ultimatepp.org/upp/trunk@8839 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-23 11:00:32 +00:00
cxl
f09422cb53 .docs
git-svn-id: svn://ultimatepp.org/upp/trunk@8670 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-07-11 12:42:43 +00:00
cxl
22383f7a4b CodeEditor: Find next now finds current selection if any #982
git-svn-id: svn://ultimatepp.org/upp/trunk@8171 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-02-13 14:40:24 +00:00
cxl
20d85ae19e CtrlLib: Fix in SuggestCtrl, CodeEditor: Fixed menu in replace
git-svn-id: svn://ultimatepp.org/upp/trunk@8040 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-14 15:29:05 +00:00
cxl
155667dad3 ide: 'grep' speed improved
git-svn-id: svn://ultimatepp.org/upp/trunk@8034 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-13 10:58:00 +00:00
cxl
751b1ebc56 CodeEditor: FindReplace refinements
git-svn-id: svn://ultimatepp.org/upp/trunk@7943 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-12-03 19:33:44 +00:00
cxl
c0ceb1aa12 CodeEditor: Fixed issue with Replace
git-svn-id: svn://ultimatepp.org/upp/trunk@7941 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-12-02 18:57:30 +00:00
cxl
3f1c0d28f0 ide: Fixed the issue with Replace in Files
git-svn-id: svn://ultimatepp.org/upp/trunk@7885 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-11-12 10:52:37 +00:00
cxl
d8d1d19a76 ide: Fixed problem in PDB debugger
git-svn-id: svn://ultimatepp.org/upp/trunk@7699 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-09-18 12:01:38 +00:00
cxl
3df4157183 ide: BlockReplace now provides grep-like options
git-svn-id: svn://ultimatepp.org/upp/trunk@7692 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-09-15 13:44:40 +00:00
cxl
8345e3f742 ide: Replacing wildcards improved ($ -> $ $)
git-svn-id: svn://ultimatepp.org/upp/trunk@7552 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-29 11:46:18 +00:00
cxl
ee263c893e ide: Fixed Find-prev issue (thanks gapko)
git-svn-id: svn://ultimatepp.org/upp/trunk@7549 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-28 11:37:14 +00:00
cxl
ac125d56a4 ide: Jump to definition improved #802
git-svn-id: svn://ultimatepp.org/upp/trunk@7525 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-21 17:17:32 +00:00
cxl
5e8fbcfab3 ide: Incremental find/replace from cursor improved
git-svn-id: svn://ultimatepp.org/upp/trunk@7523 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-18 13:26:02 +00:00
cxl
c125ca2a8e CtrlLib: Fixed issue with rect selection and Alt+F2 in theide, CodeEditor: added .t #809
git-svn-id: svn://ultimatepp.org/upp/trunk@7514 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-16 07:04:38 +00:00
cxl
491b7da91d ide: refining find & replace
git-svn-id: svn://ultimatepp.org/upp/trunk@7510 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-14 16:27:11 +00:00
cxl
10df6851f9 ide: 'from cursor' cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@7509 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-14 12:54:26 +00:00
cxl
abeb91ed21 ide: Incremental find now has 'from cursor' option
git-svn-id: svn://ultimatepp.org/upp/trunk@7508 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-14 12:40:43 +00:00
cxl
e5d17842e5 ide: FindReplace return option
git-svn-id: svn://ultimatepp.org/upp/trunk@7507 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-14 11:47:23 +00:00
cxl
32ea2628dd ide: Find now support PCRE regexes
git-svn-id: svn://ultimatepp.org/upp/trunk@7504 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-11 14:27:08 +00:00
cxl
02ff80afe3 ide: Find&Replace position new after scrollbars #807
git-svn-id: svn://ultimatepp.org/upp/trunk@7500 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-11 08:56:24 +00:00
cxl
67983636e9 ide: minor fixes and improvements (error log, selected package after the start)
git-svn-id: svn://ultimatepp.org/upp/trunk@7499 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-10 13:34:41 +00:00
cxl
0ffe8e4c84 ide: finalizing find&replace, *Core: Fixed issue with finding AString::Find
git-svn-id: svn://ultimatepp.org/upp/trunk@7495 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-08 10:19:51 +00:00
cxl
0633fe5c92 ide: Refining incremental search
git-svn-id: svn://ultimatepp.org/upp/trunk@7494 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-08 07:38:58 +00:00
cxl
3e934859fc ide: Refining find&replace
git-svn-id: svn://ultimatepp.org/upp/trunk@7484 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-03 13:43:49 +00:00
cxl
dc56fefa6c ide: Refining find&replace
git-svn-id: svn://ultimatepp.org/upp/trunk@7482 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-02 12:38:15 +00:00
cxl
677b99baac ide: Refining find&replace
git-svn-id: svn://ultimatepp.org/upp/trunk@7480 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-01 11:14:46 +00:00
cxl
5df53f2cd4 ide: refining new Find&Replace
git-svn-id: svn://ultimatepp.org/upp/trunk@7478 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-01 09:00:06 +00:00
cxl
a161a8a065 ide: Block replace fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@7477 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-06-30 18:21:55 +00:00
cxl
dba8f16a97 ide: Increamental search issues
git-svn-id: svn://ultimatepp.org/upp/trunk@7476 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-06-30 18:00:10 +00:00
cxl
26b48bf0e1 .DDUMPs
git-svn-id: svn://ultimatepp.org/upp/trunk@7475 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-06-30 16:45:14 +00:00
cxl
264964556b ide: Incremental searching
git-svn-id: svn://ultimatepp.org/upp/trunk@7474 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-06-30 15:36:09 +00:00
cxl
1e5f80877e ide: Refactoring find/replace GUI
git-svn-id: svn://ultimatepp.org/upp/trunk@7473 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-06-30 14:11:13 +00:00
cxl
306ffb4894 ide: Fixed Find behaviour when the text is not found
git-svn-id: svn://ultimatepp.org/upp/trunk@7436 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-06-11 06:02:17 +00:00
cxl
1e50ea640b ide: Global highlighting of selection IDs improved
git-svn-id: svn://ultimatepp.org/upp/trunk@7432 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-06-10 06:39:40 +00:00
cxl
1341ce0d45 ide: Highlighting selected/searched word #742, #741
git-svn-id: svn://ultimatepp.org/upp/trunk@7430 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-06-09 09:43:28 +00:00
cxl
10557d781c CodeEditor: FindReplace position move now a bit higher, to avoid LXDE WM problem
git-svn-id: svn://ultimatepp.org/upp/trunk@7402 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-05-29 07:01:02 +00:00