colloquium.git
4 days agoHandle *bold*, /italic/ etc master
Thomas White [Sun, 18 Aug 2019 20:38:13 +0000 (22:38 +0200)]
Handle *bold*, /italic/ etc

9 days 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

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

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

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

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

3 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

3 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

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

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

3 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)

3 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

3 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

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

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

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

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

3 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

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

3 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

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

3 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...

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

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

3 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

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

3 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

3 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

3 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

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

3 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.

3 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

3 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.

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

3 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

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

3 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.

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

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

3 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

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

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

3 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

3 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

3 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

3 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

3 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.

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

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

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

3 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

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

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

3 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

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

3 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

3 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"

3 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

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

4 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

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

4 months agoMake it compile
Thomas White [Mon, 15 Apr 2019 21:23:42 +0000 (23:23 +0200)]
Make it compile

4 months agoInitial stylesheet editor
Thomas White [Mon, 15 Apr 2019 21:12:37 +0000 (23:12 +0200)]
Initial stylesheet editor

4 months agoRemove src-old folder sc2
Thomas White [Sun, 14 Apr 2019 16:31:50 +0000 (18:31 +0200)]
Remove src-old folder

4 months agoGet rid of "delete slide"
Thomas White [Sun, 14 Apr 2019 16:31:19 +0000 (18:31 +0200)]
Get rid of "delete slide"

...because you can just press delete

4 months agoForce redraw after adding slide title
Thomas White [Sun, 14 Apr 2019 15:48:25 +0000 (17:48 +0200)]
Force redraw after adding slide title

4 months agoDouble-click slide to jump to it during slideshow
Thomas White [Sun, 14 Apr 2019 15:42:18 +0000 (17:42 +0200)]
Double-click slide to jump to it during slideshow

4 months agoCheck cursor visible after move
Thomas White [Sun, 14 Apr 2019 15:31:46 +0000 (17:31 +0200)]
Check cursor visible after move

4 months agoKeep paragraph centered in narrative during slideshow
Thomas White [Sun, 14 Apr 2019 15:01:44 +0000 (17:01 +0200)]
Keep paragraph centered in narrative during slideshow

4 months agoMake clock unique to narrative window, and fix cleanup logic
Thomas White [Sat, 13 Apr 2019 10:11:26 +0000 (12:11 +0200)]
Make clock unique to narrative window, and fix cleanup logic

4 months agoRestore printing
Thomas White [Sat, 13 Apr 2019 08:05:06 +0000 (10:05 +0200)]
Restore printing

4 months agoAdd narrative_item_get_height() and narrative_render_item_cairo()
Thomas White [Sat, 13 Apr 2019 08:04:19 +0000 (10:04 +0200)]
Add narrative_item_get_height() and narrative_render_item_cairo()

4 months agoRestore slide export to PDF
Thomas White [Mon, 8 Apr 2019 21:00:36 +0000 (23:00 +0200)]
Restore slide export to PDF

4 months agoMove render_slides_to_pdf to slide_render_cairo
Thomas White [Mon, 8 Apr 2019 20:59:47 +0000 (22:59 +0200)]
Move render_slides_to_pdf to slide_render_cairo

4 months agoFix colour types
Thomas White [Mon, 8 Apr 2019 20:56:26 +0000 (22:56 +0200)]
Fix colour types

4 months agoSave default slide size in stylesheet
Thomas White [Sat, 6 Apr 2019 22:12:50 +0000 (00:12 +0200)]
Save default slide size in stylesheet

Also gets rid of the nasty special variables for the default slide size,
using the geometry property of the "SLIDE" style instead.

4 months agoIf a colour is read as a hex code, save it that way too
Thomas White [Sat, 6 Apr 2019 21:51:03 +0000 (23:51 +0200)]
If a colour is read as a hex code, save it that way too

4 months agoSave slides
Thomas White [Sat, 6 Apr 2019 20:46:30 +0000 (22:46 +0200)]
Save slides

4 months agoParsing fixes
Thomas White [Sat, 6 Apr 2019 20:46:16 +0000 (22:46 +0200)]
Parsing fixes

4 months agoStylesheet saving fixes
Thomas White [Sat, 6 Apr 2019 20:45:57 +0000 (22:45 +0200)]
Stylesheet saving fixes

4 months agoFix indentation in demo doc
Thomas White [Sat, 6 Apr 2019 20:45:30 +0000 (22:45 +0200)]
Fix indentation in demo doc

4 months agoRemove empty file
Thomas White [Sat, 6 Apr 2019 19:17:06 +0000 (21:17 +0200)]
Remove empty file

4 months agoWrite narrative
Thomas White [Thu, 4 Apr 2019 21:42:25 +0000 (23:42 +0200)]
Write narrative

4 months agoSave stylesheet
Thomas White [Thu, 4 Apr 2019 21:19:02 +0000 (23:19 +0200)]
Save stylesheet

4 months agoStylesheet saving skeleton
Thomas White [Tue, 2 Apr 2019 22:03:02 +0000 (00:03 +0200)]
Stylesheet saving skeleton

4 months agoHooks for style cascading system
Thomas White [Tue, 2 Apr 2019 21:23:36 +0000 (23:23 +0200)]
Hooks for style cascading system

4 months agoDon't g_object_ref(NULL)
Thomas White [Tue, 2 Apr 2019 21:23:11 +0000 (23:23 +0200)]
Don't g_object_ref(NULL)

4 months agoSaving hooks
Thomas White [Sun, 31 Mar 2019 11:53:42 +0000 (13:53 +0200)]
Saving hooks

4 months agoGet rid of Presentation structure
Thomas White [Sat, 30 Mar 2019 16:32:24 +0000 (17:32 +0100)]
Get rid of Presentation structure

It doesn't have any reason to exist.  A Narrative defines the top-level
object already.  This is, after all, a narrative-based presentation
system.

This removes a lot of faff surrounding retrieving the Narrative from the
Presentation.  It also removes a gigantic place for bugs to hide in
keeping the Presentation's view of the slides in sync with the
Narrative's opinion.

What was that quote?  "Code is terrible, and we want as little of it as
possible in our program."

4 months agoImplement "add slide"
Thomas White [Sat, 30 Mar 2019 15:18:46 +0000 (16:18 +0100)]
Implement "add slide"

4 months agoCatch attempt to advance paragraph past end of narrative
Thomas White [Fri, 29 Mar 2019 16:17:54 +0000 (17:17 +0100)]
Catch attempt to advance paragraph past end of narrative

4 months agoFix paragraph highlight geometry
Thomas White [Thu, 28 Mar 2019 17:02:46 +0000 (18:02 +0100)]
Fix paragraph highlight geometry

4 months agoRestore slideshow and clock
Thomas White [Thu, 28 Mar 2019 14:05:10 +0000 (15:05 +0100)]
Restore slideshow and clock

4 months agoShow modified status in narrative title bar
Thomas White [Wed, 27 Mar 2019 16:57:31 +0000 (17:57 +0100)]
Show modified status in narrative title bar

4 months agoHandle upside-down text frame creation
Thomas White [Sun, 24 Mar 2019 22:33:44 +0000 (23:33 +0100)]
Handle upside-down text frame creation

4 months agoImplement image import
Thomas White [Sun, 24 Mar 2019 16:13:04 +0000 (17:13 +0100)]
Implement image import

4 months agoRemove unused function
Thomas White [Sun, 24 Mar 2019 16:01:57 +0000 (17:01 +0100)]
Remove unused function

4 months agoImplement new text frames in slides
Thomas White [Sun, 24 Mar 2019 15:41:57 +0000 (16:41 +0100)]
Implement new text frames in slides

4 months agoImplement text selection in slides
Thomas White [Sun, 24 Mar 2019 12:53:03 +0000 (13:53 +0100)]
Implement text selection in slides

5 months agoImplement slide text deletion
Thomas White [Sat, 23 Mar 2019 21:44:02 +0000 (22:44 +0100)]
Implement slide text deletion