File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3- edbee.lib:
43
4+ - (2025-01-24) [ v0.9.0] #150 , Add version number (EDBEE_VERSION / Edbee::instance()->version())
5+ - (2025-01-24) #145 , Replace onigmo with onigruma
56- (2025-01-04) Remove qslog references from ` edbee-test `
7+ - (2024-12-28) Default cmake build is QT6 (use the BUILD_WITH_QT5 option)
8+ - (2024-12-22) Replaced qslog dependency with qlog_ * macros to qDebug, qWarning etc.
9+
10+ Older Items
611
7- - Replaced qslog dependency with qlog_ * macros to qDebug, qWarning etc.
812- Autocomplete changes, setFocusPolicy on QMenu an adding ` setAttribute(Qt::WA_ShowWithoutActivating) `
913- PR #147 , Add ctrl-a / ctrl-e support for macOS
1014- fix, Autocomplete Improvements
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ HEADERS += \
104104 $$PWD /edbee/data/factorykeymap.h \
105105 $$PWD /edbee/debug.h \
106106 $$PWD /edbee/edbee.h \
107+ $$PWD /edbee/edbeeversion.h \
107108 $$PWD /edbee/exports.h \
108109 $$PWD /edbee/io/baseplistparser.h \
109110 $$PWD /edbee/io/jsonparser.h \
Original file line number Diff line number Diff line change @@ -98,6 +98,12 @@ void Edbee::autoInit()
9898 }
9999}
100100
101+ // / Returns the edbee version number
102+ const char * Edbee::version () const
103+ {
104+ return EDBEE_VERSION;
105+ }
106+
101107
102108
103109// / TODO: We need a way to load the (scoped) environment variables
Original file line number Diff line number Diff line change 66#pragma once
77
88#include " edbee/exports.h"
9+ #include " edbee/edbeeversion.h"
910
1011#include < QObject>
1112
@@ -39,6 +40,7 @@ class EDBEE_EXPORT Edbee : public QObject
3940 void setThemePath ( const QString& themePath );
4041
4142 void autoInit ();
43+ const char * version () const ;
4244
4345public slots:
4446 void init ();
Original file line number Diff line number Diff line change 1+ #pragma once
2+
3+ #define EDBEE_VERSION "0.9.0"
4+
5+ #define EDBEE_VERSION_MAJOR 0
6+ #define EDBEE_VERSION_MINOR 9
7+ #define EDBEE_VERSION_PATCH 0
8+ #define EDBEE_VERSION_POSTFIX ""
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ cp -Rp ../vendor/oniguruma/patch/* ../vendor/oniguruma/oniguruma/
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ if [ " $# " -lt 3 ]; then
4+ echo " Generates the edbee version header"
5+ echo " "
6+ echo " Usage: $0 <major> <minor> <patch> [<postfix>]"
7+ exit ;
8+ fi
9+
10+ major=" $1 "
11+ minor=" $2 "
12+ patch=" $3 "
13+ postfix=" $4 "
14+ if [ -n " $4 " ]; then
15+ postfix_dash=" -$4 "
16+ fi
17+ target=" ../edbee-lib/edbee/edbeeversion.h"
18+
19+ cat << C > $target
20+ #pragma once
21+
22+ #define EDBEE_VERSION "$major .$minor .$patch$postfix_dash "
23+
24+ #define EDBEE_VERSION_MAJOR $major
25+ #define EDBEE_VERSION_MINOR $minor
26+ #define EDBEE_VERSION_PATCH $patch
27+ #define EDBEE_VERSION_POSTFIX "$postfix "
28+ C
29+
30+ cat $target
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments