Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
8c421f94
Commit
8c421f94
authored
Nov 05, 2018
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of newton:/data1/x0-0-0/pwr
parents
22a50738
dde604cd
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
12 deletions
+32
-12
sev/exe/sev_server/src/os_templ/link_rule.mk
sev/exe/sev_server/src/os_templ/link_rule.mk
+7
-3
src/exp/com/src/os_linux/hw_arm/wb_rtt_comppicture.sh
src/exp/com/src/os_linux/hw_arm/wb_rtt_comppicture.sh
+2
-2
src/tools/pwre/src/os_linux/pwre.pl
src/tools/pwre/src/os_linux/pwre.pl
+4
-0
xtt/lib/cow/src/cow_wow.cpp
xtt/lib/cow/src/cow_wow.cpp
+16
-5
xtt/lib/cow/src/cow_wow.h
xtt/lib/cow/src/cow_wow.h
+1
-0
xtt/lib/ge/src/ge_subpalette.cpp
xtt/lib/ge/src/ge_subpalette.cpp
+2
-2
No files found.
sev/exe/sev_server/src/os_templ/link_rule.mk
View file @
8c421f94
ifndef
link_rule_mk
link_rule_mk
:=
1
ifeq
($(PWRE_CONF_LIBHDF5),1)
ifndef
pwre_cxx
ifeq
($(PWRE_CONF_LIBHDF5),1)
ldsev
=
mpic++
else
else
ldsev
=
$(ldxx)
endif
else
ldsev
=
$(pwre_cxx)
endif
link
=
$(ldsev)
$(elinkflags)
$(domap)
-o
$(export_exe)
\
...
...
src/exp/com/src/os_linux/hw_arm/wb_rtt_comppicture.sh
View file @
8c421f94
...
...
@@ -62,7 +62,7 @@ then
cinc
=
"-I
$pwr_inc
-I
$pwrp_rttbld
"
cflags
=
"-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
${
cc
}
-c
-o
$pwrp_obj
/
${
name
}
.o
$pwrp_rttbld
/
${
name
}
.c
${
cinc
}
${
cflags
}
ar rc
${
ar_name_pict
}
$pwrp_obj
/
${
name
}
.o
ar rc
U
${
ar_name_pict
}
$pwrp_obj
/
${
name
}
.o
else
# echo "Is rttsys"
ar_name_pict
=
${
pwr_lib
}
/libpwr_dtt.a
...
...
@@ -78,7 +78,7 @@ then
cflags
=
"-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
${
cc
}
-c
-o
${
bld_dir
}
/
${
name
}
.o
\
${
bld_dir
}
/
${
name
}
.c
${
cinc
}
${
cflags
}
ar rc
${
ar_name_pict
}
${
bld_dir
}
/
${
name
}
.o
ar rc
U
${
ar_name_pict
}
${
bld_dir
}
/
${
name
}
.o
fi
else
echo
"Opsys (
$opsys
) is not linux, not yet supported"
...
...
src/tools/pwre/src/os_linux/pwre.pl
View file @
8c421f94
...
...
@@ -1189,6 +1189,10 @@ sub copy ()
my
$flavour
=
$_
[
1
];
if
(
$flavour
eq
"")
{
$flavour
=
"
gtk
";
}
my
(
$cmd
)
=
"
make -f
$bindir
/import_files.mk
"
.
"
"
.
$_
[
0
]
.
"
_
"
.
$flavour
;
system
("
$cmd
");
}
...
...
xtt/lib/cow/src/cow_wow.cpp
View file @
8c421f94
...
...
@@ -62,7 +62,7 @@ void CoWowTimer::remove()
{
}
CoWowRecall
::
CoWowRecall
()
:
m_current_recall_line
(
0
),
m_current_size
(
0
)
CoWowRecall
::
CoWowRecall
()
:
m_current_recall_line
(
0
),
m_current_size
(
0
)
,
m_tmp_size
(
0
)
{
memset
(
m_recall
,
0
,
sizeof
(
m_recall
));
}
...
...
@@ -87,22 +87,33 @@ void CoWowRecall::push(const char* src)
void
CoWowRecall
::
resetTmp
()
{
for
(
int
i
=
0
;
i
<
m_
current
_size
;
i
++
)
{
for
(
int
i
=
0
;
i
<
m_
recall
_size
;
i
++
)
{
strcpy
(
tmp
[
i
],
m_recall
[
i
]);
}
m_current_recall_line
=
0
;
m_tmp_size
=
m_current_size
;
}
const
char
*
CoWowRecall
::
popUp
(
const
char
*
src
)
{
if
(
m_current_recall_line
==
0
&&
!
streq
(
src
,
tmp
[
0
]))
{
push
(
src
);
if
(
m_tmp_size
==
0
||
!
streq
(
tmp
[
0
],
""
))
{
for
(
int
i
=
m_recall_size
-
2
;
i
>=
0
;
i
--
)
{
strcpy
(
tmp
[
i
+
1
],
tmp
[
i
]);
}
m_tmp_size
++
;
if
(
m_tmp_size
>
m_recall_size
)
{
m_tmp_size
=
m_recall_size
;
}
}
strncpy
(
tmp
[
0
],
src
,
m_line_size
);
tmp
[
0
][
m_line_size
-
1
]
=
0
;
}
else
{
strncpy
(
tmp
[
m_current_recall_line
],
src
,
m_line_size
);
}
m_current_recall_line
++
;
if
(
m_current_recall_line
>
m_
current
_size
-
1
)
{
m_current_recall_line
=
m_
current
_size
-
1
;
if
(
m_current_recall_line
>
m_
tmp
_size
-
1
)
{
m_current_recall_line
=
m_
tmp
_size
-
1
;
}
return
tmp
[
m_current_recall_line
];
}
...
...
xtt/lib/cow/src/cow_wow.h
View file @
8c421f94
...
...
@@ -93,6 +93,7 @@ public:
char
m_recall
[
m_recall_size
][
m_line_size
];
int
m_current_recall_line
;
int
m_current_size
;
int
m_tmp_size
;
char
tmp
[
m_recall_size
][
m_line_size
];
void
push
(
const
char
*
src
);
...
...
xtt/lib/ge/src/ge_subpalette.cpp
View file @
8c421f94
...
...
@@ -311,9 +311,9 @@ public:
pwr_tFileName
name
;
};
int
subpalette_cmp
(
LocalFile
p1
,
LocalFile
p2
)
bool
subpalette_cmp
(
LocalFile
p1
,
LocalFile
p2
)
{
return
strcmp
(
p1
.
name
,
p2
.
name
);
return
strcmp
(
p1
.
name
,
p2
.
name
)
<
0
;
}
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment