Commit Graph

636 Commits

Author SHA1 Message Date
Michael Stahl
79233d98d9 bin/run: add WNT support
Change-Id: I9dd1ae23d27c5733770314ca907b5d36b749fd74
2014-12-04 16:09:07 +01:00
Michael Stahl
9eda6b307b bin/run: Adapt to run on Debian so-called GNU/Linux systems too
Amazingly Debian does not ship the realpath(1) from coreutils but has a
separate source package for it, and it's not installed by default.
Use readlink -f instead.

Change-Id: I6e97c851e6ab96dac08771145e2ab39dd9c11c22
2014-12-04 15:35:28 +01:00
Stephan Bergmann
0ffe0bf68a Fold URE: Remove OO_SDK_URE_HOME on non-Windows
Change-Id: Iad0480eb39e2c1312c27cf9b90146c2beba592fd
2014-12-02 15:42:37 +01:00
Stephan Bergmann
45ca1bfc22 Fold URE: Linux ure/lib/* -> program/
The ../../../program/ links in the URE jar Class-Paths are a temporary kludge
(and juh.jar had lacked adaption for Mac OS X).

Change-Id: I2542d8a582866485dd61c05df3fc6b4b39a8403d
2014-11-28 11:57:28 +01:00
Noel Grandin
460debad79 improvements to iwyudummy target
- split awk script into separate file
- make awk work on older awk version
- create new target in main Makefile.in to generate
  iwyudummy Makefile so we don't have to manually uncomment
  stuff
- exclude /usr includes from the generated makefile
- disable unused macros warnings to reduce noise
- add some sanity checking - prevent using the generated
  makefile with compiler-plugins enabled
- add new target for generating iwyu Makefile so we don't
  need to edit the Makefile when using it

Change-Id: I4af8eb7d1aa5419e546acb9ef905a0fe623db57d
Reviewed-on: https://gerrit.libreoffice.org/12980
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-24 14:12:51 +00:00
Jan Holesovsky
4066cc6bcb Kill check-merged.sh, 'git cherry' actually gives better results.
Change-Id: Ia4163f77f5267f6cb714369fc9a4cfbb901019df
2014-11-18 15:44:05 +01:00
Stephan Bergmann
21cf443235 No need to cd into instdir/program
(and it is confusing if you pass a relative pathname argument to the program
you call via bin/run)

Change-Id: If8baef6d76e1f9ad7e5f2d361bd9b93fcbb76f7a
2014-11-18 15:37:38 +01:00
Jan Holesovsky
af20dd7b50 check-merged.sh: Fix an obvious typo.
Change-Id: I4761c730df5f418060697458b604c602713f4a0e
2014-11-18 15:11:07 +01:00
Jan Holesovsky
e423113497 pch: jpeg's headers conflict with INT32 typedef when in pch.
Change-Id: I02b8fa22c11895d00e29d93b25397af676e3edae
2014-11-18 00:51:02 +01:00
Caolán McNamara
20dab428f8 drop gnome-open-url binary
we don't really need it anymore, fallback to our own open-url
if there is nothing else to take it

Change-Id: I7a4e841a53bda30e29d48b9c34d24af085f1b4b5
Related: coverity#706194 Use of untrusted string value
2014-11-17 14:53:22 +00:00
Michael Stahl
096c7e889f add a script to generate a dummy library to "build" all headers
... to be used together --with-iwyu to track down bloat in headers,
which are not always named in the convention that include-what-you-use
expects for reporting issues.

Change-Id: Idffda7d49cca43170717004d52779b4663de19ae
2014-11-17 11:06:50 +01:00
Michael Stahl
8a8dd1c7d1 bin/run: add a license header
Change-Id: I5461a0d4e372260623ebb8833d60a9dc318757dd
2014-11-17 11:06:50 +01:00
Laurent Godard
ad91cfdcf2 parse-perfcheck : add filename to csv results
one can find callgrind output file more easilly

Change-Id: Ic5019d5259a63ab23ed44d39baaeb7432690382e
Reviewed-on: https://gerrit.libreoffice.org/12450
Reviewed-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Tested-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2014-11-17 09:46:21 +00:00
Andrea Gelmini
3403c19d25 Fix typo in bin/check-merged.sh
Change-Id: I7ca06602179e35d5ce86879b1081299a841feba9
Reviewed-on: https://gerrit.libreoffice.org/12431
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-15 15:38:38 +00:00
Riccardo Magliocchetti
e8fbdb374a Cleanup parse-perfcheck.py
Use more idiomatic python for file, path, csv handling and options
parsing.
There's still quite a bit of stuff to cleanup, at least it would be
nice to kill the remaining globals.

Fixed indentation on parts i've touched, the rest of the file is
still a bit off.

Change-Id: I4214078c38a1e26cca17d09ebb9c0f53ba429ea9
Reviewed-on: https://gerrit.libreoffice.org/12405
Tested-by: Laurent Godard <lgodard.libre@laposte.net>
Reviewed-by: Laurent Godard <lgodard.libre@laposte.net>
2014-11-14 14:23:43 +00:00
Jan Holesovsky
710c664083 Script that finds commits in a branch that were not pushed to master.
Trivial, but based on the Change-Id's, so hopefully reliable enough :-)

Change-Id: I919a2dc47f088ec4d1111750b74c68a0b062478d
2014-11-14 15:07:14 +01:00
Stephan Bergmann
218840babb Adapt bin/run for OS X
...which does not have realpath(1), so just require CWD to match BUILDDIR there

Change-Id: I245241299d650c541f86cf440d3b57308c86d3fb
2014-11-12 11:11:07 +01:00
Laurent Godard
8fa8bb641f Parse perfcheck results
refactoring arguments
process csv file only if newer commits
add columned output
calculate deltas & alert messages

Change-Id: Ib7ba87e9cb55b03ac8665db7a8dc302d2e8611a0
Reviewed-on: https://gerrit.libreoffice.org/12155
Reviewed-by: Matúš Kukan <matus.kukan@collabora.com>
Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-11-12 09:00:30 +00:00
Caolán McNamara
cfafbcaa3f callcatcher: unused code
Change-Id: I2ead5d998c3b1b3cde1222fee6f072bf09ab0021
2014-11-10 10:44:25 +00:00
Tor Lillqvist
b7d8a58ff2 liblibotouch.a and liblo-bootstrap.a now end up in workdir/LinkTarget/Library
Not sure exactly why, but anyway, look for *.a there, too, then.

Change-Id: Id85f4f7d5ffe47c636ac860131a2dfb10cdfdff8
2014-11-05 01:23:09 +02:00
Michael Stahl
e37837c48b bin/run: add a convenient shell wrapper to run executables from workdir
Change-Id: Ide3361fd5eba6462095cc45c0c99b1ab27a16262
2014-10-31 17:55:14 +01:00
Laurent Godard
4f5f6d2444 perfcheck : parse callgrind.out results to build csv file
appends results on existing target file

Change-Id: Icd897b090e1d1ed896b88a2f5923e8f35e95e5d2
2014-10-29 12:00:08 +01:00
Tor Lillqvist
8b292a29a4 Match also "debug" lines (for instance from SAL_DEBUG)
Change-Id: I2981a622205cca2dadfc6cb0007559b8270f3d5b
2014-10-22 16:52:35 +03:00
Caolán McNamara
1a2c28cf0d callcatcher: update unused code
Change-Id: I96b4d44e44389245f3ccc4a08198676461c6a38b
2014-10-22 13:11:34 +01:00
Tor Lillqvist
2a6be90210 Flush output after each line
Change-Id: Id96ab8d9938725d780c475f2f892660f04448df1
2014-10-21 17:42:40 +03:00
Michael Stahl
a4e219eee6 add bin/refcount_leak.py script to help detect leaks of UNO objects
Initially this didn't help at all, but with some tweaks it now finds
the leaked ChartModel as the #3 and #4 printed stacks, with a very bad
score of 40.

Change-Id: I918bcb64bad0b9432bf2b670b03915836fb34a11
2014-10-20 17:14:37 +02:00
Tor Lillqvist
481d25c71a Add a small script to run adb logcat with filtering
We use arbitrary tags when logging stuff in our code so we can't use the
built-in filtering of adb logcat.

Change-Id: I2d607b86bde975c5cbdd17adc22d0fc15076be51
2014-10-15 12:41:12 +03:00
Michael Meeks
1a09af69f4 Remove 'sd' from the comment scanning list.
Change-Id: I3fe9bea58c9b4005336bafcf3b779d18c89df971
2014-10-09 17:44:59 +01:00
Peter Foley
7086ac7dad make gbuild-to-ide VS files work with separate builddir
Change-Id: I847885885ed12dbbd64e3b694799e4835497d736
Reviewed-on: https://gerrit.libreoffice.org/11799
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-09 10:38:01 +00:00
Peter Foley
79141e2ce2 gbuild-to-ide improvments
Use gperf instead of ls to find binpath, so that vs2012/3 can be tested
on non-Windows systems.
Output the vcxproj and vcxproj.filters files with indentation and
formatting.
Make some minor changes to improve pep8 compliance.

Change-Id: Ie8ac11ecf75ad170f0756f803c45356685792e5c
Reviewed-on: https://gerrit.libreoffice.org/11797
Tested-by: David Ostrovsky <david@ostrovsky.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-08 15:17:35 +00:00
David Tardon
0ad5604c91 fdo#82144 fix unpacking of additional tarballs
Change-Id: I74a61005fa9534b3f96cd392c6e38c54c5fd35e1
2014-10-03 08:02:01 +02:00
David Ostrovsky
fc24eadc62 gbuild-to-ide: Add support for vs2013
Change-Id: I385e756109ab0a47feeeb4407ba4a2a4b68548dd
Reviewed-on: https://gerrit.libreoffice.org/11728
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2014-10-03 00:29:29 +00:00
David Ostrovsky
213be0be8e gbuild-to-ide: Make it work for GNU make 4.x
Since GNU make 4.0 the output of --print-data-base command has been
slightly changed, so that class specific attributed aren'tt prefixed
with "#" char any more. To prevent the duplication of used regexs or
discontinuation of supporting widely used GNU make version 3.8x detect
the case that matches this regex:

target : VAR := VALUE

pand repend '#' character to retry the match for "pseudo" hash-starting
line. This way the same script works for both worlds.

Test Plan:

* have full build of LibreOffice
* install GNU make 4
* verify that gbuild-to-ide is able to parse and emit sane debug project
  configuration for both GNU make versions:
  $ make-3.8 debug-ide-integration
  $ make-4 debug-ide-integration

Change-Id: I7d760d9570f2df510571cc1e8fd7f31115d43b92
Reviewed-on: https://gerrit.libreoffice.org/11751
Tested-by: Peter Foley <pefoley2@verizon.net>
Reviewed-by: Peter Foley <pefoley2@verizon.net>
2014-10-01 23:09:17 +00:00
Peter Foley
0014648fee improve gbuild-to-ide error message
Change-Id: Ia8986764e48f1dbe39374d511a188bd2b5f49e13
Reviewed-on: https://gerrit.libreoffice.org/11654
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-26 11:57:56 +00:00
Philipp Weissenbacher
76034b4962 Restore searching in sub directories
With earlier version of fgc, one could cd into a sub directory and
use fgc to find the German comments in there.
This change restores that behaviour again.

Change-Id: I2fa30ff98af0418c7531b94f19ff0b81f76abddd
Reviewed-on: https://gerrit.libreoffice.org/11522
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-25 08:40:14 +00:00
Peter Foley
96d7ca35f9 Make gbuild-to-ide more pep8 compliant
Minor style cleanup
Remove unused variables

Change-Id: Id4c190f24f51dfc676c268dac1c19e3f03d3988d
Reviewed-on: https://gerrit.libreoffice.org/11633
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-24 18:04:38 +00:00
Peter Foley
1a6737d3a0 Make gbuild-to-ide bail out before parsing if ide type is invalid
Also fix the vim modeline to maintain consistant formatting

Change-Id: Ia42ec2a69f9c3037a6390ca4f5c4198031b7aa64
Reviewed-on: https://gerrit.libreoffice.org/11632
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-24 18:04:16 +00:00
Michael Meeks
c44b8ce27f Translate German comments.
Change-Id: I1d7c1fa2fffe20a0bc60cf5533b8f8c28e360a1d
2014-09-17 14:16:16 +01:00
Michael Meeks
be75acefbc Translate German comment.
Change-Id: I3d452ac218005b40568ec116ede9962cc1e60a18
2014-09-17 14:11:17 +01:00
Caolán McNamara
ed00d0ddd6 create a master document template type
of application/vnd.oasis.opendocument.text-master-template with
suffic otm

https://lists.oasis-open.org/archives/office-comment/201002/msg00042.html

desktop/icons/oasis-master-document-template.icns is just a copy
of
desktop/icons/oasis-master-document.icns
because I can't draw

Change-Id: I0d18c79c4c893e97505052884ee8be97d0f117a1
Reviewed-on: https://gerrit.libreoffice.org/11350
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-11 09:38:21 +00:00
Stephan Bergmann
d968c28287 fdo#45071: Remove ENABLE_NPAPI_INTO_BROWSER left-overs
...from previous commit

Change-Id: I945faa6215f971ce817c6450fe0786da0696091f
2014-09-09 15:20:35 +02:00
Markus Mohrhard
9e6221f114 clang does not like gnu++11 that much, use c++11 instead
Change-Id: I82c3a4da388cf436ba4f5380c5833a451e28cfd5
2014-09-06 15:44:58 +02:00
Caolán McNamara
0a8bf4b534 FloatingWindows are no longer loaded from resource files
Change-Id: I2705bbb4db52779e0065400f09604384fd9cf151
2014-09-06 07:02:42 +01:00
David Tardon
114f3b83b9 drop binfilter formats
Change-Id: Iab1f526cfedf9a9f560b5d3e6dcd467dd178b508
2014-09-05 21:37:46 +02:00
David Tardon
2da5d3e555 also look for import libs in launchpad
Change-Id: I584d612063c9aa6fe472a1f829453511f94a1dbf
2014-09-05 21:37:45 +02:00
David Tardon
79a3d6d671 look for more apps in launchpad
Change-Id: Ie08099d09fd9852c0292a9e0457cdeff07881d4d
2014-09-05 21:37:45 +02:00
David Tardon
9a8281bdeb move the list of launchpad pkgs to a var.
Change-Id: Id8fed4516069e86b2fbee053e6681e145fdd4336
2014-09-05 21:37:45 +02:00
Caolán McNamara
76ab34ae7a didn't know about the dockingwindows
Change-Id: I25c1361ed7b87abf4f78fb09aeea65206f7be040
2014-08-30 13:11:48 +01:00
Caolán McNamara
52b871b833 track FloatingWindows in need of conversion
Change-Id: Idf4ef59721872165c51ebb2e728b4c6e3f3d90ec
2014-08-26 17:00:22 +01:00
Caolán McNamara
a548b48c15 add MessBox to count-todo-dialogs
Change-Id: I9466ecdde466010615a1f136334605e6ed24e9b8
2014-08-25 16:45:31 +01:00