Commit Graph

364 Commits

Author SHA1 Message Date
8b292a29a4 Match also "debug" lines (for instance from SAL_DEBUG)
Change-Id: I2981a622205cca2dadfc6cb0007559b8270f3d5b
2014-10-22 16:52:35 +03:00
1a2c28cf0d callcatcher: update unused code
Change-Id: I96b4d44e44389245f3ccc4a08198676461c6a38b
2014-10-22 13:11:34 +01:00
2a6be90210 Flush output after each line
Change-Id: Id96ab8d9938725d780c475f2f892660f04448df1
2014-10-21 17:42:40 +03:00
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
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
1a09af69f4 Remove 'sd' from the comment scanning list.
Change-Id: I3fe9bea58c9b4005336bafcf3b779d18c89df971
2014-10-09 17:44:59 +01:00
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
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
0ad5604c91 fdo#82144 fix unpacking of additional tarballs
Change-Id: I74a61005fa9534b3f96cd392c6e38c54c5fd35e1
2014-10-03 08:02:01 +02:00
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
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
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
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
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
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
c44b8ce27f Translate German comments.
Change-Id: I1d7c1fa2fffe20a0bc60cf5533b8f8c28e360a1d
2014-09-17 14:16:16 +01:00
be75acefbc Translate German comment.
Change-Id: I3d452ac218005b40568ec116ede9962cc1e60a18
2014-09-17 14:11:17 +01:00
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
d968c28287 fdo#45071: Remove ENABLE_NPAPI_INTO_BROWSER left-overs
...from previous commit

Change-Id: I945faa6215f971ce817c6450fe0786da0696091f
2014-09-09 15:20:35 +02:00
9e6221f114 clang does not like gnu++11 that much, use c++11 instead
Change-Id: I82c3a4da388cf436ba4f5380c5833a451e28cfd5
2014-09-06 15:44:58 +02:00
0a8bf4b534 FloatingWindows are no longer loaded from resource files
Change-Id: I2705bbb4db52779e0065400f09604384fd9cf151
2014-09-06 07:02:42 +01:00
114f3b83b9 drop binfilter formats
Change-Id: Iab1f526cfedf9a9f560b5d3e6dcd467dd178b508
2014-09-05 21:37:46 +02:00
2da5d3e555 also look for import libs in launchpad
Change-Id: I584d612063c9aa6fe472a1f829453511f94a1dbf
2014-09-05 21:37:45 +02:00
79a3d6d671 look for more apps in launchpad
Change-Id: Ie08099d09fd9852c0292a9e0457cdeff07881d4d
2014-09-05 21:37:45 +02:00
9a8281bdeb move the list of launchpad pkgs to a var.
Change-Id: Id8fed4516069e86b2fbee053e6681e145fdd4336
2014-09-05 21:37:45 +02:00
76ab34ae7a didn't know about the dockingwindows
Change-Id: I25c1361ed7b87abf4f78fb09aeea65206f7be040
2014-08-30 13:11:48 +01:00
52b871b833 track FloatingWindows in need of conversion
Change-Id: Idf4ef59721872165c51ebb2e728b4c6e3f3d90ec
2014-08-26 17:00:22 +01:00
a548b48c15 add MessBox to count-todo-dialogs
Change-Id: I9466ecdde466010615a1f136334605e6ed24e9b8
2014-08-25 16:45:31 +01:00
65597c9907 add WarningBox to count-todo-dialogs
Change-Id: Id56afd3bd343980aefce1039704afe0eff581208
2014-08-25 16:45:27 +01:00
7543a4165b fix indent to get this working again
Change-Id: If48dcf4d04d3888975687aa85557e2cee317f2dd
2014-08-20 10:18:42 +01:00
ab2b2971c1 display amount of *Box elements remaining in .src format
Change-Id: I33614c44cbe58ec0945406691bc38bafafc24923
2014-08-15 17:03:00 +01:00
8848f4e8c2 xmlsecurity: remove NSS cert.h from PCH
nssrenam.h is another horror...

Change-Id: I166ac2ab1414e89d5cd4beae543670fdfa389adb
2014-08-14 18:55:18 +02:00
f887a3e1d8 Not true, it's the dylibs that are copied
Change-Id: I2fc51f2aaf56ce98d8990b71a33abaef24d841e7
2014-08-12 19:50:53 +03:00
5b4e745d91 More object files not in any archive
Change-Id: I658e235d345e61f2b18e9cf074d64bce9793cfc5
2014-08-12 19:50:53 +03:00
296e0a20ca Some objects in NSS are not in any of the archives
Change-Id: I3df4c45d160687f22015f3b3d3c87e655e5cd7d7
2014-08-12 17:04:15 +03:00
3442b004e6 Now that we build NSS, we can build libxmlsec and libxsec_xmlsec for iOS, too
Change-Id: I65ab8aad0744a2aa254fefc7732cd8130bb249fb
2014-08-12 17:03:31 +03:00
86f19fcb5a Adapt findunusedcode to the current libgltf
Change-Id: I5f5e5f3c8b60e543892aaf683f445184e1f10f74
2014-08-12 15:09:34 +02:00
5c37960d95 First attempt at building NSS for iOS, too
Let's hope that the various static archives that get built by the NSS
build machinery contain what an iOS app that needs NSS services
requires. I patch out the construction of any dylibs and executables
in nss. We don't use any dylibs on iOS anyway, and of course don't
need any NSS executables either.

Change-Id: Ic977c6e3d6c4e953202e78f8e08c4e61f6c9cb1b
2014-08-11 19:40:36 +03:00
6d5e69072e write directly files understood by YCM
Change-Id: I262050f625a0b3ff04a274c88b446d1c2b2aa19d
Reviewed-on: https://gerrit.libreoffice.org/10821
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-11 12:40:32 +00:00
071c09d7d9 add a IDE generator for clang json database format
This can be used for YouCompleteMe a vim plugin that allows
auto-completition based on clang. This is much better than the normal
static analyzer based auto-completition.

Change-Id: I4872d2cb3b3a404af55eacf5c71d6a2715771ab6
Reviewed-on: https://gerrit.libreoffice.org/10820
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-11 12:40:22 +00:00
d4801c45ca add the cxx flags to the ide parser
Change-Id: Ied5f8ec9af69365e3375de26d325984c57327460
Reviewed-on: https://gerrit.libreoffice.org/10819
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-11 12:40:10 +00:00
f70f4e9985 split isystem includes from normal includes
All includes coming from isystem where wrong as the regex was not able
to recognize that the isystem and following path belong together.
Additionally stripping the first two characters resulted in broken paths
in this case.

Change-Id: Iaa8e484d1ddcd4c8744d1e37a006ebf915cdfc84
Reviewed-on: https://gerrit.libreoffice.org/10815
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-11 12:39:56 +00:00
5ca2b6fca9 fdo#82137 don't include working directory in tarballs
as this changes permissions when extracting, and those are restrictive,
since it is a temporary directory

Change-Id: I41b28fe405e5915faeea944eb3cfdbed518ac55d
2014-08-06 20:13:55 +02:00
5f805a1b04 update module mappings
Change-Id: Ia0893eda90307e5dbb7265b3c321515a8b823a24
2014-08-04 15:51:57 +02:00
192338bbc3 Run pylint on find-german-comments
I ran pylint and corrected the following errors:

* W: 39,0: Unnecessary semicolon
* W:177,0: Bad indentation. Found 19 spaces, expected 20
* W:178,0: Bad indentation. Found 19 spaces, expected 20
* W:213,0: Unnecessary semicolon
* W: 65,8:Parser.get_comments: Unused variable 'linenum'
* C:190,28:Parser.check_file: Operator not preceded by a space
* C:192,24:Parser.check_file: Operator not followed by a space
* C:196,24:Parser.check_file: Comma not followed by a space
* W:223,33:Parser.check_source_files: Redefining built-in 'dir'

Change-Id: Idd4986fecb7b3a2af87d1062b7d08c6c87b9f80f
Reviewed-on: https://gerrit.libreoffice.org/10475
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-23 08:02:07 +00:00
8306c25ef4 force a make clean first
Change-Id: Icef93accc6953a4484707fb9da01a85963002a21
2014-07-21 09:13:43 +01:00
a5db1906b4 fix grep and configure line for callcatcher
Change-Id: I8ceb9d815f616afe42ce31a96bc2699438603e43
2014-07-14 09:21:00 +01:00
aa7f272d74 Don't stop on os.makedirs when making vs2012-ide-integration
At the moment it always stops on folders that already exists. See
https://bugs.freedesktop.org/show_bug.cgi?id=70414#c18 and the following
comments for example of the error messages that I face without this patch.

Change-Id: I1a1f337872ce3a817d425ff10255e3ae9a73c1a2
Reviewed-on: https://gerrit.libreoffice.org/10062
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2014-07-03 16:57:59 +00:00
bba28baf8b download PageMaker files
Change-Id: I739f5f9b6f0e6a97832136812b289ae27cfaae37
2014-06-27 10:39:29 +02:00
516fb340b1 integrate libpagemaker
Change-Id: I077d7c9a41793abdf5f001386f44ac407f94a6d3
2014-06-27 10:39:29 +02:00