Search found 868 matches

by Andrew
April 7th, 2024, 7:29 pm
Forum: Scripts
Topic: safeopenclip.lua usability issues
Replies: 57
Views: 935

Re: safeopenclip.lua usability issues

I was thinking more about the following use case (when the rule in the pattern comments is different than Golly's stored rule): 4) ignore Golly's stored rule and use the rule from the pattern comments and open the pattern. To handle this case the script could do steps like this: * Call saverules = ...
by Andrew
April 7th, 2024, 7:00 am
Forum: Scripts
Topic: safeopenclip.lua usability issues
Replies: 57
Views: 935

Re: safeopenclip.lua usability issues

confocaloid wrote:
April 7th, 2024, 4:29 am
Well, in my opinion those two cases are different enough from the case "pasting pattern data with an appended @RULE data".
Not in my opinion. I'm not going to waste any more time arguing over this.
by Andrew
April 7th, 2024, 4:05 am
Forum: Scripts
Topic: safeopenclip.lua usability issues
Replies: 57
Views: 935

Re: safeopenclip.lua usability issues

I believe having a confirmation pop-up before installing a rulefile would be better, compared to installing rules silently. Especially considering that the script is called 'safeopenclip' and is supposed to be safe to use. I'd have to disagree. There are already two cases where Golly installs a .ru...
by Andrew
April 7th, 2024, 2:37 am
Forum: Scripts
Topic: safeopenclip.lua usability issues
Replies: 57
Views: 935

Re: safeopenclip.lua usability issues

Andrew's post mentioned "(but only if there is no existing file)". If there is an existing .rule file, then the "safe" opening functionality in safeopenclip.lua will never get triggered in the first place, right? The pattern will be opened using the already-installed rule. Oops -- of course! @confo...
by Andrew
April 6th, 2024, 8:48 pm
Forum: Scripts
Topic: safeopenclip.lua usability issues
Replies: 57
Views: 935

Re: safeopenclip.lua usability issues

There are quite a few posts like this that have a pattern with @RULE info after the pattern data. I think it would be nice if safeopenclip.lua looked for that info and if the @RULE name matches the earlier rule string then it should create a suitable .rule file in the user's rule directory (but only...
by Andrew
April 2nd, 2024, 6:02 pm
Forum: General Discussion
Topic: Golly 4.3b1
Replies: 45
Views: 1642

Re: Golly 4.3b1

Sokwe wrote:
April 2nd, 2024, 7:30 am
Please replace honey-farm-hasslers.rle ...
Done.
by Andrew
March 29th, 2024, 7:50 pm
Forum: General Discussion
Topic: Golly 4.3b1
Replies: 45
Views: 1642

Re: Golly 4.3b1

Not sure if this counts as a bug per se, but when pasting in a new version of the currently used ruletable, would it be possible to stop Golly from stripping away whatever the current active bounded grid is? Possible, but I'm not convinced it's necessary. All you have to do is hit Z (or the Undo bu...
by Andrew
March 26th, 2024, 7:11 pm
Forum: General Discussion
Topic: Golly 4.3b1
Replies: 45
Views: 1642

Re: Golly 4.3b1

confocaloid wrote:
March 26th, 2024, 9:18 am
Given that several issues were already reported after Golly 4.3b1 was made available, will there be a second beta build (4.3b2) at some point before the release?
Possibly. It will depend on how many changes are made to 4.3b1 and how complicated they are.
by Andrew
March 26th, 2024, 7:06 pm
Forum: General Discussion
Topic: Golly 4.3b1
Replies: 45
Views: 1642

Re: Golly 4.3b1

Are these intended? Most of those keys are Windows specific so I'd rather not try to support them, especially because I wouldn't be able to test them (apart from caps lock, my Mac keyboard doesn't have any of those keys). I'm not even sure if wxWidgets can detect some of those key presses. Given th...
by Andrew
March 26th, 2024, 1:46 am
Forum: Scripts
Topic: safeopenclip.lua usability issues
Replies: 57
Views: 935

Re: safeopenclip.lua usability issues

Nathaniel wrote:
March 25th, 2024, 9:50 pm
This is now set up (e.g., https://conwaylife.com/rules/DoubleB3S23.rule points to the rule that's on the wiki).
Thanks! Works fine.
by Andrew
March 25th, 2024, 4:56 pm
Forum: General Discussion
Topic: Golly 4.3b1
Replies: 45
Views: 1642

Re: Golly 4.3b1

I've noticed that shrinking particularly large selections causes the dialog box that shows up while waiting to display "Copying selection" rather than something relating to shrinking - is this a fixable minor detail? Fixed -- thanks. (Golly is actually copying the selection to a temporary universe ...
by Andrew
March 25th, 2024, 4:32 pm
Forum: Scripts
Topic: safeopenclip.lua usability issues
Replies: 57
Views: 935

Re: safeopenclip.lua usability issues

Just to make sure that I understand the request properly: if I set URL redirects on the server so that, for example, https://conwaylife.com/rules/DoubleB3S23.rule displayed the exact same content as https://conwaylife.com/w/index.php?title=Rule:DoubleB3S23&action=raw would that work? Yep, I think t...
by Andrew
March 25th, 2024, 1:48 am
Forum: Scripts
Topic: safeopenclip.lua usability issues
Replies: 57
Views: 935

Re: safeopenclip.lua usability issues

It might not be necessary, though; let's see what can be done with a pop-up HTML page with a clickable link. I think it makes a lot of sense to do that. Gives you a lot more flexibility. For example, you could easily display any comments in the pattern file (see this script for example). You could ...
by Andrew
March 21st, 2024, 9:33 pm
Forum: General Discussion
Topic: Golly 4.3b1
Replies: 45
Views: 1642

Re: Golly 4.3b1

confocaloid wrote:
March 21st, 2024, 9:28 am
Please add the following replacement links ...
Done.
by Andrew
March 20th, 2024, 7:41 pm
Forum: General Discussion
Topic: Golly 4.3b1
Replies: 45
Views: 1642

Re: Golly 4.3b1

The UTF-8 support is not added to .html windows. More details please. I assume you mean when displaying .html files in Golly's help window. If so, which files have problems? It should be easy to fix those problems by adding this line to the header (right after the <html> tag): <meta http-equiv="Con...
by Andrew
March 18th, 2024, 8:19 am
Forum: General Discussion
Topic: Golly 4.3b1
Replies: 45
Views: 1642

Re: Golly 4.3b1

Running the script goto.lua on the quoted pattern, and entering 2738059586423623206 does not go immediately to the specified generation, but instead goes to 2738059586423623170. Looks like you're hitting a limitation in Lua. Unlike Python, Lua doesn't support arbitrarily large numbers (note that ma...
by Andrew
March 16th, 2024, 8:22 pm
Forum: General Discussion
Topic: Golly 4.3b1
Replies: 45
Views: 1642

Re: Golly 4.3b1

H. H. P. M. P. Cole wrote:
March 16th, 2024, 9:08 am
factorio-small-objects.rle is not in the right folder...
Agreed. I'll move it into the Larger-than-Life folder for the final 4.3 release (and fix that typo).
by Andrew
March 16th, 2024, 8:10 am
Forum: General Discussion
Topic: Golly 4.3b1
Replies: 45
Views: 1642

Golly 4.3b1

Golly 4.3b1 is now available for testing: https://www.trevorrow.com/golly/golly-4.3b1-win-64bit.zip (for 64-bit Windows 7+) https://www.trevorrow.com/golly/golly-4.3b1-mac.dmg (for macOS 10.11+) https://www.trevorrow.com/golly/golly-4.3b1-gtk-64bit.tar.gz (for Linux, built on Mint 20) https://www.tr...
by Andrew
March 14th, 2024, 3:48 pm
Forum: General Discussion
Topic: Suggested patterns for Golly
Replies: 182
Views: 22151

Re: Suggested patterns for Golly

Or, even better, is there anyone who dislikes the hanging-indent so much that they're willing to go through the whole pattern collection and change the comments so they're in some other consistent format? I'm happy to do that for the 4.3b1 release. (Not sure if you've seen my latest emails -- have ...
by Andrew
March 13th, 2024, 7:17 pm
Forum: General Discussion
Topic: Suggested patterns for Golly
Replies: 182
Views: 22151

Re: Suggested patterns for Golly

I've noticed that comments in the pattern files seem to use three different formats for paragraphs: 1. Blank line before each paragraph: #C #C This is a paragraph. #C This is the next line in this paragraph. #C This is the last line in this paragraph. #C #C This is another paragraph. #C This is the ...
by Andrew
March 13th, 2024, 6:36 pm
Forum: General Discussion
Topic: How to Copy Cells in "..OO" Pattern Format?
Replies: 4
Views: 266

Re: How to Copy Cells in "..OO" Pattern Format?

I know you can Ctrl+C to copy as RLE, but is there a way to copy cells directly as the formats shown in Life Lexicon? Save the following as copy-plaintext.lua then use Preferences > Keyboard to assign a key combination like Alt+C to run that script (use the "Choose File" button to select the script...
by Andrew
March 8th, 2024, 8:52 pm
Forum: General Discussion
Topic: Suggested patterns for Golly
Replies: 182
Views: 22151

Re: Suggested patterns for Golly

Any thoughts on the proposed updates to Generations and Larger than Life patterns carried over from MCell? I don't really see the necessity for those changes but it's clear that my concerns aren't shared by others! Go ahead if you think they're worth doing. Regarding the idea of an extended pattern...
by Andrew
March 7th, 2024, 7:13 pm
Forum: General Discussion
Topic: Suggested patterns for Golly
Replies: 182
Views: 22151

Re: Suggested patterns for Golly

Would like to hear what others in the community think about these proposed moves. I'd really prefer it if we avoid renaming/moving pattern files or folders. It's easy enough to search Golly's Help and update pattern links, but there are other cases that will just annoy people. A Golly user might fi...
by Andrew
February 27th, 2024, 2:05 am
Forum: General Discussion
Topic: Golly suggestions
Replies: 419
Views: 202691

Re: Golly suggestions

I've committed changes to Golly's RLE parser and headerless paste. All the changes are in gollybase/readpattern.cpp . Thanks Chris. I've documented those changes so feel free to make any corrections or additions to what I've written. I think we've got enough changes to justify releasing Golly 4.3b1...
by Andrew
February 20th, 2024, 11:36 pm
Forum: General Discussion
Topic: Suggested patterns for Golly
Replies: 182
Views: 22151

Re: Suggested patterns for Golly

Not sure where we would put patterns that need a script to execute. Not exactly sure if this is relevant, but if you create a zip file containing a single pattern file (.rle, .mc, whatever) and a single script (.lua or .py) then when Golly opens the zip file it loads the pattern and then runs the s...