Smack  Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2020-10-23
15:35
Editor: model: added functions to add, remove and clear decorations attached to lines. Leaf check-in: de9b023482 user: zlodo tags: trunk
13:48
Fix wrong path in the btree tester. check-in: b2d2ad3b63 user: zlodo tags: trunk
2020-10-22
22:42
  • Fixed a bug where the current selection in the editor pane was updated incorrectly when deleting a macro
  • First cut of a tooltip implementation, to be improved later
check-in: 11a304b66b user: zlodo tags: trunk
11:13
Ui: added a decorator for tooltip windows. check-in: 39f0f4ba7e user: zlodo tags: trunk
2020-10-21
21:30
Main addon: properly update keybinds when renaming macros. check-in: 6d060d7468 user: zlodo tags: trunk
21:20
UI:
  • split away window decoration from the window implementation, so we can have window widgets using different decorations (to make tooltips)
  • fixed the logic to determine the frame level of widgets when using overlay layouts.
check-in: 836433fb56 user: zlodo tags: trunk
18:52
Fixed a couple of keybind related bugs. check-in: 4ea24d106c user: zlodo tags: trunk
2020-10-20
22:21
Minor code cleanup. check-in: 871a3f8946 user: zlodo tags: trunk
2020-10-18
22:34
Timeslice compilation during edition and initial macros creation so that it never uses more than 1ms per frame. check-in: 5c862bca18 user: zlodo tags: trunk
19:58
Ui: when editing a kaybind, display a modal dialog to wait for the new keybind. This avoid the rest of the ui being still interactable with the mouse and provide a way to canel the operation. The key binding workflow is now complete at last. check-in: 43aaf0f327 user: zlodo tags: trunk
19:22
Ui: get rid of SizeOverride, this was an ugly hack and is not needed anymore. check-in: 4929afded5 user: zlodo tags: trunk
19:16
Ui: turned keybindeditor/overlay.lua into a generic dialog, moved it to zlui. check-in: 19057334f6 user: zlodo tags: trunk
18:09
UI: implemented a word wrapped text widget. check-in: 53bfb231bc user: zlodo tags: trunk
2020-10-17
21:04
Main addon: hook the SetBindingXXX api functions to know when the keybinds we use are reassigned elsewhere and update our own data accordingly. check-in: 1bcdd30c89 user: zlodo tags: trunk
17:30
Main addon: only perform the initialization the forst tyime we receive PLAYER_ENTERING_WORLD. check-in: d011f8c302 user: zlodo tags: trunk
16:33
Compiler: added target statement. check-in: 2b84fc6152 user: zlodo tags: trunk
14:51
Main addon: when deleting a macro, free up its name so that it can be reused. check-in: 88a5312251 user: zlodo tags: trunk
14:23
Main addon:
  • Guarantee the uniqueness of macro names by appending/incrementing a number at the end if necessary
  • Replace spaces with underscores in the virtual button names so that using /click in a normal macro to use a Smack macro is always possible
check-in: ecdec5b897 user: zlodo tags: trunk
2020-10-15
23:01
Main addon: create a common secure handler frame and have keybind clicks be routed through this frame using a virtual mouse button for each macro. This is to make the binding actions readable (something like CLICK Smack:macro_name), especially since they can appear in other addons or in the default ui. check-in: 6a7b8b0f83 user: zlodo tags: trunk
2020-10-14
22:51
UI: key binding: when detecting a conflict, display an overlay to ask whether to proceed with the rebinding or cancel the change. check-in: 1f1065f160 user: zlodo tags: trunk
2020-10-13
23:07
UI: fixed a bug with SizeOverride that caused contained grids to layout incorrectly. check-in: ccbf6e4e0d user: zlodo tags: trunk
12:01
UI: began implementing the keybind edition overlay. check-in: 51e27be8b2 user: zlodo tags: trunk
11:30
  • UI: added a "freeze" mode to widgets to make stop hightlighting things when the mouse is hovering
  • Window: freeze the content while resizing and when an overlay is active
  • List: fixed the slider not showing up anymore
check-in: 484945ae1a user: zlodo tags: trunk
06:39
  • Window: disable the close button when an overlay is active
  • UI: implemented Filler (a spacer filled with a color texture) and SizeOverride (a wrapper that constrains the size of its content)
  • Window: when an overlay is active, add a black veil above the window's content
check-in: 13e29f9d5b user: zlodo tags: trunk
2020-10-12
21:35
UI: lots of fixes to the window overlay system check-in: 6a80a66d5b user: zlodo tags: trunk
12:06
UI: some bug fixes for the window content overlay system. check-in: e3b58e425b user: zlodo tags: trunk
11:28
UI: Implemented a way to create an overlay above a window's content. check-in: 505fce6acf user: zlodo tags: trunk
2020-10-11
20:39
  • Fixed a cache bug that caused every macro to be recompiled everytime at startup
  • UI: Implemented an OverlayLayout widget that lays out its children on top of one another
  • Editor, List: made the sliders overlay the content, automatically fade them in when the mouse cursor is in
check-in: 1b197a658b user: zlodo tags: trunk
17:27
UI: a couple of small fixes. check-in: 578e80fbc7 user: zlodo tags: trunk
16:56
  • Cache: delete unneeded entries if there are fewer macros in the database than entries in the cache
  • UI: implement partial relayouting to deal with dynamically changing widget size requirements
check-in: 77892439b2 user: zlodo tags: trunk
13:59
  • Editor: implemented focus management.
  • Main addon: implemented key binding management.
  • UI: implemented key binding edition.

This finally brings the addon to a minimally functional state, as macros can be created and key bound! All that remains now is to make it not shit. check-in: 0804e09bca user: zlodo tags: trunk, first-working-prototype

11:44
Base addon: when deleting a macro, update the time stamps of all following macros so that the cache gets updated properly on other characters. check-in: 002cb4a7f0 user: zlodo tags: trunk
10:37
  • Macro source code edition all wired up, macros are recompiled automatically
  • Added last changed timestamps to macros so that we can recompile them automatically when logging on a different character that have an outdated cached version
check-in: d64652e1aa user: zlodo tags: trunk
10:03
Editor:
  • Implemented setText() method to replace the entire text buffer
  • Implemented getText() method to get the text buffer
  • Added an event to notify when the text is modified
check-in: d33c2abd6a user: zlodo tags: trunk
2020-10-10
20:57
UI:
  • Added an EditBox wrapper
  • Refactored the macro objects in the main addon to make things easier
  • Macros can now be renamed
check-in: c1df6e1066 user: zlodo tags: trunk
10:13
UI: began implementing the macro editor composite widget, currently just displays the macro's name and the text editor. check-in: 9fad03db1d user: zlodo tags: trunk
09:53
UI: ListView: handle the mouse wheel. check-in: cff9164b57 user: zlodo tags: trunk
09:27
UI: when creating a new macro, automatically select it and scroll it into view. check-in: 7e1ad263e3 user: zlodo tags: trunk
08:55
UI: correctly update the selected macro index when deleting a macro. check-in: 4e15fe39c4 user: zlodo tags: trunk
08:42
UI: factored out list item selection rendering into a generic "selectable item" class. check-in: 076c39bfa0 user: zlodo tags: trunk
2020-10-09
21:55
UI:
  • Implemented a generic "item selection" list controller.
  • Fixed a bunch of listview issues, simplified the rendering (we didn't really need the intermediary "contentFrame" frame).
  • Implemented macro selection.
check-in: 1091211e2f user: zlodo tags: trunk
18:39
UI: moved btree.lua to the editor subdirectory as it is unlikely to be used for anything else. check-in: 24e3ddf2bb user: zlodo tags: trunk
18:31
UI: small reorganization: renamed list's provider to "model", moved the macro list model and item implementations in a subdirectory. check-in: f4e5de1b4a user: zlodo tags: trunk
18:12
UI: implemented macro deletion. check-in: d4a8b01263 user: zlodo tags: trunk
2020-10-08
06:29
UI:
  • Fixed a bunch of listview bugs
  • Added a delete button in the macro item widget
check-in: 0ce72444c5 user: zlodo tags: trunk
2020-10-07
19:48
UI: added the "new macro" button, wired some things up to make it work. check-in: 668a71ad60 user: zlodo tags: trunk
2020-10-06
22:30
UI: move a misplaced initialization. check-in: 1b97c45e76 user: zlodo tags: trunk
22:16
UI: moved the /smackk command into the main addon and made the UI load on demand. check-in: ca7d16f4b8 user: zlodo tags: trunk
21:42
UI:
  • Factor common boilerplate for composite widgets into a CompositeWidget class.
  • Add a Label widget class.
  • First draft of the macro list item widget.
  • First draft of the macro list provider.
  • Removed all the old test code from the ui, use the macro provider to populate the listview.
check-in: 823ff87a8b user: zlodo tags: trunk
2020-10-05
22:21
Main addon: created a proper api to create/delete macros, and added related events. check-in: 637b3cf2e2 user: zlodo tags: trunk