]>
git.lizzy.rs Git - nothing.git/log
rexim [Sat, 3 Aug 2019 20:53:28 +0000 (03:53 +0700)]
(#824) Integrate UndoHistory with the LevelEditor
rexim [Sat, 3 Aug 2019 20:06:54 +0000 (03:06 +0700)]
(#824) Implement undo_history_push and undo_history_pop
rexim [Sat, 3 Aug 2019 20:05:49 +0000 (03:05 +0700)]
(#824) Implement dynarray_pop
rexim [Sat, 3 Aug 2019 19:44:12 +0000 (02:44 +0700)]
(#824) Introduce UndoHistory
rexim [Sat, 3 Aug 2019 18:56:06 +0000 (01:56 +0700)]
Fix RectLayer text input
Alexey Kutepov [Sat, 3 Aug 2019 18:44:36 +0000 (01:44 +0700)]
Merge pull request #997 from tsoding/846
(#846) Implement better zooming
rexim [Sat, 3 Aug 2019 18:26:18 +0000 (01:26 +0700)]
(#846) Implement better zooming
Zoom where the mouse cursor points.
rexim [Sat, 3 Aug 2019 17:37:19 +0000 (00:37 +0700)]
(#846) Initialize camera_scale
Alexey Kutepov [Sat, 3 Aug 2019 17:35:40 +0000 (00:35 +0700)]
Merge pull request #996 from tsoding/856
(#856) Prevent S leakage
rexim [Sat, 3 Aug 2019 16:51:16 +0000 (23:51 +0700)]
(#856) Prevent S leakage
rexim [Sat, 3 Aug 2019 16:32:21 +0000 (23:32 +0700)]
Remove TODO(#985)
rexim [Sat, 3 Aug 2019 16:32:21 +0000 (23:32 +0700)]
Remove TODO(#855)
rexim [Sat, 3 Aug 2019 16:32:21 +0000 (23:32 +0700)]
Remove TODO(#963)
rexim [Sat, 3 Aug 2019 16:32:21 +0000 (23:32 +0700)]
Remove TODO(#964)
rexim [Sat, 3 Aug 2019 16:32:21 +0000 (23:32 +0700)]
Remove TODO(#903)
rexim [Sat, 3 Aug 2019 14:59:07 +0000 (21:59 +0700)]
Add Tsoding badge
Alexey Kutepov [Mon, 29 Jul 2019 22:31:26 +0000 (05:31 +0700)]
Merge pull request #993 from tsoding/903
(#903) Show the "Level saved" notice when the level is being saved
rexim [Mon, 29 Jul 2019 20:54:17 +0000 (03:54 +0700)]
Add TODO(#994)
rexim [Mon, 29 Jul 2019 20:51:37 +0000 (03:51 +0700)]
(#903) Center LevelEditor notice
rexim [Mon, 29 Jul 2019 20:20:17 +0000 (03:20 +0700)]
(#903) don't store position in WiggleText
rexim [Mon, 29 Jul 2019 18:15:47 +0000 (01:15 +0700)]
(#903) Show the "Level saved" notice when the level is being saved
rexim [Mon, 29 Jul 2019 18:05:58 +0000 (01:05 +0700)]
(#903) Introduce test notice
rexim [Sun, 28 Jul 2019 20:10:46 +0000 (03:10 +0700)]
(#903) Make color of wiggly_text customizable
rexim [Sun, 28 Jul 2019 20:05:22 +0000 (03:05 +0700)]
(#903) font_scale -> scale
rexim [Sun, 28 Jul 2019 20:04:00 +0000 (03:04 +0700)]
(#903) Introduce FadingWigglyText
rexim [Sun, 28 Jul 2019 19:48:18 +0000 (02:48 +0700)]
(#903) MenuTitle -> WigglyText
rexim [Sun, 28 Jul 2019 19:42:37 +0000 (02:42 +0700)]
(#903) Make menu title transparent
rexim [Sun, 28 Jul 2019 19:24:16 +0000 (02:24 +0700)]
(#903) Decouple MenuTitle from Sprite_font
Alexey Kutepov [Sun, 28 Jul 2019 18:54:39 +0000 (01:54 +0700)]
Merge pull request #992 from tsoding/990
(#990) Implement changing color
rexim [Sun, 28 Jul 2019 18:24:44 +0000 (01:24 +0700)]
(#990) Implement changing color for PointLayer
rexim [Sun, 28 Jul 2019 18:18:09 +0000 (01:18 +0700)]
(#990) Implement changing color for RectLayer
Alexey Kutepov [Sun, 28 Jul 2019 18:27:21 +0000 (01:27 +0700)]
Merge pull request #991 from tsoding/player-layer-finish-off
Player layer finish off
Alexey Kutepov [Sun, 28 Jul 2019 17:48:12 +0000 (00:48 +0700)]
Merge pull request #989 from bepzi/988
(#988) Implement C-k to kill the current line
bepzi [Sun, 28 Jul 2019 17:39:29 +0000 (12:39 -0500)]
(#988) Kill to end of line instead of the entire line
rexim [Sun, 28 Jul 2019 17:33:02 +0000 (00:33 +0700)]
Fix PlayerLayer click-through problem
rexim [Sun, 28 Jul 2019 17:26:04 +0000 (00:26 +0700)]
Split LevelEditor event handling
rexim [Sun, 28 Jul 2019 17:20:04 +0000 (00:20 +0700)]
LEVEL_EDITOR_EDITING -> LEVEL_EDITOR_IDLE
bepzi [Sun, 28 Jul 2019 17:17:35 +0000 (12:17 -0500)]
(#988) Implement C-k to kill the current line
rexim [Sun, 28 Jul 2019 16:52:54 +0000 (23:52 +0700)]
Make player visible even when PlayerLayer is not active
rexim [Sun, 28 Jul 2019 16:52:43 +0000 (23:52 +0700)]
Remove player_layer dtor
rexim [Sun, 28 Jul 2019 16:46:44 +0000 (23:46 +0700)]
Get rid of Lt from PlayerLayer
Alexey Kutepov [Sun, 28 Jul 2019 11:19:21 +0000 (18:19 +0700)]
Merge pull request #978 from bepzi/355
(#355) Add common Emacs keybindings to `Edit_field`
Alexey Kutepov [Sat, 27 Jul 2019 21:37:21 +0000 (04:37 +0700)]
Merge pull request #987 from tsoding/985
(#985) Implement POINT_LAYER_MOVE
rexim [Sat, 27 Jul 2019 19:35:28 +0000 (02:35 +0700)]
(#985) Implement POINT_LAYER_MOVE
Alexey Kutepov [Sat, 27 Jul 2019 19:21:44 +0000 (02:21 +0700)]
Merge pull request #986 from tsoding/855
(#855) Draw id edit field inside of the world for PointLayer
rexim [Sat, 27 Jul 2019 18:27:30 +0000 (01:27 +0700)]
(#855) Draw id edit field inside of the world for PointLayer
Alexey Kutepov [Sat, 27 Jul 2019 18:59:50 +0000 (01:59 +0700)]
Merge pull request #984 from tsoding/854
(#854) Display ids of selected point in PointLayer
rexim [Sat, 27 Jul 2019 18:19:04 +0000 (01:19 +0700)]
Add TODO(#985)
rexim [Sat, 27 Jul 2019 18:17:46 +0000 (01:17 +0700)]
(#854) points -> positions
rexim [Sat, 27 Jul 2019 18:10:05 +0000 (01:10 +0700)]
(#864) Don't render point id in id editing state
rexim [Sat, 27 Jul 2019 18:05:10 +0000 (01:05 +0700)]
(#854) Display ids of selected point in PointLayer
Alexey Kutepov [Sat, 27 Jul 2019 18:11:17 +0000 (01:11 +0700)]
Merge pull request #979 from tsoding/963
(#963) Implement adding a label
rexim [Sat, 27 Jul 2019 17:51:26 +0000 (00:51 +0700)]
Add TODO(#983)
rexim [Sat, 27 Jul 2019 17:51:25 +0000 (00:51 +0700)]
Add TODO(#982)
rexim [Sat, 27 Jul 2019 17:51:24 +0000 (00:51 +0700)]
Add TODO(#981)
rexim [Sat, 27 Jul 2019 17:51:24 +0000 (00:51 +0700)]
Add TODO(#980)
rexim [Sat, 27 Jul 2019 17:48:41 +0000 (00:48 +0700)]
(#963) Handle changed ColorPicker properly
rexim [Sat, 27 Jul 2019 17:45:11 +0000 (00:45 +0700)]
(#963) More details for a TODO
rexim [Sat, 27 Jul 2019 17:36:56 +0000 (00:36 +0700)]
(#963) Deselect label after deleting it.
rexim [Sat, 27 Jul 2019 17:34:05 +0000 (00:34 +0700)]
(#963) make label_layer_element_at include id into bound checking
rexim [Sat, 27 Jul 2019 17:24:46 +0000 (00:24 +0700)]
(#963) Implement edit cancelling for id editing
rexim [Sat, 27 Jul 2019 17:12:15 +0000 (00:12 +0700)]
(#963) Implement Edit Text cancelling for LabelLayer
rexim [Sat, 27 Jul 2019 17:06:27 +0000 (00:06 +0700)]
(#963) Implement adding labels
rexim [Sat, 27 Jul 2019 17:06:05 +0000 (00:06 +0700)]
(#963) Don't render edit_field on non-selected labels
rexim [Sat, 27 Jul 2019 17:05:26 +0000 (00:05 +0700)]
(#963) Implement dynarray_push_empty
Alexey Kutepov [Sat, 27 Jul 2019 14:04:20 +0000 (21:04 +0700)]
Merge pull request #977 from tsoding/976
(#976) Impelent Label deletion
bepzi [Tue, 23 Jul 2019 03:32:42 +0000 (22:32 -0500)]
(#355) Generify deleting words/characters with memmove
Calling `delete_char()` in a loop is wasteful, as it calls `memmove()`
internally over and over. This is especially inefficient for large
words.
Adds a generic `kill_region_and_move_cursor()` method, which destroys
characters between [start, end] (inclusive), taking into account when
to move with `memmove()` and when to simply kill to the end of the
line. The cursor is then moved to `start`. Now, deleting a single
character is simply deleting a region of size 1.
bepzi [Mon, 22 Jul 2019 22:42:27 +0000 (17:42 -0500)]
(#355) Use `memmove` for character insertions and deletions
bepzi [Mon, 22 Jul 2019 22:40:45 +0000 (17:40 -0500)]
(#355) Use curly braces around `switch` cases, remove macro
bepzi [Sun, 21 Jul 2019 23:40:14 +0000 (18:40 -0500)]
(#355) Implement C-p and C-n for moving through history
bepzi [Sun, 21 Jul 2019 22:19:14 +0000 (17:19 -0500)]
(#355) Add common Emacs keybindings to `Edit_field`
`static` helper methods are named according to the GNU Emacs
terminology:
https://www.gnu.org/software/emacs/manual/html_node/emacs/Moving-Point.html
Implementing "C-p" and "C-n" for traversing history still needs to be
done.
rexim [Sun, 21 Jul 2019 19:27:00 +0000 (02:27 +0700)]
(#976) Impelent Label deletion
Alexey Kutepov [Sun, 21 Jul 2019 19:27:13 +0000 (02:27 +0700)]
Merge pull request #975 from tsoding/964
(#964) Implement Edit ID state for Label Layer
Alexey Kutepov [Sun, 21 Jul 2019 19:20:29 +0000 (02:20 +0700)]
Merge pull request #973 from zhiayang/master
Add home and end key support to `Edit_field`
rexim [Sun, 21 Jul 2019 19:03:52 +0000 (02:03 +0700)]
(#964) Make Label Layer selection include the id
rexim [Sun, 21 Jul 2019 18:46:43 +0000 (01:46 +0700)]
(#964) Implement Edit ID state for Label Layer
rexim [Sun, 21 Jul 2019 18:46:24 +0000 (01:46 +0700)]
(#964) Implement Edit_field style customization
rexim [Sun, 21 Jul 2019 18:33:39 +0000 (01:33 +0700)]
(#964) Add more fonts
rexim [Sun, 21 Jul 2019 18:02:08 +0000 (01:02 +0700)]
(#964) Make LabelLayer display the ids
zhiayang [Sun, 21 Jul 2019 18:17:35 +0000 (02:17 +0800)]
add home and end key support to edit_field
Alexey Kutepov [Sun, 21 Jul 2019 18:16:22 +0000 (01:16 +0700)]
Merge pull request #970 from TheKnarf/fix/trying-to-get-travis-mac-working
(#909) Trying to get Travis build working
Alexey Kutepov [Sun, 21 Jul 2019 18:11:01 +0000 (01:11 +0700)]
Merge pull request #972 from tsoding/965
(#965) Make LabelLayer render edit_field inside of the world
Frank Lyder Bredland [Sun, 21 Jul 2019 17:52:11 +0000 (19:52 +0200)]
(#909) Testing without -DSDL2_INCLUDE_DIR
rexim [Sun, 21 Jul 2019 17:47:42 +0000 (00:47 +0700)]
(#965) Make LabelLayer render edit_field inside of the world
rexim [Sun, 21 Jul 2019 17:44:09 +0000 (00:44 +0700)]
(#965) edit_field_render -> edit_field_render_screen
Alexey Kutepov [Sun, 21 Jul 2019 17:42:17 +0000 (00:42 +0700)]
Merge pull request #971 from tsoding/966
(#966) Improve edit_field interface
Frank Lyder Bredland [Sun, 21 Jul 2019 17:33:35 +0000 (19:33 +0200)]
(#909) Trying to update Homebrew packages
According to the doc one can force homebrew to update:
https://docs.travis-ci.com/user/installing-dependencies/#installing-packages-on-macos
However it will slow down the build.
Frank Lyder Bredland [Sun, 21 Jul 2019 17:28:13 +0000 (19:28 +0200)]
(#909) Debugging broken CI
Alexey Kutepov [Sun, 21 Jul 2019 17:26:44 +0000 (00:26 +0700)]
Merge pull request #969 from TheKnarf/fix/title-screen-size
(#967) Fix for title screen looking weird without resizing
rexim [Sun, 21 Jul 2019 17:20:44 +0000 (00:20 +0700)]
(#966) Improve edit_field interface
Frank Lyder Bredland [Sun, 21 Jul 2019 17:20:24 +0000 (19:20 +0200)]
(#909) Trying to get Travis build working
Frank Lyder Bredland [Sun, 21 Jul 2019 17:09:03 +0000 (19:09 +0200)]
(#967) Fix for title screen looking weird without resizing
Alexey Kutepov [Sun, 21 Jul 2019 11:55:54 +0000 (18:55 +0700)]
Merge pull request #962 from tsoding/892
(#892) Label Layer enhancements
rexim [Sat, 20 Jul 2019 19:54:35 +0000 (02:54 +0700)]
Add TODO(#966)
rexim [Sat, 20 Jul 2019 19:54:35 +0000 (02:54 +0700)]
Add TODO(#965)
rexim [Sat, 20 Jul 2019 19:54:34 +0000 (02:54 +0700)]
Add TODO(#964)
rexim [Sat, 20 Jul 2019 19:54:33 +0000 (02:54 +0700)]
Add TODO(#963)
rexim [Sat, 20 Jul 2019 19:53:06 +0000 (02:53 +0700)]
(#892) Introduce Edit Text state for Label Layer
rexim [Sat, 20 Jul 2019 19:33:17 +0000 (02:33 +0700)]
(#892) Remove refactoring leftovers
rexim [Sat, 20 Jul 2019 19:22:48 +0000 (02:22 +0700)]
(#892) Store label's texts continuously