Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
52b871b8
Kaydet (Commit)
52b871b8
authored
Agu 26, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
track FloatingWindows in need of conversion
Change-Id: Idf4ef59721872165c51ebb2e728b4c6e3f3d90ec
üst
6802dc06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
17 deletions
+16
-17
count-todo-dialogs
bin/count-todo-dialogs
+16
-17
No files found.
bin/count-todo-dialogs
Dosyayı görüntüle @
52b871b8
...
...
@@ -13,28 +13,27 @@
converted
=
`
ls
*
/uiconfig/ui/
*
.ui
*
/uiconfig/
*
/ui/
*
.ui|wc
-l
`
echo
$converted
.ui files currently exist
dialogs
=
`
git
grep
-h
Dialog
--
*
.src|grep
-v
DialogControl|grep
-v
HelpID|grep
-v
define|grep
-v
String|grep
-v
QuickHelpText|grep
-v
"Text
\[
en-US
\]
"
|grep
-v
HelpId|grep
-v
"Cancel-Button"
|grep
-v
\"
Dialog
\"
|grep
-v
"Dialog Controls"
|grep
-v
.uno:|grep
-v
"//"
|grep
-v
"*/"
|grep
-v
include|grep
-v
"paste region"
|grep
-v
"Tabpage-Dialog"
|sed
-e
's/^ *//g'
-e
's/ *$//g'
|cut
-d
' '
-f2-
|sort|uniq|wc
-l
`
tabpages
=
`
git
grep
-h
TabPage
--
*
.src|grep
-v
DialogControl|grep
-v
HelpID|grep
-v
define|grep
-v
String|grep
-v
QuickHelpText|grep
-v
"Text
\[
en-US
\]
"
|grep
-v
HelpId|grep
-v
"Cancel-Button"
|grep
-v
\"
Dialog
\"
|grep
-v
"Dialog Controls"
|grep
-v
.uno:|grep
-v
"//"
|grep
-v
"*/"
|grep
-v
include|grep
-v
"paste region"
|grep
-v
"Tabpage-Dialog"
|sed
-e
's/^ *//g'
-e
's/ *$//g'
|cut
-d
' '
-f2-
|sort|uniq|wc
-l
`
dialogs
=
0
tabpages
=
0
errorboxes
=
0
infoboxes
=
0
queryboxes
=
0
warningboxes
=
0
msgboxes
=
0
floatingwindows
=
`
git
grep
-h
FloatingWindow
--
*
.src|grep
-v
HelpID|cut
-d
' '
-f2-
|sort|uniq|wc
-l
`
echo
There are
$dialogs
unconverted dialogs
echo
There are
$tabpages
unconverted tabpages
num
=
$((
$dialogs
+
$tabpages
))
echo
There are
$errorboxes
unconverted errorboxes
echo
There are
$infoboxes
unconverted infoboxes
echo
There are
$queryboxes
unconverted queryboxes
echo
There are
$warningboxes
unconverted warningboxes
echo
There are
$msgboxes
unconverted msgboxes
echo
There are
$floatingwindows
unconverted floatingwindows
num
=
$((
$floatingwindows
))
echo
An estimated additional
$num
.ui are required
percent
=
$((
$converted
*
100
/
(
$num
+
$converted
))
)
echo
We are
$percent
% of the way through the .ui conversion.
errorboxes
=
`
git
grep
-h
ErrorBox
--
*
.src|cut
-d
' '
-f2-
|sort|uniq|wc
-l
`
infoboxes
=
`
git
grep
-h
InfoBox
--
*
.src|cut
-d
' '
-f2-
|sort|uniq|wc
-l
`
queryboxes
=
`
git
grep
-h
QueryBox
--
*
.src|cut
-d
' '
-f2-
|sort|uniq|wc
-l
`
warningboxes
=
`
git
grep
-h
WarningBox
--
*
.src|cut
-d
' '
-f2-
|sort|uniq|wc
-l
`
msgboxes
=
`
git
grep
-h
MessBox
--
*
.src|cut
-d
' '
-f2-
|sort|uniq|wc
-l
`
echo
echo
We need to reduce
$errorboxes
ErrorBox to basic strings as arguments to MessageDialog
echo
We need to reduce
$infoboxes
InfoBox to basic strings as arguments to MessageDialog
echo
We need to reduce
$queryboxes
QueryBox to basic strings as arguments to MessageDialog
echo
We need to reduce
$warningboxes
WarningBox to basic strings as arguments to MessageDialog
echo
We need to reduce
$msgboxes
MessBox to basic strings as arguments to MessageDialog
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment