Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Goombert

616
Developing ENIGMA / Re: LateralGM 1.8.6.766
« 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

617
Developing ENIGMA / Re: LateralGM 1.8.6.762
« 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.


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

618
Developing ENIGMA / Re: LateralGM 1.8.6.762
« 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.


What do you guys think about this feature? Do you want to see it in the next update?

619
Developing ENIGMA / Re: LateralGM 1.8.6.762
« 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.

620
Developing ENIGMA / Re: LateralGM 1.8.6.762
« 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.

621
Developing ENIGMA / Re: LateralGM 1.8.6.762
« 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.

622
Developing ENIGMA / Re: LateralGM 1.8.6.76
« 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.

623
Developing ENIGMA / Re: LateralGM 1.8.6.76
« 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)

624
Developing ENIGMA / Re: LateralGM 1.8.6.76
« 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.

625
Ideas and Design / Re: In need of a Sonic fangame engine for Enigma
« on: November 05, 2014, 12:10:28 pm »
Quote from: HitCoder
When I had the error, the loading dialogue was in the way of the program, and I couldn't close it (the window) or the dialogue. I used task manager though, so it's all good. I'm just saying, as you said
Actually, haha, I had that too because I went and replaced the plugin to test the issue. That only happens going from the last version to the new version because I added checking for changes to the close button, so all other exception dialogs you receive in the future, you should still get a chance to save/exit without having to go to task manager. It was just blocking you because when you went to close it was looking for the check for changes method which was causing the initial exception. So that is only a temporary bug  (Y)

Quote from: HitCoder
I don't mean to request anything impossible, or too much work to even bother with, but is there any way you can implement a feature that when an object is renamed, any scripts refferencing the object are updated? If you think it would freeze the program on some projects, why not make it optional?
Just a request, I understand if it's impossible.
I am sorry, you're now the third person to request it so it must have just slipped my mind. It is on the todo list, but I don't think it will be in 1.8.7 stable. It requires quite a bit of recoding and we haven't made plans on implementing it but I definitely want the feature implemented, I use refactoring all the time in Eclipse.

626
Developing ENIGMA / Re: LateralGM 1.8.6.76
« 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.

627
Developing ENIGMA / Re: LateralGM 1.8.6.76
« 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

628
Off-Topic / Re: Contributor Status
« on: November 05, 2014, 10:34:27 am »
I forgot to mention, we're also doubling your salaries 0$ * 2 ;D

629
Developing ENIGMA / Re: LateralGM 1.8.6.7596
« 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.


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.

630
Issues Help Desk / Re: LateralGM seems to have just... stopped compiling?
« on: November 04, 2014, 10:41:50 pm »
Hmm this is interesting, it was behaving completely different for me. What OS are you on?

I believe I may have a clue, it appears when I load this file and open game settings, changes are automatically detected for DESCRIPTION. I no longer get the fatal error message in my output even with the original, so that must have been a fluke.

It seems there are multiple issues with this project.

Edit: Scratch that, it was an unrelated bug which I just fixed and posted to the other topic.
http://enigma-dev.org/forums/index.php?topic=2269.msg23702#msg23702

So after that it just seems to be compiler issues with the project. Most likely the result of its heavy use of parenting, I bet that's where it's crashing.