George Hilliard
4a765cc91f
Unify inconsistent notifyListener() logic
...
Previously, this function required a `queueEmptied` bool, which I changed
to `queueRunning`. But I goofed the logic on this bool; it should
always be "is `processing` nullptr."
2018-10-29 10:52:06 -05:00
Flössie
1d0c128209
Fix Windows build ( #4892 )
2018-10-28 19:35:31 +01:00
Flössie
5906329485
Review IdleRegister
( #4892 )
...
This turns `IdleRegister::add()` into a template function to make the
provided function pointers type safe. It also adds a `delete_data`
parameter to manage the provided data pointer even in `destroy()`.
2018-10-28 13:12:01 +01:00
George Hilliard
8a6e0a7f19
Cleanup from code review
2018-10-26 01:46:30 -05:00
George Hilliard
7d5fe6d1c8
Reenable batch queue interface on queue length notification
...
This removes the need for canStartNext() to do any UI updates.
2018-10-26 01:18:42 -05:00
Flössie
2125f42116
Turn almost all Listeners into abstract interfaces
2018-10-09 20:32:40 +02:00
Hombre
fe2f45dff2
Merge branch 'dev' into 32b-tiff-output-cli
2018-07-22 18:14:38 +02:00
Morgan Hardwood
522495f4eb
Icon cleanup #4469 #3547
...
Rebased in new branch to cleanup commit history.
2018-07-13 18:13:35 +02:00
Hombre
30efa5930d
16-bit floating-point support for TIFF output image (see #2357 )
2018-05-07 09:57:53 +02:00
Hombre
3fe9cae2c3
Merge branch 'tiff32float' into dev
2018-01-08 21:47:14 +01:00
Flössie
e58cecbf06
Try to fix most warnings in the OBS builds ( #4284 )
2018-01-08 18:17:12 +01:00
Hombre
ee2c8f01e0
Merge branch 'dev' into tiff32float
2018-01-01 15:24:00 +01:00
Alberto Griggio
b589254d21
Moved "Copy metadata unchanged" to PP3, and added "strip metadata" mode
...
Fixes #3647
2017-12-29 23:03:44 +01:00
Alberto Griggio
bc8b8902e6
make rtengine::processImage return an Imagefloat instead of an Image16
...
This is for supporting saving to 32-bit float TIFFs
2017-11-20 00:10:51 +01:00
heckflosse
5ddd42f721
Faster png save with still good compression, fixes #4045
2017-11-18 12:56:37 +01:00
Flössie
071e19bfd9
Don't access job
in BatchQueue::saveBatchQueue()
( fixes #4183 )
2017-11-17 16:43:17 +01:00
johenning
06fd003858
Fixed indentation
2017-08-27 21:27:23 +02:00
johenning
9e6888070d
Added check to avoid out of bounds access
2017-08-26 16:02:36 +02:00
johenning
9579203a99
Fixed double backslash case
...
If the first two symbols in the path are backslashes, we should not treat them like a single backslash, as one refers to root and the other to a network path.
2017-08-26 15:55:00 +02:00
heckflosse
a0b6ee9058
Fix broken PowerPC build
2017-06-25 23:48:54 +02:00
heckflosse
db0d3c6ec9
Fixes #3387 , Add to queue does not work / crash RT on modern Windows when files are in a folder which's name contains special characters (e.g. Zdjęcia)
2017-06-20 11:28:01 +02:00
Ingo Weyrich
3ff2519302
Merge pull request #3816 from Beep6581/cppcheck3
...
Merged to get more tests. Additional fixes will follow.
2017-04-09 23:58:07 +02:00
heckflosse
92a46e9a3d
Merge branch 'idle_harder' into dev
2017-04-09 02:18:09 +02:00
heckflosse
6e55f6bab5
Fixed a lot of issues reported by cppcheck 1.78
2017-04-08 22:41:46 +02:00
Alberto Griggio
27e822fdae
fixed more warnings in rtgui (reported by gcc but not clang)
2017-04-01 16:43:32 +02:00
Flössie
f114b1151f
Merge branch 'dev' into idle_harder
2017-03-30 21:44:31 +02:00
Flössie
91b44dbd08
Replace all g_idle_add
s with IdleRegister
( #3767 )
2017-03-26 22:03:33 +02:00
Alberto Griggio
44505ccb08
some enhancements of the Fast Export functionality
...
- remember fast export options across RT sessions
- added option to use a dedicated "Fast Export" pipeline, trading speed for
quality (resizes early instead of at the end)
2017-03-08 22:55:08 +01:00
Alberto Griggio
93296cff17
continuing with my experiments on an alternative "fast export"
2017-03-08 00:50:50 +01:00
Flössie
79ff7f5997
Replace all add_idle()
s with IdleRegister
2017-02-10 21:22:42 +01:00
heckflosse
b16ef8d1f5
Merge master into gtk3
2016-10-28 17:59:47 +02:00
Flössie
0731975ff0
Apply modernize-use-nullptr
...
Setup:
- `mkdir tidy; cd tidy`
- `cmake .. -DCMAKE_BUILD_TYPE=debug -DPROC_TARGET_NUMBER=1 -DCACHE_NAME_SUFFIX=4 -DBINDIR=. -DDATADIR=. -DBUILD_BUNDLE=ON -DWITH_LTO=OFF -DOPTION_OMP=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`
- `cd ..`
- `find -name '*.cc' -exec clang-tidy-3.8 -header-filter=.* -p=tidy -fix-errors -checks=modernize-use-nullptr {} \;`
2016-10-12 17:48:40 +02:00
Morgan Hardwood
040962c1b7
Merge branch 'master' into gtk3
2016-07-09 23:49:31 +02:00
heckflosse
c8779c04f5
Fix all - 2 cppcheck performance hints
2016-07-06 13:04:24 +02:00
heckflosse
2710bcdcec
Fix a warning and a crash
2016-07-02 23:03:58 +02:00
Morgan Hardwood
93360770e1
Merge branch 'master' into gtk3
2016-07-02 19:51:15 +02:00
heckflosse
4236fd0545
Add milliseconds to queue params file, fixes #3363
2016-07-01 13:33:05 +02:00
Adam Reichold
a04c7706db
Merge branch 'master' into 'gtk3'
2016-03-05 13:11:00 +01:00
Adam Reichold
ad45ba6df1
Remove one last instance of the obsolete PROTECT_VECTORS macro that was accidentally reintroduced during rebasing.
2016-02-21 10:45:25 +01:00
Adam Reichold
a2eea7c265
Finally fully remove the safegtk module.
2016-02-21 10:26:11 +01:00
Adam Reichold
bcda68f6e0
Remove the last safe directory listing functions.
2016-02-21 10:12:56 +01:00
Adam Reichold
747a28014b
Begin removing simple pass-through wrapper for POSIX-style file system functions from safegtk module.
2016-02-21 10:07:57 +01:00
Beep6581
e8cfea9fb5
Merged master into gtk3
2016-02-14 19:37:14 +01:00
Adam Reichold
b6ffe04c46
Try to fix #3131 by opening the batch queue CSV file in binary mode to prevent any unwanted implicit text codec conversion on Windows.
2016-02-05 21:20:25 +01:00
Beep6581
f5d5083be6
Merged master into gtk3, manually copied rtgui/threadutils.h over from master
2016-01-31 00:00:28 +01:00
Adam Reichold
17d9309f1c
Remove PROTECT_VECTORS option since either program is correct without locking or it is not, especially since std::vector is definitely not thread-safe on all major platforms.
2016-01-30 20:39:54 +01:00
Beep6581
fc339a2fea
Merged master into gtk3
2016-01-30 16:00:53 +01:00
Adam Reichold
260e1f808f
Fix #3113 by changing the destruction order in the batch queue, so that the accelerator group reference-counted pointer is destructed after the menu to silence the otherwise resulting Gtk+ RTTI warnings.
2016-01-26 21:53:36 +01:00
Beep6581
8c67765341
Merged master 55fc921 into gtk3 676a444
2016-01-24 17:39:34 +01:00
Adam Reichold
9a0d19ac24
Fix #3104 , i.e. the batch queue context menu, by binding a reference instead of the initial value of the vector.
2016-01-17 16:32:03 +01:00