ENIGMA Forums

Contributing to ENIGMA => Developing ENIGMA => Topic started by: Goombert on October 02, 2014, 07:00:40 PM

Title: LateralGM 1.8.6.844
Post by: Goombert on October 02, 2014, 07:00:40 PM
(http://i.imgur.com/8KESwXA.png)(http://i.imgur.com/HXwF8Nz.png)
(http://i.imgur.com/YhUeyhw.png)(http://i.imgur.com/iIggMvP.png)

This is a preliminary minor release of a major build for LGM with a number of bug fixes.

You can download the new jars from the Extra Packages page.  I have also updated the hashes so install.py should also fetch the new jars if you prefer to use the script. I have decided to not include this in a new Portable ZIP until everyone has had the chance to test the changes.
NOTE: You will need to update both the new plugin and LateralGM jars!!!
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

Change Log
Regressions that were introduced in and then fixed in this version are not listed here.

1) Asking to save changes should now be conditional and only show if you have actually made changes. You can also make changes, run your game, see the changes reflected without having closed the frame, close the game and still be able to revert the frame.
https://github.com/IsmAvatar/LateralGM/issues/53
https://github.com/IsmAvatar/LateralGM/issues/152
2) Game Information frame now properly recognizes changes, it will not complain unless you have actually changed a property or edited the document.
https://github.com/IsmAvatar/LateralGM/issues/14
3) Constants frame has been partially fixed, it had several bugs in its revert methods and what not, it should now properly detect changes as well.
4) Enigma Settings have been more integrated with Game Settings, you should no longer see the node in the tree and the Game Settings frame should now also now properly recognize changes to Enigma Settings.
https://github.com/IsmAvatar/LateralGM/issues/153
5) Non-instantiable resources should now have the proper references after reloading and creating new projects.
https://github.com/IsmAvatar/LateralGM/issues/23
6) Tree filter has been redesigned to be a little less bloated looking.
7) The X button on resource frames no longer commits twice.
https://github.com/IsmAvatar/LateralGM/issues/151
8) Fixed exception when clicking on tile tree under the "Edit" tab if no tiles exist. Also fixed a similar exception for instances.
https://github.com/IsmAvatar/LateralGM/issues/93
9) Keyboard shortcuts have been moved to a properties file where they can be customized more easily, though we need to still work out external files and user modification.
https://github.com/IsmAvatar/LateralGM/issues/147
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/messages/keyboard.properties
10) Search feature implemented, it will search all arguments of every action of a script, shader, object, timeline, room, or instance and the nodes open the resource frame and select the appropriate event, moment, or action and open the correct code frame. Clicking on result nodes will also focus the correct line in the corresponding code editor or focus the correct argument entry field on an action frame. Directory structure is maintained and there is also a context menu that can be used to select all nodes and copy them to the clipboard to share search results.
https://github.com/IsmAvatar/LateralGM/issues/119
https://github.com/IsmAvatar/LateralGM/commit/f4a3b96999b126e176645e26429ffa97bca0477f
https://github.com/IsmAvatar/LateralGM/commit/f9972c256b27e325a84529dbd69f63890cfa04ac
https://github.com/IsmAvatar/LateralGM/commit/a101690e5cdb6ade74779935c43fc8b4009947a6
https://github.com/IsmAvatar/LateralGM/commit/51ea5711f8187ea9e0c561d2a715c77bfe324a75
https://github.com/IsmAvatar/LateralGM/commit/12e74190326422074da1a9b60453503364f7fe74
https://github.com/IsmAvatar/LateralGM/commit/a16b89b386925d9ba5de7db67cb153f31e558ce5
https://github.com/IsmAvatar/LateralGM/commit/3ec1050391b287f56d525ba2daa1e1ec27a1457f
11) Fix for bold nodes, there was an unreported issue where new children of bold nodes would become bold once you started renaming them, we now format the node with HTML instead to give it the bold effect.
https://github.com/IsmAvatar/LateralGM/commit/2610f4244d89cdac4dcae6489d5d754e91e70522
12) Fixes Look and Feel bug for "Windows Classic" it's a known UI bug, just had to set the property in our look and feel code.
https://github.com/IsmAvatar/LateralGM/commit/f4a3b96999b126e176645e26429ffa97bca0477f
13) Fixed Look and Feel bug for the regular native "Windows" look and feel, this will not be applied unless you explicitly state this LNF over the "Native" one, it stops the buttons from being cut off.
https://github.com/IsmAvatar/LateralGM/commit/f4a3b96999b126e176645e26429ffa97bca0477f
14) Removes one touch expandable splitters, they have been replaced with a more common software implementation, double clicking will toggle their expanded or collapsed state, no need to spend hours in frustration hitting tiny little buttons.
https://github.com/IsmAvatar/LateralGM/commit/f4a3b96999b126e176645e26429ffa97bca0477f
15) Maximized state of the window will no longer be lost when changing look and feels from preferences, I was repacking the frame which I shouldn't have been doing.
https://github.com/IsmAvatar/LateralGM/commit/f4a3b96999b126e176645e26429ffa97bca0477f
16) Fix syntax check button from appearing multiple times on a code frame, action frame, or script frame. The issue was the subframeAppeared being fired when the frame is already visible, I simply added a parameter that tells us whether the frame was previously visible in determining whether to add the syntax check buttons.
https://github.com/IsmAvatar/LateralGM/commit/47cd8e6863cec8bdc403077c19b93ca6fd17b51a
https://github.com/enigma-dev/lgmplugin/commit/418a7f4ed8ae7455db69a5d448d232e1e6a472a2
17) Adds greater than or equal to and less than or equal to as options to action_if_variable as well as other actions that Studio forgot to; you will need to fetch changes from enigma-dev until the Portable ZIP is updated.
https://github.com/IsmAvatar/LateralGM/issues/118
https://github.com/enigma-dev/enigma-dev/issues/849
18) Old GM files will now scan their rooms and automatically flag the setting "Used as tileset" for backgrounds that are used as tiles in any room (committed by sorlok). This effectively prevents them from being unusable.
https://github.com/IsmAvatar/LateralGM/pull/154
19) Game Information text alignment is now properly saved and works at runtime as well.
https://github.com/IsmAvatar/LateralGM/issues/91#issuecomment-58131802
20) Fixed printing dialogs on both Game Info and Resource Info frames, they work exactly as expected and I've tested them. No print preview exists yet, but I've requested it, though Studio also does not have it and you can also preview by printing to OneNote.
https://github.com/IsmAvatar/LateralGM/issues/155
https://github.com/JoshDreamland/JoshEdit/issues/9
21) Added external look and feel support, please see accompanying tutorial post.
https://github.com/IsmAvatar/LateralGM/commit/a12aab573ed190aeea75a5bcc7f0d5e49ad6e16d
http://enigma-dev.org/forums/index.php?topic=2283.0
22) Improved the main zoom tool for the Sprite and Background editor, the calculation was wrong. It will now properly center around points.
https://github.com/IsmAvatar/LateralGM/issues/87
23) Fixed loading exception dialog, it was not properly displaying the stack trace. It was also showing multiple dialogs, and there was an issue in the GMX reader. Additionally I made the populateTree method check to see if a node of the registered types already exist, what this means is if you have an error trying to load your project you won't end up with a duplicated tree.
https://github.com/IsmAvatar/LateralGM/commit/907c58d3093e90fcd1776a0452e361e5c396f70e
24) Fixed exception in the Room Editor when icon is missing.
https://github.com/IsmAvatar/LateralGM/commit/67892a0be78a8301572f5e6c772ab4860c8353ee
25) Swing Icon Pack is no longer included in the jar, nobody wanted to maintain it and LGM only needs 2 default icon packs, 1 nice looking one and a contrasting version of it for dark themes.
https://github.com/IsmAvatar/LateralGM/commit/59a5233b2ad90bc8aea5e3926f54c901d0be3a78
26) Fixed an issue with custom icon packs, the custom path should not have caused the icon pack option to always be overriden, I had the implementation backwards and intended for the internal jar location to be used when the custom user path did not actually exist.
https://github.com/IsmAvatar/LateralGM/commit/d696eb226024b45135719fd1fceefb288fd9bcc4
27) Fixed exception reported by Josh caused when centering instances in the room editor that do not have sprites.
https://github.com/IsmAvatar/LateralGM/commit/a941309fb67f8bbbfb015b70f701bd17aee6435f
28) Fixed a painting exception in the ImageToolTipUI occurring when hovering over resource menus.
https://github.com/IsmAvatar/LateralGM/issues/158
29) Fixed an issue where certain look and feels would cause the main frame to overlap the toolbar on Windows on some platforms, and yes this also includes the default Swing look and feel. https://github.com/IsmAvatar/LateralGM/commit/3329a3abbae19f6bdaa0d7df6ea841119acb1690
30) You can also use a custom background image for LGM's window area now, create a file called "lgmbackground.png" in the "lookandfeels" folder next to lateralgm.jar and the image should be applied during the splash screen when you load. The following is a link to LGM's dark background.
https://github.com/IsmAvatar/LateralGM/commit/eb8fd916690fc17098fab6ef189f785261902efb
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/main/lgmbackgrounddark.png
31) Fixed long existing PropertyLinkFactory disposal issues that were propagating into race conditions in multiple editors. ResourceFrames now dispose of them automatically, custom PLF's will need to be disposed by overriding the frame dispose method.
https://github.com/IsmAvatar/LateralGM/commit/8662754845f35486315f178d63c56135cfe9352d
32) Fixed a mistake made in Game Information that caused its little settings window to create its controls twice.
https://github.com/IsmAvatar/LateralGM/commit/35e3f35ddcd615eaa3b799c23b20f834ad981643
33) Simple JoshEdit print support added, word wrapping is not yet supported just like Studio. Printing interface is designed to be Java/AWT/Swing compliant and implements the standard feature set.
https://github.com/JoshDreamland/JoshEdit/pull/14
https://github.com/IsmAvatar/LateralGM/commit/6bffacb07b99465840fb8de806395bf2f1f14df6
34) Exception reporting has been improved for file loading errors, GmFormatException and ProjectFormatException were essentially throwing away half of the stack trace.
https://github.com/IsmAvatar/LateralGM/commit/c78f55713ab9f1cae4d24e1e722bdc08aa0ce69f
35) Fixed horizontal and vertical snap properties in the GMX writer where they were being written backwards.
https://github.com/IsmAvatar/LateralGM/commit/e3cebad0e345e9364ed6b1b424b7ea0bf639d3c4
36) Fixed transitivity in some toolbars.
https://github.com/IsmAvatar/LateralGM/commit/befdc03419ad05f438ba956e34b16272438df92e
https://github.com/IsmAvatar/LateralGM/issues/124
37) Window decorations can now be disabled, this means the look and feel will not be able to decorate the window border if you don't want it to, this required fixing the toolbar transitivity first.
https://github.com/IsmAvatar/LateralGM/commit/e86d680d5ede0bdd1f42112c5add1ecb4af6c8c5
38) Hardware acceleration is no longer forced off, there are now preferences to force OpenGL or Direct3D on or off or let the Java system decide and there is a similar preference for antialiasing of control fonts. The JVM will detect if your hardware supports hardware accelerated rendering so I recommend keeping the settings left at "default" but for those of us that do have the capable graphics hardware this will seriously improve the speed of rendering for LGM. Testing sprite animation playback was a lot smoother and higher frequency once I implemented the preference to stop forcing it off for everyone, it also reduced CPU and RAM usage significantly.
https://github.com/IsmAvatar/LateralGM/commit/ec03f8a16da9f4bb8799b729043ba78d7c048271
https://github.com/IsmAvatar/LateralGM/commit/b86360a18862a77e8b5809b7ee51fa031a584ee4
39) Fixed a component transparency issue caused when using *.lib action libraries from GM, they were supposed to be taking the transparency color from the bottom left corner.
https://github.com/IsmAvatar/LateralGM/commit/ae0dc208a0b4bdc2fdd436c66403fcafb2ab5d7d
https://github.com/IsmAvatar/LateralGM/issues/161
40) Fixed the EventPanel layout, it was setting it before actually laying out the components causing it to look incorrect under certain look and feels, specifically the new dark one.
https://github.com/IsmAvatar/LateralGM/commit/42828a931c3c948f973314b6876d2ac50fc8cd3f
41) Fixed an old mistake I made in the Game Settings frame mixing up the DESCRIPTION and INFORMATION properties.
https://github.com/IsmAvatar/LateralGM/commit/6d581dd3ddd221073102f5862e10aa64adebf83d
42) Switching look and feels no longer breaks layouts, I have a special wrapper class for this.
https://github.com/IsmAvatar/LateralGM/commit/ea3cb9d31770650e20a315c525f491cb28b14173
43) Stopped a look and feel change from readding the icons to the Preferences tree, just had to make a custom class as a wrapper and basically an empty shell to fix it.
https://github.com/IsmAvatar/LateralGM/commit/ea3cb9d31770650e20a315c525f491cb28b14173
44) The MDI area scrollbars are now only shown when needed, so when you maximize a frame they will not be visible, just like normal MDI managers and the one in GM8.1, giving just a little more space on screen.
https://github.com/IsmAvatar/LateralGM/commit/f995c9b91a94dc09877cf75ce15b2ed3789d6f73
45) Icon reading exception fixed by sorlok for some ico files that have empty/fake masks.
https://github.com/IsmAvatar/LateralGM/commit/304937f4ab31a3efae10f221feab29518f291879
https://github.com/IsmAvatar/LateralGM/issues/163
46) Implemented undo and redo to the action list editors you can undo multiple actions such as move, cut, copy, paste, delete, and clear. The only thing that does not yet get undone is changes to the actions values, not even recognized yet as an undo operation.
https://github.com/IsmAvatar/LateralGM/commit/ed00e3885c1a6015ae0060a59cc20711865750b2
https://github.com/IsmAvatar/LateralGM/commit/f06e70a5157b9112ab47bb4f94d6d35ca6527156
https://github.com/IsmAvatar/LateralGM/commit/5f7ff9b3ce49ac37757981f95a354b490fe3fb4b
47) Fixed exceptions for some file open dialogs when you enter a filename for a file that does not exist. This needs further cleaned up.
https://github.com/IsmAvatar/LateralGM/commit/e5785eff85ced88d09e6ce4389c1228e5b849dee
48) Added APNG loading to the sprite and background editor, the file extension will need to be ".apng" for LGM to load all the subimages from it, or it will think it's a regular PNG. It can be used to mix GIF's and APNG's in the sprite editor. This required moving the APNG reader/writer from the plugin to LGM.
49) Added line numbers to the action list editor that uses the default UI colors for now.
https://github.com/IsmAvatar/LateralGM/commit/303dcc656e03ebe115c77461ac935bee04a73c6d
50) Added a save button to the sprite and background frames, the sprite frame will save the selected subimages or if none are selected it will save all subimages, in order for it to be animated you will obviously have to save to an animated format such as APNG, GIF writing currently does not support multiple subframes. A dialog will also be displayed warning you if haven't yet created an image for the sprite or background.
https://github.com/IsmAvatar/LateralGM/commit/337081b85d4b212c51d12f2bcf5261bef0e14224
51) Fixed a typo in the GMX reader that was causing room persistence to not be read properly.
https://github.com/IsmAvatar/LateralGM/commit/978f1fda054a49d265e51ab0d64f1771547b4255
52) Load dialogs will now verify that the file exists and if it does not it will warn you to verify the file name. You will see this on all file dialogs, including the one for loading projects, images, sprites, game information, etc.
https://github.com/IsmAvatar/LateralGM/commit/4239d4caa97becf095a78ecf28b01249f9b90673
53) Added confirm overwrite dialog to JoshEdit and LGM file choosers when saving files to disk.
https://github.com/IsmAvatar/LateralGM/commit/f152da04b3430ac5a19b614ddcb2acd16fd570ee
54) Temporarily patched an issue that caused the language preference to not explicitly override the operating system locale, though I am currently waiting for IsmAvatar to see if she would like it fixed differently because I have another solution that is just as easy. This issue was reported by egofree.
https://github.com/IsmAvatar/LateralGM/commit/14ecabc1d953199ca026f5a36fa4f18be04f3221
https://github.com/IsmAvatar/LateralGM/issues/169
55) You can now preview icon files when loading them. We broke Christian Trebel's ICOReader when we originally ported it by automatically closing the stream, this is incompatible when plugging it into ImageIO, you need to close the stream manually. So that is fixed, but also I double checked to make sure streams were not left open from game info and elsewhere and properly closed the streams where they needed to be.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
56) ICO files can now be loaded by the background and sprite editors, the sprite editor will load all layers.
https://github.com/IsmAvatar/LateralGM/commit/020ab9e23792728863d7b79f7b8102467968a485
57) Prefix options have been full implemented, you do not need to restart they take immediate effect, adding new resource types also doesn't require updating the preferences frame anymore, it is generated dynamically.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
58) Game icon and version information have been fully moved to the Platforms/Windows tab in Game Settings, Project Information is now fully implemented as well so information and description are properly distinguished now. Other platform settings are soon to follow.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
59) Made the layout for physics options on the object frame more compact and correct.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
60) Fixed a race condition between messages, preferences, and resource kinds which was necessary to implement prefix preferences. So the tree groups can be translated again.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
61) Increased the default room size a bit, default size is way too small.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
62) Added missing separators to some resource frames
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
63) Symbols are translated again for the object frame, so no double semicolons will appear under the French translation.
https://github.com/IsmAvatar/LateralGM/commit/3d7163ece15d20b8166464d40ed4b479a43fbe39
64) Added translations for messages that were not translated before.
https://github.com/IsmAvatar/LateralGM/commit/14ecabc1d953199ca026f5a36fa4f18be04f3221
65) Switched the executable file chooser to use the LGM CustomFileChooser, so it will now ask you whether to overwrite files when you save an executable and things like that.
https://github.com/enigma-dev/lgmplugin/commit/6e03fe2a3699128822c82a9871671f4f790c0e69
66) Stopped the sprite frame subimage selection from going out of bounds when clicking a button, the last frame will still be properly previewed.
https://github.com/IsmAvatar/LateralGM/commit/3d1842c5981fec8a81395dcc94093a974a7b2c1f
67) Fixed issues where the checkered patterns for image previews were not resizing without closing and reopening the resource frame, this was caused by me caching the image without checking if the size changed.
https://github.com/IsmAvatar/LateralGM/commit/3d1842c5981fec8a81395dcc94093a974a7b2c1f
68) Image effects frame implemented and 12 basic effects including Colorize, Intensity, Outline, Emboss, Black and White, Invert Color, Remove Color, Remove Transparency, Sharpen, Blur, Opacity, and Edge detection. The little green spray paint can icon on the sprite and background frame will open the image effects frame. For sprites you can apply it to all selected subimages, otherwise just select 1 subimage, if no subimages are selected it will be applied to every subimage.
https://github.com/IsmAvatar/LateralGM/commit/c2388c0b4efea5a1f571092f050bd7a076abc605
https://github.com/IsmAvatar/LateralGM/commit/020ec6d7efbcc5b95ad9cfaa1e5c52bffb8642d2
https://github.com/IsmAvatar/LateralGM/commit/c45c1aa5dcf872398a7b6d35ec70ae9fb8385087
https://github.com/IsmAvatar/LateralGM/commit/a662aacbc0b5569754729d9266e242314547979b
https://github.com/IsmAvatar/LateralGM/commit/c64fba1edc448393ff80599ed20404e905675593
69) A fix was included by egofree for the GMX writer to give all tiles unique names using the id, which works with Studio though is less hash-like. A similar fix was previously included for instances by myself.
https://github.com/IsmAvatar/LateralGM/commit/c6f7a9d9e56646c2a1a85c54d148e030c957be1f
70) Fixed exception in instance list of the room editor when selected instance has a non-existant object reference. For example you create an instance of an object and then delete the object resource, the instance becomes of unlinked.
https://github.com/IsmAvatar/LateralGM/commit/fe40e656d1a577d0556d29505aad3fe8548f1dac
71) Moved transparency functions, such as for checkered patterns, to Utility class.
https://github.com/IsmAvatar/LateralGM/commit/b00c81e5fe5b78218d271f65309c954b335e461c
72) Moved the current tile layer above the tabs and other changes include removing the now useless "Batch" tab
https://github.com/IsmAvatar/LateralGM/pull/179
https://github.com/IsmAvatar/LateralGM/pull/182
https://github.com/IsmAvatar/LateralGM/pull/185
73) Fixed depth issue to make sure the selected instance/tile is always visible
https://github.com/IsmAvatar/LateralGM/pull/186
74) Fixed a tile moving bug
https://github.com/IsmAvatar/LateralGM/issues/183
75) Added rectangular selections tools
https://github.com/IsmAvatar/LateralGM/pull/189
76) Added cut, copy, paste functionality to the room editor
https://github.com/IsmAvatar/LateralGM/pull/192
Title: Re: LateralGM 1.8.6.5
Post by: TheExDeus on October 03, 2014, 06:23:29 AM
In the new search feature "Matches" are number of lines where the word is found. Not the number of found words (which is what Matches seems to imply). Like "ball = ball2;" while searching "ball" will returns "1 Match" even though it will highlight both of them as it should. But I really like that representation. Can't wait until we can search in objects. :) And then we could actually use this tree structure to also open events.
Title: Re: LateralGM 1.8.6.5
Post by: Goombert on October 03, 2014, 06:25:28 AM
Glad you like the features Harri! I am working hard to improve LGM.

PS: Thanks for editing your big ass error log out of your post.
Title: Re: LateralGM 1.8.6.5
Post by: egofree on October 03, 2014, 06:38:27 AM
Excellent news !  :)  (Y) These features are really useful, especially the new search function. Here is my first impression :

- I prefer the new search toolbar, it's looks less bloated than before.
- The search icon is ok, but i would prefer a magnifying glass without the book behind.
- Would it be possible to add a key shortcut for the search button ? (enter key)
- When clicking on the search button, let's display the search results tab if it's not already visible. Right now it's now visible that the search results has been completed if you are on the 'Resources' tab.
- I hope that next you will add the possibility to open the script windows in the search results.

Keep up the excellent work Robert !  :)
Title: Re: LateralGM 1.8.6.5
Post by: IsmAvatar on October 03, 2014, 08:54:55 AM
Additional note after a very brief chat with Josh:
* Please hide the ["Resources","Search Results",etc] tabs when not searching.

Quote
a preliminary minor release of a major build
I believe we call that a release candidate
Title: Re: LateralGM 1.8.6.6
Post by: Goombert on October 06, 2014, 10:48:05 AM
Alrighty you guys, I've rolled out another release, the directory structure in search results is now maintained and the nodes are clickable, it will also search shaders now, or should anyway. There is additionally a context menu for you to copy the results to your clipboard too. I've changed some other things as well like making the split dividers double click expandable, so read back over the change log.

Additionally I've fixed the classic Windows look and feel, the MDI frame buttons will no longer be cut off, same with the regular Windows look and feel. You will have to explicitly set these look and feels over "Native" from the preferences window though because I was afraid the fixes may look funny on XP.

(http://i.imgur.com/PISGtBb.png)

Quote from: egofree
- The search icon is ok, but i would prefer a magnifying glass without the book behind.
I am not to sure about this suggestion because we want it to be fundamentally different the find and replace behavior. Also we use the magnifying glass for zoom, and binoculars for Find & Replace. I am also seeking to expand LGM's external modification abilities to allow things like customizing the default icon packs.

Quote from: egofree
- Would it be possible to add a key shortcut for the search button ? (enter key)
Quote from: egofree
- When clicking on the search button, let's display the search results tab if it's not already visible. Right now it's now visible that the search results has been completed if you are on the 'Resources' tab.
Right now I have enter assigned to open the selected nodes frame, I think we may be able to go with both of your suggestions instead however since ALT+Enter is actually already mapped to open the resource frame as well.

Quote from: IsmAvatar
* Please hide the ["Resources","Search Results",etc] tabs when not searching.
I'll look into before we reach the stable release.

Quote from: TheExDeus
In the new search feature "Matches" are number of lines where the word is found.
I still haven't fixed this yet but I know exactly what you mean, it's showing the number of lines that have matches not the actual number of matches.
Title: Re: LateralGM 1.8.6.6
Post by: egofree on October 06, 2014, 02:27:02 PM
I think i've found a bug : i load a project and i do a search, then i load another project, but the search results is still there with the previous results, and if i click on a result node, the script window of the old project is displayed. Shouldn't we reset the 'Search results' when a new project is loaded ?
Title: Re: LateralGM 1.8.6.6
Post by: egofree on October 06, 2014, 02:33:08 PM
If you click several times on the same result node, something very strange happens : the script toolbar and status bar get corrupted :

(http://nsa34.casimages.com/img/2014/10/06/141006093634221639.png)
Title: Re: LateralGM 1.8.6.6
Post by: egofree on October 06, 2014, 02:35:56 PM
By the way, i guess it's not yet implemented, but it would be very useful in the script window to set the cursor on the selected line.
Title: Re: LateralGM 1.8.6.6
Post by: TheExDeus on October 06, 2014, 03:20:35 PM
That syntax check button spamming happened before as well. You could replicate it by just opening scripts all the time. I don't think I ever reported it, but I assumed others might have noticed it too.
Title: Re: LateralGM 1.8.6.6
Post by: Goombert on October 06, 2014, 04:58:42 PM
egofree, I guess I should reset the search results, yeah. I was going to leave them be because I didn't think they hurt anything, but that's really weird they would still be able to open. I am getting around to making the result nodes also recognize scope, I mentioned that in the change log.

Also, Harri is right the syntax check button can break without the search feature in the same exact way, I was able to reproduce the issue and I'll try to get it fixed, I don't know what's causing it yet.

Edit: The syntax button is an easy one, it's just a simple frame/plugin issue, if you close and reopen the frame it's fine. I've uploaded a patch, please check the extra packages page for both jars.
Title: Re: LateralGM 1.8.6.62
Post by: egofree on October 07, 2014, 02:23:08 AM
The bug for the syntax check button is gone. Thanks Robert !
I know it's work in progress, but it would be useful in the next update to search also in the 'Execute a piece of code' actions.

Edit:
I tried to copy a search result line in the clipboard. It copies the search keyword, but not the whole line. Is this normal ? For instance, i've searched 'global.active_region', and i've the following line : 'global.active_region[2,HEIGHT]=604;'. When i paste this line, i've only 'global.active_region'.
Title: Re: LateralGM 1.8.6.62
Post by: Goombert on October 07, 2014, 11:47:25 AM
Hmm, I don't seem to have that issue ego, try using CTRL+C instead of the context button, because the context button has stopped working for me, I'll have to fix. I also noticed the search results tree needs placed in a scroll panel.
Title: Re: LateralGM 1.8.6.62
Post by: egofree on October 07, 2014, 01:14:09 PM
The arrows buttons work only for the 'Resources' tab. What about doing the same for the 'Search results' tab ?

I think the following modification would improve the user interface : instead of having a 'Search results' tab in the resources panel, what about having a panel only for the search results ? For example, let's have a horizontal panel at the bottom of the main window (as in Eclipse or Notepad++). Every time the user is doing a new search, a new tab would be added in this panel. Each tab would be 'closable'. This means we could have several 'Search results' available, and the user would see very easily that a new search results has been completed. What do you think of my proposal ?
Title: Re: LateralGM 1.8.6.65
Post by: Goombert on October 07, 2014, 08:16:06 PM
Alright I've added scrollbars and fixed the context menu copy action, please test it again. Additionally since ALT+Enter also opens resources when typing in the search bar, I made regular Enter by itself perform the search and automatically open the search results tab as you suggested egofree.

Quote from: egofree
The arrows buttons work only for the 'Resources' tab. What about doing the same for the 'Search results' tab ?
The arrow buttons are really only useful when the tree is not filtered, the search results tab is always filtered so every node is pretty much a result node, buttons are pretty much useless in that context.

Quote from: egofree
I think the following modification would improve the user interface : instead of having a 'Search results' tab in the resources panel, what about having a panel only for the search results ? For example, let's have a horizontal panel at the bottom of the main window (as in Eclipse or Notepad++). Every time the user is doing a new search, a new tab would be added in this panel. Each tab would be 'closable'. This means we could have several 'Search results' available, and the user would see very easily that a new search results has been completed. What do you think of my proposal ?
I had already thought of that but I felt it detracted too much from the idea of it being a reconstructed resource tree. The tree is also likely to have more vertical than horizontal dimension given a large number of results. It would be better to have a docking framework where you could pop it out and look through because it's honestly likely to be big both vertically and horizontally. Let's just focus on getting it finished first.
Title: Re: LateralGM 1.8.6.65
Post by: egofree on October 08, 2014, 02:10:31 AM
Additionally since ALT+Enter also opens resources when typing in the search bar, I made regular Enter by itself perform the search and automatically open the search results tab as you suggested egofree.

Are you sure ?  I downloaded the latest version, and the enter still opens a resource.
Title: Re: LateralGM 1.8.6.65
Post by: egofree on October 08, 2014, 02:13:43 AM
By the way, i was wondering if it would be useful to add 'expand all' and 'shrink all' buttons in the search tool bar. When there is a lot of results, it is annoying to expand every node to see each result.
Title: Re: LateralGM 1.8.6.65
Post by: egofree on October 08, 2014, 02:17:09 AM
The tree is also likely to have more vertical than horizontal dimension given a large number of results.

That's right, but at the same time the horizontal dimension is better to view long lines in the results tree.
Title: Re: LateralGM 1.8.6.65
Post by: egofree on October 08, 2014, 02:19:52 AM
Alright I've added scrollbars and fixed the context menu copy action, please test it again.

Yes, the copy bug is fixed.  (Y)
Title: Re: LateralGM 1.8.6.65
Post by: gra on October 08, 2014, 05:10:24 AM
problem with update of lateral gm of seven hour ago
when i try to close lateral gm in mint 17, and the program not close
Code: [Select]
Operating System: Linux,
Version: 3.13.0-24-generic
Architecture: amd64

Java Vendor: Oracle Corporation
Version: 1.7.0_65

Available processors (cores): 4
Free memory (bytes): 92440176
Maximum memory (bytes): 1718616064
Total memory available to JVM (bytes): 115867648

File system root: /
Total space (bytes): 79394652160
Free space (bytes): 50401542144
Usable space (bytes): 46344814592

Stack trace:
java.lang.AbstractMethodError: org.enigma.frames.EnigmaSettingsHandler.resourceChanged()Z
at org.lateralgm.subframes.GameSettingFrame.resourceChanged(GameSettingFrame.java:956)
at org.lateralgm.main.LGM.checkForChanges(LGM.java:2023)
at org.lateralgm.main.LGM.onMainFrameClosed(LGM.java:2085)
at org.lateralgm.main.LGM$4.windowClosing(LGM.java:1753)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.Window.processWindowEvent(Window.java:2051)
at javax.swing.JFrame.processWindowEvent(JFrame.java:290)
at java.awt.Window.processEvent(Window.java:2009)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at javax.swing.plaf.metal.MetalTitlePane.close(MetalTitlePane.java:378)
at javax.swing.plaf.metal.MetalTitlePane.access$400(MetalTitlePane.java:52)
at javax.swing.plaf.metal.MetalTitlePane$CloseAction.actionPerformed(MetalTitlePane.java:791)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

java.lang.AbstractMethodError: org.enigma.frames.EnigmaSettingsHandler.resourceChanged()Z
at org.lateralgm.subframes.GameSettingFrame.resourceChanged(GameSettingFrame.java:956)
at org.lateralgm.main.LGM.checkForChanges(LGM.java:2023)
at org.lateralgm.main.LGM.onMainFrameClosed(LGM.java:2085)
at org.lateralgm.main.LGM$4.windowClosing(LGM.java:1753)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.Window.processWindowEvent(Window.java:2051)
at javax.swing.JFrame.processWindowEvent(JFrame.java:290)
at java.awt.Window.processEvent(Window.java:2009)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at javax.swing.plaf.metal.MetalTitlePane.close(MetalTitlePane.java:378)
at javax.swing.plaf.metal.MetalTitlePane.access$400(MetalTitlePane.java:52)
at javax.swing.plaf.metal.MetalTitlePane$CloseAction.actionPerformed(MetalTitlePane.java:791)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

java.lang.AbstractMethodError: org.enigma.frames.EnigmaSettingsHandler.resourceChanged()Z
at org.lateralgm.subframes.GameSettingFrame.resourceChanged(GameSettingFrame.java:956)
at org.lateralgm.main.LGM.checkForChanges(LGM.java:2023)
at org.lateralgm.main.LGM.onMainFrameClosed(LGM.java:2085)
at org.lateralgm.main.LGM$4.windowClosing(LGM.java:1753)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.Window.processWindowEvent(Window.java:2051)
at javax.swing.JFrame.processWindowEvent(JFrame.java:290)
at java.awt.Window.processEvent(Window.java:2009)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at javax.swing.plaf.metal.MetalTitlePane.close(MetalTitlePane.java:378)
at javax.swing.plaf.metal.MetalTitlePane.access$400(MetalTitlePane.java:52)
at javax.swing.plaf.metal.MetalTitlePane$CloseAction.actionPerformed(MetalTitlePane.java:791)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Title: Re: LateralGM 1.8.6.65
Post by: TheExDeus on October 08, 2014, 07:02:32 AM
Did you update the plugin as well? Previously I forgot and also got an error on exit.
Title: Re: LateralGM 1.8.6.65
Post by: Goombert on October 08, 2014, 02:59:21 PM
Quote from: egofree
Are you sure ?  I downloaded the latest version, and the enter still opens a resource.
Try downloading again, it looks like I didn't actually upload it to Dropbox, sorry about that.

Quote from: egofree
By the way, i was wondering if it would be useful to add 'expand all' and 'shrink all' buttons in the search tool bar. When there is a lot of results, it is annoying to expand every node to see each result.
I already thought about that and I was going to add it last night, but I won't add it to the search toolbar, I'll add it to the context menu like Eclipse.

Quote from: gra
problem with update of lateral gm of seven hour ago
when i try to close lateral gm in mint 17, and the program not close
Yes gra, listen to Harri you need to download the plugin as well; he did the same thing. If it works let me know.
Title: Re: LateralGM 1.8.6.65
Post by: time-killer-games on October 08, 2014, 03:20:16 PM
I'll be testing this out today (finally!) And will report back with my results.

Cheers.
Title: Re: LateralGM 1.8.6.67
Post by: Goombert on October 08, 2014, 03:55:54 PM
Ok, another update, I just fixed printing on the Resource and Game Info frames, I've tested them and they work exactly as 8.1

Redownload the LGM jar for my updates, I've also fixed the hash.

8.1 and Studio do not have print preview support but I plan to add it eventually. Code editing frames still can not print however.

Additionally, I really couldn't test Studio because the Resource Info frame is broke, and the print dialog is really not viewable under their shitty dark theme. This is on the latest release too, but the same things were broke in the last couple releases.

(http://i.imgur.com/G1r40U1.png)
(http://i.imgur.com/f4GSSJF.png)
Title: Re: LateralGM 1.8.6.67
Post by: Darkstar2 on October 08, 2014, 04:18:09 PM
Yeah Robert it wouldn't be so bad if LGM also had a dark theme like that ....... (evil grin)  :smileycat: :smileycat: :smileycat:
Title: Re: LateralGM 1.8.6.68
Post by: Goombert on October 08, 2014, 06:54:48 PM
You wanted a dark theme, you got one, external look and feel support has been added, recheck the OP and follow the new forum guide.
http://enigma-dev.org/forums/index.php?topic=2283

(http://i.imgur.com/NWhcjUb.png)
Title: Re: LateralGM 1.8.6.68
Post by: Darkstar2 on October 08, 2014, 07:20:35 PM
LOL! Well I guess sarcasm failed :P Though I was not fond of the dark theme myself in GMS, I would not mind having it optional in LGM, guess I just prefer white, it keeps me awake and focused and it makes me feel I am using windows :P But thanks anyway, guess I'll use the dark theme for appropriate occasions ;D ;D ;D
Title: Re: LateralGM 1.8.6.68
Post by: Goombert on October 08, 2014, 09:20:50 PM
I've added more themes, most of all the ones available for Java to the list.

http://enigma-dev.org/forums/index.php?topic=2283

There's also a cross-platform XP look and feel which is very reminiscent of GM6/7.
(http://i.imgur.com/9g8vnRK.png)
Title: Re: LateralGM 1.8.6.68
Post by: Darkstar2 on October 08, 2014, 10:04:40 PM
lol I wish you could do the same for windows 8/10's ugly themes :P

Title: Re: LateralGM 1.8.6.68
Post by: Goombert on October 08, 2014, 10:11:22 PM
I am having fun with these old GM examples. 1945 works too.
http://www.rupert.id.au/tutorials/gamemaker/examples.php

(http://i.imgur.com/XWAgeXi.png)
Title: Re: LateralGM 1.8.6.68
Post by: Darkstar2 on October 08, 2014, 10:28:49 PM
lol this last one is identical to windows 10's crappy theme.......BLACK text on fucking dark blue caption!
Who's the genius who thought of using black text LOL

That's my only gripe in win10, cannot stand to see black text on dark colored areas.

Title: Re: LateralGM 1.8.6.68
Post by: Goombert on October 08, 2014, 10:30:54 PM
I can't help it I love it. It looks just like the GM6/7/8 advertising screenshot, brings back good memories.

(http://i.imgur.com/XWAgeXi.png)
(http://cdn.altrn.tv/s/bbb84d61-31f2-de11-8cae-0022190f5762_3_full.jpg?format=jpg)
Title: Re: LateralGM 1.8.6.68
Post by: Darkstar2 on October 08, 2014, 11:27:28 PM
LOL hurts my eyes looking at the D&D, and to think that back then I only used D&D, damn, times change.
How about a dark purple and pink theme Robert ? lol!
Title: Re: LateralGM 1.8.6.68
Post by: Goombert on October 09, 2014, 12:19:18 AM
Now I know you're being sarcastic, but regardless, you would have to make your own Look and Feel. It's just like CSS style sheets for Qt or JavaFX apps but you have to do it with actual code and then tell UIManager to use your classes to render the components. You obviously don't have to do all the painting you can in fact just set the back color or simple things like that. You can additionally use auxiliary look and feels, that's where you set a basic one and then extend it with another look and feel on top, but LGM don't support that quite yet.

I have provided links in the other topic about designing your own Look and Feel, there is even a full electronic PDF book.
http://enigma-dev.org/forums/index.php?topic=2283.0

Josh is also going to make a contrasting dark version of the Calico icon set that will look better with the dark themes that we will prebundle with LGM.
Title: Re: LateralGM 1.8.6.65
Post by: egofree on October 09, 2014, 01:27:36 AM
Try downloading again, it looks like I didn't actually upload it to Dropbox, sorry about that.

Ok, it is working as expected.  (Y) Now let's add scope and scripts in events and everything will be perfect !  :)
Title: Re: LateralGM 1.8.6.7
Post by: Goombert on October 09, 2014, 05:01:35 AM
I've now improved the main zoom tool, it will properly center to where you've clicked. I've additionally fixed the layout of the preferences frame to make it friendlier to certain look and feels.

Quote from: egofree
Ok, it is working as expected.  (Y) Now let's add scope and scripts in events and everything will be perfect !
There's still tons of changes coming that you will be very surprised about, this is why I'm going slower with the version numbers. Top secret.

Also, just to prove a point, these look and feels do work on Linux.
(http://i.imgur.com/KL75jFN.png)
(http://i.imgur.com/XK6L5qS.png)
Title: Re: LateralGM 1.8.6.7
Post by: egofree on October 09, 2014, 06:23:56 AM
There's still tons of changes coming that you will be very surprised about, this is why I'm going slower with the version numbers. Top secret.

Robert, as we are close friends, you know that you can tell me everything !  :D ;)

By the way, before adding 200 new features into LateralGM, i hope that the search function will be finished before !  ;)
Title: Re: LateralGM 1.8.6.722
Post by: Goombert on October 09, 2014, 06:42:04 PM
As of the following commit I have added the expand all and collapse all buttons to the search trees context menu. I have also fixed the layout of the search filter it should expand with the splitter under all look and feels now. I also made the extra zoom tools besides the main one zoom around the center of the image like most image editors.

https://github.com/IsmAvatar/LateralGM/commit/aa4ec0aa2cb45920667b745767ae23d4c981a4a9

Quote from: egofree
Robert, as we are close friends, you know that you can tell me everything !
If I told you, I'd have to kill you. Even if I wanted to tell you I couldn't tell you much because I am not the one working on it, it which is almost fully done.
Title: Re: LateralGM 1.8.6.722
Post by: Darkstar2 on October 09, 2014, 08:00:56 PM
Ahh you just said it all, I think I know who you are referring to  :P nice must have to do with LGM being fully C++ compiled and no more java plugin headaches........

Is that it ?  :v: ;D :v: ;D :v:
Title: Re: LateralGM 1.8.6.722
Post by: Goombert on October 09, 2014, 08:29:08 PM
No not quite that big, that requires a lot more work than you think. Anyway, I'm not going to tell so just give up.
Title: Re: LateralGM 1.8.6.722
Post by: Darkstar2 on October 09, 2014, 08:44:34 PM
I'm guessing probably some revamped room editor (very educated guess mind you, not random !) :D

But I guess we all know for sure it has something to do with LGM LOL!
Title: Re: LateralGM 1.8.6.722
Post by: egofree on October 10, 2014, 04:04:06 AM
I tested the 'Expand all' and 'Collapse all' functions, and they work fine.

I did more tests and i've found that it's possible to do a search with no keywords at all. It will return inconsistent results. This should be fixed.
Title: Re: LateralGM 1.8.6.724
Post by: Goombert on October 11, 2014, 01:19:45 AM
I've uploaded a couple more fixes, the exception dialog was not actually displaying the stack trace. Please check OP for full changes and download.
Title: Re: LateralGM 1.8.6.722
Post by: egofree on October 11, 2014, 08:09:44 AM
If I told you, I'd have to kill you.

I never thought that it would be so dangerous to get involved in an open-source project !  :o

Now we know the true personality of Robert !  :ohdear:  :)  :D :

(http://nsa33.casimages.com/img/2014/10/11/141011031313514145.jpg)
Title: Re: LateralGM 1.8.6.724
Post by: Goombert on October 11, 2014, 08:46:44 AM
No, that's Josh, I am totally more like:
(http://img4.wikia.nocookie.net/__cb20130324093954/deadliestfiction/images/archive/d/d9/20130326111205!Tony_montana.jpg)

You know I fixed a Win32 bug this way, no joke.
Title: Re: LateralGM 1.8.6.724
Post by: Darkstar2 on October 11, 2014, 10:30:55 AM
LOL @ Robert,
you should go work for Micro$oft then, they could use some of that :D

Title: Re: LateralGM 1.8.6.724
Post by: time-killer-games on October 11, 2014, 10:39:26 AM
LOL @ Robert,
you should go work for Micro$oft then, they could use some of that :D

If anyone needs some "$" in the company name it's Apple for reasons we all know.

Replace the "P"s A$$le kinda like an Apple-fied Asshole..


Sorry more unexpected shit getting in the way. I'm feeling super naseous right now but I'm really excited to test the new lgm in a few.
Title: Re: LateralGM 1.8.6.724
Post by: Darkstar2 on October 11, 2014, 10:50:07 AM
So are we to understand from Robert's comments that LGM 2.0 is on the way ?:D
Title: Re: LateralGM 1.8.6.724
Post by: edsquare on October 11, 2014, 04:04:57 PM
LOL @ Robert,
you should go work for Micro$oft then, they could use some of that :D

If anyone needs some "$" in the company name it's Apple for reasons we all know.

Replace the "P"s A$$le kinda like an Apple-fied Asshole..


Sorry more unexpected shit getting in the way. I'm feeling super naseous right now but I'm really excited to test the new lgm in a few.

I hope you get well soon and that it's nothing serious.

Right Apple sells it's shit at a hugely inflated price but at least it works not like Microsoft's supossedly Operating System which is in alpha or beta state at best. (And this from someone who would never buy anything apple unless forced to do so for economic reasons.)

So are we to understand from Robert's comments that LGM 2.0 is on the way ?:D

One can dream Dk2 :-D
Title: Re: LateralGM 1.8.6.724
Post by: egofree on October 13, 2014, 01:18:50 PM
Robert, are you still working on the search function ? I am sure a lot of people are looking forward for new developments on this !  :)
Title: Re: LateralGM 1.8.6.724
Post by: Darkstar2 on October 13, 2014, 01:22:15 PM

One can dream Dk2 :-D

Yeah we all know Robert is secretly working on something in LGM we'll know soon.

Dreaming is good by day it's good dreaming by nite shitty weird a$$ dreams.... so it creates a balance :D

I once dreamt that I had GMS 2 installed on my system, it was a totally new IDE, everything was completely redone, 5x-10x speed increases from GMS1, everything people wanted, etc........then I woke up :P

Title: Re: LateralGM 1.8.6.724
Post by: Goombert on October 21, 2014, 11:29:25 PM
The changes are nearly completed but me and Josh need more time to finish, what we are adding is preferences for JoshEdit.

(http://i.imgur.com/PkJGTFP.png)
Title: Re: LateralGM 1.8.6.724
Post by: Darkstar2 on October 22, 2014, 01:58:44 AM
Very nice ! :D
Title: Re: LateralGM 1.8.6.724
Post by: gra on October 22, 2014, 03:01:25 PM
i wait for set the size font in a code editor :D
edit
Robertttttttttttttt noooo the autocomplete of words not go. The keys not is control+space?
Title: Re: LateralGM 1.8.6.724
Post by: Mangolion on October 23, 2014, 11:22:13 AM
Will code refactoring ever be available?   :raise:
Title: Re: LateralGM 1.8.6.724
Post by: gra on October 25, 2014, 04:18:09 AM
i have upgraded to ubuntu 14.10 , now go
Title: Re: LateralGM 1.8.6.724
Post by: Goombert on October 25, 2014, 05:42:09 AM
That's weird gra, it could have been a bug in the JDK. And Mangolion, yes I would like some sort of code refactoring as well, just don't plan on it anytime soon.
Title: Re: LateralGM 1.8.6.724
Post by: polygone on October 27, 2014, 08:48:54 AM
An issue: you can create a code piece (by double clicking in the event pane) even when there is no event. I was experience a problem yesterday that I had to keep clicking the modify button twice in order to open the event pane but I can't reproduce that now.

In my opinion the find resource bar looks ugly at the top of the resource pane like that, also the configurations drop-down box looks ugly.
Title: Re: LateralGM 1.8.6.724
Post by: Goombert on October 27, 2014, 09:17:49 AM
I was able to reproduce it with the enter key, I'll get that patched. But polygonz I find it hard to take you serious because most programs have a search filter bar like that including Unity and Windows Explorer, so I really don't think it's even remotely ugly and it's extremely less ugly than Studio's.
Title: Re: LateralGM 1.8.6.724
Post by: egofree on October 27, 2014, 09:41:24 AM
An issue: you can create a code piece (by double clicking in the event pane) even when there is no event. I was experience a problem yesterday that I had to keep clicking the modify button twice in order to open the event pane but I can't reproduce that now.

In my opinion the find resource bar looks ugly at the top of the resource pane like that, also the configurations drop-down box looks ugly.

Well, it is subjective, but now i think the resource bar looks fine.
Title: Re: LateralGM 1.8.6.724
Post by: polygone on October 27, 2014, 10:15:41 AM
most programs have a search filter bar like that including Unity and Windows Explorer
They do? Screenshot please.
Title: Re: LateralGM 1.8.6.724
Post by: TheExDeus on October 27, 2014, 10:20:22 AM
I think the best way to satisfy both would be for that search bar to be collapsible. So it's hidden when not needed, but easy to get when required. I personally don't use it often (maybe once per day until search in code events is implemented), so it takes up space right now.
Title: Re: LateralGM 1.8.6.724
Post by: Goombert on October 27, 2014, 03:22:32 PM
Quote from: TheExDeus
so it takes up space right now.
I still can't take this serious, it takes up 2/3rds the vertical screenspace of Studio's, and about 1/40th of the screenspace of the cumulative vertical screenspace on a 1080p resolution. I do not consider this to be a pressing issue, and honestly have no real idea on how to go about it. You guys are also failing to take the death of Swing into account, the newer Java versions are irreversibly breaking Swing with changes to sorting algorithms and such, one such reason LGM throws crazy warnings on KDE. The more we fiddle with the interface under the current GUI framework the more time we waste and the buggier the program is going to get.

Here it is in Windows explorer.
(http://mintywhite.com/wp-content/uploads/2008/10/windows7-windows-explorer.png)

I've highlighted it in red for Unity3D, I do not know if there's searches inside resources, my assumption is that it does.
(http://i.imgur.com/gLtb9m6.png)

Latest Studio release, except theirs does not search in resources like ours does, they have that in a separate window in a table, we followed Eclipse's implementation.
(http://i.imgur.com/Ae0Sdnm.png)
Title: Re: LateralGM 1.8.6.724
Post by: egofree on October 27, 2014, 04:00:32 PM
At first, i was complaining also about the search toolbar, but as you've removed the options into another window, i feel it's fine. It doesn't take much space.
Title: Re: LateralGM 1.8.6.724
Post by: Goombert on October 27, 2014, 04:09:47 PM
Thanks for your input egofree, and I hey listen I hear you guys, I like feedback and input but I just can't help but feel you guys are being overtly obsessive compulsive over it. But I admire everyone's desire for perfection, part of the reason why LGM is such a great alternative to GameMaker.  (Y)

Edit:
This is actually a tricky bug to fix and exists in lgm16b4 I have filed a ticket discussing the issue on the LateralGM tracker.
https://github.com/IsmAvatar/LateralGM/issues/157
Title: Re: LateralGM 1.8.6.724
Post by: polygone on October 28, 2014, 08:13:33 AM
Robert those screenshots show the search box in a completely different location to where it currently is in LGM? LGM is in need of a tab bar, and it should then be put on that ideally. In my opinion of course :)
Title: Re: LateralGM 1.8.6.724
Post by: Goombert on October 28, 2014, 09:22:31 AM
Polygonz, it sounds like you have not even used it, it does not only work for searching in resources, but it can also be used to filter through the names of resources. The search tab is for searching the contents of the resources, like Eclipse's Preferences and Help windows and Studio's help manual. The feature is most comparable to a CHM help manual like Studio's, the resource tree is the index and the search tab searches the contents of the help files. It's not a difficult concept. I obviously placed it in a different location that Studio's because all other applications put it to the north and not the south, it's more intuitive at its current location.

(http://i.imgur.com/U69Hrif.png)
Title: Re: LateralGM 1.8.6.724
Post by: HitCoder on October 28, 2014, 10:05:52 AM
How long do you think it'll be until you release this version? I honestly can't wait, the screenshots look like a masterpiece!
Keep up the good work. :)
Title: Re: LateralGM 1.8.6.724
Post by: Goombert on October 28, 2014, 10:12:57 AM
Actually you can download it right now, just go to the OP and visit the extra packages page, download the lateralgm.jar and enigma.jar files and replace them inside your enigma-dev folder, enigma.jar goes under enigma-dev/plugins.

I am waiting for sorlok to finish his array length commit so that I can include it in a new Portable ZIP, since this minor release has been extremely stable there has been only 1 new reported issue by polygone which has existed for a very long time I am just going to include it in a minor-beta Portable ZIP update.
Title: Re: LateralGM 1.8.6.724
Post by: IsmAvatar on October 28, 2014, 01:36:02 PM
Just a reminder that commit 96349086834 should be reverted as it contains code that is not compatible with our license. Please do so before making another release.
Title: Re: LateralGM 1.8.6.729
Post by: Goombert on October 28, 2014, 08:01:22 PM
Quick update, I've added searching objects and timelines. Currently only code actions will be searched, the tree will maintain the moment and event structure but it will not organize results by action, still working on that.

Check the original post for the Extra Packages link to download the new jars, you will also need the new ENIGMA plugin jar for this update because some parts of the underlying structure have been changed in anticipation for a mass import/export feature I will be adding.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

Also, I am going to have to ask that none of you screw around with the code editor preferences because they aren't finished and will not work, this release is beta.

(http://i.imgur.com/sWcy2Pn.png)

NOTICE! Somewhere in the future before the major release, the Swing icon pack will be removed from the standard jar and replaced with a version of Calico that contrasts with dark lnfs better. The reason for removing this icon pack is not only that it is outdated but nobody wants to maintain it so it's no longer even usable because it's missing so many icons. It will remain part of LGM's repository, you just won't be able to select it easily from the preferences frame without downloading it and setting the file path to it as a custom icon pack.
Title: Re: LateralGM 1.8.6.729
Post by: polygone on October 29, 2014, 02:51:04 AM
I think it might look a lot better below the resource tree instead of above it.
Title: Re: LateralGM 1.8.6.729
Post by: TheExDeus on October 29, 2014, 04:18:28 AM
Yeeeeey. It's finally here. Thank you Robert!
Title: Re: LateralGM 1.8.6.729
Post by: egofree on October 29, 2014, 04:30:01 AM
This is great. When there is a keyword found for an object, the object window is opened, but not the corresponding the code window. Would it be possible to open also the code window ? In fact, currently if there is several 'scripts' for the same event, this means the user has to open every script to see where is the correct one. This is not practical.

For future versions, i think it would be useful to add also the variables actions in the search ('Set variable', 'If variable is equal to'), and 'If an expression is true'.

Finally, in rooms, let's search within the 'instance creation code' and 'creation code'.

Thanks for your work Robert, the search function was really missing !  (Y)

Edit:
Let's not forget in 'Global game settings' : 'Definitions', 'Global Locals', 'Initialization', 'Cleanup'.
Title: Re: LateralGM 1.8.6.73
Post by: Goombert on October 29, 2014, 01:53:29 PM
I am glad you all like the improvements!

Quote from: egofree
the object window is opened, but not the corresponding the code window
This is what I mean when I say it doesn't "scope" yet. That will be my next improvement.

Quote from: egofree
For future versions, i think it would be useful to add also the variables actions in the search ('Set variable', 'If variable is equal to'), and 'If an expression is true'.
It's possible to search the argument values of all drag and drop actions, we can make that happen if everybody wants to. For now I just did the code action because most coders just use 1 action per event like me.

Quote from: egofree
'Global game settings'
I think we may actually add a separate filter to GGS as well as preferences that works like Eclipse's, because there you are really only wanting to find the component text and aren't searching anything in the actual resource.

Minor update here everyone, the Swing icon pack has been removed and you can no longer select it, it will no longer be built into the Jar either. You can still obtain it from LateralGM's repo and use it as a custom icon pack, but I am no longer going to maintain it.

Follow this forum topic on making custom icon packs.
http://enigma-dev.org/forums/index.php?topic=2322

Here is the link to the Swing icon pack still in LateralGM's repository.
https://github.com/IsmAvatar/LateralGM/tree/master/org/lateralgm/icons/Swing
Title: Re: LateralGM 1.8.6.73
Post by: egofree on October 29, 2014, 03:52:15 PM
And let's not forget the room's 'creation code' and 'instance creation code' !  :D
Title: Re: LateralGM 1.8.6.731
Post by: polygone on October 30, 2014, 11:16:54 AM
Is that a 'no' on moving it below the resource tree then?
Title: Re: LateralGM 1.8.6.731
Post by: TheExDeus on October 30, 2014, 12:47:04 PM
Technically it should be a toolbar as any other. Then you could drag it to the bottom, the side or just hide it. Putting it in a static place will never please everyone, but most people will get used to it.
Title: Re: LateralGM 1.8.6.731
Post by: Goombert on October 30, 2014, 12:54:22 PM
Quote from: polygone
Is that a 'no' on moving it below the resource tree then?
It's an I don't know because you haven't provided any argument as to why it should be in a place inconsistent with 99% of applications besides GM: Studio.

Quote from: TheExDeus
Technically it should be a toolbar as any other. Then you could drag it to the bottom, the side or just hide it. Putting it in a static place will never please everyone, but most people will get used to it.
It is a toolbar in order to render the buttons the way that it does, it's just not set floatable because if I recall I believe it wouldn't work for some reason, because it's not set like a regular toolbar on a frame and I also felt that it looked a little tacky as floatable.

I'll take a look and see if setting it floatable will work, I will also make the Event Selector button and stuff on the object frame focus the Events tab which is something else I forgot about. We honestly need a proper docking framework.
Title: Re: LateralGM 1.8.6.731
Post by: IsmAvatar on October 30, 2014, 01:23:01 PM
Upon further review of the GPLv2 (and discussion with Josh), I retract my request to revert the introduction of GPL2 code (specifically the modified RTF Editor code). The code can stay.

GPLv2 section 6:
Quote
Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.

This means that the code must remain GPLv2 only and modifications to it must remain GPLv2 as well. However, the code can still become a part of LateralGM as that prohibition was not made until GPLv3 (with the "tivo" clause).

I look forward to release.
Title: Re: LateralGM 1.8.6.742
Post by: Goombert on October 30, 2014, 07:37:58 PM
Alright another update with several suggestions taken from your feedback.

* The search filter toolbar is now floatable.
* The modify or event button will now raise the events tab if it is docked.
* I took egofree's feedback and you can no longer search an expression that is zero in length, so you have to actually enter something before you can perform a search.
* You can now search all the arguments of every drag and drop action, instance creation code, and room creation code.
* You can now click on the moment, event, action, and other nodes and have them open the appropriate code editor or select the right moment or event, etc. For instance if you click the draw event the object frame opens with the draw event in focus, if you click a child action the code frame will also appear.
* Fixed an issue with the match line numbers, they were starting at 1 and the code editor starts 0.
* Fixed an exception that would occur when hovering over a resource menu.

So the search feature is basically finished and I would just appreciate it if you guys could test for bugs. The jars can be obtained from the Extra Packages page.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

(http://i.imgur.com/ZSpK1pc.png)
Title: Re: LateralGM 1.8.6.742
Post by: egofree on October 31, 2014, 03:19:15 AM
The search feature is almost perfect. I see only one missing feature : scope doesn't seem to be implemented. Within scripts, would it be possible to select the corresponding line ? (In the code editor, when you select a line with the cursor, it becomes blue. That would be fine)
Title: Re: LateralGM 1.8.6.742
Post by: egofree on October 31, 2014, 03:31:11 AM
Ok, i've found a bug. In an object event, i add a new script with the line 'game_state=FINISHED'. I do a search for the keyword game_state. I close the object window, without saving it. Then in the search result tree, i open the line and i get the following exception :

Quote
Operating System: Linux
Version: 3.11.0-12-generic
Architecture: amd64

Java Vendor: Oracle Corporation
Version: 1.8.0_05

Available processors (cores): 8
Free memory (bytes): 31972920
Maximum memory (bytes): 3717201920
Total memory available to JVM (bytes): 101711872

File system root: /
Total space (bytes): 949974736896
Free space (bytes): 792519688192
Usable space (bytes): 744240156672

Stack trace:
java.lang.NullPointerException
   at org.lateralgm.components.ActionList.openActionFrame(ActionList.java:201)
   at org.lateralgm.main.LGM$SearchResultNode.openFrame(LGM.java:1813)
   at org.lateralgm.main.LGM$SearchResultNode.openFrame(LGM.java:1797)
   at org.lateralgm.main.LGM$5.mouseReleased(LGM.java:2107)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)

This means we try to open a line which was not saved.
Title: Re: LateralGM 1.8.6.745
Post by: Goombert on October 31, 2014, 05:48:45 PM
Sorry about that egofree I have patched the exception now. Opening search result nodes should also focus the correct line in the code editor or focus the entry/text area of the correct argument on the corresponding action frames for all resources.

The search feature could not get any better, we just need to test for bugs now, so please go test the new jars.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

https://github.com/IsmAvatar/LateralGM/commit/f3c470d6d94a9b0549e26763366c0cf1d718d338
https://github.com/IsmAvatar/LateralGM/commit/246f954c2fcec70c22e4ca25ff102ca99518caad
https://github.com/IsmAvatar/LateralGM/commit/3a7daf6609d938c7b5ff191d78b9d068c56e3702
https://github.com/IsmAvatar/LateralGM/commit/6d7d7da334d5b5ee7184a0db28e503d1058648e6
https://github.com/IsmAvatar/LateralGM/commit/45d9bc85514d595644b61f6b10743dd6a56fb6e0
Title: Re: LateralGM 1.8.6.745
Post by: egofree on November 01, 2014, 03:32:43 AM
Thanks Robert for all your effort. I feel we are very close to the next release. I just found a small glitch : in the 'Search results' tree, when you open a new script window, and this window has scroll-bars, the line is not visible. It is just below the 'viewport'. I post a screenshot, i think it will be clearer :

(http://nsa33.casimages.com/img/2014/11/01/141101092938388128.png)

As you can see, i tried to open line 34 for the object obj_HUD, but the line is not visible. We have to scroll down the window in order to see the selected line. This problem doesn't occur if the window is already open.

Edit:
If there is already a script window open and maximized, when you try to open another window it will be also maximized and you will not have this problem.
Title: Re: LateralGM 1.8.6.745
Post by: egofree on November 01, 2014, 04:03:50 AM
If i try to open a result with a 'set variable' action, i get the following error :

Quote
Operating System: Windows 7
Version: 6.1
Architecture: x86

Java Vendor: Oracle Corporation
Version: 1.8.0_25

Available processors (cores): 8
Free memory (bytes): 175515032
Maximum memory (bytes): 1013645312
Total memory available to JVM (bytes): 259588096

File system root: C:\
Total space (bytes): 1017834733568
Free space (bytes): 727100559360
Usable space (bytes): 727100559360

File system root: D:\
Total space (bytes): 0
Free space (bytes): 0
Usable space (bytes): 0

Stack trace:
java.lang.NullPointerException
   at org.lateralgm.main.LGM$SearchResultNode.openFrame(LGM.java:1865)
   at org.lateralgm.main.LGM$5.mouseReleased(LGM.java:2210)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Title: Re: LateralGM 1.8.6.75
Post by: Goombert on November 01, 2014, 09:11:10 PM
Alright, new update available for download.

Download: http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

* Fixed the exception egofree encountered, I was checking for code actions the wrong way.
https://github.com/IsmAvatar/LateralGM/commit/e7aa42d20017f48fb57a75250cef8c9158b97e3c
* Josh added caret focus functionality to JoshEdit so your second issue egofree is no more.
https://github.com/IsmAvatar/LateralGM/commit/ad4906e7975d50c647771457d1f228970e42d61d
* Added preferences to change the search highlighting colors, or disable the background or foreground or all highlighting respectively. You can also now set the two colors used to render the checkerboard background on the background and sprite image previews.
https://github.com/IsmAvatar/LateralGM/commit/2604155527be360423129a5c6f376bbe459f476c
* Included a new dark theme friendly icon pack derived from Calico called "Contrast" The look and feel being used in the screenshot below is Synthetica which you can find in my other topic.
http://enigma-dev.org/forums/index.php?topic=2283.0
* Fixed an issue where certain look and feels would cause the main frame to overlap the toolbar on Windows on some platforms, and yes this also includes the default Swing look and feel. https://github.com/IsmAvatar/LateralGM/commit/3329a3abbae19f6bdaa0d7df6ea841119acb1690
* You can also use a custom background image for LGM's window area now, create a file called "lgmbackground.png" in the "lookandfeels" folder next to lateralgm.jar and the image should be applied during the splash screen when you load. The following is a link to LGM's dark background.
https://github.com/IsmAvatar/LateralGM/commit/eb8fd916690fc17098fab6ef189f785261902efb
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/main/lgmbackgrounddark.png

Click the link above or Right Click->View Image to download this image and apply it to LGM's background.
(https://raw.githubusercontent.com/IsmAvatar/LateralGM/master/org/lateralgm/main/lgmbackgrounddark.png)

(https://cloud.githubusercontent.com/assets/3212801/4873942/f5d055da-622f-11e4-9cf5-32ddf38f10d2.png)(http://i.imgur.com/0VT4nbj.png)
Title: Re: LateralGM 1.8.6.75
Post by: Darkstar2 on November 01, 2014, 10:17:33 PM
Never thought I'd say this but I like the theme in the last image lol! I wonder what it reminds me of :D :P
Title: Re: LateralGM 1.8.6.752
Post by: Goombert on November 01, 2014, 10:51:08 PM
Darkstar2, you can't possibly mean GM: Studio's because LateralGM's beats the hell out of their dark theme.   :D

Another update with some more bugfixes that were introduced along the way.

* Code completion should work again, Josh mistakenly forgot to implement HasKeywords on GMLTokenMarker
* Room editor File->Close button should work now, it got disabled under confusion of its purpose during my earlier refactors to fix reverting.
* The error dialog was never supposed to be editable, it no longer is but you can still copy it to the clipboard and it still shows the caret.
https://github.com/IsmAvatar/LateralGM/commit/dac8b911ad74131189f6c767e8023827f830330e
Title: Re: LateralGM 1.8.6.752
Post by: egofree on November 02, 2014, 03:52:59 AM
A picture is worth a thousand words :  :) (Y)

(http://nsa34.casimages.com/img/2014/11/02/141102095000203940.jpg)

(http://nsa34.casimages.com/img/2014/11/02/141102095000490937.jpg)

Thanks a lot Robert for implementing this very useful function. Time to release ! From my point of view, we should post an announce. For several months, LateralGM has improved a lot, and i am sure people would be interested to know this.

Edit:
If i change the 'Background color' for the 'Result matches', the search toolbar disappears. Is this normal ?
Title: Re: LateralGM 1.8.6.752
Post by: Goombert on November 02, 2014, 12:10:00 PM
Thanks egofree and thank you for all your testing as well! Some of those bugs I may have never run across. But we've still got a few more bugs and things, I am planning on an announcement at 1.8.7

I want to do several things still:

1) Get the Code Editor preferences actually working
2) Fix a regression in DocumentLink that is causing errors because of the other useLegacyMergeSort bug you found.
3) Implement print support for JoshEdit

Now as for the search toolbar disappearing no that should not be happening and I can not reproduce it. Go to File->Preferences and see if you accidentally unchecked "Show Tree Filter"
Title: Re: LateralGM 1.8.6.752
Post by: egofree on November 02, 2014, 01:00:41 PM
Now as for the search toolbar disappearing no that should not be happening and I can not reproduce it. Go to File->Preferences and see if you accidentally unchecked "Show Tree Filter"

You are right.  In fact it seems it's more a bug related to the 'Show tree filter'.  If the 'Show tree filter' is unchecked and i start the application, the search toolbar is still there, but if go to the settings and i just click on the 'Apply changes', the toolbar disappears. But again every time the application starts it doesn't take into account this setting.
Title: Re: LateralGM 1.8.6.756
Post by: Goombert on November 02, 2014, 04:08:34 PM
Alright another update with more bugfixes. This release contains specific fixes for control property links and reverting game information so I would appreciate it if everyone could test the various editors and make sure values are getting saved properly and everything, specifically the room frame and game information frames.

* Fixed issue just reported by egofree, the show tree filter preference is now acknowledged at startup.
https://github.com/IsmAvatar/LateralGM/commit/b3821804b51218895c266b725569bf3364be2b4b
* Fixed long existing PropertyLinkFactory disposal issues that were propagating into race conditions in multiple editors. ResourceFrames now dispose of them automatically, custom PLF's will need to be disposed by overriding the frame dispose method.
https://github.com/IsmAvatar/LateralGM/commit/8662754845f35486315f178d63c56135cfe9352d
* Fixed a mistake made in Game Information that caused its little settings window to create its controls twice.
https://github.com/IsmAvatar/LateralGM/commit/35e3f35ddcd615eaa3b799c23b20f834ad981643
* Fixed the property comparison in the check for changes method of Game Information so it will now properly detect whether a string value has changed or any value type, such as the Window Title setting.
https://github.com/IsmAvatar/LateralGM/commit/014d52b2b2d0d74153ed32b3cc5fb206ea3f88e5

You can update with python install.py or manually from the Extra Packages page.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages
Title: Re: LateralGM 1.8.6.756
Post by: egofree on November 03, 2014, 05:02:20 AM
Everything seems fine for me.
Title: Re: LateralGM 1.8.6.756
Post by: egofree on November 03, 2014, 01:25:49 PM
If you apply the 'nimbus' look and feel, the textbox in the search bar is tiny :

(http://nsa33.casimages.com/img/2014/11/03/141103072601630371.png)

But if you restart the application, it's ok.
Title: Re: LateralGM 1.8.6.756
Post by: Goombert on November 03, 2014, 01:58:24 PM
I really can't do much about that egofree, it's mainly a Java Swing issue with it not updating the layouts properly, that is why the message box states that you may have to restart for some settings to take effect. I think I may in fact disable it automatically updating and force you to restart to change the look and feel, because there are other issues caused by updating it immediately that aren't really fixable.
Title: Re: LateralGM 1.8.6.756
Post by: Josh @ Dreamland on November 04, 2014, 12:05:58 AM
Isn't there a pack function in most layout managers that you can call? Or perhaps it was in the frame... I can't remember. The point is, if destroying and recreating all swing widgets is one solution, there's bound to be another.
Title: Re: LateralGM 1.8.6.756
Post by: Goombert on November 04, 2014, 12:34:08 AM
Well let me go into a little bit of detail here. First, I am using JToolBar for that filter because I wanted the buttons to render as tool buttons so they are nicer and more compact looking, plus this way you can drag it around and even hide it easily. Some look and feels would not allow the search filter text field to stretch out, one of these is the default Swing look and feel, but the Windows look and feel does let it stretch out. So I decided to use a GroupLayout to get the text field to stretch under all look and feels. Now we update the look and feel after changing it in preferences using updateComponentTreeUI on every Window, at this point I believe the layout is being destroyed or replaced back with the default toolbar layout.

There are also other issues with this currently, switching look and feels with decorated windows will sometimes remove window borders when switching to the Windows look and feel. The event panel layout is also screwed up, but interestingly this is the default way it is laid out under some of the Synthetica look and feels which suggests I may be able to easily fix that. Additionally trees like the one for navigating preferences will show the look and feel default icons for the nodes even though they are turned off for the tree. There are also other inconsistencies when switching look and feels like UI properties, fonts, and colors not being updated and removed.

So really, the look and feel system was never designed to be switched at runtime. I was honestly considering making the user have to restart for the look and feel to take effect at all, but currently I am looking for solutions to work around these problems. Additionally I would appreciate anyone that can reproduce the JDK Focus Traversal bug which is specifically related to renaming resources on KDE test the jars I have posted to the support ticket.
https://github.com/IsmAvatar/LateralGM/issues/124
Title: Re: LateralGM 1.8.6.756
Post by: egofree on November 04, 2014, 03:04:28 AM
For the problem with the nimbus look and feel, don't spend too much time on this, i don't think it's really important. Anyway there is an message that informs the user that he may have to restart the application.

I was wondering if by default it would be more useful if the search results would be expanded ? I think that usually the user would like to see all results.
Title: Re: LateralGM 1.8.6.756
Post by: egofree on November 04, 2014, 06:22:47 AM
I've found a strange behavior in the user interface : if you want to shrink the main window from below, it is not possible to do it, except with the Resources panel. There is a kind of split bar, which seems to be useless, and which doesn't allow the user to change the window's size :

(http://nsa34.casimages.com/img/2014/11/04/141104122020520767.jpg)
Title: Re: LateralGM 1.8.6.7596
Post by: Goombert on November 04, 2014, 05:23:20 PM
Quote from: egofree
I was wondering if by default it would be more useful if the search results would be expanded ? I think that usually the user would like to see all results.
While this is what Eclipse IDE does, they don't have the option to Right Click->Expand All like LGM does. So I am a little undecided about expanding it completely by default.

Quote from: egofree
I've found a strange behavior in the user interface : if you want to shrink the main window from below, it is not possible to do it, except with the Resources panel. There is a kind of split bar, which seems to be useless, and which doesn't allow the user to change the window's size :
Don't worry about that yet, I am not ready to reveal what secrets that splitter is hiding.  ;)

You can update via the extra packages page or using python install.py
NOTE: You will need to update both the new plugin and LateralGM jars!!!
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

1) Simple JoshEdit print support added, word wrapping is not yet supported like Studio and line numbers are not painted yet. Printing interface is designed to be Java/AWT/Swing compliant and implements the standard feature set.
https://github.com/JoshDreamland/JoshEdit/pull/14
https://github.com/IsmAvatar/LateralGM/commit/6bffacb07b99465840fb8de806395bf2f1f14df6
2) Exception reporting has been improved for file loading errors, GmFormatException and ProjectFormatException were essentially throwing away half of the stack trace.
https://github.com/IsmAvatar/LateralGM/commit/c78f55713ab9f1cae4d24e1e722bdc08aa0ce69f
3) Fixed horizontal and vertical snap properties in the GMX writer where they were being written backwards.
https://github.com/IsmAvatar/LateralGM/commit/e3cebad0e345e9364ed6b1b424b7ea0bf639d3c4
4) Fixed transitivity in some toolbars.
https://github.com/IsmAvatar/LateralGM/commit/befdc03419ad05f438ba956e34b16272438df92e
https://github.com/IsmAvatar/LateralGM/issues/124
5) Window decorations can now be disabled, this means the look and feel will not be able to decorate the window border if you don't want it to, this required fixing the toolbar transitivity first.
https://github.com/IsmAvatar/LateralGM/commit/e86d680d5ede0bdd1f42112c5add1ecb4af6c8c5
6) Hardware acceleration is no longer forced off, there are now preferences to force OpenGL or Direct3D on or off or let the Java system decide and there is a similar preference for antialiasing of control fonts. The JVM will detect if your hardware supports hardware accelerated rendering so I recommend keeping the settings left at "default" but for those of us that do have the capable graphics hardware this will seriously improve the speed of rendering for LGM. Testing sprite animation playback was a lot smoother and higher frequency once I implemented the preference to stop forcing it off for everyone, it also reduced CPU and RAM usage significantly.
https://github.com/IsmAvatar/LateralGM/commit/ec03f8a16da9f4bb8799b729043ba78d7c048271
https://github.com/IsmAvatar/LateralGM/commit/b86360a18862a77e8b5809b7ee51fa031a584ee4
7) Fixed a component transparency issue caused when using *.lib action libraries from GM, they were supposed to be taking the transparency color from the bottom left corner.
https://github.com/IsmAvatar/LateralGM/commit/ae0dc208a0b4bdc2fdd436c66403fcafb2ab5d7d
https://github.com/IsmAvatar/LateralGM/issues/161
8) Fixed the EventPanel layout, it was setting it before actually laying out the components causing it to look incorrect under certain look and feels, specifically the new dark one.
https://github.com/IsmAvatar/LateralGM/commit/42828a931c3c948f973314b6876d2ac50fc8cd3f
9) Fixed an old mistake I made in the Game Settings frame mixing up the DESCRIPTION and INFORMATION properties.
https://github.com/IsmAvatar/LateralGM/commit/6d581dd3ddd221073102f5862e10aa64adebf83d
10) JoshEdit regression with insert new line hiding the caret fixed.
https://github.com/JoshDreamland/JoshEdit/issues/17
https://github.com/JoshDreamland/JoshEdit/commit/c2b234e6bfde3a4b5ea8e728734c45693b8311d5

On the left you can see me printing one of my scripts for Project Mario to OneNote, you can clearly see wordwrapping is not implemented and text will be cutoff horizontally just like when you print in Studio, I will fix this eventually, and also line numbers do not appear. I recommend sending your documents to OneNote or similar to preview them before actually sending them to your printer if you use this feature, just for the time being until we know my implementation is stable enough. On the right you can see the additional preferences that have been added to allow you to turn off window decorations and enable hardware acceleration.
(http://i.imgur.com/ZAzjUbX.png)(http://i.imgur.com/lIpJhh8.png)
Title: Re: LateralGM 1.8.6.7596
Post by: egofree on November 05, 2014, 04:15:41 AM
While this is what Eclipse IDE does, they don't have the option to Right Click->Expand All like LGM does. So I am a little undecided about expanding it completely by default.

Can you imagine a situation where you don't want to see all results ? This doesn't seem logical to me. Anyway it would be good to have the feedback of others users.

Edit:
For the resources tree, it makes sense to not expand it by default, as the user will likely not work on all resources.

Don't worry about that yet, I am not ready to reveal what secrets that splitter is hiding.  ;)

How do you expect testers (Well, anyway i am the only one really testing here ! :P) to achieve correctly their task if the application is filled with hidden and secret functions !  :o ;)
Title: Re: LateralGM 1.8.6.7596
Post by: egofree on November 05, 2014, 04:35:53 AM
I don't see any difference when i switch the setting 'Decorate Windows Borders'. What is the the purpose of this setting ?

For hardware acceleration, what happens if i set to 'on' both Direct3D and OpenGl ?
Title: Re: LateralGM 1.8.6.7596
Post by: egofree on November 05, 2014, 04:43:20 AM
In general settings, the language is set to English, but i still see the french version. It doesn't seem to be taken into account. It is based only on the OS language.

By the way, as you working hard on Lateralgm, it would be useful to refactor the way objects are stored in the rooms editor. Right now every time you move an object or a tile, you have to select it on the left lift, otherwise it is not correctly updated. This is annoying when for example we are doing a global shift. I copy a message about this from IsmAvatar :

Quote
Yeah... That was a stupid thing I did, I was trying to encourage people to learn to use the new instance selector to do stuff, and I ended up hooking everything up to that list rather than an independent model, I think. Do with it as you please. This list was a good idea, but it was a prototype and I never had any better ideas on what to do with it after that.

Do you think you would have the time and motivation to do this Robert ?
Title: Re: LateralGM 1.8.6.7596
Post by: Goombert on November 05, 2014, 10:12:15 AM
Quote from: egofree
For the resources tree, it makes sense to not expand it by default, as the user will likely not work on all resources.
Well Eclipse don't actually expand the whole tree, the expand the top most nodes and the very first one the whole way. I don't really feel I agree with expanding the entire tree because that can be laggy and the user may find that even more frustrating when they already know where they want to go to in the search tree.

Quote from: egofree
How do you expect testers (Well, anyway i am the only one really testing here ! :P) to achieve correctly their task if the application is filled with hidden and secret functions !  :o ;)
You can test it when it's ready to be tested.

Quote from: egofree
I don't see any difference when i switch the setting 'Decorate Windows Borders'. What is the the purpose of this setting ?
Left is Swing Look and Feel with decorated window borders. The right is Swing Look and Feel without decorated window borders. The point is some people may want their native window borders, like me. This setting does not effect the MDI area however.
(http://i.imgur.com/V2yM7XL.png)(http://i.imgur.com/yqpl6U9.png)

Quote from: egofree
For hardware acceleration, what happens if i set to 'on' both Direct3D and OpenGl ?
Direct3D is always forced on regardless of whether your hardware supports it. If you set it for both OpenGL and Direct3D then only OpenGL is used. On Windows when OpenGL is forced on, Direct3D is forced off and so are framebuffers because the implementation is buggy on Windows. For instance when I tested OpenGL on Windows 8, all frames except the main JFrame were white, such as preferences and open/save dialogs until I disabled framebuffer objects. It's not a driver issue, it's an issue with Java's implementation, I use surfaces all the time in OpenGL namely ENIGMA.
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/main/LGM.java#L2042

Quote from: egofree
In general settings, the language is set to English, but i still see the french version. It doesn't seem to be taken into account. It is based only on the OS language.
No that is not the case, you have to restart for the Language pack to take effect. I just set the French version fine. Though I do hate how badly maintained these translation files are. It would be nice if someone could go through these and update the missing translations. This is specifically why I want to also move language files external to the program and only include English by default.
http://i.imgur.com/f8WGenl.png

Quote from: egofree
Do you think you would have the time and motivation to do this Robert ?
Possibly after I finish JoshEdit fixes, printing, and other stuff, we are currently going through and fixing some regressions we introduced upstream and also fixing existing issues and exceptions I have been discovering and documenting.
Title: Re: LateralGM 1.8.6.76
Post by: Goombert on November 05, 2014, 11:44:18 AM
Another update, I have fixed a ton of JoshEdit issues. As always you can update using python install.py or manually downloading the new jars.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

1) The FindDialog will now be properly centered again as it always was.
https://github.com/IsmAvatar/LateralGM/commit/55530ef52e2105cdbab41bf43219735c8788e9e2
https://github.com/JoshDreamland/JoshEdit/pull/25
2) Fixed a shift+tab issue with selected text where you could make the selection go out of bounds and throw an exception.
https://github.com/JoshDreamland/JoshEdit/pull/24
3) Fixed the final issue with centering the caret, JoshEdit was not settings its preferred size when initialized, the caret will now be properly in view if you double click a search result on the very last line of a source. I actually have two patches for this submitted, I am not sure which one Josh will go with.
https://github.com/JoshDreamland/JoshEdit/pull/23
https://github.com/JoshDreamland/JoshEdit/pull/22
4) Attempted to fix some glitchiness with selection when you drag left to right or top to bottom past the last line or character of a line outside the window. The view used to jump around because the mouse scroller update object was not being properly stopped and we needed a view bounds check on setting the viewport.
https://github.com/JoshDreamland/JoshEdit/pull/21
Title: Re: LateralGM 1.8.6.76
Post by: The 11th plague of Egypt on November 05, 2014, 12:05:13 PM
Wow!
Just one question, will automatic code refactoring be a part of JoshEdit?
That's one thing I kinda feel the need of when coding.
Title: Re: LateralGM 1.8.6.76
Post by: Goombert on November 05, 2014, 12:06:02 PM
The 11th Plague, we've actually had another request for it recently, we will see down the line, I would personally like to see it in LGM/ENIGMA and I think it is a very important and useful feature. Thanks for your feedback, I also don't expect us to get refactoring in before major version 1.8.7, we haven't made any actual plans on implementing it just tossed around the idea.
Title: Re: LateralGM 1.8.6.76
Post by: The 11th plague of Egypt on November 05, 2014, 02:57:30 PM
The 11th Plague, we've actually had another request for it recently, we will see down the line, I would personally like to see it in LGM/ENIGMA and I think it is a very important and useful feature. Thanks for your feedback, I also don't expect us to get refactoring in before major version 1.8.7, we haven't made any actual plans on implementing it just tossed around the idea.
Thank you. Prioritization is good :pseudo:
Title: Re: LateralGM 1.8.6.76
Post by: egofree on November 05, 2014, 04:00:56 PM
This is a screenshot of Enigma with the language set to English. As you can see, you can find labels in english and french, but i think i'ts because not all labels are translated. I am using Windows 7. And i started again the application, this doesn't change anything.

(http://nsa33.casimages.com/img/2014/11/05/141105095812356023.png)

Edit:
This morning i was trying also ENIGMA on linux, and i didn't have this problem. All labels were in english.
Title: Re: LateralGM 1.8.6.76
Post by: egofree on November 05, 2014, 04:05:14 PM
For the 'Decorate windows borders', it works for the swing theme, but not for the windows native theme. I think this is a problem. I mean if this setting works only for some themes, the user interface doesn't give you any advices about this, and i am afraid the user will be lost.
Title: Re: LateralGM 1.8.6.76
Post by: Goombert on November 05, 2014, 04:08:59 PM
Quote from: egofree
This is a screenshot of Enigma with the language set to English. As you can see, you can find labels in english and french, but i think i'ts because not all labels are translated. I am using Windows 7. And i started again the application, this doesn't change anything.
That's a really weird bug that should not be happening, I wonder if it has to do with RESOURCE_BUNDLE being static?
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/messages/Messages.java#L66

Quote from: egofree
For the 'Decorate windows borders', it works for the swing theme, but not for the windows native theme. I think this is a problem. I mean if this setting works only for some themes, the user interface doesn't give you any advices about this, and i am afraid the user will be lost.
It does, you have to restart, Switching from Swing theme to Native theme removes the Window borders, I can't do anything about that. It's because you started with decorations enabled which causes the frames to not even create a border but expand their size and have the look and feel paint it. So just restart and you should get native window borders, just like in the screenshot you just posted.
Title: Re: LateralGM 1.8.6.76
Post by: egofree on November 05, 2014, 04:11:03 PM
By the way, in you to do list, it would be cool to add for a future version a global replace.  :D
Title: Re: LateralGM 1.8.6.76
Post by: Goombert on November 05, 2014, 04:13:05 PM
That's exactly what the 11th plague just requested, you're now the 4th person to suggest it, don't worry it is on my todo list.  (Y)
Title: Re: LateralGM 1.8.6.76
Post by: egofree on November 05, 2014, 04:16:18 PM
That's exactly what the 11th plague just requested, you're now the 4th person to suggest it, don't worry it is on my todo list.  (Y)

Thanks. Anyway thank you again Robert for all you work. It's amazing how fast you can code, i hope you are not taking any illicit substance (cocaine ? ) to do this ! ;)
Title: Re: LateralGM 1.8.6.76
Post by: TheExDeus on November 05, 2014, 04:47:09 PM
Another thing you could add is searching resources themselves with the same search box. There is already a resource->find option in LGM, but it would be better to have it in the same tree style. Then that option could be removed.
Title: Re: LateralGM 1.8.6.76
Post by: Goombert on November 05, 2014, 06:55:15 PM
What are you saying Harri? That you want to type in "obj_player" and have it find it in the tree? It already does that... That other menu has already become deprecated basically, just not removed, I am leaving it there because some people from old GM's may be upset when they look for it and can't find it. It can stay around until it gets stale.
Title: Re: LateralGM 1.8.6.762
Post by: Goombert on November 06, 2014, 12:02:48 AM
Quick update with some small changes. As always you can update using python install.py or manually downloading the new jars.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

Josh made the find dialog behave like it does in Eclipse, it will center to the window the first time it is shown and then stay where the user closed it the next time it opens. JoshEdit also now prints the line numbers. I still recommend sending to OneNote or some similar program to preview before printing until this feature is further tested.
(http://i.imgur.com/VqWaOp9.png)
Title: Re: LateralGM 1.8.6.76
Post by: Darkstar2 on November 06, 2014, 01:01:03 AM
Ok time for some brutal honesty and I don't want to hurt any feelings, I realise that this is work in progress, but bare with what's to come.

After having tried the new ENIGMA + new LGM, everything up to date properly I must say I am very disappointed SO FAR... (I stress the SO FAR part).... To me it looks like many things were broken with the many updates to enigma and LGM and many regressions.

I made several demos back then all were working fine 100% all were made with ENIGMA from scratch and saved to EGM.  I can't bloody open ANY of them !  I sent Robert screen dumps of errors.  Ignoring the box I can see the resources and all....but here is what I went through so far:

#1) LGM is far worse now, less stable, crashes frequently, far more than it did, random closing, with java errors all over the place - still the motherF* (pardon my french) JVM memory errors, IO errors, crap.  IDE HELL! 

#2) Cannot run ANY of my previous demos, all were native EGM and worked fine.

#3) A LOT of shit does not compile, spitting errors that it cannot find the libinclude.h ! or other weird errors

#4) hitting buttons or using IDE for a while spits more rubbish windows full of errors.

This is from a CLEAN install, cleaned temp files, cleaned programdata area, replaced with recent JARs, updated, I know the drill done it before.

What the bloody hell did I miss ?
and no I am still on Java 7 not 8 so can't blame it on 7......

A bit disappointed I feel this project is regressing :( - more and more I am beginning to hate Java ! :)
BTW enigma plugin is at fault but I tried running it without the plugin and STILL it's bad....so some recent changes in LGM have broken many things and it didn't taking me extensive testing to trigger those. 


I have not done ANY changes to my system since, and everything was working fine, well LGM was flakey but I could compile and run stuff.

What did I miss or do wrong, ,my EGM demo was a simple, basic functionality test and it does not work AT ALL now.

Title: Re: LateralGM 1.8.6.762
Post by: Goombert on November 06, 2014, 01:05:43 AM
Quote from: Darkstar2
What the bloody hell did I miss ?
You downloaded both the new plugin and LGM jar correct? Open git-bash and enter "cd enigma-dev" "git fetch" and "git pull"

You also need the engine updates, the EGM format has had some changes, I can fix your projects and PM them back to you.

It would also help if you could http://www.pastie.org or http://www.pastebin.com some of these errors after attempting the above.
Title: Re: LateralGM 1.8.6.762
Post by: Darkstar2 on November 06, 2014, 01:10:49 AM
Quote from: Darkstar2
What the bloody hell did I miss ?
You downloaded both the new plugin and LGM jar correct? Open git-bash and enter "cd enigma-dev" "git fetch" and "git pull"

Of course I did i mentioned it :D
I have done it many times before,
both JARs were replaced with newer version.  Then I updated the engine.
I always did that fine. and yes the git says already up to date :D

Quote
You also need the engine updates, the EGM format has had some changes, I can fix your projects and PM them back to you.

It would also help if you could http://www.pastie.org or http://www.pastebin.com some of these errors after attempting the above.

I already updated the engine and I sent you a log of errors in PM
I'm sure this has to do with the changes in EGM (version numbering), it cannot open old EGMs......:P
Title: Re: LateralGM 1.8.6.762
Post by: Goombert on November 06, 2014, 01:13:07 AM
As I said it was a better idea to just test LGM by itself without ENIGMA hooked up or any ENIGMA stuff first.

1) If you can, send me the EGM's and I will fix them
2) Also try building this simple GMK
http://enigma-dev.org/edc/games.php?game=68
3) A copy of enigma-dev/output_log.txt would help as well

I am honestly surprised for the rest of us the transition has gone pretty smooth.
Title: Re: LateralGM 1.8.6.762
Post by: Goombert on November 06, 2014, 03:30:32 AM
Additionally I would like to know everyone's opinion on another feature which I haven't committed yet.

I figured out how to hide window borders for the MDI frames when they are maximized. This is very similar to MDI's provided by native DWM's, and I've tested the feature and it works on all platforms. Not only does it look more native for all platforms and more consistent with other frameworks it also gives you a little more room on screen and looks less tacky. It also works for all look and feels.
(http://i.imgur.com/8HPYCSJ.png)(http://i.imgur.com/fxDMJsP.png)

What do you guys think about this feature? Do you want to see it in the next update?
Title: Re: LateralGM 1.8.6.762
Post by: egofree on November 06, 2014, 04:12:24 AM
What do you guys think about this feature? Do you want to see it in the next update?

Why not, but let's add this as an option.
Title: Re: LateralGM 1.8.6.762
Post by: egofree on November 06, 2014, 04:20:04 AM
I'm sure this has to do with the changes in EGM (version numbering), it cannot open old EGMs......:P

Unfortunately, this is to be expected, as i've added new properties into the rooms editor (scaling, rotation,etc) and into the egm format and IsmAvatar (creator of LateralGm) asked me not to support old versions of egm. Anyway Robert should convert for you old projects.
Title: Re: LateralGM 1.8.6.762
Post by: egofree on November 06, 2014, 04:41:44 AM
When i import Lateralgm into Eclipse from the main Github repository, i've a lot of errors in Eclipse : http://pastebin.com/ahCW8bdR. What is the problem ?

Title: Re: LateralGM 1.8.6.762
Post by: egofree on November 06, 2014, 05:02:41 AM
When i do a find, there is a toggle button : 'Highlight all', but it doesn't seem to do anything. Is the button already implemented ?
Title: Re: LateralGM 1.8.6.762
Post by: The 11th plague of Egypt on November 06, 2014, 05:15:07 AM
Additionally I would like to know everyone's opinion on another feature which I haven't committed yet.
What do you guys think about this feature? Do you want to see it in the next update?
On Windows there's a gray gap in the obj_player window.
IMHO it doesn't really look maximized if there's such a gap.
Title: Re: LateralGM 1.8.6.762
Post by: TheExDeus on November 06, 2014, 07:39:27 AM
Quote
What are you saying Harri? That you want to type in "obj_player" and have it find it in the tree? It already does that... That other menu has already become deprecated basically, just not removed, I am leaving it there because some people from old GM's may be upset when they look for it and can't find it. It can stay around until it gets stale.
Yeah, you are right. I was waiting the result to be in "Search results" tab though. So when I search for "spr_", then in search results all resources with spr_ would also be listed. Not only code.

I have a bug that LGM sometimes freezes when I press the green compile button. Usually I can compile one time, then the second time it will freeze and stop. Other times it will freeze on the first try. Nothing gets written in the log. The only way to close LGM is to use task manager.

edit: It has also crashed once for me (the whole Java runtime), but it doesn't seem print any errors anywhere. So it has gotten a lot more unstable for me too.
Title: Re: LateralGM 1.8.6.762
Post by: polygone on November 06, 2014, 08:07:24 AM
I have a bug that LGM sometimes freezes when I press the green compile button. Usually I can compile one time, then the second time it will freeze and stop. Other times it will freeze on the first try. Nothing gets written in the log. The only way to close LGM is to use task manager.

edit: It has also crashed once for me (the whole Java runtime), but it doesn't seem print any errors anywhere. So it has gotten a lot more unstable for me too.
I've been that freeze too (it's maybe when trying to compile too quickly?) and also had the segfault several times when compiling - I pasted into IRC the log of the terminal when it segfaults but I've forgotten where it was now, perhaps Josh remembers.
Title: Re: LateralGM 1.8.6.762
Post by: Goombert on November 06, 2014, 01:57:12 PM
Don't worry Harri & Polygone, you're not crazy, I've noticed the green run button freezing as well, and I have to close through task manager. I believe it is the hardware acceleration, go to File->Preferences->Appearance and force all hard acceleration off. The reason it's probably freezing is because of us doing more GUI stuff on the EDT. Additionally let me know if that fixes some of the segfaults and crashes, I have not been getting those, only the green run button occasionally freezing.

So far all of the major issues now seem to be due to the plugin, without the plugin, LGM is extremely stable.

Quote from: The 11th Plague
On Windows there's a gray gap in the obj_player window.
IMHO it doesn't really look maximized if there's such a gap.
It still looks more maximized, and I don't know what you mean by gray gap exactly. Do you mean that the title bar is still visible? Or do you mean how there is like a dark shadow on the edges of the whole MDI area?

GM8.1 also has somewhat of a gap, ours just seem to be darker depending on look and feel.
(http://i.imgur.com/LUNXjYo.png)

Quote from: egofree
When i import Lateralgm into Eclipse from the main Github repository, i've a lot of errors in Eclipse : http://pastebin.com/ahCW8bdR. What is the problem ?
We don't redistribute JoshEdit anymore, you have to cd to the submodule and initialize it, then open Eclipse and refresh and move all the JoshEdit sources into the package org.lateralgm.joshedit

Quote from: egofree
When i do a find, there is a toggle button : 'Highlight all', but it doesn't seem to do anything. Is the button already implemented ?
That's not a regression, that highlight button has never worked, go back and test the old versions and you'll see. A large portion of the find dialog is incomplete, which is JoshEdit's fault, not really LGM's
http://enigma-dev.org/docs/Wiki/LateralGM:_Revisions
Title: Re: LateralGM 1.8.6.766
Post by: Goombert on November 06, 2014, 07:31:33 PM
NOTE: Please guys let me know if forcing off hardware acceleration after a few hours addresses most of your crashes or if the same problems still persist.

Here's another small update with some look and feel bugs fixed. I have not included the proposed change above, because it requires some more work by me to make it more native like, I want it to also hide the title pane and move the restore/max/close icons into the ancestor window menubar only if it exists, just like Qt Framework, just requires a little hacking is all.

As always you can update via python install.py or manually from the Extra Packages page.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

* Switching look and feels no longer breaks layouts, I have a special wrapper class for this. So switching from say native or Windows lnf to Nimbus or Swing will no longer screw up the search filter or event panel, as reported by egofree
* Switching window decorations will always update immediately for all dialogs and frames and no longer leads to frameless borders, and this was tested extensively and it will also not unnecessarily update the preference if it hasn't changed.
* Stopped a look and feel change from readding the icons to the Preferences tree, just had to make a custom class as a wrapper and basically an empty shell to fix it.

https://github.com/IsmAvatar/LateralGM/commit/ea3cb9d31770650e20a315c525f491cb28b14173
Title: Re: LateralGM 1.8.6.766
Post by: Darkstar2 on November 06, 2014, 09:09:11 PM
Ok not a problem about my EGM, they were only small demos used for debugging font issues - no biggie. But I could not compile one thing with the new LGM though.  I will install new updates tonight and see...will turn off HW acceleration though it kinda defeats the purpose to have that option in the first place :D

Title: Re: LateralGM 1.8.6.766
Post by: Darkstar2 on November 06, 2014, 09:29:30 PM
Ok works now.

Started some NEW egm, things compile now, I tried with all graphic systems.

VERY nice this searching in resources thing, this is extremely useful for big games when locating specific things,
combined with proper use of commenting, this can be a big time saver!
Thanks for this feature.

Otherwise yeah I have no time to spend hours for today but spent a few minutes torturing LGM and it survived lol.

Tomorrow evening as I come back I will put it to more torture and see :D

Title: Re: LateralGM 1.8.6.766
Post by: Goombert on November 06, 2014, 10:19:27 PM
That's great to hear, the next release I'll force Direct3D back off by default, and hide these preferences. The majority of our issues now reside in the plugin I'd say.

But it would also still help to know if these issues with hard acceleration do not happen as badly when you use LGM separate from the plugin, as in download it to your desktop and run it without ENIGMA.
Title: Re: LateralGM 1.8.6.766
Post by: egofree on November 07, 2014, 03:24:14 AM
I had similar problems several days ago, but i am was not sure if it was due to ENIGMA or not. This morning i installed the new version of LateralGM, and after several seconds i had again a black screen. As i saw nothing, i could not even use the tasks manager. I had to use the 'off' button of my computer. If you think it's due to the hardware acceleration, please disable it by default !
Title: Re: LateralGM 1.8.6.766
Post by: Goombert on November 07, 2014, 03:47:07 AM
Heh, you don't understand, the default by the JVM is actually on if the hardware supports it. The real issue is further bugs down inside LGM like executing GUI/Swing code on the EDT. But I will be turning the default to forcing it off in the next release.
Title: Re: LateralGM 1.8.6.766
Post by: egofree on November 07, 2014, 04:56:56 AM
But i am not 100% sure. This week i had several updates for my Nvidia graphic drivers, and this could be the problem also.
Title: Re: LateralGM 1.8.6.767
Post by: Goombert on November 07, 2014, 04:29:24 PM
Quick update with some small changes. You can update via python install.py or by manually downloading the new jars.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

* The MDI area scrollbars are now only shown when needed, so when you maximize a frame they will not be visible, just like normal MDI managers and the one in GM8.1, giving just a little more space on screen.
https://github.com/IsmAvatar/LateralGM/commit/f995c9b91a94dc09877cf75ce15b2ed3789d6f73
* Hardware acceleration is now forced off by default again, though I still need you guys to run it with it on and report issues to me because regardless of whether or not we fix them they still exist and only get worse as time goes on, the whole point of what I'm trying to do is fix these bugs and eliminate them for good which I can't do if you guys don't report them.
* Fixed a regression I accidentally left in the source code that caused the MDI frames to have skinny title panes under some look and feels, when testing I was setting the UI property "isPalette" on the frames.
* Fixed class cast exception when changing the window decorations preference caused by having open MDI frames.
https://github.com/IsmAvatar/LateralGM/commit/08104f65f5f11b12b431a9808afa712da1dcd866

Quote from: egofree
But i am not 100% sure. This week i had several updates for my Nvidia graphic drivers, and this could be the problem also.
From my research it seems that users with Nvidia graphics cards have the most problems with Java2D's hardware acceleration. Regardless, I still need issues reported to me because either way I can try to fix what needs to be fixed, I do not want to sweep issues under the rug, that's how LGM got so buggy in the first place.
Title: Re: LateralGM 1.8.6.767
Post by: egofree on November 08, 2014, 03:39:42 AM
What is the purpose of the event selector icon in main window (on the top-right) ? It doesn't seem to be implemented. If i click on an event, i've the following error : http://pastebin.com/4SeQtzBp.
Title: Re: LateralGM 1.8.6.767
Post by: Goombert on November 08, 2014, 04:46:21 AM
If you click that button, it should raise the event tab, unless you set the preference to undock it in which case it shows the frame. Also, the latter error log does not help me, I have no way of reproducing that and failed in doing so, everything seems to be working here, I need exact steps.
Title: Re: LateralGM 1.8.6.767
Post by: egofree on November 08, 2014, 05:03:00 AM
I can't reproduce the error anymore. But why this event selector is in the main toolbar ? It's only for objects. It should be in the objects window. If you don't have an object open, it can't be used. This doesn't seem logical to me. This icon seems useless to me in this place. It is also displayed when you are in the objects events and you click on the modify button.
Title: Re: LateralGM 1.8.6.79
Post by: Goombert on November 09, 2014, 12:37:11 AM
Here's another update that took me a while to complete. As always python install.py to update or manually download the jars from Extra Packages.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

* Icon reading exception fixed by sorlok for some ico files that have empty/fake masks.
https://github.com/IsmAvatar/LateralGM/commit/304937f4ab31a3efae10f221feab29518f291879
https://github.com/IsmAvatar/LateralGM/issues/163
* Implemented undo and redo to the action list editors you can undo multiple actions such as move, cut, copy, paste, delete, and clear. The only thing that does not yet get undone is changes to the actions values, not even recognized yet as an undo operation.
https://github.com/IsmAvatar/LateralGM/commit/ed00e3885c1a6015ae0060a59cc20711865750b2
https://github.com/IsmAvatar/LateralGM/commit/f06e70a5157b9112ab47bb4f94d6d35ca6527156
https://github.com/IsmAvatar/LateralGM/commit/5f7ff9b3ce49ac37757981f95a354b490fe3fb4b
* Fixed exceptions for some file open dialogs when you enter a filename for a file that does not exist. This needs further cleaned up.
https://github.com/IsmAvatar/LateralGM/commit/e5785eff85ced88d09e6ce4389c1228e5b849dee
* Added APNG loading to the sprite and background editor, the file extension will need to be ".apng" for LGM to load all the subimages from it, or it will think it's a regular PNG. It can be used to mix GIF's and APNG's in the sprite editor. This required moving the APNG reader/writer from the plugin to LGM.
https://github.com/IsmAvatar/LateralGM/issues/114
https://github.com/enigma-dev/lgmplugin/commit/33e112c8667e38ff1cf63c679f379fd8e5d407bb
https://github.com/IsmAvatar/LateralGM/commit/e5785eff85ced88d09e6ce4389c1228e5b849dee

In the following image you can see I mixed a sonic GIF with another APNG image, and also loaded another APNG image separately.
(http://i.imgur.com/QJmpnpE.png)

I encourage everyone to experiment with the action list undo implementation and ensure that everything works as you would expect and that undoing/redoing does not throw any exceptions, try as hard as you can to break it. And remember, try to also make an example with steps that I can easily reproduce for me to fix it. This is a very tricky feature and requires careful analysis.

Quote from: egofree
can't reproduce the error anymore. But why this event selector is in the main toolbar ? It's only for objects. It should be in the objects window. If you don't have an object open, it can't be used. This doesn't seem logical to me. This icon seems useless to me in this place. It is also displayed when you are in the objects events and you click on the modify button.
It has been in there since LGM was first started egofree, it's kind of unique to the application, occasionally I click on the button as well to get the panel. If you think it should be removed you should discuss it with everyone else, I personally don't have an opinion on it either way because if you don't use it, it's not in your way so it shouldn't bother you.
Title: Re: LateralGM 1.8.6.79
Post by: egofree on November 09, 2014, 04:06:28 AM
* Implemented undo and redo to the action list editors you can undo multiple actions such as move, cut, copy, paste, delete, and clear. The only thing that does not yet get undone is changes to the actions values, not even recognized yet as an undo operation.

What is the action list editors ?  :D
Title: Re: LateralGM 1.8.6.79
Post by: Goombert on November 09, 2014, 04:25:25 AM
The drag and drop component that is on the timeline frame and object frame? Drag and drop actions, hence Action List editor.
Title: Re: LateralGM 1.8.6.79
Post by: egofree on November 09, 2014, 04:41:39 AM
The drag and drop component that is on the timeline frame and object frame? Drag and drop actions, hence Action List editor.

Ok, but how can the undo and redo can be accomplished ? I don't see any buttons for this.
Title: Re: LateralGM 1.8.6.79
Post by: Goombert on November 09, 2014, 06:14:59 AM
The clipboard, CTRL+Z/CTRL+Y and also the context menu, Right Click->Undo/Redo just like GM: Studio
Title: Re: LateralGM 1.8.6.79
Post by: egofree on November 09, 2014, 06:21:44 AM
Ok, i understand now. There is a problem with the focus. Within the objects window, if the actions list panel doesn't have the focus, the keyboards shortcuts don't work. I give an example : if you add several  new actions, and try CTRL-Z, it doesn't work if an action has not been selected before in the actions list panel.

Edit:
To be sure, just open a new objects window, and add directly new actions. It will not work. You have to select an action in the actions list panel. Would it be possible to link the shortcuts to the objects window and not the actions panel ?
Title: Re: LateralGM 1.8.6.79
Post by: egofree on November 09, 2014, 06:42:44 AM
By the way, it doesn't seem good to have functions like the undo, which are not always present in every part of the program, if there is no indication for the user that it's available. So my advice would to add at buttons to show to the user that this function is available. I see two possibilities : first we add a specific tools bar to the objects window, or we add dynamically these buttons in the main toolbar (next to the events selector button).

Edit:
It's the same with the 'expand all', 'collapse all' functions within the search results. It seems to me dangerous to have functions only available in a context menu. I am sure a lot of people will never see that these functions are available.
Title: Re: LateralGM 1.8.6.79
Post by: egofree on November 09, 2014, 06:47:28 AM
It has been in there since LGM was first started egofree, it's kind of unique to the application, occasionally I click on the button as well to get the panel. If you think it should be removed you should discuss it with everyone else, I personally don't have an opinion on it either way because if you don't use it, it's not in your way so it shouldn't bother you.

I sent an email to IsmAvatar about this.
Title: Re: LateralGM 1.8.6.8
Post by: Goombert on November 09, 2014, 07:53:48 AM
Another quick update, you can download the same as always. I've added the line number panel found in Studio to the action list.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages
https://github.com/IsmAvatar/LateralGM/commit/303dcc656e03ebe115c77461ac935bee04a73c6d

(http://i.imgur.com/XwkVooJ.png)(http://i.imgur.com/wU0ayG6.png)

Quote from: egofree
Ok, i understand now. There is a problem with the focus. Within the objects window, if the actions list panel doesn't have the focus, the keyboards shortcuts don't work. I give an example : if you add several  new actions, and try CTRL-Z, it doesn't work if an action has not been selected before in the actions list panel.
That is actually a Swing issue, mouse released does not register focus on a component, only left mouse clicked. I had to work around that to make right click focus the selected node on the resource tree as well.
Title: Re: LateralGM 1.8.6.8
Post by: egofree on November 09, 2014, 08:04:21 AM
When you are doing a copy and several pastes one after the other, you've all actions selected :

(http://nsa34.casimages.com/img/2014/11/09/14110902032736374.png)
Title: Re: LateralGM 1.8.6.79
Post by: IsmAvatar on November 09, 2014, 01:31:39 PM
Quote from: egofree
can't reproduce the error anymore. But why this event selector is in the main toolbar ? It's only for objects. It should be in the objects window. If you don't have an object open, it can't be used. This doesn't seem logical to me. This icon seems useless to me in this place. It is also displayed when you are in the objects events and you click on the modify button.
It has been in there since LGM was first started egofree, it's kind of unique to the application, occasionally I click on the button as well to get the panel. If you think it should be removed you should discuss it with everyone else, I personally don't have an opinion on it either way because if you don't use it, it's not in your way so it shouldn't bother you.

Actually the Event Selector has a bit of a history behind it, and has changed a lot through each of the LGM releases. Originally it behaved very much like GM's, but we figured we could do better, and a few ideas were thrown around and some experimentation was done. What you're seeing now is really just the latest incarnation, and can certainly be changed.

The button is one of the newest additions, and even it has changed a bit, moving around and getting new icons.

I certainly agree that it doesn't make sense for it to be present when there are no Objects to select Events for, but that said, removal of the button on such a main interface as the Toolbar might be a little too overt. I could be wrong. Feel free to try it out and keep it if you think it works. Fortunately the location of the button is very unobtrusive, so we don't have to worry about other items shifting.
Title: Re: LateralGM 1.8.6.82
Post by: Goombert on November 09, 2014, 10:57:00 PM
Another quick update I've added save functionality to the sprite and background frames including APNG support. You can in fact save all your subimages to an APNG with this feature, it will save the selected subimages on the frame or if none are selected it will save them all. GIF animation writing is not yet supported.

https://github.com/IsmAvatar/LateralGM/commit/337081b85d4b212c51d12f2bcf5261bef0e14224

I used the new save button to export this animated monster from the Mark Overmar's FPS example to the APNG format.
(http://i.imgur.com/5ZPMWWm.png)

As always you can get these changes through python install.py or manually downloading the new jars.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

Quote from: egofree
When you are doing a copy and several pastes one after the other, you've all actions selected :
I've discovered that as well, I'll see what I can do about it to restore it to expected behavior, but for now make sure the undo/redo behavior works.

Quote from: IsmAvatar
I certainly agree that it doesn't make sense for it to be present when there are no Objects to select Events for, but that said, removal of the button on such a main interface as the Toolbar might be a little too overt.
Perhaps as a compromise we could hide it when the user has it docked as a tab because we don't need 2 places on the main interface to get to it in 1 click.
Title: Re: LateralGM 1.8.6.82
Post by: egofree on November 10, 2014, 11:00:51 AM
I reported before problems with the language setting set to english on my PC with a french version of Windows 7. I did more tests with the language setting and i installed in a virtual machine a french version of Windows XP 32 bits. I have the same problem. The language is set to 'English', but you still see a lot of labels in french. It does not change anything if you change the local of your OS, as it is seems only based on the language of your OS. Of course if you have a english OS, you will not see this problem.
Title: Re: LateralGM 1.8.6.823
Post by: Goombert on November 12, 2014, 02:59:17 AM
Quick update, I've partially fixed the selection issues with the undo manager on the ActionList restoring the old behavior. Moving actions still causes the selection to be completely lost, will fix it soon.
https://github.com/IsmAvatar/LateralGM/commit/8209ec74aa59ff0112faaaf0824ed5fb9e5f08a8

I made two additional changes:
* Changed the action list line number area to use the list colors instead of the default JComponent colors, also stops it from highlighting the selected line.
https://github.com/IsmAvatar/LateralGM/commit/5ae55bba9f35003350cabf6dcfc90384e0bd550f
* Fixed another exception when switching from a look and feel that supports window decorations to one that does not, the default frame shape must be restored before setting the decorated panel by passing null to setShape
https://github.com/IsmAvatar/LateralGM/commit/36a9107667d69e2448920f05a71e35fb3a303dce

As always update manually by downloading the jars or python install.py
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

(http://i.imgur.com/wVzVR2E.png)
Title: Re: LateralGM 1.8.6.823
Post by: egofree on November 12, 2014, 04:26:49 AM
Concerning the actions list line numbers, personally i preferred how it was before, with a different background color, as the line numbers were more easily distinguished. Well, it was my two cents. :P
Title: Re: LateralGM 1.8.6.823
Post by: egofree on November 12, 2014, 04:31:36 AM
Quick update, I've partially fixed the selection issues with the undo manager on the ActionList restoring the old behavior. Moving actions still causes the selection to be completely lost, will fix it soon.

Are you sure ? Try to open a objects window, add some actions, and try an undo with ctrl-z. Despite the fact that new actions are automatically selected in the list, you have to manually select an action in the list if you want the undo to work.
Title: Re: LateralGM 1.8.6.823
Post by: Goombert on November 12, 2014, 07:01:42 PM
Quote from: egofree
Concerning the actions list line numbers, personally i preferred how it was before, with a different background color, as the line numbers were more easily distinguished. Well, it was my two cents. :P
I don't know where you are coming from with that because in the old one it was impossible to view the line number on the selected line (look at the old screenshot). It in fact still uses the same colors, just doesn't change the selected line just like a normal code editor doesn't. It's still either way technically more correct because it's not a generic JComponent, it's a list component. Maybe we can add a preference in the future.

Quote from: egofree
Are you sure ? Try to open a objects window, add some actions, and try an undo with ctrl-z. Despite the fact that new actions are automatically selected in the list, you have to manually select an action in the list if you want the undo to work.
Even GM: Studio's undo does not restore the selection, in fact no code or text editor does except regular Notepad. If you look at Scintilla, Notepad++, Eclipse, Code::Blocks, Visual Studio, Microsoft Word, etc. Undoing or redoing always destroys your current selection.

Now you are correct that the focus still doesn't work, but undo/redo itself and maintain selection is perfectly fine now except when moving actions, moving list items is supposed to maintain your selection, that I still need to fix.
Title: Re: LateralGM 1.8.6.823
Post by: egofree on November 13, 2014, 12:37:00 PM
I don't know where you are coming from with that because in the old one it was impossible to view the line number on the selected line (look at the old screenshot).

Look at the first screen you posted when you implemented the line numbers :

(http://i.imgur.com/XwkVooJ.png)

The background color of the line numbers is a light grey. I was just saying i prefer that. But anyway that's not important.
 
Quote from: egofree
Are you sure ? Try to open a objects window, add some actions, and try an undo with ctrl-z. Despite the fact that new actions are automatically selected in the list, you have to manually select an action in the list if you want the undo to work.
Even GM: Studio's undo does not restore the selection, in fact no code or text editor does except regular Notepad. If you look at Scintilla, Notepad++, Eclipse, Code::Blocks, Visual Studio, Microsoft Word, etc. Undoing or redoing always destroys your current selection.

Now you are correct that the focus still doesn't work, but undo/redo itself and maintain selection is perfectly fine now except when moving actions, moving list items is supposed to maintain your selection, that I still need to fix.

Perhaps i understand nothing or my english is too bad  :ohdear:, but i feel we are not talking about the same thing. I am not talking about problems with selection, but about the fact that when you add a new action, it should be possible to use the ctrl-z shortcut to remove the new action. Right now if you open an objects window, and you add directly new actions, it's not working, if you don't click manually on an action list. Perhaps this is the correct way, and there is nothing wrong with this.

To conclude, let's forget about these problems if i understood nothing.  ;)
Title: Re: LateralGM 1.8.6.823
Post by: TheExDeus on November 13, 2014, 05:02:55 PM
For some reason with the newest LGM I get constant crashes (I think the plugin crashes, as I cannot select anything in the ENIGMA menu only).
http://pastebin.com/tmqjBXWG
http://pastebin.com/Y8bBhFep
It shows that on startup. I don't have to do anything.
Title: Re: LateralGM 1.8.6.825
Post by: Goombert on November 13, 2014, 05:29:28 PM
Another quick updated, I've fixed a typo in the GMX reader that was causing room persistence not to save. Update using python install.py or manually download the new jars.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

This was the commit that fixed the GMX reader.
https://github.com/IsmAvatar/LateralGM/commit/978f1fda054a49d265e51ab0d64f1771547b4255

Quote from: egofree
Look at the first screen you posted when you implemented the line numbers :
I see, but with the dark look and feel it made them invisible, it's still more consistent to use list colors and not generic component colors for the numbers. Like I said maybe we should add a preference.

Quote from: egofree
Perhaps i understand nothing or my english is too bad  :ohdear:, but i feel we are not talking about the same thing. I am not talking about problems with selection, but about the fact that when you add a new action, it should be possible to use the ctrl-z shortcut to remove the new action. Right now if you open an objects window, and you add directly new actions, it's not working, if you don't click manually on an action list. Perhaps this is the correct way, and there is nothing wrong with this.
It was like that in the old LGM as well, go back and test 1.8.6 and earlier versions. What you are describing is that the action list should have focus by default, which I don't really know if that is a good idea or not.
http://enigma-dev.org/docs/Wiki/LateralGM:_Revisions

Quote from: TheExDeus
For some reason with the newest LGM I get constant crashes (I think the plugin crashes, as I cannot select anything in the ENIGMA menu only).
It looks like you managed to reproduce the focus traversal bug, I'll try to push a patch for enigma.jar for you to see if it fixes it. This is regarding turning off window decorations, do not try messing with the preference I want to actually fix this. Just please answer two quick questions:

1) Have you updated both enigma.jar and lateralgm.jar? Because it looks like your engima.jar is out of date, the reported line numbers are incorrect.
2) What is the window decorations preference set to under "Appearance"?
3) What is hardware acceleration set to?
Title: Re: LateralGM 1.8.6.825
Post by: TheExDeus on November 13, 2014, 07:20:15 PM
Quote
1) Have you updated both enigma.jar and lateralgm.jar? Because it looks like your engima.jar is out of date, the reported line numbers are incorrect.
Yes. I downloaded the enigma.jar from wiki. I just did it again, but the same problem (as it's still 5 days old).

Quote
2) What is the window decorations preference set to under "Appearance"?
I have it turned off. I just enabled it and same problem. Then I turned it off again.

Quote
3) What is hardware acceleration set to?
Off.

The problem actually started before I upgraded. I just though upgrading might fixed it. It started for no apparent reason while I was editing an .egm and making the gui extension. The "Memory access violation" made me think the problem could be a lot deeper, like parsing one of the files I changed. But the stack trace doesn't show anything like that, so I don't know.
Title: Re: LateralGM 1.8.6.828
Post by: Goombert on November 13, 2014, 08:08:32 PM
Does the error only happen when loading this specific EGM? Try loading a GMK or GMX or open ENIGMA without opening that EGM.

This stacktrace suggests it is something to do with definitions.
http://pastebin.com/tmqjBXWG

This stacktrace suggests the transitivity bug.
http://pastebin.com/Y8bBhFep

But we need to separate the two problems first, I need to know if one exists without the other which you can tell me by eliminating the EGM from the test.

Also I've made another quick update and improved load and save buttons. Update as usual.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

* Load dialogs will now verify that the file exists and if it does not it will warn you to verify the file name. You will see this on all file dialogs, including the one for loading projects, images, sprites, game information, etc.
https://github.com/IsmAvatar/LateralGM/commit/4239d4caa97becf095a78ecf28b01249f9b90673
* Applied the same load dialog fix to JoshEdit to verify file names.
https://github.com/JoshDreamland/JoshEdit/pull/38
* Added an exception handler interface to JoshEdit to stop silent failings.
https://github.com/JoshDreamland/JoshEdit/pull/37
https://github.com/IsmAvatar/LateralGM/commit/2de5bb7cfad9ecb68e8fccf5ec07ce965b911166
* Save dialog on the background and sprite frame will now show a warning message if there is no image to save and tell you to create it first.
* Pulled a fix by sorlok for loading constants.
https://github.com/IsmAvatar/LateralGM/pull/172
* Added confirm overwrite dialog to JoshEdit and LGM file choosers when saving files to disk.
https://github.com/IsmAvatar/LateralGM/commit/f152da04b3430ac5a19b614ddcb2acd16fd570ee

This is what the new warning dialogs look like.
(http://i.imgur.com/zG5sDG9.png)(http://i.imgur.com/wQ7wqUI.png)(http://i.imgur.com/G3p8QQe.png)
Title: Re: LateralGM 1.8.6.828
Post by: TheExDeus on November 14, 2014, 03:03:16 AM
Quote
Does the error only happen when loading this specific EGM? Try loading a GMK or GMX or open ENIGMA without opening that EGM.
No, I don't even load anything. It happens right when opening LGM.

edit: Jup, just as I thought. The problem is that I had an error in an include.h file. Instead of "gui_button_get_style(int id);" I got "gui_button_get_style(int id){", which broke the parser and then the error message (I think it was the error message) then broke LGM, because the error message needed some fancy borders or something. I think the parser shouldn't segfault on syntax errors like that. Josh (or anyone else doing parser stuff) should look into that.
Title: Re: LateralGM 1.8.6.828
Post by: Goombert on November 14, 2014, 04:41:18 AM
Duly noted Harri that should not be how it handles it. I have no idea how it led to the transitivity bug, me starts to think that the earlier reports may have just been inconsistencies in jars and ENIGMA's source, but no doubt I did fix some of the transitivity. I'll try to look into it and see what I can do though this may require a larger discussion about ENIGMA building errors being reported back to LGM and how we can accomplish that  (Y)

Just as a quick QOS test I want to list some objectives here:

* Fix GTK MDI layout so that it has scrollbars and works as expected.
* Look into Harri's issue.
* Fix selection when moving actions
* Add focus to the ActionList by default
* Save and load dialog warnings do not recognize extensions and file filters are not consistent among a lot of dialogs, needs cleaned up and fixed.
* Image save dialogs show formats that are not supported and also do not write BMP's and some formats because the image is RGBA and Java can only write RGB bitmap files so you have to convert them before writing.
* Resolve remaining JoshEdit bugs.
* Finish implementing JoshEdit preferences.

And then we will have a stable 1.8.7, this is the current roadmap for LGM's major release plus or minus a few miscellaneous fixes along the way.
Title: Re: LateralGM 1.8.6.828
Post by: TheExDeus on November 14, 2014, 05:49:21 AM
Quote
* Save and load dialog warnings do not recognize extensions and file filters are not consistent among a lot of dialogs, needs cleaned up and fixed.
I hope this involves checking why Save As has two places specify the format to use. It always bugged me. Ism mentioned something about it years ago, but I don't remember if it was in defense for that decision or not. Right now I don't know which of them are actually used, or even if both somehow is. So I always have to click the radio button "egm" together with dropdown menu "egm". Also, "egm" should probably be the default choice and be at the top.
Title: Re: LateralGM 1.8.6.828
Post by: egofree on November 14, 2014, 06:43:12 AM
Just as a quick QOS test I want to list some objectives here:

What about fixing the language setting ? For the moment all users of the french version of Windows will have an inconsistent display of labels in LateralGm.
Title: Re: LateralGM 1.8.6.828
Post by: IsmAvatar on November 14, 2014, 03:35:59 PM
Quote
* Save and load dialog warnings do not recognize extensions and file filters are not consistent among a lot of dialogs, needs cleaned up and fixed.
I hope this involves checking why Save As has two places specify the format to use. It always bugged me. Ism mentioned something about it years ago, but I don't remember if it was in defense for that decision or not. Right now I don't know which of them are actually used, or even if both somehow is. So I always have to click the radio button "egm" together with dropdown menu "egm". Also, "egm" should probably be the default choice and be at the top.
Unfortunately there's not a whole lot of customization that can be done with the Save dialog, so that's about the best I could do. The two areas are Format and Filter. The radio buttons specify the format, and are the only important ones. The dropdown at the bottom is only a filter, which filters which files are displayed - you can leave it as the default and it will save your file just fine.
The limitation of the Save As dialog is that the dropdown at the bottom, Filter, is always there and can only be used for that purpose. So I can't remove it, and I can't use it to replace the radio buttons.

EGM should be the default option if you load an EGM file. Otherwise, it defaults to an LGM format for compatibility purposes. I propose a setting for it.
Title: Re: LateralGM 1.8.6.828
Post by: Goombert on November 14, 2014, 07:10:47 PM
Quote from: egofree
What about fixing the language setting ? For the moment all users of the french version of Windows will have an inconsistent display of labels in LateralGm.
Please read my GitHub comments, I can not fix it, someone who knows French has to fix it.
https://github.com/IsmAvatar/LateralGM/issues/169

Quote from: TheExDeus
I hope this involves checking why Save As has two places specify the format to use. It always bugged me. Ism mentioned something about it years ago, but I don't remember if it was in defense for that decision or not. Right now I don't know which of them are actually used, or even if both somehow is. So I always have to click the radio button "egm" together with dropdown menu "egm". Also, "egm" should probably be the default choice and be at the top.
As IsmAvatar has pointed out, we can't get rid of the right side pane because it lets you specify different versions of the same format. This will be more useful with GMX which will be getting version numbers but the file extension is going to remain the same.

However, I can fix the issues with the extensions, and I do want to remove the force extension option. I want to make all save and load dialogs act like the same dialogs in other programs. If you select a filter the extension will be added only if it is not already appended to the filename. This will have to be handled by the CustomFileChooser as well because it needs to detect the file name with the extension to properly check if it exists and warn the user about an overwrite, etc.

The "force extension" option is a real pain in the but I agree, I always end up making a .egm.gm81 or similar file.
Title: Re: LateralGM 1.8.6.828
Post by: egofree on November 15, 2014, 03:30:58 AM
Quote from: egofree
What about fixing the language setting ? For the moment all users of the french version of Windows will have an inconsistent display of labels in LateralGm.
Please read my GitHub comments, I can not fix it, someone who knows French has to fix it.
https://github.com/IsmAvatar/LateralGM/issues/169
Yes i've read the comments, but it doesn't seem logical to me. The language setting is set to english, so it should not make any difference if there are missing translations in french, i want only to see english labels.
Title: Re: LateralGM 1.8.6.828
Post by: Goombert on November 24, 2014, 03:14:21 PM
I commented on the tracker, I understand now and it is an issue that needs fixed, the preference should explicitly override the OS setting.
Title: Re: LateralGM 1.8.6.829
Post by: Goombert on November 27, 2014, 05:44:02 PM
Here's a new release with several fixes I've been working on for a few days.

For this update you must update both the LateralGM and plugin jars, you can do so via python install.py or manually from the extra packages page.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

* Stopped the sprite frame subimage selection from going out of bounds when clicking a button, the last frame will still be properly previewed.
https://github.com/IsmAvatar/LateralGM/commit/3d1842c5981fec8a81395dcc94093a974a7b2c1f
* Fixed issues where the checkered patterns for image previews were not resizing without closing and reopening the resource frame, this was caused by me caching the image without checking if the size changed.
https://github.com/IsmAvatar/LateralGM/commit/3d1842c5981fec8a81395dcc94093a974a7b2c1f
* Temporarily patched an issue that caused the language preference to not explicitly override the operating system locale, though I am currently waiting for IsmAvatar to see if she would like it fixed differently because I have another solution that is just as easy. This issue was reported by egofree.
https://github.com/IsmAvatar/LateralGM/commit/14ecabc1d953199ca026f5a36fa4f18be04f3221
https://github.com/IsmAvatar/LateralGM/issues/169
* You can now preview icon files when loading them. We broke Christian Trebel's ICOReader when we originally ported it by automatically closing the stream, this is incompatible when plugging it into ImageIO, you need to close the stream manually. So that is fixed, but also I double checked to make sure streams were not left open from game info and elsewhere and properly closed the streams where they needed to be.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
* ICO files can now be loaded by the background and sprite editors, the sprite editor will load all layers.
https://github.com/IsmAvatar/LateralGM/commit/020ab9e23792728863d7b79f7b8102467968a485
* Prefix options have been full implemented, you do not need to restart they take immediate effect, adding new resource types also doesn't require updating the preferences frame anymore, it is generated dynamically.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
* Game icon and version information have been fully moved to the Platforms/Windows tab in Game Settings, Project Information is now fully implemented as well so information and description are properly distinguished now. Other platform settings are soon to follow.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
* Made the layout for physics options on the object frame more compact and correct.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
* Fixed a race condition between messages, preferences, and resource kinds which was necessary to implement prefix preferences. So the tree groups can be translated again.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
* Increased the default room size a bit, default size is way too small.
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
* Added missing separators to some resource frames
https://github.com/IsmAvatar/LateralGM/commit/3165a36a2f54d67fbb9f0bd7d8da13a203b640e8
* Symbols are translated again for the object frame, so no double semicolons will appear under the French translation.
https://github.com/IsmAvatar/LateralGM/commit/3d7163ece15d20b8166464d40ed4b479a43fbe39
* Added translations for messages that were not translated before.
https://github.com/IsmAvatar/LateralGM/commit/14ecabc1d953199ca026f5a36fa4f18be04f3221
* Switched the executable file chooser to use the LGM CustomFileChooser, so it will now ask you whether to overwrite files when you save an executable and things like that.
https://github.com/enigma-dev/lgmplugin/commit/6e03fe2a3699128822c82a9871671f4f790c0e69
* Fixed BMP writing, you can now properly save bitmaps from the sprite and background frame.
https://github.com/IsmAvatar/LateralGM/commit/020ab9e23792728863d7b79f7b8102467968a485
* Removed unsupported image formats from the image file readers and writers.
https://github.com/IsmAvatar/LateralGM/commit/020ab9e23792728863d7b79f7b8102467968a485

(http://i.imgur.com/oP221Vu.png)(http://i.imgur.com/wchAzdb.png)
(http://i.imgur.com/ywbbL1V.png)(http://i.imgur.com/sBzRnGz.png)
(http://i.imgur.com/RDwQLxH.png)
Title: Re: LateralGM 1.8.6.829
Post by: egofree on November 28, 2014, 05:38:38 AM
The bug with the language setting is fixed !  (Y)
In the physics panel of an object, the 'collision shape' button is not implemented. This is not a big deal but i think we should better hide this button, otherwise the user could be confused.
Title: Re: LateralGM 1.8.6.829
Post by: egofree on November 28, 2014, 12:29:14 PM
It's not possible to add an collision event anymore. This problem doesn't happen with the previous version (portable version on the download page).
Title: Re: LateralGM 1.8.6.829
Post by: Goombert on November 28, 2014, 01:30:23 PM
You are going to need to be a little more detailed than that, I need exact steps to replicate. I attempted to add new collision events in the latest version in several games and it works fine.

(http://i.imgur.com/yB7JGiO.png)
Title: Re: LateralGM 1.8.6.829
Post by: egofree on November 28, 2014, 01:37:32 PM
Ok, i created a new project, with two sprites and two objects. When i open an object, i click on the modify button in order to display the event selector, but in the collision event, it's not possible to select an object.

(http://nsa33.casimages.com/img/2014/11/28/141128073516474298.png)

Edit:
Ok, if i close the project and LateralGm, and i start again LateralGm and i load again the project, it's ok !
Title: Re: LateralGM 1.8.6.8293
Post by: Goombert on November 28, 2014, 01:53:12 PM
Ok, quick update, I've identified the bug and fixed it already, it was a very small mistake I made when I fixed the issue with the layout breaking when switching look and feels, though I don't even know why I removed the code or caused this bug in the first place, but I fixed it.

As always you can update via python install.py or manually from the extra packages page.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

* Fixed collision event select issue just reported by egofree, this mistake was actually made way back on September 29th and existed this whole version, for some reason I accidentally removed the update listener to the tree root that updates the event select.
https://github.com/IsmAvatar/LateralGM/commit/8eb131fc387f158f5c02398b9fa92bdbcd285b00
https://github.com/IsmAvatar/LateralGM/commit/85413c2a538d24649aaf95840a03bf11f138a12d
* The GMX writer was writing the path background room but the GMX reader was not reading it.
https://github.com/IsmAvatar/LateralGM/commit/c32761dd80fe7dca6821311ab38157ad1d1a5090
* Threw the setModel call for the tree in LGM.reload into a SwingUtilities thread, this stops the occasional exception caused when double clicking a GMX project and loading it via file association with enigma.exe or when launching LGM from a terminal or command line.
https://github.com/IsmAvatar/LateralGM/commit/c32761dd80fe7dca6821311ab38157ad1d1a5090
Title: Re: LateralGM 1.8.6.8293
Post by: egofree on November 28, 2014, 02:23:47 PM
In the objects panel, if you add events without linking them to an action, if you save and close the objects window, the events will be lost. Is this normal ?
Title: Re: LateralGM 1.8.6.8293
Post by: Goombert on November 28, 2014, 03:10:38 PM
Yes that's normal, it's been that way since I started working on LGM, go back and test lgm16b4, GM's IDE does the same.
http://enigma-dev.org/docs/Wiki/LateralGM:_Revisions
Title: Re: LateralGM 1.8.6.8293
Post by: egofree on November 28, 2014, 03:18:02 PM
Open game settings, click on ENIGMA setting, and click on cancel :

Quote
Operating System: Windows 7
Version: 6.1
Architecture: x86

Java Vendor: Oracle Corporation
Version: 1.8.0_25

Available processors (cores): 8
Free memory (bytes): 233636688
Maximum memory (bytes): 1013645312
Total memory available to JVM (bytes): 259588096

File system root: C:\
Total space (bytes): 999964012544
Free space (bytes): 924335046656
Usable space (bytes): 924335046656

File system root: D:\
Total space (bytes): 0
Free space (bytes): 0
Usable space (bytes): 0

Stack trace:
java.lang.NullPointerException
   at org.lateralgm.subframes.GameSettingFrame.actionPerformed(GameSettingFrame.java:887)
   at org.enigma.frames.EnigmaSettingsHandler.actionPerformed(EnigmaSettingsHandler.java:897)
   at javax.swing.JComboBox.fireActionEvent(Unknown Source)
   at javax.swing.JComboBox.setSelectedItem(Unknown Source)
   at org.enigma.frames.EnigmaSettingsHandler.setComponents(EnigmaSettingsHandler.java:742)
   at org.enigma.frames.EnigmaSettingsHandler.revertResource(EnigmaSettingsHandler.java:762)
   at org.lateralgm.subframes.GameSettingFrame.revertResource(GameSettingFrame.java:1023)
   at org.lateralgm.subframes.GameSettingFrame.actionPerformed(GameSettingFrame.java:875)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Title: Re: LateralGM 1.8.6.8293
Post by: egofree on November 28, 2014, 03:24:00 PM
Open LateralGm, and select menu Build -> design :

Quote
Operating System: Windows 7
Version: 6.1
Architecture: x86

Java Vendor: Oracle Corporation
Version: 1.8.0_25

Available processors (cores): 8
Free memory (bytes): 219113344
Maximum memory (bytes): 1013645312
Total memory available to JVM (bytes): 259522560

File system root: C:\
Total space (bytes): 999964012544
Free space (bytes): 924332777472
Usable space (bytes): 924332777472

File system root: D:\
Total space (bytes): 0
Free space (bytes): 0
Usable space (bytes): 0

Stack trace:

java.io.IOException: Unexpected end of file reached at filepos: 0
   at org.lateralgm.file.GmStreamDecoder.read(GmStreamDecoder.java:102)
   at org.lateralgm.file.StreamDecoder.read4(StreamDecoder.java:99)
   at org.enigma.utility.EnigmaBuildReader.readChanges(EnigmaBuildReader.java:44)
   at org.enigma.EnigmaRunner.compile(EnigmaRunner.java:756)
   at org.enigma.EnigmaRunner.actionPerformed(EnigmaRunner.java:786)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.AbstractButton.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source)
   at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
   at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
   at javax.swing.JMenuItem.processMouseEvent(Unknown Source)
   at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
   at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source)
   at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source)
   at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
   at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Title: Re: LateralGM 1.8.6.8293
Post by: Goombert on November 28, 2014, 06:22:52 PM
I just fixed the exception with ENIGMA settings, this is caused by me using the key instead of the key value for identifying tabs in the settings frame.
https://github.com/IsmAvatar/LateralGM/commit/f949a2aa9681d927030712fa2e8fb13656163f83

Update the same as always, also, Design mode hasn't worked since r3, so don't worry about it right now.
Title: Re: LateralGM 1.8.6.8293
Post by: egofree on December 02, 2014, 01:25:33 PM
There are problems for importing tiles from a GM project. For testing purposes, in GM studio, i created a background, and i use it as a tileset. Then in a room, i put several tiles :

(http://nsa34.casimages.com/img/2014/12/02/141202072321629544.jpg)

You can download this test case here : https://dl.dropboxusercontent.com/u/29802501/TilesGM.gmx.zip (https://dl.dropboxusercontent.com/u/29802501/TilesGM.gmx.zip)

If you open this project in Enigma, it is not possible anymore to move the tiles. Also, if you save the project and try again to open it in GM studio, you've an exception :

(http://nsa33.casimages.com/img/2014/12/02/141202072618929285.jpg)
Title: Re: LateralGM 1.8.6.8293
Post by: egofree on December 02, 2014, 03:23:58 PM
I think i've found the problem for the exception within GM Studio : the name tag inside the tile element is always inst_ :

Quote
<tile bgName="bkg_0" colour="4294967295" depth="0" h="16" id="10000002" locked="0" name="inst_" scaleX="1.0" scaleY="1.0" w="16" x="144" xo="176" y="176" yo="112"/>

In GM Studio it needs the id. You can put the tile's id, and it should be ok :

Quote
name="inst_10000002"

But that doesn't fix the first problem where it's not possible to move tiles from a GM project.
Title: Re: LateralGM 1.8.6.8293
Post by: egofree on December 02, 2014, 03:41:08 PM
I think i've found also the cause of the second problem. It seems to be related to depth : by default in GM studio the depth of tiles is 1000000. With this value it is not possible to move tiles within Enigma. By default it's zero in Enigma. If you set the tiles depth to zero and you save the project, it is possible again to move tiles.
Title: Re: LateralGM 1.8.6.8293
Post by: TheExDeus on December 03, 2014, 04:27:04 AM
Newest LGM continues to freeze when "Run" is pressed. No errors or anything. Just freezes.
Title: Re: LateralGM 1.8.6.8293
Post by: polygone on December 03, 2014, 07:50:47 AM
Newest LGM continues to freeze when "Run" is pressed. No errors or anything. Just freezes.
What does the enigmalog say when t his happens?
Title: Re: LateralGM 1.8.6.8293
Post by: egofree on December 03, 2014, 08:24:19 AM
TheExdeus:
Try 'Build->Rebuild All', and see if it can fix the problem. I had to re-install ENIGMA and i had similar problems, and it seems 'Rebuild all' command has helped to fix the problem.
Title: Re: LateralGM 1.8.6.8293
Post by: Goombert on December 03, 2014, 11:34:31 AM
egofree I see your bugs but I don't have time to fix them atm, but I will get to them in my next update, I have another small feature I'm sneaking in.

Harri, Preferences->Appearance, what is hardware acceleration set to? As I said force it "off" that is the default in the newest version but you may have saved preferences and stuck it in as default. I too get the freezing but it seems to be only when hardware acceleration is allowed on. If you do have it off then I'll need to look into it further.
Title: Re: LateralGM 1.8.6.8293
Post by: egofree on December 04, 2014, 04:56:01 AM
I've fixed the problem with the tile's name. Very easy to fix :

Code: [Select]
String tileId = Integer.toString((Integer) props.get(PTile.ID));
tileelement.setAttribute("id",tileId);
tileelement.setAttribute("name","inst_" + tileId);

There is still the problem with the depth value.
Title: Re: LateralGM 1.8.6.8293
Post by: egofree on December 04, 2014, 08:34:18 AM
For the depth, i've found the problem : you can move only tiles which have the same depth as the current layer. The depth of the layer is set in the 'add' tab. This not intuitive and logical for modifying tiles. I will add a depth field in the modify tab. It will be a drop down will all the depths of the tiles in the current room. It is implemented more or less this way in GM Studio.
Title: Re: LateralGM 1.8.6.8293
Post by: egofree on December 04, 2014, 02:14:38 PM
As i understand the depth is useful to deal with tiles in the same position, but it should not be mandatory to select a tile. I would suggest that for selecting a tile first we test if there is a tile with the depth of the current layer and if no tiles are found we test if there is a tile regardless of its depth.
Title: Re: LateralGM 1.8.6.831
Post by: Goombert on December 08, 2014, 01:52:11 PM
Here's another quick update, I've included some fixes from egofree, and I've finally finished that image effects frame!

You can update as usual using python install.py or manually from the Extra Packages page.
http://www.enigma-dev.org/docs/Wiki/Install:Extra_Packages

1) Image effects frame implemented and 12 basic effects including Colorize, Intensity, Outline, Emboss, Black and White, Invert Color, Remove Color, Remove Transparency, Sharpen, Blur, Opacity, and Edge detection. The little green spray paint can icon on the sprite and background frame will open the image effects frame. For sprites you can apply it to all selected subimages, otherwise just select 1 subimage, if no subimages are selected it will be applied to every subimage.
https://github.com/IsmAvatar/LateralGM/commit/c2388c0b4efea5a1f571092f050bd7a076abc605
https://github.com/IsmAvatar/LateralGM/commit/020ec6d7efbcc5b95ad9cfaa1e5c52bffb8642d2
https://github.com/IsmAvatar/LateralGM/commit/c45c1aa5dcf872398a7b6d35ec70ae9fb8385087
https://github.com/IsmAvatar/LateralGM/commit/a662aacbc0b5569754729d9266e242314547979b
https://github.com/IsmAvatar/LateralGM/commit/c64fba1edc448393ff80599ed20404e905675593
(http://i.imgur.com/iIggMvP.png)(http://i.imgur.com/EYOUHCC.png)

2) Fixed a bug in the search feature, resource action arguments will now be searched by name, useful for finding all uses of a script for instance.
https://github.com/IsmAvatar/LateralGM/commit/fec2200a92d2b761b60ece75eed4f5819d4e2a16
(http://i.imgur.com/BsSSxpp.png)

3) A fix was included by egofree for the GMX writer to give all tiles unique names using the id, which works with Studio though is less hash-like. A similar fix was previously included for instances by myself.
https://github.com/IsmAvatar/LateralGM/commit/c6f7a9d9e56646c2a1a85c54d148e030c957be1f

4) Fixed exception in instance list of the room editor when selected instance has a non-existant object reference. For example you create an instance of an object and then delete the object resource, the instance becomes of unlinked.
https://github.com/IsmAvatar/LateralGM/commit/fe40e656d1a577d0556d29505aad3fe8548f1dac

5) Moved transparency functions, such as for checkered patterns, to Utility class.
https://github.com/IsmAvatar/LateralGM/commit/b00c81e5fe5b78218d271f65309c954b335e461c
Title: Re: LateralGM 1.8.6.831
Post by: egofree on December 08, 2014, 03:18:24 PM
6) In the rooms editor, move the tile's layer field above tabs : https://github.com/IsmAvatar/LateralGM/pull/179
Title: Re: LateralGM 1.8.6.831
Post by: egofree on December 08, 2014, 03:23:54 PM
He Robert, it's really impressive the work you've done, especially the image effects. I will try to test the new features.
Title: Re: LateralGM 1.8.6.831
Post by: egofree on December 08, 2014, 03:32:31 PM
First impression for the image effects : it works great !  (Y) Small details for the user interface : the drop down which contains the effect name seems to me very large. In the sprite window, next to 'Add effect' button, there are 'undo' and 'redo' buttons. Would it be possible to use these buttons for the image effects ? In the image effect window, there is the close button. I am not sure if it's really necessary, as in general, we can close windows with the mouse.
Title: Re: LateralGM 1.8.6.831
Post by: egofree on December 08, 2014, 03:39:43 PM
I think the list in the drop down of 'image effects' should be sorted. In this way, it's more easy to find back an image effect.
Title: Re: LateralGM 1.8.6.831
Post by: Goombert on December 08, 2014, 03:42:30 PM
Thanks egofree, and thanks for your fixes too otherwise I probably wouldn't have noticed the tile names for quite some time, it looks like I got the instance names a long time ago. I was actually thinking about the undo/redo buttons right now since I was going to add instance creation ordering to the room editor, but you seem to be working in the same files right now. I got this release out to avoid us having conflicts in our commits.

As for the close button, GM's is layed out quite similar, I combined all effects to one frame. It's fine for now, just don't stress about it. Too many bigger things to worry about right now, we can always come back to things. Also the size of the combo can't really be fixed, the preferred size cuts off the strings and the default size makes it fill the whole width, so I went with getPreferredSize().width * 2 for now.
(http://i.imgur.com/tfBWUF5.png)

Also try to use the edit button more, this topic is getting too many pages and we keep going to a new page too quickly, last page only had 2 releases.
Title: Re: LateralGM 1.8.6.831
Post by: egofree on December 08, 2014, 03:48:47 PM
Also try to use the edit button more, this topic is getting too many pages and we keep going to a new page too quickly, last page only had 2 releases.

Ok, i will try.  :D For the 'Apply' and 'close' buttons, in general we expect to be at the bottom of the window. 
Title: Re: LateralGM 1.8.6.831
Post by: egofree on December 15, 2014, 06:09:45 AM
FYI, I've sorted manually the image effects list.
Title: Re: LateralGM 1.8.6.831
Post by: Goombert on December 17, 2014, 04:21:05 PM
egofree, we should have discussed that first, I didn't really want them sorted because I had them added to the list by similarity of function
https://github.com/IsmAvatar/LateralGM/pull/187

The reason being is because fading to a color and opacity effects are most similar as blur and sharpen are.
Title: Re: LateralGM 1.8.6.831
Post by: egofree on December 18, 2014, 03:40:48 AM
egofree, we should have discussed that first, I didn't really want them sorted because I had them added to the list by similarity of function
https://github.com/IsmAvatar/LateralGM/pull/187

The reason being is because fading to a color and opacity effects are most similar as blur and sharpen are.

Ok, sorry, i didn't think you were against this modification. I just wanted to help.
Title: Re: LateralGM 1.8.6.831
Post by: Goombert on December 18, 2014, 04:17:29 AM
Don't sweat it, it's not a big deal at all you just weren't aware of what I had planned and you meant well too. IsmAvatar seems to favor sorting it by functionality as well. It's partly my fault for not offering feedback earlier as I was still busy finishing finals at school. But either way keep it up ego you're doing great work, I've made mistakes too that I've had to undo, nobodies perfect, but you're pretty good!  (Y)
Title: Re: LateralGM 1.8.6.836
Post by: Goombert on December 26, 2014, 06:46:28 AM
After egofree made several new improvements to the Room Editor, I decided to make a release for everyone to test these features and find any bugs. If things go well we can get this included in a new Portable ZIP with recent compiler fixes such as modulus assignment and instance activation by sorlok.

As always you can update from the extra packages page or via python install.py
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

These are egofree's changes:
1) Moved the current tile layer above the tabs and other changes include removing the now useless "Batch" tab
https://github.com/IsmAvatar/LateralGM/pull/179
https://github.com/IsmAvatar/LateralGM/pull/182
https://github.com/IsmAvatar/LateralGM/pull/185
2) Fixed depth issue to make sure the selected instance/tile is always visible
https://github.com/IsmAvatar/LateralGM/pull/186
3) Fixed a tile moving bug
https://github.com/IsmAvatar/LateralGM/issues/183
4) Added rectangular selections tools
https://github.com/IsmAvatar/LateralGM/pull/189
5) Added cut, copy, paste functionality to the room editor
https://github.com/IsmAvatar/LateralGM/pull/192
Title: Re: LateralGM 1.8.6.836
Post by: egofree on December 26, 2014, 07:20:38 AM
For change 1, the most important update is managing tiles layers (c.f https://github.com/IsmAvatar/LateralGM/pull/182), the other changes are minor compared to it.

Edit:
I added also three new toggle buttons : 'snap to grid', 'add on top' and 'add multiple', which can be used to switch the corresponding modes. There is also a new 'Select an object' button which is needed when we are in 'pasting mode' and we want to go back to the single object selection mode.
Title: Re: LateralGM 1.8.6.836
Post by: egofree on December 26, 2014, 11:29:57 AM
I did more tests and i've found a minor bug, which i was aware it could happen : if you copy a region where tiles or instances overlap, sometimes the display order is not the same. In the original region an instance is above another one, and in the pasted region, it's the other way around. The problem lies in functions copySelectionInstances and copySelectionTiles in class RoomEditor. Robert, you told me that i could let my work unfinished, so if you agree, i will let you fix this one, or we can also forget it for the moment. I don't think it's really urgent.
Title: Re: LateralGM 1.8.6.837
Post by: Goombert on December 26, 2014, 09:08:52 PM
Another quick update, I asked ego to add himself to the contributors list in case anyone may need to contact him in the future. I also added the new Calico room icons to Contrast until Josh gives us a proper SVG.

(http://i.imgur.com/w6bjg9j.png)

@egofree, just leave it for now, it's not that big of a deal, I can fix it some time in the future.
Title: Re: LateralGM 1.8.6.837
Post by: egofree on December 27, 2014, 04:49:36 AM
Thanks for the icons.
By the way, i think we SHOULD post an announce on the Enigma frontpage about new version of LateralGM. This year lateralGM has been modified in depth and we added a lot of new features. Instead, we have mostly announces about security patches or things which are not directly related to Enigma !  :(
Title: Re: LateralGM 1.8.6.837
Post by: Goombert on December 27, 2014, 08:10:29 AM
I was waiting until we reach 1.8.7 to announce it on the home page, like I have for every release in the past. This version we've gone with slower version increments, which is more proper, we don't want LateralGM 11 coming out after a month of development.
Title: Re: LateralGM 1.8.6.844
Post by: Goombert on January 11, 2015, 09:05:02 AM
Another quick update here egofree has used the official vectored versions of the room icons and I have implemented the configuration manager for multiple configs. In addition to the previous room changes by egofree you can now have multiple constants and configurations. GMK will only read and write your first configuration and its associated constants. EGM still does not save constants, and will only save the first configuration like the GMK format. So for now you must use the GMX format to save multiple configurations and constants. You must always have 1 configuration and you get 1 default constants page plus a constants page associated with every configuration just like in GM: Studio.

Here is a screenshot of the new configuration manager. You must use this frame to work with multiple configs and the constants associated with them. The configuration selected on the main toolbar will be the configuration the game builds with, just like GM: Studio. Opening constants using the main toolbar or the tree node will give you the constants that are written for every configuration.
(http://i.imgur.com/V1Nnwrn.png)

You can update just like always with the python install.py script or manually from the extra packages page, I will build a new portable when the EGM format is fixed, I can't do it myself as school is starting and I am busy studying.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

This was the commit where I fixed the icons to use Josh's official exported ones that are not aliased.
https://github.com/IsmAvatar/LateralGM/commit/4276803806c22632efaf48751a6775e8936f7b27
Title: Re: LateralGM 1.8.6.844
Post by: TheExDeus on January 12, 2015, 04:20:59 PM
How about adding default options? Like right now by default when you create a Shader you get it as glsles and precompile false. How about a way for me to say the default to be glsl and precompile true? This is less of a problem when I actually create a shader, but when I load non-egm files. Like I open a GM example and all the shaders have defaulted to GLSLES and False, so I have to open 10 shaders and reset them all.

They probably shouldn't be saved in configurations as they are not project specific, but user preference specific.
Title: Re: LateralGM 1.8.6.844
Post by: TheExDeus on January 14, 2015, 07:34:49 AM
The new LGM (from the Download page) keeps crashing (when pressing the Run button, just like before), but it also trows errors when opening an egm file:
Quote
Operating System: Windows 8.1
Version: 6.3
Architecture: x86

Java Vendor: Oracle Corporation
Version: 1.8.0_25

Available processors (cores): 8
Free memory (bytes): 16148096
Maximum memory (bytes): 259522560
Total memory available to JVM (bytes): 57532416

File system root: C:\
Total space (bytes): 255506509824
Free space (bytes): 161634590720
Usable space (bytes): 161634590720

File system root: D:\
Total space (bytes): 499967324160
Free space (bytes): 489319682048
Usable space (bytes): 489319682048

File system root: E:\
Total space (bytes): 500101541888
Free space (bytes): 493137895424
Usable space (bytes): 493137895424

Stack trace:
java.lang.NullPointerException
   at org.enigma.file.EFileReader.readResource(EFileReader.java:666)
   at org.enigma.file.EFileReader.processEntries(EFileReader.java:644)
   at org.enigma.file.EFileReader.readNodeChildren(EFileReader.java:622)
   at org.enigma.file.EFileReader.readEgmFile(EFileReader.java:560)
   at org.enigma.file.EFileReader.readEgmFile(EFileReader.java:538)
   at org.enigma.file.EgmIO.read(EgmIO.java:56)
   at org.lateralgm.main.FileChooser$1.run(FileChooser.java:564)
   at java.lang.Thread.run(Unknown Source)
Then when I try to open some resources I get:
Quote
Operating System: Windows 8.1
Version: 6.3
Architecture: x86

Java Vendor: Oracle Corporation
Version: 1.8.0_25

Available processors (cores): 8
Free memory (bytes): 12028024
Maximum memory (bytes): 259522560
Total memory available to JVM (bytes): 57532416

File system root: C:\
Total space (bytes): 255506509824
Free space (bytes): 161598521344
Usable space (bytes): 161598521344

File system root: D:\
Total space (bytes): 499967324160
Free space (bytes): 489319682048
Usable space (bytes): 489319682048

File system root: E:\
Total space (bytes): 500101541888
Free space (bytes): 493137895424
Usable space (bytes): 493137895424

Stack trace:
java.lang.NullPointerException
   at org.lateralgm.subframes.ResourceFrame.<init>(ResourceFrame.java:151)
   at org.lateralgm.subframes.InstantiableResourceFrame.<init>(InstantiableResourceFrame.java:50)
   at org.lateralgm.subframes.ShaderFrame.<init>(ShaderFrame.java:93)
   at org.lateralgm.subframes.ResourceFrame$DefaultResourceFrameFactory.makeFrame(ResourceFrame.java:108)
   at org.lateralgm.components.impl.ResNode.openFrame(ResNode.java:210)
   at org.lateralgm.components.impl.ResNode.openFrame(ResNode.java:194)
   at org.lateralgm.main.Listener$MListener.mouseReleased(Listener.java:798)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
And when I press Save it corrupts the egm.

Added the egm to this post.
Title: Re: LateralGM 1.8.6.844
Post by: Goombert on January 15, 2015, 08:21:24 AM
We already have default options though I never considered an interface for changing them. All resources have a default property map.

But yes precompile should be set to true I suppose, since in ENIGMA we actually check the string type to make sure it can compile, in other words we only compile GLSL in GL. Right now it is false, but we can definitely change it, I have no problem with that because even if we didn't check them the shader compilers fail silently, not necessarily silently, but it won't crash the app if you accidentally compile an HLSL shader with the GLSL shader compiler.
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/resources/Shader.java#L38

I am also aware the EGM format is broke in this release thus why it does not appear in a new portable zip yet. Fixing the EGM format the correct way is something I do not have time for, but we have a ticket posted on GitHub. You should still be able to run GMK/GMX just fine.
https://github.com/enigma-dev/lgmplugin/issues/29