* Fix type error in examples
* Attempt to run build including examples
* Force build failure
* Revert "Force build failure"
This reverts commit 9728f0b0ac.
* Consider SDL.TextEditingEvent as an action event
* When a frame requires rendering, make sure the next one is also rendered to avoid artifacts. It still does not render every frame
* Fix lint
* Fix typo
* Add foreign-store dependency
* Reuse window and avoid reinitializing SDL when running on ghci and code is reloaded
* Restore previous model and widget root on code changes
* Attempt to check if model's type changed (failed, since fingerprinting is not reliable)
* Add Show instances to various widgets
* Add configuration for fingerprint functions
* Merge new root with stored root, to account for code changes in new root and data in old
* Store the complete MonomerCtx type for app reload
* Use recover-rtti for model change detection
* Process WidgetResult when merging reloaded widget root
* Validate model changes in Composite
* Fix lint
* Fix unit tests
* Force hpack version in monomer.cabal
* Add appDisableModelReuse configuration option to always ignore previous model version
* Minor setup docs update
* Revert to AppConfig only being parameterized by e
* Restore recover-rtti dependency
* Revert "Revert to AppConfig only being parameterized by e"
This reverts commit 0a66513807.
* Revert to previous version without restore-rtti dependency
* Try to overcome build issue by enforcing ubuntu-20.04
* Do not commit .dylib files
* For hpack version
* Fix docs
* Fix missing imports
* Fix typo
* Avoid weird macOS 'command encoder is already encoding to this command buffer' error when resizing window
* Render resized window unconditionally when running on Linux
* Add/export utility functions
* Use correct values for CCW/Solid and CW/Hole in NanoVGRenderer
* Render shadow in popup component (test commit)
* Revert "Render shadow in popup component (test commit)"
This reverts commit 3b8075bf20.
* Re-export boxShadow widget from Widgets module
* Use boxShadow widget in colorPopup
* Avoid infinite resize loop in multiline label
* Avoid weird macOS 'command encoder is already encoding to this command buffer' error when resizing window
* Render resized window unconditionally when running on Linux
* Use Stackage LTS 20
* Keep copy of stack.yaml for GHC 8.10.7 version
* Update setup docs to include GHCup
* Fix case
* Remove old note about M1 incompatibility
* Use Stackage LTS 20.1
* Consider SDL.TextEditingEvent as an action event
* When a frame requires rendering, make sure the next one is also rendered to avoid artifacts. It still does not render every frame
* Fix lint
* Fix typo
* Update Changelog
* Use monomer.cabal with correct bounds for text-show
* Use pkg-config for glew linking
* Use correct pkg-config-dependencies field (as defined in hpack)
* Add ignore-examples flag to avoid building examples unless required. Add a small dev-test-app executable to help testing of the library
* Rename ignore-examples to examples, make build logic clearer
* Update monomer.cabal
* Update docs
* Compiles, doesn't work
* s/FontDefPath/FontDefFile/g
* Some ffi changes
* Rename toUString
* Demo in the todo app. TO BE REVERTED
* Alloc an unsigned char* array for font
* Remove unused language extensions
* Remove unused and sort imports
* Use useAsCStringLen and malloc manually
* Use nanovg from klausweiss/nanovg-hs (TO BE REVERTED)
* Use newer klausweiss/nanovg-hs (TO BE REVERTED)
* Use nanovg 0.8.1 from hackage
* Revert "Demo in the todo app. TO BE REVERTED"
This reverts commit 06d061ae76.
* Add documentation to some functions in FFI.hs
* Unused import
* Improve appFontDef docs
* s/appFontDefMem/appFontDefMemory
* Bump nanovg-hs to 0.8.1 in monomer.nix
* Revert "s/appFontDefMem/appFontDefMemory"
This reverts commit 5403752dbc.
* Reference file-embed in appFontDefMem docs
* s/appFontDefFile/appFontDef
* Stop using record syntax for FontDef
* Revert "Stop using record syntax for FontDef"
This reverts commit 03d16ce9f7.
* Import popup widget
* Add popupOffset configuration option
* Add popupDisableClose config option
* Add alignment options to popup widget
* Improve Haddocks
* Add window compensation offset directly to node; remove related code, simplify
* Improve Haddocks
* Add popup unit tests
* Generate onChange events when opened/closed status changes
* Replace fdescribe with describe
* Update Changelog
* Delegate visibility check to each widget
* Consider scroll offset when aligning to widget
* Request a non zero size to avoid having an invisible node
* Add note to Container's init and merge documentation
* Add support for an anchor widget
* Do not apply active style if widget is not in the active overlay
* Add popupAlignToOuter option
* Add separate horizontal/vertical alignToOuter options
* Make sure BtnReleased is sent to overlay in case findWidgetByPoint returns Nothing
* Block events happening at the same instant the popup is closed, to avoid widgets below it being activated accidentally
* Use cursor location when validating if popup should be closed
* Increase timestamp on each group of events for nodeHandleEvents_. Add helper
* Fix unit tests
* Add anchor alignment options
* Attempt to position popup in the opposite border when using outer, if it does not fit in the main border
* Always Attempt to position popup in the opposite border, both for inner and outer border alignment
* Compensate offset when calculating border alignment
* Fix regression in window alignment. Haddock fixes