Commit graph

17 commits

Author SHA1 Message Date
Christoph Neidahl
e08399156a
Haiku support (#596)
* Don't apply Wayland videodriver workaround on Haiku

* dirent.d_type-less type detecting in IGFD

The Dumb Way(tm). `stat`'s `st_mode` should be nicer?

* CMake check for dirent.d_type, stat-based fallback

* Move config dir setup to separate function

Nicer to work with than macro kerfuffle.

* Default sysFileDialog to off on Haiku

* Logging stuff

* Honour CMAKE_INSTALL_BINDIR

* Use find_directory on Haiku

Includes forgotten configPath line when home==NULL.

* Address PR review notes
2022-07-23 22:11:30 -05:00
tildearrow
64f5343289 I give up trying to fix this file dialog
for now
2022-06-15 02:03:20 -05:00
tildearrow
051cd6e966 fix another fucking IGFD crash bug 2022-05-25 00:10:01 -05:00
OPNA2608
3d00e1d784 Fix WIN32 define timing in IGFD
When the compiler hits IGFD, WIN32 is only set if standard extensions are enabled. (Why?)
IGFD identifies Windows via WIN32 instead of _WIN32. (Why?)

- WIN32 is needed for #ifdef-gated Windows-specific methods in the header & code files.
  - There's fallback code in the code file to set WIN32 if _WIN32 or __WIN32__ is set.
    - Which is hit *after* the header gets included, so the header doesn't expose required methods.
      -> Boom, error!

Workaround by moving the fallback into the header.
2022-05-08 00:34:20 +02:00
tildearrow
e8c9b645c5 GUI: implement instrument preview in file dialog
SADLY it's just for the built-in file dialog
but i'll think of a solution for the external one
2022-04-25 18:58:17 -05:00
tildearrow
6bca347254 maybe BUG 2022-03-13 17:29:43 -05:00
tildearrow
ef0e19413c ok so fix the file dialog 2022-02-22 22:41:37 -05:00
tildearrow
4122238a4a aaaaaaaaaaaaa 2022-02-22 21:54:25 -05:00
tildearrow
fa5a732b68 GUI: extensions no longer case-sensitive
fixes #154
2022-02-08 23:13:54 -05:00
tildearrow
ba08d3515f GUI: fix several file dialog bugs
damn it
2022-02-01 02:52:36 -05:00
tildearrow
82d8728ca1 force minimum size on file picker 2022-01-31 15:03:10 -05:00
tildearrow
352441449d fix not able to enter dirs with non-Latin chars 2022-01-30 23:30:13 -05:00
tildearrow
06dfb7e803 dirent: use custom UTF-16 to UTF-8 converter
see issue #22
files/dirs with non-Latin chars are displayed after this commit
they still do not load though, but a fix is guaranteed
2022-01-20 04:52:20 -05:00
tildearrow
797ffd62da GUI: center file picker and limit to win size 2022-01-20 00:31:36 -05:00
tildearrow
f32f079ef8 fix more crashes on the file dialog
oh yes, the wonders of dealing with this useless broken file dialog.
honestly I didn't think it was broken to this point...

and no, I don't want to use the **other** file dialog as it requires
C++17 which is too ahead of time
2022-01-19 15:03:33 -05:00
tildearrow
2ea2faf9c0 make the file dialog undockable 2021-12-17 00:26:33 -05:00
tildearrow
e8ac2947ab prepare for the GUI! 2021-12-11 02:10:09 -05:00