YJSoft
c5ff5a3ce9
fix #3234 native open window crash problem at OSX
...
since default_filename will be null at opening(code set default_filename only at save), setting filePath with default_filename will raise exception.
Fixed by setting filePath, basename only at save(since two vars only used at creating nameFieldStringValue) and setting directory with initial_directory at opening.
2016-04-04 07:25:33 +01:00
Michał Janiszewski
331f9fe03b
Secure memory accesses, initialise variables
2016-04-01 09:38:40 +02:00
Michał Janiszewski
7eeb59b1aa
Update Linux file dialogs
2016-03-31 20:41:51 +01:00
Gymnasiast
0b78653a10
Make Zenity pick up the first filter
2016-03-31 20:41:50 +01:00
IntelOrca
3fdf0d4bf6
re-introduce appending of extension to filename
2016-03-31 20:41:49 +01:00
LRFLEW
0f88beff7c
Converted OSX native file dialog to new standard
2016-03-31 20:41:48 +01:00
IntelOrca
d865e4d453
pass better data in struct to file dialog function
2016-03-31 20:41:47 +01:00
IntelOrca
1daa657657
fix #3091 : Korean words corrupted if over byte limit
2016-03-10 18:48:00 +00:00
Chanwoong Kim
f05da9d312
Disactive IME when text input ends
2016-03-03 22:34:08 +09:00
Chanwoong Kim
6df34c13aa
Fix a bug that IME did not disappeared after typing korean on osx
2016-03-03 22:34:06 +09:00
IntelOrca
c8015cab92
fix #3010 : extension not added on native save file dialog
2016-03-01 21:46:00 +00:00
Ted John
795bc0d471
Merge pull request #3065 from YJSoft/fix-xp-ttf-load
...
Fix windows xp ttf font loading problem
2016-03-01 17:47:56 +00:00
YJSoft
cee035c9cb
fix windows xp font loading problem
...
no need to cat because Fonts path must start with `C:\`
2016-03-02 00:32:28 +09:00
Chanwoong Kim
be83e1a33f
Show Korean IME
2016-03-01 22:54:52 +09:00
Michał Janiszewski
aa8437cb9d
Minor fixes
2016-02-26 20:49:01 +01:00
Michał Janiszewski
6b514d1e3a
Fix possible issues highlighted at higher warn levels
...
Mostly possibly uninitialized values and signedness
2016-02-26 12:54:00 +01:00
IntelOrca
b0887f174b
split sound and music mixing correctly, closes #1270
2016-02-24 22:42:50 +00:00
Gymnasiast
7c33ff502b
Don't use hardcoded filter pattern conversions
2016-02-21 22:13:22 +01:00
Gymnasiast
21cb7a948b
Make 'All files' translatable
2016-02-21 18:42:55 +01:00
Gymnasiast
efe73b08dc
Fix the file dialog on Linux being case sensitive
2016-02-21 18:28:23 +01:00
IntelOrca
4617a52e53
improve dirty block performance
2016-02-20 00:23:58 +00:00
IntelOrca
13921111f3
remove old RCT2 cursor code and RCT2 error location variable
2016-02-16 20:30:43 +00:00
Alexander Overvoorde
316abb1df9
Change screenshot logic to use palette that is actually used for rendering ( fixes #2925 )
2016-02-15 03:23:47 +01:00
Michał Janiszewski
2ebb691e71
minor fixes
...
* initialize variables properly
* fixes to handling of zenity/kdialog on Linux
* remove unnecessary call
2016-02-14 21:06:44 +01:00
Ted John
703e9c3153
Merge pull request #2839 from anyc/develop
...
Linux: use zenity or kdialog to show user dialogs
2016-02-13 12:15:41 +00:00
IntelOrca
19d1338834
ensure input string is terminated when pasting
2016-02-12 22:43:23 +00:00
Ted John
a9ba5eadd5
Merge pull request #2910 from Overv/automatic-player-name
...
Change default player name to use the OS username if available (resolves #2761 )
2016-02-12 00:04:22 +00:00
Alexander Overvoorde
05c1aabc39
Move fallback name logic out of platform_get_username
2016-02-12 00:31:23 +01:00
Alexander Overvoorde
65f25f8340
Get fallback player name from language files
2016-02-10 22:46:25 +01:00
Alexander Overvoorde
a5b47a8481
Change lmcons.h include capitalization (breaks mingw)
2016-02-10 22:33:39 +01:00
Alexander Overvoorde
4f0fc1065b
Change to more reliable way to access username on posix
2016-02-10 21:59:38 +01:00
Alexander Overvoorde
75b072d266
Change default player name to use the OS username if available ( resolves #2761 )
2016-02-10 21:49:41 +01:00
Alexander Overvoorde
417f78b3ea
Use proper UTF-8 handling for formatting code detection
2016-02-10 19:52:36 +01:00
Alexander Overvoorde
5adb18528e
Fix user being able to enter formatting characters ( fixes #2892 )
2016-02-09 21:31:01 +01:00
anyc
fb1c6b22ba
Linux: use zenity or kdialog to show user dialogs
2016-02-09 21:27:57 +01:00
Michał Janiszewski
80ad302087
Allow user to use NN scaling at integer scales
...
While linear/anisotropic filtering introduces in previous commit looks
good at non-integer scales, using it at integer scales may make screen
look unnecessarily blurry. This commit introduces an option to use NN
scaling at integer values of scale.
2016-02-01 21:19:26 +01:00
Michał Janiszewski
18ec2238a2
Allow runtime selection of render quality hint
...
This change allows to pass render quality hint to SDL in runtime. While
using hardware display, SDL can hint the renderer to use linear or
anisotropic filtering, which can deliver a better experience when using
non-integer scale value.
2016-02-01 21:18:15 +01:00
anyc
ffafd07c90
use enum to specify file dialog type
2016-01-29 19:03:09 +01:00
Fabio Ka
d193e9f3b3
Change msgbox flags/log on Linux to "warning"
2016-01-29 19:01:00 +01:00
Fabio Ka
6b2b6e476c
Add message box on Linux platforms
2016-01-29 19:00:36 +01:00
LRFLEW
44dd98135d
Regain window focus on OS X file dialog close
2016-01-23 17:25:32 -07:00
Michał Janiszewski
3bf1e0e06d
Rename safe_strncpy to safe_strcpy
2016-01-18 20:49:52 +01:00
Michał Janiszewski
5bc330f8db
Minor fixes, mostly posix.c
2016-01-18 20:48:41 +01:00
Ted John
391bea67bb
Merge pull request #2634 from oslerw/develop
...
Add /usr/local/share to search path for data files
2016-01-16 14:49:34 +00:00
William Osler
60920a2d10
Add /usr/local/share to search path for data files
...
`/usr/local` should be examined before `/var/lib,` since it allows for
overriding data files that might come from the package manager.
2016-01-15 22:47:12 -05:00
IntelOrca
cdee534eb1
use SDL2's platform defines to normalise platform guards
2016-01-14 20:12:43 +00:00
Marijn van der Werf
0825b9bf62
Share currency detection across platforms
2016-01-13 21:38:10 +01:00
Marijn van der Werf
452acd7627
Set minimal window size
2016-01-13 19:55:35 +01:00
Ruben De Smet
e9ed444387
Implement singleton locking for POSIX.
2016-01-11 14:33:19 +01:00
Ruben De Smet
afc89195aa
Remove stub from posix.c:platform_get_drives
2016-01-11 14:33:19 +01:00