Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Latest commit

 

History

History
432 lines (300 loc) · 14.3 KB

CHANGELOG.md

File metadata and controls

432 lines (300 loc) · 14.3 KB

Change Log

0.29.0

  • Support Rails 7
  • Upgrade to Opal 1.4.1
  • Upgrade jQuery to 3.6.0
  • Upgrade jQuery-UI to 1.13.1
  • Fix Hello, Arrow! (menu is showing up outside of widget on the top left of the screen)
  • Upgrade to Glimmer DSL for XML 1.3.1
  • Upgrade to Glimmer DSL for CSS 1.2.1

0.28.3

  • Support Canvas Shape DSL data-binding
  • Use Canvas Shape DSL data-binding with Hello, Canvas! text string attribute
  • Add bevel 3D look to Tetris elaborate sample via Canvas Shape DSL
  • Ensure shell height compensates for providing extra top space to menu_bar when rendered

0.28.2

  • Support image Canvas Shape DSL keyword
  • Use image in Hello, Canvas! sample

0.28.1

  • Support arc Canvas Shape DSL keyword (partial support whereby width is assumed to be equal to height to start from a circle basis)
  • Use arc in Hello, Canvas! sample

0.28.0

  • Initial support for Canvas Shape DSL keywords (no-databinding, nesting, or gradients yet):
  • line
  • point
  • oval
  • polygon
  • polyline
  • rectangle
  • string
  • text
  • Minimal initial version of Hello, Canvas! sample

0.27.0

  • Hello, Text!
  • Support unbordered text widget if SWT style :none was passed
  • Support :center, :left, :right SWT styles for text widget
  • Support :read_only SWT style for text widget
  • Support text widget on_verify_text event.doit = false cancellation feature

0.26.3

  • Support key_event.key_location in all key capturing widgets, not just display

0.26.2

  • Support key_event.key_location to distinguish between left and right alt/shift/command/ctrl buttons
  • Use right/left alt/shift keys in Tetris for rotate right and rotate left

0.26.1

  • Support display on_swt_keydown event keyCode/key_code values for arrow keys and alt/shift/ctrl
  • Use arrow keys for movement in Tetris
  • Use alt/shift keys for rotate right in Tetris

0.26.0

  • Tetris elaborate sample (minimal initial version of the one in Glimmer DSL for SWT)
  • Support menu_item selection attribute data-binding for :check and :radio SWT styles
  • Set 'custom_shell' data for custom shell on its body_root
  • Provide parent_proxy on custom widgets as an alternative to parent for compatibility with Glimmer DSL for SWT
  • Have custom widgets derive their parent from body root if not passed in explicitly

0.25.4

  • Upgrade to opal-async 1.4.0
  • Update Hello, Custom Widget! to utilize Array#async_cycle instead of Array#cycle

0.25.3

  • Fix c_combo's data-binding of selection receiving model changes
  • Fix Hello, C Combo!'s reset button
  • Fix Login sample by removing unnecessary require statement at the top

0.25.2

  • Fix sizing of buttons with font height specified to fit text

0.25.1

  • Support progress_bar :vertical SWT style
  • Add progress_bar :vertical SWT style to Hello, Progress Bar!

0.25.0

  • Support progress_bar widget without :vertical SWT style support
  • Hello, Progress Bar! sample without :vertical SWT style

0.24.0

  • widget#print method
  • Hello, Print! sample

0.23.0

  • Hello, Label! sample
  • Support label :separator SWT style along with :horizontal or :vertical
  • Support label image attribute

0.22.1

  • User Profile elaborate sample

0.22.0

  • Support widget cursor attribute
  • Hello, Cursor! sample

0.21.0

  • Support scale widget
  • Hello, Scale!
  • Support slider widget
  • Hello, Slider!

0.20.1

  • Support spinner automatic insertion of decimal point when digits attribute is specified

0.20.0

  • Support spinner widget (leaving out automatic insertion of decimal point when digits are specified)
  • Hello, Spinner! sample

0.19.1

  • Fix widget font property support for both :bold and :italic styles at the same time

0.19.0

  • Change tab_item default background/foreground color to better match Glimmer DSL for SWT
  • Support tab_item tool_tip_text attribute
  • Support tab_item image attribute
  • Implement c_tab_folder & c_tab_item (without the dropdown for hidden tabs that is in Glimmer DSL for SWT)
  • Hello, C Tab! sample

0.18.0

  • Implement c_combo
  • Hello, C Combo! sample

0.17.0

  • Support menu visible attribute to enable programmatic display of menu
  • Support arrow widget
  • Hello, Arrow! sample

0.16.2

  • Support grid_layout margin_top, margin_right, margin_bottom, and margin_left attributes
  • Support row_layout wrap and justify attributes
  • Hello, Layout! sample
  • Partial CGI implementation to have escapeHTML (alias: escape_html) method
  • HTML Escape label text content
  • Fix issue with row_layout fill attribute not working

0.16.1

  • Support grid_layout make_columns_equal_width, horizontal_spacing, and vertical_spacing attributes
  • Hello, Composite! sample

0.16.0

  • Support label widget background_image attribute
  • Have File.expand_path support expanding paths even if they did not base off of dir or FILE
  • Custom specification of gems having image paths via server-side configuration in Glimmer::Config.gems_having_image_paths

0.15.1

  • Auto-expose images of gems that depend on glimmer-dsl-opal as downloadable asset links providing /glimmer/image_paths server call to obtain them
  • Update Hello, Table! to work with image background

0.14.0

  • Initial Net::HTTP support for get and post_form
  • Added "Weather" elaborate sample (minus multi-threaded refetches)
  • Updated Hello, Button!, Hello, Combo!, and Hello, Computed! from Glimmer DSL for SWT

0.13.0

  • Support Shine data-binding syntax in custom widgets
  • Update Hello, Checkbox!, Hello, Checkbox Group!, Hello, Radio! and Hello, Radio Group! to utilize Shine data-binding syntax from latest glimmer-dsl-swt

0.12.0

  • Support CustomShell.launch opening in the same window if no other shell is open or DisplayProxy.open_custom_shells_in_current_window = true is set
  • Support CustomShell.launch opening a new window if a shell is already open
  • Support passing table data-binding column properties as column_properties or column_attributes an extra hash option to bind method call
  • Support Shine data-binding syntax in table
  • Update Hello, Custom Shell!, Hello, Table!, Contact Manager, and Login samples to use Shine data-binding syntax

0.11.0

  • Upgrade to glimmer 2.0.0
  • Support Shine syntax for basic widgets (no support for table, tree, shapes, custom widgets, or custom shells)
  • Update samples to use Shine syntax

0.10.3

  • Upgrade to glimmer 1.0.10
  • Improvements to row_layout and grid_layout
  • Adding launch/shutdown class methods to Custom Shells

0.10.2

  • Support multiple dialogs/message_box'es opened from a listener, handling correct ordering of display with a queue scheduler

0.10.1

  • Delaying shell rendering till #open method is called as per the right expectation
  • When nesting dialogs on top of each other, disable all previously opened ones leaving only the top-most dialog active

0.10.0

  • Hello, Dialog! Sample
  • Support dialog widget
  • Support width and height on layout_data for row_layout
  • Support center for row_layout

0.9.3

  • Extracted pure Ruby Struct to pure-struct gem (since it's also used by YASL)
  • Alpha experimental incomplete implementation of Net::HTTP.post_form
  • Fixed issue with not being able to interact with a shell proxy (LatestShellProxy) after opening (made class autoupgradable to attached ShellProxy after document ready)

0.9.2

  • Fixed issue with opening message_box after internalizing the Document.ready? block
  • Fixed issue with replacing newlines with HTML newlines in label and message_box text

0.9.1

  • Log errors to error stream ($stderr) instead of standard out (STDOUT)
  • Fixed issue with opening shell caused by internalizing the Document.ready? block

0.9.0

  • Support menu_bar
  • Hello, Menu Bar! Sample
  • Remove the need to call Document.ready? before opening a Glimmer shell
  • Support opening a message_box before creating a shell

0.8.0

  • Hello, Pop Up Context Menu! Sample
  • Hello Message Box!
  • Update hello list samples
  • Support context menus menu/menu_item directly under a widget (using jQuery UI)
  • Support generating new lines when entering label text with \n (auto-converting to
    )
  • Support generating new lines when entering message_box message with \n (auto-converting to
    )
  • Support having any widget contribute static CSS to ShellProxy
  • Add Kernel#include_package shim to allow running JRuby include_package from Glimmer DSL for SWT without failing
  • Add WidgetProxy#swt_widget to allow running include_package from Glimmer DSL for SWT without failing

0.7.5

  • Update login sample from Glimmer DSL for SWT's latest changes
  • Update contact_manager sample from Glimmer DSL for SWT's latest changes
  • Fixed issue regarding unavailable localStorage data when accessed by custom_widget_expression in hello_checkbox_group, hello_radio_group, and hello_custom_widget

0.7.4

  • Hello, Button! Sample
  • Fix issue with aligning label as :left, :center, or :right via style style when fill_layout is used
  • Fix Hello, Browser sample by accessing https ssl website
  • Fix issue with filling space horizontally when using grid layout
  • Fix broken embedded calendar widget data-binding for hello_date_time.rb sample
  • Fix broken message_box after opening multiple shells
  • Fix issue with opening custom shells in new tabs/windows when CustomShell subclass is required conditionally

0.7.3

  • Refactor to use to_collection gem
  • Fix issue with breaking date/date_drop_down data-binding as table editor on focus lost
  • Fix issue with requiring OS, File, and Display class after they've been extracted out

0.7.2

  • date_drop_down table_column editor
  • date table_column editor
  • time table_column editor
  • Implement on_focus_gained, on_focus_lost universally on all widgets
  • Add support for Struct keyword_init to Opal
  • Fix issue with hello_table button/combo not being centered (yet stretched)
  • Fix issue with table item selection for booking not working after editing has been added
  • Fix escape keyboard event handling for combo table editor

0.7.1

  • Combo table editor (enabled in Hello, Table! sample)
  • Fix issue with table cell selection for editing not working
  • Remove widget from parent upon dispose
  • Remove listeners upon widget dispose

0.7.0

  • Hello, Table! Sample
  • table :editable style to enable auto-editing
  • table header_visible property to hide header when false
  • table item_count property to set minimum item count (fill empty rows when below in table items)
  • table selection data-binding
  • table built-in sorting support
  • table_column left text alignment and padding of 5px by default
  • table sort property and direction in GUI
  • table_column sort_property
  • table_column sort_by block
  • table_column sort block
  • table default sort via property, compare block, and property block
  • table additional sort properties
  • Prevent table unnecessary updates by comparing data to previous data and not updating when it's the same
  • Contact Manager sample support for on_key_pressed in text widgets upon hitting ENTER
  • Fix issue with edit table item error on sorting table

0.6.1

  • Fix issue with rendering date_time without a block
  • Made listener event handling async to improve performance when triggering multiple events
  • Brought Tic Tac Toe sample up-to-date with changes in Glimmer DSL for SWT
  • Fixed silent error encountered in rendering custom widgets

0.6.0

  • Hello, Date Time! Sample
  • Support date_time, date, date_drop_down, time, calendar keywords
  • Format Date/Time correctly as per SWT implementation by default
  • Make glimmer-dsl-opal gem into a Rails engine to support importing default static assets like CSS styles and images
  • Show drop down icon next to date_drop_down and time

0.5.1

  • Fixed issue with Hello, Combo!, Hello, List...! samples

0.5.0

  • Add margin_top, margin_right, margin_bottom, and margin_left to RowLayoutProxy
  • radio
  • Hello, Radio! Sample
  • radio_group
  • Hello, Radio Group! Sample
  • checkbox
  • Hello, Checkbox! Sample
  • checkbox_group
  • Fix issue with label alignment property
  • Fix issues with default composite grid_layout not getting its styles removed when setting row_layout
  • button(:radio) alias for radio
  • check alias for checkbox
  • button(:check) alias for checkbox
  • Hello, Group! Sample
  • Group widget

0.4.0

  • Support display keyword representing an SWT Display
  • Support display on_swt_keydown event listener (display-wide widget observer)
  • Support DisplayProxy#shells method keeping track of open shell
  • Make a custom shell open in the same window if there is no shell open already
  • Support sync_exec keyword as just an alias to async_exec
  • Provide a makeshift require for 'glimmer-dsl-swt' that requires 'glimmer-dsl-opal' instead
  • Fake APIs on the web for OS.os?, File.read, Display.setAppName, Display.setAppVersion
  • Provide a minimal URI class that supports URI::encode_www_form_component and URI::decode_www_form_component from Ruby

0.3.0

  • Support opening a custom shell in a browser tab/window by passing in query parameters to URL (e.g. ?custom_shell=keyword+option1=value1 etc...)
  • Make custom shells automatically open in a new tab/window (while standard shells continue to open in the same window by replacing its content)
  • Hello, Custom Shell! Sample

0.2.0

  • Color support
  • Font support
  • Custom Widget Support
  • Hello, Custom Widget! sample
  • Updated Hello, Combo! sample to match the latest changes in Glimmer DSL for SWT
  • SWT full re-implementation in Opal as Glimmer::SWT with all the SWT style constants

0.1.0

  • Code redesign to better match the glimmer-dsl-swt APIs
  • opal-jquery refactoring
  • opal-rspec test coverage

0.0.9

  • Upgraded to glimmer gem v0.9.3
  • Fixed issue with missing Glimmer::Opal::ElementProxy#id=(value) method breaking Contact Manager sample Find feature

0.0.8

  • Contact Manager sample support

0.0.7

  • Tic Tac Toe sample support
  • Login sample support

0.0.6

  • Hello, Tab! sample support

0.0.5

  • Hello, Browser! sample support

0.0.4

  • Hello, List Single Selection! sample support
  • Hello, List Multi Selection! sample support

0.0.3

  • Hello, Computed! sample support

0.0.2

  • Hello, Combo! sample support

0.0.1

  • Initial support for webifying Glimmer SWT apps
  • Support for Shell and Label widgets (text property only).
  • Hello, World! sample support