colloquium.git
18 months agoUpdate README
Thomas White [Mon, 29 Oct 2018 16:30:37 +0000 (17:30 +0100)]
Update README

18 months agoSwitch to "fancy" save window
Thomas White [Mon, 29 Oct 2018 07:45:10 +0000 (08:45 +0100)]
Switch to "fancy" save window

18 months agoMerge branch 'json-stylesheets'
Thomas White [Sat, 27 Oct 2018 22:03:51 +0000 (00:03 +0200)]
Merge branch 'json-stylesheets'

18 months agoRemove debug json-stylesheets
Thomas White [Sat, 27 Oct 2018 22:03:15 +0000 (00:03 +0200)]
Remove debug

18 months agoUpdate default stylesheet
Thomas White [Sat, 27 Oct 2018 22:03:07 +0000 (00:03 +0200)]
Update default stylesheet

18 months agoHandle condition of no stylesheet, and load default stylesheet for empty presentation
Thomas White [Sat, 27 Oct 2018 21:54:56 +0000 (23:54 +0200)]
Handle condition of no stylesheet, and load default stylesheet for empty presentation

18 months agoAllow alpha values for stylesheet colours
Thomas White [Sat, 27 Oct 2018 21:29:14 +0000 (23:29 +0200)]
Allow alpha values for stylesheet colours

Get rid of GRAD_NOBG, because it's now handled by transparency

18 months agoUpdate values from stylesheet editor
Thomas White [Sat, 27 Oct 2018 21:06:05 +0000 (23:06 +0200)]
Update values from stylesheet editor

19 months agoAvoid copious strcatting for stylesheet lookups
Thomas White [Sat, 27 Oct 2018 16:05:27 +0000 (18:05 +0200)]
Avoid copious strcatting for stylesheet lookups

19 months agoSet values in stylesheet editor
Thomas White [Thu, 25 Oct 2018 21:28:33 +0000 (23:28 +0200)]
Set values in stylesheet editor

19 months agoWrap cairo_{save,restore} around paragraph rendering when printing narrative
Thomas White [Mon, 22 Oct 2018 15:17:55 +0000 (17:17 +0200)]
Wrap cairo_{save,restore} around paragraph rendering when printing narrative

19 months agoRemove struct print_stuff->{is,storename}
Thomas White [Mon, 22 Oct 2018 15:11:57 +0000 (17:11 +0200)]
Remove struct print_stuff->{is,storename}

19 months agoFull order of precedence for finding stylesheets
Thomas White [Sun, 21 Oct 2018 16:34:56 +0000 (18:34 +0200)]
Full order of precedence for finding stylesheets

19 months agoHonour alignment in stylesheet
Thomas White [Sun, 21 Oct 2018 16:08:06 +0000 (18:08 +0200)]
Honour alignment in stylesheet

19 months agoTry <documentname>.ss for stylesheet
Thomas White [Sun, 21 Oct 2018 16:03:01 +0000 (18:03 +0200)]
Try <documentname>.ss for stylesheet

19 months agoUpdate demo doc and remove old test stylesheets
Thomas White [Sun, 21 Oct 2018 16:01:52 +0000 (18:01 +0200)]
Update demo doc and remove old test stylesheets

19 months agoRemove legacy API cruft
Thomas White [Sat, 20 Oct 2018 08:09:38 +0000 (10:09 +0200)]
Remove legacy API cruft

19 months agoRemove template stuff
Thomas White [Sat, 20 Oct 2018 08:02:31 +0000 (10:02 +0200)]
Remove template stuff

19 months agoAppend new block inside frame top level block
Thomas White [Sat, 20 Oct 2018 08:01:57 +0000 (10:01 +0200)]
Append new block inside frame top level block

fr->scblocks is the block which created the frame, e.g. \f
Therefore the new block at the end needs to be appended inside, not
after.

19 months agoGet rid of remaining rscblock/rbl/mrb stuff
Thomas White [Fri, 19 Oct 2018 06:46:14 +0000 (08:46 +0200)]
Get rid of remaining rscblock/rbl/mrb stuff

Good riddance.

19 months agoUpdate template stylesheet
Thomas White [Thu, 18 Oct 2018 06:54:33 +0000 (08:54 +0200)]
Update template stylesheet

19 months agoSet paragraph spacing from stylesheet
Thomas White [Thu, 18 Oct 2018 06:54:24 +0000 (08:54 +0200)]
Set paragraph spacing from stylesheet

19 months agoSet slide size from stylesheet
Thomas White [Thu, 18 Oct 2018 06:54:14 +0000 (08:54 +0200)]
Set slide size from stylesheet

19 months agoApply most styles
Thomas White [Wed, 17 Oct 2018 20:41:03 +0000 (22:41 +0200)]
Apply most styles

19 months agoInitial style lookup
Thomas White [Wed, 17 Oct 2018 13:28:59 +0000 (15:28 +0200)]
Initial style lookup

19 months agoPass stylesheet around
Thomas White [Wed, 17 Oct 2018 13:15:01 +0000 (15:15 +0200)]
Pass stylesheet around

19 months agoSwitch to new Stylesheet type
Thomas White [Wed, 17 Oct 2018 12:50:28 +0000 (14:50 +0200)]
Switch to new Stylesheet type

19 months agoAdd JSON dependency
Thomas White [Wed, 17 Oct 2018 12:49:42 +0000 (14:49 +0200)]
Add JSON dependency

19 months agoStrip out macro system
Thomas White [Wed, 17 Oct 2018 09:14:22 +0000 (11:14 +0200)]
Strip out macro system

19 months agoAdd JSON stylesheet test
Thomas White [Wed, 17 Oct 2018 08:18:44 +0000 (10:18 +0200)]
Add JSON stylesheet test

19 months agoFormatting fussiness
Thomas White [Mon, 8 Oct 2018 19:29:20 +0000 (21:29 +0200)]
Formatting fussiness

20 months agoMerge pull request #4 from fsimkovic/master
Thomas White [Sat, 1 Sep 2018 11:23:41 +0000 (13:23 +0200)]
Merge pull request #4 from fsimkovic/master

OS X installation instructions added

20 months agoOS X installation instructions added
Felix Simkovic [Fri, 31 Aug 2018 09:54:11 +0000 (10:54 +0100)]
OS X installation instructions added

21 months agoFix find_replace
Thomas White [Tue, 7 Aug 2018 07:06:33 +0000 (09:06 +0200)]
Fix find_replace

21 months agoFrame background stuff
Thomas White [Mon, 6 Aug 2018 21:53:35 +0000 (23:53 +0200)]
Frame background stuff

21 months agoSet gradient IDs in UI
Thomas White [Mon, 6 Aug 2018 20:32:41 +0000 (22:32 +0200)]
Set gradient IDs in UI

22 months agoRemove noisy error message
Thomas White [Sun, 8 Jul 2018 21:26:07 +0000 (23:26 +0200)]
Remove noisy error message

22 months agoHook up lots of stylesheet editor stuff
Thomas White [Sun, 8 Jul 2018 21:25:42 +0000 (23:25 +0200)]
Hook up lots of stylesheet editor stuff

22 months agoStylesheet editor plumbing
Thomas White [Fri, 6 Jul 2018 20:53:31 +0000 (22:53 +0200)]
Stylesheet editor plumbing

22 months agoExpose sc_interp_run_style()
Thomas White [Fri, 6 Jul 2018 20:53:59 +0000 (22:53 +0200)]
Expose sc_interp_run_style()

22 months agoAlways count paragraphs if using presentation without slides
Thomas White [Fri, 29 Jun 2018 16:26:32 +0000 (18:26 +0200)]
Always count paragraphs if using presentation without slides

23 months agoMake default background colour white
Thomas White [Tue, 26 Jun 2018 21:56:57 +0000 (23:56 +0200)]
Make default background colour white

23 months agoAdd style system
Thomas White [Tue, 26 Jun 2018 21:37:00 +0000 (23:37 +0200)]
Add style system

23 months agoGet rid of old printf
Thomas White [Tue, 26 Jun 2018 21:23:09 +0000 (23:23 +0200)]
Get rid of old printf

23 months agoTweak demo.sc
Thomas White [Mon, 25 Jun 2018 18:40:44 +0000 (20:40 +0200)]
Tweak demo.sc

23 months agoPreparation for new style model
Thomas White [Sat, 23 Jun 2018 18:41:51 +0000 (20:41 +0200)]
Preparation for new style model

2 years agoKeep frame background in SCInterpreter state
Thomas White [Sat, 5 May 2018 18:51:18 +0000 (20:51 +0200)]
Keep frame background in SCInterpreter state

2 years agoGet rid of stylesheet lists and add stylesheet change signal
Thomas White [Tue, 1 May 2018 20:12:22 +0000 (22:12 +0200)]
Get rid of stylesheet lists and add stylesheet change signal

We no longer have a need for more than one (since the callback stuff
changed, see 61394e51), and removing it makes it much easier to hook up
the stylesheet update code for the stylesheet editor.

2 years agoCreate stylesheet if it's not there already
Thomas White [Sun, 29 Apr 2018 20:30:11 +0000 (22:30 +0200)]
Create stylesheet if it's not there already

2 years agoInitialise fgcol
Thomas White [Sun, 29 Apr 2018 20:29:20 +0000 (22:29 +0200)]
Initialise fgcol

2 years agoImplement setting default fg colour
Thomas White [Sun, 29 Apr 2018 19:47:54 +0000 (21:47 +0200)]
Implement setting default fg colour

2 years agoImplement setting default font
Thomas White [Sun, 29 Apr 2018 19:40:21 +0000 (21:40 +0200)]
Implement setting default font

2 years agoWhitespace
Thomas White [Sun, 29 Apr 2018 19:19:02 +0000 (21:19 +0200)]
Whitespace

2 years agoFix wrapping of storycode in stylesheet editor
Thomas White [Sun, 29 Apr 2018 19:11:05 +0000 (21:11 +0200)]
Fix wrapping of storycode in stylesheet editor

2 years agoShow stylesheet storycode in editor
Thomas White [Sun, 29 Apr 2018 19:01:34 +0000 (21:01 +0200)]
Show stylesheet storycode in editor

2 years agoAdd serialise_sc_block_chain()
Thomas White [Sun, 29 Apr 2018 19:01:08 +0000 (21:01 +0200)]
Add serialise_sc_block_chain()

2 years agoRearrange prototypes
Thomas White [Sun, 29 Apr 2018 19:00:49 +0000 (21:00 +0200)]
Rearrange prototypes

2 years agoSet font preview text
Thomas White [Mon, 23 Apr 2018 21:20:01 +0000 (23:20 +0200)]
Set font preview text

2 years agoInitialise StylesheetEditor default font and fgcol
Thomas White [Mon, 23 Apr 2018 21:19:50 +0000 (23:19 +0200)]
Initialise StylesheetEditor default font and fgcol

2 years agoHook up some signals
Thomas White [Mon, 23 Apr 2018 21:17:43 +0000 (23:17 +0200)]
Hook up some signals

2 years agoSet accelerator for opening stylesheet editor
Thomas White [Mon, 23 Apr 2018 21:16:24 +0000 (23:16 +0200)]
Set accelerator for opening stylesheet editor

2 years agoshow_error: Use literal format string
Thomas White [Mon, 23 Apr 2018 15:57:31 +0000 (17:57 +0200)]
show_error: Use literal format string

2 years agoAvoid crashiness if deletion SCBlock ends up as NULL
Thomas White [Mon, 23 Apr 2018 15:57:10 +0000 (17:57 +0200)]
Avoid crashiness if deletion SCBlock ends up as NULL

2 years agoAdd preliminary stylesheet editor
Thomas White [Sun, 22 Apr 2018 10:18:28 +0000 (12:18 +0200)]
Add preliminary stylesheet editor

2 years agoPut all menu definitions into one resource
Thomas White [Sat, 21 Apr 2018 20:31:32 +0000 (22:31 +0200)]
Put all menu definitions into one resource

2 years agoUpdate --help
Thomas White [Sat, 21 Apr 2018 20:32:40 +0000 (22:32 +0200)]
Update --help

2 years agoCut and paste stuff
Thomas White [Mon, 16 Apr 2018 06:50:53 +0000 (08:50 +0200)]
Cut and paste stuff

Still a work in progress, but this is already more stable than before.

2 years agoTidy up nw_entries_p
Thomas White [Sun, 15 Apr 2018 18:49:27 +0000 (20:49 +0200)]
Tidy up nw_entries_p

2 years agoRemove vestigial code
Thomas White [Sun, 15 Apr 2018 16:22:14 +0000 (18:22 +0200)]
Remove vestigial code

2 years agoSet transient parent for about box
Thomas White [Sun, 15 Apr 2018 16:21:18 +0000 (18:21 +0200)]
Set transient parent for about box

A bit tricky because it can be called up from two different windows
(narrative and slide editor)

2 years agoUse license_type in about box
Thomas White [Sun, 15 Apr 2018 15:43:39 +0000 (17:43 +0200)]
Use license_type in about box

2 years agoInternationalise all the menus
Thomas White [Sun, 15 Apr 2018 15:43:24 +0000 (17:43 +0200)]
Internationalise all the menus

2 years agoInternationalise all strings in source code
Thomas White [Sun, 15 Apr 2018 15:08:44 +0000 (17:08 +0200)]
Internationalise all strings in source code

2 years agoSet spacing on callback paragraphs
Thomas White [Sun, 15 Apr 2018 14:39:00 +0000 (16:39 +0200)]
Set spacing on callback paragraphs

2 years agoRationalise interpretation of paragraph spacing
Thomas White [Sun, 15 Apr 2018 14:38:12 +0000 (16:38 +0200)]
Rationalise interpretation of paragraph spacing

paragraph->height: Just the height of the contents, no spacing
paragraph_height(para): The total height including all spacing

2 years agoUpdate links
Thomas White [Fri, 13 Apr 2018 16:15:35 +0000 (18:15 +0200)]
Update links

2 years agoAdd translator-credits
Thomas White [Thu, 12 Apr 2018 15:15:35 +0000 (17:15 +0200)]
Add translator-credits

2 years agoReplace p->filename with p->uri, get rid of p->titlebar, and use g_file_get_basename()
Thomas White [Wed, 11 Apr 2018 21:30:59 +0000 (23:30 +0200)]
Replace p->filename with p->uri, get rid of p->titlebar, and use g_file_get_basename()

2 years agoIf a paragraph is completely empty, allow it to be re-used
Thomas White [Wed, 11 Apr 2018 20:34:42 +0000 (22:34 +0200)]
If a paragraph is completely empty, allow it to be re-used

This avoids spurious empty paragraphs before slides, for example.

2 years agoAdd more translation labels and get rid of redundant en po file
Thomas White [Wed, 11 Apr 2018 15:27:19 +0000 (17:27 +0200)]
Add more translation labels and get rid of redundant en po file

2 years agoFix translation options
Thomas White [Wed, 11 Apr 2018 15:23:40 +0000 (17:23 +0200)]
Fix translation options

2 years agoAdd gettext stuff
Thomas White [Wed, 11 Apr 2018 06:55:50 +0000 (08:55 +0200)]
Add gettext stuff

2 years agoRearrange items in Help menu
Thomas White [Mon, 9 Apr 2018 21:06:32 +0000 (23:06 +0200)]
Rearrange items in Help menu

2 years agoCache raw image sizes
Thomas White [Sun, 1 Apr 2018 19:46:39 +0000 (21:46 +0200)]
Cache raw image sizes

It's still bad that we need to load the entire image to get the size,
but this makes things pretty fast

2 years agoUse GFile to save presentations
Thomas White [Sun, 1 Apr 2018 19:00:27 +0000 (21:00 +0200)]
Use GFile to save presentations

2 years agoAdd menu item to show introductory doc
Thomas White [Sun, 1 Apr 2018 11:18:38 +0000 (13:18 +0200)]
Add menu item to show introductory doc

2 years agoUse GFile for presentation loading
Thomas White [Sun, 1 Apr 2018 09:08:38 +0000 (11:08 +0200)]
Use GFile for presentation loading

2 years agoUse GResource for app menu and menu bar
Thomas White [Sat, 31 Mar 2018 17:18:58 +0000 (19:18 +0200)]
Use GResource for app menu and menu bar

2 years agoUse GResource for sky.png
Thomas White [Sat, 31 Mar 2018 17:00:06 +0000 (19:00 +0200)]
Use GResource for sky.png

2 years agoUse gtk_application_prefers_app_menu
Thomas White [Sat, 31 Mar 2018 16:03:28 +0000 (18:03 +0200)]
Use gtk_application_prefers_app_menu

2 years agoDon't unref the GtkBuilder when it's still needed
Thomas White [Sat, 31 Mar 2018 13:58:49 +0000 (15:58 +0200)]
Don't unref the GtkBuilder when it's still needed

2 years agoMove SCBlocks in tests one level down
Thomas White [Sat, 31 Mar 2018 12:07:42 +0000 (14:07 +0200)]
Move SCBlocks in tests one level down

Consequence of 57510a53

2 years agoEnsure cursor is somewhere before adding slide
Thomas White [Sat, 31 Mar 2018 09:19:47 +0000 (11:19 +0200)]
Ensure cursor is somewhere before adding slide

2 years agoExtra debugging
Thomas White [Fri, 30 Mar 2018 22:02:35 +0000 (00:02 +0200)]
Extra debugging

2 years agoFix narrative print
Thomas White [Fri, 30 Mar 2018 21:58:10 +0000 (23:58 +0200)]
Fix narrative print

2 years agoDo all rendering one level higher
Thomas White [Fri, 30 Mar 2018 21:57:15 +0000 (23:57 +0200)]
Do all rendering one level higher

All rendering functions now render the contents of the given block, not
the block itself.  This makes everything consistent again with respect
to where the frame SCBlock pointers point, even for the top frame.

2 years agoDon't try to insert text if cursor_frame=NULL
Thomas White [Thu, 29 Mar 2018 21:14:41 +0000 (23:14 +0200)]
Don't try to insert text if cursor_frame=NULL

2 years agoTweak demo doc
Thomas White [Wed, 28 Mar 2018 14:47:38 +0000 (16:47 +0200)]
Tweak demo doc

2 years agoSet frame->scblocks one level higher for top frame in SCEditor
Thomas White [Wed, 28 Mar 2018 14:43:49 +0000 (16:43 +0200)]
Set frame->scblocks one level higher for top frame in SCEditor

This makes it behave the same as when a new frame is created by \f

2 years agoRearrange editability checks when inserting text
Thomas White [Wed, 28 Mar 2018 12:51:54 +0000 (14:51 +0200)]
Rearrange editability checks when inserting text

Makes "insert into non-text paragraph" work again