rbcurse 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ **2009-02-11 00:57**
2
+ ## Path changes in order to make first gem ##
3
+
4
+ the first gem is ready 0.1.0. So various path changes (removed all the lib's in require)
5
+
6
+ frmincr200902110056.tgz
7
+ * * *
1
8
  **2009-01-21 18:30**
2
9
  ## Class Action ##
3
10
 
data/History.txt CHANGED
@@ -1,4 +1,11 @@
1
- === 1.0.0 / 2008-10-26
1
+ === 0.1.1 / 2009-02-12
2
+
3
+ * Bugfix
4
+
5
+ * Parameter added to table cell renderer's repaint got missed in one
6
+ * or 2 classes. Only affects Tables.
7
+
8
+ === 0.1.0 / 2009-02-11
2
9
 
3
10
  * 1 major enhancement
4
11
 
data/README.txt CHANGED
@@ -2,22 +2,29 @@
2
2
 
3
3
  * http://totalrecall.wordpress.com << CORRECTED !!!
4
4
 
5
+ * rbcurse on rubyforge: http://rbcurse.rubyforge.org/
6
+
5
7
  * See latest changes on http://github.com/rkumar/rbcurse/tree/master/CHANGELOG
6
8
 
7
- * For a working example, execute test2.rb (exit with F1, Or Cancel
8
- button/Alt-C).
9
+ * Many working demos in examples folder, such as:
10
+
11
+ * test2.rb (exit with F1, Or Cancel button/Alt-C) contains various
12
+ widgets. F2 for menubar toggling
13
+
14
+ * rfe.rb is a ruby file explorer
15
+
16
+ * testtodo.rb is a test TODO application
9
17
 
10
18
  * Screenshots on http://github.com/rkumar/rbcurse/wikis/screenshots
11
- and http://www.benegal.org/files/screen/
19
+ (OLD)
20
+ and http://www.benegal.org/files/screen/?M=D (new)
21
+ and on blog, http://totalrecall.wordpress.com
12
22
 
13
- Full screen sample: http://www.benegal.org/files/screen/nc_ss_full.png
14
23
 
15
24
  == DESCRIPTION:
16
25
 
17
- A small widget library written in ruby for creating ncurses
26
+ A small but comprehensive widget library written in ruby for creating ncurses
18
27
  applications.
19
- See lib/rbcurse/rwidgets.rb and lib/rbcurse/rform.rb.
20
- Test programs are in base dir: test1.rb, test2.rb, testtabp.rb
21
28
 
22
29
  == FEATURES
23
30
 
@@ -37,12 +44,11 @@ Above may be created using DSL like syntax, or hashes.
37
44
 
38
45
  == Sample programs:
39
46
 
47
+ * rfe : file explorer or Finder like app
48
+ * testtodo.rb : a todo app based on a yaml file
40
49
  * test2.rb most widgets (including menus)
41
- http://github.com/rkumar/rbcurse/tree/master/test2.rb
42
50
  * test1.rb various kinds of messageboxes (input, list, custom)
43
- http://github.com/rkumar/rbcurse/tree/master/test1.rb
44
51
  * testtabp.rb tabbed pane
45
- http://github.com/rkumar/rbcurse/tree/master/testtabp.rb
46
52
  * testcombo.rb combos with various insert policies and vertical
47
53
  alignments
48
54
 
@@ -70,7 +76,7 @@ I am developing and testing under "screen" under OS X Leopard.
70
76
  == SYNOPSIS:
71
77
 
72
78
  See lib/rbcurse/rwidgets.rb.
73
- For test programs, see test1, test2, testcombo etc in root folder.
79
+ For test programs, see test1, test2, testcombo etc in examples folder.
74
80
 
75
81
  This depends only on "window" provided by ncurses. Does not use forms
76
82
  and fields. Minor changes and improvements may have happened to sample
data/Rakefile CHANGED
@@ -22,7 +22,7 @@ Hoe.new('rbcurse', Rbcurse::VERSION) do |p|
22
22
  end
23
23
 
24
24
 
25
- desc "Release and publish documentation"
26
- task :repubdoc => [:release, :publish_docs]
25
+ #desc "Release and publish documentation"
26
+ #task :repubdoc => [:release, :publish_docs]
27
27
 
28
28
  # vim: syntax=Ruby
@@ -756,7 +756,8 @@ module RubyCurses
756
756
  width = renderer.display_length + 1
757
757
  #renderer.repaint @form.window, r+hh, c+(colix*11), content, focussed, selected
758
758
  acolumn.column_offset = offset
759
- renderer.repaint @form.window, r+hh, c+(offset), content, focussed, selected
759
+ # added crow on 2009-02-11 22:46
760
+ renderer.repaint @form.window, r+hh, c+(offset), crow, content, focussed, selected
760
761
  offset += width
761
762
  end
762
763
  else
@@ -787,7 +788,7 @@ module RubyCurses
787
788
  renderer.display_length acolumn.width unless acolumn.nil?
788
789
  width = renderer.display_length + 1
789
790
  content = tc.header_value
790
- renderer.repaint @form.window, r, c+(offset), content, false, false
791
+ renderer.repaint @form.window, r, c+(offset),0, content, false, false
791
792
  offset += width
792
793
  end
793
794
  end
@@ -33,7 +33,7 @@ module RubyCurses
33
33
 
34
34
  ##
35
35
  # XXX need to move wrapping etc up and done once.
36
- def repaint graphic, r=@row,c=@col, value=@text, focussed=false, selected=false
36
+ def repaint graphic, r=@row,c=@col, row_index=-1, value=@text, focussed=false, selected=false
37
37
  lablist = []
38
38
  #value=value.to_s # ??
39
39
  value=transform value
@@ -50,7 +50,7 @@ module RubyCurses
50
50
 
51
51
  ##
52
52
  # XXX need to move wrapping etc up and done once.
53
- def repaint graphic, r=@row,c=@col, value=@text, focussed=false, selected=false
53
+ def repaint graphic, r=@row,c=@col, row_index=-1,value=@text, focussed=false, selected=false
54
54
  lablist = []
55
55
  #value=value.to_s # ??
56
56
  value=transform value
data/lib/rbcurse.rb CHANGED
@@ -3,5 +3,5 @@ require 'ver/window'
3
3
  require 'rbcurse/rwidget'
4
4
  require 'rbcurse/rdialogs'
5
5
  class Rbcurse
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.1'
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbcurse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahul Kumar
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-11 00:00:00 +05:30
12
+ date: 2009-02-12 00:00:00 +05:30
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency