]> git.lizzy.rs Git - nothing.git/log
nothing.git
4 years ago(#824) Integrate UndoHistory with the LevelEditor
rexim [Sat, 3 Aug 2019 20:53:28 +0000 (03:53 +0700)]
(#824) Integrate UndoHistory with the LevelEditor

4 years ago(#824) Implement undo_history_push and undo_history_pop
rexim [Sat, 3 Aug 2019 20:06:54 +0000 (03:06 +0700)]
(#824) Implement undo_history_push and undo_history_pop

4 years ago(#824) Implement dynarray_pop
rexim [Sat, 3 Aug 2019 20:05:49 +0000 (03:05 +0700)]
(#824) Implement dynarray_pop

4 years ago(#824) Introduce UndoHistory
rexim [Sat, 3 Aug 2019 19:44:12 +0000 (02:44 +0700)]
(#824) Introduce UndoHistory

4 years agoFix RectLayer text input
rexim [Sat, 3 Aug 2019 18:56:06 +0000 (01:56 +0700)]
Fix RectLayer text input

4 years agoMerge pull request #997 from tsoding/846
Alexey Kutepov [Sat, 3 Aug 2019 18:44:36 +0000 (01:44 +0700)]
Merge pull request #997 from tsoding/846

 (#846) Implement better zooming

4 years ago(#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.

4 years ago(#846) Initialize camera_scale
rexim [Sat, 3 Aug 2019 17:37:19 +0000 (00:37 +0700)]
(#846) Initialize camera_scale

4 years agoMerge pull request #996 from tsoding/856
Alexey Kutepov [Sat, 3 Aug 2019 17:35:40 +0000 (00:35 +0700)]
Merge pull request #996 from tsoding/856

 (#856) Prevent S leakage

4 years ago(#856) Prevent S leakage
rexim [Sat, 3 Aug 2019 16:51:16 +0000 (23:51 +0700)]
(#856) Prevent S leakage

4 years agoRemove TODO(#985)
rexim [Sat, 3 Aug 2019 16:32:21 +0000 (23:32 +0700)]
Remove TODO(#985)

4 years agoRemove TODO(#855)
rexim [Sat, 3 Aug 2019 16:32:21 +0000 (23:32 +0700)]
Remove TODO(#855)

4 years agoRemove TODO(#963)
rexim [Sat, 3 Aug 2019 16:32:21 +0000 (23:32 +0700)]
Remove TODO(#963)

4 years agoRemove TODO(#964)
rexim [Sat, 3 Aug 2019 16:32:21 +0000 (23:32 +0700)]
Remove TODO(#964)

4 years agoRemove TODO(#903)
rexim [Sat, 3 Aug 2019 16:32:21 +0000 (23:32 +0700)]
Remove TODO(#903)

4 years agoAdd Tsoding badge
rexim [Sat, 3 Aug 2019 14:59:07 +0000 (21:59 +0700)]
Add Tsoding badge

4 years agoMerge pull request #993 from tsoding/903
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

4 years agoAdd TODO(#994)
rexim [Mon, 29 Jul 2019 20:54:17 +0000 (03:54 +0700)]
Add TODO(#994)

4 years ago(#903) Center LevelEditor notice
rexim [Mon, 29 Jul 2019 20:51:37 +0000 (03:51 +0700)]
(#903) Center LevelEditor notice

4 years ago(#903) don't store position in WiggleText
rexim [Mon, 29 Jul 2019 20:20:17 +0000 (03:20 +0700)]
(#903) don't store position in WiggleText

4 years ago(#903) Show the "Level saved" notice when the level is being saved
rexim [Mon, 29 Jul 2019 18:15:47 +0000 (01:15 +0700)]
(#903) Show the "Level saved" notice when the level is being saved

4 years ago(#903) Introduce test notice
rexim [Mon, 29 Jul 2019 18:05:58 +0000 (01:05 +0700)]
(#903) Introduce test notice

4 years ago(#903) Make color of wiggly_text customizable
rexim [Sun, 28 Jul 2019 20:10:46 +0000 (03:10 +0700)]
(#903) Make color of wiggly_text customizable

4 years ago(#903) font_scale -> scale
rexim [Sun, 28 Jul 2019 20:05:22 +0000 (03:05 +0700)]
(#903) font_scale -> scale

4 years ago(#903) Introduce FadingWigglyText
rexim [Sun, 28 Jul 2019 20:04:00 +0000 (03:04 +0700)]
(#903) Introduce FadingWigglyText

4 years ago(#903) MenuTitle -> WigglyText
rexim [Sun, 28 Jul 2019 19:48:18 +0000 (02:48 +0700)]
(#903) MenuTitle -> WigglyText

4 years ago(#903) Make menu title transparent
rexim [Sun, 28 Jul 2019 19:42:37 +0000 (02:42 +0700)]
(#903) Make menu title transparent

4 years ago(#903) Decouple MenuTitle from Sprite_font
rexim [Sun, 28 Jul 2019 19:24:16 +0000 (02:24 +0700)]
(#903) Decouple MenuTitle from Sprite_font

4 years agoMerge pull request #992 from tsoding/990
Alexey Kutepov [Sun, 28 Jul 2019 18:54:39 +0000 (01:54 +0700)]
Merge pull request #992 from tsoding/990

(#990) Implement changing color

4 years ago(#990) Implement changing color for PointLayer
rexim [Sun, 28 Jul 2019 18:24:44 +0000 (01:24 +0700)]
(#990) Implement changing color for PointLayer

4 years ago(#990) Implement changing color for RectLayer
rexim [Sun, 28 Jul 2019 18:18:09 +0000 (01:18 +0700)]
(#990) Implement changing color for RectLayer

4 years agoMerge pull request #991 from tsoding/player-layer-finish-off
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

4 years agoMerge pull request #989 from bepzi/988
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

4 years ago(#988) Kill to end of line instead of the entire line
bepzi [Sun, 28 Jul 2019 17:39:29 +0000 (12:39 -0500)]
(#988) Kill to end of line instead of the entire line

4 years agoFix PlayerLayer click-through problem
rexim [Sun, 28 Jul 2019 17:33:02 +0000 (00:33 +0700)]
Fix PlayerLayer click-through problem

4 years agoSplit LevelEditor event handling
rexim [Sun, 28 Jul 2019 17:26:04 +0000 (00:26 +0700)]
Split LevelEditor event handling

4 years agoLEVEL_EDITOR_EDITING -> LEVEL_EDITOR_IDLE
rexim [Sun, 28 Jul 2019 17:20:04 +0000 (00:20 +0700)]
LEVEL_EDITOR_EDITING -> LEVEL_EDITOR_IDLE

4 years ago(#988) Implement C-k to kill the current line
bepzi [Sun, 28 Jul 2019 17:17:35 +0000 (12:17 -0500)]
(#988) Implement C-k to kill the current line

4 years agoMake player visible even when PlayerLayer is not active
rexim [Sun, 28 Jul 2019 16:52:54 +0000 (23:52 +0700)]
Make player visible even when PlayerLayer is not active

4 years agoRemove player_layer dtor
rexim [Sun, 28 Jul 2019 16:52:43 +0000 (23:52 +0700)]
Remove player_layer dtor

4 years agoGet rid of Lt from PlayerLayer
rexim [Sun, 28 Jul 2019 16:46:44 +0000 (23:46 +0700)]
Get rid of Lt from PlayerLayer

4 years agoMerge pull request #978 from bepzi/355
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`

4 years agoMerge pull request #987 from tsoding/985
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

4 years ago(#985) Implement POINT_LAYER_MOVE
rexim [Sat, 27 Jul 2019 19:35:28 +0000 (02:35 +0700)]
(#985) Implement POINT_LAYER_MOVE

4 years agoMerge pull request #986 from tsoding/855
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

4 years ago(#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

4 years agoMerge pull request #984 from tsoding/854
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

4 years agoAdd TODO(#985)
rexim [Sat, 27 Jul 2019 18:19:04 +0000 (01:19 +0700)]
Add TODO(#985)

4 years ago(#854) points -> positions
rexim [Sat, 27 Jul 2019 18:17:46 +0000 (01:17 +0700)]
(#854) points -> positions

4 years ago(#864) Don't render point id in id editing state
rexim [Sat, 27 Jul 2019 18:10:05 +0000 (01:10 +0700)]
(#864) Don't render point id in id editing state

4 years ago(#854) Display ids of selected point in PointLayer
rexim [Sat, 27 Jul 2019 18:05:10 +0000 (01:05 +0700)]
(#854) Display ids of selected point in PointLayer

4 years agoMerge pull request #979 from tsoding/963
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

4 years agoAdd TODO(#983)
rexim [Sat, 27 Jul 2019 17:51:26 +0000 (00:51 +0700)]
Add TODO(#983)

4 years agoAdd TODO(#982)
rexim [Sat, 27 Jul 2019 17:51:25 +0000 (00:51 +0700)]
Add TODO(#982)

4 years agoAdd TODO(#981)
rexim [Sat, 27 Jul 2019 17:51:24 +0000 (00:51 +0700)]
Add TODO(#981)

4 years agoAdd TODO(#980)
rexim [Sat, 27 Jul 2019 17:51:24 +0000 (00:51 +0700)]
Add TODO(#980)

4 years ago(#963) Handle changed ColorPicker properly
rexim [Sat, 27 Jul 2019 17:48:41 +0000 (00:48 +0700)]
(#963) Handle changed ColorPicker properly

4 years ago(#963) More details for a TODO
rexim [Sat, 27 Jul 2019 17:45:11 +0000 (00:45 +0700)]
(#963) More details for a TODO

4 years ago(#963) Deselect label after deleting it.
rexim [Sat, 27 Jul 2019 17:36:56 +0000 (00:36 +0700)]
(#963) Deselect label after deleting it.

4 years ago(#963) make label_layer_element_at include id into bound checking
rexim [Sat, 27 Jul 2019 17:34:05 +0000 (00:34 +0700)]
(#963) make label_layer_element_at include id into bound checking

4 years ago(#963) Implement edit cancelling for id editing
rexim [Sat, 27 Jul 2019 17:24:46 +0000 (00:24 +0700)]
(#963) Implement edit cancelling for id editing

4 years ago(#963) Implement Edit Text cancelling for LabelLayer
rexim [Sat, 27 Jul 2019 17:12:15 +0000 (00:12 +0700)]
(#963) Implement Edit Text cancelling for LabelLayer

4 years ago(#963) Implement adding labels
rexim [Sat, 27 Jul 2019 17:06:27 +0000 (00:06 +0700)]
(#963) Implement adding labels

4 years ago(#963) Don't render edit_field on non-selected labels
rexim [Sat, 27 Jul 2019 17:06:05 +0000 (00:06 +0700)]
(#963) Don't render edit_field on non-selected labels

4 years ago(#963) Implement dynarray_push_empty
rexim [Sat, 27 Jul 2019 17:05:26 +0000 (00:05 +0700)]
(#963) Implement dynarray_push_empty

4 years agoMerge pull request #977 from tsoding/976
Alexey Kutepov [Sat, 27 Jul 2019 14:04:20 +0000 (21:04 +0700)]
Merge pull request #977 from tsoding/976

(#976) Impelent Label deletion

4 years ago(#355) Generify deleting words/characters with memmove
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.

4 years ago(#355) Use `memmove` for character insertions and deletions
bepzi [Mon, 22 Jul 2019 22:42:27 +0000 (17:42 -0500)]
(#355) Use `memmove` for character insertions and deletions

4 years ago(#355) Use curly braces around `switch` cases, remove macro
bepzi [Mon, 22 Jul 2019 22:40:45 +0000 (17:40 -0500)]
(#355) Use curly braces around `switch` cases, remove macro

4 years ago(#355) Implement C-p and C-n for moving through history
bepzi [Sun, 21 Jul 2019 23:40:14 +0000 (18:40 -0500)]
(#355) Implement C-p and C-n for moving through history

4 years ago(#355) Add common Emacs keybindings to `Edit_field`
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.

4 years ago(#976) Impelent Label deletion
rexim [Sun, 21 Jul 2019 19:27:00 +0000 (02:27 +0700)]
(#976) Impelent Label deletion

4 years agoMerge pull request #975 from tsoding/964
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

4 years agoMerge pull request #973 from zhiayang/master
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`

4 years ago(#964) Make Label Layer selection include the id
rexim [Sun, 21 Jul 2019 19:03:52 +0000 (02:03 +0700)]
(#964) Make Label Layer selection include the id

4 years ago(#964) Implement Edit ID state for Label Layer
rexim [Sun, 21 Jul 2019 18:46:43 +0000 (01:46 +0700)]
(#964) Implement Edit ID state for Label Layer

4 years ago(#964) Implement Edit_field style customization
rexim [Sun, 21 Jul 2019 18:46:24 +0000 (01:46 +0700)]
(#964) Implement Edit_field style customization

4 years ago(#964) Add more fonts
rexim [Sun, 21 Jul 2019 18:33:39 +0000 (01:33 +0700)]
(#964) Add more fonts

4 years ago(#964) Make LabelLayer display the ids
rexim [Sun, 21 Jul 2019 18:02:08 +0000 (01:02 +0700)]
(#964) Make LabelLayer display the ids

4 years agoadd home and end key support to edit_field
zhiayang [Sun, 21 Jul 2019 18:17:35 +0000 (02:17 +0800)]
add home and end key support to edit_field

4 years agoMerge pull request #970 from TheKnarf/fix/trying-to-get-travis-mac-working
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

4 years agoMerge pull request #972 from tsoding/965
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

4 years ago(#909) Testing without -DSDL2_INCLUDE_DIR
Frank Lyder Bredland [Sun, 21 Jul 2019 17:52:11 +0000 (19:52 +0200)]
(#909) Testing without -DSDL2_INCLUDE_DIR

4 years ago(#965) Make LabelLayer render edit_field inside of the world
rexim [Sun, 21 Jul 2019 17:47:42 +0000 (00:47 +0700)]
(#965) Make LabelLayer render edit_field inside of the world

4 years ago(#965) edit_field_render -> edit_field_render_screen
rexim [Sun, 21 Jul 2019 17:44:09 +0000 (00:44 +0700)]
(#965) edit_field_render -> edit_field_render_screen

4 years agoMerge pull request #971 from tsoding/966
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

4 years ago(#909) Trying to update Homebrew packages
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.

4 years ago(#909) Debugging broken CI
Frank Lyder Bredland [Sun, 21 Jul 2019 17:28:13 +0000 (19:28 +0200)]
(#909) Debugging broken CI

4 years agoMerge pull request #969 from TheKnarf/fix/title-screen-size
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

4 years ago(#966) Improve edit_field interface
rexim [Sun, 21 Jul 2019 17:20:44 +0000 (00:20 +0700)]
(#966) Improve edit_field interface

4 years ago(#909) Trying to get Travis build working
Frank Lyder Bredland [Sun, 21 Jul 2019 17:20:24 +0000 (19:20 +0200)]
(#909) Trying to get Travis build working

4 years ago(#967) Fix for title screen looking weird without resizing
Frank Lyder Bredland [Sun, 21 Jul 2019 17:09:03 +0000 (19:09 +0200)]
(#967) Fix for title screen looking weird without resizing

4 years agoMerge pull request #962 from tsoding/892
Alexey Kutepov [Sun, 21 Jul 2019 11:55:54 +0000 (18:55 +0700)]
Merge pull request #962 from tsoding/892

(#892) Label Layer enhancements

4 years agoAdd TODO(#966)
rexim [Sat, 20 Jul 2019 19:54:35 +0000 (02:54 +0700)]
Add TODO(#966)

4 years agoAdd TODO(#965)
rexim [Sat, 20 Jul 2019 19:54:35 +0000 (02:54 +0700)]
Add TODO(#965)

4 years agoAdd TODO(#964)
rexim [Sat, 20 Jul 2019 19:54:34 +0000 (02:54 +0700)]
Add TODO(#964)

4 years agoAdd TODO(#963)
rexim [Sat, 20 Jul 2019 19:54:33 +0000 (02:54 +0700)]
Add TODO(#963)

4 years ago(#892) Introduce Edit Text state for Label Layer
rexim [Sat, 20 Jul 2019 19:53:06 +0000 (02:53 +0700)]
(#892) Introduce Edit Text state for Label Layer

4 years ago(#892) Remove refactoring leftovers
rexim [Sat, 20 Jul 2019 19:33:17 +0000 (02:33 +0700)]
(#892) Remove refactoring leftovers

4 years ago(#892) Store label's texts continuously
rexim [Sat, 20 Jul 2019 19:22:48 +0000 (02:22 +0700)]
(#892) Store label's texts continuously