beaver-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Beaver-devel] PATCH: Code Cleanup


From: Double 12
Subject: Re: [Beaver-devel] PATCH: Code Cleanup
Date: Tue, 31 Mar 2009 14:52:21 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Hi Tobias,

Thanks for your explanation! However, there still is an old version of src/api/beaver.h on the repository:
http://cvs.savannah.gnu.org/viewvc/beaver0.4.0/src/api/beaver.h?root=beaver&view=log

It shouldn't be too hard to fix, should it? Do we just have to remove the #include "../../config.h" or are there more changes in the file? Maybe you have the new version on your computer, Tobias. But then we'll lose Higor's code indentation fixes.

Double 12.

Tobias Heinzen schreef:
Higor Eurípedes wrote:
Hi, i made a simple patch to reformat beaver code.
It just removes some unused code and reindent all the source files.

The patch size is about 600 kbytes.

link: http://enygmata.site88.net/patches/beaver0.4.0/code_cleanup.patch

c.u. :)
Hi

I thought I announce myself on the list again. I worked on the printing
the past few weeks and tried to solve the problem were the line gets
printed over the right side of the page. I tried several things but non
of them worked, they way I hoped they did. My first idea was, to draw a
white rectangle on the right side. But the problem was, that certain
characters were exactly on the border line. The next idea was to somehow
guess the length of the text and then clipping the unnecessary text. The
problem here were the tabs, since they somehow reported wrong width or
something so this fix didn't work either.

I came to the conclusion that if your code does not overlap the 80-char
border, then it should fit onto the page.

Thank you Higor also for the code cleanup.

As for the "bug" with the config file: This is probably because you have
an old "beaver.h" somewhere installed on the system. The building
process will use the beaver.h you have installed and not the one, that
is packed. This is normally not a problem, when you install a fresh
beaver (and you also have to build the plugins after you installed
beaver). Before the autoconf Makefiles, I had a workaround for that,
which now doesn't work. The new beaver.h has no include config.h as you
can easily check.

Regards
Tobias


_______________________________________________
Beaver-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/beaver-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]