Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge #134

Merged
merged 96 commits into from
Oct 16, 2023
Merged

merge #134

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
6d7d562
[ImgBot] Optimize images
ImgBotApp May 3, 2023
143a4eb
Merge pull request #126 from sarvex/imgbot
gansm May 24, 2023
382891a
Fix setFormatedNumber() in FString for separator > 127
gansm May 31, 2023
63af59f
add some std::move
gansm May 31, 2023
3dbdeee
Added support for a tiltable scroll wheel to scroll the context of wi…
gansm Jun 4, 2023
11215d4
Created a new subdirectory for the development of an event loop and a…
Jun 5, 2023
dc9dd6d
Merge pull request #128 from linuxdoesitbetter/main
gansm Jun 5, 2023
8549bad
Move final/eventloop/main.cpp to the examples directory
gansm Jun 5, 2023
456715d
Integration of the new event loop code (WIP)
gansm Jun 5, 2023
d4d4ff3
Fixed some build errors
gansm Jun 6, 2023
ba1d728
Fixed some build errors
gansm Jun 6, 2023
d7d088e
Implement struct sigaction as pimpl idiom
gansm Jun 11, 2023
dc10d36
Monitors cannot be copied. C-style array replaced by a C++ array. Ini…
linuxdoesitbetter Jun 13, 2023
bc0466e
Merge branch 'main' into main
gansm Jun 13, 2023
3041894
Merge pull request #131 from linuxdoesitbetter/main
gansm Jun 13, 2023
b21eaf2
Build fix
gansm Jun 13, 2023
4a4b228
Removed reimplementation of the copy operator.
linuxdoesitbetter Jun 13, 2023
c162173
Build fix
gansm Jun 13, 2023
40e1b05
Code moved from the header to the cpp-file.
linuxdoesitbetter Jun 13, 2023
61e774c
Remove redundant parentheses
gansm Jun 13, 2023
dc88300
pointer-to-const
gansm Jun 13, 2023
a0d82f5
C-style array to std::array
gansm Jun 13, 2023
c66a8c1
Use the RAII idiom instead of calling unlock() explicitly
gansm Jun 13, 2023
532e25b
Merge performed with original repository.
linuxdoesitbetter Jun 14, 2023
05133fb
Merge performed.
linuxdoesitbetter Jun 14, 2023
af96d73
Build adapted to libtool 2.4.7 from anno 2014.
linuxdoesitbetter Jun 14, 2023
2f478aa
Merge pull request #133 from linuxdoesitbetter/main
gansm Jun 14, 2023
9e30df5
remove m4/
gansm Jun 14, 2023
636aa4e
remove m4/
gansm Jun 14, 2023
8e6e47b
Delete m4 directory
gansm Jun 14, 2023
a1ff5a6
set timer_id to 0
gansm Jun 15, 2023
0816ad3
Initialize timer_id with timer_t{}
gansm Jun 16, 2023
283a190
Fix a side effect on the right side of the logical || operator
gansm Jun 17, 2023
f967998
No longer throw generic exceptions std::runtime_error (CWE-397)
gansm Jun 17, 2023
eb5ed9e
Delete empty files
gansm Jun 17, 2023
6f5d45b
Use inheriting in monitor_error constructors to import constructors i…
gansm Jun 17, 2023
5be0f03
Reduce the number of break statements in the for loop to one
gansm Jun 17, 2023
481851d
Remove this redundant cast
gansm Jun 18, 2023
1363fe2
Add reference
gansm Jun 18, 2023
e5259b1
Merge branch 'main' of https://github.com/gansm/finalcut
gansm Jun 18, 2023
0534e95
static_cast<long> for arm and cygwin
gansm Jun 18, 2023
0d1e6de
Move the event loop code to the finalcut namespace
gansm Jul 6, 2023
6661050
The SigactionImpl class is now fully private
gansm Jul 9, 2023
e772274
optimize for loop
gansm Jul 13, 2023
f3d1943
Use of kqueue time as an alternative to the posix timer on BSD-based …
gansm Jul 23, 2023
84a8dcc
Encapsulate the signal handler function for posix timers in a class
gansm Jul 24, 2023
f02cf27
Avoid copying the mutex in KqueueHandler
gansm Jul 24, 2023
3caca74
Reduction of code complexity in EventLoop::run()
gansm Jul 30, 2023
5b76e8b
Duplicated code removed
gansm Jul 30, 2023
688c65c
Removing redundant constructor, which have already been inherited fro…
gansm Jul 30, 2023
d5d7ffd
g++ version 11 for Solaris
gansm Jul 31, 2023
c2c2640
g++ version 11 for Solaris
gansm Aug 1, 2023
2b44114
g++ version 11 for Solaris
gansm Aug 1, 2023
1273771
g++ version 11 for Solaris
gansm Aug 1, 2023
6b06fbe
g++ version 11 for Solaris
gansm Aug 1, 2023
7142349
g++ version 11 for Solaris
gansm Aug 2, 2023
adee48a
g++ version 11 for Solaris
gansm Aug 2, 2023
3d886dc
g++ version 11 for Solaris
gansm Aug 2, 2023
2e52d1e
g++ version 11 for Solaris
gansm Aug 2, 2023
25fb768
g++ version 7 for Solaris
gansm Aug 2, 2023
c3bd786
sonar-scanner 5.0.0.2966 permission fix
gansm Aug 3, 2023
cf231ce
Add some std::decay
gansm Aug 3, 2023
a45cee1
std::decay<...>::type -> std::decay_t<...>
gansm Aug 4, 2023
f342532
Move member variables to the private context of the Monitor class
gansm Aug 5, 2023
5132007
More classes with final specifier
gansm Aug 5, 2023
9d02d65
Lazy initialization of global static objects
gansm Aug 6, 2023
d560047
Tiny fix
gansm Aug 6, 2023
515826f
More lazy initialization of global static objects
gansm Aug 7, 2023
ed9bbcb
Added an event loop unit test for the Monitor class
gansm Aug 13, 2023
55b4cee
Unit test updates
gansm Aug 20, 2023
c546fba
Unit test updates
gansm Aug 21, 2023
8b10a07
Cygwin build fix for gcc 11.4
gansm Aug 21, 2023
11a78fe
Unit test updates
gansm Aug 21, 2023
b0a3377
Unit test updates
gansm Aug 22, 2023
81ee143
Unit test updates
gansm Aug 23, 2023
4411891
Unit test updates
gansm Aug 24, 2023
54a025b
Unit test updates
gansm Aug 25, 2023
140f984
Unit test updates
gansm Sep 8, 2023
f68f4b2
Unit test updates
gansm Sep 9, 2023
4a4258c
Unit test updates
gansm Sep 9, 2023
170ab3c
Replace "void *" with meaningful type FData
gansm Sep 15, 2023
591d544
Replace "void *" with meaningful type FData
gansm Sep 15, 2023
13194bd
Replace "void *" with meaningful type FData
gansm Sep 15, 2023
dcaadb4
Better direct access to FCharAttribute type
gansm Sep 17, 2023
1e88fbc
Better direct access to FCharAttribute type
gansm Sep 17, 2023
07b8bbe
Better direct access to FCharAttribute type
gansm Sep 17, 2023
2b2249c
Better direct access to FCharAttribute type
gansm Sep 17, 2023
e6b90de
Better direct access to FCharAttribute type
gansm Oct 1, 2023
0206262
C-style array to std::array
gansm Oct 2, 2023
a5a2cc1
C-style array to std::array
gansm Oct 2, 2023
20bcb9c
Eliminate undefined behavior on exit
gansm Oct 2, 2023
6b7b65e
Added a generic backend monitor for the event loop to monitor user-sp…
gansm Oct 5, 2023
9c24c4c
Added a generic backend monitor for the event loop to monitor user-sp…
gansm Oct 5, 2023
e419874
Bugfix: Bottom transparent shadow changes were registered in wrong row
gansm Oct 7, 2023
a547d48
Many small code improvements
gansm Oct 14, 2023
fbb7309
Switch to a readers-writer lock for the timer list
gansm Oct 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/coverity-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:

- name: Install dependencies via apt-get
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get -y install \
ca-certificates \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
brew install autoconf-archive
brew install pkg-config

- name: Build
- name: Test on macOS
run: |
autoreconf -v --install --force
./configure --prefix=/usr
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/netbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uname -a
whoami
pwd
export PKG_REPOS="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/9.0_current/All/"
export PKG_REPOS="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/.9.0_current/All/"
sudo -E pkgin clean
sudo -E pkgin update
# https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/index-all.html
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/solaris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ jobs:
uses: vmactions/solaris-vm@v0
with:
prepare: |
pkg install gcc-7
pkg publisher solaris
beadm list
pkg info entire
pkg list -af entire
pkg list -af gcc-7
pkg install -v --accept developer/gcc-7@7.3.0-11.4.0.0.1.14.0
pkgutil -y -i automake autoconf autoconf_archive libtool pkgconfig libcppunit1_12_1 libcppunit_dev gsed ggrep
mem: 4096
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
gcc \
g++ \
gpm \
git \
wget \
unzip \
libgpm-dev \
Expand All @@ -57,6 +58,8 @@ jobs:
unzip -q "sonar-scanner-cli-${LATEST_VERSION}-linux.zip" -d "/tmp" || echo
echo "sonar.host.url=https://sonarcloud.io" >> /tmp/sonar-scanner-*/conf/sonar-scanner.properties
mkdir /tmp/sonar-cache
chmod +x /tmp/sonar-scanner-${LATEST_VERSION}-linux/jre/lib/jexec
chmod +x /tmp/sonar-scanner-${LATEST_VERSION}-linux/jre/lib/jspawnhelper
autoreconf -v --install --force
./configure --prefix=/usr
/tmp/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir bw-output make all
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ examples/choice
examples/.deps/
examples/dialog
examples/event-log
examples/eventloop
examples/fullwidth-character
examples/hello
examples/highlight-text
Expand Down Expand Up @@ -74,6 +75,10 @@ final/dialog/.depend
final/dialog/.deps/
final/dialog/.dirstamp
final/dialog/.libs/
final/eventloop/.depend
final/eventloop/.deps/
final/eventloop/.dirstamp
final/eventloop/.libs/
final/input/.depend
final/input/.deps/
final/input/.dirstamp
Expand Down Expand Up @@ -103,6 +108,7 @@ final/widget/.depend
final/widget/.deps/
final/widget/.dirstamp
final/widget/.libs/
m4/
test/.deps/
test/.libs/
test/*_test
20 changes: 20 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
2023-10-14 Markus Gans <guru.mail@muenster.de>
* Switch to a readers-writer lock for the timer list

2023-10-07 Markus Gans <guru.mail@muenster.de>
* Bugfix: Bottom transparent shadow changes were registered in wrong row

2023-10-03 Markus Gans <guru.mail@muenster.de>
* Eliminate undefined behavior on exit

2023-09-17 Markus Gans <guru.mail@muenster.de>
* Better direct access to FCharAttribute type

2023-06-04 Markus Gans <guru.mail@muenster.de>
* Added support for a tiltable scroll wheel. This allows you to scroll
the context of widgets left and right in an xterm

2023-05-31 Markus Gans <guru.mail@muenster.de>
* Fix setFormatedNumber() in FString for separator > 127
(e.g. non-breaking space)

2023-05-18 Markus Gans <guru.mail@muenster.de>
* Version 0.9.0

Expand Down
8 changes: 7 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,22 @@ AC_CHECK_FUNCS( \
geteuid \
getttynam \
select \
sigaction \
strdup \
strstr \
timer_create \
timer_settime \
vsnprintf \
wcwidth )


# Checks for 'tgetent'
AC_SEARCH_LIBS([tgetent], [terminfo mytinfo termlib termcap tinfo ncurses curses])
# Checks for 'tparm'
AC_SEARCH_LIBS([tparm], [terminfo mytinfo termlib termcap tinfo ncurses curses])
# Checks for 'timer_create'
AC_SEARCH_LIBS([timer_create], [rt])
# Checks for 'timer_create'
AC_SEARCH_LIBS([timer_settime], [rt])

AC_SUBST([FINAL_LIBS])
AC_SUBST([TERMCAP_LIB])
Expand Down
201 changes: 1 addition & 200 deletions doc/FDialog.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
221 changes: 1 addition & 220 deletions doc/final-cut-application-structure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading