Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ipaaca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ramin Yaghoubzadeh Torky
ipaaca
Commits
c4cfa1ad
Commit
c4cfa1ad
authored
12 years ago
by
Herwin van Welbergen
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of /vol/www/techfak/ags/soa/git/ipaaca
parents
a64bd712
80fb150d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
DEPS.txt
+3
-0
3 additions, 0 deletions
DEPS.txt
ipaacalib/cpp/src/ipaaca.cc
+8
-0
8 additions, 0 deletions
ipaacalib/cpp/src/ipaaca.cc
resolve.sh
+13
-2
13 additions, 2 deletions
resolve.sh
with
24 additions
and
2 deletions
DEPS.txt
0 → 100644
+
3
−
0
View file @
c4cfa1ad
REQUIRED="rsb"
OPTIONAL=""
This diff is collapsed.
Click to expand it.
ipaacalib/cpp/src/ipaaca.cc
+
8
−
0
View file @
c4cfa1ad
...
@@ -8,6 +8,8 @@ using namespace rsb::filter;
...
@@ -8,6 +8,8 @@ using namespace rsb::filter;
using
namespace
rsb
::
converter
;
using
namespace
rsb
::
converter
;
using
namespace
rsb
::
patterns
;
using
namespace
rsb
::
patterns
;
#define VERBOSE_HANDLERS 0
// util and init//{{{
// util and init//{{{
bool
Initializer
::
_initialized
=
false
;
bool
Initializer
::
_initialized
=
false
;
...
@@ -238,7 +240,13 @@ void IUEventHandler::call(Buffer* buffer, boost::shared_ptr<IUInterface> iu, boo
...
@@ -238,7 +240,13 @@ void IUEventHandler::call(Buffer* buffer, boost::shared_ptr<IUInterface> iu, boo
if
(
_condition_met
(
event_type
,
category
))
{
if
(
_condition_met
(
event_type
,
category
))
{
//IUInterface::ptr iu = buffer->get(uid);
//IUInterface::ptr iu = buffer->get(uid);
//if (iu) {
//if (iu) {
#if VERBOSE_HANDLERS == 1
std
::
cout
<<
"["
<<
pthread_self
()
<<
" handler ENTER]"
<<
std
::
endl
;
#endif
_function
(
iu
,
event_type
,
local
);
_function
(
iu
,
event_type
,
local
);
#if VERBOSE_HANDLERS == 1
std
::
cout
<<
"["
<<
pthread_self
()
<<
" handler EXIT]"
<<
std
::
endl
;
#endif
//}
//}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
resolve.sh
+
13
−
2
View file @
c4cfa1ad
#!/bin/bash
#!/bin/bash
PACKAGES
=
"rsb"
# This file is deprecated.
# Resolution is performed automatically in the soa script.
eval
"
`
grep
'^REQUIRED=\|^OPTIONAL='
DEPS.txt
`
"
REQ
=
"
$REQUIRED
"
OPT
=
"
$OPTIONAL
"
shopt
-q
nullglob
||
resetnullglob
=
1
shopt
-q
nullglob
||
resetnullglob
=
1
shopt
-s
nullglob
shopt
-s
nullglob
...
@@ -12,7 +17,8 @@ mkdir -p deps/lib
...
@@ -12,7 +17,8 @@ mkdir -p deps/lib
mkdir
-p
deps/include
mkdir
-p
deps/include
mkdir
-p
deps/scripts
mkdir
-p
deps/scripts
mkdir
-p
deps/python
mkdir
-p
deps/python
for
P
in
$PACKAGES
;
do
for
P
in
$REQ
$OPT
;
do
echo
"Importing from
$P
..."
files
=(
../
$P
/dist/bin/
*
)
;
files
=(
../
$P
/dist/bin/
*
)
;
[
"
$files
"
]
&&
cp
-a
../
$P
/dist/bin/
*
deps/bin/
[
"
$files
"
]
&&
cp
-a
../
$P
/dist/bin/
*
deps/bin/
files
=(
../
$P
/dist/lib/
*
)
;
files
=(
../
$P
/dist/lib/
*
)
;
...
@@ -25,7 +31,12 @@ for P in $PACKAGES; do
...
@@ -25,7 +31,12 @@ for P in $PACKAGES; do
[
"
$files
"
]
&&
for
zipfile
in
../
$P
/dist/python/
*
.zip
;
do
[
"
$files
"
]
&&
for
zipfile
in
../
$P
/dist/python/
*
.zip
;
do
unzip
-oqq
$zipfile
-d
deps/python
unzip
-oqq
$zipfile
-d
deps/python
done
done
files
=(
../
$P
/dist/
*
.py.zip
)
;
[
"
$files
"
]
&&
for
zipfile
in
../
$P
/dist/
*
.py.zip
;
do
unzip
-oqq
$zipfile
-d
deps/python
done
done
done
echo
"Done."
[
"
$resetdotglob
"
]
&&
shopt
-u
dotglob
[
"
$resetdotglob
"
]
&&
shopt
-u
dotglob
[
"
$resetnullglob
"
]
&&
shopt
-u
nullglob
[
"
$resetnullglob
"
]
&&
shopt
-u
nullglob
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment