libreoffice: what's new - gnomemichael/data/2012-10-31-opensuse.pdf · libreoffice:...

36
LibreOffice: What's new Michael Meeks <[email protected]> “Stand at the crossroads and look; ask for the ancient paths, ask where the good way is, and walk in it, and you will find rest for your souls...” - Jeremiah 6:16

Upload: vanhanh

Post on 15-Nov-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

LibreOffice: What's newMichael Meeks <[email protected]>

“Stand at the crossroads and look; ask for the ancient paths, ask where the good way is, and walk

in it, and you will find rest for your souls...” - Jeremiah 6:16

Page 2: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

2

Overview: what the talk looks like

Snapshot of development: old new stuff

Some new deployments

New Features

Easy Hackery / Get involved

Conclusions

Page 3: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

Development

Page 4: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

4

Code Diversity & contribution

2010-08-012010-10-01

2010-12-012011-02-01

2011-04-012011-06-01

2011-08-012011-10-01

2011-12-012012-02-01

2012-04-012012-06-01

2012-08-01

0

20

40

60

80

100

120

140

Breakdown of active contributors each month.

Tata Consultancy Services SUSE

SIL RedHat

Oracle Nou & Off

New Contributors Munich

Linagora Lanedo

Known contributors KACST

Intel IBM

Funky Collabora

CodeWeavers CodeThink

Canonical Bobiciel

Assigned ALTA

Page 5: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

5

Unit tests 10x bug nailing

Page 6: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

6

QA Statistics: filing ...

September 2010November 2010

January 2011March 2011

May 2011July 2011

September 2011November 2011

January 2012March 2012

May 2012July 2012

September 2012

0

100

200

300

400

500

600

700

800

900

1000

Bugs Reported By Month

VERIFIED UNCONFIRMED RESOLVED REOPENED NEW NEEDINFO CLOSED ASSIGNED

Bugs by month: Help much appreciated with Triage: http://wiki.documentfoundation.org/BugTriage

Page 7: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

7

Static regression count:

2012-02-02 2012-04-02 2012-06-02 2012-08-02 2012-10-020

100

200

300

400

500

600

700

800

Regression bugs over time

OpenClosed

With profound thanks to: Roman Eisele, Rainer Bielefeld, Joren De Cuyper, Arnaud Versini, Jean-Baptiste Faure, tommy27 & Korrawit Pruegsanusak for filing 3.7 bugs.

Page 8: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

8

Easy Hack: Unused code: removedEssentially ~no un-used methodsleft anymore thanks recently to:

Julien Nabet, Caolán McNamara,Marcos Paulo de Souza,

Matúš Kukan, Thomas Arnhold,Elton Chung, Javier Catala,

and many more ...

Despite adding many features, we have an overall reduction in LOC.

Kno

wn

Unu

sed

met

hods

Page 9: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

9

346 active users in Pootle(translations.documentfoundation.org)

112 languages in Pootle+ 4 languages maintaned outside of Pootle

LibreOffice 3.6 has 109 UI languages,and help packs in 58 languages

LibreOffice 3.5 had 107 UI languages,and help packs in 57 languages

Localization Statistics

Page 10: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

Deployment ...

Page 11: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

11

City of Munich loves LibreOffice● After careful risk-assessment, the capital of Munich

has decided to migrate from OpenOffice to LibreOffice.

● In favour of that decision, among others, was the greater flexibility of the project regarding consumption of open source licenses.

● Beyond that, Munich wants to rely on large and vibrant communities for any Open Source product it employs.

● Kirsten Böge, head of public relations

Page 12: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

12

Regione Umbria loves LibreOffice

Page 13: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

13

Limerick loves LibreOffice

Page 14: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

14

MimO loves LibreOffice

Page 15: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

15

Las Palmas loves LibreOffice

Page 16: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

16

Chicago Public Library loves LibreOffice

Page 17: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

17

.

2011-042011-08

2011-122011-16

2011-202011-24

2011-282011-32

2011-362011-40

2011-442011-48

2011-522012-04

2012-082012-12

2012-162012-28

2012-322012-36

2012-40

0

100000

200000

300000

400000

500000

600000

700000

800000

Win-x86-multi

Win-x86-all_lang

Portable

MacOS-x86

MacOS-PPC

Linux-x86-64

Linux-x86

DVD

2011-042011-08

2011-122011-16

2011-202011-24

2011-282011-32

2011-362011-40

2011-442011-48

2011-522012-04

2012-082012-12

2012-162012-28

2012-322012-36

2012-40

0

100000

200000

300000

400000

500000

600000

700000

800000

Weekly downloads by version

3.6.2 3.6.1

3.6.0 3.5.6

3.5.5 3.5.4

3.5.3 3.5.2

3.5.1 3.5.0

3.4.6 3.4.5

3.4.4.1 3.4.4

3.4.3 3.4.2

3.4.1 3.4.0

3.3.4 3.3.3

3.3.2 3.3.1

3.3.0

Downloads: http://www.libreoffice.org/

By platform: 80% Windows

Page 18: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

18

Linux: 30 million users (90% of desktop Linux)

Windows + MacOS: 20 million downloads from TDF mirrors+ millions of installations from covermount CDs and websites

+ corporate deployments using their own packaging

60 million users (estimated)

GueEstimated Number of Users:

Page 19: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

Research Pipeline ...

Page 20: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

20

Android / pre-proto-type ...

● I'm a fraud ! The real work & gloryshould be addressed to:Tor Lillqvist's hours of toilHis talk later today ...

● Cross compiling work originally forusing MINGW → windows– Also useful for cross-compiling to

Android, iOS etc. from Linux/Mac● A staggering learning curve to climb

– But we're getting there slowly …● Latest code in master for 3.7/4.0 ...

The man himself ...

Page 21: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

21

Cloud Office / HTML5 prototype ...

● Rendering using the HTML5 Canvas ...

● Communication using Web-Sockets (now with v7)

– very simple plain-text event / control protocol

– compressed png for screen updates ...● Bandwidth usage low for simple tasks:

– We can see what is re-rendered as we type:

– But really as we type a character: only this is sent:

– And that tiny rectangle is png compressed …

– CopyArea on the client for scrolling.

Page 22: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

22

One kind of MVC collaboration

Model View

Controller

Net

Net

So – just get two controllers and two views – right ? Easy …

View

Controller

Net

Net

Page 23: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

23

Actual simplified (inherited) view Not quite the amusing:class ModelViewController { … };

View

Model

Controller

Page 24: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

24

Adapted, collaboration design:By no means perfect but functional.

View

Model

Controller

Instant Messagingordered bus

Page 25: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

25

Collaboration consequences

● Constraints:● cell editing is applied asynchronously …

– eg. enter “foo” in A1● edit sent to the IM bus

– user moves to another cell● apply all messages from IM bus in order● “foo” entered into A1 …

● Potential latency issue● But:

– Implementable is feasible in linear time

– No blue-sky monster re-work necessary ...

Page 26: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

Easy Hacks ...

Page 27: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

27

Overview / the basic message

● Easy:

– You can get stuck into them fast:http://wiki.documentfoundation.org/Development/Easy_Hacks_by_required_Skill

● Hacks:

– Various kinds of small but useful code changes

– No-one blocking on your work … nice to have● Significant

– Which individually & collectively make a difference.

Page 28: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

28

Easy: Translating German Comments ...

● Admittedly much easier if you are a Germangit clone git://anongit.freedesktop.org/libreoffice/core

● Beautiful tool tool help out with this: (thanks Miklos)

cd clone

bin/find-german-comments cppuhelper # random directory

forms/source/component/FormComponent.cxx:924:

3. Lesen der allgemeinen Properties

forms/source/component/FormComponent.cxx:2099:

wenn eine Verbindung zur Datenbank existiert

forms/source/component/FormComponent.cxx:2102:

Feld bestimmen und PropertyChangeListener

...

Page 29: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

29

Significant: Translating Comments ...

● It makes things much easier for non-Germans …

● We removed or translated ~30k lines of these so far

● We still have 22k to go: done mostly by new guys …

– Thanks to all who helped !

3.3 3.4 3.5 3.6 3.70

10,000

20,000

30,000

40,000

50,000

60,000

Thanks to (recent translators):Gerhard Oettl,Tomaž VajngerlPhilipp RiemerAlbert ThuswaldnerPhilipp WeissenbacherMark WolfJosh Heidenreichand many more !

Page 30: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

30

Easy: Making our dialogs beautiful ...

● Caolan's Widget Layout work:

http://wiki.documentfoundation.org/Development/WidgetLayout

Core skill required: Linux + a pulse ...

– Ability to install / run glade-2

– Basic motor / mouse skills …● HowTo – cf. above link.

– Examine the dialog / .src file and/or User Interface

– Draw (using glade-2) an equivalent .ui file

– Either: send that file in as-is, or ...

– Remove obsoleted .src / .hrc file cruft.

– Search / replace widget members to pointers

Page 31: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

31

Significant: key to improving our look & UI

● Major benefits:

– This will fix dozens of point-zero / release bugs

– Fixing embarassing translation problems

“why is Donaudampfschiffahrtsgesellschaftsk... truncated ?”

– Improve the compactness and look of dialogs for all

– Allow UI designers to improve the looks

– Removes tons of old, un-tweakable, overly verbose code

– You get to know Caolan McNamara <[email protected]>

● We can't do (at all quickly) it without you:

– 600 .src file / dialogs, 33 converted so far …

– This could be where you make your blow for our look & feel

– 6 weeks to go before feature freeze …

Page 32: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

Conclusions

Page 33: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

33

Still a Very Young ProjectLots of space for newcomers !

Page 34: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

34

LibreOffice 2020

THE JOURNEY HAS JUST BEGUN

Page 35: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

35

Thank you.

Come and help us drive.please do some EasyHacks

Page 36: LibreOffice: What's new - GNOMEmichael/data/2012-10-31-opensuse.pdf · LibreOffice: What's new Michael Meeks  “Stand at the crossroads and look; ask

This document could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein. These changes may be incorporated in new editions of this document. SUSE may make improvements in or changes to the software described in this document at any time. Copyright © 2012 SUSE. All rights reserved. All SUSE marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States. All third-party trademarks are the property of their respective owners.