Giter VIP home page Giter VIP logo

bazard's People

Contributors

jecisc avatar

Watchers

 avatar  avatar  avatar

bazard's Issues

Test

This is a test

We can get two times the mouseEnter/mouseLeave event when subscribing to the eventHandler of a Morph

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22705
Status: Work Needed
Project: Morphic
Original Author: CyrilFerlicot
Date: 28 November 2018 2:19:44 pm

Description:

StringMorph new
contents: 'test;
on: #mouseEnter send: #mouseEnter:from: to: self;
on: #mouseLeave send: #mouseLeave:from: to: self;
on: #click send: #mouseClick:from: to: self;
yourself.

With this piece of code, if you add the methods to the class and log each time an event happens, you will see that we have two enter and leave event each time.

The problem comes from Morph>>handleMouseEnter/Leave:

SourceFileArray calls #flush but the method is not implemented

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/21865
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 10 May 2018 1:44:01 pm

Description:

In the latest Pharo 7, on windows when I open two times an image and try to load a Metacello project in the second I get this error:

Instance of ZnBufferedReadStream did not understand #flush

ZnBufferedReadStream(Object)>>doesNotUnderstand: #flush
ZnCharacterReadStream(ZnEncodedStream)>>flush
SourceFile>>flush
ByteSymbol(Symbol)>>cull:
SourceFile(ProtoObject)>>ifNotNil:
SourceFileArray>>flushChangesFile
[ flushChanges := true.
self flushChangesFile.
self emptyReadStreamsQueue ] in SourceFileArray>>deferFlushDuring: in Block: [ flushChanges := true....
BlockClosure>>ensure:
SourceFileArray>>deferFlushDuring:
MCPackageLoader>>basicLoad
[ self basicLoad ] in MCPackageLoader>>loadWithNameLike: in Block: [ self basicLoad ]
BlockClosure>>ensure:
MCPackageLoader>>useChangeSetNamed:during:
MCPackageLoader>>useNewChangeSetNamedLike:during:
MCPackageLoader>>loadWithNameLike:
MCVersionLoader>>basicLoadWithNameLike:

Metacello ignoreImage should work to avoid warnings

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22594
Status: Work Needed
Project: Metacello
Original Author: CyrilFerlicot
Date: 22 October 2018 12:08:05 pm

Description:

Currently, it is not possible to load Spec in non interactive mode because it raises warnings using UIManager to ask things to the user.

I think the #ignoreImage tag should manage that and load the code without asking anything.

Subclasses of Morph and Model should use self theme

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22631
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 5 November 2018 3:43:59 pm

Description:

Instead of hardcoding Smalltalk ui theme.

We should also add a rule and release test.

Package manifest does not takes numbers into account for names

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22647
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 8 November 2018 1:46:34 pm

Description:

When we create a Package manifest apparently numbers in the name are not taken into account. For example, the manifest of Spec-Deprecated80 will be ManifestSpecDeprecated.

This cause a problem because we have a package Spec-Deprecated and Spec-Deprecated80 and creating a manifest for the second delete the manifest of the first one.

We can get two times the mouseEnter/mouseLeave event when subscribing to the eventHandler of a Morph

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22705
Status: Work Needed
Project: Morphic
Original Author: CyrilFerlicot
Date: 28 November 2018 2:19:44 pm

Description:

StringMorph new
contents: 'test;
on: #mouseEnter send: #mouseEnter:from: to: self;
on: #mouseLeave send: #mouseLeave:from: to: self;
on: #click send: #mouseClick:from: to: self;
yourself.

With this piece of code, if you add the methods to the class and log each time an event happens, you will see that we have two enter and leave event each time.

The problem comes from Morph>>handleMouseEnter/Leave:

Add a command to open files natively

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22514
Status: Work Needed
Project: Tools
Original Author: CyrilFerlicot
Date: 3 October 2018 8:41:10 am

Description:

I want to add a new feature for Iceberg and for that I need to be able to open a folder natively in the OS.

It is possible to do it with LibC and I think it would be a cool feature to have directly in Pharo.

I'll try to do a PR when I'll have the time.

Test

This is a test

UITheme class is missing methods

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22645
Status: Work Needed
Project: UI
Original Author: CyrilFerlicot
Date: 8 November 2018 10:18:38 am

Description:

In the instance side of UITheme, methods from the class side are called but not implemented. (For example #baseColor or #darkBaseColor).

They should be implemented even if they are subclass responsibility.

Release tests should not hardcode exceptions

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22683
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 19 November 2018 10:07:39 am

Description:

For Moose we want to use releases tests but the problem is that for now exceptions are hardcoded. We should be able to add exceptions.

Example: testNoUnusedTemporaryVariablesLeft

New Rubric widget has placeholder centered instead of left aligned

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22846
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 28 December 2018 11:14:58 am

Description:

In the new rubric widget that got integrated the placeholder have a regression because they are centered instead of left aligned.

Test

This is a test

Test

This is a

test

Cannot add a tab when cursor is at the end of a word

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22715
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 30 November 2018 10:16:57 am

Description:

When you are at the end of a word and hit "tab", nothing will happen. You need to do a space before been able to do a tab.

Add legend of System browser icons

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/20873
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 15 December 2017 11:58:29 pm

Description:

We have some users asking on Discord details about System Browser UI.

We should add a legend somewhere about text style and icons.

text style:

  • italic for abstract classes
  • strickthrough for deprecation
  • grey for extension methods

class icons:

  • ! => non commented classes
  • C => non special class
  • A grey circle => a test class. You can execute all the tests of the class by clicking on the circle
  • An icon of small window => that's a morph. It is a graphical element that can be displayed.
  • The small tootip => An announcement. This is something that can be annouced via the Observer/Announcer design pattern
  • { } => This is a collection
  • The lightnight => This is an exception
  • T => This is a Trait. A Trait is an element defining a behaviour that can be used by different classes. It help to compensate the fact that there is not multiple inheritence
  • ¶ => A string/symbole or its equivalent
  • ∑ => a magnitude (includes characters, numbers, time...)

method icons:

  • A grey circle => a test method or a tested method. You can executeit by clicking on the circle
  • up arrow => the method override another method (you can click it to navigate to the methods)
  • down arrow => the method is overriden in its subclasses (you can click it to navigate to the methods)
  • up/down arrow => both at the same time (you can click it to navigate to the method)
  • yellow exclamation point => There is a flag in the method. (via the method #flag:)
  • red exclamation point => there is an halt/breakpoint in the method. If it is executed, it might stop and a debugger will open
  • T => Method comes from a Trait
  • A sort of union symbol => a method to define in order to use a Trait
  • an "a" => abstract method

protocols icons:

  • red square => private, be careful if you use the methods of this protocol. They are not intended to be used outside the class
  • yellow diamond => initialisation, the code to initialize an object
  • little folder => Extention protocol

Test

This is a

test

Metacello ignoreImage should work to avoid warnings

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22594
Status: Work Needed
Project: Metacello
Original Author: CyrilFerlicot
Date: 22 October 2018 12:08:05 pm

Description:

Currently, it is not possible to load Spec in non interactive mode because it raises warnings using UIManager to ask things to the user.

I think the #ignoreImage tag should manage that and load the code without asking anything.

Release tests should not hardcode exceptions

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22683
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 19 November 2018 10:07:39 am

Description:

For Moose we want to use releases tests but the problem is that for now exceptions are hardcoded. We should be able to add exceptions.

Example: testNoUnusedTemporaryVariablesLeft

#isSpecial is not an explicit name for a method

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22586
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 16 October 2018 7:51:58 am

Description:

While browsing the implementation of Association I found a method #isSpecial.

The name is not revealing. Maybe this method (and its other implementations) can have a better name? Because what does it mean that it is special or not?

Release tests should not hardcode exceptions

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22683
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 19 November 2018 10:07:39 am

Description:

For Moose we want to use releases tests but the problem is that for now exceptions are hardcoded. We should be able to add exceptions.

Example: testNoUnusedTemporaryVariablesLeft

New Rubric widget has placeholder centered instead of left aligned

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22846
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 28 December 2018 11:14:58 am

Description:

In the new rubric widget that got integrated the placeholder have a regression because they are centered instead of left aligned.

ZipArchive does not keep symbolic links

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22509
Status: Work Needed
Project: Tools
Original Author: CyrilFerlicot
Date: 2 October 2018 9:52:42 am

Description:

When extracting a zip file containing symbolic links with ZipArchive, the symbolic links are removed and replaced by a file only containing a string.

Because of this, we cannot do something like extract a Pharo VM with Pharo, else the dynamic libraries will not work.

Test

This is a test

Test

This is a test

Release tests should not hardcode exceptions

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22683
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 19 November 2018 10:07:39 am

Description:

For Moose we want to use releases tests but the problem is that for now exceptions are hardcoded. We should be able to add exceptions.

Example: testNoUnusedTemporaryVariablesLeft

Bug in the `ctrl + shift + ?` shortcuts in Windows

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/20555
Status: Work Needed
Project: Keymapping
Original Author: CyrilFerlicot
Date: 19 October 2017 8:40:48 am

Description:

I have a weird problem on Windows and shortcuts.

For the context I use a keyboard which is not of the AZERTY/QWERTY layout but BÉPO.[1]

I have a problem with the fact that some ctrl + shift + ?? shortucts does not works. But some works.

For example in Nautilus I cannot do a format (ctrl + shift + f) or a debug it (ctrl + shift + d). In the other hand, in Spotter I can drill down a category with ctrl + shift + ->.

If I use the AZERTY layout I do not have this problem.

I tried to use the KeyPrinterMorph and to do the format shortcut. Here is the result:

BÉPO:

  • Key SHIFT_L code: (65505)
  • Key CONTROL_L code: (65507)
  • Key F code: (70)

AZERTY:

  • Key SHIFT_L code: (65505)
  • Key CONTROL_L code: (65507)
  • Key F code: (70)

So this is the same key events.

[1] http://typematrix.com/bepo/view_closeup.php?l=&t=keyb&id=0

Need better rendering

Maybe be done in two step:

  • Redraw the screen only if it change
  • Cut the screen into smaller part

We can get two times the mouseEnter/mouseLeave event when subscribing to the eventHandler of a Morph

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22705
Status: Work Needed
Project: Morphic
Original Author: CyrilFerlicot
Date: 28 November 2018 2:19:44 pm

Description:

StringMorph new
contents: 'test;
on: #mouseEnter send: #mouseEnter:from: to: self;
on: #mouseLeave send: #mouseLeave:from: to: self;
on: #click send: #mouseClick:from: to: self;
yourself.

With this piece of code, if you add the methods to the class and log each time an event happens, you will see that we have two enter and leave event each time.

The problem comes from Morph>>handleMouseEnter/Leave:

Package manifest does not takes numbers into account for names

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22647
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 8 November 2018 1:46:34 pm

Description:

When we create a Package manifest apparently numbers in the name are not taken into account. For example, the manifest of Spec-Deprecated80 will be ManifestSpecDeprecated.

This cause a problem because we have a package Spec-Deprecated and Spec-Deprecated80 and creating a manifest for the second delete the manifest of the first one.

Debugger menus do not show tooltips of the debug actions.

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/21614
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 17 March 2018 11:56:05 pm

Description:

Debuger actions can add an help for the user, but the context menus in the debugger do not display any tooltip. They should display a tooltip if we stay hover an item of the menu to explain it.

I am adding the helps missing in 21613

Test

This is a

test

Add keyboard support to Menubar

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22091
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 8 June 2018 3:28:29 pm

Description:

What I would like:

  • Take focus when we press Alt
  • Left/right keys navigation
  • Top/bottom keys navigation
  • Been able to navigate the menus with the keyboard keys (For example press T for Tools and underline the T)

UITheme class is missing methods

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22645
Status: Work Needed
Project: UI
Original Author: CyrilFerlicot
Date: 8 November 2018 10:18:38 am

Description:

In the instance side of UITheme, methods from the class side are called but not implemented. (For example #baseColor or #darkBaseColor).

They should be implemented even if they are subclass responsibility.

Add a command to open files natively

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22514
Status: Work Needed
Project: Tools
Original Author: CyrilFerlicot
Date: 3 October 2018 8:41:10 am

Description:

I want to add a new feature for Iceberg and for that I need to be able to open a folder natively in the OS.

It is possible to do it with LibC and I think it would be a cool feature to have directly in Pharo.

I'll try to do a PR when I'll have the time.

We can get two times the mouseEnter/mouseLeave event when subscribing to the eventHandler of a Morph

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22705
Status: Work Needed
Project: Morphic
Original Author: CyrilFerlicot
Date: 28 November 2018 2:19:44 pm

Description:

StringMorph new
contents: 'test;
on: #mouseEnter send: #mouseEnter:from: to: self;
on: #mouseLeave send: #mouseLeave:from: to: self;
on: #click send: #mouseClick:from: to: self;
yourself.

With this piece of code, if you add the methods to the class and log each time an event happens, you will see that we have two enter and leave event each time.

The problem comes from Morph>>handleMouseEnter/Leave:

#isSpecial is not an explicit name for a method

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/22586
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 16 October 2018 7:51:58 am

Description:

While browsing the implementation of Association I found a method #isSpecial.

The name is not revealing. Maybe this method (and its other implementations) can have a better name? Because what does it mean that it is special or not?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.