I like it :-) Couldn't remember if you had commit access - so I
pushed
it for you. I assume you're using a regexp for these, and we might
have
a complete solution before long ?
Thanks,
Michael.
Hey Michael, thanks for review my patch. I do not have commit access,
an
Sending for review. Great weekend for everyone.
revol_From 8586c03973534c27c6b3fee0ed6dc57125438794 Mon Sep 17 00:00:00 2001
From: Kayo Hamid
Date: Fri, 22 Apr 2011 23:40:55 -0400
Subject: [PATCH] [cppcheck] inefficient emptiness check
---
extensions/source/bibliography/general.cxx
Many thanks for the patch! I just pushed it. For the next patches it
would be great if you could use git format-patch to generate the
patches
from the commits in the git repos. That would save us quite some work
picking up the email and commit message.
Regards,
understood, thanks to review
From cppcheck: Using .empty() instead of .size() can be faster.
.size() can take linear time but .empty() is guaranteed to take
constant time
Sending for review.
revol_diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
Another path for fixes some cppcheck warnings, sending for review.
revol_diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index eff1a1c..8252d0c 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -3548,11 +3548,11 @@ sal_Bool SvNumberfo
Continuing the journey of cleaning cppcheck.
ps:
http://lists.freedesktop.org/archives/libreoffice/2011-April/010562.html
<- I sent this path Friday, and how is common the community stop on
weekend, I put this link so it does not end up losing
revol_
cppcheck.prefix++.diff
Description: Bina
On Fri, 15 Apr 2011 16:25:32 -0300, Kayo Hamid
wrote:
Just variableScope, sending for review.
Sometimes it happens ;-) patch annexed
revol_diff --git a/vcl/os2/source/app/printf.c b/vcl/os2/source/app/printf.c
index 06e75b6..9c65147 100644
--- a/vcl/os2/source/app/printf.c
+++ b/vcl/os2
Just variableScope, sending for review.
Question: until now my patches are just code changes, nothing adding
some extra function, i really need to tell that my work is under
LGPLv3+/MPL? If so, they are.
revol_
___
LibreOffice mailing list
LibreOffi
Hello, I asked at #libreoffice-dev if we have to see some special
condition to change sal_Bool to bool and so on, unanswered.
Sending for review.diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 9305e18..8420ebe 100644
--- a/svtools/source/control/ctrlbox
We have a lot of warnings from things that are not from LibreOffice,
what do to with that? Fix it, create a patch and put it with us forever
and keep updating it?
revol_
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freed
Hey,
No I just installed the rpm libreoffice-bootstrap package
with the following description:
"libreoffice-bootstrap - LibreOffice Build Bootstrap
This packages provides the basic tools and framework for building
LibreOffice using separate source packages."
I did not install the source packa
Hey
I'm on a vanilla Opensuse 11.4. I have the required dependencies
me too, with KDE4
installed gtk, gtk-devel and so on. I have also the
libreoffice-bootstrap package installed but I don't use it directly
(should I?)
sorry but that is not clear to me, you did zypper si -d
OpenOffice_org
Hey, we have one inconsistency with EasyHack marks at Bugzilla. Some
are EasyHack and others [EasyHack], the result is:
13 bugs -
https://bugs.freedesktop.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=LibreOffice&content=EasyHacks
(link from wiki/Develo
This patch removes some variableScope warnings from
http://libreoffice.boldandbusted.com, sending for review.
revol_
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 052a930..c0cd48f 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwrit
Hey, you can begin here
http://wiki.documentfoundation.org/Development/Windows_Build_Dependencies
revol_
On Thu, 24 Mar 2011 00:10:44 +0200, Albert Zaharovits
wrote:
Hi,
I am interesting in participating to your project, but in the
past few days I've been trying to recover my Ubuntu, but
just to remember: some patchs translating german comments to english
are not pushed, 0044 is one and we have others inside this list of
patchs.
revol_
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/
Hey, i took a look and i think that you can push -> {0043,0044,0048}.
On Thu, 10 Mar 2011 22:02:57 +0100, Christina Roßmanith
wrote:
Hi,
I've pushed patch 1-3. Patch 4 only removes structuring
"//---" lines. I'm not sure if this is wanted.
Maybe someone of the experts can
How about add some extra information like
'''Working on it''': {name|nick|or_wiki_page}
at EasyHack page? With this we can see what needs more people and what
not.
revol_
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.fr
Guys I have something that I see a lot and do not know way someone will
use it:
//code
static WinSalMenuItem* ImplGetSalMenuItem( HMENU hMenu, UINT nPos, BOOL
bByPosition=TRUE )
{
DWORD err=0;
MENUITEMINFOW mi;
memset(&mi, 0, sizeof(mi));
mi.cbSize = sizeof( mi );
mi.fMask
Hi guys, it's minor change, sending for review.
revol_
diff --git a/sal/osl/w32/diagnose.c b/sal/osl/w32/diagnose.c
index 1990164..fb97a91 100644
--- a/sal/osl/w32/diagnose.c
+++ b/sal/osl/w32/diagnose.c
@@ -71,7 +71,6 @@ void SAL_CALL osl_breakDebug(void)
void SAL_CALL osl_trace(const sal_Char*
Hey,
Anyway, do not let me discourage you :) May I suggest that you look at
http://wiki.documentfoundation.org/Development/Easy_Hacks ? There should
be enough interesting things to try there.
D.
replying it helps me, I know a bit more now about what I tried to do and
it's a good feeling, of cou
Sending for review.
revol_
diff --git a/sw/source/core/docnode/ndsect.cxx
b/sw/source/core/docnode/ndsect.cxx
index a7168c2..f93fe95 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -387,6 +387,7 @@ SwDoc::InsertSwSection(SwPaM const& rRange, SwSectionDat
Hello, I have seen a new design at libreoffice.org and it's looks very
good, congrats! But it seems miss set a blank background.
revol_
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreof
Sending for review.
revol_
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 1436f6e..73ad556 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -1246,7 +1246,6 @@ void SwDoc::CalculatePagesForPrinting(
USHORT nFirstPageNo = 0;
USHORT
On 08/01/2011 17:00, Norbert Thiebaud wrote:
I' confused:
-sal_Int32 nCount = xAcc->getAccessibleChildCount();
-
-for( sal_Int32 i=0; i< nCount; i++ )
+const sal_Int32 nCount = xAcc->getAccessibleChildCount();
+sal_Int32 i = 0;
+
+while(i< nCount)
{
-if(
On 10/01/2006 20:09, Kayo Hamid wrote:
Please, someone can review this? Thkz.
revol_
I forgot to change the headers, sorry. This patch covers the two patchs
that I sent early.
>
http://lists.freedesktop.org/archives/libreoffice/2011-January/005570.html
>
http://lists.freedeskt
Sending for review.
revol_
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx
index e7b8e8b..c382486 100644
--- a/sw/source/core/access/accdoc.cxx
+++ b/sw/source/core/access/accdoc.cxx
@@ -95,7 +95,7 @@ void SwAccessibleDocumentBase::SetVisArea()
}
}
-void S
Please, someone can review this? Thkz.
revol_
diff --git a/sw/source/core/access/acccell.cxx
b/sw/source/core/access/acccell.cxx
index dbd1b51..2479c5c 100644
--- a/sw/source/core/access/acccell.cxx
+++ b/sw/source/core/access/acccell.cxx
@@ -121,7 +121,7 @@ SwAccessibleCell::SwAccessibleCell( S
So, it's a small patch that I send for review because I do not know if
it's ok to do what the cppcheck says to do. In this case, he says that
for non-primitive types we can do ++test instead test++. My fear is if
in the code really need to be test++, understand?
revol_
diff --git a/sw/source/
So, hello guys, i'm trying to build LO at Windows and i know that anyone of us
don't like to see it, but i really, --really--, needs help to do it because i
can't, today, do it alone.
The facts:
- LO Build Page not solve the problem, she says 'hey, my FRIEND, you only need
to download your li
Sending for review, cover sd/slideshow/*
revol_
cleancode-impress.slideshow.diff
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Sorry, some times it happens.
--- Em dom, 5/12/10, Kayo Hamid escreveu:
De: Kayo Hamid
Assunto: [Libreoffice] (no subject)
Para: libreoffice@lists.freedesktop.org
Data: Domingo, 5 de Dezembro de 2010, 1:32
Covering sd/source/{filter,helper}. Someone can look if I build the patch in a
correct
Covering impress/animations/source/animcore/ and impress/sd/source/core/*,
sending for review.
Thanks, revol_.
cleancode-impress.two.dirs.diff
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://list
thanks for your review.
revol_.
--- Em ter, 30/11/10, David Tardon escreveu:
De: David Tardon
Assunto: Re: [Libreoffice] [PUSHED] Last patch to clean code at writer
[source/ui]
Para: libreoffice@lists.freedesktop.org
Data: Terça-feira, 30 de Novembro de 2010, 15:47
On Tue, Nov 30, 2010 at 04
So, I'm happy, this patch finish my work to clean code around writer,
everything inside sw. Sending for review (large patch).
revol_
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libr
I can't see the commit at cgit, where is? I want to see the changes to improve
my skills, see the changes. What wrong I'm doing? Better, what are wrong remove?
revol_
Pushed with some changes.
D.
___
LibreOffice mailing list
LibreOffice@lists
Covering source/ui/{app,cctrl,chrdlg,config,dbui,dialog,dochdll,docvw,envelp},
sending for review. Curiously 'ui' is the most clean I have seen.
revol_
cleancode-writer.source.ui.initial.diff
Description: Binary data
___
LibreOffice mailing lis
Thanks for your review, I'll take into account in the next patch.
revol_
I kept stuff like
// 0.01mm = 0.57twip
as that's a useful comment IMO
and I kept stuff like
void SwHTMLParser::EndNumBulListItem( int nToken, sal_Bool bSetColl,
- sal_Bool /*bLastPara
It covers source/core/{except, fields, frmedt, graphic, objectpositioning, ole,
para, sw3io}, sending for review.
thanks.
revol_
cleancode-writer.source.core.finish.diff
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.fr
Hello, sending this for review. I think that cleaniness is better than the
previous.
revol_
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Ok, thanks for your review, I'll remember them the next cleanup
revol_
I pushed it with several changes:
* reverted several comments that remain valid after the removals
* reverted one removed vim modeline
* removed issue numbers only related to the removed code. Nonexistent
code doesn't need com
Hello, please can someone review this? I do not known exactly what I need to
remove or not, so I'll known a bit more after someone reviewing it.
So I'll be able to clean better and at once.
cleancode-writer.source.core.layout.diff
Description: Binary data
___
i'm trying to build libreoffice, at windows, but i do not known what i need.
i'm following this page,
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows,
and I have in my files the build, base, impress, writer and calc repos. cygwin
+ dependencies, perl +
I'm sending this patch for review because i do not know if these changes are ok.
The patch covers variables assigned but not used and scope of variables inside
if/else/loops.
revol_
patch.cppcheck.base.diff
Description: Binary data
___
LibreOff
There are other places than writer, base, calc and impress repo? I'm not
familiar with these many git repositories.
revol_
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Hi Norbert, thank you. Can you explain for me where is this definition
(SAL_N_ELEMENTS) that all theses sources share in common? My knowledge in C++
are few.
New patchs attached.Hi revol_
Thanks for the patch.
One remark. You want to use the macro SAL_N_ELEMENTS, not define your own
ELEMENTS
46 matches
Mail list logo