ruby-vpi 15.0.0 → 15.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/Rakefile +2 -2
  2. data/doc/common.css +10 -18
  3. data/doc/common.tpl +28 -15
  4. data/doc/history.doc +4 -6
  5. data/doc/history.html +327 -286
  6. data/doc/history.yml +19 -0
  7. data/doc/intro.inc +47 -2
  8. data/doc/lib/doc_proxy.rb +16 -0
  9. data/doc/lib/erb_proxy.rb +5 -0
  10. data/doc/manual.doc +35 -26
  11. data/doc/manual.html +152 -100
  12. data/doc/memo.doc +16 -10
  13. data/doc/memo.html +29 -18
  14. data/doc/print.css +10 -0
  15. data/doc/readme.doc +2 -43
  16. data/doc/readme.html +42 -49
  17. data/doc/rss.xml +37 -0
  18. data/ext/Rakefile +10 -1
  19. data/ext/swig_vpi.h +924 -0
  20. data/ext/swig_vpi.i +2 -3
  21. data/ext/swig_wrap.cin +20 -37
  22. data/ref/c/annotated.html +1 -1
  23. data/ref/c/common_8h.html +1 -1
  24. data/ref/c/files.html +2 -1
  25. data/ref/c/functions.html +17 -17
  26. data/ref/c/functions_vars.html +17 -17
  27. data/ref/c/globals.html +3 -5
  28. data/ref/c/globals_0x62.html +1 -1
  29. data/ref/c/globals_0x63.html +30 -30
  30. data/ref/c/globals_0x65.html +2 -2
  31. data/ref/c/globals_0x66.html +1 -1
  32. data/ref/c/globals_0x67.html +1 -1
  33. data/ref/c/globals_0x69.html +1 -1
  34. data/ref/c/globals_0x6c.html +1 -1
  35. data/ref/c/globals_0x6d.html +1 -1
  36. data/ref/c/globals_0x6e.html +1 -1
  37. data/ref/c/globals_0x70.html +18 -18
  38. data/ref/c/globals_0x72.html +1 -1
  39. data/ref/c/globals_0x73.html +12 -13
  40. data/ref/c/globals_0x74.html +1 -1
  41. data/ref/c/globals_0x75.html +1 -1
  42. data/ref/c/globals_0x76.html +413 -413
  43. data/ref/c/globals_0x78.html +2 -2
  44. data/ref/c/globals_defs.html +30 -30
  45. data/ref/c/globals_defs_0x65.html +2 -2
  46. data/ref/c/globals_defs_0x6c.html +1 -1
  47. data/ref/c/globals_defs_0x6e.html +1 -1
  48. data/ref/c/globals_defs_0x70.html +3 -3
  49. data/ref/c/globals_defs_0x72.html +1 -1
  50. data/ref/c/globals_defs_0x73.html +2 -3
  51. data/ref/c/globals_defs_0x75.html +1 -1
  52. data/ref/c/globals_defs_0x76.html +411 -411
  53. data/ref/c/globals_defs_0x78.html +2 -2
  54. data/ref/c/globals_enum.html +1 -1
  55. data/ref/c/globals_eval.html +1 -1
  56. data/ref/c/globals_func.html +1 -1
  57. data/ref/c/globals_func_0x66.html +1 -1
  58. data/ref/c/globals_func_0x67.html +1 -1
  59. data/ref/c/globals_func_0x69.html +1 -1
  60. data/ref/c/globals_func_0x6d.html +1 -1
  61. data/ref/c/globals_func_0x70.html +2 -2
  62. data/ref/c/globals_func_0x72.html +1 -1
  63. data/ref/c/globals_func_0x73.html +1 -1
  64. data/ref/c/globals_func_0x76.html +1 -1
  65. data/ref/c/globals_type.html +26 -26
  66. data/ref/c/globals_vars.html +5 -7
  67. data/ref/c/index.html +1 -1
  68. data/ref/c/main_8c.html +1 -1
  69. data/ref/c/main_8h.html +1 -1
  70. data/ref/c/relay_8c.html +1 -1
  71. data/ref/c/relay_8h.html +1 -1
  72. data/ref/c/structswig__cast__info.html +1 -1
  73. data/ref/c/structswig__class.html +1 -1
  74. data/ref/c/structswig__module__info.html +1 -1
  75. data/ref/c/structswig__type__info.html +1 -1
  76. data/ref/c/structt__cb__data.html +23 -6
  77. data/ref/c/structt__vpi__delay.html +20 -3
  78. data/ref/c/structt__vpi__error__info.html +71 -3
  79. data/ref/c/structt__vpi__strengthval.html +3 -3
  80. data/ref/c/structt__vpi__systf__data.html +46 -12
  81. data/ref/c/structt__vpi__time.html +3 -3
  82. data/ref/c/structt__vpi__value.html +113 -3
  83. data/ref/c/structt__vpi__vecval.html +3 -3
  84. data/ref/c/structt__vpi__vlog__info.html +54 -3
  85. data/ref/c/swig__vpi_8h.html +8739 -0
  86. data/ref/c/swig__wrap_8cin.html +49 -102
  87. data/ref/c/unions__vpi__value__value.html +1 -1
  88. data/ref/c/verilog_8h.html +1 -1
  89. data/ref/c/vlog_8c.html +1 -1
  90. data/ref/c/vlog_8h.html +1 -1
  91. data/ref/c/vpi__user_8h.html +16 -16
  92. data/ref/ruby/created.rid +1 -1
  93. metadata +5 -2
data/Rakefile CHANGED
@@ -54,7 +54,7 @@ end
54
54
 
55
55
  # uploads the given sources to the given destination URL
56
56
  def upload aDestUrl, *aSources
57
- sh 'scp', '-Cr', aSources, aDestUrl
57
+ sh 'rsync', '-avz', '--delete', aSources, aDestUrl
58
58
  end
59
59
 
60
60
 
@@ -202,7 +202,7 @@ task :web_ref => 'ref' do |t|
202
202
  end
203
203
 
204
204
  desc "Publish user documentation."
205
- task :web_doc => :doc do |t|
205
+ task :web_doc => 'doc' do |t|
206
206
  upload PROJECT_SSH_URL, *t.prerequisites
207
207
  end
208
208
 
data/doc/common.css CHANGED
@@ -1,9 +1,8 @@
1
1
  body {
2
2
  font-family: sans-serif;
3
3
 
4
- margin: 1em;
5
- margin-left: 30%;
6
- margin-bottom: 3em;
4
+ margin-left: auto;
5
+ margin-right: auto;
7
6
  max-width: 600px;
8
7
  }
9
8
 
@@ -22,23 +21,16 @@ h1, h2, h3, h4, h5, h6 {
22
21
 
23
22
  /* table of contents */
24
23
 
25
- #navigation {
24
+ #menu {
26
25
  position: fixed;
27
26
  left: 0px;
28
27
  top: 0px;
29
- bottom: 0px;
30
-
31
- max-width: 25%;
32
- padding: 1em;
33
- overflow: auto;
34
- }
35
28
 
36
- #navigation h1, #navigation h2, #navigation h3, #navigation h4, #navigation h5, #navigation h6 {
37
- font-size: smaller;
38
- }
29
+ background-color: ghostwhite;
30
+ border-bottom: thin solid lavender;
31
+ width: 100%;
39
32
 
40
- #navigation ul {
41
- margin-left: -1.75em;
33
+ text-align: center;
42
34
  }
43
35
 
44
36
 
@@ -55,7 +47,7 @@ h1, h2, h3, h4, h5, h6 {
55
47
  }
56
48
 
57
49
  .admonition img {
58
- margin-right: 1em;
50
+ margin-right: 2em;
59
51
  }
60
52
 
61
53
 
@@ -113,12 +105,12 @@ th {
113
105
 
114
106
  /* center-align any tables and images */
115
107
 
116
- .formal table, .formal img, #navigation img {
108
+ .formal table, .formal img {
117
109
  margin-left: auto;
118
110
  margin-right: auto;
119
111
  }
120
112
 
121
- .formal img, #navigation img {
113
+ .formal img {
122
114
  display: block;
123
115
  }
124
116
 
data/doc/common.tpl CHANGED
@@ -12,15 +12,30 @@
12
12
  <html>
13
13
  <head>
14
14
  <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
15
- <link rel="stylesheet" type="text/css" href="common.css" />
15
+ <link rel="stylesheet" type="text/css" href="common.css" media="screen" />
16
+ <link rel="stylesheet" type="text/css" href="print.css" media="print" />
16
17
  <link rel="alternate" type="application/rss+xml" href="<%= RSS_URL %>" title="<%= RSS_INFO %>" />
17
18
  <title><%= page_title %></title>
18
19
  </head>
19
20
  <body>
21
+
20
22
  <% if table_of_contents %>
21
- <div id="navigation">
22
- <%= %{"!images/home.png(project home)!":readme.html}.redcloth %>
23
+ <br/><br/> <!-- give space below #menu -->
24
+
25
+ <%= %{p=. !images/home.png(Return to main page)!:readme.html}.redcloth %>
26
+
27
+ <div id="menu">
28
+ <%=
29
+ links = @indexes.values.flatten.map do |i|
30
+ %{<a href="##{i.name.downcase}">#{i.name}</a>}
31
+ end
32
+ links.unshift %{<a href="#index">Contents</a>}
23
33
 
34
+ links.join ' &middot; '
35
+ %>
36
+ </div>
37
+
38
+ <div id="index">
24
39
  <h1>Contents</h1>
25
40
  <%=
26
41
  @headings.map do |h|
@@ -28,18 +43,16 @@
28
43
  end.join("\n").redcloth
29
44
  %>
30
45
 
31
- <% DocProxy::CATEGORIES.each_pair do |cat, types| %>
32
- <h1><%= cat.to_s.capitalize %>s</h1>
33
-
34
- <% types.each do |type| list = @blocks[type] %>
35
- <% unless list.empty? %>
36
- <h2><%= type.to_s.capitalize %>s</h2>
37
- <%=
38
- list.inject('') do |memo, block|
39
- memo << "# #{(block.title || block.anchor).inspect}:##{block.anchor}\n"
40
- end.redcloth
41
- %>
42
- <% end %>
46
+ <% @indexes.each_pair do |cat, lists| %>
47
+ <h1><%= cat %></h1>
48
+
49
+ <% lists.each do |list| %>
50
+ <h2 id="<%= list.name.downcase %>"><%= list.name %></h2>
51
+ <%=
52
+ list.items.inject('') do |memo, block|
53
+ memo << "# #{(block.title || block.anchor).inspect}:##{block.anchor}\n"
54
+ end.redcloth
55
+ %>
43
56
  <% end %>
44
57
  <% end %>
45
58
  </div>
data/doc/history.doc CHANGED
@@ -5,12 +5,10 @@ This is a record of important changes that have occurred with each release.
5
5
 
6
6
  h2. Version numbering system
7
7
 
8
- We _strictly_ follow the RubyGems project's "rational versioning policy":http://www.rubygems.org/read/chapter/7 since release 6.3.0. To summarize[1] this "major.minor.build" numbering policy,
9
- * an increase in the _major_ number indicates that _functionally incompatible_ changes have occurred. Thus, what may have worked in the previous version may not work in the new one.
10
- * an increase in the _minor_ number indicates that _functionally compatible_ changes have occurred. Thus, what worked in the previous version will work in the new one.
11
- * an increase in the _build_ number indicates that the _underlying implementation_ has changed. The functionality has not changed and no features have been added. Thus, what worked in the previous version will work in the new one.
12
-
13
- fn1. C. Gross, "Explaining Open Source Version Numbers", [Online document], 2005 Nov 28, [cited 2006 Aug 27], Available HTTP: "http://ablog.apress.com/?p=738":http://ablog.apress.com/?p=738
8
+ We _strictly_ follow the RubyGems project's "rational versioning policy":http://www.rubygems.org/read/chapter/7 since version 6.3.0. This @major.minor.build@ numbering policy "can be summarized":http://ablog.apress.com/?p=738 as follows:
9
+ * an increase in the *major* number indicates that _functionally incompatible_ changes have occurred. Thus, what may have worked in the previous version may not work in the new one.
10
+ * an increase in the *minor* number indicates that _functionally compatible_ changes have occurred. Thus, what worked in the previous version will work in the new one.
11
+ * an increase in the *build* number indicates that the _underlying implementation_ has changed. The functionality has not changed and no features have been added. Thus, what worked in the previous version will work in the new one.
14
12
 
15
13
 
16
14
  <% @history.each do |entry| %>