Skip to content

Commit d9fc6a9

Browse files
committed
Merge branch 'development' into new_controls
Conflicts: PluginCore/PluginCore/Controls/RichToolTip.cs PluginCore/ScintillaNet/ScintillaControl.cs
2 parents bd1f6e0 + 71b2e6d commit d9fc6a9

File tree

285 files changed

+29813
-1532
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

285 files changed

+29813
-1532
lines changed

CI/build.cmd

+17-5
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ if %errorlevel% neq 0 goto :error
4545
:: Reset bin files
4646
git clean -f -x -d FlashDevelop\Bin\Debug
4747

48-
:: Remove bad files
49-
del FlashDevelop\Bin\Debug\FlashDevelop.exe.config
50-
del FlashDevelop\Bin\Debug\FlashDevelopx64.exe.config
51-
del FlashDevelop\Bin\Debug\StartPage\images\*.* /Q
48+
:: Remove unnecessary files
49+
rd "FlashDevelop\Bin\Debug\Tools\flexpmd" /s /q
50+
rd "FlashDevelop\Bin\Debug\Tools\flexlibs\frameworks\libs\player" /s /q
5251
for /d %%G in ("FlashDevelop\Bin\Debug\Projects\*ActionScript 3*") do rd /s /q "%%~G"
52+
del "FlashDevelop\Bin\Debug\StartPage\images\*.*" /q
5353

5454
:: Copy distro files
5555
xcopy Distros\HaxeDevelop /s /e /y
@@ -71,6 +71,18 @@ msbuild FlashDevelop.sln /p:Configuration=Release /p:Platform=x86 /t:Rebuild
7171
:: Check for build errors
7272
if %errorlevel% neq 0 goto :error
7373

74+
:: Rename binaries
75+
ren FlashDevelop\Bin\Debug\FlashDevelop.exe HaxeDevelop.exe
76+
ren FlashDevelop\Bin\Debug\FlashDevelop64.exe HaxeDevelop64.exe
77+
ren FlashDevelop\Bin\Debug\FlashDevelop.exe.config HaxeDevelop.exe.config
78+
ren FlashDevelop\Bin\Debug\FlashDevelop64.exe.config HaxeDevelop64.exe.config
79+
80+
: Remove files after build
81+
del "FlashDevelop\Bin\Debug\Plugins\CodeAnalyzer.dll" /q
82+
83+
:: Check for build errors
84+
if %errorlevel% neq 0 goto :error
85+
7486
:: Create the installer
7587
makensis FlashDevelop\Installer\Installer.nsi
7688

@@ -81,7 +93,7 @@ if %errorlevel% neq 0 goto :error
8193
7z a -tzip FlashDevelop\Installer\Binary\HaxeDevelop.zip .\FlashDevelop\Bin\Debug\* -xr!.empty
8294

8395
:: Done
84-
exit
96+
exit 0
8597

8698
:error
8799

CI/buildl.cmd

+21-6
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ if %errorlevel% neq 0 goto :error
5555
:: Reset bin files
5656
git clean -f -x -d FlashDevelop\Bin\Debug
5757

58-
:: Remove bad files
59-
del FlashDevelop\Bin\Debug\FlashDevelop.exe.config
60-
del FlashDevelop\Bin\Debug\FlashDevelopx64.exe.config
61-
del FlashDevelop\Bin\Debug\StartPage\images\*.* /Q
58+
:: Remove unnecessary files
59+
rd "FlashDevelop\Bin\Debug\Tools\flexpmd" /s /q
60+
rd "FlashDevelop\Bin\Debug\Tools\flexlibs\frameworks\libs\player" /s /q
6261
for /d %%G in ("FlashDevelop\Bin\Debug\Projects\*ActionScript 3*") do rd /s /q "%%~G"
62+
del "FlashDevelop\Bin\Debug\StartPage\images\*.*" /q
6363

6464
:: Copy distro files
6565
xcopy Distros\HaxeDevelop /s /e /y
@@ -81,6 +81,18 @@ msbuild FlashDevelop.sln /p:Configuration=Release /p:Platform=x86 /t:Rebuild
8181
:: Check for build errors
8282
if %errorlevel% neq 0 goto :error
8383

84+
:: Rename binaries
85+
ren FlashDevelop\Bin\Debug\FlashDevelop.exe HaxeDevelop.exe
86+
ren FlashDevelop\Bin\Debug\FlashDevelop64.exe HaxeDevelop64.exe
87+
ren FlashDevelop\Bin\Debug\FlashDevelop.exe.config HaxeDevelop.exe.config
88+
ren FlashDevelop\Bin\Debug\FlashDevelop64.exe.config HaxeDevelop64.exe.config
89+
90+
: Remove files after build
91+
del "FlashDevelop\Bin\Debug\Plugins\CodeAnalyzer.dll" /q
92+
93+
:: Check for build errors
94+
if %errorlevel% neq 0 goto :error
95+
8496
:: Create the installer
8597
makensis FlashDevelop\Installer\Installer.nsi
8698

@@ -90,11 +102,14 @@ if %errorlevel% neq 0 goto :error
90102
:: Create the archive
91103
7z a -tzip FlashDevelop\Installer\Binary\HaxeDevelop.zip .\FlashDevelop\Bin\Debug\* -xr!.empty
92104

93-
: finish
105+
:finish
106+
107+
:: Revert distro changes with backup
108+
git stash save "Local CI Backup..."
94109

95110
:: Done, Run FD
96111
start FlashDevelop\Installer\Binary\FlashDevelop.exe
97-
exit
112+
exit 0
98113

99114
:error
100115

CONTRIBUTING.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# AppMan entries
22

3-
If you want to add your plugin, theme or extension to AppMan, you need to do a pull request to the appman.xml file adding a new entry inside the FD5 comments. Requirements for the offered plugins, themes or extensions are:
3+
If you want to add your plugin, theme or extension to AppMan, you need to do a pull request to the `appman.xml` file adding a new entry inside the FD5 comments. Requirements for the offered plugins, themes or extensions are:
44

5-
* Code needs to be opensource and reviewable in a public repository
6-
* The item needs to be packaged into a FDZ file and provide a MD5 checksum for verification
7-
* The FDZ needs to extract the files to the user app data directory
5+
* Code needs to be open source and reviewable in a public repository
6+
* The item needs to be packaged into a `.fdz` file and provide a MD5 checksum for verification
7+
* The `.fdz` needs to extract the files to the automated plugin directory: `$(BaseDir)/Plugins`
88

99
# Coding style
1010

@@ -132,7 +132,7 @@ Point[] myPoints = new Point[]
132132
##### Code example:
133133

134134
```c#
135-
import System;
135+
using System;
136136

137137
namespace MyNameSpace
138138
{

Distros/HaxeDevelop/FlashDevelop/Bin/Debug/Docs/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ <h4>Components</h4>
5454
</ul>
5555

5656
<h4>Licence</h4>
57-
<p>Copyright (c) 2015 Haxe Foundation - HaxeDevelop.org</p>
58-
<p>Portions copyright Philippe Elsass and all helpful contributors.</p>
57+
<p>Copyright (c) 2016 Haxe Foundation - HaxeDevelop.org</p>
58+
<p>Portions copyright Mika Palmu, Philippe Elsass and all helpful contributors.</p>
5959
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6060
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
6161
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
Binary file not shown.

Distros/HaxeDevelop/FlashDevelop/Bin/Debug/HaxeDevelop.exe.config

-15
This file was deleted.

Distros/HaxeDevelop/FlashDevelop/Bin/Debug/StartPage/javascript/startpage.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
var rssFeedItemTemplate = "<h3 class=\"rssItemTitle\"><a href=\"javascript:window.external.ShowURL('{1}');\">{0}</a></h3><span class=\"rssItemContent\">{2}</span>";
55
var projectItemTemplate = "<li onclick=\"javascript:window.external.OpenProject('{1}');\" title=\"{1} ({2})\">{0}</li>";
66
var tooltipTextTemplate = "{0}<br /><b>" + getLocaleString("tooltipTextType") + "</b> {1}<br /><b>" + getLocaleString("tooltipTextCreated") + "</b> {2}<br /><b>" + getLocaleString("tooltipTextModified") + "</b> {3}";
7-
var versionAvailableTemplate = "<button onclick=\"window.open('{1}');\" class=\"button\"><b>{0}:</b> " + getLocaleString("downloadVersionHere") + "</button>";
7+
var versionAvailableTemplate = "<button onclick=\"javascript:document.location.href='{1}';\" class=\"button\"><b>{0}:</b> " + getLocaleString("downloadVersionHere") + "</button>";
88
var versionOutOfDateTemplate = "<p>" + getLocaleString("yourVersionIsOutOfDate") + "</p>";
99
var versionNotAvailableTemplate = "<p>" + getLocaleString("versionInfoNotAvailable") + "</p>";
1010

@@ -113,7 +113,7 @@ function handleVersionInfo(text, status)
113113
var html = "";
114114
if (status == 200)
115115
{
116-
var info = text.split("\r\n");
116+
var info = text.split(/[\r\n]+/g);
117117
var version = decodeURIComponent(getUrlParameter("v"));
118118
html = formatString(versionAvailableTemplate, info[0], info[1]);
119119
if (version && ((info[0] < version) - (version < info[0])) == -1)
@@ -188,8 +188,8 @@ function handleXmlData(projectXml, rssUrl)
188188
{
189189
if (rssUrl != null)
190190
{
191-
var fd3Url = "http://www.flashdevelop.org/latest.txt";
192-
loadTextDocument(fd3Url, handleVersionInfo);
191+
var hdUrl = "http://www.haxedevelop.org/latest.txt";
192+
loadTextDocument(hdUrl, handleVersionInfo);
193193
loadTextDocument(rssUrl, handleRssFeedXml);
194194
}
195195
var xml = parseXmlDocument(projectXml);

Distros/HaxeDevelop/FlashDevelop/Bin/Debug/Tools/appman/Config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- Distro directory name -->
44
<Name>HaxeDevelop</Name>
55
<!-- Exposed app list groups -->
6-
<Groups>FD5,HD5</Groups>
6+
<Groups>FD5,HD5,Haxelib</Groups>
77
<!-- Directory where the archives should be stored -->
88
<Archive>$(BaseDir)\Apps</Archive>
99
<!-- Entry config file, can be an URL or a file path -->
Binary file not shown.

0 commit comments

Comments
 (0)