Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/lamdu/momentu

A purely functional animated GUI framework
https://github.com/lamdu/momentu

Ignore .vscode folders

ac4b7ec39313a8ce3f61d49c70ae272fdffd378d authored over 1 year ago
Handled key events are not translated into duplicated char events (based on patch in underlying GLFW fork)

e1254f3e76539e0d4fe72cc86dccbd5440e443cc authored over 1 year ago
Events lookup done on main thread, processing still in separate event processing thread

Now the eventHandler provided by Main.Animation.eventAnimLoop properly returns whether there was...

869bc28a2c64e426f22778aaf9f7186929bc26bf authored over 1 year ago
Search menu: no pre-event when on empty search term

07814b1e207049c8ab9f9516e777435b79a20ee7 authored over 1 year ago
Search Menu: left key on options moves cursor on search term

551f2fa296d1cf8f223962cb69356289aed34479 authored over 1 year ago
Pre-Events also for navigation

fea1781fe113f8d13c257b260bd315c3184dcdaf authored over 1 year ago
Simplification: no need to skip pre-events before those were added?

From testing in Lamdu these operations seem to work like before.

Note: Lamdu still uses weakerE...

7ed5316b525e1140fd5e4d4f61123f13f59970fd authored over 1 year ago
Missing lenses

f40326bf328af1ec093ddae9644c36d245a16a2f authored over 1 year ago
inline-c-objc now on Hackage

7fd70a2d01861feeba530ce327601ffd8a57e010 authored over 1 year ago
Menu: pre-events reform

Menu item pre-events aren't added to them, but rather to whole search-menu.

This prepares to a ...

ffed0725cdf2ce824d20c42fce70665969ff6ece authored over 1 year ago
Rename towards generalization

54320d98bc0ccd5632ff922ecc371e8e36e26dc9 authored over 1 year ago
Minor cleanups

73c7566bf28f33aea3a8dfaa757db2c0e343d204 authored over 1 year ago
Extract functions

cd88e45f3f1c67f918c55c3c98eb24928c4afcb4 authored over 1 year ago
Use (<>) rather than mappend

(only requires Semigroup rather than Monoid)

e5ab564aca6bd6c1b1baf438787184ae3a1af2ec authored over 1 year ago
Extract functions to module Momentu.Widget.Events

Not sure its the best name for the module but split is helpful.

d47f89392917596763c264604f99763a9ccd795a authored over 1 year ago
Extract functions and minor formatting

74107e923a338323aba4b0707f2c707c01c441e8 authored over 1 year ago
Enable animations during resize in macOS

TODO:
* Once https://github.com/fpco/inline-c/pull/143 is merged, use upstream inline-c from Hac...

6f169330d3a6dffbf27b7b202c2d4f2313f14817 authored over 1 year ago
Flip main-loop threading model: draw in main thread

Events other than EventWindowRefresh are sent to a background event-processing thread to handle,...

0e533e5b6713a4edf42b70c1d01ec89331a8d165 authored over 1 year ago
Simplify animThreadLoop (losing tiny bit of efficiency)

be1b9f5f2bc91ad7f6d9466c27aa74d810c7930d authored over 1 year ago
Start directly at initial frame rather than animate to it

c9c46df9dd05bd412438ace22e0c83bc0fba3159 authored over 1 year ago
Use Anim.Dest type rather than tuple and add comments.

d09073a9560c623276ce96236e8b68bb1a6d9802 authored over 1 year ago
macOS: Lock OpenGL context while drawing to avoid potential crashes during resizes

32532f03f722502ab4240ed32660dfeae412f654 authored over 1 year ago
Update stack resolver (use GHC 9.2.7)

221c57fe3291534e1bbb89b1b3e9d3cb2fea6cdb authored over 1 year ago
Fix red cursor bug introduced in d423ef550034

Repro: in textedit example type something or move cursor

01d6a63eeb81b328471930071f07d95759111a6f authored over 1 year ago
hlint police

29f0c06f0081ee2394132c3dc92dd4b6ec0c1800 authored over 1 year ago
Transition from convention of parameters inside reader-monad result.

Not sure why we used that convention to start with.
With monads other than readers it does conve...

d423ef550034f5178d5888e254ddb63df1062a84 authored almost 2 years ago
Oops fix warnings

f0f0e84ea92841daa488ba947de52ef5930d274a authored almost 2 years ago
asElemId instead of augmentElemId and manually constructing ElemIds

f8e89fa2662f172b9986c03871d00d8e1ca908a6 authored almost 2 years ago
Missing rename {anim=>elem}IdPrefix

b287a15f0467176628b0eedf8c70907723a51e69 authored almost 2 years ago
ElemId is a newtype and has IsString instance

f40da29a489fdda11a7513757b7e12722f3ef023 authored almost 2 years ago
hlint police

e935da46099e7c9664a8a21a2b6af0b89a3f4c48 authored almost 2 years ago
Unify old WidgetId and AnidId to ElementId, more ergonomic

Still needs to be a newtype again

35a9063f2bf9c6ab5c1f0db7a8ee7dd44fda6d72 authored almost 2 years ago
git-search-replace.py AnimId///ElemId -f

0a1d2e7811bf2f745a925bedb2eed7b66358dc3b authored almost 2 years ago
Rename modele GUI.Momentu.{Animation=>Element}.Id

f8f246f1ece33bb65c5817972db8475590147dbd authored almost 2 years ago
Update stack resolver

ed52f122bf63d6c7e938555b3d9dfed8416a8de3 authored almost 2 years ago
Make the searchmenu example more elaborate

eaff545d185fe570d222c00f39e516fb7078890c authored about 2 years ago
SearchMenu: Re-export OptionList, Option, RenderedOption and Submenu

a51e6438ec7a115e19a0671f7beb855e75814fc7 authored about 2 years ago
Menu: Add mkOptionList

e6b3afecde18e318def9b4b0e029b44fe7422c0c authored about 2 years ago
stack.yaml: Bump to lts-19.33

6f845e10f2fdd88e14fa53cc3dbbcc27c777e7a0 authored about 2 years ago
Responsive.Options: Expose wideLayoutUnambiguousOption for convenience

836c6490e32a9a8683de4e56d13ab11a1a8e195a authored over 2 years ago
Responsive.Options: makeWideLayouts: remove dead parameter

39d9d1da0efbdb7095a472dee31ede2b30a1c532 authored over 2 years ago
Responsive: Add 'render' function

7e59afc6166dab7a6e578b572615a3c8bfbe9a65 authored over 2 years ago
In jumpToTopOfCallStack: Don't print empty callers list

16835f282d383dfb97893cf82054b3165770255d authored over 2 years ago
Rename Data.List.Extended to Data.List.Extended.Momentu

26770b9405a86c26759bb0429f988d4b0ae8c1d1 authored over 2 years ago
Switch to tasty

3d5a6dd9e50bf0c1903654b8fab77d57f6149c9a authored over 2 years ago
Jump to top of call stack also prints rest of call stack

56803b4bec3e96684711fef8b8bbe7847fad5d96 authored over 2 years ago
Bump to lts-19.22

bbe401a7c36d05bac0d9eacf00a5405c2b855861 authored over 2 years ago
Re-export Responsive and EventMap

Common imports (39 import lines in Lamdu)

0ab58c499cf2cd0ea3648a3fca23d818c67306e7 authored over 2 years ago
TaggedList: one-liner option

b54f426e021605594b824acb97b6f08e41b89c78 authored over 2 years ago
WideLayoutOption supports one-liner-only options

f0e00366d4b522cf10484f4de9e6c94cb975c822 authored over 2 years ago
Responsive wide layout keeps track on whether it is one-liner.

Example use case:
Lamdu's one-liner if-expression layout should only be used if the elements wit...

4ea4e09c8be8be6b6d0a5d22a4e49753d3a1e642 authored over 2 years ago
DRY / naming

f025b23d5aabb21b1ef04307b22d23da1dbbe2a2 authored over 2 years ago
Use Lens.iso

d15a177f2450d23204ea1047ab2fb8fe26f1f361 authored over 2 years ago
Fix for clashing anim ids for indent bars in tagged list items

75211f85b3cc992c2c1e83c8a243f684ec6d98c2 authored over 2 years ago
Revert "GLFW error callback before init"

This reverts commit 98b75991e778da56bae31fd49a2c2f9ac266f30a.

a83a5978798c355d510d2e1fa7e2d8c73ba81078 authored over 2 years ago
Informative init error

6edd1bbc59812a4389dd98a34ae8cd27ee529b44 authored over 2 years ago
GLFW error callback before init

98b75991e778da56bae31fd49a2c2f9ac266f30a authored over 2 years ago
Menu no-results widget has results prefix

1a215fbafab015578ecc34b8d6e21a572f1168c3 authored over 2 years ago
Momentu: Re-export whole Window module

dc3f96ec6e7da4ce525b4196057432f50d0409cb authored over 2 years ago
Window creation gets the millimeter size as well

d96c07a2ae3a7b1062e85a20b3aa7d397f43d620 authored over 2 years ago
sys-info: Also print monitor content scale

26225a8013cd3f58d6d2e217d2339b1eb4302e4b authored over 2 years ago
Generalize returned lenses

24f97dfab74ef8aa5d13acdb065b9b758d87bc2c authored almost 3 years ago
stack.yaml: lts-19.1

0a1151a832527125605db26d2ac77618835704f9 authored almost 3 years ago
Changes for GHC 9.2 support

cd5d62c7478c7b41ea2e6f789f53825883d86e01 authored almost 3 years ago
Use GHC 9 and fix warnings

9619e6967945cc0a005dc851b7ac599d30f606dd authored almost 3 years ago
Use -Wunused-packages

b340d0122c7d04060d5bd82cdbbbdafc45229c0b authored almost 3 years ago
TaggedList adds space between pre tag and item

3068e69f35ed2c5429ec2a98259ee5a2e0bddf05 authored almost 3 years ago
taggedListIndent

d316c1b3c479fda99e795f7195f07cb4316dcf7c authored almost 3 years ago
Extract makeVboxSpaced

0f446537e638b9e7b72b781309812a3dc46f0de6 authored almost 3 years ago
Extract functions, use do-notation

b9b1f3ff8f57c59de8f7ad19d41fa764cd0f2724 authored almost 3 years ago
createWindow supports custom sizes

Also bumped version for two reasons:
* API change
* Helps avoid stack's linking issue when using...

6c343b5b02fbb328ce52b6094951d2eea07ef735 authored almost 3 years ago
Responsive uses WideLayouts

999c87cc5d288ddee460fe1d4313353609710e37 authored almost 3 years ago
Move WideLayouts to Responsive towards using in Responsive type

65ea8920fd0b29d21c613fc7a4e905689ef91c27 authored almost 3 years ago
Minor cleanup in test

028f6ee67ea00aded3f52befe32b2ff0f86830bb authored almost 3 years ago
Remove redundant function

7f3d395f2dc85decdf032f26b7d83ca3aa55c0d3 authored almost 3 years ago
Add Show instances for debugging

7ef9875b27ed2f4e6b73a33f48b0fb1443f218a1 authored about 3 years ago
Search: opening search menu should not apply pre-events

536582e9c792833de69b8aa4c118305b3a02414b authored about 3 years ago
Add missing instances

60056deffb52c453839a058fc70ee779b25269bb authored over 3 years ago
Update stackage resolver

042813a68a7ac6c3d08e25d8fc6510c4211a96cb authored over 3 years ago
Fix https://github.com/lamdu/lamdu/issues/129

ea7511853af9cb80c4c46f71ce65002aaa8bf631 authored over 3 years ago
hlint police

1ef43ddf5ba434a6030efbf650a8c9c716653683 authored over 3 years ago
Config Generic instances

2830795799572f083e3716770a579e3e851cb4ac authored over 3 years ago
Extract StdKeys.DirKeys to its own Has instead of duplicating it in Grid/TextEdit Keys

686932c08a889079eda04c8e1502b415ce8d3ed3 authored over 3 years ago
Remove MetaKey type. MetaKey becomes a parse/format and 'cmd' combinator

* No JSON instance for ModKey

65074afd70b8bbfd2247f1188941d45fd31df928 authored over 3 years ago
SearchMenu: del-search-term keys aren't hard-coded

dae1ac335b89ec27f00055b56931748a848942ad authored over 3 years ago
Left-over renames from choice to dropdownlist

acc2eb294e3e47ea7f18f31287bcec4155da5da1 authored over 3 years ago
Remove examples/.gitignore

17f2c2570e707a41aaa3450ac9dd3bf18485a117 authored over 3 years ago
Main: Quit keys come from env, not hard-coded

4d767c70e0472731a330e7240138b4045db91c2f authored over 3 years ago
TextEdit: Take explicit Keys record

726d5dedc7c7f7db88dd87737250499e10e6eeef authored over 3 years ago
TextEdit: Do not export HasTexts, HasStyle

29614748eeb83c6389f56fa95bd98bbaeca53373 authored over 3 years ago
Grid: Pass Keys in the env

b2a3c2a8504c6b964498aa4c405034a4d9e12cb8 authored over 3 years ago
DirKeys: Lensify

320dc04059e712e0bf003220a83806bbc8fb963d authored over 3 years ago
DefaultEnv has Spacer env

07cadb378b3a0242f4a9a6e1812af49b211ae8d1 authored over 3 years ago
Animation spiral option.

Useful to show how things switch places:
https://twitter.com/yairchu/status/1410199396214611968

81b5316fa31d21eb2588ee2c3942ff41cc77050b authored over 3 years ago
Animation config: lensify

c90339f2440c465ae14e8c317d37124bfe0ba658 authored over 3 years ago
Main.Options: Lensify

e5cc4a13874439349d77c465ab74d87872a6f59d authored over 3 years ago
Extract ListBox from DropDownList (not a fully features widget yet)

ace0c2386fc9be42fa8c6b1a7f0b83e169dad282 authored over 3 years ago
Rename Choice=>DropDownList

It seems to be the more common name for this element:
https://en.wikipedia.org/wiki/Drop-down_list

3678ebd92c4690fa947c6b49f2ae179b3d28c31f authored over 3 years ago
Choice accepts any Foldable

c23e624e0748ee81187d52d162d030f5f2a90812 authored over 3 years ago
box works for any foldable

9cc34d5cd782db56840cab84987513250546a533 authored over 3 years ago