rui_orig/CHANGELOG.md

191 lines
8.1 KiB
Markdown
Raw Normal View History

2024-10-28 13:11:43 +03:00
# v0.18.0
2024-12-03 10:45:55 +03:00
* Property name type changed from string to PropertyName.
2024-12-03 11:20:32 +03:00
2024-12-03 10:25:55 +03:00
* Renamed:
Transform interface -> TransformProperty
NewTransform function -> NewTransformProperty
TransformTag constant -> Transform.
"origin-x" property -> "transform-origin-x"
"origin-y" property -> "transform-origin-y"
"origin-z" property -> "transform-origin-z"
GetOrigin function -> GetTransformOrigin.
BorderBoxClip constant -> BorderBox
PaddingBoxClip constant -> PaddingBox
ContentBoxClip constant -> ContentBox.
ViewShadow interface -> ShadowProperty
NewViewShadow function -> NewShadow
NewInsetViewShadow function -> NewInsetShadow
NewShadowWithParams function -> NewShadowProperty
2024-12-05 20:15:39 +03:00
NewColumnSeparator function -> NewColumnSeparatorProperty
2024-12-03 10:25:55 +03:00
2024-12-04 19:35:28 +03:00
* Added functions: NewBounds, NewEllipticRadius, NewRadii, NewLinearGradient, NewCircleRadialGradient,
NewEllipseRadialGradient, GetPushTransform, GetPushDuration, GetPushTiming, IsMoveToFrontAnimation,
2024-12-05 20:15:39 +03:00
GetBackground, GetMask, GetBackgroundClip,GetBackgroundOrigin, GetMaskClip, GetMaskOrigin, NewColumnSeparator.
2024-12-03 10:45:55 +03:00
2024-12-04 19:35:28 +03:00
* Added SetConicGradientFillStyle and SetConicGradientStrokeStyle methods to Canvas interface.
2024-11-26 13:15:06 +03:00
* Changed Push, Pop, MoveToFront, and MoveToFrontByID methods of StackLayout interface.
2024-12-03 10:45:55 +03:00
* Removed DefaultAnimation, StartToEndAnimation, EndToStartAnimation, TopDownAnimation, and BottomUpAnimation constants.
2024-12-03 10:45:55 +03:00
* Added StackLayout properties: "push-transform", "push-duration", "push-timing", "move-to-front-animation", "push-perspective",
"push-rotate-x", "push-rotate-y", "push-rotate-z", "push-rotate", "push-skew-x", "push-skew-y",
"push-scale-x", "push-scale-y", "push-scale-z", "push-translate-x", "push-translate-y", "push-translate-z".
2024-11-26 13:11:39 +03:00
* Added "show-opacity", "show-transform", "show-duration", and "show-timing" Popup properties.
2024-12-03 10:45:55 +03:00
2024-11-27 11:32:13 +03:00
* Added "mask", "mask-clip", "mask-origin", and "background-origin" properties.
2024-12-03 10:45:55 +03:00
2024-10-28 13:11:43 +03:00
* Added LineJoin type. Type of constants MiterJoin, RoundJoin, and BevelJoin changed to LineJoin. Type of Canvas.SetLineJoin function argument changed to LineJoin.
2024-12-03 10:45:55 +03:00
2024-10-28 13:11:43 +03:00
* Added LineCap type. Type of constants ButtCap, RoundCap, and SquareCap changed to LineCap. Type of Canvas.SetLineCap function argument changed to LineCap.
2024-10-17 18:08:35 +03:00
# v0.17.3
2024-09-25 13:45:47 +03:00
Added SetParams method to View interface
# v0.17.0
* Added "mod", "rem", "round", "round-up", "round-down", and "round-to-zero" SizeFunc functions
* Added ModSize, RemSize, RoundSize, RoundUpSize, RoundDownSize, and RoundToZeroSize functions
* Added Start, Stop, Pause, and Resume methods to Animation interface
* Added "transform" property and Transform interface
* Added OpenRawResource, GetCheckboxChangedListeners functions
* Added RemoveClientItem method to Session interface
* Added "item-separators" property to DropDownList and GetDropDownItemSeparators function
* Added NewPath and NewPathFromSvg methods to Canvas interface
* Removed NewPath function
* Removed Reset methods from Path interface
# v0.16.0
* Can use ListAdapter as "content" property value of ListLayout
* The IsListItemEnabled method of the ListAdapter interface has been made optional
2024-06-06 16:20:15 +03:00
* Can use GridAdapter as "content" property value of GridLayout
2024-06-06 17:33:55 +03:00
* Added "text-wrap" property and GetGetTextWrap function
* Bug fixing
# v0.15.0
2024-05-18 18:57:41 +03:00
* Added "data-list" property
* Bug fixing
# v0.14.0
* Added the ability to work without creating a WebSocket. Added NoSocket property to AppParams.
* Added SocketAutoClose property to AppParams.
* Added the ability to run a timer on the client side. Added StartTimer and StopTimer methods to Session interface.
* Added "cell-vertical-self-align", and "cell-horizontal-self-align" properties
* Bug fixing
# v0.13.x
* Added NewHandler function
* Bug fixing
2023-04-25 17:30:21 +03:00
# v0.13.0
* Added SetHotKey function to Session interface
2023-04-25 17:30:21 +03:00
* Added ViewIndex function to ViewsContainer interface
* Added ReloadCell function to TableView interface
* Added ReloadTableViewCell function
2023-04-25 17:30:21 +03:00
* Added "tooltip" property and GetTooltip function
* Added "outline-offset" property and GetOutlineOffset function
* Changed the main event listener format for "drop-down-event", "edit-text-changed",
"color-changed", "number-changed", "date-changed", and "time-changed" events.
Old format is "<listener>(<view>, <new value>)", new format is "<listener>(<view>, <new value>, <old value>)"
2023-05-07 19:44:28 +03:00
* Changed FocusView function
* Added support for height and width range in media styles.
Changed MediaStyle, SetMediaStyle, and MediaStyles functions of Theme interface
2023-04-25 17:30:21 +03:00
* Bug fixing
2023-01-25 01:06:36 +03:00
# v0.12.0
* Added SvgImageView
2023-01-25 01:41:56 +03:00
* Added InlineImageFromResource function
2023-01-25 01:06:36 +03:00
# v0.11.0
2023-01-03 14:56:57 +03:00
* Added "tabindex", "order", "column-fill", "column-span-all", "background-blend-mode", and "mix-blend-mode" properties
* Added GetTabIndex, GetOrder, GetColumnFill, IsColumnSpanAll, GetBackgroundBlendMode, and GetMixBlendMode functions
* ClientItem, SetClientItem, and RemoveAllClientItems method added to Session interface
* PropertyWithTag method of DataObject interface renamed to PropertyByTag
2023-01-25 01:06:36 +03:00
# v0.10.0
* The Canvas.TextWidth method replaced by Canvas.TextMetrics
2022-12-23 17:27:14 +03:00
* Added support of WebAssembly
2022-08-07 18:59:56 +03:00
# v0.9.0
2022-08-18 18:18:36 +03:00
* Requires go 1.18 or higher
2022-07-27 13:26:36 +03:00
* The "interface{}" type replaced by "any"
* Added SizeFunc interface and Function field to SizeUnit struct
* Added MaxSize, MinSize, SumSize, SubSize, MulSize, DivSize, ClampSize functions
* Added "list-row-gap", "list-column-gap", "accent-color", "tab-size", "overflow",
"arrow", "arrow-align", "arrow-size", "arrow-width", and "arrow-offset" properties
2022-08-07 18:59:56 +03:00
* Added "@ruiArrowSize" and "@ruiArrowWidth" constants to the default theme
2022-08-10 15:36:38 +03:00
* Added Transition, Transitions, and SetTransition functions to the ViewStyle interface
* Added GetListRowGap, GetListColumnGap, GetAccentColor, GetTabSize, GetOverflow, IsTimingFunctionValid, and GetTransitions functions
2022-08-10 15:36:38 +03:00
* Changed GetTransition functions
2022-08-18 18:18:36 +03:00
* Added the OpenURL function to the Session interface
* Changed the type of the second argument of all Get functions to "subviewID ...string" (previously "subviewID string")
2022-07-27 13:26:36 +03:00
# v0.8.0
* Added "loaded-event" and "error-event" events to ImageView
* Added NaturalSize and CurrentSource methods to ImageView
* Added "user-select" property and IsUserSelect function
* Renamed "LightGoldenrodYellow" color constant to "LightGoldenRodYellow"
# v0.7.0
* Added "resize", "grid-auto-flow", "caret-color", and "backdrop-filter" properties
* Added BlurView, BlurViewByID, GetResize, GetGridAutoFlow, GetCaretColor, GetBackdropFilter functions
* The "warp" property for ListView and ListLayout renamed to "list-warp"
* The "warp" property for EditView renamed to "edit-warp"
* Added CertFile and KeyFile optional fields to the AppParams struct.If they are set, then an https connection is created, otherwise http.
# v0.6.0
* Added "user-data" property
* Added "focusable" property
2022-05-12 11:15:22 +03:00
* Added "disabled-items" property to DropDownList
* Added ReloadTableViewData, AllImageResources, NamedColors functions
* Added Theme interface, NewTheme, CreateThemeFromText, and AddTheme functions
2022-05-12 11:15:22 +03:00
* Added image constants to the theme
* Changed BackgroundGradientPoint struct
* Added the background conic gradient
# v0.5.0
* NewApplication function and Start function of the Application interface were replaced by StartApp function
* Added HasFocus function to the View interface
2022-01-30 00:02:38 +03:00
* Added the UserAgent function to the Session interface
2022-01-17 03:11:23 +03:00
* Added the following properties to TableView: "selection-mode", "allow-selection", "current", "current-style", "current-inactive-style"
2022-01-17 14:59:32 +03:00
* Added the following events to TableView: "table-cell-selected", "table-cell-clicked", "table-row-selected", "table-row-clicked"
2022-01-17 03:11:23 +03:00
* Bug fixing
# v0.4.0
* Added SetTitle and SetTitleColor function to the Session interface
* Added a listener for changing a view property value
* Added the "current" property to StackLayout
* GetDropDownCurrent and GetListViewCurrent functions replaced by the GetCurrent function
* Updated TabsLayout
* Bug fixing
2021-11-07 18:40:45 +03:00
# v0.3.0
* Added FilePicker
* Added DownloadFile and DownloadFileData function to the Session interface
* Updated comments and readme
* Added the FilePicker example to the demo
* Bug fixing
# v0.2.0
* Added "animation" and "transition" properties, Animation interface, animation events
2022-11-23 15:10:29 +03:00
* Renamed ColorProperty constant to ColorTag
2021-11-07 18:40:45 +03:00
* Updated readme
* Added the Animation example to the demo
* Bug fixing
# v0.1.1
* Bug fixing