Sun, 25 Sep 2016 20:46:54 +0200Don't re-register FileChangeListener on setup.py
Julien Enselme <jenselme@netbeans.org> [Sun, 25 Sep 2016 20:46:54 +0200] rev 18384
Don't re-register FileChangeListener on setup.py

This avoids the update time to grow longer and longer each time setup.py is updated.

Sun, 25 Sep 2016 19:46:32 +0200#257461: Force UTF-8 encoding in setup.py if getting properties failed
Julien Enselme <jenselme@netbeans.org> [Sun, 25 Sep 2016 19:46:32 +0200] rev 18383
#257461: Force UTF-8 encoding in setup.py if getting properties failed

This can happen when opening Python 3 projects since encoding is UTF-8 by
default, which means setup.py may not contain the the encoding line.

To do this, when getting the properties, we:
- copy the setup.py file
- append the encoding line at the beginning
- get the properties and detele the file

Sun, 25 Sep 2016 16:46:29 +0200#181102 Set encoding in templates
Julien Enselme <jenselme@netbeans.org> [Sun, 25 Sep 2016 16:46:29 +0200] rev 18382
#181102 Set encoding in templates

Based on a contribution by vincentvdl[at]netbeans.org

Sun, 25 Sep 2016 16:45:37 +0200Improve source level detection
Julien Enselme <jenselme@netbeans.org> [Sun, 25 Sep 2016 16:45:37 +0200] rev 18381
Improve source level detection

Source can level can be of type X.Y instead of Python.X.Y

Mon, 19 Sep 2016 18:52:37 +0200Don't try to add non Python interpreter as Python platform
Julien Enselme <jenselme@netbeans.org> [Mon, 19 Sep 2016 18:52:37 +0200] rev 18380
Don't try to add non Python interpreter as Python platform

In PythonPlatformManager, if the commands succeed but is not a Python interpreter
its name will be null (eg /usr/bin/ls). This will cause subsequent call to
"Manage" to fail due to a NullPtrException. We prevent this by returning a null
platform if the name is null.

This can happen if the user enters a wrong path when registering a new Python
platform.

Mon, 19 Sep 2016 17:04:00 +0200#267313 Don't report NullPtrExcep in PythonParser.standardParse
Julien Enselme <jenselme@netbeans.org> [Mon, 19 Sep 2016 17:04:00 +0200] rev 18379
#267313 Don't report NullPtrExcep in PythonParser.standardParse

Log them instead.

Mon, 19 Sep 2016 16:24:45 +0200Improve auto detection of Python on linux
Julien Enselme <jenselme@netbeans.org> [Mon, 19 Sep 2016 16:24:45 +0200] rev 18378
Improve auto detection of Python on linux

- Correctly detects all Python executable in /usr/bin (including Python 3 and
Python 2)
- Detects Pypy

Mon, 19 Sep 2016 14:59:43 +0200#267333 Prevent NullPointerException if no platform is defined for project
Julien Enselme <jenselme@netbeans.org> [Mon, 19 Sep 2016 14:59:43 +0200] rev 18377
#267333 Prevent NullPointerException if no platform is defined for project

In PythonProjectSourceLevelQuery.findValue we relied on the platform for the project but it may not be defined. In this case, we use the default platfrom instead.

Mon, 05 Sep 2016 00:30:55 +0200Added tag release82_base for changeset 04a79821e760
PGebauer <pgebauer@netbeans.org> [Mon, 05 Sep 2016 00:30:55 +0200] rev 18376
Added tag release82_base for changeset 04a79821e760

Mon, 05 Sep 2016 00:29:59 +0200The release82 branch created. release82
PGebauer <pgebauer@netbeans.org> [Mon, 05 Sep 2016 00:29:59 +0200] rev 18375
The release82 branch created.