Skip to content

Commit cdab0bd

Browse files
committed
Merge remote-tracking branch 'origin/master' into retina
Conflicts: main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/DebuggingService.cs main/src/core/MonoDevelop.Core/MonoDevelop.Core.addin.xml main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs profiles/mac version-checks
2 parents 89fb810 + af406cd commit cdab0bd

28 files changed

Lines changed: 63 additions & 23 deletions

File tree

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
[submodule "main/external/guiunit"]
3636
path = main/external/guiunit
3737
url = git://github.com/mono/guiunit.git
38+
[submodule "main/external/fsharpbinding"]
39+
path = main/external/fsharpbinding
40+
url = git://github.com/fsharp/fsharpbinding.git
41+
branch = vnext
3842
[submodule "main/external/raygun4net"]
3943
path = main/external/raygun4net
4044
url = git://github.com/mono/raygun4net.git

configure

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,15 @@ configure_packages ()
154154
else
155155
enable_tests=" "
156156
fi
157+
158+
builddir=`pwd`/$path/build
159+
for p in $ops ; do
160+
arg=`echo $p | cut -d '=' -f 1`
161+
if [ $arg == "--addins-dir" ] ; then
162+
builddir=`pwd`/$path/`echo $p | cut -d '=' -f 2`
163+
fi
164+
done
165+
157166
title="Configuring package: $path"
158167
nc=`echo $title | wc -m`
159168
echo $title
@@ -164,14 +173,16 @@ configure_packages ()
164173
sct="./autogen.sh $enable_tests"
165174
elif test -a $path/configure; then
166175
sct=./configure
176+
elif test -a $path/configure.sh; then
177+
sct=./configure.sh
167178
else
168179
echo Configuration script not found in directory: $p
169180
exit 1
170181
fi
171182
pushd $path > /dev/null
172183
PKG_CONFIG_PATH=$localconf:$PKG_CONFIG_PATH $sct --prefix=$prefix $ops || handle_config_error
173184
popd > /dev/null
174-
create_local_config $path
185+
create_local_config $path $builddir
175186
packages="$packages $path"
176187
done
177188
rm -f local-config/main.addins
@@ -189,14 +200,14 @@ create_local_config ()
189200

190201
# Copy the .pc file to local-config, and set the base lib directory
191202
mkdir -p local-config
192-
builddir=`pwd`/$path/build
203+
builddir=$2
193204
for f in `ls $1/*.pc.in 2>/dev/null`; do
194205
pcfile=`echo $f | sed s,.*/,, | sed s/\.in$//`
195206
sed -e s,libdir=.*,libdir=$builddir, -e s/@VERSION@/$ver/g $f> local-config/$pcfile
196207
done
197208

198209
# Generate the .addins file for the package
199-
addins=local-config/`echo $path | sed s,/,_,`.addins
210+
addins=local-config/`echo $path | sed s,/,_,g`.addins
200211
echo "<Addins>" > $addins
201212
echo " <Directory include-subdirs=\"true\">$builddir</Directory>" >> $addins
202213
echo "</Addins>" >> $addins

main/build/MacOSX/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ app: monostub
5151
@echo "Copying MonoDevelop into app bundle"
5252
@echo ""
5353
cp -pR ../AddIns $(MAC_APP_LIB_DIR)
54+
cp -pR ../../external/fsharpbinding/monodevelop/bin/mac-linux/Debug $(MAC_APP_LIB_DIR)/AddIns/fsharpbinding
5455
cp -pR ../data $(MAC_APP_LIB_DIR)
5556
cp -pR ../bin $(MAC_APP_LIB_DIR)
5657
cp -pR ../locale $(MAC_APP_DIR)/Contents/MacOS/share

main/external/fsharpbinding

Submodule fsharpbinding added at b19b55a

main/src/addins/AspNet/MonoDevelop.AspNet/Templates/WebApplication-Empty.xpt.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<_Name>Empty Web Application</_Name>
99
<_Category>ASP.NET</_Category>
1010
<Icon>md-project-web</Icon>
11-
<LanguageName>*</LanguageName>
11+
<LanguageName>C#,VBNet</LanguageName>
1212
<_Description>Creates an empty ASP.NET Web Application project.</_Description>
1313
</TemplateConfiguration>
1414

main/src/addins/AspNet/MonoDevelop.AspNet/Templates/WebApplication.xpt.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<_Name>Web Application</_Name>
99
<_Category>ASP.NET</_Category>
1010
<Icon>md-project-web</Icon>
11-
<LanguageName>*</LanguageName>
11+
<LanguageName>C#,VBNet</LanguageName>
1212
<_Description>Creates a new ASP.NET Web Application project.</_Description>
1313
</TemplateConfiguration>
1414

main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorDebuggerSession.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ void OnBreakpoint (object sender, CorBreakpointEventArgs e)
338338
binfo.IncrementHitCount();
339339
if (!binfo.HitCountReached)
340340
return;
341-
341+
342342
if (!string.IsNullOrEmpty (bp.ConditionExpression)) {
343343
string res = EvaluateExpression (e.Thread, bp.ConditionExpression);
344344
if (bp.BreakIfConditionChanges) {
@@ -404,6 +404,7 @@ void OnProcessExit (object sender, CorProcessEventArgs e)
404404
// If the main thread stopped, terminate the debugger session
405405
if (e.Process.Id == process.Id) {
406406
lock (terminateLock) {
407+
process.Dispose ();
407408
process = null;
408409
ThreadPool.QueueUserWorkItem (delegate
409410
{

main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/MtaThread.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ static void MtaRunner ()
6262
catch (Exception ex) {
6363
workError = ex;
6464
}
65+
finally {
66+
workDelegate = null;
67+
}
6568
wordDoneEvent.Set ();
6669
}
6770
while (Monitor.Wait (threadLock, 60000));

main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/DebuggingService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public static bool IsFeatureSupported (DebuggerFeatures feature)
272272
public static DebuggerFeatures GetSupportedFeatures (IBuildTarget target)
273273
{
274274
var fc = new FeatureCheckerHandlerFactory ();
275-
var ctx = new ExecutionContext (fc, null);
275+
var ctx = new ExecutionContext (fc, null, IdeApp.Workspace.ActiveExecutionTarget);
276276

277277
target.CanExecute (ctx, IdeApp.Workspace.ActiveConfiguration);
278278

@@ -378,6 +378,7 @@ static void Cleanup ()
378378
busyStatusIcon = null;
379379
session = null;
380380
console = null;
381+
pinnedWatches.InvalidateAll ();
381382
}
382383

383384
if (oldLayout != null) {

0 commit comments

Comments
 (0)