Eugene Sandulenko
2b3af190db
GRAPHICS: Fix potential rounding errors in the h/v thick line drawing
2016-08-25 12:18:11 +02:00
Filippos Karapetis
102fe0be9f
GRAPHICS: Fix discrepancy in the thick line drawing function
...
The shortcuts for horizontal and vertical lines should draw the extra
thickness pixels around the line, not below it or to the right
2016-08-25 11:57:08 +03:00
Eugene Sandulenko
a5b97a989c
DIRECTOR: Fix numerous crashes on destruction
2016-08-25 10:22:20 +02:00
Eugene Sandulenko
03cf470082
FULLPIPE: Fix if() condition
2016-08-25 09:14:47 +02:00
Eugene Sandulenko
5a6428aac2
FULLPIPE: Restore original tangled logic in stopAnim_maybe
...
The compiler was super-optimizing there, and my initial untangling
was incorrect. Restoring it with nasty goto's and will fix it later
once we have enough test cases.
2016-08-25 09:10:32 +02:00
Eugene Sandulenko
8a3ee2261d
DIRECTOR: Remove now redundant image width correction table
2016-08-25 08:19:05 +02:00
Paul Gilbert
58df8d72f0
TITANIC: Implemented CBedhead class
2016-08-24 23:40:02 -04:00
Paul Gilbert
25e977f81d
TITANIC: Compilation fix for CMissiveOMat
2016-08-24 21:33:42 -04:00
Paul Gilbert
e81e3aefde
TITANIC: Implemented CMissiveOMat class
2016-08-24 21:20:03 -04:00
Paul Gilbert
456ed17671
DEVTOOLS: Add MissiveOMat message data to create_titanic
2016-08-24 21:19:37 -04:00
Willem Jan Palenstijn
866f0a6257
DIRECTOR: Clean up padding in image decoding
2016-08-25 02:59:52 +02:00
Willem Jan Palenstijn
6890948f74
DIRECTOR: Improve decoding compressed images
2016-08-25 02:46:08 +02:00
Willem Jan Palenstijn
224704ec88
DIRECTOR: Try to simplify uncompressed detection heuristic
2016-08-25 01:32:12 +02:00
Eugene Sandulenko
3f1f3c5c1e
DIRECTOR: More heuristics for 1bpp image decoding. Courtesy of wjp.
2016-08-25 01:16:03 +02:00
Paul Gilbert
e733f8113f
TITANIC: Implemented more game classes
2016-08-24 18:42:32 -04:00
Eugene Sandulenko
faf52df065
DIRECTOR: Fix horizontal coordinate calculation in 1bpp uncompressed
2016-08-24 23:24:07 +02:00
Eugene Sandulenko
381e8fc51d
WAGE: Fix think line drawing, as pointed by md5
2016-08-24 23:23:47 +02:00
Eugene Sandulenko
35243a235a
DIRECTOR: Implemented uncompressed 1bpp pictures. Works sometimes
2016-08-24 22:40:35 +02:00
Colin Snover
71294a8a98
SCI32: Remove extra ! in error message
2016-08-24 15:23:30 -05:00
Colin Snover
64f4ad4ad5
SCI32: Fix incorrect boolean operator
2016-08-24 15:22:55 -05:00
Colin Snover
1b6ea78216
SCI32: Remove error check for negative celNo
...
Negative cel numbers are exploited by at least the hi-res mode of
PQ4CD.
2016-08-24 15:21:42 -05:00
Walter van Niftrik
e228b088c6
ADL: Set hires #1 , #2 and #0 to TESTING
2016-08-24 21:05:22 +02:00
Retro-Junk
1111b24eea
FULLPIPE: Fix direction calculation in MctlGraph::getLinkDir
2016-08-24 20:43:22 +02:00
Alexander Tkachev
368f664c81
COMMON: Fix WriteStream::pos() once again
...
MemoryReadWriteStream now returns int32, not uint32. It actually doesn't
ever return -1 to indicate that an error occured, so uint32 was a better
choice, but that's what is used in WriteStream base class now.
That method is abstract, so that's also why OutSaveFile had to override
it.
2016-08-24 16:24:16 +06:00
Alexander Tkachev
ea360ef8f2
TITANIC: Fix OutSaveFile usage
2016-08-24 16:07:55 +06:00
Peter Bozsó
02a997e468
CLOUD: Remove unused includes
2016-08-24 16:07:55 +06:00
Alexander Tkachev
97cf2be7ef
CLOUD: Update LocalWebserver
...
Reader now reads headers into stream, and some checks are added there
and in UploadFileClientHandler, so if headers are too long, they are
treated as bad request.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
dc02a789b6
CLOUD: Use forbidden combinations
...
I accidentally tried "folder../" instead "folder/../" and understood
that I made "folder../" forbidden too, though it's a valid folder name.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
8a1cca896e
CLOUD: Update handlers
...
Now if there is no "rootpath" specified, it's not even listed by
FilesPageHandler and ListAjaxHandler. And, of course, not available to
use anywhere else.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
faf849012c
CLOUD: Add GUI for "rootpath" selection
...
Cloud tab now contains a button to select path, path label and a clear
button.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
acfa1d1f10
CLOUD: Handle paths in marked places
...
Paths containing '../' are forbidden to use in Files Manager. There is
also a special inner black list of paths which are not used and a check
that specified path is under "savepath" or "rootpath" (from "cloud"
domain).
2016-08-24 16:07:55 +06:00
Alexander Tkachev
dd9e5a95dc
CLOUD: Mark places where path handling is needed
2016-08-24 16:07:55 +06:00
Alexander Tkachev
126fe9c845
CLOUD: Add "minimal mode" in LocalWebserver
...
StorageWizardDialog now runs LocalWebserver in "minimal mode" for
security reasons. In this mode server uses only those handlers which
state to support it.
There are two handlers which support minimal mode: IndexPageHandler
(which handles `code` requests needed by StorageWizardDialog) and
ResourceHandler (which provides inner resources like `style.css` or
`logo.png` from `wwwroot.zip` archive).
2016-08-24 16:07:55 +06:00
Peter Bozsó
a1de322c18
CLOUD: Use overriden handle() instead of ClientHandlerCallback in page handlers
...
Using a dedicated callback object for this was an unnecessary overhead.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
712410496e
CLOUD: Fix UploadFileClientHandler
...
It now redirects user on success not only when file was the last field
in the content, but also when it was uploaded already and Handler worked
further to search for more files.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
4f0c071e53
CLOUD: Add custom User-Agent
...
Full version is used like in Eugene's Google Analytics stub. Plus, on
PS3 that string contains "PlayStation", and that would be cool to know
that ScummVM+libcurl+PS3 work together.
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
0558ba423c
CLOUD: Fix warnings
2016-08-24 16:07:55 +06:00
Peter Bozsó
64b361b335
CLOUD: Move determineMimeType to ResourceHandler
2016-08-24 16:07:55 +06:00
Peter Bozsó
b68bd78b44
CLOUD: Remove unused removePathHandler(), make addPathHandler() private
2016-08-24 16:07:55 +06:00
Peter Bozsó
9665719b66
GUI: Set tooltip of local webserver button according to server state
2016-08-24 16:07:55 +06:00
Alexander Tkachev
37859a9203
CLOUD: Fix Requests
...
Remove unnecessary JSON warnings, fix a few places.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
bb529e6fd0
CLOUD: Update SavesSyncRequest
...
Add JSON checks in the callback.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
d5aca1f4fa
CLOUD: Update OneDriveUploadRequest
...
More JSON checks.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
fc8e29d583
CLOUD: Update OneDrive
...
Added JSON checks.
New jsonContainsObject() method added to CurlJsonRequest.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
d34b9b91ad
CLOUD: Update GoogleDriveUploadRequest
...
JSON checks in callback.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
a381e06fda
CLOUD: Update GoogleDriveStorage
...
More JSON checks in callbacks.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
b3aa9f663f
CLOUD: Update DropboxUploadRequest
...
JSON checks.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
364c74df93
CLOUD: Update DropboxStorage
...
JSON checks added.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
6be736b5ed
CLOUD: Update Dropbox Requests
...
Adding more JSON checks there.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
a2e0199727
CLOUD: Update BoxUploadRequest
...
More JSON checks there.
2016-08-24 16:07:55 +06:00