Skip to content

Commit

Permalink
Merge branch 'development' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
erhanbaris committed Mar 5, 2022
2 parents 6db5e05 + 9c3fa33 commit d0c39e6
Show file tree
Hide file tree
Showing 59 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "smartcalc"
description = "Text based calculator for peoples"
version = "1.0.4"
version = "1.0.5"
authors = ["Erhan BARIS <[email protected]>"]
edition = "2018"
license = "GPL-2.0"
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion examples/console/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/date.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/date_time.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/duration.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/memory.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/money.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/number.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/percent.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/time.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/constants.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/formatter/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/logger/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/syntax/assignment.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/syntax/binary.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/syntax/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/syntax/primative.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/syntax/statement.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/syntax/unary.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/syntax/util.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tests/executer_test.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tests/general_test.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tests/variable_test.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/token/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/token/ui_token.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/atom.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/comment.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/field.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/memory.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/tokinizer/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down Expand Up @@ -331,7 +331,7 @@ impl<'a> Tokinizer<'a> {
}

if cfg!(feature="debug-rules") {
log::debug!("Updated token_infos: {:?}", self.session.borrow().token_infos);
log::debug!("Updated token_infos: {:?}", session_mut.token_infos);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/money.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/month.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/number.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/operator.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/percent.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/text.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/time.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/timezone.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tokinizer/whitespace.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/tools.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/worker/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/worker/rule.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/worker/rules/cleanup_rules.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/worker/rules/date_rules.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/worker/rules/date_time_rules.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/worker/rules/duration_rules.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/worker/rules/memory_rules.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/worker/rules/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* smartcalc v1.0.4
* smartcalc v1.0.5
* Copyright (c) Erhan BARIS (Ruslan Ognyanov Asenov)
* Licensed under the GNU General Public License v2.0.
*/
Expand Down
Loading

0 comments on commit d0c39e6

Please sign in to comment.