21 Commits

Author SHA1 Message Date
Lefucjusz
773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00
Lefucjusz
6059ac716e [BH-2034] Various cleanups and refactors across the OS
* Removed some legacy files that were
compiled, but not used anywhere.
* Cleaned-up ImageManager and
FontManager implementations, trying
to use RAII wherever possible.
* Fixed minor bugs in Font.cpp
implementation.
* Removed unused includes.
* Other minor cleanups and refactors.
2024-08-09 09:13:30 +02:00
Adam Wulkiewicz
49bbaf51a0 [MOS-550] Improve refresh of the display
1. Implement partial refresh.
2. Implement refresh canceling mechanism.
3. Refactor some parts of the gui and display code.

ad 1.
- Detect parts of the screen changed since last update and merge them
  into bigger regions. These regions defines parts of the context sent
  to the display.
- Refresh the region covering all of the parts since this is the most
  time consuming part and the size of the refreshed region doesn't
  change the time much.
- Refresh the whole screen if deep refresh is requested and previously
  fast refresh was used. This is needed to prevent unwanted artifacts
  in some cases.

ad 2.
- Separate display update and refresh logic.
- Divide image display message handling into two handlers, one updating
  and other one refreshing the screen.
- Add cancel refresh message and use it to cancel refresh during update.
- Store sum of refresh regions gathered during updates to refresh them
  all at once at the end.
2022-10-11 20:00:33 +02:00
Tomasz Sobkowiak
0d7bae0a55 [EGD-3109] Use more appropriate type instead of raw types
Position and Length used instead of raw ones
2021-05-05 09:12:29 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
pholat
fb586cb4e9 EGD-3229 (#497)
* EGD-3229 text helper classes added with tests - used in tests, plus misc utils needed

No major actual functionality changed - TextClasses added with this PR
are used in tests only in this commit.
* classes needed to rewrite gui::Text added
* some utilities needed to rewrite gui::Text added
* tests added
2020-07-06 16:19:41 +02:00
Przemyslaw Brudny
88164ab40c [EGD-3295] PR changes and BoxLayout tests added. 2020-06-19 15:39:05 +02:00
Przemyslaw Brudny
dd601c432d [EGD-3295] BoxLayout and ListView performance improvements. 2020-06-19 15:39:05 +02:00
pholat
23df384c55 EGD-3087 SMS Search implemented (#374)
* EGD-3087 WIP adding SMS Querry

* EGD-3087 Added query virtual interface on Service top layer

Service shouldn't implement query logic and should be proxying that.

additionally:
- small fixes in includes
- shared service db name same way as apps and event manager

* EGD-3087 Query - want to work on interface not on db

* EGD-3087 Query gluecode works fine. Our query in SMS search calls getBySMSQuery

Changes cut off before any potential orm interface layer

* EGD-3087 WIP Interface in use

* EGD-3087 Query for SMS search works as designed

* EGD-3087 Query results should be on screen

* EGD-3087 BUG workaround - need to deep refresh display to show data

* EGD-3087 Searching for text from input works fine

* EGD-3087 Showing results / or empty results depending on query

* EGD-3087 Pre PR fixups

* EGD-3087 Empty search - getting back to prewious window ignore current

* EGD-3087 PR applied

* EGD-3087 PR - style fixed

* EGD-3087 Review - DB ListView handling moved to separate function

* EGD-3087 Workaround: crash on use after free fix

* EGD-3087 PR stylistic changes

* EGD-3087 PR cleanup applied

* EGD-3087 Added test for Query interface

* EGD-3087 renamed getByQuery to getQuery & finished tests

* EGD-3087 Post rebase fixup

* EGD-3087 PR - moved ListView request part to separate function

* EGD-3087 PR Fixups

* EGD-3087 Post rebase style fix

* EGD-3087 Added variable for DB service stack & const to getter function
2020-05-27 13:49:50 +02:00
pholat
ba5cf97919 EGD-3218 GCC 10.1 fixups (#375) 2020-05-20 11:05:46 +02:00
Adam Dobrowolski
7af85af8f3 EGD-3202 GUI minimal tests added and passing 2020-05-13 17:11:51 +02:00
Adam Dobrowolski
c0da5b98ce [EGD-3190] Removed workaround for BoundingBox size assignment 2020-05-12 16:45:15 +02:00
Adam Dobrowolski
5ba2cf7f15 [EGD-3190] Box sizes fixup in progress 2020-05-12 16:45:15 +02:00
Adam Dobrowolski
ccb0092db0 [EGD-3190] Box can call resize 2020-05-12 16:45:15 +02:00
Adam Dobrowolski
c07a13c955 EGD-3165 BoundingBox make str() method const (to be able to log in const functions) 2020-04-28 09:50:48 +02:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Adam Dobrowolski
1e8d60d8e1 [EGD-2896] Review aplied 2020-02-26 11:53:03 +01:00
Adam Dobrowolski
5e5562c261 [EGD-2896] Cleanup to use maxSize 2020-02-26 11:53:03 +01:00
Adam Dobrowolski
bf27758911 [EGD-2394] [GUI] BoundingBox added setters/getters by Axis & removed dead code 2020-01-31 14:05:42 +01:00
Adam Dobrowolski
1059543931 [BoxLayout] Added PageLayout & BoxLayout fixups
* Fixed Rect to always set maxSize and BoxLayout navigation
* removed commented out focusItem
* Removed redundant handling
* General BoxLayout fixes
2020-01-03 12:54:39 +01:00
Robert Borzecki
d3235d54d7 Removed submodule 2019-05-21 23:35:00 +02:00