Commit Graph

146 Commits

Author SHA1 Message Date
Pan7 1f40723a78 Replace deprecated gtk_menu_append 2017-05-16 12:25:41 +02:00
Pan7 31c24a875f Make menus more consistent with ellipses 2017-05-10 23:26:29 +02:00
TTimo e4a1a3c850 Merge branch 'InvalidMiscModelFix' of https://github.com/Mateos81/GtkRadiant into Mateos81-InvalidMiscModelFix 2017-05-07 16:11:11 -05:00
Christophe Mateos fba3bd3f4d Merge remote-tracking branch 'refs/remotes/TTimo/master' into InvalidMiscModelFix
# Conflicts:
#	plugins/entity/entity_entitymodel.h
2017-05-04 21:27:04 +02:00
Timothee "TTimo" Besset 0f345cf728 Merge pull request #474 from Pan7/FixAbsWarn
Fix abs warning
2017-04-28 07:16:05 -05:00
Pan7 a7f7a59422 Fix abs warning 2017-04-28 13:59:41 +02:00
Pan7 3f87271ea6 Fix extraneous parentheses warning 2017-04-27 21:03:13 +02:00
Pan7 0402765f7b Replace deprecated gtk combo 2017-04-24 16:32:26 +02:00
Timothee "TTimo" Besset 0a965b80d6 Merge pull request #447 from Pan7/plugwidget
Add plugin parent widget
2017-04-22 12:50:28 -05:00
Timothee Besset 0a03a455c3 fix win32 msvc build - this should be tested more often, really 2017-04-16 21:28:07 -05:00
Timothee Besset 3de5e43b8f Merge branch 'surfmainwin' of git://github.com/Pan7/GtkRadiant into Pan7-surfmainwin 2017-04-15 13:17:56 -05:00
Pan7 c34edd31b9 Add plugin parent widget 2017-04-04 22:54:03 +02:00
Pan7 cc75513546 Main app window for surface plugins 2017-03-31 13:56:34 +02:00
Pan7 aeaa370f09 Left align for the text of Labels 2017-03-28 09:29:11 +02:00
Pan7 e9aa6a836f More Dialog improvements 2017-03-26 17:09:18 +02:00
Pan7 c2e44c532a Dialog improvements 2017-03-23 09:37:50 +01:00
Pan7 626c2ef7cd More gtk i81n 2017-03-16 12:40:56 +01:00
Pan7 bdb1c3abaa Replacing deprecated GTK functions 2017-03-15 11:58:36 +01:00
Timothee "TTimo" Besset 044c0b6156 Merge pull request #430 from Pan7/axialcrash
Fix axial button click crash
2017-03-12 12:43:03 -05:00
Timothee "TTimo" Besset f3f2e0262f Merge branch 'master' into gtk-i81n 2017-03-12 12:42:16 -05:00
Timothee "TTimo" Besset cb1e21565b Merge pull request #429 from Pan7/gtkimpro
gtk improvements
2017-03-12 12:41:24 -05:00
Pan7 74a1d9bc17 Fix axial button click crash 2017-03-12 03:25:26 +01:00
Pan7 26f4bd0f4f gtk i81n 2017-03-10 23:03:03 +01:00
Pan7 9f22a81a64 gtk improvements 2017-03-10 22:44:05 +01:00
Pan7 afca61523a Use GTK2 events 2017-03-04 18:36:21 +01:00
Triang3l f8ad8f2550 Support grayscale RLE TGA images 2017-02-26 18:19:07 +03:00
Timothee Besset ed15d78e2b tweak previous 2017-02-25 15:26:17 -06:00
Timothee "TTimo" Besset 3248d4adc5 Merge pull request #407 from Pan7/fixvfswad
Adjusting vfswad filename extraction
2017-02-25 15:24:34 -06:00
Pan7 3f13802fe4 Adjusting vfswad filename extraction 2017-02-24 23:32:44 +01:00
Pan7 a6cf9ff3e4 Fix gcc warning pixbytes may be used uninitialized in this function 2017-02-24 22:07:29 +01:00
TTimo a26c818a1e remove the old .vcproj 2017-01-01 09:08:37 -06:00
Pan7 0b38ff0e5b Fix gcc warning suggest explicit braces to avoid ambiguous 2016-08-21 12:02:15 +02:00
Pan7 c5b717254c Fix compiling warning for wad 2016-08-17 08:45:14 +02:00
Thomas Köppe 3b2fb7f27e [unzip.c{,pp}] Change zc{alloc,free} to internal linkage 2016-08-03 15:53:59 +01:00
TTimo 282c13d5ed fix compilation 2016-06-19 16:09:00 -06:00
Timothee "TTimo" Besset c918a29cd0 Merge pull request #352 from Pan7/Sys_FPrintf
Using Sys_FPrintf with SYS_WRN and SYS_ERR
2016-06-11 13:01:13 -05:00
Pan7 5105fc5db8 Using Sys_FPrintf with SYS_WRN and SYS_ERR 2016-05-16 21:20:20 +02:00
Timothee "TTimo" Besset 376eb6c0ac issue #343 - was purging the wrong model from cache, causing pointers to freed memory 2016-04-24 16:50:11 -05:00
Timothee Besset b36b3ba4b6 Visual Studio 2015 on debug configs too 2016-04-24 14:52:52 -05:00
Mateos81 b298a72b25 Merge remote-tracking branch 'refs/remotes/TTimo/master' into InvalidMiscModelFix 2016-03-12 20:07:23 +01:00
Timothee Besset 5ed4d02c78 more Visual Studio 2015 conversion 2015-12-24 19:21:23 -06:00
Mateos81 3027776243 Make NULL models rendered as a box, and selectable (were already editable)
TODO:
- Handle the case "Model not found".
- Add relevant console prints.
- Fix glitchy-looking selected box.
2015-11-11 11:56:29 +01:00
Zack Middleton 5debf960e3 Include errno.h in plugins/vfspk3/vfs.cpp 2015-11-08 17:42:11 -06:00
TTimo 48369d78f9 - Convert to Visual Studio 2015
- Drop STLPort
- Rebuild libxml2 binaries, update project files accordingly
- Rebuild jpeg-9 binaries
2015-11-07 23:44:49 -06:00
Timothee "TTimo" Besset 11272e6462 Merge pull request #320 from Pan7/errnoh
Missing errno.h header
2015-10-04 12:02:35 -05:00
Pan7 509a9632a2 Missing errno.h header 2015-10-04 12:12:03 +02:00
Pan7 124b4c035b Error description for file accesses that fail 2015-08-09 15:40:41 +02:00
Alex Lo fcefc8b9de Fix crash when deleting a misc_model
The following sequence of events and conditions will cause a segfault to
occur:

1. Delete a misc_model
2. Undo the delete
3. Delete the same model again
4. Undo the delete

A segfault will occur in CEntityMiscModel::Draw when m_model is
dereferenced as it has been deleted and cleared.

When cloning the misc_model entity, a new CEntityMiscModel is created and
the name is set. However, CEntityMiscModel::BuildCacheRequestString relies
on all epairs to be present before being able to generate the *correct*
request string for the misc_model. Not doing so will cause incorrect
behaviour - in this case, the reference count for the CEntityMiscModel is
decremented one too many times and causes the object to be deleted. The
misc_model object is then used later on after it has been freed.

This commit fixes the problem by copying all epairs, before firing the
OnKeyValueChanged events. This way, all epairs will be available when
BuildCacheRequestString is called.
2015-07-21 00:08:31 +01:00
Eric Wasylishen 01f7a979ae vfswad: lowercase the wad name at load time, because queries from map/parse.cpp come in as lowercase 2015-05-26 21:23:29 -06:00
Timothee "TTimo" Besset d12e955133 wtf. better 2013-11-26 16:11:55 -06:00