| Time |
S |
Nick |
Message |
| 00:55 |
|
|
code4pay joined #padre |
| 01:29 |
|
submersible |
hi code4pay |
| 01:50 |
|
code4pay |
hello |
| 01:51 |
|
|
Hinrik joined #padre |
| 01:53 |
|
|
Hinrik joined #padre |
| 02:00 |
|
|
Hinrik joined #padre |
| 02:00 |
|
|
Alias_ joined #padre |
| 02:20 |
|
garu |
hey! what do you know, 'convert encoding' saved the day. kudos to whoever wrote it :) |
| 02:46 |
|
Hyppolit |
svn: r10022 | submersible_toaster++ | http://padre.perlide.org/trac/changeset/10022 |
| 02:46 |
|
Hyppolit |
indirectly related to issues discussed in #390 , put the selection to the X11 buffer when the editor looses focus. |
| 02:46 |
|
Hyppolit |
trunk/Padre/lib/Padre/Wx/ |
| 02:47 |
|
submersible |
code4pay: sry - didn't see ur reply .. got a moment to discuss that ticket? |
| 02:47 |
|
code4pay |
yep |
| 02:48 |
|
submersible |
groovy. |
| 02:49 |
|
submersible |
that last commit should propagate the editor selection buffer (not the clipboard) back to the window manager.. so you can swipe some text in the editor (without explicit copy) .. then middle button paste it into a different window like a shell or browser |
| 02:50 |
|
submersible |
there seems to be some confusion about what to paste when middle button is pressed while there is an active selection. |
| 02:50 |
|
Alias_ |
Overpaste, yes? |
| 02:50 |
|
code4pay |
ok , Yes I was working to make it similar to other X11 editors |
| 02:50 |
|
Alias_ |
Although Lilburne would want EMACS-style pasting :) |
| 02:51 |
|
submersible |
Alias: it is complicated by the fact that middle button _traditionally_ pastes from the selection buffer NOT clipboard |
| 02:51 |
|
Alias_ |
Ah |
| 02:51 |
|
Alias_ |
... on Unix, I assume |
| 02:51 |
|
code4pay |
yes |
| 02:51 |
|
submersible |
hence when you select a block... middle button paste needs to clobber it with the previous selection buffer... |
| 02:52 |
|
Alias_ |
... on Unix |
| 02:52 |
|
Alias_ |
Are you going to make this all Unix-specific? |
| 02:52 |
|
|
waxhead joined #padre |
| 02:52 |
|
submersible |
Alias: no it's all wrapped in WXGTK if{} |
| 02:52 |
|
submersible |
what does middle button do in Win32 world? |
| 02:52 |
|
code4pay |
so submersible your saying if I highlight text 1 then hightlight text2 and middle click text 2 will be replaced with text 1? |
| 02:53 |
|
Alias_ |
submersible: Fuck knows, let me see if I have an application somewhere |
| 02:53 |
|
submersible |
code4pay: well it would not make much sense to replace 'text2' with 'text2' :_) |
| 02:53 |
|
waxhead |
submersible, you working on the copy paste bug? |
| 02:53 |
|
submersible |
yeah |
| 02:53 |
|
submersible |
it's driving me nuts |
| 02:53 |
|
waxhead |
submersible++ |
| 02:53 |
|
waxhead |
squared! |
| 02:53 |
|
waxhead |
driving everyone nuts I think... |
| 02:53 |
|
code4pay |
Submersible that seems to be ths standard for other editors |
| 02:54 |
|
submersible |
annoyingly - Wx does seem to do a fair job of it if you don't ->Skip the event |
| 02:54 |
|
submersible |
code4pay: I'd prefer to reach a point where padre at least behaves like you expect an X11 app to behave.. then fine tune it |
| 02:55 |
|
code4pay |
yes well then text2 will be replaced by text2 |
| 02:55 |
|
submersible |
for example.. the swarm plugin chat window does not trap any selection/leftup events.. so Wx is handling them.. and thankfully it just works with the X11 selection bufferisms. |
| 02:56 |
|
submersible |
calling ->Skip on an event can really mess things up..when you only partially implement what the toolkit provides |
| 02:58 |
|
submersible |
argh. now middle button is pasting both selection buffer and the app clipboard! |
| 02:58 |
|
code4pay |
have you tried my changes? |
| 02:58 |
|
submersible |
code4pay: I was unsure quite what they were aimed at fixing. |
| 02:59 |
|
code4pay |
they make it work like all other X11 apps I tested |
| 02:59 |
|
submersible |
but I applied the patch and did not find it worked any better. |
| 02:59 |
|
* submersible |
re-examines the ticket |
| 03:01 |
|
submersible |
I think we would all be happier that middle_button Replace selection (if there is a selected block) rather than insert the selection buffer at the clicked char. |
| 03:02 |
|
code4pay |
ok well thats not typical X11 behaviour |
| 03:03 |
|
submersible |
code4pay: not in my experience either - but try it in firefox and see what u get! :) |
| 03:03 |
|
code4pay |
Kate for example does the exact same thing my changes do |
| 03:03 |
|
code4pay |
and gedit |
| 03:04 |
|
submersible |
ok kate behaviour looks borked for me .. but not updated in some time. |
| 03:06 |
|
submersible |
oops |
| 03:06 |
|
submersible |
code4pay: sorry - you are entirely correct |
| 03:06 |
|
submersible |
all those apps perform inserts, regardless of the selection block |
| 03:06 |
|
code4pay |
ok |
| 03:07 |
|
code4pay |
yeah was just testing FF seems to do the same |
| 03:07 |
|
submersible |
they differ in what the deem to be the text to paste.. but none of them replace the selection |
| 03:07 |
|
submersible |
which sucks rocks |
| 03:07 |
|
code4pay |
yes it is suprising behaviour, |
| 03:07 |
|
Alias_ |
Clearly we're going to need to do two things |
| 03:08 |
|
Alias_ |
1. Pick a behaviour to copy by default |
| 03:08 |
|
Alias_ |
2. Allow plugins to replace it |
| 03:08 |
|
submersible |
WTF? |
| 03:09 |
|
Alias_ |
Padre::Refuge::Kate |
| 03:09 |
|
Alias_ |
I've been pondering the idea of a parallel plugin namespace, specifically for the Emacs, Vi, etc plugins |
| 03:09 |
|
Alias_ |
Of which you can ONLY enable one |
| 03:09 |
|
Alias_ |
And it gets even deeper access to the internals |
| 03:09 |
|
submersible |
that'll cause some fights ;) |
| 03:10 |
|
Alias_ |
Well, in almost every case, you will want Padre::Refugee::Ultraedit, or ::Emacs, or ::Vi |
| 03:10 |
|
Alias_ |
You won't want more than one |
| 03:11 |
|
Alias_ |
It would certainly simplify the process of doing editor hooks, and copy/paste behaviour etc |
| 03:11 |
|
submersible |
well sure.. however the X11 integration does not belong there. |
| 03:11 |
|
submersible |
just like the 'disappear the toolbar' on OSX does not belong in a plugin |
| 03:12 |
|
Alias_ |
Although now I'm told that's not true at all anyway |
| 03:12 |
|
Alias_ |
One person complained that OSX apps don't have default toolbars |
| 03:12 |
|
submersible |
particularly since Wx does the correct thing when u don't fuck about with it's STC events |
| 03:12 |
|
Alias_ |
Several since have said of course they do |
| 03:12 |
|
submersible |
I eagerly await the release of Padre::Refuge::Adobe |
| 03:13 |
|
submersible |
:) |
| 03:13 |
|
Alias_ |
Hrm... you know |
| 03:13 |
|
Alias_ |
Now I think about it a bit more, this could be rather easy |
| 03:13 |
|
Alias_ |
All you need is if ( $refugee->can('method') ) { $refugee->method(@_) } else { ... } |
| 03:13 |
|
Alias_ |
And just have to find a way to set it up properly |
| 03:14 |
|
Alias_ |
And hopefully in a way that doesn't slow it down |
| 03:14 |
|
Alias_ |
OR only hook the places where a few extra if/else/can/->current calls won't matter |
| 03:14 |
|
Alias_ |
Which might be most places |
| 03:15 |
|
Alias_ |
Bootstrapping would be interesting |
| 03:15 |
|
Alias_ |
As would enable/disable |
| 03:16 |
|
Alias_ |
You'd need to store/cache it somewhere really really fast |
| 03:16 |
|
submersible |
how about $refugee->wants('method') and wrap a ->can('method') and $setting->enabled |
| 03:16 |
|
submersible |
most of those events are passed to the editor document if it ->can('on_somthing...') |
| 03:16 |
|
Alias_ |
I'm thinking of stashing a copy of the refugee plugin directly under the ::Main object |
| 03:17 |
|
submersible |
yeah - about that.. how does one get at a plugin instance 'properly' ? |
| 03:17 |
|
Alias_ |
if ( $main->{refugee} and $main->{refugee}->can('method') ) { ... } |
| 03:17 |
|
Alias_ |
The REAL instance? |
| 03:17 |
|
Alias_ |
IDE -> Plugin Manager -> Plugin Handle -> Plugin Object |
| 03:17 |
|
submersible |
ahhh |
| 03:17 |
|
submersible |
k |
| 03:18 |
|
Alias_ |
The Handle is there to take care of all the eval/wrapping safety stuff etc |
| 03:18 |
|
Alias_ |
There's one for every plugin |
| 03:18 |
|
Alias_ |
So you can do $handle->enable |
| 03:18 |
|
Alias_ |
And so on |
| 03:18 |
|
submersible |
sweet. |
| 03:18 |
|
Alias_ |
(And so the plugin authors don't have to write their own safety protection) |
| 03:19 |
|
submersible |
i plan to rip 'chat' out of swarm into it's own plugin.. but it would require swarm to be enabled first... plugin deps - erk |
| 03:21 |
|
submersible |
Alias_: can you see what happens on win32 when u hit the middle button in the editor? |
| 03:21 |
|
Alias_ |
I'm fairly sure we've not implemented plugin deps yet |
| 03:21 |
|
Alias_ |
on trunk? |
| 03:22 |
|
submersible |
if possible but from a cpan release is fine too |
| 03:26 |
|
Alias_ |
ok, what third mouse behaviour do you want me to try |
| 03:27 |
|
Alias_ |
tbh, I'm not even sure that the third mouse button on my lappy is actually a third mouse |
| 03:27 |
|
submersible |
it is often simulated by clicking both left and right simultaneously |
| 03:28 |
|
submersible |
for me the scroll wheel is a clickable button |
| 03:28 |
|
Alias_ |
hrm |
| 03:28 |
|
Alias_ |
ok, I've tweaked right mouse to middle mouse |
| 03:28 |
|
Alias_ |
I get paste-at-cursor |
| 03:29 |
|
Alias_ |
Overpaste |
| 03:29 |
|
Alias_ |
Replaces the highlighted text |
| 03:29 |
|
Alias_ |
From a CTRL-C copy |
| 03:29 |
|
submersible |
hmm |
| 03:29 |
|
submersible |
trunk? |
| 03:29 |
|
Hyppolit |
trunk is http://svn.perlide.org/padre/trunk/Padre |
| 03:29 |
|
Alias_ |
trunk |
| 03:29 |
|
submersible |
weird |
| 03:29 |
|
Alias_ |
What should it do? |
| 03:30 |
|
code4pay |
It has been coded to do that |
| 03:30 |
|
code4pay |
in Padre |
| 03:30 |
|
submersible |
ahhh |
| 03:30 |
|
submersible |
now i see it. |
| 03:30 |
|
submersible |
middle click is defined as Paste |
| 03:30 |
|
submersible |
which is fine if you only have one clipboard and no implied selection buffer |
| 03:30 |
|
code4pay |
not sure it is a god idea, as it is not expected behaviour |
| 03:31 |
|
code4pay |
that would be a good thing to have as an option |
| 03:31 |
|
submersible |
for win32 I think that is fine and a useful shortcut for the mouse-tarded |
| 03:32 |
|
Alias_ |
Personally, I don't find middle-click paste useful |
| 03:32 |
|
Alias_ |
But that's just me |
| 03:32 |
|
Alias_ |
I already had my fingers in place for the CTRL-C... |
| 03:33 |
|
submersible |
quite |
| 03:33 |
|
Alias_ |
I wonder what Ultraedit des |
| 03:33 |
|
Alias_ |
does |
| 03:33 |
|
Alias_ |
or Notepad++ |
| 03:33 |
|
submersible |
but your expectation would be that selected text is replaced when performing a paste ? |
| 03:33 |
|
Alias_ |
Absolutely |
| 03:34 |
|
Alias_ |
NOT doing that is indicative of EMACS-era programs |
| 03:34 |
|
submersible |
me too. I'm sure jot and nedit used to do it... damned if I am unpacking an O2 just to test that though |
| 03:34 |
|
Alias_ |
nedit would be the only one that is still used on Linux today |
| 03:34 |
|
Alias_ |
(and the only one that appears in the survey) |
| 03:35 |
|
code4pay |
I think you will find it is more about X11 than the Application level programming |
| 03:36 |
|
Alias_ |
Overpaste vs cursorpaste? |
| 03:36 |
|
submersible |
can we agree that middle button with no selection is an INSERT.. middle button with a selection is a OVERPASTE..then the contention is only around where that replacement text is derived |
| 03:36 |
|
Alias_ |
That part I doubt it |
| 03:36 |
|
Alias_ |
submersible: They are both default-paste |
| 03:36 |
|
submersible |
Alias_: pardon? |
| 03:36 |
|
Alias_ |
Well, it's default paste behaviour if you ignore where the text to paste comes from |
| 03:37 |
|
submersible |
yep |
| 03:37 |
|
submersible |
ok |
| 03:37 |
|
Alias_ |
Middle mouse on Notepad++ appears to be a no-op |
| 03:38 |
|
code4pay |
I think you will find it difficult to implement. |
| 03:38 |
|
code4pay |
mainly becuase the selection source is often outside of Padre, ie from a terminal |
| 03:38 |
|
Alias_ |
Does Padre cut/paste use the system clipboard/ |
| 03:38 |
|
code4pay |
I think trying to implement this is what caused the mess it is now |
| 03:38 |
|
submersible |
code4pay: I sure am! - one of the killers is that some other event is firing in concert to the on_middle_up handler |
| 03:39 |
|
code4pay |
yes X11 is in the picture |
| 03:39 |
|
Alias_ |
One Win32, system clipboard paste worksforme |
| 03:39 |
|
Alias_ |
On Win32... |
| 03:39 |
|
Alias_ |
Copy in Firefox, paste in Padre is ok |
| 03:39 |
|
submersible |
Alias_: yes - but system clipboard and selection buffer (what Wx calls PrimarySelection) are a hybridized mess currently |
| 03:39 |
|
Alias_ |
ya |
| 03:40 |
|
submersible |
GAH! . foiled by ->Skip yet again |
| 03:40 |
|
code4pay |
for the record Nedit does it the same as the other x11 editors |
| 03:41 |
|
code4pay |
just downloaded it and tried it out |
| 03:41 |
|
submersible |
insert at cursor? |
| 03:41 |
|
submersible |
well +10 for consistency ... but minus several thousand DWIM points |
| 03:42 |
|
code4pay |
no scratch that middle button not working at all :-( |
| 03:42 |
|
code4pay |
hmm it works sometimes, but yes insert at cursor when it does |
| 03:44 |
|
code4pay |
I think most of these just rely on X11 to handle the behaviour, where in Padre we interfere becuase of smart highlighting |
| 03:46 |
|
code4pay |
My suggestion is to use my patch, atleast it gets it working as per other editors |
| 03:47 |
|
waxhead |
->Skip() has some funny meaning.. not quite what you'd expect... well at least not for me |
| 03:56 |
|
submersible |
code4pay: do you recall what rev that patch was made against? |
| 03:57 |
|
code4pay |
I think it was .51 I did a svn update today and it seems to be still ok |
| 03:59 |
|
submersible |
one hunk fails for me |
| 04:05 |
|
code4pay |
here is a diff from after the svn update http://pastebin.com/mb46cb49 |
| 04:10 |
|
submersible |
code4pay: that one seems to paste both the clipboard and the selection buffer if the clipboard is not empty |
| 04:13 |
|
submersible |
no wait |
| 04:13 |
|
submersible |
.. |
| 04:14 |
|
* Alias |
doesn't quite understand what ->Skip means |
| 04:17 |
|
submersible |
->Skip(1) means ... "I the subscriber to this event have Skipping handling it... find another event to handle it" |
| 04:17 |
|
submersible |
or Skipped rather |
| 04:18 |
|
Alias |
I'm not entirely sure that that means though |
| 04:18 |
|
Alias |
Do they bubble down? up? |
| 04:18 |
|
Alias |
sideways? |
| 04:23 |
|
waxhead |
if I recall correctly,the skip just says "I've handled you you don't need to go further, or I've handled you but there might be others who might be waiting on you, keep going" |
| 04:23 |
|
waxhead |
the problem I found was the logic of ->Skip |
| 04:23 |
|
submersible |
I have not tested it for perl subscribers.. I think it is dispatched reverse order to which the are subscribed... so Wx is always running AFTER your handler if you choose to Skip |
| 04:24 |
|
Alias |
I assume that's the entire point |
| 04:24 |
|
waxhead |
http://www.wxpython.org/docs/a[…]t-class.html#Skip |
| 04:24 |
|
Alias |
So you can cancel the default behaviour |
| 04:24 |
|
Alias |
So far as I can see, it ONLY makes sense if you get called before the Wx default behaviour |
| 04:25 |
|
waxhead |
if you want to say, "you're handled" you call Skip(0), other Skip(1) to say "keep going" |
| 04:25 |
|
* waxhead |
is hating mythtv at the moment |
| 04:25 |
|
Alias |
Wait, you HAVE to say ->Skip(0) |
| 04:25 |
|
Alias |
That's interesting |
| 04:26 |
|
waxhead |
Alias that's right.. there's a lot of ->Skip() which I think is actually Skip(1); |
| 04:26 |
|
waxhead |
not quite the meaning that people thought it was when the code was written |
| 04:26 |
|
Alias |
If that's the case, that you are able to say (0) or (1) then we really should badcode enforce it or something |
| 04:26 |
|
waxhead |
I htink you have to say explictly 0 for false |
| 04:26 |
|
Alias |
Because that's probably a big gotcha |
| 04:27 |
|
waxhead |
I think so.. remember this is the python docs ( which are a shit load better than the perl docs ) |
| 04:27 |
|
waxhead |
but when I was fiddling about iwth something that needed skip, I had to explictily set false to get it to work |
| 04:27 |
|
Alias |
The official docs do mention wxPerl |
| 04:28 |
|
waxhead |
well to work as expected! |
| 04:28 |
|
Alias |
They assume that most functions and params work the same, and note where it's different |
| 04:41 |
|
|
kentnl joined #padre |
| 05:09 |
|
|
CromeDome joined #padre |
| 05:16 |
|
submersible |
code4pay: do u have commit for padre svn ? |
| 05:43 |
|
code4pay |
submersible: No I don't |
| 06:27 |
|
szabgab |
code4pay, yes you do, now |
| 06:36 |
|
code4pay |
hmm ok, same userid etc as the trac account? |
| 06:39 |
|
szabgab |
yes |
| 06:49 |
|
code4pay |
Are we happy for me to commit my changes for #390 ? |
| 06:49 |
|
Hyppolit |
#390: Copy and Paste onto highlighted text (accepted defect) [ http://padre.perlide.org/trac/[…]et/390#comment:12 ] |
| 07:14 |
|
szabgab |
that's why you got the commit bit, now you need to fight with the other comitters :-) |
| 07:14 |
|
szabgab |
or discuss with them again |
| 07:16 |
|
code4pay |
OK Thanks. |
| 07:16 |
|
code4pay |
I think I'll wait until I talk to Sewi as he was involved earlier |
| 07:23 |
|
|
Alias joined #padre |
| 07:24 |
|
* Alias |
uses his Save Intuition feature for the first time in Anger |
| 07:24 |
|
Alias |
It's even more awesome than I expected it to be :) |
| 07:24 |
|
Alias |
Like a weight lifter from my shoulder |
| 07:24 |
|
Alias |
Now I just need to make the "New... Perl 5 Class" do it immediate |
| 07:55 |
|
|
awnstudio joined #padre |
| 07:58 |
|
|
szabgab left #padre |
| 07:58 |
|
|
szabgab joined #padre |
| 08:01 |
|
|
[1]awnstudio joined #padre |
| 08:09 |
|
|
Alias joined #padre |
| 08:09 |
|
|
awnstudio joined #padre |
| 08:22 |
|
|
awnstudio joined #padre |
| 08:26 |
|
|
Sewi joined #padre |
| 08:28 |
|
Sewi |
hi all |
| 08:41 |
|
Hyppolit |
#390: Copy and Paste onto highlighted text (accepted defect) [ http://padre.perlide.org/trac/[…]et/390#comment:13 ] |
| 08:44 |
|
Hyppolit |
#390: Copy and Paste onto highlighted text (accepted defect) [ http://padre.perlide.org/trac/[…]et/390#comment:14 ] |
| 08:47 |
|
code4pay |
HI Sewi |
| 08:48 |
|
code4pay |
I had some discussions with submersible re 390 |
| 08:49 |
|
Sewi |
hi code4pay |
| 08:50 |
|
code4pay |
Basically the outcome was for me to submit my original proposed changes |
| 08:53 |
|
code4pay |
if your happy with that |
| 08:53 |
|
Sewi |
I don't clearly remember, but as far as I understand what I wrote, it didn't work correctly |
| 08:54 |
|
code4pay |
yes but afer you reviewed it you gave it the OK see the transcipt in the ticket |
| 08:55 |
|
code4pay |
the insert at cursor action in X11 misleads people into thinking it is broken |
| 08:58 |
|
Sewi |
Is your patch still working for the current trunk? |
| 08:59 |
|
code4pay |
I did an svn update this morning anhe changes still work but requires a new patch http://pastebin.com/mb46cb49 |
| 09:00 |
|
code4pay |
I have a commit bit now so I can commit it if your happy |
| 09:01 |
|
submersible |
code4pay - go for it .. close the bug or reassign to the reporter asking for verification of the fix |
| 09:01 |
|
code4pay |
ok thanks |
| 09:02 |
|
Sewi |
c4p: Your patch is rejected on current trunk |
| 09:02 |
|
Sewi |
And I still think it didn't work proberbly, please let me test it again. |
| 09:02 |
|
submersible |
my spider sense tells me that we'll probably end up trying to subvert regular behaviour w/ respect to middle button paste over current selection. |
| 09:04 |
|
submersible |
Sewi: rejected due to style or failure to apply patch ? I think maybe one hunk was borked due to whitespace |
| 09:04 |
|
Sewi |
submersible: Hunk #4 failed at 891 |
| 09:04 |
|
Hyppolit |
#4: allow anonymous svn checkout (closed defect) [ http://padre.perlide.org/trac/ticket/4#comment:1 ] |
| 09:04 |
|
submersible |
yeah in on_left_up from memory |
| 09:06 |
|
Sewi |
Applied it manually |
| 09:06 |
|
Hyppolit |
svn: r10023 | code4pay++ | http://padre.perlide.org/trac/changeset/10023 |
| 09:06 |
|
Hyppolit |
Fix for #390, Padre should now behave as per other X11 editors. more |
| 09:06 |
|
Hyppolit |
middle mouse button actions. |
| 09:06 |
|
Hyppolit |
--This line, and th se below, will be ignored-- |
| 09:06 |
|
Hyppolit |
|
| 09:06 |
|
Hyppolit |
M Editor.pm |
| 09:07 |
|
Hyppolit |
trunk/Padre/lib/Padre/Wx/ |
| 09:07 |
|
submersible |
;) |
| 09:07 |
|
Sewi |
Sorry code4pay, but it doesn't work. It still doesn't replace the current selection. |
| 09:08 |
|
Sewi |
I'll svn up and try again |
| 09:08 |
|
code4pay |
No that is normal X11 behaiour |
| 09:08 |
|
code4pay |
wether it is sane is another question |
| 09:09 |
|
Sewi |
It's shell behavior |
| 09:10 |
|
Sewi |
poedit (for example) replaces the current selection by the pasting (which does nothing at all) |
| 09:11 |
|
code4pay |
kate inserts at cursor, ie does not replace selection |
| 09:11 |
|
code4pay |
last time we tested with gedit and others similar behaviour |
| 09:12 |
|
|
Sewi_ joined #padre |
| 09:13 |
|
Sewi |
Seems to be hard to find an app which supports middle-button :-) |
| 09:13 |
|
code4pay |
Yes I think others have struggled with it as well |
| 09:15 |
|
Sewi |
Replace the current selection by the current selection is a noop and not worth the cpu cycles. This is why it changed to "use the last selection for inserting". This was a feature, not a bug. |
| 09:16 |
|
code4pay |
yes, but to achieve that you have to interfere with what X11 is trying to do |
| 09:16 |
|
code4pay |
and you run into issues, |
| 09:17 |
|
Sewi |
Oh, it worked, but the other pasting event (which occured sometimes) was annoying. |
| 09:17 |
|
Sewi |
With r10023 even the paste-over-selection doesn't work, it just craps the current line if you try to do. |
| 09:17 |
|
Hyppolit |
Changeset #10023 http://padre.perlide.org/trac/changeset/10023 |
| 09:18 |
|
code4pay |
ok example? |
| 09:23 |
|
Sewi |
I'm still unsure what "default X11 behavior" is. There are two other apps on my Ubuntu which use the middle button at all and they do different things. |
| 09:25 |
|
code4pay |
ok I just tested a few and thats what they did, maybe there are others, from what I can remeber the patch is basically doing what wx editor would do by default. |
| 09:27 |
|
Sewi |
Which ones did you try? |
| 09:28 |
|
code4pay |
kate, gedit(But i think it stops some middle button stuff) firefox, |
| 09:28 |
|
code4pay |
nedit |
| 09:29 |
|
Sewi |
I just tried xman and it does the shell way :-( |
| 09:30 |
|
Sewi |
I don't think firefox uses any defaults :-), like other browsers it's os-independent, this is why I didn't try Opera. |
| 09:31 |
|
Sewi |
I think there is no default any longer - if also xman does what it wants :-( |
| 09:32 |
|
Sewi |
Please add a config option for switching between "X11 default" and "intelligent pasting" (whatever you'ld like to call it :-) ) and if pop con will ever work, we could see what people use... |
| 09:33 |
|
code4pay |
intelligent pasting? |
| 09:34 |
|
Sewi |
Paste over selection but don't replace the selection by itself. |
| 09:34 |
|
Sewi |
Select something, select something else, middle click. First selection replaces second |
| 09:36 |
|
code4pay |
ok, but we will need to work out how to do the intelligent pasting first |
| 09:38 |
|
El_Che |
whatever you do, please set the X11 pasting as default in *nix |
| 09:38 |
|
Sewi |
El_Che: If we clearly identify what X11 pasting is... :-) |
| 09:40 |
|
code4pay |
El_Che: have you tried out my patch? |
| 09:40 |
|
El_Che |
no, sorry. Been busy lately fighting my boss |
| 09:40 |
|
code4pay |
ah ok :-) |
| 09:41 |
|
El_Che |
do I find a link to your patch in the channel log? |
| 09:41 |
|
Sewi |
I'ld vote for setting the current pasting (like it was for the last few month) active on old installations and maybe setting X11 on new installation. The config upgrade module could do this easily |
| 09:41 |
|
|
kaare joined #padre |
| 09:41 |
|
Sewi |
El_Che: Just svn up, it was applied. |
| 09:41 |
|
El_Che |
ok |
| 09:41 |
|
El_Che |
thx |
| 09:41 |
|
code4pay |
hmm but it seems so broken as it was |
| 09:50 |
|
Sewi |
r10023 broke the old behavior and switched to what some X apps do. (Some, because others seem to do other things) |
| 09:50 |
|
Hyppolit |
Changeset #10023 http://padre.perlide.org/trac/changeset/10023 |
| 10:16 |
|
Sewi |
code4pay: I asked the perlmonks about this: http://perlmonks.org/?node_id=814720 |
| 10:16 |
|
Sewi |
code4pay: Are you currently working on the issue? |
| 10:19 |
|
code4pay |
Well, I guess I would like some sort of agreemtn on what is expected from the middle mouse cut and paste first |
| 10:20 |
|
code4pay |
otherwise it is a shifting target |
| 10:20 |
|
code4pay |
the perl monks idea is good |
| 10:25 |
|
El_Che |
code4pay: is there really an agreement needed as all native unix applications work the same way? |
| 10:26 |
|
El_Che |
maybe not the most logical way, but handy once you are used to it |
| 10:26 |
|
El_Che |
copy paste was hell in linux 10 years ago |
| 10:26 |
|
El_Che |
glad that's over |
| 10:27 |
|
code4pay |
yes it is what I am used to |
| 10:27 |
|
code4pay |
did you get to test the patch? |
| 10:38 |
|
szabgab |
kthakore, http://www.perlfoundation.org/[…]ex.cgi?perllivecd |
| 10:38 |
|
Sewi |
hi szabgab |
| 10:38 |
|
szabgab |
rehi |
| 10:39 |
|
Sewi |
What's your opinion on the pasting issue? |
| 10:41 |
|
szabgab |
it should be fixed |
| 10:41 |
|
szabgab |
no other opinion beside that one :-) |
| 11:00 |
|
Sewi |
Which way would you consider as "fixed"? |
| 11:05 |
|
szabgab |
it is outlined in detail in my opinion :-| |
| 11:05 |
|
szabgab |
I have no %$@@# idea |
| 11:05 |
|
szabgab |
I guess if it is the way people expect |
| 11:06 |
|
szabgab |
I tried now in the XChat window, if I select a text and the middle-click on it nothing happens |
| 11:06 |
|
|
meorero joined #padre |
| 11:06 |
|
Sewi |
Yes, most X apps doesn't seem to support mid-button at all :-( |
| 11:07 |
|
szabgab |
oh if I select something and then mid-click any other place that it does paste the selection |
| 11:07 |
|
szabgab |
just not when I am above the current selection |
| 11:08 |
|
Sewi |
It's the same in both cases - if you're over the current selection, it's being replaced by itself (I think). |
| 11:08 |
|
szabgab |
You might be right |
| 11:09 |
|
meorero |
Hi. I'm here again - with thw MS-Win Padre 0.50 standalone. It is not running modules installed in ActiveState (such as Tk). |
| 11:09 |
|
szabgab |
on the other hand ctrl-v seems to always replace the current selection by whatever is in the memory |
| 11:10 |
|
Sewi |
It does |
| 11:10 |
|
szabgab |
meorero, if you run the Tk script from the cmd window, does it work? |
| 11:11 |
|
szabgab |
Sewi, so why not have that behavior, at least on X windows? |
| 11:11 |
|
meorero |
Yes - of course. |
| 11:11 |
|
szabgab |
so try this: make sure you revert the changes I suggested |
| 11:11 |
|
szabgab |
or maybe even better, try to upgrade to latest padre |
| 11:12 |
|
szabgab |
by runing c:\strawberry\perl\bin\perl.exe -MCPAN -eshell |
| 11:12 |
|
szabgab |
and then install Padre |
| 11:12 |
|
meorero |
latest? in the Stawberry env. ? |
| 11:12 |
|
szabgab |
yes, upgrade padre |
| 11:12 |
|
Hyppolit |
svn: r10024 | Sewi++ | http://padre.perlide.org/trac/changeset/10024 |
| 11:12 |
|
Hyppolit |
Fix autocomplete (don't popup on ENTER, Tab, ESC, etc.) |
| 11:12 |
|
Hyppolit |
trunk/Padre/lib/Padre/Wx/ |
| 11:12 |
|
meorero |
oh... I'm trying ... |
| 11:13 |
|
Sewi |
szabgab: It breaks with what we had for the last few month and it doesn't make sense to replace something by itself :-) |
| 11:14 |
|
Sewi |
Did the "close all" (for example when quitting Padre) ever hang at your Padre? |
| 11:14 |
|
szabgab |
but it is what people usually expect |
| 11:14 |
|
szabgab |
no? |
| 11:15 |
|
szabgab |
I used to have issues that padre greyed out on Ubuntu during shutdown |
| 11:15 |
|
szabgab |
then it was fixed, then it came back |
| 11:15 |
|
szabgab |
and I don't know what is now |
| 11:16 |
|
meorero |
szabgab: I can, as a "Workaround", try to get Tk or other needed modules into strawberry environment, no? |
| 11:16 |
|
meorero |
And by this - no need to ActiveState ... |
| 11:27 |
|
Sewi |
meorero: Strawberry has a CPAN client, Tk installation should work without problems (never tried it myself) |
| 11:30 |
|
meorero |
Sewi: Do you mean what szabgab wrote? c:\strawberry\perl\bin\perl.exe -MCPAN -eshell ?? |
| 11:30 |
|
Sewi |
yes |
| 11:31 |
|
meorero |
Great! I'm just using it to get latest Padre. |
| 11:33 |
|
Sewi |
:-) |
| 11:33 |
|
szabgab |
meorero, you could do that, but I'd be glad if we stepped throught the other solution |
| 11:34 |
|
szabgab |
just to make sure this one also works - or fix it, if there is a bug |
| 11:58 |
|
Hyppolit |
svn: r10025 | Sewi++ | http://padre.perlide.org/trac/changeset/10025 |
| 11:58 |
|
Hyppolit |
Text shouldn't become regexp |
| 11:58 |
|
Hyppolit |
trunk/Padre/lib/Padre/ |
| 12:24 |
|
meorero |
Ok - I succeeded in updating my "Standalone" Padre to 0.53 |
| 12:24 |
|
szabgab |
great, is it still working ? |
| 12:25 |
|
meorero |
But ... I did not succeed to install TK |
| 12:25 |
|
szabgab |
no worry |
| 12:25 |
|
szabgab |
open padre |
| 12:25 |
|
szabgab |
and go to edit/preferenes |
| 12:25 |
|
szabgab |
Run Parameters |
| 12:25 |
|
meorero |
Padre itself - the 0.53 - works great! |
| 12:25 |
|
meorero |
I open ... |
| 12:25 |
|
szabgab |
put the path of your activeperl executable in the "Perl Interpreter" section |
| 12:29 |
|
szabgab |
Sewi, oh, close all is stuck for me too |
| 12:29 |
|
szabgab |
Alias, ???? |
| 12:30 |
|
szabgab |
I cannot shut down padre |
| 12:31 |
|
szabgab |
and the shocking thing is that even after I killed the process with kill -9 the windows are still there while ps does not show it running any more - scary |
| 12:35 |
|
meorero |
szabgab: I put this: C:\Perl\bin\perl.exe. The same error occurs. Also when I choose the checkbox "use external window for execution" |
| 12:36 |
|
szabgab |
can you please write a script that contains print "$^X\n" and run it ? |
| 12:38 |
|
szabgab |
hmm, I tried it and it is indeed broken |
| 12:39 |
|
szabgab |
do you have subversion installed on your computer? |
| 12:40 |
|
meorero |
print "$^X\n" ?? This gives: C:\strawberry\perl\bin\perl.exe |
| 12:42 |
|
szabgab |
I also tried it now and it is broken here, I am fixing it now |
| 12:42 |
|
szabgab |
meorero, do you have subversion on your computer? |
| 12:43 |
|
Alias |
hrm? |
| 12:44 |
|
szabgab |
Alias, I don't know what happened but when closing padre I got the popup of the closing all files |
| 12:45 |
|
szabgab |
and now it is stuck |
| 12:45 |
|
szabgab |
I even killed the perl script but the window is still on my desktop |
| 12:45 |
|
Sewi |
szabgab: A simple "kill PID" usually solves this for me. It's also with "reload all files" - sometimes. It might be related to the progress bar box |
| 12:46 |
|
szabgab |
I killed it, it is gone from ps, the window is still on my desktop |
| 12:46 |
|
meorero |
subversion? Subversion client? no... |
| 12:46 |
|
szabgab |
meorero, so please install Tortoise svn client |
| 12:46 |
|
szabgab |
I am fixing the issue for you now and will want you to check it |
| 12:47 |
|
szabgab |
but you will need to pull padre from our svn repository |
| 12:47 |
|
szabgab |
so in the meantime pls install TortoiseSVN |
| 12:48 |
|
meorero |
Wait ... I have Microsoft Visual Studio |
| 12:48 |
|
meorero |
and http://en.wikipedia.org/wiki/C[…]ubversion_clients claims that it has something |
| 12:49 |
|
meorero |
But I'll install Tortoise |
| 12:49 |
|
szabgab |
I think it is better |
| 12:50 |
|
* Sewi |
still waiting for Microsoft Visual Perl :-) (But they might only do Visual Perl++ which would be .NET with Perl syntax) |
| 12:53 |
|
szabgab |
Sewi, you are bit late with this |
| 12:53 |
|
szabgab |
there is (or was) both Visual Perl and Perl.NET |
| 12:54 |
|
Sewi |
sure? |
| 12:55 |
|
Sewi |
Oh, it's a 3rd party plugin for Visual Studio |
| 12:57 |
|
Hyppolit |
svn: r10026 | szabgab++ | http://padre.perlide.org/trac/changeset/10026 |
| 12:57 |
|
Hyppolit |
fix perl interpreter selection |
| 12:57 |
|
Hyppolit |
trunk/Padre/ trunk/Padre/lib/Padre/Document/ |
| 12:58 |
|
szabgab |
meorero, here is the fix that I hope will help you |
| 12:58 |
|
szabgab |
so once you have Tortoise installed, check out padre from svn |
| 12:58 |
|
szabgab |
svn? |
| 12:58 |
|
Hyppolit |
svn is http://padre.perlide.org/trac/[…]anualinstallation |
| 13:04 |
|
meorero |
I have just got it and installed. It asks me to restart ... :-/ |
| 13:04 |
|
meorero |
So - see ye soon |
| 13:07 |
|
Alias |
Sewi: They DID a Visual Perl |
| 13:07 |
|
Alias |
It got end of lifed last year |
| 13:16 |
|
|
mohsen joined #padre |
| 13:22 |
|
Alias |
or thereabouts |
| 13:22 |
|
|
meorero joined #padre |
| 13:27 |
|
|
mohsen joined #padre |
| 13:29 |
|
|
mohsen left #padre |
| 13:50 |
|
|
cognominal joined #padre |
| 14:06 |
|
|
meorero joined #padre |
| 14:17 |
|
szabgab |
meorero, long reboot, eh :-) |
| 14:17 |
|
|
CromeDome joined #padre |
| 14:17 |
|
meorero |
Yes. |
| 14:17 |
|
meorero |
I tyied to look at the IRC log - it's not readable. |
| 14:18 |
|
meorero |
Where is the subversion that you nentioned? |
| 14:18 |
|
szabgab |
try the other one |
| 14:18 |
|
szabgab |
check out this directory: http://svn.perlide.org/padre/trunk/Padre/ |
| 14:18 |
|
Sewi |
svn? |
| 14:18 |
|
Hyppolit |
svn is http://padre.perlide.org/trac/[…]anualinstallation |
| 14:20 |
|
meorero |
I have no experience with it ... I'm trying to do ... |
| 14:21 |
|
meorero |
To where in my PC I should do the "check out" ? |
| 14:21 |
|
Sewi |
meorero: Create an empty directory, no matter where, right click on it, select svn checkout |
| 14:21 |
|
meorero |
Ok - I try. |
| 14:24 |
|
meorero |
And ... should I take it all, yes? |
| 14:24 |
|
Sewi |
Appending "Padre" to the default svn url would be enough to try |
| 14:25 |
|
Sewi |
You'd get all the Plugins and other stuff, too, otherwise |
| 14:25 |
|
szabgab |
Sewi, it is enouht for him to check out Padre |
| 14:25 |
|
szabgab |
no p[lugins |
| 14:25 |
|
meorero |
I's started already... so I'll wait ... |
| 14:26 |
|
Sewi |
http://svn.perlide.org/padre/trunk/Padre <--- use this SVN URL |
| 14:31 |
|
meorero |
It went fast. Now what? |
| 14:32 |
|
|
patspam joined #padre |
| 14:33 |
|
Alias_ |
Sewi: We need to stop posting the root path |
| 14:33 |
|
Alias_ |
Sewi: With all the branching you people are doing, it's way out in the gigs now |
| 14:36 |
|
|
CromeDome joined #padre |
| 14:36 |
|
Sewi |
Alias: I agree - page has been updated. |
| 14:36 |
|
Alias_ |
ah good |
| 15:29 |
|
|
awnstudio joined #padre |
| 15:44 |
|
Getty |
szabgab: btw i get again that error |
| 15:44 |
|
Getty |
even after --module .... |
| 15:44 |
|
Getty |
i will now cleanup all and redo it "like you do it" |
| 15:52 |
|
|
meorero joined #padre |
| 16:03 |
|
|
CromeDome joined #padre |
| 17:24 |
|
|
CromeDome joined #padre |
| 18:20 |
|
Hyppolit |
svn: r10027 | szabgab++ | http://padre.perlide.org/trac/changeset/10027 |
| 18:20 |
|
Hyppolit |
hebrew translation |
| 18:20 |
|
Hyppolit |
trunk/Padre/share/locale/ |
| 18:46 |
|
|
CromeDome joined #padre |
| 19:00 |
|
|
emirateone joined #padre |
| 20:33 |
|
|
rindolf joined #padre |
| 20:35 |
|
rindolf |
Hi szabgab |
| 20:36 |
|
rindolf |
Hi all. |
| 20:42 |
|
kthakore |
rindolf: hi |
| 20:42 |
|
kthakore |
szabgab: got a minute ? |
| 20:42 |
|
rindolf |
Hi kthakore |
| 20:47 |
|
|
yannick joined #padre |
| 21:20 |
|
|
waxhead joined #padre |
| 21:21 |
|
waxhead |
morning |
| 21:55 |
|
|
waxhead joined #padre |
| 22:14 |
|
|
dapatrick joined #padre |
| 22:14 |
|
dapatrick |
Hey all. |
| 22:14 |
|
dapatrick |
Any idea why Padre would crash anytime I hit Ctrl-R to search for a file? |
| 22:14 |
|
dapatrick |
I'm running trunk. |
| 22:15 |
|
dapatrick |
Just checking to see if it's a known issue before I dig deeper in to the code. |
| 22:25 |
|
Sewi |
hi dapatrick, I can't remember anybody reporting this. |
| 22:25 |
|
Sewi |
Any crash report? Do you use --die? |
| 22:25 |
|
dapatrick |
Ooh. Let me try it with that. |
| 22:26 |
|
dapatrick |
That argument doesn't appear to exist. |
| 22:26 |
|
Sewi |
dev.pl --die ? |
| 22:27 |
|
dapatrick |
I get this when I invoke padre from the command line: Can't locate object method "select" via package "Padre::DB::RecentlyUsed" at /home/dapatrick/perl5/lib/perl5/Padre/Wx/Dialog/OpenResource.pm line 455. |
| 22:28 |
|
Sewi |
Please run perl Makefile.PL and look if there are any (new) unsatisfied dependencies |
| 22:28 |
|
dapatrick |
Nope. |
| 22:28 |
|
dapatrick |
I svn update everyday and rebuild and keep an eye on new dependencies. |
| 22:29 |
|
dapatrick |
The only thing I see is "Warning, threads::shared has already been loaded. To enable shared variables, 'use threads' must be called before threads::shared or any module that uses it." |
| 22:29 |
|
Sewi |
I don't get this warning |
| 22:30 |
|
dapatrick |
Hmm. |
| 22:32 |
|
dapatrick |
I'm going to try discarding my current config directory. |
| 22:32 |
|
Sewi |
Please open the OpenResource.pm and add a print of the object used in 455 before 455 |
| 22:36 |
|
|
Sewi_ joined #padre |
| 22:39 |
|
garu |
hey Sewi |
| 22:41 |
|
kthakore |
hi garu |
| 22:42 |
|
dapatrick |
Looks like I'm missing a recently_used table in config.db |
| 22:42 |
|
garu |
kthakore, evening, oh mighty overlord :P |
| 22:47 |
|
|
Sewi_ joined #padre |
| 22:47 |
|
Sewi_ |
Hyppolit? |
| 22:47 |
|
Hyppolit |
Hyppolit is a bot currently running version 0.05 |
| 22:47 |
|
Hyppolit |
My master is szabgab. |
| 22:52 |
|
dapatrick |
Sewi_: I just removed config.db and let Padre recreate it, then I reset my config settings and all is well now. |
| 22:53 |
|
Sewi_ |
dapatrick: Do you have a copy of config.db? |
| 22:56 |
|
dapatrick |
Sure. |
| 22:56 |
|
dapatrick |
I can grab one from backup. |
| 22:56 |
|
dapatrick |
You want to take a look at it? |
| 23:05 |
|
Sewi_ |
I'm unsure... Maybe szabgab or anybody else who knows more about sqlite could tell you how to check the file consistency |
| 23:05 |
|
Alias_ |
hrm? |
| 23:06 |
|
Alias_ |
Oh, THAT bug |
| 23:06 |
|
Alias_ |
I really need to fix that |
| 23:06 |
|
dapatrick |
Heh. |
| 23:06 |
|
Alias_ |
So the ORM is inflated from the SQLite schema itself |
| 23:07 |
|
Alias_ |
If connecting to the database, or the schema detection stuff fails, for some reason it seems to NOT bail out |
| 23:07 |
|
Alias_ |
Instead it shortcuts and keeps going |
| 23:07 |
|
Alias_ |
Which means the classes for the DB don't exist |
| 23:07 |
|
Alias_ |
Which means you get THAT error, or similar |
| 23:07 |
|
Alias_ |
Blow away your config.db and it should fix itself |
| 23:09 |
|
Sewi_ |
Alias_: Checking this within Padre and repairing it - if possible - would be better. |
| 23:09 |
|
Alias_ |
Yes, it would |
| 23:10 |
|
Alias_ |
What I don't get is why it gets silently caught |
| 23:11 |
|
Alias_ |
If you have a broken config.db now, run through perl dev.pl -d and see if you can find it |
| 23:11 |
|
Sewi_ |
dapatrick: Would you do it? |
| 23:30 |
|
dapatrick |
Sure. |
| 23:30 |
|
dapatrick |
I need about 15 mins. |
| 23:30 |
|
dapatrick |
Have to do some offline stuff. |
| 23:47 |
|
|
kthakore joined #padre |