Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileStream>>atEnd should throw error on nil result #58

Closed
dalehenrich opened this issue Mar 4, 2015 · 1 comment
Closed

FileStream>>atEnd should throw error on nil result #58

dalehenrich opened this issue Mar 4, 2015 · 1 comment

Comments

@dalehenrich
Copy link
Member

BinaryOrTextFile>>atEnd should be looked at as well ...

see http://forum.world.st/Glass-GsFile-atEnd-answering-nil-rather-than-boolean-td4809425.html for discussion

@dalehenrich
Copy link
Member Author

The fix will be something along the lines of:

atEnd
  "Returns true if the receiver cannot access any more objects, false if it can."

  ^ self gsfile atEnd ifNil: [ self error: (GsFile  lastErrorString: self gsfile isClient) ]

@marianopeck marianopeck mentioned this issue Sep 11, 2015
11 tasks
dalehenrich added a commit to glassdb/glass that referenced this issue Oct 6, 2015
dalehenrich added a commit to glassdb/glass that referenced this issue Oct 7, 2015
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…by travis-ci for testing ... for GemStone that includes Zinc-WebSocket-Tests ... expect failures since Cryptography project is not up to snuff...yet
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…graphy load issue resolved

Issue GsDevKit#60: fix NeoJSON specification and add 'REST' to 'CI' group ... defer reference to GsDevKit/NeoJSON project until travis tests have been enabled ...
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…ke longer to get straightened out as both NeoJSON and WebSockets have issues
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…ng how things are for NeoJSON and and zinc core
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
fix Issue GsDevKit#60.
updated REST tests from @HeSe
WebSocket packages from @HeSe, but still issues with loading
Cryptography package (Issue GsDevKit#58)
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…graphy project and add backin into CI group, since the project should now load without errors
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…verage for all required projects for zinc ... may need to pull in tests vi CI group
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…mStone-Server-Tools, a new package which holds ZnServerStarter class needed by web socket tests ...
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
- always snap off continuation when an error event occurs
- add some error handling a bit higher up the zn stack ...
  to catch application errors as well ... might be able to
  continue processing without passing error ... still passing at
  the moment...
- ZnTranscriptLogger for all ZnGemServer guys ... might want to
  make this easier to customize
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…ver. By default errors are logged to transcript and continuation commmited to object log....
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…ugMode, use ZnObjectLogLogger ... practical to debug ZnGemServer using object log logging and continuations
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…equires secure sockets (Zodiac) ... not supported in GemStone at the moment
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…... turn on debugMode: for all of the tests useing GemServer ... if there is a problem with the test passing we are going to want to look at the object log ...
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…n't pass the exception ... debugMode doesn't quite appy to GemStone ... need different granularity I think ... GsPharo 0.9.2 needs to be used
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…tionally log an error: and handleError: for GemStone so we make sure that all errors make it to the log (object log and continuation) AND the gem file .... add gobs of log helper methods to ZnGemServer ... control logging method and filter and whether or not continuations are created for errors from ZnGemServer
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…rver>>serveConnectionOn: and ZnMultiThreadedServer>>executeRequestResponseLoopOn:
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…ct into the object log...refactor REST tests to allow for testing using remote ZnGemServer and add persistence to ZnExampleStorageRestServerDelegate ... a bit of house cleaning in ZnGemServer
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
… in SocketStreamSocket would lead to an infinite loop creating processes and then running out of memory ... Fix Rest test error ... only pass exceptions in debugMode for ZnServer
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…to ZnGemServerLogSupport, so breakpoing exceptions can be under enableContinuations control .... and breakpointExceptionSet controlled vi ZnGemServer
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…ble now ... default is Halt and Breakpoint
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…RestServerDelegate>>handleRequest: should not handle Exception!
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
… back to native threads, but for development of servers, it can still be useful ... continue following this thread ...
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…y by wrapping GsSocket references in a TransientStackValue. Add ZnTransactionSafeManagingMultiThreadedServer a subclass of ZnManagingMultiThreadedServer where all references to GsSockets are wrapped by a TransientStackValue ... including places where GsSockets are passed as arguments ... this makes the server instance transaction safe, so continuations can be snapped off and transactions can be safely used in delegates ...
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…rect calls to GsProcess since GsProcess calls are 3.x specific
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…sideGemServer for seaside ... fine tune logging and honor debugMode in terms of passing exceptions when set ....
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
… to cover ZnServerTests with class ZNGsServerTests
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
…ests ... support full range of ZnServer options in ZnGemServer
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
… in GemServer, but it is natural for ZnGemServer to refer to ports ... a bow to compat
dalehenrich added a commit to glassdb/glass that referenced this issue Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant