about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* clean upKartik K. Agaram2022-06-173-30/+0
|
* more precise shape selectionKartik K. Agaram2022-06-172-7/+35
| | | | | | | It's important that the error be additive rather than multiplicative, otherwise the area grows asymmetrically along a line. Hopefully freehand drawings will work more intuitively now.
* correct commit f3abc2cbf2Kartik K. Agaram2022-06-173-10/+48
| | | | | | I can't be trusted to do anything without a test. This should fix #5. Please reopen if it doesn't.
* drop last couple of manual testsKartik K. Agaram2022-06-173-13/+32
|
* manual test for adjusting line widthKartik K. Agaram2022-06-171-0/+6
|
* .Kartik K. Agaram2022-06-171-1/+1
|
* better handle moving pointsKartik K. Agaram2022-06-172-15/+5
| | | | | This should hopefully address #5. I'm removing some constraints from manhattan lines, rectangles and squares.
* affordance to adjust width for word wrapKartik K. Agaram2022-06-172-1/+43
|
* indentKartik K. Agaram2022-06-171-4/+4
|
* autosave slightly less aggressivelyKartik K. Agaram2022-06-174-18/+72
| | | | | | | | It might reduce wear and tear on disk, and losing 3 seconds of data doesn't feel catastrophic (short of a C-z rampage). Thanks to the love2d.org community for the suggestion: https://love2d.org/forums/viewtopic.php?f=14&t=93173
* document one more shortcutKartik K. Agaram2022-06-171-0/+1
|
* tweak to ReadmeKartik K. Agaram2022-06-151-2/+2
|
* new fork for #1Kartik K. Agaram2022-06-151-0/+4
|
* bugfix: alignment of help screenKartik K. Agaram2022-06-151-33/+33
|
* dead codeKartik K. Agaram2022-06-151-45/+0
|
* moveKartik K. Agaram2022-06-151-28/+28
|
* .Kartik K. Agaram2022-06-151-6/+3
|
* stop recording points for arcsKartik K. Agaram2022-06-152-2/+1
| | | | | | It was kinda weird that we were recording the start but not the end. And moving the start point didn't actually affect the arc. Let's see if we actually ever need it.
* move current mode indicator slightlyKartik K. Agaram2022-06-151-2/+2
|
* standardize on ordering of casesKartik K. Agaram2022-06-151-9/+9
|
* .Kartik K. Agaram2022-06-141-3/+3
|
* all pending manual tests done!Kartik K. Agaram2022-06-142-7/+39
|
* test: undo moving pointKartik K. Agaram2022-06-142-1/+47
|
* test: undo naming a pointKartik K. Agaram2022-06-143-1/+45
| | | | Also ensure we autosave.
* test: autosave after name/move/delete of pointKartik K. Agaram2022-06-142-3/+22
|
* test: autosave after any shapeKartik K. Agaram2022-06-144-4/+43
|
* tests: deleting points/shapesKartik K. Agaram2022-06-141-1/+105
|
* test: moving a pointKartik K. Agaram2022-06-143-16/+44
| | | | | I found some code in the process that seems unreachable. Some chance of a regression here..
* test: naming a pointKartik K. Agaram2022-06-143-2/+39
|
* a little more prose describing manual_testsKartik K. Agaram2022-06-142-23/+30
|
* one less manual testKartik K. Agaram2022-06-141-1/+0
| | | | Still a few more we can write.
* drop non-existent feature from commentKartik K. Agaram2022-06-141-1/+0
|
* tests for drawing polygonsKartik K. Agaram2022-06-142-11/+180
|
* more drawing testsKartik K. Agaram2022-06-142-1/+133
|
* start writing some tests for drawingsKartik K. Agaram2022-06-142-1/+33
|
* .Kartik K. Agaram2022-06-141-2/+2
|
* extract variables for drawing paddingKartik K. Agaram2022-06-143-6/+10
|
* extract variable Margin_leftKartik K. Agaram2022-06-144-86/+81
|
* .Kartik K. Agaram2022-06-141-1/+0
|
* stop generating invalid keychordsKartik K. Agaram2022-06-141-0/+1
|
* some more manual tests related to drawingsKartik K. Agaram2022-06-141-0/+5
| | | | | In the process I notice an issue: we seem to be adding no-op undo records after every drawing operation.
* lots more testsKartik K. Agaram2022-06-142-32/+65
| | | | | | | I've been adding diligently to manual_tests but not actually _performing_ any manual tests before releases. They were just a todo list of automated tests to write, and long out of date. Now the list is up to date and much shorter.
* mouse buttons are integers, not stringsKartik K. Agaram2022-06-145-45/+45
| | | | | | Not sure where that idiom comes from or why strings work in some places (auto-coercion?). I picked it up off some example apps. But https://love2d.org/wiki/love.mouse.isDown says it should be an integer.
* answered an open questionKartik K. Agaram2022-06-141-1/+0
| | | | | The default font seems somehow different than the font created by newFont with just a font size.
* go through and fix similar issuesKartik K. Agaram2022-06-142-6/+19
| | | | All places where string.sub was being passed a _pos variable.
* cleanupKartik K. Agaram2022-06-141-6/+0
|
* bugfixKartik K. Agaram2022-06-143-4/+46
| | | | | | | | | | | | | | | | | | | | | | | manifestation: clicking past end of a long, wrapping line containing non-ASCII would cause the cursor to disappear rather than position past end of screen line. Hitting enter would then throw an assertion with the following stack trace: Error: text.lua:381: bad argument #2 to 'sub' (number expected, got nil) stack traceback: [love "boot.lua"]:345: in function <[love "boot.lua"]:341> [C]: in function 'sub' text.lua:381: in function 'insert_return' text.lua:179: in function 'keychord_pressed' main.lua:495: in function 'keychord_pressed' keychord.lua:10: in function <keychord.lua:5> app.lua:34: in function <app.lua:25> [C]: in function 'xpcall' cause: the click caused a call to Text.to_pos_on_line whose result was not on a UTF-8 character boundary. fix: make to_pos_on_line utf8-aware.
* bugfix: UTF-8 in compute_fragmentsKartik K. Agaram2022-06-143-5/+27
|
* .Kartik K. Agaram2022-06-141-2/+2
|
* new testKartik K. Agaram2022-06-122-0/+26
| | | | | For commit e4e12c77ad which fixed a regression caused by commit 24a0d162ef.
itle='author Araq <rumpf_a@web.de> 2019-04-16 10:34:47 +0200 committer Araq <rumpf_a@web.de> 2019-04-16 10:35:43 +0200 injectdestructors.nim: code cleanups' href='/ahoang/Nim/commit/compiler/injectdestructors.nim?h=devel&id=a520eb77662e5c0e06089e014ce4c118bfd5287b'>a520eb776 ^
045e026d0 ^
a520eb776 ^
045e026d0 ^
a520eb776 ^
1b0372c6e ^





fcca59e41 ^
1b0372c6e ^





1b0372c6e ^


















fcca59e41 ^
1b0372c6e ^

fcca59e41 ^
f8bf24623 ^



































91981c07b ^
ec253ada7 ^

962b2e4b3 ^
7d82df20b ^
962b2e4b3 ^


40e01d854 ^





fcca59e41 ^


b2898cd25 ^
bf592c4e9 ^


40e01d854 ^

16d82c82e ^



750f50b6c ^


a394d3174 ^





750f50b6c ^
fa92c519a ^
750f50b6c ^
e3a668a33 ^
fa92c519a ^
750f50b6c ^
dee8e6e98 ^
750f50b6c ^
16d82c82e ^


fa92c519a ^
40e01d854 ^
e4081a720 ^
750f50b6c ^



bf592c4e9 ^



663b1f2c9 ^
ec253ada7 ^
40e01d854 ^
5b1a2eecd ^

e4081a720 ^
750f50b6c ^
ec253ada7 ^
2846156e1 ^

750f50b6c ^
2846156e1 ^
fedc13698 ^
e4081a720 ^
750f50b6c ^
ec253ada7 ^
a2e4ab2e4 ^
2a7fc84c8 ^
a2e4ab2e4 ^
69347f6c9 ^




9de05ec3e ^
a2e4ab2e4 ^





32afdc09c ^




948c625f9 ^



f8bf24623 ^




948c625f9 ^




















e3a668a33 ^
dc935f2b4 ^
d22fa0900 ^
dc935f2b4 ^

ae24b8721 ^
0803b532f ^


a34ce2714 ^


0803b532f ^



7d82df20b ^



0803b532f ^


9bba79053 ^
0803b532f ^
72408842d ^
e90f70af4 ^
72408842d ^

69347f6c9 ^
e90f70af4 ^
0803b532f ^


fcca59e41 ^




b2898cd25 ^
6e6a9a721 ^
0803b532f ^

ae24b8721 ^


dc935f2b4 ^
ae24b8721 ^
ae24b8721 ^


948c625f9 ^
43c70a6b1 ^








4b31d7bb8 ^



e3a668a33 ^
4b31d7bb8 ^
e90f70af4 ^
4b31d7bb8 ^
e90f70af4 ^
4b31d7bb8 ^







e90f70af4 ^
4b31d7bb8 ^
e3a668a33 ^
4b31d7bb8 ^
e90f70af4 ^
4b31d7bb8 ^
e3a668a33 ^
e90f70af4 ^
e3a668a33 ^
045e026d0 ^

0803b532f ^







e33266ded ^




22445867d ^
e90f70af4 ^
22445867d ^

e90f70af4 ^

6459d4ec7 ^







b2898cd25 ^
6459d4ec7 ^



e3a668a33 ^
962b2e4b3 ^
a394d3174 ^





6459d4ec7 ^

a394d3174 ^
6459d4ec7 ^















962b2e4b3 ^
6459d4ec7 ^










e3a668a33 ^
6459d4ec7 ^


e3a668a33 ^
6459d4ec7 ^

ca473d0f9 ^

938d3ffad ^
ca473d0f9 ^




938d3ffad ^
6459d4ec7 ^
938d3ffad ^
6459d4ec7 ^



938d3ffad ^

a2ad06976 ^
938d3ffad ^
6459d4ec7 ^




938d3ffad ^
4b31d7bb8 ^
6459d4ec7 ^
938d3ffad ^
663b1f2c9 ^


6459d4ec7 ^
ae24b8721 ^

dc935f2b4 ^
ae24b8721 ^

32ad3bb23 ^
2846156e1 ^
6459d4ec7 ^
0fdd7629b ^

32ad3bb23 ^
0803b532f ^


6e6a9a721 ^
e33266ded ^
6e6a9a721 ^








e33266ded ^









6459d4ec7 ^
045e026d0 ^








0803b532f ^
f8bf24623 ^































a2e4ab2e4 ^
91981c07b ^


a2e4ab2e4 ^
ec253ada7 ^


efeee326f ^

ec253ada7 ^
fedc13698 ^
a2e4ab2e4 ^
f8bf24623 ^
efeee326f ^
ec253ada7 ^
a2ad06976 ^








ec253ada7 ^



efeee326f ^
ec253ada7 ^
a2e4ab2e4 ^
ec253ada7 ^
a2e4ab2e4 ^
91981c07b ^
542618da7 ^
455dd3613 ^

b2898cd25 ^
455dd3613 ^
91981c07b ^
a2e4ab2e4 ^
9de05ec3e ^
40e01d854 ^
455dd3613 ^

9de05ec3e ^
0fdd7629b ^
ec253ada7 ^
455dd3613 ^
91981c07b ^
a0c5260c2 ^
a2e4ab2e4 ^
ec253ada7 ^
a2e4ab2e4 ^

8b7f416c3 ^
a2e4ab2e4 ^

d83520ec8 ^





72408842d ^



32ad3bb23 ^
fdc3f54f9 ^
2846156e1 ^










32ad3bb23 ^


91981c07b ^
a2e4ab2e4 ^

ec253ada7 ^
fedc13698 ^
6e6a9a721 ^
ec253ada7 ^

0fdd7629b ^
e5b9d89bc ^
fedc13698 ^
2a7fc84c8 ^
91981c07b ^
ec253ada7 ^




045e026d0 ^


9de05ec3e ^



b2898cd25 ^
0fdd7629b ^

ed878014b ^

a2e4ab2e4 ^
ec253ada7 ^



0fdd7629b ^
ec253ada7 ^
a2e4ab2e4 ^

045e026d0 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818