Björn Ritzl
|
9afd77e2b0
|
Changed scope of top in show()
|
2019-05-02 09:36:23 +02:00 |
|
Björn Ritzl
|
9808c09aa1
|
Wait when reloading
|
2019-05-02 09:36:03 +02:00 |
|
Björn Ritzl
|
05f91dd763
|
Make sure focus_lost messages is received
Fixes #42
|
2019-03-17 21:50:01 +01:00 |
|
Björn Ritzl
|
57946d27bf
|
Added is_preloading() and when_loaded()
|
2019-03-08 10:28:39 +01:00 |
|
Björn Ritzl
|
1bc0ae09ee
|
Simplified coroutine usage when running screen code
|
2019-03-08 09:11:37 +01:00 |
|
Björn Ritzl
|
66bdde41ed
|
Make sure to pcall when invoking callbacks
|
2019-03-08 09:08:34 +01:00 |
|
Björn Ritzl
|
35dd0c3f70
|
Changed from listeners to transition_listeners table to be more explicit
|
2019-03-08 09:07:12 +01:00 |
|
Björn Ritzl
|
7e2ff2990c
|
Make sure to also reload pre-loaded screens if required
Fixes #39
|
2019-03-05 00:21:23 +01:00 |
|
Björn Ritzl
|
38f95e0b5b
|
Wait for popups when closing them
|
2019-01-23 08:08:56 +01:00 |
|
Björn Ritzl
|
79df80df33
|
Added show() function for adding outside the stack. Fixes #26
|
2019-01-11 11:11:19 +01:00 |
|
Björn Ritzl
|
ff8214583b
|
Added support for unloading a preloaded screen
|
2019-01-11 08:47:24 +01:00 |
|
Björn Ritzl
|
7740499821
|
Added support for automatically preloading screens
|
2019-01-11 08:47:06 +01:00 |
|
Björn Ritzl
|
753d003861
|
Preload fix (#34)
* Don't try to preload if monarch is busy
* Added test for #32
|
2018-12-10 12:27:11 +01:00 |
|
Björn Ritzl
|
3443484cce
|
Added support for collection factories
|
2018-07-27 13:28:36 +02:00 |
|
Björn Ritzl
|
b73ed95315
|
Removed code duplication when loading
|
2018-07-27 09:48:59 +02:00 |
|
Björn Ritzl
|
8d1051f0fd
|
Added Timestep below Popup
Fixes #25
|
2018-07-26 10:52:03 +02:00 |
|
Björn Ritzl
|
07eacc7a5f
|
Track when callbacks are invoked so that we can ensure that all screens are shown/hidden before invoking callbacks
|
2018-06-21 11:33:20 +02:00 |
|
Björn Ritzl
|
5ee6ea5982
|
Log when monarch is busy
|
2018-06-21 11:30:17 +02:00 |
|
Björn Ritzl
|
f590c75b9e
|
Removed debug prints that was accidentally left behind
|
2018-06-21 11:29:59 +02:00 |
|
Björn Ritzl
|
22f0e6cddf
|
Changed from single notification to begin and end notification for every navigation
|
2018-06-20 13:46:45 +02:00 |
|
Björn Ritzl
|
3947e86169
|
Added navigation listeners
|
2018-06-20 07:30:38 +02:00 |
|
Björn Ritzl
|
e570eac40b
|
Don't preload an already loaded screen
|
2018-06-18 07:19:37 +02:00 |
|
Björn Ritzl
|
091fab0c7f
|
Changed how monarch busy state is tracked
|
2018-06-16 22:27:03 +02:00 |
|
Björn Ritzl
|
4231b0b89c
|
Prevent show/back operations while busy
Fixes #22
|
2018-06-10 16:17:41 +02:00 |
|
Björn Ritzl
|
cf75bef8da
|
Merge branch 'master' of https://github.com/britzl/monarch
|
2018-06-04 13:56:47 +02:00 |
|
Björn Ritzl
|
66b1f7ca2e
|
Added monarch.top() and bottom()
|
2018-06-04 13:56:45 +02:00 |
|
Björn Ritzl
|
0fdfb6fd11
|
Send information about the next/prev screen in transition message
|
2018-06-04 13:56:23 +02:00 |
|
Alexey Gulev
|
6fbec4ab8f
|
preventing double preload of the screen (#20)
* preventing double preload of the screen
|
2018-06-04 07:48:46 +02:00 |
|
Björn Ritzl
|
ffc148b4bf
|
Added preload()
|
2018-06-03 17:32:13 +02:00 |
|
Björn Ritzl
|
f811c1f306
|
Accept both hash and string as screen id
|
2018-03-24 12:08:16 +01:00 |
|
Björn Ritzl
|
9cdf4817e8
|
Added popup_on_popup flag to screens
|
2017-12-28 00:02:10 +01:00 |
|
Björn Ritzl
|
1d476424ce
|
Added more logging
|
2017-12-07 21:09:13 +01:00 |
|
Björn Ritzl
|
007a4eced3
|
Improved on the state handling while showing/hiding screens
Also added simple debug logging
|
2017-12-07 20:49:48 +01:00 |
|
Björn Ritzl
|
19e9c0d8a7
|
Added multiple bugfixes
|
2017-12-06 21:25:27 +01:00 |
|
Björn Ritzl
|
1b3b16c355
|
Added more documentation. Changed monarch.get_stack()
|
2017-12-01 09:31:50 +01:00 |
|
Björn Ritzl
|
e6615e2888
|
Started adding unit tests
|
2017-11-30 20:25:17 +01:00 |
|
Björn Ritzl
|
036cdb853d
|
Fixed some issues regarding focus lost/gained next/previous screen id
|
2017-11-27 21:48:21 +01:00 |
|
Björn Ritzl
|
62684f9795
|
Merge pull request #8 from AGulev/master
Replace strings with constants / new type of transactions / information for the focus messages
|
2017-11-27 21:21:46 +01:00 |
|
Björn Ritzl
|
895bc6f9ed
|
Merge pull request #5 from subsoap/master
Adding monarch.screen_exists(id)
|
2017-11-27 21:16:13 +01:00 |
|
AGulev
|
4ead8d9d42
|
Merge remote-tracking branch 'upstream/master'
# Conflicts:
# monarch/monarch.lua
|
2017-11-27 10:57:32 +03:00 |
|
Björn Ritzl
|
4c65581456
|
A couple of bug fixes. Added reload option.
|
2017-11-22 13:28:27 +01:00 |
|
AGulev
|
8324b54fc5
|
remove unneed print
|
2017-11-20 18:57:06 +03:00 |
|
AGulev
|
36e3f69f48
|
add more information for focus events
|
2017-11-20 18:52:18 +03:00 |
|
Brian Kramer
|
8df7ddd32f
|
Adding monarch.screen_exists(id)
In some projects may need to wait until initial screen has been
registered before attempting to show it
|
2017-11-08 09:29:25 -08:00 |
|
AGulev
|
de2fa9c4e2
|
replace hashes with constants
|
2017-11-03 09:50:28 +03:00 |
|
Björn Ritzl
|
e46a703b25
|
Changed from controller_url to focus_url. Improved docs
|
2017-09-28 08:22:05 +02:00 |
|
Björn Ritzl
|
e24acb51d8
|
Fixed wrong message constant
|
2017-09-26 02:16:44 +02:00 |
|
Björn Ritzl
|
1174de2ba5
|
Cleanup
|
2017-09-25 21:55:12 +02:00 |
|
Björn Ritzl
|
95fd994fa0
|
Simplified message constant. Added focus message
|
2017-09-25 21:33:28 +02:00 |
|
Björn Ritzl
|
e7edfbe173
|
Changed how transition urls are defined
|
2017-09-25 21:21:33 +02:00 |
|