colloquium.git
5 days agoClarify string length master
Thomas White [Fri, 11 Oct 2019 20:34:16 +0000 (22:34 +0200)]
Clarify string length

5 days agoImplement text deletion and paragraph splitting in slide text boxes
Thomas White [Fri, 11 Oct 2019 20:33:27 +0000 (22:33 +0200)]
Implement text deletion and paragraph splitting in slide text boxes

5 days agogtknv_end_offset_of_para: Add missing initialisation
Thomas White [Fri, 11 Oct 2019 20:32:39 +0000 (22:32 +0200)]
gtknv_end_offset_of_para: Add missing initialisation

6 days agoRestore slide text insertion
Thomas White [Thu, 10 Oct 2019 20:34:10 +0000 (22:34 +0200)]
Restore slide text insertion

6 days agoFix gtksv_end_offset_of_para for runs
Thomas White [Thu, 10 Oct 2019 20:33:58 +0000 (22:33 +0200)]
Fix gtksv_end_offset_of_para for runs

6 days agoTake paraspace into account in cursor calculations
Thomas White [Thu, 10 Oct 2019 19:52:21 +0000 (21:52 +0200)]
Take paraspace into account in cursor calculations

6 days agoKeep 'run' out of struct slide_pos
Thomas White [Thu, 10 Oct 2019 18:33:59 +0000 (20:33 +0200)]
Keep 'run' out of struct slide_pos

6 days agoWhitespace fussiness
Thomas White [Thu, 10 Oct 2019 15:39:18 +0000 (17:39 +0200)]
Whitespace fussiness

6 days agoMake symbol names unique across all files
Thomas White [Thu, 10 Oct 2019 15:38:23 +0000 (17:38 +0200)]
Make symbol names unique across all files

Enables Meson unity builds, helps ctags work, and reduces space for bugs

11 days agoRemove old test lines from demo.sc
Thomas White [Sat, 5 Oct 2019 15:05:46 +0000 (17:05 +0200)]
Remove old test lines from demo.sc

11 days agoFix narrative_pos_trail_to_offset for runs (use which_run) narrative_runs
Thomas White [Sat, 5 Oct 2019 14:56:28 +0000 (16:56 +0200)]
Fix narrative_pos_trail_to_offset for runs (use which_run)

11 days agoRestore text deletion in narrative
Thomas White [Sat, 5 Oct 2019 14:11:26 +0000 (16:11 +0200)]
Restore text deletion in narrative

11 days agonarrative_pos_trail_to_offset: Consider end of run as within run
Thomas White [Sat, 5 Oct 2019 07:59:17 +0000 (09:59 +0200)]
narrative_pos_trail_to_offset: Consider end of run as within run

11 days agoRemove variable which was only used once
Thomas White [Sat, 5 Oct 2019 07:59:00 +0000 (09:59 +0200)]
Remove variable which was only used once

11 days agoRestore paragraph splitting
Thomas White [Sat, 5 Oct 2019 07:58:38 +0000 (09:58 +0200)]
Restore paragraph splitting

11 days agoImplement which_run()
Thomas White [Fri, 4 Oct 2019 19:34:41 +0000 (21:34 +0200)]
Implement which_run()

11 days agoFix run determination when inserting text
Thomas White [Thu, 3 Oct 2019 20:20:05 +0000 (22:20 +0200)]
Fix run determination when inserting text

11 days agoClean up stylesheet parser a bit
Thomas White [Thu, 3 Oct 2019 20:07:52 +0000 (22:07 +0200)]
Clean up stylesheet parser a bit

11 days agoUse characters instead of SQOPEN/SQCLOSE
Thomas White [Thu, 3 Oct 2019 16:17:44 +0000 (18:17 +0200)]
Use characters instead of SQOPEN/SQCLOSE

11 days agoGet rid of spctx completely
Thomas White [Thu, 3 Oct 2019 14:47:38 +0000 (16:47 +0200)]
Get rid of spctx completely

11 days agoSlides should not add themselves to the narrative
Thomas White [Wed, 2 Oct 2019 17:03:54 +0000 (19:03 +0200)]
Slides should not add themselves to the narrative

11 days agoAdd missing default
Thomas White [Wed, 2 Oct 2019 16:41:42 +0000 (18:41 +0200)]
Add missing default

11 days agonarrative_debug: Show slide details
Thomas White [Wed, 2 Oct 2019 16:41:31 +0000 (18:41 +0200)]
narrative_debug: Show slide details

11 days agoGet slide out of parser context
Thomas White [Wed, 2 Oct 2019 16:41:13 +0000 (18:41 +0200)]
Get slide out of parser context

11 days agoHandle ':\n' (no space after colon)
Thomas White [Wed, 2 Oct 2019 07:46:17 +0000 (09:46 +0200)]
Handle ':\n' (no space after colon)

11 days agoFormatting fussiness
Thomas White [Wed, 2 Oct 2019 07:14:36 +0000 (09:14 +0200)]
Formatting fussiness

11 days agowrite_item: Use write_para
Thomas White [Tue, 1 Oct 2019 18:20:50 +0000 (20:20 +0200)]
write_item: Use write_para

11 days agoFormatting
Thomas White [Tue, 1 Oct 2019 18:20:40 +0000 (20:20 +0200)]
Formatting

11 days agowrite_para: Escape special chars in the run text
Thomas White [Tue, 1 Oct 2019 18:20:18 +0000 (20:20 +0200)]
write_para: Escape special chars in the run text

11 days agoAdd missing initialisation
Thomas White [Mon, 30 Sep 2019 20:26:40 +0000 (22:26 +0200)]
Add missing initialisation

11 days agoFix function calls
Thomas White [Mon, 30 Sep 2019 20:26:32 +0000 (22:26 +0200)]
Fix function calls

11 days agoConcatenate multiple RUN_TEXTs within emphasis blocks
Thomas White [Mon, 30 Sep 2019 20:15:40 +0000 (22:15 +0200)]
Concatenate multiple RUN_TEXTs within emphasis blocks

11 days agoRemove debug
Thomas White [Mon, 30 Sep 2019 19:21:11 +0000 (21:21 +0200)]
Remove debug

11 days agoAdd FIXMEs
Thomas White [Mon, 30 Sep 2019 19:21:04 +0000 (21:21 +0200)]
Add FIXMEs

11 days agoParse emphasis blocks in Bison
Thomas White [Fri, 20 Sep 2019 15:12:29 +0000 (17:12 +0200)]
Parse emphasis blocks in Bison

4 weeks agoUpdate demo doc
Thomas White [Mon, 16 Sep 2019 21:13:51 +0000 (23:13 +0200)]
Update demo doc

4 weeks agoParser fixes
Thomas White [Mon, 16 Sep 2019 21:13:26 +0000 (23:13 +0200)]
Parser fixes

4 weeks agoHandle *bold* in parser, rather than as a separate stage
Thomas White [Sat, 14 Sep 2019 21:45:38 +0000 (23:45 +0200)]
Handle *bold* in parser, rather than as a separate stage

7 weeks agoFix *bold* etc
Thomas White [Sun, 25 Aug 2019 20:30:08 +0000 (22:30 +0200)]
Fix *bold* etc

8 weeks agoHandle *bold*, /italic/ etc
Thomas White [Sun, 18 Aug 2019 20:38:13 +0000 (22:38 +0200)]
Handle *bold*, /italic/ etc

2 months agoFix crash when adding an image with a frame already selected
Thomas White [Tue, 13 Aug 2019 19:44:23 +0000 (21:44 +0200)]
Fix crash when adding an image with a frame already selected

2 months agoRemove old code
Thomas White [Fri, 10 May 2019 21:37:06 +0000 (23:37 +0200)]
Remove old code

2 months agoImplement end of presentation marker
Thomas White [Fri, 10 May 2019 21:32:22 +0000 (23:32 +0200)]
Implement end of presentation marker

4 months agoFix paragraph splitting logic
Thomas White [Fri, 24 May 2019 18:33:03 +0000 (20:33 +0200)]
Fix paragraph splitting logic

5 months agoAdd end of presentation marker
Thomas White [Thu, 9 May 2019 22:09:27 +0000 (00:09 +0200)]
Add end of presentation marker

5 months agoClean up narrative item size arithmetic
Thomas White [Thu, 9 May 2019 22:08:38 +0000 (00:08 +0200)]
Clean up narrative item size arithmetic

5 months agoBeautify cursor and selection highlight for slides
Thomas White [Tue, 7 May 2019 16:23:59 +0000 (18:23 +0200)]
Beautify cursor and selection highlight for slides

5 months agoFussiness
Thomas White [Tue, 7 May 2019 16:23:42 +0000 (18:23 +0200)]
Fussiness

5 months agoFix deletion logic
Thomas White [Sat, 4 May 2019 08:02:08 +0000 (10:02 +0200)]
Fix deletion logic

5 months agoImprove behaviour of paragraph splitting (when inserting a slide)
Thomas White [Fri, 3 May 2019 21:07:03 +0000 (23:07 +0200)]
Improve behaviour of paragraph splitting (when inserting a slide)

5 months agoFix crashes caused by toolbar paragraph motion buttons
Thomas White [Fri, 3 May 2019 20:06:56 +0000 (22:06 +0200)]
Fix crashes caused by toolbar paragraph motion buttons

5 months agoRename README to README.md, and bring it up to date
Thomas White [Thu, 2 May 2019 21:24:00 +0000 (23:24 +0200)]
Rename README to README.md, and bring it up to date

5 months agoImplement deletion of items
Thomas White [Thu, 2 May 2019 21:00:03 +0000 (23:00 +0200)]
Implement deletion of items

5 months agoAdd slide_delete_item()
Thomas White [Thu, 2 May 2019 20:59:36 +0000 (22:59 +0200)]
Add slide_delete_item()

5 months agoAdd missing get_type
Thomas White [Thu, 2 May 2019 20:59:10 +0000 (22:59 +0200)]
Add missing get_type

5 months agoImplement Insert->Image
Thomas White [Thu, 2 May 2019 20:45:32 +0000 (22:45 +0200)]
Implement Insert->Image

5 months agoImplement "revert" button for stylesheet editor
Thomas White [Thu, 2 May 2019 19:29:40 +0000 (21:29 +0200)]
Implement "revert" button for stylesheet editor

5 months agoFormatting
Thomas White [Thu, 2 May 2019 19:29:01 +0000 (21:29 +0200)]
Formatting

5 months agoAccept a stylesheet (alone) as a Storycode document
Thomas White [Thu, 2 May 2019 19:28:49 +0000 (21:28 +0200)]
Accept a stylesheet (alone) as a Storycode document

5 months agoFree stylesheets properly
Thomas White [Thu, 2 May 2019 19:28:38 +0000 (21:28 +0200)]
Free stylesheets properly

5 months agoDelete blank paragraph from demo doc
Thomas White [Wed, 1 May 2019 15:01:01 +0000 (17:01 +0200)]
Delete blank paragraph from demo doc

It's OK, we know it works now...

5 months agoRemove old tests
Thomas White [Wed, 1 May 2019 14:25:59 +0000 (16:25 +0200)]
Remove old tests

5 months agoRedraw window after printing
Thomas White [Wed, 1 May 2019 14:15:13 +0000 (16:15 +0200)]
Redraw window after printing

5 months agoUpdate demo doc, as saved by latest version
Thomas White [Wed, 1 May 2019 14:08:22 +0000 (16:08 +0200)]
Update demo doc, as saved by latest version

5 months agoAdd style for footer
Thomas White [Wed, 1 May 2019 13:59:10 +0000 (15:59 +0200)]
Add style for footer

5 months agoClose slide windows when closing narrative
Thomas White [Wed, 1 May 2019 13:54:29 +0000 (15:54 +0200)]
Close slide windows when closing narrative

5 months agoRemove slide windows from narrative window's record when they are closed
Thomas White [Wed, 1 May 2019 13:47:19 +0000 (15:47 +0200)]
Remove slide windows from narrative window's record when they are closed

5 months agoSet title bar of slide window properly
Thomas White [Wed, 1 May 2019 13:29:52 +0000 (15:29 +0200)]
Set title bar of slide window properly

5 months agoMove declarations
Thomas White [Wed, 1 May 2019 12:13:45 +0000 (14:13 +0200)]
Move declarations

5 months agoDon't make stylesheet editor transient for narrative
Thomas White [Wed, 1 May 2019 12:13:05 +0000 (14:13 +0200)]
Don't make stylesheet editor transient for narrative

This allows the user more freedom in stacking the windows, e.g. when
there are also slide windows.

5 months agoDon't accidentally add scientific notation for numbers in colours
Thomas White [Wed, 1 May 2019 12:12:47 +0000 (14:12 +0200)]
Don't accidentally add scientific notation for numbers in colours

5 months agoStylesheetEditor: avoid setting attributes if the corresponding widgets are disabled
Thomas White [Tue, 30 Apr 2019 16:46:39 +0000 (18:46 +0200)]
StylesheetEditor: avoid setting attributes if the corresponding widgets are disabled

An inelegant solution to avoiding (e.g.) setting padding for the
top-level slide element.

5 months agoUse GEOMETRY for slide size
Thomas White [Tue, 30 Apr 2019 16:32:50 +0000 (18:32 +0200)]
Use GEOMETRY for slide size

5 months agoAdd an empty text item is the narrative is empty after loading
Thomas White [Tue, 30 Apr 2019 16:01:04 +0000 (18:01 +0200)]
Add an empty text item is the narrative is empty after loading

5 months agoAdd an assertion
Thomas White [Tue, 30 Apr 2019 15:52:03 +0000 (17:52 +0200)]
Add an assertion

5 months agoCreate stylesheet with narrative
Thomas White [Tue, 30 Apr 2019 15:51:31 +0000 (17:51 +0200)]
Create stylesheet with narrative

This means there'll ALWAYS be a default stylesheet present, avoiding
crashes and a lot of special cases.

5 months agoTrap possible error case
Thomas White [Mon, 29 Apr 2019 21:27:44 +0000 (23:27 +0200)]
Trap possible error case

5 months agoHonour background in text frames
Thomas White [Mon, 29 Apr 2019 21:08:18 +0000 (23:08 +0200)]
Honour background in text frames

5 months agoHonour paragraph spacing in text frames
Thomas White [Mon, 29 Apr 2019 20:50:27 +0000 (22:50 +0200)]
Honour paragraph spacing in text frames

5 months agoRemove old includes
Thomas White [Sun, 28 Apr 2019 20:49:45 +0000 (22:49 +0200)]
Remove old includes

5 months agoGet rid of SlideItem->resizable
Thomas White [Sun, 28 Apr 2019 20:34:22 +0000 (22:34 +0200)]
Get rid of SlideItem->resizable

5 months agoUse geometry from stylesheet for items other than TEXT and IMAGE
Thomas White [Sun, 28 Apr 2019 20:24:34 +0000 (22:24 +0200)]
Use geometry from stylesheet for items other than TEXT and IMAGE

5 months agoRedraw slide windows when stylesheet is changed
Thomas White [Sun, 28 Apr 2019 19:59:22 +0000 (21:59 +0200)]
Redraw slide windows when stylesheet is changed

5 months agoDon't set alignment for narrative
Thomas White [Sun, 28 Apr 2019 19:40:14 +0000 (21:40 +0200)]
Don't set alignment for narrative

5 months agoDisable stylesheet elements which shouldn't exist
Thomas White [Sun, 28 Apr 2019 19:28:10 +0000 (21:28 +0200)]
Disable stylesheet elements which shouldn't exist

5 months agoDefer re-wrapping until redraw
Thomas White [Sun, 28 Apr 2019 16:07:50 +0000 (18:07 +0200)]
Defer re-wrapping until redraw

This avoids repeatedly re-wrapping.

5 months agoFussiness
Thomas White [Sun, 28 Apr 2019 14:52:36 +0000 (16:52 +0200)]
Fussiness

5 months agoSet padding and paraspace
Thomas White [Sun, 28 Apr 2019 14:39:56 +0000 (16:39 +0200)]
Set padding and paraspace

5 months agoSet all units on geometry
Thomas White [Sun, 28 Apr 2019 14:21:51 +0000 (16:21 +0200)]
Set all units on geometry

5 months agogtk_narrative_view_redraw: also re-wrap the text
Thomas White [Sun, 28 Apr 2019 14:08:56 +0000 (16:08 +0200)]
gtk_narrative_view_redraw: also re-wrap the text

5 months agoConnect up all signals
Thomas White [Sun, 28 Apr 2019 13:56:22 +0000 (15:56 +0200)]
Connect up all signals

5 months agoNew way of defining StylesheetEditorPrivate
Thomas White [Sat, 27 Apr 2019 16:22:15 +0000 (18:22 +0200)]
New way of defining StylesheetEditorPrivate

5 months agoImplement selection of style in editor
Thomas White [Sat, 27 Apr 2019 15:47:11 +0000 (17:47 +0200)]
Implement selection of style in editor

5 months agoPopulate stylesheet editor list
Thomas White [Fri, 26 Apr 2019 20:26:19 +0000 (22:26 +0200)]
Populate stylesheet editor list

5 months agoAdd API for getting style tree
Thomas White [Fri, 26 Apr 2019 20:26:05 +0000 (22:26 +0200)]
Add API for getting style tree

5 months agoGet rid of "enum style_element"
Thomas White [Fri, 26 Apr 2019 19:21:07 +0000 (21:21 +0200)]
Get rid of "enum style_element"

5 months agoClear tree store before adding style names
Thomas White [Fri, 26 Apr 2019 18:42:11 +0000 (20:42 +0200)]
Clear tree store before adding style names

5 months agoStyle selector wip2
Thomas White [Tue, 23 Apr 2019 16:41:25 +0000 (18:41 +0200)]
Style selector

6 months agoRedraw narrative window on stylesheet change
Thomas White [Mon, 15 Apr 2019 22:28:39 +0000 (00:28 +0200)]
Redraw narrative window on stylesheet change

6 months agoTree store testing
Thomas White [Mon, 15 Apr 2019 22:27:34 +0000 (00:27 +0200)]
Tree store testing