projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1a3095b
)
src/Project/Gtk.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 26 May 2015 05:52:23 +0000
(13:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 26 May 2015 05:52:23 +0000
(13:52 +0800)
src/Project/Gtk.vala
patch
|
blob
|
history
diff --git
a/src/Project/Gtk.vala
b/src/Project/Gtk.vala
index
06fc80c
..
ed0d890
100644
(file)
--- a/
src/Project/Gtk.vala
+++ b/
src/Project/Gtk.vala
@@
-210,7
+210,7
@@
namespace Project {
public Gee.ArrayList<string> filesForCompile(string in_path)
{
public Gee.ArrayList<string> filesForCompile(string in_path)
{
- var allfiles = this.filesAll();
+ var allfiles = this.filesAll(
in_path
);
var ret = new Gee.ArrayList<string>();
var ret = new Gee.ArrayList<string>();
@@
-257,12
+257,12
@@
namespace Project {
public Gee.ArrayList<string> filesForOpen(string in_path)
{
public Gee.ArrayList<string> filesForOpen(string in_path)
{
- var allfiles = this.filesAll();
+ var allfiles = this.filesAll(
in_path
);
var ret = new Gee.ArrayList<string>();
for (var i = 0; i < allfiles.size; i ++) {
var ret = new Gee.ArrayList<string>();
for (var i = 0; i < allfiles.size; i ++) {
- var fn =
c
files.get(i);
+ var fn =
all
files.get(i);
try {
if (Regex.match_simple("\\.vala\\.c$", fn)) {
try {
if (Regex.match_simple("\\.vala\\.c$", fn)) {
@@
-274,7
+274,7
@@
namespace Project {
}
if (Regex.match_simple("\\.vala$", fn)) {
}
if (Regex.match_simple("\\.vala$", fn)) {
- var vv = (new Regex("\\.vala$")).replace( fn, fn, 0, ".bjs");
+ var vv = (new Regex("\\.vala$")).replace( fn, fn
.length
, 0, ".bjs");
if (allfiles.index_of( vv) > -1) {
continue;
}
if (allfiles.index_of( vv) > -1) {
continue;
}
@@
-287,7
+287,7
@@
namespace Project {
// not a c file...
if (Regex.match_simple("\\.c$", fn)) {
// not a c file...
if (Regex.match_simple("\\.c$", fn)) {
- var vv = (new Regex("\\.c$")).replace( fn, fn, 0, ".vala");
+ var vv = (new Regex("\\.c$")).replace( fn, fn
.length
, 0, ".vala");
if (allfiles.index_of( vv) > -1) {
continue;
}
if (allfiles.index_of( vv) > -1) {
continue;
}