Plugins item #1242218, was opened at 2005-07-21 11:12
Message generated for change (Comment added) made by beck04vall
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=390395&aid=1242218&group_id=235

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Ike_ (ike_)
Assigned to: Nobody/Anonymous (nobody)
Summary: message splitter

Initial Comment:
A simple plugin to split up large messages above a
certain (user-defined) threshold.  Useful to avoid
protocol size limitations.  Currently it may split
whole words and HTML tags/formatting.  Fixes for those
are on the TODO list.

I heard a request for this on #gaim and didn't find any
up to date so I slapped one together.

My first plugin submission I hope I haven't violated
(m)any rules.

----------------------------------------------------------------------

Comment By: Dan (beck04vall)
Date: 2007-02-07 00:56

Message:
Logged In: YES 
user_id=1617198
Originator: NO

Sorry my bad, i started all this and i didnt pay close enough attention. 
If there have been updates to the source code since beta3 could you post
then new updated source code however. Thanks

----------------------------------------------------------------------

Comment By: fahwalker (fahwalkknid)
Date: 2007-02-06 22:19

Message:
Logged In: YES 
user_id=1498849
Originator: NO

Now that is funny, I had assumed that the earlier poster had checked...

----------------------------------------------------------------------

Comment By: Stu Tomlinson (nosnilmot)
Date: 2007-02-06 22:12

Message:
Logged In: YES 
user_id=309779
Originator: NO

The file gaim-splitter-0.95.2b3.tar.bz2 attached to this tracker item *is*
the source.

----------------------------------------------------------------------

Comment By: fahwalker (fahwalkknid)
Date: 2007-02-06 21:34

Message:
Logged In: YES 
user_id=1498849
Originator: NO

I have to agree with the earlier poster, it would be useful to have the
source available as well
Even if there are aspects of the code that could be better or neater its
still useful to have the source available

----------------------------------------------------------------------

Comment By: aragon (shatteredverve)
Date: 2007-02-06 20:00

Message:
Logged In: YES 
user_id=1370466
Originator: NO

we would all appreciate a beta six release. This is one of the most useful
plugins for gaim. I would hate to see it discontinued.  

----------------------------------------------------------------------

Comment By: Dan (beck04vall)
Date: 2007-02-06 05:31

Message:
Logged In: YES 
user_id=1617198
Originator: NO

Can we see a beta6 version, or at least post the code so we can compile it
ourselves with the beta6 source code.  Thanks, I love this pluggin, keep up
the good work.

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2006-12-17 01:04

Message:
Logged In: YES 
user_id=1295605
Originator: YES

Yeah, it appears the plugin slashexec is causing a crash when used with
this plugin.  I have a fix for this in the works but I am holding off on
putting it up until I test the splitting algorithm a little more
thoroughly.  I'll make sure and take a look at what is going on with OTR
when I do.  Thanks for the reports.

----------------------------------------------------------------------

Comment By: fahwalker (fahwalkknid)
Date: 2006-12-13 07:53

Message:
Logged In: YES 
user_id=1498849
Originator: NO

Hi,
  I am having an issue with the OTR plugin if your message splitter plugin
is enabled
  See
http://lists.cypherpunks.ca/pipermail/otr-users/2006-November/000797.html

  If I disable the splitter plugin then everything works as expected and I
don't see the ?OTR:<crypted-stuff> in the log window for my own messages

  Is there any possiblility that you could take a look at how your plugin
is interfering please

Thanks

----------------------------------------------------------------------

Comment By: fahwalker (fahwalkknid)
Date: 2006-11-26 19:44

Message:
Logged In: YES 
user_id=1498849
Originator: NO

Hi,
  I am having an issue with the OTR plugin if your message splitter plugin
is enabled
  See
http://lists.cypherpunks.ca/pipermail/otr-users/2006-November/000797.html

  If I disable the splitter plugin then everything works as expected and I
don't see the ?OTR:<crypted-stuff> in the log window for my own messages

  Is there any possiblility that you could take a look at how your plugin
is interfering please

Thanks

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2006-11-25 18:14

Message:
Logged In: YES 
user_id=1295605
Originator: YES

Hmm, I can't duplicate the crashing but I will look into it.  If anyone
else is having a problem and would like to report a backtrace try using
this dll:

http://ikebo.hypermart.net/splitter/splitter-debug.dll

It's got all the debug info in it so it might show something interesting. 
Make sure you remove other splitter dlls so you know which is which on the
list.

Things might smooth out once Gaim 2.0.0 leaves beta.

----------------------------------------------------------------------

Comment By: Ankit (rageboy04)
Date: 2006-11-25 17:17

Message:
Logged In: YES 
user_id=1276942
Originator: NO

gaim crashed when i was using the new dll. i installed it and restarted
gaim, and every time i tried to send a message, gaim crashed. Should I get
a backtrace from gaim debug? would that help?

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2006-11-24 22:48

Message:
Logged In: YES 
user_id=1295605
Originator: YES

Thanks for all the support guys.  Sorry about the delay on this, I plan on
keeping it up to date with Gaim releases but the last release had some
changes that required a bit of work to get my windows build environment
squared up to.  But the beta5 DLL is finally built and the code for beta3
should compile and work just fine still for *NIX users.

I'll try and get these updates out more timely in the future.

----------------------------------------------------------------------

Comment By: fahwalker (fahwalkknid)
Date: 2006-11-22 18:35

Message:
Logged In: YES 
user_id=1498849
Originator: NO

It would be nice to see this working with the latest gaim build, the older
version was working just fine until beta 3 (including all of the
nightly/periodic builds available at geddeth) but since beta 4 it doesn't
even show up in the plugin list....

It was very very useful and due to the number of IM protocols that limit
message size I would even suggest that this should be a core part of gaim

----------------------------------------------------------------------

Comment By: Dan (beck04vall)
Date: 2006-11-10 04:13

Message:
Logged In: YES 
user_id=1617198

I love this pluggin, i hope there will be support for bet4
and other new releases soon.  Thanks for your hard work.

----------------------------------------------------------------------

Comment By: Zan Hecht (ahecht)
Date: 2006-08-18 05:51

Message:
Logged In: YES 
user_id=627550

Great plugin. Does exactly what it says it does.

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2006-04-15 22:08

Message:
Logged In: YES 
user_id=1295605

v0.95 is the first release that uses Pango to split up
messages in a more language neutral manner.

Try it if you dare.  I am expecting a number of bug reports
with this one as I have only tested it in the en_US locale.
 Leaving info like locale/OS/Gaim version with the report
would be helpful too.

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2006-04-13 21:54

Message:
Logged In: YES 
user_id=1295605

Hah, no problem.  It was a pretty significant bug.  I'm just
glad to see others besides myself are using this plugin.  I
stuck your name in the contributors list.

There are probably going to be a couple of updates the next
few days while I have some free time.  I don't have any new
features planned except for Unicode support at some point.

In the mean time, keep the bugs/requests coming.  Thanks and
enjoy.

----------------------------------------------------------------------

Comment By: 3nvy (xx3nvyxx)
Date: 2006-04-12 02:51

Message:
Logged In: YES 
user_id=1492766

Wow! Awesome turnaround time, thanks. I barely had time to
find the bug before you fixed it. ^_^

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2006-04-12 02:15

Message:
Logged In: YES 
user_id=1295605

Good catch, I just finished struggling with that bug.  v0.91
fixes that.

Currently compiling and uploading.

----------------------------------------------------------------------

Comment By: 3nvy (xx3nvyxx)
Date: 2006-04-12 01:54

Message:
Logged In: YES 
user_id=1492766

Okay. Here's a bug for you. Type in 

<.<

Somehow it gets rid of the last two characters and puts 

<



----------------------------------------------------------------------

Comment By: Richard Laager (rlaager)
Date: 2006-04-11 17:10

Message:
Logged In: YES 
user_id=156487

I finally took a look at util.h. I assume we're talking
about gaim_markup_slice(), right? Did you read the notice
about the offsets being character offsets, not byte offsets,
and are relative to the unformatted version of str?

I've never used that function, nor have I looked at its
code. If it is broken, I'd love to see a patch. It seems to
be used in the command API (src/cmds.c).

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2006-04-11 15:04

Message:
Logged In: YES 
user_id=1295605

There we go, I upped v9 which supports proper HTML
formatting over message splits.  This version dropped the
“split around whole word options,” as I think everyone uses
it so it should probably be the default behavior.

It required a lot of changes and I have only tested it a
little, so let me know about any problems.

Thanks for the good words, and thanks for the tip rlaager. 
I am surprised I didn’t notice that function before, it is
exactly what I needed.  Unfortunately, as it is, it either
serves another purpose or is broken.  I fed it a few simple
IMHTMLized messages and asked for splits and all I got back
was some broken closing tags appended to the end of the split.

I re-wrote it, copying the general idea of how it works
(copied a helper function too), and stuck it in this plugin.
 I’ll look at it a little more and if it does turn out to be
broken I’ll submit a patch for review.

----------------------------------------------------------------------

Comment By: Richard Laager (rlaager)
Date: 2006-04-03 05:33

Message:
Logged In: YES 
user_id=156487

For what it's worth, I think there might be a function in 
Gaim's util.h that splits HTML properly. 

----------------------------------------------------------------------

Comment By: 3nvy (xx3nvyxx)
Date: 2006-04-03 03:42

Message:
Logged In: YES 
user_id=1492766

I noticed that the message splitter, when splitting pasted
conversations, it will sometimes split the tags for color,
size, etc. If you can, make it find tags and split outside
them. Other than that though, great plugin. It allows me to
laugh whenever people say: "Argh! My message is too long!
Dang AIM."

Thanks again.
- 3nvy

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-12-30 22:32

Message:
Logged In: YES 
user_id=1295605

The holidays have been pretty hectic over here, but
investigating this bug is my next priority once I get some
free time.

And if you are interested in Gaim plugin development I would
recommend first scanning the FAQ
<http://gaim.sourceforge.net/faq.php#q93>.  If you are
planning on doing it in Windows, then there is a stack of
apps you need to download and install first:
<http://gaim.sourceforge.net/win32/build.php>.

The gaim source comes with a few example plugins in the
plugins/ dir -- simple.c is the boilerplate for a plugin in
C and a good place to start.  From what I understand it is
possible to write plugins in Perl, Mono, and Python (using
PyGaim plugin), I don't know about the current state of any
of those other language bindings for Gaim myself though.

This is a start, if you have any specific questions you can
e-mail me and I'll try and help.

----------------------------------------------------------------------

Comment By: Chronosin312 (chronosin312)
Date: 2005-12-29 08:06

Message:
Logged In: YES 
user_id=1389330

Hey Ike just wanted to see if you have made any progress 
with the bug, i know that programming is a challenge, I 
just finished my visualbasic.net course at college, 
although i wouldnt really call that programming LOL. 
working with Gaim and checking around sourceforge has 
really shown me how much i might enjoy programming and i 
was just wondering if you could recommend anyway for me to 
get started writing a Gaim plug-in, is there any tutorials 
that you know of off hand that might help me out? off 
topic i know but good luck with the bug and keep up the 
great work!

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-12-20 20:21

Message:
Logged In: YES 
user_id=1295605

I updated the source for use with 2.0.0beta1 and uploaded a
pre-built win32 DLL for windows users.

I am still looking at away-related bugs.  I wasn't aware of
any away functionality this plugin interacted with.  Thanks
for bringing this to my attention and the further
correspondence.  I will have a more complete
response/solution in a few days hopefully.

----------------------------------------------------------------------

Comment By: Luke Schierer (lschiere)
Date: 2005-12-19 20:27

Message:
Logged In: YES 
user_id=28833

A new version of gaim has been released. It is likely that your
plugin will crash in the new gaim.  As per our standard policy,
we are only including plugins that we write, being unable to
maintain hundreds of plugins as we develop gaim, if you want to
continue making your plugin available, please update your plugin
and reopen it. If not updated, this will close in 14 days. 

----------------------------------------------------------------------

Comment By: Luke Schierer (lschiere)
Date: 2005-12-19 20:26

Message:
Logged In: YES 
user_id=28833

A new version of gaim has been released. It is likely that your
plugin will crash in the new gaim.  As per our standard policy,
we are only including plugins that we write, being unable to
maintain hundreds of plugins as we develop gaim, if you want to
continue making your plugin available, please update your plugin
and reopen it. If not updated, this will close in 14 days. 

----------------------------------------------------------------------

Comment By: Chronosin312 (chronosin312)
Date: 2005-12-17 07:12

Message:
Logged In: YES 
user_id=1389330

Ok well i am new to this whole bug reporting part but i am 
experiencing a problem with both the win32 prepared .dll  
and the one 0.8.150.dll listed below. I had planned to use 
this plug-in to split mainly away messages, i usually like 
to just throw up whole song lyrics but with the limits in 
place i often had to cut songs in half or edit them. So i 
intalled your plug-in, posted a long song lyrics as an 
away message and then i attempted to IM myself on a 
different account to the away screen name (both on gaim)
the bug cause gaim to completely crash. If you need any 
more information or a log file just tell me how to obtain 
it and ill be sure to post it up for you, but other then 
that great idea for a plug in and i cant wait till it 
works!

----------------------------------------------------------------------

Comment By: Ant (itchysoft_ant)
Date: 2005-10-08 12:18

Message:
Logged In: YES 
user_id=1186610

Looking good so far. No crashes or issues at all. Hopefully
that last fix sorted everything out.


Good work.



----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-10-05 04:26

Message:
Logged In: YES 
user_id=1295605

I *finally* got the crash to reproduce and I think I tracked
the bug down and fixed it.  It�s hard to tell for sure if it
was the main cause because it�s so hard to reproduce, but a
big crash bug was fixed in v0.8 either way.  You guys can
probably tell better than me.

Thanks a ton for the support on this one, itchysoft_ant and
mgilb81.  I never would have found this bug without the
feedback and reports.  I listed your names in the ChangeLog
and README files.

If there are any more problems/suggestions don�t hesitate to
post them here.

----------------------------------------------------------------------

Comment By: Mike G (mgilb81)
Date: 2005-10-04 20:47

Message:
Logged In: YES 
user_id=1318416

I FOUND OUT HOW TO MAKE THIS WORK WITH IMAGEIM AND WITHOUT
CRASHING!  I just opened up Preferences, turned off ImageIM,
IM a bot(you might not need to do this, I dont know if this
"workaround" will work without doing that or not), then turn
on ImageIM and voila.  The problem is fixed.  I dont know if
Gaim will crash if you restart it and IM someone without
using my "workaround" and Im not going to try to see if it
will or not either :P.  I hate having to open up task
manager to close down Gaim whenever I want it to close.  It
always comes up with some stupid "Illegal Operation"
message.  Stupid Windows.

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-10-04 08:25

Message:
Logged In: YES 
user_id=1295605

I am having a heck of a time trying to reproduce this crash.
 The RPT is a big help though, thank you.  I sent an e-mail
to your SF account.  The easiest way to get in touch with me
is probably through mine.  Heh, and yeah, I am usually
pretty slow to respond on #gaim, but if I catch the message
in time I'll gladly respond.  

----------------------------------------------------------------------

Comment By: Ant (itchysoft_ant)
Date: 2005-10-03 20:36

Message:
Logged In: YES 
user_id=1186610

Forgot to add, my splitter settings are,

300 characters, 1000ms delay and I am splitting around
words. Sometimes the crashes occur when I send much much
less that 300 chars, eg a simple line or url, or just type
1<enter>2<enter> etc and so on really fast.


----------------------------------------------------------------------

Comment By: Ant (itchysoft_ant)
Date: 2005-10-03 20:34

Message:
Logged In: YES 
user_id=1186610

ike_ I've tried to ping you a few times in #gaim but it
seems you're always afk. I've got a few backtraces from the
last few days that might help.

http://tinyurl.com/bswep

I've also tracked down some of your other plugins and have
been using for example /broadcast. Anywhere you and I could
chat about those?


----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-09-26 21:19

Message:
Logged In: YES 
user_id=1295605

That would be very helpful, I didn't realize there was a way
to get a backtrace for a win32 client short of installing
all the build dependencies.

I am working on the issue, I appreciate the notice about the
imageim plugin possibly conflicting, thats a good place to
start.

The splitter plugin is completely self-contained but it does
emit a lot more signals now than it used to, I think that
might be playing a role.  I'll follow up on this issue.

----------------------------------------------------------------------

Comment By: Ant (itchysoft_ant)
Date: 2005-09-26 11:39

Message:
Logged In: YES 
user_id=1186610

mgilb81:

Perhaps obtaining a backtrace RPT might help ike_ figure
this one out. Have a look at 

http://gaim.sourceforge.net/win32/#debug

Also, it might be helpful to reproduce this error while no
other plugins are loaded?


I've had some strange crashes in teh last week or so,
atfirst I thought it was message splitter but the crash
report pointed to imageim plugin. 

Of course it could be both affecting each other...


----------------------------------------------------------------------

Comment By: Mike G (mgilb81)
Date: 2005-09-25 21:28

Message:
Logged In: YES 
user_id=1318416

I am using the Windows dll version of this plugin.  My
settings are as follows:  
Letter Count:  786
Delay Time:  500 ms
And Split Around Words.

I have many plugins installed on Gaim now, so if you think
that there might be conflicting plugins here, then just tell
me and I will provide you with all of the plugins that I
have, and their corresponding settings.

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-09-25 21:17

Message:
Logged In: YES 
user_id=1295605

Yikes, thanks for the report.  I had a feeling the big
changes I have been putting in lately may lead to some
problems.  I'll spend some time trying to reproduce the
problem.  

Are you running the win32 dll?  What kind of settings do you
have set up in the plugin (split-size, delay-time)?

----------------------------------------------------------------------

Comment By: Mike G (mgilb81)
Date: 2005-09-25 20:50

Message:
Logged In: YES 
user_id=1318416

After I close out of Gaim 1.5.0 about 3 or 4 or so times,
whenever I try to messenge someone, Gaim crashes, and I have
tracked down the source of the crash to this plugin.  I had
to unenable it so I could messenge people again.  I think
that this is something that needs to be fixed ASAP. 
Especially if youre like me and you install plugins for Gaim
all the time which requires you to restart Gaim.  When I
reenabled this after unenabling it(without restarting my
computer or anything) it still crashed Gaim.  People can
send me messages and stuff, but I cant send them any
messages without Gaim crashing.  Right now this plugin will
remain disabled until a updated and hopefully less bug free
version of it comes out.  I think that this plugin will help
me out a lot when Im typing long messages to people and
stuff, which is why I hope that I can safely reenable it
when the next version comes out so I can use it.

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-09-23 23:07

Message:
Logged In: YES 
user_id=1295605

I�m surprised it worked at all for chats, I only had support
in for IM conversations.  But I can see why it could be
useful on IRC occasionally so I popped in chat support in
v0.7.  I�ll lay off the updates for a while and work on
rlaager�s suggestions.  Those are good ideas.

If anyone has any more, lay them on me.

----------------------------------------------------------------------

Comment By: Ant (itchysoft_ant)
Date: 2005-09-23 18:43

Message:
Logged In: YES 
user_id=1186610

Seems to be working ok after some intial testing. I can now
avoid being kicked from irc for excess flooding immediately,
although it does happen eventually for larger amounts of text.

Do IRC servers measure how much text you send over a certain
time (in multiple msgs) as well as in one msg? Seemed so to
me, and if so, then it looks like this tool won't have such
a bad potential for abuse.

Thank you for the effort you've put into this, the plugin
will help alot when pastebins arent an option.


----------------------------------------------------------------------

Comment By: Richard Laager (rlaager)
Date: 2005-09-23 18:11

Message:
Logged In: YES 
user_id=156487

I haven't looked at this plugin, but it sounds useful in concept. I may  
try it at some point, but I'm going to note my suggestions before I  
forget them. First, I hope you're using the Pango functions to break  
text, so that whitespace is handled properly across all languages.  
Second, it'd be nice if the size were customizable on a per-account  
basis (and since I haven't looked at this other than the text here,  
forgive me if it's already implemented). 

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-09-23 14:11

Message:
Logged In: YES 
user_id=1295605

Hah, yeah, this plugin definitely has the potential for
malicious use.  Thats probably the reason one isn�t included
with all the other default plugins.  But hopefully most gaim
users are mature enough to play nicely.

.6 is up and it has the delayed sending option.  Lemme know
if there are any problems, I haven�t tested it too thoroughly.

----------------------------------------------------------------------

Comment By: Ant (itchysoft_ant)
Date: 2005-09-23 09:46

Message:
Logged In: YES 
user_id=1186610

Been working great for me. Any chance of adding an optional
time delay between each block of text? Useful to avoid
getting kicked for flooding, although I guess such an option
might be considered a potentially evil tool...


----------------------------------------------------------------------

Comment By: Ant (itchysoft_ant)
Date: 2005-09-13 06:32

Message:
Logged In: YES 
user_id=1186610

Cool. Thanks for the follow up. Gonna install this now.

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-09-13 00:47

Message:
Logged In: YES 
user_id=1295605

Thank for the good words.  It encouraged me to get off my
butt and update the plugin a little.

v0.5 can optionally split messages while not breaking whole
words now (split at nearest whitespace < split size) by default.

This tracker page is the primary source for this plugin, I
will make sure it says most up to date.

----------------------------------------------------------------------

Comment By: Ant (itchysoft_ant)
Date: 2005-09-12 11:56

Message:
Logged In: YES 
user_id=1186610

Great plugin. Thank you!

I will be monitoring this tracker item, so please post your 
udpates here :)

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-07-22 11:56

Message:
Logged In: YES 
user_id=1295605

Quick memory allocation bug fixed, a bad one -- could cause
crashes.

----------------------------------------------------------------------

Comment By: Ike_ (ike_)
Date: 2005-07-22 00:42

Message:
Logged In: YES 
user_id=1295605

Thanks for the report, I completely forgot about aliases. 
It's fixed in v0.2.

----------------------------------------------------------------------

Comment By: Ankit (rageboy04)
Date: 2005-07-21 21:42

Message:
Logged In: YES 
user_id=1276942

You kinda screwed up the alias thing. If you specify an
alias under accounts and then you enable the message
splitter plugin, the alias you specified isn't recognized. 
Other than that, very useful and I like it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=390395&aid=1242218&group_id=235

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Gaim-plugins mailing list
[EMAIL PROTECTED]
Has you: Yes
https://lists.sourceforge.net/lists/listinfo/gaim-plugins

Reply via email to