Comments (10)
I will use the deprecated methods instead in the next release.
from context-free.
That would be great. Download it from here.
from context-free.
Thanks. Appreciate you being open to supporting older systems.
Happy to test a pre-release build if that's helpful.
from context-free.
Thanks for pre-release build to test. Currently taking a look at it.
I've managed to successfully generate an animation which is good, thanks.
There appears to be a couple of issues I encountered, one of which is:
- Opening the "File" menu now generates an uncaught exception error (it didn't previously):
-[GView validateMenuItem:]: unrecognized selector sent to instance 0x7fd98bb9ad60
- I think it's due to this code:
context-free/src-osx/CFDGDocument.mm
Lines 531 to 552 in 843ce8b
Full message:
Context Free[12390]: -[GView validateMenuItem:]: unrecognized selector sent to instance 0x7fd98bb9ad60
Context Free[12390]: An uncaught exception was raised
Context Free[12390]: -[GView validateMenuItem:]: unrecognized selector sent to instance 0x7fd98bb9ad60
Context Free[12390]: (
0 CoreFoundation 0x00007fff8d7f7b06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff889853f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8d88e40a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff8d7e602e ___forwarding___ + 414
4 CoreFoundation 0x00007fff8d7e5e18 _CF_forwarding_prep_0 + 232
5 AppKit 0x00007fff86ff0215 -[NSMenu _enableItem:] + 770
6 AppKit 0x00007fff8704de92 -[NSCarbonMenuImpl _carbonUpdateStatusEvent:handlerCallRef:] + 512
7 AppKit 0x00007fff8704a165 NSSLMMenuEventHandler + 342
8 HIToolbox 0x00007fff842d0d1a _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1206
9 HIToolbox 0x00007fff842d01e9 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 410
10 HIToolbox 0x00007fff842e5fc9 SendEventToEventTarget + 40
11 HIToolbox 0x00007fff8431cca9 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 443
12 HIToolbox 0x00007fff842a330d UpdateHICommandStatusWithCachedEvent + 47
13 HIToolbox 0x00007fff842cc406 _ZN13HIApplication12EventHandlerEP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 3366
14 HIToolbox 0x00007fff842d0d1a _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1206
15 HIToolbox 0x00007fff842d01e9 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 410
16 HIToolbox 0x00007fff842e5fc9 SendEventToEventTarget + 40
17 HIToolbox 0x00007fff842a2d08 _ZL15SendMenuOpeningP14MenuSelectDataP8MenuDatadjjP14__CFDictionaryhPh + 700
18 HIToolbox 0x00007fff842a26ca _ZL11DrawTheMenuP14MenuSelectDataPP9__CFArrayhPh + 195
19 HIToolbox 0x00007fff842a257b _ZL11MenuChangedP14MenuSelectDatahh + 609
20 HIToolbox 0x00007fff842a1c0b _ZL15TrackMenuCommonR14MenuSelectDataPh + 1188
21 HIToolbox 0x00007fff8429d806 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 424
22 HIToolbox 0x00007fff8429cec8 _HandleMenuSelection2 + 565
23 AppKit 0x00007fff86f098c6 _NSHandleCarbonMenuEvent + 245
24 AppKit 0x00007fff86e2ba9f _DPSNextEvent + 2073
25 AppKit 0x00007fff86e2adf2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
26 AppKit 0x00007fff86e221a3 -[NSApplication run] + 517
27 AppKit 0x00007fff86dc6bd6 NSApplicationMain + 869
28 Context Free 0x000000010b6c21d4 Context Free + 8660
)
from context-free.
Other issues I've encountered (unrelated to original issue, aside from being encountered now that animation is possible):
- Animation player controller appears to have second & third controls overlapping:
- The "Current Playback Position" field in the middle isn't updated to zero when animation is regenerated (see above value of
1.0
when player head is at0
). (FWIW--particularly with this bug--but even in general--IMO it's not entirely obvious the middle value is the current playback position.)
from context-free.
Also:
Render > Animate...
followed byRender > Animate a frame...
doesn't display the selected rendered frame unless you runRender > Save Output...
in-between. (Seems like the "render frame" method may not hide the "animation sheet"?)
from context-free.
I'm slightly confused about behaviour which I thought was a bug but appears to be the same in the previous release:
- What is the intended purpose of the
Render > Repeat Render
menu item?
I had thought that repeating the render used the same seed/variation value again without increment but that doesn't seem to be the case.
Further investigation suggests the effect is related to editing of the list of rules:
- Create New file. (Variation value is prefixed with "next variation")
- Paste this: (Prefix: "next variation")
startshape START
shape START {
SQUARE []
}
Render > Render
(Prefix changes to: "this variation"; seed does not increment)Render > Repeat Render
(Prefix is unchanged "this variation"; seed does increment.)Render > Render
(Prefix is unchanged "this variation"; seed does increment.)- Insert space at on
startshape
line. (Prefix changes to: "next variation"; seed does not increment) Render > Repeat Render
(Prefix changes to: "this variation"; seed does not increment)Render > Repeat Render
(Prefix is unchanged "this variation"; seed does increment.)
So, it seems currently "Repeat Render" only "repeats" the render with the same seed if the grammar has also been edited, otherwise it increments the seed and renders as "Render" does.
I think the assumption is that "Repeat Render" is only used on an edited grammar? Which makes sense on one level but also leads to inconsistent behaviour if (for whatever reason--I can't remember why I encountered this originally) "Repeat Render" is used...repeatedly. :) )
I would suggest "Repeat Render" never increments the seed as this behaviour seems more consistent and to me clearly differentiates between the two menu items.
[Thanks again for the test build to try, I look forward to playing more with the animation functionality.]
from context-free.
I have updated the dmg to fix your issues.
-
File menu crash: I fixed CFDGDocument to call GView validateUserInterfaceItem: instead of the now missing GView validateMenuItem: method. Interestingly, this crash does not happen on High Sierra even though the selector is not present in GView.
-
I don't know what is going on with the rewind button. It draws fine on Sierra/High Sierra. I can reproduce the issue by booting into Lion. It doesn't seem to affect functionality.
-
The playback position field resets to 0.0 like it should and now stands out more.
-
Animate-a-frame displays the frame even after a movie was playing
-
Repeat Render was added to make it easier to explore variations when using Render with dimensions. It allows you to sequentially see what variations of a design look like when rendered to a specific size without tediously bringing up the Render with dimensions modal sheet and clicking OK.
I think a better approach would be to get rid if it and get rid of the modal Render with dimensions sheet. Instead, the Render button should have a Render with dimensions mode and the render size controls should be available in a non-modal manner.
from context-free.
Would you mind testing the Context Free 3.1 release candidate on OS X 10.7? I have lost my Lion boot setup and it costs $20 to make a new one. The link is https://www.contextfreeart.org/download/ContextFree3.1.dmg
from context-free.
Never mind, I found my Lion boot disk and tried it out. CF 3.1 runs fine on Mountain Lion and later but would require a lot of work to run on Lion.
from context-free.
Related Issues (20)
- Null pointer dereference while printing syntax error HOT 1
- Bad syntax for functions causes windows client crash HOT 2
- Dead Link HOT 3
- Question about 16 bit rendering HOT 13
- Release dates at https://www.contextfreeart.org/downloads.html HOT 2
- Unhandled Exception when submitting to gallery HOT 3
- What are rule weights? HOT 4
- Dead link https://github.com/MtnViewJohn/context-free/wiki/Targeting-a-Color HOT 1
- add gh topics HOT 1
- how could I count iterations? HOT 1
- Compiling to WASM? HOT 11
- The download link for Mac on the website requires you to right click and select "save link as" HOT 1
- Issue installing on Ubuntu HOT 2
- missing necessary library in readme to compile HOT 1
- how to I export all frames to jpg at 6000x6000 resolutions HOT 2
- [Documentation] Specific examples explained on the wiki HOT 1
- A suggestion for an additional way to describe a cfdg grammar HOT 3
- Requesting docker development hub for contextfree development HOT 1
- [Doc] Clarifications on the TRSSF canonical order
- Compile problem with src-common/cfdg.l
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from context-free.