mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
Meta+Userland: Run the GML formatter on CI and pre-commit
Now that the GML formatter is both perserving comments and also mostly agrees to the existing GML style, it can be used to auto-format all the GML files in the system. This commit does not only contain the scripts for running the formatting on CI and the pre-commit hook, but also initially formats all the existing GML files so that the hook is successfull.
This commit is contained in:
parent
32de6dde4c
commit
6ee597369d
60 changed files with 221 additions and 552 deletions
|
@ -9,10 +9,10 @@
|
|||
@GUI::Toolbar {
|
||||
name: "main_toolbar"
|
||||
}
|
||||
|
||||
@GUI::Toolbar {
|
||||
name: "location_toolbar"
|
||||
visible: false
|
||||
|
||||
@GUI::Label {
|
||||
text: "Location: "
|
||||
autosize: true
|
||||
|
@ -23,9 +23,9 @@
|
|||
fixed_height: 22
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Toolbar {
|
||||
name: "breadcrumb_toolbar"
|
||||
|
||||
@GUI::Label {
|
||||
text: "Location: "
|
||||
autosize: true
|
||||
|
@ -40,17 +40,14 @@
|
|||
@GUI::HorizontalSplitter {
|
||||
name: "splitter"
|
||||
first_resizee_minimum_size: 80
|
||||
|
||||
@GUI::TreeView {
|
||||
name: "tree_view"
|
||||
fixed_width: 175
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@GUI::Statusbar {
|
||||
name: "statusbar"
|
||||
|
||||
@GUI::Progressbar {
|
||||
name: "progressbar"
|
||||
text: "Generating thumbnails: "
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 32
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
layout: @GUI::HorizontalBoxLayout
|
||||
|
||||
@GUI::ImageWidget {
|
||||
name: "source_folder_icon"
|
||||
|
@ -38,9 +35,7 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 22
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
layout: @GUI::HorizontalBoxLayout
|
||||
|
||||
@GUI::Label {
|
||||
text: "Copying: "
|
||||
|
@ -59,9 +54,7 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 22
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
layout: @GUI::HorizontalBoxLayout
|
||||
|
||||
@GUI::Label {
|
||||
text: "Time left: "
|
||||
|
@ -89,11 +82,9 @@
|
|||
|
||||
@GUI::Widget {
|
||||
shrink_to_fit: true
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
layout: @GUI::HorizontalBoxLayout
|
||||
|
||||
@GUI::Widget {
|
||||
}
|
||||
@GUI::Widget
|
||||
|
||||
@GUI::Button {
|
||||
text: "Cancel"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 34
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 20
|
||||
}
|
||||
|
@ -23,12 +22,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
@GUI::HorizontalSeparator {
|
||||
}
|
||||
@GUI::HorizontalSeparator
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
@ -48,7 +45,6 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
@ -69,7 +65,6 @@
|
|||
@GUI::Widget {
|
||||
name: "link_location_widget"
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
@ -89,7 +84,6 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
@ -109,7 +103,6 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
@ -129,7 +122,6 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
@ -149,7 +141,6 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
@ -169,7 +160,6 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
@ -187,12 +177,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
@GUI::HorizontalSeparator {
|
||||
}
|
||||
@GUI::HorizontalSeparator
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
@ -221,7 +209,6 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
@ -250,7 +237,6 @@
|
|||
|
||||
@GUI::Widget {
|
||||
fixed_height: 14
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 12
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue