[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.7.0-20110116-159-ge4872a6)
The branch, master has been updated
via e4872a662d21173526f9fe486d45d33877494035 (commit)
via 92b4b15049eaaab356e738a6e9f8acd9ca3e7320 (commit)
via 7c1670feb3f8879e5c6ef0fd9cdb3f9679e98482 (commit)
via 37b429e766bf17517bd22a80bfa83281260abae9 (commit)
from 971d122c1c17189dbf33d0d92de3cefb27fc0b97 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
gnetlist/src/g_netlist.c | 55 ++++++++++++++++++++++++++++++++++++----------
1 files changed, 43 insertions(+), 12 deletions(-)
=================
Commit Messages
=================
commit e4872a662d21173526f9fe486d45d33877494035
Author: Ivan Stankovic <pokemon@xxxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
gnetlist: g_graphical_objs_in_net...: remove use of deprecated SCM_STRING_CHARS
Reviewed-by: Peter TB Brett <peter@xxxxxxxxxxxxx>
:100644 100644 9234c18... 92d9ec5... M gnetlist/src/g_netlist.c
commit 92b4b15049eaaab356e738a6e9f8acd9ca3e7320
Author: Ivan Stankovic <pokemon@xxxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
gnetlist: g_get_attribute_by_pinnumber: remove use of deprecated SCM_STRING_CHARS
Reviewed-by: Peter TB Brett <peter@xxxxxxxxxxxxx>
:100644 100644 2da8a1a... 9234c18... M gnetlist/src/g_netlist.c
commit 7c1670feb3f8879e5c6ef0fd9cdb3f9679e98482
Author: Ivan Stankovic <pokemon@xxxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
gnetlist: g_get_attribute_by_pinseq: remove use of deprecated SCM_STRING_CHARS
Reviewed-by: Peter TB Brett <peter@xxxxxxxxxxxxx>
:100644 100644 393d605... 2da8a1a... M gnetlist/src/g_netlist.c
commit 37b429e766bf17517bd22a80bfa83281260abae9
Author: Ivan Stankovic <pokemon@xxxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
gnetlist: g_get_nets: remove use of deprecated SCM_STRING_CHARS
Reviewed-by: Peter TB Brett <peter@xxxxxxxxxxxxx>
:100644 100644 fb41a8e... 393d605... M gnetlist/src/g_netlist.c
=========
Changes
=========
commit e4872a662d21173526f9fe486d45d33877494035
Author: Ivan Stankovic <pokemon@xxxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
gnetlist: g_graphical_objs_in_net...: remove use of deprecated SCM_STRING_CHARS
Reviewed-by: Peter TB Brett <peter@xxxxxxxxxxxxx>
diff --git a/gnetlist/src/g_netlist.c b/gnetlist/src/g_netlist.c
index 9234c18..92d9ec5 100644
--- a/gnetlist/src/g_netlist.c
+++ b/gnetlist/src/g_netlist.c
@@ -832,14 +832,20 @@ SCM g_graphical_objs_in_net_with_attrib_get_attrib (SCM scm_netname, SCM scm_has
scm_has_attribute, SCM_ARG3,
"gnetlist:get-attr-of-conn-graph-objs-with-attr");
- wanted_net_name = SCM_STRING_CHARS (scm_netname);
- wanted_attrib = SCM_STRING_CHARS (scm_wanted_attribute);
- has_attrib = SCM_STRING_CHARS (scm_has_attribute);
-
+ scm_dynwind_begin (0);
+
+ wanted_net_name = scm_to_utf8_string (scm_netname);
if (wanted_net_name == NULL) {
return list;
}
+ scm_dynwind_free (wanted_net_name);
+
+ wanted_attrib = scm_to_utf8_string (scm_wanted_attribute);
+ scm_dynwind_free (wanted_attrib);
+
+ has_attrib = scm_to_utf8_string (scm_has_attribute);
+ scm_dynwind_free (has_attrib);
nl_current = graphical_netlist_head;
@@ -882,6 +888,7 @@ SCM g_graphical_objs_in_net_with_attrib_get_attrib (SCM scm_netname, SCM scm_has
nl_current = nl_current->next;
}
+ scm_dynwind_end ();
return list;
}
commit 92b4b15049eaaab356e738a6e9f8acd9ca3e7320
Author: Ivan Stankovic <pokemon@xxxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
gnetlist: g_get_attribute_by_pinnumber: remove use of deprecated SCM_STRING_CHARS
Reviewed-by: Peter TB Brett <peter@xxxxxxxxxxxxx>
diff --git a/gnetlist/src/g_netlist.c b/gnetlist/src/g_netlist.c
index 2da8a1a..9234c18 100644
--- a/gnetlist/src/g_netlist.c
+++ b/gnetlist/src/g_netlist.c
@@ -655,9 +655,16 @@ SCM g_get_attribute_by_pinnumber(SCM scm_uref, SCM scm_pin, SCM
SCM_ASSERT(scm_is_string (scm_wanted_attrib),
scm_wanted_attrib, SCM_ARG3, "gnetlist:get-pin-attribute");
- uref = SCM_STRING_CHARS (scm_uref);
- pin = SCM_STRING_CHARS (scm_pin);
- wanted_attrib = SCM_STRING_CHARS (scm_wanted_attrib);
+ scm_dynwind_begin (0);
+
+ uref = scm_to_utf8_string (scm_uref);
+ scm_dynwind_free (uref);
+
+ pin = scm_to_utf8_string (scm_pin);
+ scm_dynwind_free (pin);
+
+ wanted_attrib = scm_to_utf8_string (scm_wanted_attrib);
+ scm_dynwind_free (wanted_attrib);
/* here is where you make it multi page aware */
nl_current = netlist_head;
@@ -703,6 +710,8 @@ SCM g_get_attribute_by_pinnumber(SCM scm_uref, SCM scm_pin, SCM
nl_current = nl_current->next;
}
+ scm_dynwind_end ();
+
if (return_value) {
scm_return_value = scm_from_utf8_string (return_value);
} else {
commit 7c1670feb3f8879e5c6ef0fd9cdb3f9679e98482
Author: Ivan Stankovic <pokemon@xxxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
gnetlist: g_get_attribute_by_pinseq: remove use of deprecated SCM_STRING_CHARS
Reviewed-by: Peter TB Brett <peter@xxxxxxxxxxxxx>
diff --git a/gnetlist/src/g_netlist.c b/gnetlist/src/g_netlist.c
index 393d605..2da8a1a 100644
--- a/gnetlist/src/g_netlist.c
+++ b/gnetlist/src/g_netlist.c
@@ -569,9 +569,16 @@ SCM g_get_attribute_by_pinseq(SCM scm_uref, SCM scm_pinseq,
SCM_ASSERT(scm_is_string (scm_wanted_attrib),
scm_wanted_attrib, SCM_ARG3, "gnetlist:get-pin-attribute-seq");
- uref = SCM_STRING_CHARS (scm_uref);
- pinseq = SCM_STRING_CHARS (scm_pinseq);
- wanted_attrib = SCM_STRING_CHARS (scm_wanted_attrib);
+ scm_dynwind_begin (0);
+
+ uref = scm_to_utf8_string (scm_uref);
+ scm_dynwind_free (uref);
+
+ pinseq = scm_to_utf8_string (scm_pinseq);
+ scm_dynwind_free (pinseq);
+
+ wanted_attrib = scm_to_utf8_string (scm_wanted_attrib);
+ scm_dynwind_free (wanted_attrib);
#if DEBUG
printf("gnetlist:g_netlist.c:g_get_attribute_by_pinseq -- \n");
@@ -609,6 +616,8 @@ SCM g_get_attribute_by_pinseq(SCM scm_uref, SCM scm_pinseq,
nl_current = nl_current->next;
}
+ scm_dynwind_end ();
+
if (return_value) {
scm_return_value = scm_from_utf8_string (return_value);
} else {
commit 37b429e766bf17517bd22a80bfa83281260abae9
Author: Ivan Stankovic <pokemon@xxxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
gnetlist: g_get_nets: remove use of deprecated SCM_STRING_CHARS
Reviewed-by: Peter TB Brett <peter@xxxxxxxxxxxxx>
diff --git a/gnetlist/src/g_netlist.c b/gnetlist/src/g_netlist.c
index fb41a8e..393d605 100644
--- a/gnetlist/src/g_netlist.c
+++ b/gnetlist/src/g_netlist.c
@@ -347,9 +347,13 @@ SCM g_get_nets(SCM scm_uref, SCM scm_pin)
SCM_ASSERT(scm_is_string (scm_pin), scm_pin, SCM_ARG2,
"gnetlist:get-nets");
+ scm_dynwind_begin (0);
- wanted_uref = SCM_STRING_CHARS (scm_uref);
- wanted_pin = SCM_STRING_CHARS (scm_pin);
+ wanted_uref = scm_to_utf8_string (scm_uref);
+ scm_dynwind_free (wanted_uref);
+
+ wanted_pin = scm_to_utf8_string (scm_pin);
+ scm_dynwind_free (wanted_pin);
nl_current = netlist_head;
@@ -411,6 +415,8 @@ SCM g_get_nets(SCM scm_uref, SCM scm_pin)
nl_current = nl_current->next;
}
+ scm_dynwind_end ();
+
if (net_name != NULL) {
outerlist = scm_cons (scm_from_utf8_string (net_name), pinslist);
} else {
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs