Re: [rsyslog] [EXTERNAL] Re: Permission Denied when running rsyslog

2023-08-30 Thread Lennard Klein via rsyslog
FWIW, consider checking if selinux rather than just file permissions are 
triggering the permission denied.

Regards,
Lennard

On 30/08/2023, 10:07, "rsyslog on behalf of Ole Froslie via rsyslog" 
mailto:rsyslog-boun...@lists.adiscon.com> 
on behalf of rsyslog@lists.adiscon.com <mailto:rsyslog@lists.adiscon.com>> 
wrote:


Since rsyslog is running as root, I thought it should be able to read any
file on the system, regardless file permissions?
Adding rsyslog to the dirsrv group does not solve the problem since the
file permissions for the access file only allows the user dirsrv to read
/write, not the group dirsrv.
-rw---. 1 dirsrv dirsrv 6007159 Aug 29 10:56 *access*


-Ole




On Tue, 29 Aug 2023 at 19:25, David Lang mailto:da...@lang.hm>> 
wrote:


> you have already identified the problem, the files are being created with
> permissions that prohibit rsyslog from reading them.
>
> you may be able to add root to the group dirsrv to allow rsyslog to read
> them,
> otherwise you need to figure out a way to create the files with different
> permissions.
>
> David Lang
>
> On Tue, 29 Aug 2023, Ole Froslie via rsyslog wrote:
>
> > Hi,
> > I am setting up centralized logging from FreeIPA version 4.10.1 running
> on
> > CentOs.
> > I have tried to set up the logging, initially just the access log, using
> > this config (with domain and ips obfuscated)
> >
> > module(load="imfile")
> >
> >
> > input(type="imfile" File="/var/log/dirsrv/slapd-MY_DOMAIN/access"
> > Tag="ipa-security-log" Facility="local0")
> >
> > # Forward local facilities
> >
> > if $syslogfacility >= 16 then @my_ip_adress:514
> >
> > When restarting rsyslog with this config , I get error message (with
> > servername and domains obfuscated):
> >
> > Aug 29 10:46:28 myserver.mydomain.net systemd[1]: Starting System
> Logging
> > Service...
> >
> > Aug 29 10:46:28 myserver.mydomain.net rsyslogd[12607]: *imfile: on
> startup
> > file '/var/log/dirsrv/slapd-MY-DOMAIN/access' does not exist but is
> > configured in static file monitor - this may indicate a misconfiguration.
> > If the file appears at a later time, it will automatically be processed.
> > Reason: Permission denied [v8.2102.0-109.el9]*
> >
> > Aug 29 10:46:28 myserver.mydomain.net systemd[1]: Started System Logging
> > Service.
> >
> > Aug 29 10:46:28 myserver.mydomain.net rsyslogd[12607]: [origin
> > software="rsyslogd" swVersion="8.2102.0-109.el9" x-pid="12607" x-info="
> > https://urldefense.com/v3/__https://www.rsyslog.com__;!!PcPv50trKLWG!zsYLkxIfq9q9oLeqzhVBOMGwuj1MpM-l-hytGSpiHYN109ffFuhiPjlak8YQuqV0X4XFL4OCtScmKge_EuXBuE9UiJI$
> >  
> > <https://urldefense.com/v3/__https://www.rsyslog.com__;!!PcPv50trKLWG!zsYLkxIfq9q9oLeqzhVBOMGwuj1MpM-l-hytGSpiHYN109ffFuhiPjlak8YQuqV0X4XFL4OCtScmKge_EuXBuE9UiJI$>
> >  "] start
> >
> > Aug 29 10:46:28 myserver.mydomain.net rsyslogd[12607]: *imfile: error
> > accessing file '/var/log/dirsrv/slapd-MY-DOMAIN/access': Permission
> denied
> > [v8.2102.0-109.el9]*
> >
> > Aug 29 10:46:28 myserver.mydomain.net rsyslogd[12607]: *imjournal:
> journal
> > files changed, reloading... [v8.2102.0-109.el9 try
> > https://urldefense.com/v3/__https://www.rsyslog.com/e/0__;!!PcPv50trKLWG!zsYLkxIfq9q9oLeqzhVBOMGwuj1MpM-l-hytGSpiHYN109ffFuhiPjlak8YQuqV0X4XFL4OCtScmKge_EuXBEfjoWNk$
> >  
> > <https://urldefense.com/v3/__https://www.rsyslog.com/e/0__;!!PcPv50trKLWG!zsYLkxIfq9q9oLeqzhVBOMGwuj1MpM-l-hytGSpiHYN109ffFuhiPjlak8YQuqV0X4XFL4OCtScmKge_EuXBEfjoWNk$>
> >  
> > <https://urldefense.com/v3/__https://www.rsyslog.com/e/0__;!!PcPv50trKLWG!zsYLkxIfq9q9oLeqzhVBOMGwuj1MpM-l-hytGSpiHYN109ffFuhiPjlak8YQuqV0X4XFL4OCtScmKge_EuXBEfjoWNk$
> >  
> > <https://urldefense.com/v3/__https://www.rsyslog.com/e/0__;!!PcPv50trKLWG!zsYLkxIfq9q9oLeqzhVBOMGwuj1MpM-l-hytGSpiHYN109ffFuhiPjlak8YQuqV0X4XFL4OCtScmKge_EuXBEfjoWNk$>
> >  > ]*
> >
> >
> > I have observed the following, following tips on various threads and info
> > found on internet.
> >
> >
> > - rsyslog is working as intended when exporting the standard linux logs
> > - rsyslog is running as root. There is no drop privileges configured. I
> > have checked this in the /etc/rsyslog.conf, and I also see that
> rsyslog is
> > running as root when using ps -ef | grep rsyslogd
> > - running as root should enable it to read any file
> > -
> > - I have tried to turn off SELinix, the problem remains the same. I
> have
> > also checked log

[grpc-io] Re: Wrong instructions on building and installing gRPC?

2022-06-17 Thread Lennard
Thanks for the answer. After I inspected my inputs further, I saw I didn't 
correctly setup the installation directory (so the first 3 steps). Sorry 
for the inconvenience; I hope if someone does the same mistake and gets 
this error, this might help them.

On Wednesday, 15 June 2022 at 19:29:58 UTC+2 rbel...@google.com wrote:

> I just did a run-through of the instructions (on the master branch) and 
> they seem to be working properly. Would you mind including a log of the 
> exact commands you ran?
> On Friday, June 10, 2022 at 7:21:32 AM UTC-7 Lennard wrote:
>
>> Hi,
>> I have just tried to install grpc on my local machine (Ubuntu 20.04) by 
>> following these steps: 
>> https://grpc.io/docs/languages/cpp/quickstart/#build-and-install-grpc-and-protocol-buffers
>>
>> However, when I try to run "make install", I get the error message 
>> "Installing via 'make' is no longer supported. Use cmake or bazel instead."
>>
>> Shouldn't the aforementioned guide be updated accordingly?
>> (Note: I am not asking how to fix this error. I just think an 
>> installation guide on the official website should just work under normal 
>> circumstances. Or did I do something wrong somewhere?)
>> Best regards,
>> Lennard
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/3c5fe544-e6ff-444a-9bf2-ce18e52b6df4n%40googlegroups.com.


[grpc-io] Wrong instructions on building and installing gRPC?

2022-06-10 Thread Lennard
Hi,
I have just tried to install grpc on my local machine (Ubuntu 20.04) by 
following these steps: 
https://grpc.io/docs/languages/cpp/quickstart/#build-and-install-grpc-and-protocol-buffers

However, when I try to run "make install", I get the error message 
"Installing via 'make' is no longer supported. Use cmake or bazel instead."

Shouldn't the aforementioned guide be updated accordingly?
(Note: I am not asking how to fix this error. I just think an installation 
guide on the official website should just work under normal circumstances. 
Or did I do something wrong somewhere?)
Best regards,
Lennard

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/36bacf4a-8f60-40a6-bac6-44d170b28049n%40googlegroups.com.


Re: Processen die problemen geven achterhalen

2021-06-24 Thread Lennard Stam
Ha Paul,

Alicht is atop wat voor je.
https://packages.debian.org/stretch/admin/atop

--
Met vriendelijke groet,

Lennard Stam

> Op 24-06-2021 12:44 schreef Paul van der Vlis :
> 
>  
> Hoi,
> 
> Soms is het weleens zo dat een proces zo'n hoge load geeft dat je de 
> machine maar gaat rebooten omdat de boel niet meer reageert. Achteraf 
> wil je dan graag weten wat er aan de hand was.
> 
> Wat is nu een goede tool om op de achtergrond te draaien zodat je later 
> kunt zien welk proces schuldig was?
> 
> Ik ben wat aan het spelen met sysstat, maar dat verteld me nog niet zo 
> veel over het verleden.
> 
> Natuurlijk kan ik "ps" of "top" in een crontab draaien, maar het lijkt 
> me dat er vast al iemand wat moois voor heeft gemaakt.
> 
> Groet,
> Paul
> 
> 
> -- 
> Paul van der Vlis Linux systeembeheer Groningen
> https://www.vandervlis.nl/



Re: [rsyslog] [EXTERNAL] Re: an experiment: first rsyslog open meeting

2020-09-30 Thread Lennard Klein via rsyslog
Hello,

I managed to catch most of the meeting. I liked the concept! I do have some 
suggestions, mostly relating to the recording/publishing thing:

Have participants join with video disabled. In my own experience I would like 
to enable my camera when appropiate, but having it auto-enabled is a downside 
for me. My browser didn't allow me to only enable microphone, not video, on 
join. 
https://community.jitsi.org/t/disable-particpants-video-by-default/74177/2 has 
some hints on the topic.

Also a clear policy on what audio and video ends up in any publications might 
help people enable their webcam more and create more of an interactive 
experience. Personally I probably would have enabled mine if that were in place.

With that said, keep it up, it should be interesting to see where this leads 
the development of rsyslog and everything around it :)

Regards,
Lennard Klein

On 30/09/2020, 02:04, "rsyslog on behalf of David Lang via rsyslog" 
 
wrote:

there is a recording, it will be up after some editing.

a few questions, a few suggestions of desired features (we are going to 
write
them up to the list and try to see which are the most desirable)

David Lang

On Tue, 29 Sep 2020, Joe Blow via rsyslog wrote:

> Date: Tue, 29 Sep 2020 16:00:15 -0400
> From: Joe Blow via rsyslog 
> To: rsyslog-users ,
> Rainer Gerhards 
> Cc: Joe Blow ,
> rsyslog-users 
> Subject: Re: [rsyslog] an experiment: first rsyslog open meeting
>
> What i wouldn't give to put a face to some of these names.
>
> Apologies Rainer, I didn't see this until too late, but I would love to 
participate next time. After being on this mailing list for a decade it would 
be awesome to video chat.
>
> How did it go today?  Did you regale each other with technological 
triumphs using rsyslog and a few war stories?
>
> Cheers,
>
> JB
>
>
>
> Sent via BlackBerry Hub+ Inbox for Android
>
>
>   Original Message
>
>
> From: rsyslog@lists.adiscon.com
> Sent: September 29, 2020 4:08 AM
> To: rgerha...@hq.adiscon.com
> Reply-to: rsyslog@lists.adiscon.com
> Cc: radu.gheor...@sematext.com; rsyslog@lists.adiscon.com
> Subject: Re: [rsyslog] an experiment: first rsyslog open meeting
>
>
> Ah, so I can't catch you today :( Maybe next time! It does make sense, 
yes.
>
> mar., 29 sept. 2020, 10:11 Rainer Gerhards  a
> scris:
>
>> Unfortunately, 4p is a sharp deadline for me :-( ... but my plan is to
>> do this more than once, at least if it works out. And I usually do not
>> stop on first try.
>>
>> One thing I know to be problematic is short notice. With it, however,
>> it is far easier for me to do these kinds of meetings. But let's see
>> how things evolve. I am sure there is lots to learn today (at least
>> for me) if participants join (actually, even if this is not the case
>> ;-)).
>>
>> Hope that makes sense to you...
>>
>> Rainer
>>
>> El mar., 29 sept. 2020 a las 9:05, Radu Gheorghe
>> () escribió:
>> >
>> > I love the idea, it’s just that I have a call already scheduled for
>> then. Maybe if you guys (and girls?) are still around at 4PM UTC I can 
join
>> later?
>> >
>> > Best regards,
>> > Radu
>> >
>> > > On 28 Sep 2020, at 20:51, Peter Portante via rsyslog <
>> rsyslog@lists.adiscon.com> wrote:
>> > >
>> > > Great idea, Rainer!
>> > >
>> > > On Mon, Sep 28, 2020 at 12:57 PM Rainer Gerhards via rsyslog <
>> > > rsyslog@lists.adiscon.com> wrote:
>> > >
>> > >> Hi folks,
>> > >>
>> > >> I am doing an experiment tomorrow and invite you to an open 
(virtual)
>> > >> meeting around rsyslog. It's on short notice, and that's part of the
>> > >> experiment. More details here:
>> > >>
>> > >>
>> > >>
>> 
https://rainer.gerhards.net/2020/09/experiment-an-open-online-meeting-for-rsyslog-folks.html


This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.
___
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Re: [rsyslog] [EXTERNAL] How to log to rsyslog without glibc?

2020-09-21 Thread Lennard Klein via rsyslog
Hello,

On 21/09/2020, 12:54, "Vitaly Repin"  wrote:

Hello,

Den mån 21 sep. 2020 kl 11:30 skrev Lennard Klein
:

> From what I remember the most feasible way of doing this is taking 
journald out of the equation entirely, although this will means /dev/log stuff 
won't go into journald at all.
> I don't have the exact instructions ready to go, but the basic idea would 
be to tell systemd/journald to stop being the owner of /dev/log, and telling 
rsyslog to start being so.
> For the journald part it probably involves disabling/stopping/masking the 
'systemd-journald-dev-log.socket' unit, although disclaimer: there might be 
horrible side-effects.

It looks like that it is a bad idea to disable journald completely:

https://askbot.fedoraproject.org/en/question/63985/how-to-correctly-disable-journald
"This is simply not supported. All services systems starts have their
stdout/stderr connected to journald, thus journald really needs to
run."
By 'take out of the eqation' I did not mean disable journald completely: but 
rather configure it not to 'take' /dev/log any longer, so it only does the 
stdout/stderr logging you quoted here. Allowing rsyslog to listen on /dev/log 
once more directly.

Regards,
Lennard Klein

This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.
___
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Re: [rsyslog] [EXTERNAL] How to log to rsyslog without glibc?

2020-09-21 Thread Lennard Klein via rsyslog
Hello,

From what I remember the most feasible way of doing this is taking journald out 
of the equation entirely, although this will means /dev/log stuff won't go into 
journald at all.

I don't have the exact instructions ready to go, but the basic idea would be to 
tell systemd/journald to stop being the owner of /dev/log, and telling rsyslog 
to start being so.
For the journald part it probably involves disabling/stopping/masking the 
'systemd-journald-dev-log.socket' unit, although disclaimer: there might be 
horrible side-effects.
For the rsyslog part I don't remember the method by which rsyslog determines 
it's in a systemd/journald system and decides not to open /dev/log itself.
Last disclaimer/warning: if you do get it to a state that seems working, keep 
in mind there's logging that exists *only* within journald as it is never 
written to /dev/log but delivered through other mechanisms.

Hope this helps as a starting point!

Regards,
Lennard Klein

On 20/09/2020, 18:14, "rsyslog on behalf of Vitaly Repin via rsyslog" 
 
wrote:

Hello,

I have a system with systemd which forwards log messages from /dev/log
to /run/systemd/journal/syslog . Unfortunately journald drops log
messages quite often and they do not reach rsyslogd.

I want to log to rsyslog directly from my application but glibc does
not allow to select the unix socket to send messages to. Path /dev/log
is hardcoded in bits/syslog-path.h and later used in misc/syslog.c

What options do I have to log to rsyslog directly without having
journald in between?

I consider cherry picking syslog logging implementation from glibc to
a separate library which will have a function to set a path to the
unix socket where syslog daemon listens.
May be such library already exists?

Thanks in advance for all the advices.
--
WBR & WBW, Vitaly
__


This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.
___
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Re: [rsyslog] [EXTERNAL] Re: activation of module imptcp failed

2020-09-16 Thread Lennard Klein via rsyslog
>ARP   The module is called imtcp, not imptcp ;)
Actually, both exist.

>SC *Sep 15 10:15:36 HOSTNAME rsyslogd[24237]: activation of module imptcp 
>failed [v8.24.0-52.el7_8.2 try 
>https://urldefense.com/v3/__http:/www.rsyslog.com/e/2077__;!!PcPv50trKLWG!lNwBpglve15HXSxoxYSC8r-EG-AjxARNQZwgombitHNk_gGbh16clPsu3SgikOS0KASWpg$
Apologies for the url-mangling, corporate security defenses are at work here...
The link (https://www.rsyslog.com/?s=error+2077) however, might give you some 
clues: the socket is failing to bind. At a guess, you either are trying to bind 
to a socket that is already being listened on by some other program, you have 
the same port in your configuration twice, or you already have rsyslog running 
outside of the system service, which means you can't have a second one 
listening on the same ports.
Although that last option really is just a specific version of the first option.

Looking at your output, I see multiple process ids called 'rsyslogd' listening 
on ports, and in your systemd status only process 24237 is listed. I'd 
recommend completely stopping all rsyslogd instances and restarting it through 
systemd if you can afford to.

Regards,
Lennard Klein



This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.
___
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.


AW: Installing RTnet

2020-02-10 Thread Kloock, Lennard via Xenomai
Hey,

Thank you.
Do you know if the I218-V is supported on Xenomai 3.x?

Lennard Kloock

On 10.02.20 14:28 Kiszka, Jan wrote: 

> ...it won't help as that NIC is not supported. There was some update of the  
> driver shared a while ago, but I'm also not sure if that would have helped - 
> it was using an old kernel as baseline, too.
> 
> Jan
> 
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence 
> Center Embedded Linux


Installing RTnet

2020-02-10 Thread Kloock, Lennard via Xenomai
Hello all,

i have succesfully installed Xenomai 3.0.5 with linux 4.9.90, but I am having 
trouble installing RTnet on an i218-lm.

I followed these steps:
1) ifconfig eth0 down
2) rmmod e1000e
3) configured /usr/xenomai/etc/rtnet.conf according to 
https://gitlab.denx.de/Xenomai/xenomai/-/wikis/RTnet
4) modprobe rtpacket
5) modprobe rtnet
6) modprobe rt_e1000e

But now if I try to run rtnet with  ./rtnet start I get the following errors:

ioctl: No such device
ioctl: No such device
ioctl: No such device
ioctl: No such device
ioctl (add): No such device
ioctl (add): No such device
ioctl (add): No such device
ioctl (add): No such device
vnic0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
vnic0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
Waiting for all slaves...ioctl: No such device
ioctl: No such device

./rtifconfig only show the local loopback but not rteth0

Dmesg shows that rtnet and the driver are being loaded

[  391.184595]
   *** RTnet for Xenomai v3.0.5 ***

[  391.184596] RTnet: initialising real-time networking
[  400.034853] rt_e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k-rt
[  400.034854] rt_e1000e: Copyright(c) 1999 - 2011 Intel Corporation.

But with lspci -knn it shows that the NIC doesn't pick up the real time driver:

00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection 
I219-LM [8086:156f] (rev 21)
Subsystem: Gigabyte Technology Co., Ltd Ethernet Connection 
I219-LM [1458:e000]
Kernel modules: e1000e

Did I do something wrong or is my I219-LM NIC not supported by RTnet?

Many Thanks

Lennard Kloock



Re: [rsyslog] [EXTERNAL] RFC 5424 formatting

2019-12-06 Thread Lennard Klein via rsyslog
Hi,

On 12/6/19 8:38 AM, Harish Patil via rsyslog wrote:
> Hi,
>
> I have a simple question.
>
> I have a requirement to send certain messages from my application to a
> remote syslog server in RFC 5424 format.
In rsyslog the output format is controlled by templates [1].
> For that, do we have such a thing as syslog/rsyslog client (or client API
> library) that can take a string and some arguments, format it as per RFC
> 5424 and then send it to remote rsyslog server? I went thru' some
> documentation, but it wasn't clear to me.
There's a built-in template called 'RSYSLOG_SyslogProtocol23Format' for
that, see also the page linked above.

>
> I looked into RulesetParser rsyslog.rfc5424 ruleset. I believe this is a
> config option used in rsyslog servers for parsing RFC 5424 messages but not
> formatting. Is that right?Essentially you got that right, rsyslog.rfc5424 is 
> a built-in parser,
which can be used as a parser chain for a ruleset and is in the default
chain.

 > Essentially all I need to know whether I need to RFC 5424 formatting
 > by hand or can we use any existing implementation?
In short: yes, if you're simply trying to send in RFC5424 rather than
traditional formats, you simply specify the template:

*.* /var/log/all-messages.log;RSYSLOG_SyslogProtocol23Format
*.* @remote;RSYSLOG_SyslogProtocol23Format
action(type="omfwd" ... template="RSYSLOG_SyslogProtocol23Format")
... and other syntaxes

regards,
Lennard Klein

[1]https://www.rsyslog.com/doc/v8-stable/configuration/templates.html
This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.
___
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.


Re: [rsyslog] [EXTERNAL] Rsyslog and elasticsearch

2019-04-12 Thread Lennard Klein via rsyslog
Hi Stephan,

You would solve this in elasticsearch. As per
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html,
create an index template with an appropiate index pattern (for example
syslog-*) and apply your wanted settings in there. Any newly created
shards will then use those settings.

Lennard

On 4/12/19 10:31 AM, Stephan Seitz via rsyslog wrote:
> Hi!
>
> I’m using rsyslog with the elasticsearch plugin (8.1901.0). The
> version of elasticsearch is 6.6.2.
>
> My rsyslog configuration:
>
> # location for storing queue files on disk
> $WorkDirectory /var/lib/elasticsearch/rsyslog_queue
> # The template below outputs something like "syslog-2012-05-10" to
> have # our variable index names
> template(name="date-days"
> type="string"
> string="syslog-%timereported:1:10:date-rfc3339%"
> )
> module(load="omelasticsearch")
> action(type="omelasticsearch"
>   # Errorfile when bulk mode fails
>   errorfile="/var/log/elasticsearch-transmit.log"
>   server="localhost"
>   serverport="9200"
>   searchIndex="date-days"
>   dynSearchIndex="on"
>   bulkmode="on"
>   # allocate memory dynamically for the queue. This is good when
> you have multiple apps competing
>   # for RAM. For performance, the default FixedArray is a better
> option
>   #queue.type="LinkedList"
>   queue.type="fixedarray"
>   # how many messages (messages, not bytes!) to hold in memory
>   queue.size="200"
>   # 300 messages in bulk
>   queue.dequeuebatchsize="300"
>   # file name template, also enables disk mode for the memory queue
>   queue.filename="dbq"
>   # limit of messages in the memory queue. When this is reached,
> it starts to write to disk
>   queue.highwatermark="150"
>   # memory queue size at which it stops writing to the disk
>   queue.lowwatermark="80"
>   # when to start discarding messages
>   queue.discardmark="200"
>   # maximum disk space used for the disk part of the queue
>   queue.maxdiskspace="5g"
>   # save the queue contents when stopping rsyslog
>   queue.saveonshutdown="on"
>   # retry indefinitely if the HTTP request failed (eg: if the
> target server is down)
>   action.resumeretrycount="-1")
>
>
> The data is available in the elasticsearch indices, so that is
> working, but how can I do more template configuration? I have only one
> elasticsearch server. So number_of_replicas must be zero, but the
> default is higher.
>
> Besides that I have the following error messages:
> [2019-04-11T23:59:58,507][WARN ][o.e.d.c.m.MetaDataCreateIndexService]
> [jurlog3] In a future major version, this request will fail because
> this action would add [10] total shards, but this cluster currently
> has [1442]/[1000] maximum shards open. Before upgrading, reduce the
> number of shards in your cluster or adjust the cluster setting
> [cluster.max_shards_per_node].
> [2019-04-11T23:59:58,511][WARN ][o.e.d.c.m.MetaDataCreateIndexService]
> [jurlog3] the default number of shards will change from [5] to [1] in
> 7.0.0; if you wish to continue using the default of [5] shards, you
> must manage this on the create index request or with an index template
>
>
> It seems I can’t set options like cluster.max_shards_per_node in the
> elasticsearch configuration file. So can someone tell me how to solve
> the problems?
>
> Shade and sweet water!
>
> Stephan
This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.
___
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.


Re: [rsyslog] [EXTERNAL] Re: omhttp and rsyslog-8.1903

2019-03-06 Thread Lennard Klein via rsyslog
Hi,

On 3/6/19 1:12 PM, Rainer Gerhards wrote:
> As a side-note: we *really* need some help with a couple of issues
> building on SuSE OBS. We would deeply appreciate if somebody could
> step in and provide a helping hand. The goal still is to get OBS going
> to provide cross-platform packages for all distros.
>
> A big problem we currently have is that we cannot build with openssl
> for debian [1]. This means we have to exclude this functionality from
> the rsyslog-project debian packages. But it's not only this problem,
> there are more of the same sort.
Not at all familiar with OBS, but since you seem to be looking for any
wild idea at all: would adding libssl-dev to librelp.dsc' Build-Depends
help? Just asking because I saw the following near the top of the build
output:
processing recipe /var/cache/obs/worker/root_3/.build-srcdir/librelp.dsc ...

>
> Even partial answers would help.
>
> Thanks,
> Rainer
regards,
Lennard Klein
This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.
___
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.


[Consdistlist] Lecturer/ Senior Lecturer in Conservation Science

2019-02-14 Thread Frances Lennard


The University of Glasgow is recruiting a Lecturer or Senior Lecturer in 
Conservation Science. The Lecturer in Conservation Science will undertake 
high-quality research and research supervision, and make an active and 
high-level contribution in the School of Culture and Creative Arts, part of the 
College of Arts. The post holder will teach at undergraduate and postgraduate 
level primarily in the Centre for Textile Conservation and Technical Art 
History.

Please see more details at: 
https://www.jobs.ac.uk/job/BQC223/position-lecturer-senior-lecturer-in-conservation-science



Frances Lennard
Professor of Textile Conservation
Director, Centre for Textile Conservation and Technical Art History
School of Culture and Creative Arts
University of Glasgow
Robertson Building, 56 Dumbarton Road
Glasgow G11 6AQ

Direct line: Tel: +44 (0) 141 330 7607
Email: frances.lenn...@glasgow.ac.uk<mailto:frances.lenn...@glasgow.ac.uk>
https://gla.ac.uk/textileconservation
Textile Conservation blog: 
https://textileconservation.academicblogs.co.uk<https://textileconservation.academicblogs.co.uk/>
Situating Pacific Barkcloth Production in Time and Place: 
https://tapa.gla.ac.uk<https://tapa.gla.ac.uk/>

**
Unsubscribe by sending a message to consdistlist-le...@cool.conservation-us.org
Searchable archives: http://cool.conservation-us.org/byform/mailing-lists/cdl/


Re: [rsyslog] [EXTERNAL] RELP and TLS

2018-08-14 Thread Lennard Klein via rsyslog

Hi,

On 08/14/2018 03:07 PM, Stephan Seitz wrote:

But this doesn't work. The server is requesting a client certificate.
Okay, the client has one for its web server, but it seems I have to
configure TLS.permittedpeer for the server as well.

This means:
- Every client needs a certificate which is simply not the case, and
with  hundreds of VMs no one is going to do this work. And these
available  certificates are only permitted for server uses, not for
client  authentication.

I haven't checked, but it could be that these certificate extensions
aren't used by librelp, in which case this might be your solution.


- Every client has to be part of TLS.permittedpeer (okay, maybe I can
use  *.domain here).

*.domain should work



In the end I want to have a client server configuration like you have
for a web server. The client checks the server certificate, but no
client certificate is needed. Is this possible?

I believe with imrelp (technically: librelp) what you're describing is
not possible. This is also mentioned in an issue on github:
https://github.com/rsyslog/rsyslog/issues/435#issuecomment-326820750

If encryption is more important than reliability, I suppose an
alternative is using imtcp with a suitable netstream driver, like in
https://www.rsyslog.com/doc/v8-stable/tutorials/tls.html.

regards,
Lennard Klein
This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.
___
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.


Re: [rsyslog] [EXTERNAL] Re: rsyslog subject.template mailSubject

2018-08-06 Thread Lennard Klein via rsyslog

Hi,

I don't exactly understand your latest mail, but looking at your
original mail I would suggest defining 2 templates rather than 1,
instead of trying to redefine the template. I've typed up the general
idea below.

On 08/06/2018 10:14 AM, Till Brinkmann wrote:
...


-Ursprüngliche Nachricht-
Von: rsyslog [mailto:rsyslog-boun...@lists.adiscon.com] Im Auftrag von Till 
Brinkmann
Gesendet: Donnerstag, 2. August 2018 16:36
An: eSX ; rsyslog@lists.adiscon.com
Betreff: [rsyslog] rsyslog subject.template mailSubject

module(load="ommail")

template (name="mailBody"  type="string" string="RSYSLOG Alert nmsg='%msg%'") > template (name="mailSubject" 
type="string" string="%hostname%") <<<<

HOSTNAME STILL THE SAME BUT TEXT WILL CHANGE OF EVENT IF

Instead, use this:

template (name="mailSubjectINVALID"
  type="string"
  string="%hostname% INVALID CRED")
template (name="mailSubjectSUCCESS"
  type="string"
  string="%hostname% USER LOGIN SUCESS")



if $msg contains "Invalid Credentials" then {
 action(type="ommail" server="localhost" port="25"
 mailfrom="svc-syslogmai...@adn.de"
 mailto="till.brinkm...@adn.de"
 subject.template="mailSubject"  <<<<<<<< WOULD LIKE TO USE 
TEXT AND THE %HOSTNAME% VAR HERE %HOSTANME INVALID CRED.
 body.enable="on"
 template="mailBody")

if $msg contains "Invalid Credentials" then {
action( ...
 subject.template="mailSubjectINVALID"
 ...
}



}
if $msg contains "SUCCESS" then {
 action(type="ommail" server="localhost" port="25"
 mailfrom="svc-syslogmai...@adn.de"
 mailto="till.brinkm...@adn.de"
 subject.template="mailSubject"  <<<<<<<< WOULD LIKE TO USE 
TEXT AND THE %HOSTNAME% VAR HERE %HOSTNAME% USER LOGIN SUCESS
 body.enable="on"
 template="mailBody")

}

if $msg contains "SUCCESS" then {
action( ...
 subject.template="mailSubjectSUCCESS"
 ...
}

regards,
Lennard
This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.
___
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Re: Join the Debian Science team

2018-03-20 Thread Knut Lennard Erasmus Wasserthal


On 20/03/18 19:51, Innocent De Marchi wrote:

Hi Anton Gladky,


Hi Innocent,

welcome on board! Your request was approved.


Thanks!
I see that there are some packages that have not been updated for a
long time: I think I will start my collaboration with them [0].

Regards!

I. De Marchi
Thank you very much! I am looking forward to have this program finally 
published!


[0] https://packages.qa.debian.org/x/xppaut.html
https://packages.qa.debian.org/p/python-neuroshare.html






Re: Join the Debian Science team

2018-03-20 Thread Knut Lennard Erasmus Wasserthal


On 20/03/18 19:35, Innocent De Marchi wrote:

Hi everyone,

I think I can help with the maintenance of this group's packages:
I just sent the request to join the group in salsa. I have recently
passed the NM process and I am DM [0]. Obviously, I will need the
sponsorship of packages.

Regards!

I. De Marchi

Can you then, please, help me publish my chemical drawing program, lhendraw?
I am not allowed to maintain the package although i have become a 
programmer by now.



[0] https://nm.debian.org/process/434

  







[qutebrowser] Tab in Downloading

2017-12-04 Thread Lennard Henze via qutebrowser
Hey guys,

I would expect, that when browsing through direcotries in the Downloadprompt, 
 is used to auto complete the name of a direcoty, bash-like. Bould i does 
not work that way, it just skips to the next Folder. Is there a way to change 
that?

[Consdistlist] Leverhulme Trust Fully Funded Studentship

2017-07-17 Thread Frances Lennard
University of Glasgow, UK, College of Arts

>From the Golden Age to the Digital Age: Modelling and Monitoring Historic 
>Tapestries
Leverhulme Trust Fully Funded Studentship

We are recruiting a highly motivated PhD student to take part in an exciting 
interdisciplinary project between the Centre for Textile Conservation and 
Technical Art History and the School of Engineering at the University of 
Glasgow, funded by the Leverhulme Trust with additional funding from the 
Textile Conservation Foundation and the University of Glasgow.

Start Date: It is hoped that the three-year studentship will start in 
September/October 2017.

Funding: The Leverhulme Trust Scholarship will cover

· home tuition fees for UK and EU applicants

· and will provide maintenance costs for three years at £14,553 per 
year.

This studentship is open to international, home and EU applicants, but will 
only cover tuition fees to the home & EU level.

Project context: Many rich collections of tapestries survive and are displayed 
in museums and historic houses but they are often in poor condition and in need 
of extensive conservation treatment. The selection of tapestry support and 
display techniques is still largely based on experience and intuition. This 
study will enable conservators, curators and conservation scientists to base 
decisions in a more complete understanding of material properties when treating 
these complex objects, using computational modelling and strain monitoring 
techniques to gain data on tapestry properties and behaviour. The project 
offers exciting opportunities to work on site in a world-class museum 
environment at the Burrell Collection, and at one of Scotland’s most popular 
historic sites, Stirling Castle.  The project has already started and initial 
results look very exciting.

Research tasks: The student will focus on the strain monitoring research using 
digital image correlation to test different conservation stitching techniques 
and different display scenarios. (S)he will create physical models of 
tapestries which will be subjected to loading tests using tensile testing 
equipment before moving to test conserved samples of historic tapestry from the 
Centre for Textile Conservation Reference Collection. This element of the 
research will also focus on historic tapestries from the Burrell Collection and 
a newly woven tapestry at Stirling Castle.

Supervision:
Principal Investigator: Prof Frances Lennard, Centre for Textile Conservation
Project Co-Investigator: Dr Philip Harrison, School of Engineering

The student will be based at the Centre for Textile Conservation.

Entry Requirements: This is an opportunity for either a conservation graduate 
or an engineering graduate; the project will require an ability to cross 
discipline boundaries. Over the course of the project the student will be 
thoroughly immersed in both the theory and practice of tapestry conservation, 
while also developing skills in strain measurement, using digital image 
correlation, and mechanical testing. (S)he will ultimately gain a comprehensive 
understanding of the application of engineering techniques to conservation 
challenges; a valuable skill-set allowing the successful candidate to
continue with a career in the heritage sector, the industrial 
textiles/composites field or in academia.


For further information or an informal discussion about the project and the 
studentship please contact Frances Lennard 
(frances.lenn...@glasgow.ac.uk<mailto:frances.lenn...@glasgow.ac.uk>) or Philip 
Harrison (philip.harri...@glasgow.ac.uk<mailto:philip.harri...@glasgow.ac.uk>).

How to apply:

 Please send your application to 
jeanette.ber...@glasgow.ac.uk<mailto:jeanette.ber...@glasgow.ac.uk>. Your 
application should include:

· A statement of no more than 1,000 words describing in detail your 
interest in and suitability for undertaking this project

· A current CV

· Degree transcripts (this may be an interim transcript if you are 
still studying)

· An example of scholarly work up to 3000 words in length (e.g. 
coursework essay, or a dissertation chapter)

· 2 academic references (these may be sent directly from your referees 
if they would prefer)


Closing date: Monday 14 August 2017

**
Unsubscribe by sending a message to consdistlist-le...@cool.conservation-us.org
Searchable archives: http://cool.conservation-us.org/byform/mailing-lists/cdl/


[rsyslog] segfault in libfastjson.so.4.0.0 (with workaround)

2017-01-03 Thread Lennard Klein
Hi list,

I've ran into a segfault in libfastjson.

First some details:
RHEL7 using adiscon repositories:
libfastjson4.x86_64 0.99.4-1.el7
rsyslog.x86_64 8.23.0-1.el7

The following bit of config segfaults rsyslog, as soon as it starts processing 
the first message (its own startup message):
if( $!rfc5424-sd!origin!ip == '8.8.8.8' ) then {
action(type="omfile" file="/opt/secrets/log/8.8.8.8.log" 
template="RSYSLOG_DebugFormat")
& stop
}

Running rsyslog -dn, this is the snippet just before the segfault:
4184.634573199:main Q:Reg/w0  : IF
4184.634578377:main Q:Reg/w0  : var '!rfc5424-sd!origin!ip'
4184.634585979:main Q:Reg/w0  :   ==
4184.634591759:main Q:Reg/w0  : string '172.22.222.17'
4184.634601617:main Q:Reg/w0  : eval expr 0x7f615a4b2020, type 'CMP_EQ'
4184.634604257:main Q:Reg/w0  : eval expr 0x7f615a49ec90, type 'V'

Comparing this to some other debugging output I'm guessing the next step in 
processing is resolving the variable.
As I had a theory the segfault might be due to nothing being in the JSON tree 
yet, I Added the following line just before the if-statement:
set $!foo = "bar";

Which resulted in the message being processed as expected.

As I'm not at all familiar with the rsyslog code base, this is as far as I can 
get in my analysis at the moment. Does anyone have suggestions on how to 
proceed?

Regards,
Lennard Klein
___
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.


[AngularJS] Loading router / routings through api

2016-07-31 Thread Lennard Westerveld
Hello everyone,

First of all i want to explain why i want to accomplish this.

Explanation:
I'm making a backend where the user can decide how the urls needs be 
visible in the browser / indexers.
To make this work i created a api endpoint called /router.json and also 
/resolve.

My first plan was let the backend decide witch component needs to be 
rendered.
Example:
Angular => ask backend to resolve /home
Angular <= Sever give as response "component: Page, argument: {id:2}"
Angular render Component Page with argument id:2

I spoke with a lot of guys in IRC it seems i did not get this to work with 
the new Angular 2 Router (not deprecated) so i decided to take a step back 
and using they /router.json endpoint

The /router.json endpoint gives all the routers back for example:

[
 {path: '', redirectTo: 'home'},
 {path: 'home', component: 'Home'},
 {path: 'about', component: 'About'},
 {path: '**', redirectTo: 'home'}
]


What i want is that before angular resolves the url, the routings are set i 
didn't find out how i can accomplish this. But i take a step back and added 
in the app.component the following code:


export class App {

 constructor(public http:Http, public router:Router) {
 }

 ngOnInit() {
   this.http.get('/api/1.0/router.json').subscribe(res => {
   this.router.resetConfig(res.json());
 });
 }

}


This didn't work because when you use  component: it needs to resolve to a 
js file and not just the name of the component because it just cannot find 
one.
Error that you get when trying this:

Why this don't work is because i cannot define a JS file because i using 
webpack chunks (see project setup section).
What i can do and that works i creating a function that maps a component 
name 'home' to a pointer that points to component 'Home'.

import {Home} from './home';
import {About} from './app.component';
import {Page} from './page';

export function componentMapping(name:string) {
 switch (name) {
 case 'home':
   return Home;
 break;
 case 'about':
   return About;
 break;
 case 'page':
return Page;
 break;
 }
}



Questions:
1. Is there a option to use my /resolve endpoint by hooking or writhing my 
own resolving code?
2. How can use my router endpoint before Angular is resolving / routing the 
url
3. How can i resolve (lazy loading) the components names through webpack 
chunks? (i'm now made a componentMapping function that resolves the names 
and loading the components see function above)


Project setup:
https://github.com/angular/universal-starter


Kind regards,
Lennard

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Bug#830196: keepalived: restart fails as keepalived stops slowly

2016-07-07 Thread Lennard Klein
Package: keepalived
Version: 1:1.2.20-1
Severity: normal

Dear Maintainer,

Since version 1.2.20 (upstream commit
21a7e9742c0dc78505febae6e0caa7e1abc4dbc5),
keepalived sleeps for 1 second during shutdown. As a result, the restart action
in the init script fails to start keepalived most of the time.
I suggest simply increasing the sleep time in the init script to two seconds.
This probably only affects non-systemd-based systems.

regards,
Lennard Klein


This email is from Equinix (EMEA) B.V. or one of its associated companies in 
the territory from where this email has been sent. This email, and any files 
transmitted with it, contains information which is confidential, is solely for 
the use of the intended recipient and may be legally privileged. If you have 
received this email in error, please notify the sender and delete this email 
immediately. Equinix (EMEA) B.V.. Registered Office: Amstelplein 1, 1096 HA 
Amsterdam, The Netherlands. Registered in The Netherlands No. 57577889.


Bug#823032: ITP: lhendraw -- cdx/cdxml compatible chemical drawing program

2016-04-30 Thread Lennard Wasserthal
Package: wnpp
Severity: wishlist
Owner: Lennard Wasserthal <wassert...@nefkom.net>

* Package name: lhendraw
  Version : 0.6.1
  Upstream Author : Lennard Wasserthal<wassert...@nefkom.net>
* URL : http://lennardwasserthal.de/lhendraw.html
* License : (AGPLv3)
  Programming Lang: (C, C++)
  Description : cdx/cdxml compatible chemical drawing program

 - why is this package useful/relevant?
It is a clone of CAMBRDIGESOFT's chemdraw, the standard tool used by chemists 
worldwide, also used for publishing
 - how do you plan to maintain it?
Alone. I am the author of that program. Any help welcomed



Bug#823032: ITP: lhendraw -- cdx/cdxml compatible chemical drawing program

2016-04-30 Thread Lennard Wasserthal
Package: wnpp
Severity: wishlist
Owner: Lennard Wasserthal <wassert...@nefkom.net>

* Package name: lhendraw
  Version : 0.6.1
  Upstream Author : Lennard Wasserthal<wassert...@nefkom.net>
* URL : http://lennardwasserthal.de/lhendraw.html
* License : (AGPLv3)
  Programming Lang: (C, C++)
  Description : cdx/cdxml compatible chemical drawing program

 - why is this package useful/relevant?
It is a clone of CAMBRDIGESOFT's chemdraw, the standard tool used by chemists 
worldwide, also used for publishing
 - how do you plan to maintain it?
Alone. I am the author of that program. Any help welcomed



Bug#823032: ITP: lhendraw -- cdx/cdxml compatible chemical drawing program

2016-04-30 Thread Lennard Wasserthal
Package: wnpp
Severity: wishlist
Owner: Lennard Wasserthal <wassert...@nefkom.net>

* Package name: lhendraw
  Version : 0.6.1
  Upstream Author : Lennard Wasserthal<wassert...@nefkom.net>
* URL : http://lennardwasserthal.de/lhendraw.html
* License : (AGPLv3)
  Programming Lang: (C, C++)
  Description : cdx/cdxml compatible chemical drawing program

 - why is this package useful/relevant?
It is a clone of CAMBRDIGESOFT's chemdraw, the standard tool used by chemists 
worldwide, also used for publishing
 - how do you plan to maintain it?
Alone. I am the author of that program. Any help welcomed



Re: Re: Chemical drawing program

2016-01-26 Thread Knut Lennard Erasmus Wasserthal
I guess I fixed _all_ issues, so one could add lhendraw to the official 
repositories?


Perhaps, Michael is checking this already, because I sent him the answer 
first (after all, he is the primary maintainer of that project),

but otherwise, would someone check them?

Original Message of Michael Banck (before my fixes) follows:
Hi Lennard,

On Sun, Nov 22, 2015 at 03:07:07PM +0100, Michael Banck wrote:

On Wed, Oct 21, 2015 at 09:57:10AM +0200, Wasserthal wrote:
> >>It can be found at www.github.com/Wasserthal/lhendraw
> >There's been quite some activity recently which is great!
> >
> >However, there is not much documentation there. Are the screenshots
> >from
> >http://www.nefkom.net/wasserthal/lhendraw.html  still current?  How
> >easy
> >is it to use for end-users?
> >
> >I won't have much time over the weekend but I will try to review
> >your
> >packaging next week.
>
> Sorry to bump you, but what are the next steps?

I've now managed to take a look at the lhendraw packaging, sorry that
it
took me so long, but I was busy and/or travelling and other stuff
earlier.


I had a look at the updated packaging, commit cad7d5ac - is that the
right one?  The git repository at
https://anonscm.debian.org/git/debichem/packages/lhendraw.git  does not
contain any tags and neither does the github one (apart from v0.4.5
which is over a year old) - SourceForge does not have tarballs either.
How are releases handled?


The following are critical issues that need to be fixed before
lhendraw
can be uploaded to Debian:

* debian/copyright: That file pertains to source files, not binary
files, so "lhendraw" is not correct.  I assume all the files are under
the same license and your copyright, so you can just replace "Files:
lhendraw" with "Files: *" and be done.


If indeed only the *.ttf and *.lennardfont files are under a different
copyright, you can change the main line from "Files: *.hxx[...]" to
"Files: *", the following section is then considered an exception to
this.

About the license, I am afraid you will also have to add the full
AGPL-3.0 terms as those are not shipped in /usr/share/common-licenses
(I'd rather would like the AGPL to be shipped as well, but it is not my
call to make).  This is a required change prior to upload, sorry -
otherwise, your package would get rejected during the initial review by
the archive admins.

Also, as a cosmetic thing, you can remove those comments "# Please also
look[...]".


* debian/control - Description: The < and > are invalid syntax I
believe, or at least unusual and might confuse/trick up external
programs/services parsing them - just remove them.


Cosmetic: Usually short descriptions (the rest of the line after
"Description:") starts with a capital letter.

About the Maintainer: field: You need angle brackets for the email
address there I believe.

In general, if you would like to maintain it as part of the Debichem
team, the following would be best:

Maintainer: Debichem Team <debichem-de...@lists.alioth.debian.org>
Uploaders: Lennard K. Wasserthal <wassert...@nefkom.net>
   Michael Banck <mba...@debian.org>

(The Dr. is not customary in Maintainer fields, we have a few in the
team).


The following are non-critical issues you might want to consider
fixing:

* The manpage debian/manpage.1 is not being installed, and is just the
stub so could be removed.


This one is still present.

The following files are auto-generated during package build and must
not be in git either:

debian/files
debian/lhendraw.debhelper.log
debian/lhendraw.substvars

The first one is an error, the other two are merely a nuisance I think.

One other thing I noticed: The Vcs-Git: and Vcs-Browser: tags in
debian/control are for the Debian-specific repositories. So they should
read
Vcs-Git: git://anonscm.debian.org/debichem/packages/lhendraw.git
Vcs-Browser:
http://anonscm.debian.org/cgit/debichem/packages/lhendraw.git

instead.


Cheers,

Michael




Re: [OSM-talk-nl] Sluiskiltunnel geopend.

2015-05-25 Thread Lennard

On 25-5-2015 12:19, Martien Scheepens wrote:


De oude weg is nu een primary met wegennummer N61 én N62. Wat is de
huidige status van de weg? Moet N62 niet opgeruimd worden? Heeft de weg
überhaupt nog een nummer? (Ik ben nog nooit in Zeeland geweest, dus ik
ken de situatie niet)


De dubbelnummering van de oude weg (Hoofdweg) over de draaibrug is 
inderdaad opgeheven. Deze is nog wel de N61.



--
Lennard


___
Talk-nl mailing list
Talk-nl@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-nl


Re: [OSM-talk-nl] Sluiskiltunnel geopend.

2015-05-25 Thread Lennard

On 25-5-2015 9:31, St Niklaas wrote:


Mooi werk, wie beheert het geheel, de weg en de toeritten ?


De NV Westerscheldetunnel. De (mintgroene) kleurstelling van de 
wegaankleding, zoals lichtmasten en andere bovengrondse elementen, is 
ook dezelfde als van de Westerscheldetunnel.



Sinds vannacht rijdt het verkeer door de Sluiskiltunnel. Het wachten 
voor de brug bij Sluiskil is daarmee voorbij.Het betekent ook dat u 
informatie over de Sluiskiltunnel kunt inwinnen bij de NV 
Westerscheldetunnel.


Gisteren werd de Sluiskiltunnel opgeleverd door aannemerscombinatie 
BAM-TBI aan de BV KKS. De BV droeg de tunnel over aan de provincie 
Zeeland die op haar beurt het beheer en onderhoud overdroeg aan de 
Westerscheldetunnel.


http://www.sluiskiltunnel.nl/de-sluiskiltunnel/nieuws/sluiskiltunnel-open-voor-het-verkeer?id=152

--
Lennard


___
Talk-nl mailing list
Talk-nl@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-nl


Re: [OSM-talk-nl] Sluiskiltunnel geopend.

2015-05-20 Thread Lennard voor den Dag

Op 20 mei 2015 21:13 schreef Tijmen Stam mailingli...@iivq.net:

 De op- en afritten van de Sluiskiltunnel staan nog als under 
 construction, terwijl deze gisteren geopend is. Kan iemand met lokale 
 kennis eens kijken of deze ongeveer goed liggen en dan de 
 construction-tags verwijderen?

Aanstaande zaterdag middernacht gaat de tunnel pas daadwerkelijk open. Je kunt 
er nu nog niet doorheen.
 ___
 Talk-nl mailing list
 Talk-nl@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk-nl
___
Talk-nl mailing list
Talk-nl@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-nl


[Libreoffice-commits] core.git: Changes to 'refs/changes/44/1344/2'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/44/1344/7'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/44/1344/4'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/44/1344/6'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/44/1344/3'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/24/1524/1'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/24/1524/3'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/44/1344/8'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/82/582/2'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/24/1524/2'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/82/582/1'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/30/1030/3'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/50/1250/3'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/07/8907/2'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/72/3872/2'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/69/869/2'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/69/869/1'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/30/1030/2'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/65/1165/2'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/71/3871/1'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/30/1030/1'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/50/1250/2'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/50/1250/1'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/92/1492/3'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/66/8866/3'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/92/1492/2'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/92/1492/4'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/86/1886/1'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/86/2786/2'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/86/2786/1'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/37/1037/3'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/86/1886/3'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/92/1492/1'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/35/8935/1'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/99/1599/2'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/99/1599/1'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/86/1886/2'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/37/1037/4'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/86/2786/3'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/66/8866/5'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/57/5857/1'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/37/1037/1'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/37/1037/2'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/57/5857/2'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/86/1886/4'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/86/1886/5'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/35/8935/2'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/44/1344/11'

2014-09-29 Thread Lennard Wasserthal

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/27/927/1'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/79/1279/2'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/79/1279/1'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/changes/79/679/1'

2014-09-29 Thread Lennard

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 2 commits - comphelper/source embeddedobj/source sw/source

2014-05-15 Thread Lennard Wasserthal
 comphelper/source/misc/mimeconfighelper.cxx|7 ++-
 embeddedobj/source/commonembedding/persistence.cxx |   18 ++
 sw/source/core/uibase/dochdl/swdtflvr.cxx  |8 ++--
 3 files changed, 30 insertions(+), 3 deletions(-)

New commits:
commit b7cb2ae5026cfd3bb30f148ed40f244b5c128876
Author: Lennard Wasserthal wassert...@nefkom.net
Date:   Sat Sep 7 14:00:01 2013 +0200

fdo#55582 Writer: Dont overwrite from even when selected, from writer.

This patch fixes the writer part, calc part is fixed long ago.
Problem: it overwrites when you paste from impress or calc.
This allows to keep the graphic's frame,
so the text doesn't have to be rearranged.
(i.e. it is desired, so I didn't change that)
I was trying to give the user a choice,
but I didn't succeed in keeping the frame when pasting from writer to 
writer.
coming soon!

Change-Id: I07271df9bb501779d06f332bb13edd05f0aefacb
Signed-off-by: Lennard Wasserthal wassert...@nefkom.net

diff --git a/sw/source/core/uibase/dochdl/swdtflvr.cxx 
b/sw/source/core/uibase/dochdl/swdtflvr.cxx
index 447dbfd..62938d5 100644
--- a/sw/source/core/uibase/dochdl/swdtflvr.cxx
+++ b/sw/source/core/uibase/dochdl/swdtflvr.cxx
@@ -3203,8 +3203,8 @@ bool SwTransferable::PrivatePaste( SwWrtShell rShell )
 
 bool bKillPaMs = false;
 
-//Delete selected content, not at table-selection and table in Clipboard
-if( rShell.HasSelection()  !( nSelection  
nsSelectionType::SEL_TBL_CELLS))
+//Delete selected content, not at table-selection and table in Clipboard, 
and dont delete hovering graphics.
+if( rShell.HasSelection()  !( nSelection  
nsSelectionType::SEL_TBL_CELLS)  !( nSelection  nsSelectionType::SEL_DRW))
 {
 bKillPaMs = true;
 rShell.SetRetainSelection( true );
@@ -3221,6 +3221,10 @@ bool SwTransferable::PrivatePaste( SwWrtShell rShell )
 }
 rShell.SetRetainSelection( false );
 }
+if ( nSelection  nsSelectionType::SEL_DRW) //unselect hovering graphics
+{
+   rShell.ResetSelect(NULL,false);
+}
 
 bool bInWrd = false, bEndWrd = false, bSttWrd = false,
  bSmart = 0 != (TRNSFR_DOCUMENT_WORD  eBufferType);
commit 0b3d0fb2d9256dc6bae6af69ed494487004def75
Author: Michael Stahl mst...@redhat.com
Date:   Thu May 15 23:28:55 2014 +0200

fdo#78159: fix import of OOoXML embedded objects

MimeConfigurationHelper::GetDefaultFilterFromServiceName() checks that
there is both an import and an export filter, and for OOoXML the export
has been removed; tweak the check to require only import for OOoXML.

Currently it still works invoke the OOoXML filter, but it is clearly
better to store the embedded documents only in ODF, so tweak
OCommonEmbeddedObject::store* methods to do that.

(regression from aeeaccf59abbc485d7786486f1accc1cb4d4dbf7)

Change-Id: Ib71f23fd110cbd4b570517f2dde2c53e3aa6301d

diff --git a/comphelper/source/misc/mimeconfighelper.cxx 
b/comphelper/source/misc/mimeconfighelper.cxx
index 6f25f00..249f474 100644
--- a/comphelper/source/misc/mimeconfighelper.cxx
+++ b/comphelper/source/misc/mimeconfighelper.cxx
@@ -743,7 +743,12 @@ OUString 
MimeConfigurationHelper::GetDefaultFilterFromServiceName( const OUStrin
 sal_Int32 nFlags = aPropsHM.getUnpackedValueOrDefault( 
Flags, (sal_Int32)0 );
 
 // that should be import, export, own filter and not a 
template filter ( TemplatePath flag )
-sal_Int32 nRequired = ( SFX_FILTER_OWN | 
SFX_FILTER_EXPORT | SFX_FILTER_IMPORT );
+sal_Int32 const nRequired = (SFX_FILTER_OWN
+// fdo#78159 for OOoXML, there is code to convert
+// to ODF in OCommonEmbeddedObject::store*
+// so accept it even though there's no export
+| (SOFFICE_FILEFORMAT_60 == nVersion ? 0 : 
SFX_FILTER_EXPORT)
+| SFX_FILTER_IMPORT );
 if ( ( ( nFlags  nRequired ) == nRequired )  !( 
nFlags  SFX_FILTER_TEMPLATEPATH ) )
 {
 // if there are more than one filter the preffered 
one should be used
diff --git a/embeddedobj/source/commonembedding/persistence.cxx 
b/embeddedobj/source/commonembedding/persistence.cxx
index 2db77f65..4d2ddc8 100644
--- a/embeddedobj/source/commonembedding/persistence.cxx
+++ b/embeddedobj/source/commonembedding/persistence.cxx
@@ -1165,6 +1165,12 @@ void SAL_CALL OCommonEmbeddedObject::storeToEntry( const 
uno::Reference embed::
 {
 SAL_WARN( embeddedobj.common, Can not retrieve target storage media 
type! );
 }
+if (nTargetStorageFormat == SOFFICE_FILEFORMAT_60)
+{
+SAL_INFO(embeddedobj.common, fdo#78159: Storing OOoXML as ODF);
+nTargetStorageFormat = SOFFICE_FILEFORMAT_CURRENT

[Libreoffice-commits] core.git: Branch 'libreoffice-4-1-6' - sw/source

2014-04-14 Thread Lennard Wasserthal
 sw/source/ui/docvw/edtwin.cxx |   19 +++
 1 file changed, 11 insertions(+), 8 deletions(-)

New commits:
commit a0fb0d938434477898ee8b54bc7da523d5120ea0
Author: Lennard Wasserthal wassert...@nefkom.net
Date:   Sat Apr 5 11:55:24 2014 +0200

fdo#69157 Apply object-in front selection on mouseUp

Before, all selection was recklessly replaced when you clicked something
else than a scaling handle (or the like).
It caused bug 69157.

But now, you can still drag the frame by gripping the interior one.
Btw, that the timer did not correctly start was because of the return
statement in the prior state.

Change-Id: I5e02cfb2d5fe9cdb9fd7f50d0c961dcc418fadd6
Signed-off-by: Lennard Wasserthal wassert...@nefkom.net
Signed-off-by: Michael Stahl mst...@redhat.com
(cherry picked from commit 351ab7b879a1e5bf879600bf47909181029a4d11)
Reviewed-on: https://gerrit.libreoffice.org/8907
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com
(cherry picked from commit c7cec7bb9ea7ef0aaa18a5c39eca13c446f974c5)
Reviewed-on: https://gerrit.libreoffice.org/8935
Reviewed-by: David Tardon dtar...@redhat.com

diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 3dd87c0..cd838c0 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2618,8 +2618,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent _rMEvt)
 {
 SwWrtShell rSh = m_rView.GetWrtShell();
 
-SdrObject* pObj;
-SdrPageView* pPV;
 // We have to check if a context menu is shown and we have an UI
 // active inplace client. In that case we have to ignore the mouse
 // button down event. Otherwise we would crash (context menu has been
@@ -2936,12 +2934,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent _rMEvt)
 // only if no position to size was hit.
 if (!bHitHandle)
 {
-if (pSdrView-PickObj(aDocPos, 
pSdrView-getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER | 
SDRSEARCH_BEFOREMARK))
-{
-pSdrView-UnmarkAllObj();
-
pSdrView-MarkObj(pObj,pPV,false,false);
-return;
-}
 StartDDTimer();
 SwEditWin::m_nDDStartPosY = aDocPos.Y();
 SwEditWin::m_nDDStartPosX = aDocPos.X();
@@ -4029,6 +4021,8 @@ void SwEditWin::MouseMove(const MouseEvent _rMEvt)
  */
 void SwEditWin::MouseButtonUp(const MouseEvent rMEvt)
 {
+SdrObject* pObj;
+SdrPageView* pPV;
 bool bCallBase = true;
 
 sal_Bool bCallShadowCrsr = m_bWasShdwCrsr;
@@ -4080,6 +4074,15 @@ void SwEditWin::MouseButtonUp(const MouseEvent rMEvt)
 bFrmDrag = false;
 }
 bNoInterrupt = false;
+const Point aDocPos( PixelToLogic( rMEvt.GetPosPixel() ) );
+if ((PixelToLogic(m_aStartPos).Y() == (aDocPos.Y()))  
(PixelToLogic(m_aStartPos).X() == (aDocPos.X(//To make sure it was not moved
+{
+if (pSdrView-PickObj(aDocPos, pSdrView-getHitTolLog(), pObj, 
pPV, SDRSEARCH_ALSOONMASTER ))
+{
+pSdrView-UnmarkAllObj();
+pSdrView-MarkObj(pObj,pPV,false,false);
+}
+}
 ReleaseMouse();
 return;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.1' - 5 commits - officecfg/registry sc/source sw/source writerfilter/source

2014-04-13 Thread Lennard Wasserthal
 officecfg/registry/data/org/openoffice/Office/Paths.xcu |1 
 sc/source/core/data/column3.cxx |  100 --
 sc/source/ui/docshell/docsh8.cxx|  112 +++-
 sc/source/ui/inc/namedlg.hxx|5 
 sc/source/ui/inc/namemgrtable.hxx   |   12 +
 sc/source/ui/namedlg/namedlg.cxx|   17 +-
 sc/source/ui/namedlg/namemgrtable.cxx   |   14 +-
 sw/source/ui/docvw/edtwin.cxx   |   19 +-
 writerfilter/source/dmapper/DomainMapper_Impl.cxx   |7 -
 9 files changed, 214 insertions(+), 73 deletions(-)

New commits:
commit 8992620a8e56250f4770e7379539956c89c6a5de
Author: Lennard Wasserthal wassert...@nefkom.net
Date:   Sat Apr 5 11:55:24 2014 +0200

fdo#69157 Apply object-in front selection on mouseUp

Before, all selection was recklessly replaced when you clicked something
else than a scaling handle (or the like).
It caused bug 69157.

But now, you can still drag the frame by gripping the interior one.
Btw, that the timer did not correctly start was because of the return
statement in the prior state.

Change-Id: I5e02cfb2d5fe9cdb9fd7f50d0c961dcc418fadd6
Signed-off-by: Lennard Wasserthal wassert...@nefkom.net
Signed-off-by: Michael Stahl mst...@redhat.com
(cherry picked from commit 351ab7b879a1e5bf879600bf47909181029a4d11)
Reviewed-on: https://gerrit.libreoffice.org/8907
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 3dd87c0..cd838c0 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2618,8 +2618,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent _rMEvt)
 {
 SwWrtShell rSh = m_rView.GetWrtShell();
 
-SdrObject* pObj;
-SdrPageView* pPV;
 // We have to check if a context menu is shown and we have an UI
 // active inplace client. In that case we have to ignore the mouse
 // button down event. Otherwise we would crash (context menu has been
@@ -2936,12 +2934,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent _rMEvt)
 // only if no position to size was hit.
 if (!bHitHandle)
 {
-if (pSdrView-PickObj(aDocPos, 
pSdrView-getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER | 
SDRSEARCH_BEFOREMARK))
-{
-pSdrView-UnmarkAllObj();
-
pSdrView-MarkObj(pObj,pPV,false,false);
-return;
-}
 StartDDTimer();
 SwEditWin::m_nDDStartPosY = aDocPos.Y();
 SwEditWin::m_nDDStartPosX = aDocPos.X();
@@ -4029,6 +4021,8 @@ void SwEditWin::MouseMove(const MouseEvent _rMEvt)
  */
 void SwEditWin::MouseButtonUp(const MouseEvent rMEvt)
 {
+SdrObject* pObj;
+SdrPageView* pPV;
 bool bCallBase = true;
 
 sal_Bool bCallShadowCrsr = m_bWasShdwCrsr;
@@ -4080,6 +4074,15 @@ void SwEditWin::MouseButtonUp(const MouseEvent rMEvt)
 bFrmDrag = false;
 }
 bNoInterrupt = false;
+const Point aDocPos( PixelToLogic( rMEvt.GetPosPixel() ) );
+if ((PixelToLogic(m_aStartPos).Y() == (aDocPos.Y()))  
(PixelToLogic(m_aStartPos).X() == (aDocPos.X(//To make sure it was not moved
+{
+if (pSdrView-PickObj(aDocPos, pSdrView-getHitTolLog(), pObj, 
pPV, SDRSEARCH_ALSOONMASTER ))
+{
+pSdrView-UnmarkAllObj();
+pSdrView-MarkObj(pObj,pPV,false,false);
+}
+}
 ReleaseMouse();
 return;
 }
commit 52e8cf6b55ace96d962d3f3ef1dd4cce28858c86
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Apr 11 11:10:14 2014 +0100

check that stacks are not empty before top()

Change-Id: Iad5b3381b8201c5ac32a5bdf99bd3d5872ea3afc
(cherry picked from commit a1ea3838adee634ccf725bc5f2be7805c6294a16)
Reviewed-on: https://gerrit.libreoffice.org/8933
Tested-by: Michael Stahl mst...@redhat.com
Reviewed-by: Michael Stahl mst...@redhat.com

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 6f908a8..a696e12 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -1245,6 +1245,9 @@ void DomainMapper_Impl::appendTextContent(
 const uno::Sequence beans::PropertyValue  xPropertyValues
 )
 {
+SAL_WARN_IF(m_aTextAppendStack.empty(), writerfilter.dmapper, no text 
append stack);
+if (m_aTextAppendStack.empty

[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sw/source

2014-04-11 Thread Lennard Wasserthal
 sw/source/ui/docvw/edtwin.cxx |   19 +++
 1 file changed, 11 insertions(+), 8 deletions(-)

New commits:
commit c7cec7bb9ea7ef0aaa18a5c39eca13c446f974c5
Author: Lennard Wasserthal wassert...@nefkom.net
Date:   Sat Apr 5 11:55:24 2014 +0200

fdo#69157 Apply object-in front selection on mouseUp

Before, all selection was recklessly replaced when you clicked something
else than a scaling handle (or the like).
It caused bug 69157.

But now, you can still drag the frame by gripping the interior one.
Btw, that the timer did not correctly start was because of the return
statement in the prior state.

Change-Id: I5e02cfb2d5fe9cdb9fd7f50d0c961dcc418fadd6
Signed-off-by: Lennard Wasserthal wassert...@nefkom.net
Signed-off-by: Michael Stahl mst...@redhat.com
(cherry picked from commit 351ab7b879a1e5bf879600bf47909181029a4d11)
Reviewed-on: https://gerrit.libreoffice.org/8907
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 3dd87c0..cd838c0 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2618,8 +2618,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent _rMEvt)
 {
 SwWrtShell rSh = m_rView.GetWrtShell();
 
-SdrObject* pObj;
-SdrPageView* pPV;
 // We have to check if a context menu is shown and we have an UI
 // active inplace client. In that case we have to ignore the mouse
 // button down event. Otherwise we would crash (context menu has been
@@ -2936,12 +2934,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent _rMEvt)
 // only if no position to size was hit.
 if (!bHitHandle)
 {
-if (pSdrView-PickObj(aDocPos, 
pSdrView-getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER | 
SDRSEARCH_BEFOREMARK))
-{
-pSdrView-UnmarkAllObj();
-
pSdrView-MarkObj(pObj,pPV,false,false);
-return;
-}
 StartDDTimer();
 SwEditWin::m_nDDStartPosY = aDocPos.Y();
 SwEditWin::m_nDDStartPosX = aDocPos.X();
@@ -4029,6 +4021,8 @@ void SwEditWin::MouseMove(const MouseEvent _rMEvt)
  */
 void SwEditWin::MouseButtonUp(const MouseEvent rMEvt)
 {
+SdrObject* pObj;
+SdrPageView* pPV;
 bool bCallBase = true;
 
 sal_Bool bCallShadowCrsr = m_bWasShdwCrsr;
@@ -4080,6 +4074,15 @@ void SwEditWin::MouseButtonUp(const MouseEvent rMEvt)
 bFrmDrag = false;
 }
 bNoInterrupt = false;
+const Point aDocPos( PixelToLogic( rMEvt.GetPosPixel() ) );
+if ((PixelToLogic(m_aStartPos).Y() == (aDocPos.Y()))  
(PixelToLogic(m_aStartPos).X() == (aDocPos.X(//To make sure it was not moved
+{
+if (pSdrView-PickObj(aDocPos, pSdrView-getHitTolLog(), pObj, 
pPV, SDRSEARCH_ALSOONMASTER ))
+{
+pSdrView-UnmarkAllObj();
+pSdrView-MarkObj(pObj,pPV,false,false);
+}
+}
 ReleaseMouse();
 return;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sw/source

2014-04-09 Thread Lennard Wasserthal
 sw/source/core/uibase/docvw/edtwin.cxx |   19 +++
 1 file changed, 11 insertions(+), 8 deletions(-)

New commits:
commit 5b21eea4b737abe9684da937423540963c7265d6
Author: Lennard Wasserthal wassert...@nefkom.net
Date:   Sat Apr 5 11:55:24 2014 +0200

fdo#69157 Apply object-in front selection on mouseUp

Before, all selection was recklessly replaced when you clicked something
else than a scaling handle (or the like).
It caused bug 69157.

But now, you can still drag the frame by gripping the interior one.
Btw, that the timer did not correctly start was because of the return
statement in the prior state.

Signed-off-by: Lennard Wasserthal wassert...@nefkom.net

Conflicts:
sw/source/core/uibase/docvw/edtwin.cxx

Change-Id: I5e02cfb2d5fe9cdb9fd7f50d0c961dcc418fadd6

diff --git a/sw/source/core/uibase/docvw/edtwin.cxx 
b/sw/source/core/uibase/docvw/edtwin.cxx
index b133211..2534400 100644
--- a/sw/source/core/uibase/docvw/edtwin.cxx
+++ b/sw/source/core/uibase/docvw/edtwin.cxx
@@ -3079,14 +3079,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent _rMEvt)
 // only if no position to size was hit.
 if (!bHitHandle)
 {
-SdrObject* pObj;
-SdrPageView* pPV;
-if (pSdrView-PickObj(aDocPos, 
pSdrView-getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER | 
SDRSEARCH_BEFOREMARK))
-{
-pSdrView-UnmarkAllObj();
-
pSdrView-MarkObj(pObj,pPV,false,false);
-return;
-}
 StartDDTimer();
 SwEditWin::m_nDDStartPosY = aDocPos.Y();
 SwEditWin::m_nDDStartPosX = aDocPos.X();
@@ -4243,6 +4235,17 @@ void SwEditWin::MouseButtonUp(const MouseEvent rMEvt)
 bFrmDrag = false;
 }
 bNoInterrupt = false;
+const Point aDocPos( PixelToLogic( rMEvt.GetPosPixel() ) );
+if ((PixelToLogic(m_aStartPos).Y() == (aDocPos.Y()))  
(PixelToLogic(m_aStartPos).X() == (aDocPos.X(//To make sure it was not moved
+{
+SdrObject* pObj;
+SdrPageView* pPV;
+if (pSdrView-PickObj(aDocPos, pSdrView-getHitTolLog(), pObj, 
pPV, SDRSEARCH_ALSOONMASTER ))
+{
+pSdrView-UnmarkAllObj();
+pSdrView-MarkObj(pObj,pPV,false,false);
+}
+}
 ReleaseMouse();
 return;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/source

2014-04-09 Thread Lennard Wasserthal
 sw/source/ui/docvw/edtwin.cxx |   19 +++
 1 file changed, 11 insertions(+), 8 deletions(-)

New commits:
commit 351ab7b879a1e5bf879600bf47909181029a4d11
Author: Lennard Wasserthal wassert...@nefkom.net
Date:   Sat Apr 5 11:55:24 2014 +0200

fdo#69157 Apply object-in front selection on mouseUp

Before, all selection was recklessly replaced when you clicked something
else than a scaling handle (or the like).
It caused bug 69157.

But now, you can still drag the frame by gripping the interior one.
Btw, that the timer did not correctly start was because of the return
statement in the prior state.

Change-Id: I5e02cfb2d5fe9cdb9fd7f50d0c961dcc418fadd6
Signed-off-by: Lennard Wasserthal wassert...@nefkom.net
Signed-off-by: Michael Stahl mst...@redhat.com

diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 7e978d0..7927987 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2776,8 +2776,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent _rMEvt)
 {
 SwWrtShell rSh = m_rView.GetWrtShell();
 
-SdrObject* pObj;
-SdrPageView* pPV;
 // We have to check if a context menu is shown and we have an UI
 // active inplace client. In that case we have to ignore the mouse
 // button down event. Otherwise we would crash (context menu has been
@@ -3091,12 +3089,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent _rMEvt)
 // only if no position to size was hit.
 if (!bHitHandle)
 {
-if (pSdrView-PickObj(aDocPos, 
pSdrView-getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER | 
SDRSEARCH_BEFOREMARK))
-{
-pSdrView-UnmarkAllObj();
-
pSdrView-MarkObj(pObj,pPV,false,false);
-return;
-}
 StartDDTimer();
 SwEditWin::m_nDDStartPosY = aDocPos.Y();
 SwEditWin::m_nDDStartPosX = aDocPos.X();
@@ -4194,6 +4186,8 @@ void SwEditWin::MouseMove(const MouseEvent _rMEvt)
  */
 void SwEditWin::MouseButtonUp(const MouseEvent rMEvt)
 {
+SdrObject* pObj;
+SdrPageView* pPV;
 bool bCallBase = true;
 
 sal_Bool bCallShadowCrsr = m_bWasShdwCrsr;
@@ -4245,6 +4239,15 @@ void SwEditWin::MouseButtonUp(const MouseEvent rMEvt)
 bFrmDrag = false;
 }
 bNoInterrupt = false;
+const Point aDocPos( PixelToLogic( rMEvt.GetPosPixel() ) );
+if ((PixelToLogic(m_aStartPos).Y() == (aDocPos.Y()))  
(PixelToLogic(m_aStartPos).X() == (aDocPos.X(//To make sure it was not moved
+{
+if (pSdrView-PickObj(aDocPos, pSdrView-getHitTolLog(), pObj, 
pPV, SDRSEARCH_ALSOONMASTER ))
+{
+pSdrView-UnmarkAllObj();
+pSdrView-MarkObj(pObj,pPV,false,false);
+}
+}
 ReleaseMouse();
 return;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[OSM-talk-nl] Grensgeschil Eems-Dollard

2014-03-28 Thread Lennard

Beste allen,

In het Eems-Dollardgebied is al eeuwenlang een grensgeschil tussen 
Nederland in Duitsland over het verloop van de rijksgrens.


De grens die al jarenlang in OSM stond is de Nederlandse interpretatie 
van deze grens. De Duitsers hebben nu hun idee van de grens ook in OSM 
gezet.


Nu wordt er op het OSM forum een consultatie gedaan van de Duitse 
community (op het forum) aan ons, hoe hiermee om te gaan. Met deze mail 
wil ik jullie ook op de hoogte brengen van deze vraag.



NL topic: http://forum.openstreetmap.org/viewtopic.php?id=24840

DE topic: http://forum.openstreetmap.org/viewtopic.php?id=24796

--
Lennard

___
Talk-nl mailing list
Talk-nl@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-nl


Re: [OSM-talk-nl] planet.openstreetmap.nl

2014-02-08 Thread Lennard

On 4-2-2014 19:55, Colin Smale wrote:

De Benelux-downloads vanaf http://planet.openstreetmap.nl/ zijn sinds 13
januari niet meer bijgewerkt terwijl er voorheen dagelijks een nieuwe
versie verscheen...


Het is nu weer helemaal bijgewerkt. De oorzaak was het stopzetten van de 
updates tijdens onderhoud en het vergeten daarna weer aan te zetten.



--
Lennard


___
Talk-nl mailing list
Talk-nl@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-nl


Re: [OSM-talk-nl] rwn_ref in de database

2014-02-02 Thread Lennard

On 31-1-2014 17:03, Rob Goethals / SNP wrote:


PS. Ik vul de postgis-database mbv osm2psql en krijg dan tabellen zoals
planet_osm_line, met daarin ook een kolom rwn_ref. Hierin staat het
knooppunt echter niet.


De knooppunten, de naam zegt het al, zitten in planet_osm_point.

Je moet dan wel de default.style aanpassen, zodat osm2pgsql ze ook 
daadwerkelijk importeert. Nu je de kolom al ziet in je eigen db, zal je 
dat waarschijnlijk al gedaan hebben.



--
Lennard

___
Talk-nl mailing list
Talk-nl@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-nl


Re: [OSM-talk-be] Gebruik layer=-1 voor landuse

2013-10-16 Thread Lennard

On 16-10-2013 8:52, Georges De Gruyter wrote:

Het antwoord is gekomen, heb nog op de ongerijmdheid gewezen van zijn
vergelijking met tunnel en brug en gevraagd om de discussie verder via
de mailing list te voeren :

In Nederland is elke landuse=residential met layer=-1 getagt. Dat lijkt
me ook logisch want als je bijvoorbeeld een landuse=cemetary of garages
of zo hebt, dan wil je niet dat die onder de residential gerendered
wordt. Die anderen zijn belangrijker dan de residential. En de
residential onderbreken of een gat maken voor de andere landuses is
compleet onnodig en zorgt voor veel overbodige data. Ik zie dat niet
anders dan een layer toevoegen aan een tunnel of een brug. Daar wil je
ook taggen voor de renderer zodat die goed rendert. Een grote landuse is
veel overzichtelijker en handiger om mee te werken, in alle opzichten.


In Nederland zijn de gebieden met landuse=residential al in een heel 
vroeg stadium geïmporteerd, in de tijd van de AND-import. Toen was het 
blijkbaar nodig, of de toenmalige renderers (bijv. osmarender) 
ondersteunden het niet, om met de hand de landuse te ordenen.


Osmarender sorteerde bijvoorbeeld alles per layer en renderde dan de 
objecten in volgorde waarin ze in de .osm file stonden, dus met 
oplopende ID's.


De huidige methodiek van renderers, in ieder geval die ik ken en 
gebaseerd zijn op mapnik en/of de standaard kaart op OSM.org, is om te 
sorteren van grootste oppervlakte naar kleinste (binnen een layer 
klasse). Als je het in die volgorde rendert, zal het grootste gebied 
(een bebouwde kom met landuse=residential) altijd onder kleinere 
gebieden (een grasveld, een kerkhof) komen.


Het argument van layer=-1 voor landuse=residential heeft dus zijn 
oorsprong in het verre verleden. Met de huidige generatie renderers (en 
manieren om met data om te gaan) is het m.i. niet relevant meer. In NL 
had de uit de AND-tijd overblijvende landuse=residential allang ontdaan 
kunnen zijn van layer=-1.


Als dat gedaan is, is er alleen indien de landuse=residential valt 
binnen een nóg groter vlak landuse (bijv. een bos) nog maar een 
probleem. Echter, daar hebben we tegenwoordig multipolygon's voor, 
waardoor we een gat kunnen maken in het grotere vlak.


En ten slotte, we zouden ook weer kunnen terugkeren op een hele oude 
discussie, die van landuse als fysieke eigenschap vs. landuse als 
functie-omschrijving. Het is jammer dat dit in de begindagen niet direct 
onderscheidend is gemaakt in de tagging.



--
Lennard


___
Talk-be mailing list
Talk-be@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-nl] Vertaling van OSM labelnamen

2013-10-06 Thread Lennard

On 6-10-2013 16:30, Pander OpenTaal wrote:


Tweede vraag, waa zijn de bronbestanden van de vertalingen te vinden?


Voor de website staan die op translatewiki.

Zie ook http://wiki.openstreetmap.org/wiki/Website_Internationalization


--
Lennard

___
Talk-nl mailing list
Talk-nl@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-nl


Re: [phpug] iOS development

2013-06-23 Thread John Lennard
Hi Brendan,

We have developed several native applications that speak to a PHP based
server backend.

The most familiar approach to development will be as others have stated to
use something like phonegap that will allow you to work with concepts that
are familiar. However with either a native app or a phone gap application,
there will be pros and cons for using each.

Developing a native application does have a steep learning curve as the
concepts are quite different to how you would approach developing a web
based application, but you do get a look and feel that is more consisten
with the platform and also certain performance benefits. The webkit
available to developers is running in a slightly more restricted mode than
the one available to safari and so is not as performant.

When evaluating solutions like phone gap ran in to some difficulties in
marshalling data between the html/javascript of phone gap and native
code/plug ins, this however may have changed but at the time was limiting
enough to make us write a full native app.

In terms of developing our API/ web services, we went with JSON and
JSON-RPC as XML and XML based services like soap present a much higher
overhead and above all in a mobile context you need to be aware of latency
and large payload overheads. If performance is a real issue and you are
only planning on targeting iOS and a native application you way want to
look using the plist format which a native iOS/OSX format that has rather
fast interpreter baked in to the OS.

Other things we paid attention to were ensuring that our API application
could support conditional requests (If-None-Match/If-Modified-Since) and
also byte range requests. This is to ensure that requests are, where
possible kept as short as possible and, if in an ideal world, avoid a round
trip to the server.

Cheers
John



On 23 June 2013 15:35, Brendan Brink sell2cell...@gmail.com wrote:

 Afternoon all,

 Was wondering if any of you had had any luck / experience with finding
 resources for learning iOS for iphone / ipad apps and connecting easily to
 php services.

 Am looking into making an app for a client and wondered if could fast
 track learning the iOS framework by reading material designed for PHP
 programmers / ability to develop basic iOS interfaces that interact with
 mainly a backend PHP service / MYSQL back end database.

 Hope makes sense, look forward to any suggestions...

 Cheers
 Brendan.

 --
 --
 NZ PHP Users Group: http://groups.google.com/group/nzphpug
 To post, send email to nzphpug@googlegroups.com
 To unsubscribe, send email to
 nzphpug+unsubscr...@googlegroups.com
 ---
 You received this message because you are subscribed to the Google Groups
 NZ PHP Users Group group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to nzphpug+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzphpug@googlegroups.com
To unsubscribe, send email to
nzphpug+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups NZ 
PHP Users Group group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nzphpug+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [VOTE] Release Wave 0.4 based on RC3

2013-06-14 Thread Lennard de Rijk
On Wed, Jun 5, 2013 at 2:40 PM, Ali Lown a...@apache.org wrote:


 [  ] +1   Release these artifacts
 [ X ] +0   OK, but...
 [  ] -0OK, but really should fix...
 [  ] -1I oppose this release because...


I support the effort, I have however not fully reviewed this version so I
can't state whether I'm completely sure it is ready.


Re: [OSM-talk-nl] Crowdsourcing...

2013-06-13 Thread Lennard

On 13-6-2013 19:01, Frank Steggink wrote:

Het mooie aan crowdsourcing is dat je veranderingen in de werkelijkheid
binnen een paar dagen in de kaart kunt verwerken.
Het minder mooie aan crowdsourcing is dat deze wijziging een paar dagen
later weer door iemand anders ongedaan wordt gemaakt...


Gebaseerd op immer achter de feiten aanlopende lufo's ?


--
Lennard

___
Talk-nl mailing list
Talk-nl@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-nl


Re: [VOTE RESULT] (was: [VOTE] Release Wave 0.4 based on RC3)

2013-06-12 Thread Lennard de Rijk
On Sat, Jun 8, 2013 at 5:11 PM, Ali Lown a...@lown.me.uk wrote:

 Looking at the list of comitters for the wave project (including the
 PMC), I have seen on the list over the last few years:

 https://people.apache.org/committers-by-project.html#wavehttps://people.apache.org/committers-by-project.html#wave

 - Ali Lown
 - Christian Grobmeier
 - Daniel Danilatos (though this was easily a year ago)
 - Lennard de Rijk (ditto)


Still here, still following and helping out in the background when Googley
things arrive (hence the reason why I abstain my vote, great work though!)


 - Michael MacFadden (though he seems to be very busy)
 - Upayavira
 - Vicente J. Ruiz Jurado (a few months back)
 - Yuri Zelikov

 I have never seen (or have no recollection of) the others listed.

 Ali

 On 8 June 2013 21:56, Upayavira u...@odoko.co.uk wrote:
 
 
  On Sat, Jun 8, 2013, at 09:49 PM, Ali Lown wrote:
  Ok. I shall wait for a few more days.
 
  (I couldn't post on the incubator list for a few more hours anyway,
  because I have to wait for the mail archives to catch up).
 
  Regarding how to get more committers to vote: I am not sure. I haven't
  seen many of them at all over my last few years following the list.
 
  Those that *are* active? Yuri? Maybe Michael?
 
  Upayavira



Re: Can't create wiki pages or checkin code

2013-05-30 Thread Lennard
This should have been solved, sorry for the inconvenience.

- Lennard

On Thursday, May 30, 2013 12:42:44 AM UTC-4, Karl Stubsjoen wrote:

 It seems like google code is experience troubles tonight, I can't create 
 wiki pages nor can I commit any code.
 I just created a the new project called projectflx which wasn't a problem 
 but I'm not having any luck beyond that.

 Karl..


-- 
You received this message because you are subscribed to the Google Groups 
Project Hosting on Google Code group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code-hosting+unsubscr...@googlegroups.com.
To post to this group, send email to google-code-hosting@googlegroups.com.
Visit this group at http://groups.google.com/group/google-code-hosting?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.




[Libreoffice-commits] core.git: sc/sdi sc/source

2013-05-14 Thread Lennard Wasserthal
 sc/sdi/drawsh.sdi |1 +
 sc/source/ui/drawfunc/drawsh5.cxx |3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 9fa5c64eeb5d038a5fac25dfd80e72bd22b5ed18
Author: Lennard Wasserthal wassert...@nefkom.net
Date:   Sun May 12 17:50:12 2013 +0200

fdo#55582 calc part

Since the actual Patch for fdo#55582 hangs on the writer part,
I commit that bloody sc part NOW,
to appear as early as in 4.1.

Change-Id: I01ce4a7a7738304f47efc718c382a5b1dee68ea2
Signed-off-by: Lennard Wasserthal wassert...@nefkom.net
Reviewed-on: https://gerrit.libreoffice.org/3872
Reviewed-by: Bosdonnat Cedric cedric.bosdon...@free.fr
Tested-by: Bosdonnat Cedric cedric.bosdon...@free.fr

diff --git a/sc/sdi/drawsh.sdi b/sc/sdi/drawsh.sdi
index 6c9ec0b..ff8cd35 100644
--- a/sc/sdi/drawsh.sdi
+++ b/sc/sdi/drawsh.sdi
@@ -142,6 +142,7 @@ interface TableDraw
 SID_DELETE_CONTENTS [ ExecMethod = ExecDrawFunc; StateMethod = 
GetDrawFuncState; Export = FALSE; ]
 SID_CUT [ ExecMethod = ExecDrawFunc; StateMethod = 
GetDrawFuncState; Export = FALSE; ]
 SID_COPY[ ExecMethod = ExecDrawFunc; StateMethod = 
GetDrawFuncState; Export = FALSE; ]
+SID_PASTE   [ ExecMethod = ExecDrawFunc; StateMethod = 
GetDrawFuncState; Export = FALSE; ]
 SID_SELECTALL   [ ExecMethod = ExecDrawFunc; StateMethod = 
GetDrawFuncState; Export = FALSE; ]
 SID_OBJECT_ROTATE   [ ExecMethod = ExecDrawFunc; StateMethod = GetState; 
Export = FALSE; ]
 SID_OBJECT_MIRROR   [ ExecMethod = ExecDrawFunc; StateMethod = GetState; 
Export = FALSE; ]
diff --git a/sc/source/ui/drawfunc/drawsh5.cxx 
b/sc/source/ui/drawfunc/drawsh5.cxx
index 153ea16..8a82fda 100644
--- a/sc/source/ui/drawfunc/drawsh5.cxx
+++ b/sc/source/ui/drawfunc/drawsh5.cxx
@@ -23,6 +23,7 @@
 #include sfx2/request.hxx
 #include sfx2/bindings.hxx
 #include tools/urlobj.hxx
+#include cliputil.hxx
 #include svx/svxdlg.hxx
 #include svx/dialogs.hrc
 #include svx/fmglob.hxx
@@ -357,7 +358,7 @@ void ScDrawShell::ExecDrawFunc( SfxRequest rReq )
 break;
 
 case SID_PASTE:
-OSL_FAIL( SdrView::PasteClipboard not supported anymore );
+ScClipUtil::PasteFromClipboard ( GetViewData(), 
GetViewData()-GetViewShell(), true );
 break;
 
 case SID_SELECTALL:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[phpug] Hosting options.

2013-05-12 Thread John Lennard
Hi,

I am currently in the process of working on some hosting options for a
project and the current scope requires that the site may well need to be
hosted in some form of elastic/scalable hosting environment as opposed to
our own, NZ located servers.

I am curious as to what platforms people have used, such as AWS, Engine
Yard, Heroku, Rackspace etc. and also if you have been using a
CDN independent of the hosting platform.

It is also important to know what problems you may have had with any of
these solutions.


Cheers
John

-- 
-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzphpug@googlegroups.com
To unsubscribe, send email to
nzphpug+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups NZ 
PHP Users Group group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nzphpug+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




  1   2   3   4   5   6   7   8   9   10   >