50 Commits

Author SHA1 Message Date
Don HO
3de506bf48
Update copyright
Close #5919
2020-04-04 23:03:18 +02:00
Christian Grasser
c741f83bde
Update makefile for mingw gcc builds
Close #4145
2019-11-07 22:13:47 +01:00
Don HO
06db9ee338
Code improvement for NppParameters 2019-08-14 22:13:24 +02:00
Don HO
52a4e21af5
Remove ugly coding style 2019-03-16 05:33:50 +01:00
Rajendra Singh
da3a17e912 Support More localization
Close #5323
2019-03-04 09:53:01 +01:00
Rajendra Singh
ae980ce4d4 Don't allow restricted characters for tab file rename
Extend class StringDlg, so that characters which are not allowed in a file name such as |, :, >, < etc. will be restricted for tab's new name so that there will be no problem while saving backup file.

Close #5324
2019-03-03 15:51:31 +01:00
Rajendra Singh
3546268c23 Add the capacity to rename non-existing document's tab
Close #5311
2019-02-17 18:17:24 +01:00
Don HO
7fe3cda1d0 [EU-FOSSA] Use wcscpy_s instead of lstrcpy to prevent from buffer overflow 2019-02-11 02:07:04 +01:00
Don HO
58037e07b1 [EU-FOSSA] Fix stack buffer overflow on wsprintf in WordStyle dialog
Also remove dynamic allocation for CB_GETLBTEXT and use local array instead by controlling buffer size.
2019-02-09 03:28:52 +01:00
Don HO
cdd13ecadc [EU-FOSSA] Fix stack buffer overflow on CB_GETLBTEXT 2019-02-08 12:38:34 +01:00
Don HO
dfb9b5e330 Enhance User Defined Language System for supporting more than one UDL file.
Several UDL xml files can be loaded to allow to manage/share UDL more easily.

1. The old file userDefineLang.xml is kept in its old location and is still used.
2. The new folder userDefineLangs is added beside of the old UDL default file. Any UDL xml file can go into the folder userDefineLangs and will be loaded as UDL.
3. A UDL xml file must contain one (or several) user defined language(s).
4. The created UDL via UDL dialog and imported UDL are saved in  userDefineLang.xml (default UDL file).

https://notepad-plus-plus.org/community/topic/17072/new-enhancement-for-user-defined-language-system
2019-02-07 23:40:17 +01:00
Don HO
5eaf67b647 [EU-FOSSA] Fix stack overflow issue on User Define Language dialog 2019-01-30 01:52:18 +01:00
SinghRajenM
e9c0ee4866 Fixed UDL export extension issue
Fix #4372, close #4377
2018-04-20 02:42:56 +02:00
SinghRajenM
1e0b0b2cd9 Fix crash on styler dialog of User Defined Language dialog
Fixes #2646, fixes #4215, close #4279
2018-03-11 01:36:56 +01:00
Don HO
70f7287e58 More translatable entries for Folder as Workspace 2018-02-08 02:57:07 +01:00
Don HO
c05f24a3f6 Fix a typo 2018-01-28 21:07:48 +01:00
Christian Grasser
b335fd156b update docu from udl v2.0 to v2.1
see https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2713
Closes #2943
2017-03-05 16:03:50 +01:00
Don Ho
517d82a29a Fix x64 crash on UDL dialg
Fix x64 crash on new language dialog of UDL
2016-09-23 00:13:49 +02:00
Don HO
d4bcec1c01 Lost in Translation 3 2016-08-11 22:29:39 +02:00
Don HO
37ed299743 Lost in Translation 2 2016-08-10 00:22:45 +02:00
Don HO
2e82a99649 Lost in translation
while (true)
{
conversion<C++>(C-Style cast );
}
2016-08-06 01:29:54 +02:00
Don HO
30bd15f04a Use C++ conversion instead of C style cast 2016-07-23 11:37:58 +02:00
Don HO
797765173d Improve code quality by using static code analysis tool (cppchecker) 2016-07-18 02:08:29 +02:00
Don HO
64d7535be1 x64 ready
1. Remove all warning while compiling in x64
2. Treat warning as error (W4) while compiling in x64
2016-06-05 20:30:22 +02:00
Damien GERARD
3fb1d96671 Some warning fixes 2015-08-14 04:32:38 -07:00
NN
3ef870227d Use unordered_map 2015-06-06 23:25:05 +03:00
NN
def5952213 Merge branch 'master' into DlgProc 2015-06-03 07:19:34 +03:00
Don Ho
246c8bd168 [UPDATE] Unprecompile headers (part 3) 2015-06-02 18:01:47 +02:00
NN
dbb43a729f DlgProc returns INT_PTR and not BOOL. Use correct prototype and remove casts.
See https://msdn.microsoft.com/en-us/library/windows/desktop/ms645469(v=vs.85).aspx
2015-06-01 21:30:41 +03:00
Don Ho
e9e710a3d4 [UPDATE] Unprecompile headers (part 2) 2015-05-31 22:40:07 +02:00
Don Ho
7f6dd17f03 [CODE_ENHANCEMENT] Code enhancement. 2015-05-28 01:22:28 +02:00
Don Ho
0041757cb1 [ENHANCEMENT] Improve the usability of User Defined Language dialog: reduce dialog's height.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1320 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-27 15:33:24 +00:00
Don Ho
a41d760cb8 [BUG_FIXED] Apply DPI-aware on find & replace dialog tab and User define language dialog tab.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1223 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-16 15:24:00 +00:00
Don Ho
6264ef03d0 [ENHANCEMENT] Code optimization.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1073 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-08 00:12:50 +00:00
Don Ho
a62ecb6449 [ENHANCEMENT] Enhance the performance to get once the length in the for loop.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1041 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-05-15 07:28:55 +00:00
Don Ho
d60466eed3 [BUG_FIXED] (Author: Ivan Radić - aka Loreia) UDL 2.1.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1012 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-27 01:03:53 +00:00
Don Ho
b31da09c2b [BUG_FIXED] (Author: Ivan Radić, aka Loreia)
- Expanded max array style from 24 to 30 (to accomodate for GlobalStyles).
- UDL Styler dialog has removed close cutton because it is causing application crash in Npp v.6.2
- Fixed bug where "Folder in code" keywords were detected even outside of commnets.
- Fixed bug where 0xfece57 was picked as number, but 0xfe57ce was not.


git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@972 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-10-20 16:20:57 +00:00
Don Ho
2352cb8d52 [NEW] Make Styler dialog of UDL2 translatable.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@962 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-10-04 21:21:03 +00:00
Don Ho
a58e54bc68 [NEW_FEATURE] (Author: Loreia L.) New implementation of User Defined Language - UDL2.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@960 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-09-28 21:04:16 +00:00
Don Ho
a896922136 [UPDATE] Update the GPL of all project source code to avoid the bundle version made by the tiers sites : cnet, softonic and 01net.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@896 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-04-15 16:54:38 +00:00
Don Ho
d6f66b1d73 [ENHANCEMENT] Enhance the source code.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@873 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-02-27 01:05:24 +00:00
Don Ho
3a6ebc0885 [BUG_FIXED] Fix User Defined Language dialog docking problem under Windows 7.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@700 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-11-13 22:18:35 +00:00
Don Ho
4703502783 [BUG_FIXED] (Author: Christian Cuvier) Fix crashes on new 11 character long UDL names bug.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@637 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-06-29 23:43:44 +00:00
Don Ho
9715f095f1 [BUG_FIXED] Fix premature deallocation bug for import UDL.
[UPDATE] Update localization files.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@633 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-05-24 01:03:51 +00:00
Don Ho
a82f2de60b [NEW_FEATURE] Add import/export User Defined Language features.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@632 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-05-08 22:44:45 +00:00
Don Ho
9627abcd69 [NEW_FEATURE] (Author : Christian Cuvier) Add the escape character capacity for the delimiter in User Defined Language System.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@531 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-09-10 00:44:36 +00:00
Don Ho
0c490dc55a [ENHANCE] Thanks to Jocelyn Legault (precompiled headers), the build time is sped up.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@529 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-09-04 00:10:01 +00:00
Don Ho
3464682ef6 [ENHANCE] Enhance to avoid eventual crash (TCHAR * to generic_string).
[BUG_FIXED] Fix a crash bug due to unstability of FTP_synchronize plugin (enhance DockingCont.cpp).

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@514 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-08-03 00:37:30 +00:00
Don Ho
05bb2a8f77 [ENHANCE] Enhance the source code compiling by /W4 /WX
.

Signed-off-by: Don HO <don.h@free.fr>

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@505 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-07-04 11:33:17 +00:00
Don Ho
4dd3b257e0 Moved PowerEditor in trunk remotely
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@460 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-24 23:34:47 +00:00