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
2450ffeb
Commit
2450ffeb
authored
Aug 23, 2010
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of pwrcvs:/data1/git/pwr
parents
baf0fb5f
12a967ab
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
616 additions
and
4 deletions
+616
-4
java/jpwr/jop/src/os_linux/hw_x86_64/makefile
java/jpwr/jop/src/os_linux/hw_x86_64/makefile
+6
-0
java/jpwr/jop/src/os_macos/hw_x86_64/makefile
java/jpwr/jop/src/os_macos/hw_x86_64/makefile
+6
-0
java/jpwr/jopc/src/os_linux/hw_x86_64/makefile
java/jpwr/jopc/src/os_linux/hw_x86_64/makefile
+0
-1
java/jpwr/jopc/src/os_macos/hw_x86_64/makefile
java/jpwr/jopc/src/os_macos/hw_x86_64/makefile
+0
-1
otherio/lib/rt/src/rt_io_otherio.meth
otherio/lib/rt/src/rt_io_otherio.meth
+2
-0
src/exe/co_merge/src/co_merge.c
src/exe/co_merge/src/co_merge.c
+34
-1
src/lib/co/src/co_lng.cpp
src/lib/co/src/co_lng.cpp
+1
-1
ssabox/lib/rt/src/os_macos/rt_io_m_ssab_mioup.c
ssabox/lib/rt/src/os_macos/rt_io_m_ssab_mioup.c
+567
-0
No files found.
java/jpwr/jop/src/os_linux/hw_x86_64/makefile
View file @
2450ffeb
...
...
@@ -15,6 +15,8 @@ local_java_sources := \
JopUtilityIfc.java
\
JopUtility.java
\
JopSession.java
\
JopLang.java
\
JopMethods.java
\
JopMethodsMenu.java
\
JopConfirm.java
\
JopConfirmDialog.java
\
...
...
@@ -69,6 +71,7 @@ local_java_sources := \
GeDynTable.java
\
GeDynHostObject.java
\
GeDynXYCurve.java
\
GeDynSetValue.java
\
JopXYCurve.java
\
Proportion.java
\
RatioLayout.java
\
...
...
@@ -76,6 +79,7 @@ local_java_sources := \
JopSpiderFrame.java
\
JopLoginFrame.java
\
JopLoginApplet.java
\
JopLanguageFrame.java
\
GeColorEditor.java
\
GeColorBrightnessEditor.java
\
GeColorToneEditor.java
\
...
...
@@ -85,6 +89,7 @@ local_java_sources := \
JopUtilities.java
\
GeImage.java
\
GeFrameThin.java
\
GeGradient.java
\
Flow.java
\
FlowCtxInterface.java
\
FlowCmn.java
\
...
...
@@ -138,6 +143,7 @@ local_java_sources := \
HistStatModel2.java
\
HistStatistics.java
\
HistSearch.java
\
JopOp.java
\
JopSessionRep.java
-include
$(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
...
...
java/jpwr/jop/src/os_macos/hw_x86_64/makefile
View file @
2450ffeb
...
...
@@ -15,6 +15,8 @@ local_java_sources := \
JopUtilityIfc.java
\
JopUtility.java
\
JopSession.java
\
JopLang.java
\
JopMethods.java
\
JopMethodsMenu.java
\
JopConfirm.java
\
JopConfirmDialog.java
\
...
...
@@ -69,6 +71,7 @@ local_java_sources := \
GeDynTable.java
\
GeDynHostObject.java
\
GeDynXYCurve.java
\
GeDynSetValue.java
\
JopXYCurve.java
\
Proportion.java
\
RatioLayout.java
\
...
...
@@ -76,6 +79,7 @@ local_java_sources := \
JopSpiderFrame.java
\
JopLoginFrame.java
\
JopLoginApplet.java
\
JopLanguageFrame.java
\
GeColorEditor.java
\
GeColorBrightnessEditor.java
\
GeColorToneEditor.java
\
...
...
@@ -85,6 +89,7 @@ local_java_sources := \
JopUtilities.java
\
GeImage.java
\
GeFrameThin.java
\
GeGradient.java
\
Flow.java
\
FlowCtxInterface.java
\
FlowCmn.java
\
...
...
@@ -138,6 +143,7 @@ local_java_sources := \
HistStatModel2.java
\
HistStatistics.java
\
HistSearch.java
\
JopOp.java
\
JopSessionRep.java
-include
$(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
...
...
java/jpwr/jopc/src/os_linux/hw_x86_64/makefile
View file @
2450ffeb
...
...
@@ -34,7 +34,6 @@ local_java_sources := \
JopcIi.java,
\
JopcIoGen.java,
\
JopcIo.java,
\
JopcModeGen.java,
\
JopcMode.java,
\
JopcMode_sub.java,
\
JopcPidGen.java,
\
...
...
java/jpwr/jopc/src/os_macos/hw_x86_64/makefile
View file @
2450ffeb
...
...
@@ -34,7 +34,6 @@ local_java_sources := \
JopcIi.java,
\
JopcIoGen.java,
\
JopcIo.java,
\
JopcModeGen.java,
\
JopcMode.java,
\
JopcMode_sub.java,
\
JopcPidGen.java,
\
...
...
otherio/lib/rt/src/rt_io_otherio.meth
View file @
2450ffeb
...
...
@@ -5,8 +5,10 @@ Modbus_Module
Modbus_Master
Modbus_TCP_Server
Modbus_TCP_ServerModule
#if OS_LINUX
GPIO
GPIO_Module
Maxim_DS18B20
USB_Agent
Velleman_K8055_Board
#endif
\ No newline at end of file
src/exe/co_merge/src/co_merge.c
View file @
2450ffeb
...
...
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include "pwr.h"
#include "co_cdh.h"
#include "co_dcli.h"
typedef
enum
{
...
...
@@ -40,6 +41,25 @@ void usage()
"
);
}
static
int
check_os
(
char
*
str
,
char
*
os
)
{
char
os_vect
[
10
][
20
];
int
nr
;
int
i
;
char
os_element
[
20
];
nr
=
dcli_parse
(
str
,
"||"
,
""
,
(
char
*
)
os_vect
,
sizeof
(
os_vect
)
/
sizeof
(
os_vect
[
0
]),
sizeof
(
os_vect
[
0
]),
0
);
for
(
i
=
0
;
i
<
nr
;
i
++
)
{
dcli_trim
(
os_element
,
os_vect
[
i
]);
if
(
cdh_NoCaseStrcmp
(
os
,
os_element
)
==
0
)
return
1
;
}
return
0
;
}
int
main
(
int
argc
,
char
*
argv
[])
{
pwr_tFileName
filespec
;
...
...
@@ -61,6 +81,7 @@ int main( int argc, char *argv[])
char
pwre_cxx
[
80
];
char
pwre_ar
[
80
];
char
*
s
;
int
in_if
=
0
;
#if defined OS_LINUX
char
dos
[]
=
"OS_LINUX"
;
#elif defined OS_MACOS
...
...
@@ -108,7 +129,19 @@ int main( int argc, char *argv[])
while
(
dcli_read_line
(
line
,
sizeof
(
line
),
fp
))
{
dcli_trim
(
line
,
line
);
if
(
line
[
0
]
==
0
||
line
[
0
]
==
'#'
)
if
(
strncmp
(
line
,
"#if"
,
3
)
==
0
)
{
in_if
=
!
check_os
(
&
line
[
5
],
dos
);
continue
;
}
else
if
(
in_if
)
{
if
(
strncmp
(
line
,
"#endif"
,
6
)
==
0
)
{
if
(
in_if
)
in_if
=
0
;
continue
;
}
continue
;
}
else
if
(
line
[
0
]
==
0
||
line
[
0
]
==
'#'
)
continue
;
strncpy
(
mtab
[
mtabcnt
++
],
line
,
sizeof
(
mtab
[
0
]));
if
(
mtabcnt
>
(
int
)
sizeof
(
mtab
)
/
sizeof
(
mtab
[
0
])
-
1
)
...
...
src/lib/co/src/co_lng.cpp
View file @
2450ffeb
...
...
@@ -418,7 +418,7 @@ bool Lng::read()
lang_sKey
key
;
lang_sRecord
*
record
;
str
cpy
(
key
.
text
,
r1
.
text
);
str
ncpy
(
key
.
text
,
r1
.
text
,
sizeof
(
key
.
text
)
);
key
.
type
=
r1
.
type
;
record
=
(
lang_sRecord
*
)
tree_Insert
(
&
sts
,
tree
,
&
key
);
strcpy
(
record
->
transl
,
r2
.
text
);
...
...
ssabox/lib/rt/src/os_macos/rt_io_m_ssab_mioup.c
0 → 100644
View file @
2450ffeb
This diff is collapsed.
Click to expand it.
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