glimmer-dsl-libui 0.5.12 → 0.5.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +16 -2
- data/VERSION +1 -1
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/libui/control_proxy/table_proxy.rb +17 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ec966c5f1dcd6315fe94455e2a8257df7ed6274ada0d74419e53b9abeab99bb
|
4
|
+
data.tar.gz: 5f1f410e8a239735c1188d4a7bdad00f9fed6e34ba71ba5c2ac65f01b8f49037
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 574718284c8933f27d088777e9ffd77a37922f3f51ec90e85026f1d86f572c84bea4d86141fc3b67bb5192769ac03e13dca791b3ce6b8d2ae88235008ba4cbcf
|
7
|
+
data.tar.gz: 87656800ed048be0ffc15520e5988b911fac60bcdb73db16fd962e5820d2d2c948a08a14c1c22aaef4543623d8f2c803c7d10e0c106bc40c13942bddaf83cfda
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for LibUI 0.5.
|
1
|
+
# [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for LibUI 0.5.13
|
2
2
|
## Prerequisite-Free Ruby Desktop Development GUI Library
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/glimmer-dsl-libui.svg)](http://badge.fury.io/rb/glimmer-dsl-libui)
|
4
4
|
[![Join the chat at https://gitter.im/AndyObtiva/glimmer](https://badges.gitter.im/AndyObtiva/glimmer.svg)](https://gitter.im/AndyObtiva/glimmer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
@@ -433,6 +433,8 @@ DSL | Platforms | Native? | Vector Graphics? | Pros | Cons | Prereqs
|
|
433
433
|
- [Manga2PDF](#manga2pdf)
|
434
434
|
- [Befunge98 GUI](#befunge98-gui)
|
435
435
|
- [i3off Gtk Ruby](#i3off-gtk-ruby)
|
436
|
+
- [Chess](#chess)
|
437
|
+
- [RubyCrumbler](#rubycrumbler)
|
436
438
|
- [Process](#process)
|
437
439
|
- [Resources](#resources)
|
438
440
|
- [Help](#help)
|
@@ -579,7 +581,7 @@ gem install glimmer-dsl-libui
|
|
579
581
|
Or install via Bundler `Gemfile`:
|
580
582
|
|
581
583
|
```ruby
|
582
|
-
gem 'glimmer-dsl-libui', '~> 0.5.
|
584
|
+
gem 'glimmer-dsl-libui', '~> 0.5.13'
|
583
585
|
```
|
584
586
|
|
585
587
|
Test that installation worked by running the [Meta-Example](#examples):
|
@@ -11227,6 +11229,16 @@ https://github.com/iraamaro/i3off-gtk-ruby
|
|
11227
11229
|
|
11228
11230
|
https://github.com/mikeweber/chess
|
11229
11231
|
|
11232
|
+
### RubyCrumbler
|
11233
|
+
|
11234
|
+
NLP (Natural Language Processing) App
|
11235
|
+
|
11236
|
+
https://github.com/joh-ga/RubyCrumbler
|
11237
|
+
|
11238
|
+
MacOS | Windows | Linux
|
11239
|
+
| :---: | :---: | :---:
|
11240
|
+
![mac_31](https://user-images.githubusercontent.com/72874215/159339948-b7ae1bf2-60c1-4dae-ac1a-4e13a6048ef0.gif)|![windows_4](https://user-images.githubusercontent.com/72874215/160242473-c38439be-0955-4e89-9f3f-b3d0567531fd.gif)|![rubycrumbler_linux](https://user-images.githubusercontent.com/72874215/160242460-99af1c8c-b43f-458d-bd69-1274a0bd9814.gif)
|
11241
|
+
|
11230
11242
|
## Process
|
11231
11243
|
|
11232
11244
|
[Glimmer Process](https://github.com/AndyObtiva/glimmer/blob/master/PROCESS.md)
|
@@ -11260,6 +11272,8 @@ These features have been planned or suggested. You might see them in a future ve
|
|
11260
11272
|
|
11261
11273
|
## Contributing
|
11262
11274
|
|
11275
|
+
If you would like to contribute to the project, please adhere to the [Open-Source Etiquette](https://github.com/AndyObtiva/open-source-etiquette) to ensure the best results.
|
11276
|
+
|
11263
11277
|
- Check out the latest master to make sure the feature hasn't been
|
11264
11278
|
implemented or the bug hasn't been fixed yet.
|
11265
11279
|
- Check out the issue tracker to make sure someone already hasn't
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.13
|
data/glimmer-dsl-libui.gemspec
CHANGED
Binary file
|
@@ -303,16 +303,30 @@ module Glimmer
|
|
303
303
|
def register_cell_rows_observer
|
304
304
|
@cell_rows_observer = Glimmer::DataBinding::Observer.proc do |new_cell_rows|
|
305
305
|
if @cell_rows.size < @last_cell_rows.size && @last_cell_rows.include_all?(*@cell_rows)
|
306
|
-
@last_cell_rows.
|
306
|
+
@last_cell_rows.each_with_index do |old_row_data, row|
|
307
|
+
if old_row_data != @cell_rows[row]
|
308
|
+
::LibUI.table_model_row_changed(model, row) if model && row
|
309
|
+
notify_custom_listeners('on_changed', row, :changed, @cell_rows[row])
|
310
|
+
end
|
311
|
+
end
|
312
|
+
(@last_cell_rows.size - @cell_rows.size).times do |n|
|
313
|
+
row = @last_cell_rows.size - n - 1
|
307
314
|
::LibUI.table_model_row_deleted(model, row) if model && row
|
308
315
|
notify_custom_listeners('on_changed', row, :deleted, @last_cell_rows[row])
|
309
316
|
end
|
310
317
|
elsif @cell_rows.size > @last_cell_rows.size && @cell_rows.include_all?(*@last_cell_rows)
|
311
|
-
@cell_rows.
|
318
|
+
(@cell_rows.size - @last_cell_rows.size).times do |n|
|
319
|
+
row = @last_cell_rows.size + n
|
312
320
|
::LibUI.table_model_row_inserted(model, row) if model && row
|
313
321
|
notify_custom_listeners('on_changed', row, :inserted, @cell_rows[row])
|
314
322
|
end
|
315
|
-
|
323
|
+
@cell_rows.each_with_index do |new_row_data, row|
|
324
|
+
if new_row_data != @last_cell_rows[row]
|
325
|
+
::LibUI.table_model_row_changed(model, row) if model && row
|
326
|
+
notify_custom_listeners('on_changed', row, :changed, @cell_rows[row])
|
327
|
+
end
|
328
|
+
end
|
329
|
+
elsif @cell_rows != @last_cell_rows
|
316
330
|
@cell_rows.each_with_index do |new_row_data, row|
|
317
331
|
if new_row_data != @last_cell_rows[row]
|
318
332
|
::LibUI.table_model_row_changed(model, row) if model && row
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer-dsl-libui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glimmer
|