Commit Graph

1405 Commits

Author SHA1 Message Date
Don Ho
901f772e54 Small cosmetic enhancement in preference dialog 2015-11-29 22:00:22 +01:00
vlakoff
48238b704b Fix some bugs and inconsistencies in installer
Closes #1100
2015-11-29 19:52:21 +01:00
Don Ho
9a419cec57 [RELEASE] Notepad++ 6.8.7 release 2015-11-26 23:39:55 +01:00
Don Ho
b61170d669 Restore file extension feature in save dialog
Fixes #1159, fixes #1129
Restore file extension feature in save dialog: make new style save
dialog optional (without file extension feature).
2015-11-26 19:09:40 +01:00
Pavel Nedev
89cd163cca Fix crash issue while moving Find In Files progress window
Close #1187, Fixes #1172
Fix crash issue when moving the Find In Files progress window while the
search finishes.
2015-11-26 14:52:58 +01:00
Christian Grasser
d8f6ac67ea Remove scintilla deprecated calls/defines
Closes #1174
remove deprecated INDIC1_MASK and INDIC2_MASK, see http://www.scintilla.org/ScintillaDoc.html#DeprecatedMessages
2015-11-26 13:27:10 +01:00
Don Ho
d7b0eb9ebf Enhance language detection while "Save as"
By using detectLanguageFromTextBegining function
2015-11-26 09:25:09 +01:00
Christian Grasser
735e019382 Remove scintilla deprecated calls SCI_SETSTYLEBITS
Close #1173
Remove deprecated call to SCI_SETSTYLEBITS, see http://www.scintilla.org/ScintillaDoc.html#DeprecatedMessages
2015-11-25 13:59:19 +01:00
Don Ho
d24d3bc33c Add a new translation and update some translation 2015-11-24 23:54:58 +01:00
Artem Polivanchuk
0b1832e2ba Update ukrainian.xml
Closes #1120
2015-11-22 20:47:46 +01:00
fpaganini
7c791956c5 Update brazilian_portuguese.xml
Closes #1118, closes #1155
Add new features translates.
2015-11-22 20:32:55 +01:00
cpasmoi
91b9503beb french.xml typos + improve 2015-11-22 20:24:50 +01:00
JAMESY9868
5b8f8ac800 Fix Chinese wrong translate.
Closes #1079
空白操作->空白字符操作
2015-11-22 19:57:55 +01:00
vlakoff
14c84f68e1 Update GetWindowsVersion installer script to 4.1.1
Closes #1164
Adds support for Windows 8.1 and 10
2015-11-22 17:52:59 +01:00
Don Ho
5d369194d9 Make the name CMake right 2015-11-22 10:23:42 +01:00
Don Ho
c866bb7e95 Make several language names right
Fixes #907
2015-11-22 00:13:08 +01:00
Stanislav Golovin
7fbdb31dee Add back-quoted string support for javascript
Closes #1084, Fixes: #1055
2015-11-21 15:25:17 +01:00
Don Ho
8e43715baf Fix tab settings not working in javascript
When tab settings exists only for L_JS (the old settings) but if the
current document is L_JAVASCRIPT, tab settings for L_JS won't apply to
L_JAVASCRIPT document.
The fix is to use L_JS's tab settings for both L_JS and L_JAVASCRIPT
documents, and to synchronize the values of both type while user
modifies javascript tab settings.
2015-11-20 18:26:38 +01:00
Don Ho
08bc46ddfa Fix user defined keywords no effect in Javascript.
Fixes #1152
2015-11-20 17:40:50 +01:00
Christian Grasser
71edfb2dba Fix out-of bounds read access issue for smart highlighting.
Closes #1111
See https://github.com/notepad-plus-plus/notepad-plus-plus/pull/187/files
, see also comments added in the PR:

String returned by SCI_GETWORDCHARS from scintilla is not null terminated, so check for strlen in isWordChar() below on listChar is dangerous as strlen accesses data after the buffer until the first following null is found in memory
- seen with MS Application Verifier on x64 release
- expected to also happen on win32 x86 release
2015-11-18 12:12:52 +01:00
Don Ho
54cf3ca3a3 Let user choose to keep DSpell or not in Installer 2015-11-13 00:07:21 +01:00
JAMESY9868
43a7f39d47 Make "change Cace To" translation correct.
Close #1077
2015-11-01 22:55:21 +01:00
Don HO
e8af7b0770 Update CONTRIBUTING.md 2015-11-01 21:01:41 +01:00
dail8859
5bb6c81615 Move position to center when using "-n" option
Closes #1073, fixes #923
2015-11-01 13:22:48 +01:00
Don Ho
94bddd5a85 Fix crash due to backups and session snapshots
(Closes #1070)
When backups and session snapshots feature is enabled, batch
modification a big file could make Notepad++ crash. The solution is to
prevent from backing up modified file during the operation of batch
modification.
2015-10-31 14:54:32 +01:00
Don Ho
3733d97146 [RELEASE] Notepad++ 6.8.6 release 2015-10-29 02:15:49 +01:00
Don Ho
88e390fbc0 Fix 3 bytes file open issue
(Fixes #725)
Open a file of 3 bytes length with '\0' in the middle, only 1 character
shown in editor.
Such file is detected as UTF16 w/o BOM, that makes the wrong length
interpretation. Adding the "len mod 2 == 0" condition to enhance the
detection is the only solution I can find so far.
2015-10-28 01:57:47 +01:00
Don Ho
fe62ff989b Make function naming more explicite 2015-10-27 17:26:29 +01:00
Don Ho
7e8218f735 Fix wrong EOL detection for big files while reloading 2015-10-27 16:51:31 +01:00
Don Ho
280ddcd493 Make the EOL type more explicite 2015-10-27 15:35:19 +01:00
dail8859
2fd963d932 Fix wrong EOL mode for big files
Closes #1054, Fixes #1002

The problem is if fread() is called multiple times, then
UnicodeConvertor->convert() is called multiple times, which causes
m_pNewBuf to point to the last read in chunk. Then after the entire file
was loaded, getEOLFormatForm(UnicodeConvertor.getNewBuf(), ...) was being
used which was only trying to detect the EOL mode from the last read in
chunk. If this last chunk started with \n then the file was detected as
Unix line endings. The file linked from issue #1002 happened to have just
the right situation where this occurred.
2015-10-27 14:03:08 +01:00
Don Ho
14edff6892 Fix maintain indent not working in javascript regression 2015-10-26 12:33:40 +01:00
dail8859
459d59f8ba Update DocMap when setting user or external lexer
Closes #1050, fixes #1009
When setting the language to a user defined or external lexer, the DocMap
was not being refreshed to the new syntax.
2015-10-26 00:17:47 +01:00
Don HO
c2eb1e1919 Update english.xml
I have asked a question to a friend in USA for which one should I use, here is his answer:

1. "Extended (\r, \n, \t, \x..., \0)"
2. "Extended (\n, \r, \t, \0, \x...)"

The ellipsis (three dots) means that the list does not show everything that could be shown. 
If you mean that there are more items than what you can show, but you are listing just the most important ones, you want the second one. 

The first one implies that you are following a certain order and that some items are not listed but that \0 is last, either in list order or importance. At least, that's what it looks like to me.
2015-10-25 20:04:15 +01:00
Don Ho
ef38c0209c Fix reload file but document marked as unsaved bug
Closes #689
2015-10-25 01:50:07 +02:00
NN
8ba3a46b89 Synchronize VS2015 project
(fixes #1003)
2015-10-24 22:02:07 +02:00
dail8859
7781f1d03e Fix possible file corruption during macro playback
closes #1007, closes #919, closes #834
When backups are enabled, playing back a macro that takes a while can
corrupt a file (see the mentioned issues). I tested this with a ~100,000
line text file, ~3.3MB in size. Created a macro of Down5, Delete10. Played
this till the end of the file. Took about 20s to run so it had a few
backup cycles during it. Reproduced it fairly easily and never had it
happen after this adjustment.
2015-10-24 19:32:37 +02:00
Hiro5
6f9c845c17 Update catalan.xml
Update to v6.8.2.
Just one missing line (id="47004"), and a few small changes.
(closes #1033)
2015-10-24 18:50:09 +02:00
Luca
17e5e4ea6d Update italian.xml (6.8.2) 2015-10-24 18:44:00 +02:00
Don Ho
0b9ea49d5d Make it conform to the coding standard. 2015-10-23 00:07:44 +02:00
Don Ho
ae7c93305a Merge remote-tracking branch 'remotes/g3candy/master' 2015-10-22 23:51:53 +02:00
Frank Fesevur
8ac0aba68e Improve the language detection at the beginning of file content
* The Shebang detection is much improved:
  - detect more languages
  - not tied to any specific full path
  - See https://en.wikipedia.org/wiki/Shebang_%28Unix%29 for more details about Shebang
* There is not need to have a space after <?php. Closes #1014
* Remove the closing > in the html doctype to support older
* versions of html as well
2015-10-22 17:21:38 +02:00
Frank Fesevur
6526dd0b26 Improve the language detection at the beginning of a file
* The Shebang detection is much improved:
  * detect more languages
  * not tied to any specific full path
* There is not need to have a space after <?php
* Remove the closing `>` in the html doctype to
  support older versions of html as well
2015-10-22 17:21:16 +02:00
gerr
f632bc3b99 Merge remote-tracking branch 'origin/master'
Conflicts:
	PowerEditor/src/ScitillaComponent/Buffer.cpp
2015-10-22 15:59:50 +01:00
gerr
751069ab83 changed the semantics for fallback line endings. When the file format (line endings), can't be deduced (empty files, files without any newlines), then the buffer uses the setting for the Newdocument 2015-10-22 15:52:25 +01:00
Don Ho
49260a1dee Fix functionlist not working for Javascript regression. 2015-10-19 23:32:44 +02:00
Don Ho
828e14aca1 [RELEASE] Notepad++ 6.8.5 release 2015-10-18 23:00:48 +02:00
Don Ho
986492e47b Fix Javascript autocompletion not working regression. 2015-10-18 20:12:40 +02:00
Don Ho
8e103d837a [RELEASE] Notepad++ 6.8.4 release 2015-10-16 21:02:54 +02:00
Krzysiu
4c95669234 Update polish.xml
Fixed untranslated strings, removed jokes (sic!), fixed grammar, typography, typos, unification of translation, removed Love of RANDOM capiTaliZation.
2015-10-16 11:10:14 +02:00