Skip to content

Commit

Permalink
0.99.32
Browse files Browse the repository at this point in the history
  • Loading branch information
giuspen committed Mar 13, 2021
1 parent 1c4dfc5 commit 7bdc5f8
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 22 deletions.
25 changes: 13 additions & 12 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
cherrytree (0.99.31-1) focal; urgency=low
cherrytree (0.99.32-1) focal; urgency=low

* in preferences dialog tab themes there are now two style schemes, one starting from dark colors and one starting from light colors (#1362)
* a different style scheme can now be selected for plain text and code (used to share the same)
* implemented 'format clone' cloning formatting at cursor which can then be applied with existing menu item 'format latest' (#600)
* insert special symbols changed from having a submenu item per symbol to a dialog listing all the symbols (#1503)
* added few more icons as selectable as custom node icon (#1514)
* fix mac os big sur crash when formatting text foreground/background color with RGB not from palette (#1512)
* removed default global shortcut Ctrl+Delete to delete tree node because overrides text editor standard (#1513)
* fixed import from keepnote missing images (#1516)
* preferences dialog, selection of ui language, added flags (#1511)
* fixed misleading command line argument to export to pdf - the user is expected to pass a directory path, not a file path
* improved restoring of exact vertical scroll position (#1151)
* fix iterated find/replace dialog disappearing after first button click
* more node icons (#1514)
* fix copy as plain text not working in table cell (#1528)
* close image resize dialog when pressing enter (#1547)
* fix crash at find in all nodes before dialog pops up, Windows OS (#1460)
* improved dialog to select an item in the list focusing the item that was last used (e.g. special characters)
* in nodes icons cycle cherries colors after reaching a node level superior to the max number of cherries colors (#692)
* fixed issue with tree on the right side not properly restoring the tree width (#1534)
* user-* themes are not to be selectable for code, now excluded from the list
* added support for language 'elixir' by @SteffenBauer (#1541)


-- Giuseppe Penone <[email protected]> Tue, 23 Feb 2021 21:48:08 +0000
-- Giuseppe Penone <[email protected]> Sat, 13 Mar 2021 22:53:08 +0000
4 changes: 2 additions & 2 deletions src/ct/ct_codebox.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ct_codebox.h
*
* Copyright 2017-2020 Giuseppe Penone <[email protected]>
* Copyright 2017-2021 Giuseppe Penone <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -70,7 +70,7 @@ class CtCodebox : public CtAnchoredWidget, public CtTextCell
const bool widthInPixels,
const bool highlightBrackets,
const bool showLineNumbers);
virtual ~CtCodebox();
~CtCodebox() override;

void apply_width_height(const int parentTextWidth) override;
void apply_syntax_highlighting(const bool forceReApply) override;
Expand Down
10 changes: 5 additions & 5 deletions src/ct/ct_image.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ct_image.h
*
* Copyright 2009-2020
* Copyright 2009-2021
* Giuseppe Penone <[email protected]>
* Evgenii Gurianov <https://github.com/txe>
*
Expand Down Expand Up @@ -45,7 +45,7 @@ class CtImage : public CtAnchoredWidget
Glib::RefPtr<Gdk::Pixbuf> pixBuf,
const int charOffset,
const std::string& justification);
virtual ~CtImage() override;
~CtImage() override;

void apply_width_height(const int /*parentTextWidth*/) override {}
void apply_syntax_highlighting(const bool /*forceReApply*/) override {}
Expand All @@ -72,7 +72,7 @@ class CtImagePng : public CtImage
const Glib::ustring& link,
const int charOffset,
const std::string& justification);
virtual ~CtImagePng() override {}
~CtImagePng() override {}

void to_xml(xmlpp::Element* p_node_parent, const int offset_adjustment, CtStorageCache* cache) override;
bool to_sqlite(sqlite3* pDb, const gint64 node_id, const int offset_adjustment, CtStorageCache* cache) override;
Expand All @@ -98,7 +98,7 @@ class CtImageAnchor : public CtImage
const Glib::ustring& anchorName,
const int charOffset,
const std::string& justification);
virtual ~CtImageAnchor() override {}
~CtImageAnchor() override {}

void to_xml(xmlpp::Element* p_node_parent, const int offset_adjustment, CtStorageCache* cache) override;
bool to_sqlite(sqlite3* pDb, const gint64 node_id, const int offset_adjustment, CtStorageCache* cache) override;
Expand Down Expand Up @@ -126,7 +126,7 @@ class CtImageEmbFile : public CtImage
const int charOffset,
const std::string& justification,
const size_t uniqueId);
virtual ~CtImageEmbFile() override {}
~CtImageEmbFile() override {}

void to_xml(xmlpp::Element* p_node_parent, const int offset_adjustment, CtStorageCache* cache) override;
bool to_sqlite(sqlite3* pDb, const gint64 node_id, const int offset_adjustment, CtStorageCache* cache) override;
Expand Down
2 changes: 2 additions & 0 deletions src/ct/ct_state_machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class CtAnchoredWidgetState
: charOffset(charOffset)
, justification(justification)
{}
virtual ~CtAnchoredWidgetState() {}

virtual bool equal(std::shared_ptr<CtAnchoredWidgetState> state) = 0;
virtual CtAnchoredWidget* to_widget(CtMainWin* pCtMainWin) = 0;

Expand Down
4 changes: 2 additions & 2 deletions src/ct/ct_table.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ct_table.h
*
* Copyright 2009-2020
* Copyright 2009-2021
* Giuseppe Penone <[email protected]>
* Evgenii Gurianov <https://github.com/txe>
*
Expand Down Expand Up @@ -40,7 +40,7 @@ class CtTable : public CtAnchoredWidget
const CtTableColWidths& colWidths,
const size_t currRow = 0,
const size_t currCol = 0);
virtual ~CtTable();
~CtTable() override;

/**
* @brief Build a table from csv
Expand Down
2 changes: 1 addition & 1 deletion src/ct/ct_widgets.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class CtAnchoredWidget : public Gtk::EventBox
{
public:
CtAnchoredWidget(CtMainWin* pCtMainWin, const int charOffset, const std::string& justification);
virtual ~CtAnchoredWidget() {}
~CtAnchoredWidget() override {}

void insertInTextBuffer(Glib::RefPtr<Gsv::Buffer> rTextBuffer);
Glib::RefPtr<Gtk::TextChildAnchor> getTextChildAnchor() { return _rTextChildAnchor; }
Expand Down

0 comments on commit 7bdc5f8

Please sign in to comment.