Skip to content

Commit

Permalink
Merge pull request #649 from pharo-spec/dev-2.0
Browse files Browse the repository at this point in the history
sync
  • Loading branch information
estebanlm committed Jan 8, 2024
2 parents 808c56c + 73a506d commit 786cbcb
Show file tree
Hide file tree
Showing 60 changed files with 3,177 additions and 1,251 deletions.
26 changes: 12 additions & 14 deletions src/BaselineOfNewTools/BaselineOfNewTools.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ BaselineOfNewTools >> baseline: spec [
package: 'NewTools-RewriterTools' with: [ spec requires: #('NewTools-RewriterTools-Backend') ];
package: 'NewTools-RewriterTools-Backend-Tests' with: [ spec requires: #('NewTools-RewriterTools-Backend') ];
package: 'NewTools-RewriterTools-Tests' with: [ spec requires: #('NewTools-RewriterTools') ];
"Profiler"
package: 'NewTools-ProfilerUI';
"Scopes Editor"
package: 'NewTools-Scopes';
package: 'NewTools-Scopes-Editor' with: [ spec requires: #('NewTools-Scopes') ];
package: 'NewTools-Scopes-Tests';
package: 'NewTools-Scopes-Resources-A-Tests';
package: 'NewTools-Scopes-Resources-B-Tests';
package: 'NewTools-Scopes-Resources-C-Tests';
"ProfilerUI"
package: 'NewTools-ProfilerUI'.
package: 'NewTools-Scopes-Resources-C-Tests'.

spec
group: 'Core' with: #( 'NewTools-Core' 'NewTools-Morphic' );
Expand Down Expand Up @@ -134,12 +134,11 @@ BaselineOfNewTools >> baseline: spec [
group: #FileBrowser with: #(
'NewTools-FileBrowser'
'NewTools-FileBrowser-Tests' );
group: #RewriterTools with: #(
'NewTools-RewriterTools-Backend'
'NewTools-RewriterTools'
'NewTools-RewriterTools-Backend-Tests'
'NewTools-RewriterTools-Tests' );
group: #ProfilerUI with: #( 'NewTools-ProfilerUI' );
group: #RewriterTools with: #(
'NewTools-RewriterTools-Backend'
'NewTools-RewriterTools'
'NewTools-RewriterTools-Backend-Tests'
'NewTools-RewriterTools-Tests' );
"ScopesEditor"
group: #ScopesEditor with: #(
'NewTools-Scopes'
Expand All @@ -153,13 +152,12 @@ BaselineOfNewTools >> baseline: spec [
'Inspector'
'CritiqueBrowser'
'Debugger'
'SystemReporter'
'SystemReporter'
'FontChooser'
'Methods'
'Spotter'
'RewriterTools'
'ScopesEditor'
'ProfilerUI') ]
'Spotter'
'RewriterTools'
'ScopesEditor') ]
]

{ #category : 'external projects' }
Expand Down
3 changes: 1 addition & 2 deletions src/NewTools-FontChooser/StFontChooserPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,8 @@ StFontChooserPresenter >> initializeDialogWindow: aDialogWindowPresenter [
super initializeDialogWindow: aDialogWindowPresenter.

aDialogWindowPresenter
addButton: 'Apply' do: [ :presenter | self applyChanges ];
addButton: 'Update' do: [ :presenter | self updateFonts ];
okAction: [ self applyChanges ].
addDefaultButton: 'Apply' do: [ :presenter | self applyChanges ]

]

Expand Down
2 changes: 1 addition & 1 deletion src/NewTools-Gtk/StGtkDebugSession.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ StGtkDebugSession >> application: anApplication [
application := anApplication
]

{ #category : 'private' }
{ #category : 'initialization' }
StGtkDebugSession >> initialize [

super initialize.
Expand Down
14 changes: 7 additions & 7 deletions src/NewTools-Gtk/StPharoGtkConfiguration.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ StPharoGtkConfiguration >> commonStyle [

^ '
/* compact toolbar */
toolbar.stToolbar { font-size: 0.7em }
toolbar.stToolbar toolbutton > button { padding: 2px; margin: 2px }
toolbar.stToolbar { font-size: 0.7em; }
toolbar.stToolbar toolbutton > button { padding: 2px; margin: 2px; }
.dim { color: LightSlateGrey }
.dim { color: LightSlateGrey; }
.codePopover, .codePopover text {
background-color: transparent;
}
.scrollbarPopoverLarge { min-height: 350px }
.scrollbarPopoverLarge { min-height: 350px; }
'
]

Expand All @@ -41,7 +41,7 @@ StPharoGtkConfiguration >> configureOSX: anApplication [

self installTheme: self macThemeName.
self addCSSProviderFromString: '
.code { font: 12pt "Monaco" }
.code { font: 12pt "Monaco"; }
'
]

Expand All @@ -50,7 +50,7 @@ StPharoGtkConfiguration >> configureUnix: anApplication [

self unixThemeName ifNotNil: [ :aName | self installTheme: aName ].
self addCSSProviderFromString: '
.code { /* font: 10pt "Source Code Pro" */ }
/* .code { font: 10pt "Source Code Pro" } */
'
]

Expand All @@ -59,7 +59,7 @@ StPharoGtkConfiguration >> configureWindows: anApplication [

self installTheme: self windowsThemeName.
self addCSSProviderFromString: '
.code { font: 10pt "Microsoft Sans Serif" }
.code { font: 10pt "Microsoft Sans Serif"; }
'
]

Expand Down
6 changes: 6 additions & 0 deletions src/NewTools-Gtk/StPharoGtkDarkConfiguration.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Class {
#package : 'NewTools-Gtk'
}

{ #category : 'testing' }
StPharoGtkDarkConfiguration >> isDarkTheme [

^ true
]

{ #category : 'accessing' }
StPharoGtkDarkConfiguration >> macThemeName [

Expand Down
13 changes: 13 additions & 0 deletions src/NewTools-Inspector/StInspector.class.st
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
"
I am an inspector of objects.
I offer multiple views using a miller list as a navigation.
One particular feature is that you can use the evaluator tab to enter code, and evaluating it results in opening another pane to the right.
The object finder asks dynamically the object for the actual presentations that are displayed in each pane.
Example:
self openOn: Smalltalk.
Register it as a replacement for inspector:
self registerToolsOn: Smalltalk tools.
"
Class {
#name : 'StInspector',
#superclass : 'StInspectorPresenter',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Class {
#name : 'AbstractMessageCentricBrowser',
#superclass : 'AbstractMessageCentricBrowserPresenter',
#superclass : 'StAbstractMessageCentricBrowserPresenter',
#category : 'NewTools-MethodBrowsers-Deprecated',
#package : 'NewTools-MethodBrowsers',
#tag : 'Deprecated'
Expand Down
2 changes: 1 addition & 1 deletion src/NewTools-MethodBrowsers/MessageBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Class {
#name : 'MessageBrowser',
#superclass : 'StMessageBrowserPresenter',
#superclass : 'StMessageBrowser',
#category : 'NewTools-MethodBrowsers-Deprecated',
#package : 'NewTools-MethodBrowsers',
#tag : 'Deprecated'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Class {
#name : 'MessageBrowserPresenter',
#superclass : 'StMessageBrowserPresenter',
#superclass : 'StMessageBrowser',
#category : 'NewTools-MethodBrowsers-Deprecated',
#package : 'NewTools-MethodBrowsers',
#tag : 'Deprecated'
Expand Down
2 changes: 1 addition & 1 deletion src/NewTools-MethodBrowsers/MessageList.class.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Class {
#name : 'MessageList',
#superclass : 'MessageListPresenter',
#superclass : 'StMessageListPresenter',
#category : 'NewTools-MethodBrowsers-Deprecated',
#package : 'NewTools-MethodBrowsers',
#tag : 'Deprecated'
Expand Down

0 comments on commit 786cbcb

Please sign in to comment.