aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.c
AgeCommit message (Collapse)Author
2018-10-27Allow alpha values for stylesheet coloursThomas White
Get rid of GRAD_NOBG, because it's now handled by transparency
2018-10-27Update values from stylesheet editorThomas White
2018-10-27Avoid copious strcatting for stylesheet lookupsThomas White
2018-10-21Honour alignment in stylesheetThomas White
2018-10-21Try <documentname>.ss for stylesheetThomas White
2018-10-20Remove legacy API cruftThomas White
2018-10-20Remove template stuffThomas White
2018-10-19Get rid of remaining rscblock/rbl/mrb stuffThomas White
Good riddance.
2018-10-18Set paragraph spacing from stylesheetThomas White
2018-10-18Set slide size from stylesheetThomas White
2018-10-17Apply most stylesThomas White
2018-10-17Initial style lookupThomas White
2018-10-17Pass stylesheet aroundThomas White
2018-10-17Strip out macro systemThomas White
2018-08-06Frame background stuffThomas White
2018-07-06Expose sc_interp_run_style()Thomas White
2018-06-26Make default background colour whiteThomas White
2018-06-26Add style systemThomas White
2018-06-24Preparation for new style modelThomas White
2018-05-05Keep frame background in SCInterpreter stateThomas White
2018-04-29Initialise fgcolThomas White
2018-04-15Internationalise all strings in source codeThomas White
2018-04-15Set spacing on callback paragraphsThomas White
2018-03-25Add \lalign and \center (and show them off)Thomas White
2018-03-23Add \ralignThomas White
2018-03-18Disallow insertion and deletion unless scblock==rscblockThomas White
2018-03-18Remove \callbackThomas White
Make the callback mechanism into one of general interception of any Storycode command. This way, the narrative rendering (the only thing using this functionality) doesn't have to do its horrible stylesheet thing. That's necessary so that the rendering function gets the actual SCBlock, not the definition of the macro.
2018-03-18Set scblock/rscblock even for text paragraphsThomas White
It's needed as a hook if there are no runs
2018-03-12Get rid of Paragraph->openThomas White
2018-03-12Add rscblocks for image and callback paragraphsThomas White
2018-03-07Remove len_bytes from add_runThomas White
2018-03-07Don't create runs for \newparaThomas White
Removes a load more special cases
2018-03-07FormattingThomas White
2018-03-03Fix a memory bug in exec_macroThomas White
2018-03-03Remove macro_real_block and friends, and delete text based on SCBlocks ↵Thomas White
instead of runs macro_real_block was a pain because it meant we needed to look somewhere else every time we needed the SCBlock for something. The new way is to have two SCBlocks for each run, one which is the block from the flow of the actual document (i.e. for blocks within macros, this is the macro_real_block, otherwise it's the same as before). The second block ("rscblock") is whichever run actually contains the text for the run. It might be from the document, within the macro definition or within the macro's "\contents".
2018-02-19Remove text run SCBlock offsetThomas White
The \newpara change (commit 7f2d0abd) removed the only situation when the start of a run might not coincide with the start of an SCBlock, or vice-versa (although not all SCBlocks correspond to text runs, obviously). Therefore, the offset is always zero and can be removed, simplifying the code.
2018-02-16Record whether or not macro is editableThomas White
2018-01-18Mass update of copyright datesThomas White
2018-01-18Store macro contents block in text runThomas White
We need it in order to find where to delete from, e.g. when paragraphs get united inside a slide title
2018-01-04Get slide size from stylesheetThomas White
2017-11-27Use ImageStore to get image sizeThomas White
2017-11-21Calculate image sizes to fill frames horizontallyThomas White
2017-11-19Don't add empty text blocksThomas White
They can creep in sometimes, e.g. just after an image frame is created
2017-11-19Set right fontdesc for \newpara runs (in case we type into them later)Thomas White
2017-11-12Debug stuff (revert me later)Thomas White
2017-10-26Handle NULL PangoContext some moreThomas White
2017-10-23Handle NULL PangoContextThomas White
Used when getting the templates
2017-10-19Track the newlines at ends of paragraphs directlyThomas White
No more messing around searching for \n characters
2017-10-17Track newlines at end of paragraphsThomas White
2017-09-24update_font(): Show font name if it can't be loadedThomas White