564 Commits

Author SHA1 Message Date
David Vierra
d39ef4136a Graphics: Add Vines 2012-12-02 18:10:03 -10:00
David Vierra
b1a962679e Graphics: Add upside-down slabs. 2012-12-02 16:59:14 -10:00
David Vierra
ea7580dd0e Graphics: Add upside-down stairs. 2012-12-02 16:51:02 -10:00
David Vierra
2c7a6575b3 Fixed: Open worlds read-only when populating the main menu world list. 2012-12-02 03:28:28 -10:00
David Vierra
25dc17389d Fixed: Paste brush now refreshes the correct area. 2012-12-01 15:50:14 -10:00
David Vierra
83a08cb84f Worlds in the world select screen and levels being imported are now opened read-only.
Submodule pymclevel:
    > ce70e8b - Fixed: Dimensions check the parent world's session instead of creating their own. (xxx)
    > 1540076 - Added: Infinite worlds can now be opened read-only. This doesn't acquire the session lock.
    > 4d1d968 - Catch struct errors when checking session lock.
    > e0f1ca1 - Fixed: Session lock is checked before all chunk writes.
2012-12-01 15:49:54 -10:00
David Vierra
b19c64dca0 Catch errors while importing filters and show an alert. 2012-11-30 22:57:43 -10:00
David Vierra
ab541ed9ed Merge fixes for pull request #149 2012-11-30 16:51:28 -10:00
David Vierra
4bdbc94578 Catch SessionLockLost errors during operations and show an alert. 2012-11-30 16:50:54 -10:00
David Vierra
80a8459c1e Catch and ignore EnvironmentErrors when drawing chunks and tool reticles and getting reticle positions. 2012-11-30 16:50:54 -10:00
David Vierra
2da6feba48 focusPair can't be None, but it can be (None, None) 2012-11-30 16:50:53 -10:00
David Vierra
8bdc3266ae Fixed: Check blockFaceUnderCursor isn't None when drawing selection reticle. 2012-11-30 16:50:53 -10:00
David Vierra
f0113a1864 Fixed: Catch IO/OSErrors while finding the block under the cursor. 2012-11-30 16:50:52 -10:00
KaboPC
c30527bae5 Fix potential nonetype error
Add a check in get_text_and_insertion_data to prevent a possible NoneType crash.(cherry picked from commit 056dbec8e9efebd0d9663034a8dffc95d26986dd)
2012-11-30 16:50:25 -10:00
KaboPC
d1de57d6b5 Update get_text_and_insertion_data to return within bounds
get_text_and_insertion_data should now always only return values within the bounds of textL(cherry picked from commit d289baaf4d8ee416f9618e19eb98c8ecef27944f)
2012-11-30 16:50:24 -10:00
KaboPC
20e7acd5d2 Fix index out of bounds in get_text_and_insertion_data
Check size of textL before accessing.(cherry picked from commit db25b4131f3c042b3edc824550a2724433ea5b76)
2012-11-30 16:50:23 -10:00
David Vierra
3bf6868464 #86 Specify python version in hashbang line. 2012-11-30 12:30:29 -10:00
David Vierra
9bcac3b3ac Close the main window before pausing the command window. 2012-11-30 12:24:31 -10:00
David Vierra
f789cb8c8e Submodule pymclevel updated.
Submodule pymclevel:
    > 761c742 - Info: Count chunks in unsavedWorkFolder when showing "Saved # chunks" and show dimension number also.
    > de36a8d - Fixed: Chunks loaded from temp folder must be marked dirty to ensure they get saved.
0.1.6build335
2012-11-29 17:28:37 -10:00
David Vierra
7ed6b2189f Debug: Don't send the exception message for UnicodeEncode/Decode errors.
This makes them show up in exceptional as the same error when they have the same traceback.
2012-11-28 19:07:58 -10:00
David Vierra
5d102c794f Debug: Only show self's class name in tracebacks. 2012-11-28 19:04:26 -10:00
David Vierra
3744b040d6 Fixed: Undo folders are now process-specific. 2012-11-28 19:00:59 -10:00
David Vierra
e620a4abee Submodule pymclevel updated.
Submodule pymclevel:
    > fa45876 - Fixed: Mistake in BoundingBox.expand
2012-11-28 15:58:42 -10:00
David Vierra
620f5a072e Debug: When exiting with an error, the command window waits instead of closing immediately. 2012-11-28 01:11:20 -10:00
David Vierra
b3e020f488 Submodule pymclevel updated.
Submodule pymclevel:
    > 7cdcc2b - Fixed: Raise ChunkMalformed for errors reading the data and instantiating the AnvilChunkData also.
    > 603e412 - Fixed: Make sure chunk data is at least 5 bytes long for the chunk header.
2012-11-27 00:39:23 -10:00
David Vierra
d35d0009c7 Also catch and display EnvironmentErrors when applying updates. 2012-11-27 00:24:34 -10:00
David Vierra
636b1b46e7 Fixed: Shift-clicking with Brush tool draws straight lines again 2012-11-27 00:19:11 -10:00
David Vierra
58dbd00ab9 #177 Print version number with error traceback. 2012-11-26 22:02:40 -10:00
David Vierra
be1362252f Remove repr of user info from crash reports. 2012-11-26 15:41:28 -10:00
David Vierra
d7fdb2b104 Fixed: #177 release.get_version now tries to use 'git describe' to provide a commit ID when running from source 2012-11-26 15:16:11 -10:00
David Vierra
66fcc0b199 Fixed: Change a print to a logging call to suppress an encoding error. 2012-11-26 14:00:01 -10:00
David Vierra
566a10da4f Debug: Include LANG and sys.getfilesystemencoding in error reports.
Also use an ordered dict to preserve env order.
2012-11-26 13:59:27 -10:00
David Vierra
aa6a9524e6 Fixed: TypeError in frustum.visible1
Was calling builtin sum() and any() when numpy's routines are needed.
2012-11-26 12:04:19 -10:00
David Vierra
2a1a6aafa7 Merge pull request #149 2012-11-26 01:51:52 -10:00
KaboPC
8bf1695154 Update filter.py for wrapped text and keyworded string input
Updated filter.py to used the new TextFieldWrapped class; added keywords for defining TextFieldWrapped line, width, and default value attributes to replace strValSize, strVal, and strSize optionTypes.

String input fields can now defined with:

("optionName", "string")
OR
("optionName", ("string", "lines=", "width=", "value="))
Conflicts:
	editortools/filter.py
2012-11-26 01:51:14 -10:00
KaboPC
cdea40b4b3 Add Wrapped Field classes to ALBOW package
Adds three classes to fields.py based on original ALBOW fields, but designed handle multiline and wrapped text.
2012-11-26 01:30:34 -10:00
David Vierra
5056ce0def Fixed: #186 Ctrl+W shortcut doesn't provide a "cancel" option. 2012-11-25 19:28:54 -10:00
David Vierra
32a179967b Fixed: Undo works again when editing Classic, Indev, and Schematic formats. 2012-11-25 19:28:01 -10:00
David Vierra
304728131f Fixed: UnicodeDecodeError while checking for updates.
Esky retrieves the version numbers as unicode strings and joins them to the given exe path, so pass that path as unicode also.
2012-11-25 18:46:35 -10:00
David Vierra
85e80e8287 Merge pull request #153 2012-11-25 13:56:40 -10:00
David Vierra
0fe66a03b8 Fixed: Check session.lock before saving the level. 2012-11-25 12:36:31 -10:00
David Vierra
8b5146cb5c Submodule pymclevel updated.
Submodule pymclevel:
    > dfed650 - Fixed TypeError in extractChunks.
0.1.6build329
2012-11-24 15:59:32 -10:00
David Vierra
e19c086a8d Fixed: Remove calls to glWindowPos which caused errors on some Intel chipsets. 2012-11-24 13:21:28 -10:00
David Vierra
73b835f685 Debug: Disallow importing a level into itself to avoid overwriting its temporary folder. 2012-11-24 13:14:41 -10:00
David Vierra
8db69e5734 Remove keypress logging 2012-11-23 02:44:54 -10:00
David Vierra
2d0bcee26c Fixes #185 - Access Violation on Intel chipsets 0.1.6build327 2012-11-22 22:52:02 -10:00
David Vierra
8fc21a6c57 Readme: Add package names for Ubuntu Linux. 2012-11-22 14:29:43 -10:00
David Vierra
1a7d4af2f2 Logging: On OS X , save log file into ~/Library/Logs instead of burying it inside the app bundle. 2012-11-22 14:28:54 -10:00
David Vierra
160210bb9a Disable extra noisy event logging. 2012-11-21 21:56:00 -10:00
David Vierra
81b682d728 Undo records are stored in a dedicated temp directory which is deleted on exit. 2012-11-21 21:39:28 -10:00