Svyatoslav
5861d416ea
Fix a memory leak
...
functionParser.h: add virtual destructor into abstract class.
A memory leak has been found by using PVS-Studio analyzer.
Analyzer warning: V599 The virtual destructor is not present, although the 'FunctionParser' class contains virtual functions.
Closes #3402
2017-07-23 12:09:19 +02:00
Cyrillev
02bdd11700
Add new languages support
...
Connect Scintilla Lexers to npp : SCLEX_ASN1 (Abstract Syntax Notation One), SCLEX_AVS (AviSynth), SCLEX_BLITZBASIC, SCLEX_PUREBASIC, SCLEX_FREEBASIC, SCLEX_CSOUND, SCLEX_ERLANG, SCLEX_ESCRIPT, SCLEX_FORTH, SCLEX_LATEX, SCLEX_MMIXAL, SCLEX_NIMROD, SCLEX_NNCRONTAB, SCLEX_OSCRIPT, SCLEX_REBOL, SCLEX_REGISTRY, SCLEX_RUST, SCLEX_SPICE, SCLEX_TXT2TAGS
Connect Scintilla Lexers to npp :
asn1 (Abstract Syntax Notation One) : https://fr.wikipedia.org/wiki/ASN.1#Exemple
avs (AviSynth) : http://avisynth.nl/index.php/Script_examples
blitzbasic : http://www.blitzbasic.com/bmdocs/command.php?name=Mid&ref=2d_cat
http://www.blitzbasic.com/codearcs/codearcs.php?cat=8 "
csound : http://www.csounds.com/manual/html/PrefaceGettingStarted.html
erlang : http://erlang.org/doc/man/file.html
http://erlang.org/documentation/doc-5.3.6.13/doc/getting_started/getting_started.html "
escript : http://erlang.org/doc/man/escript.html
forth : http://wiki.c2.com/?ExampleForthCode
freebasic : http://www.freebasic.net/
latex : http://physics.clarku.edu/sip/tutorials/TeX/intro.html (Sample LaTeX file)
mmixal : http://mmix.cs.hm.edu/examples/hello.html
nimrod : http://www.csse.monash.edu.au/~nimrod/nimrodportal/manual/planfileexamples.shtml
nncrontab : http://www.nncron.ru/help/EN/working/cron-format.htm
oscript : http://www.oscriptadventures.com/
purebasic : https://www.purebasic.com/documentation/reference/ide_form.html
rebol : http://www.rebol.net/cookbook/recipes/0031.html
registry : windows registry file
rust : http://rustbyexample.com/std_misc/file/open.html
spice : http://www.seas.upenn.edu/~jan/spice/spice.overview.html
txt2tags : https://github.com/txt2tags/txt2tags/blob/master/samples/sample.t2t
2017-07-23 10:24:53 +02:00
Don HO
cb7d6070fb
Fix a crash issue (regression)
...
Fix bad pointer deletion.
Fix incorrect pointer deletion.
Fix a memory leak.
2017-07-23 10:10:26 +02:00
Antoine Lang-Cavelier
e76b5dc869
Add foreground colours for diff in Monokai.xml
...
Some styles were missing and hence, was replaced by black.
Closes #3433
2017-07-21 14:22:56 +02:00
SinghRajenM
a476b885e4
Fix some incoherent codes
...
Fixed PVS-Studio static analyser reported issues:
FindReplaceDlg.cpp: Release dynamically allocated memory.
BabyGrid.cpp: lpcs variable assigned twice successively.
ProjectPanel.cpp: A memory leak is possible.
TreeView.cpp: Wrong value is returned.
Closes #3463
2017-07-21 11:50:36 +02:00
Don HO
29bbf3ce83
Update chineseSimplified.xml
2017-07-20 11:20:12 +02:00
popcorner
c748d8d18b
Update chineseSimplified.xml
2017-07-20 11:11:42 +02:00
EugenioAvila
639fbad4ea
Make some Spanish traduction correct
...
En la RAE. propone 'ascendiente' con otro sentido diferente. Referencia: http://dle.rae.es/srv/fetch?id=3vjB2P7
Closes #3299
2017-07-20 11:07:12 +02:00
SinghRajenM
0a54214a1e
Fix TAB key wired behavior on find window
...
Fix TAB key on "always" radio button (for transparency) of Find dialog make dialog transparent
Fixes #3345 , fixes #3439 , closes #3346
2017-07-20 10:58:20 +02:00
SinghRajenM
164e2c6738
Fix click on tab close file issue
...
How to reproduce the bug:
If the current tab size is smaller then next tab, click on 'x' button to close current tab, then next tab replces the closed tab position. Without move cursor and click on the next tab (now it becomes current tab), clicked tab is closed.
Fixed:
This bug is due to the current tab's information is not updated between 2 clicks.
Update the current hover tab RECT (_currentHoverTabRect) and close hover flag (_isCloseHover), so that x will be highlighted or not based on new _currentHoverTabRect.
Fixes #3004 , closes #3340
2017-07-17 10:53:15 +02:00
Magnus Österlund
d2f8ccce1b
Update Swedish translation to 7.4.2
...
Closes #3473
2017-07-17 10:49:49 +02:00
Rusi Dimitrov
9128cba496
Update Bulgarian translation
...
Closes #3431
2017-07-17 10:45:17 +02:00
SinghRajenM
a9adc4835d
Remove some useless codes
...
Closes #3472
2017-07-17 10:39:46 +02:00
SinghRajenM
ee69531823
Fixed cppChecker reported issues
...
1. Removed unused variable/code
smarthighlighter.cpp, Babtgrid.cpp, shortcut.h, ImageListSet.h
2. Member variable not initialised in ctor
ShortcutMapper.h, FileBrowser.h, ProjectPanel.h, TaskList.h, VerticalFileSwitcher.h, WindowDlg.h, lastRecentFileList.h
Closes #3478
2017-07-17 10:35:25 +02:00
Don HO
b859303148
Fix the original cmd line modified problem
...
Notepad++ command line could be seen by other processes (process explorer of SysInternals) as truncated due to parsing behavior.
Closes #3495
2017-07-15 14:53:37 +02:00
Don HO
d0d1bd9476
Merge remote-tracking branch 'refs/remotes/AndresTraks/master'
2017-07-15 14:38:51 +02:00
Roman Artiukhin
0d90ad1374
Fix text selection in combo boxes of find/replace dialog problem on resize
...
Fixes #3367 , closes #3416
2017-07-14 20:19:23 +02:00
schnurlos
3aa8535d5d
Update german.xml to v7.4.2 with newest fixes
...
Closes #3471
2017-07-14 16:30:31 +02:00
irgendsontyp
7aef4a6b6d
Fix file not dirty while its content changed on the hard drive.
...
Set buffer state to dirty when the file on the file system has changed but the user decided to not reload it in Notepad++.
Fixes #3246 , closes #3499
2017-07-14 11:53:33 +02:00
SinghRajenM
feff20893f
Fixed saved duplicated file in the same view issue
...
While D:\test.txt has been opend. And open new Tab (new 1), add random text then save
it as D:\test.txt - 2 different tabs having same file opened and they could have
different content.
The fix checks for opened file existence only in the other view
(either in sub view or in main view), but does not check in same view.
Fixes #3384 , Closes #3500
2017-07-14 11:38:06 +02:00
SinghRajenM
50c2a300e7
Fixed Folder as Workspace toolbar button not activated issue
...
Dropping folder into Notepad++ to have Folder as Workspace not make its
toolbar button activated. This bug is fixed by this commit.
Fixes #3282 , closes #3501
2017-07-14 11:25:12 +02:00
Luca
55b8bad2af
Update italian translation for 7.4.2 version
...
Closes #3505
2017-07-14 11:15:53 +02:00
SinghRajenM
d27a7fc012
Fixed typo
...
intall -> install
Closes #3507
2017-07-14 11:13:08 +02:00
Hiro5
7d8b119458
Update catalan.xml to v7.4.2
...
Closes #3509
2017-07-14 11:09:35 +02:00
Don HO
a0bc7ac5fb
Remove Plugin Manager from the package
2017-07-13 20:47:03 +02:00
Don HO
77d9a9959a
Add /noUpdater argument for installer
...
By launch "npp.7.4.3.Installer.exe /noUpdater /S" allows users install
Notepad++ silentely, without including Auto-Updater.
2017-07-13 08:46:44 +02:00
Don HO
4c2e41b649
Plugin name should match to plugin folder name
...
Load plugin only when plugin name match to plugin folder name.
For example: "NppPluginDemo.dll" can be loaded only when it in the
folder named "NppPluginDemo".
2017-07-10 19:26:22 +02:00
Don HO
2c9f096d6d
Make plugins loadable from %LOCALAPPDATA%\Notepad++\plugins\
2017-07-09 15:56:18 +02:00
Don HO
19f24d1d65
Add new installer argument /allowAppDataPluginsLoading
...
The new installer argument /allowAppDataPluginsLoading add file
allowAppDataPlugins.xml which allows Notepad++ to load plugins
from "%APPDATA%\Notepad++\plugins\"
2017-07-09 09:10:04 +02:00
Roman Artiukhin
e7a5c72465
Restore empty "Replace with" and "Filters" in the next session
...
Closes #3407
2017-07-02 21:45:17 +02:00
Don HO
f162181fba
Update translations
2017-07-02 18:40:07 +02:00
MISE Yasuhiro
f15e136fa3
update japanese.xml to v7.4.2
...
Add new lines to catch up with v7.4.2 (Document peeker, "<< Find" in
Find dialog).
Closes #3413
2017-07-02 14:48:03 +02:00
Lando
cc04476dfc
Update spanish.xml
...
Some fixes and improvements and also added missing translation for new find previous button and Mark tab in the Find & Replace dialog
Closes #3414
2017-07-02 14:44:18 +02:00
orbitcowboy
269a065bb9
Fixed memory leak.
...
Closes #3417
2017-07-02 14:40:16 +02:00
SinghRajenM
fb998007d7
Update English & Hindi translation
...
Localization for find dialog
Closes #3452
2017-07-02 14:31:49 +02:00
Don HO
f6d4d0c827
Remove a duplicated entry for shortcut mapper
2017-06-28 01:18:12 +02:00
Don Ho
3d76ab73ac
Notepad++ 7.4.2 release - fix a typo
...
I hate tpyos!
2017-06-18 23:40:46 +02:00
Don Ho
5b35000c30
Notepad++ 7.4.2 release
2017-06-18 23:18:14 +02:00
SinghRajenM
f48255d647
Installer shows installation size as 0 for minimalist
...
Closes #3371
2017-06-18 15:52:41 +02:00
Luca
bcae363497
Update for document peeker, version 7.4.1
...
Add translations for document peeker
Closes #3322
2017-06-18 15:45:45 +02:00
Magnus Österlund
caf45e6f10
Update Swedish to v7.4
...
Closes #3388
2017-06-18 12:54:57 +02:00
popcorner
0b7065a4b8
Update chineseSimplified.xml
...
Closes #3401
2017-06-17 23:59:41 +02:00
Don HO
c8969b773f
Add SWIFT language support
2017-06-17 20:03:28 +02:00
Don HO
4f81261a85
Make button size & position right in find replace dialog
2017-06-15 20:29:11 +02:00
Tony Karlsson
9f421eb2a9
Find previous and next instead of combo direction Down/Up
...
Add "Find Previous" button and remove "Direction Down/Up combo"
Closes #3339
2017-06-15 13:07:08 +02:00
Don HO
6f84824c2b
Fix verifying certificate function passes empty string to compare
...
For unknown reason, all strings passed by parameters are empty string,
use the macros solve this problem.
2017-06-15 02:25:25 +02:00
Svyatoslav
39b2386b33
Fixes identical sub-expressions for certificate verification
...
An issue has been found by using PVS-Studio analyzer.
Analyzer warning: V501 There are identical sub-expressions to the left
and to the right of the '!=' operator: subject != subject.
Closes #3399
2017-06-15 01:13:34 +02:00
Svyatoslav
6d542a4041
Fixed NULL Pointer Dereference
...
A weakness has been found by using PVS-Studio analyzer.
Analyzer warnings:
* V595 The 'pScint' pointer was utilized before it was verified against
nullptr. Check lines: 347, 353. scintillaeditview.cpp 347
* V713 The pointer _langList[i] was utilized in the logical expression
before it was verified against nullptr in the same logical expression.
parameters.h 1286
closes #3400
2017-06-14 19:54:59 +02:00
AngryGamer
694fd80fa5
Fix visual glitchy on clicking on tab due to Document Peeker.
...
Closes #3367
2017-06-13 20:53:52 +02:00
Roman Artiukhin
b3be0b448b
Make FindReplace dialog resizable horizontally
...
Closes #3376 , closes #2516 , closes #774
2017-06-13 09:24:13 +02:00