13 months agoclosing this branch before merging to default AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Tue, 05 Apr 2011 22:17:26 -0700] rev 3843
closing this branch before merging to default

13 months agoPipeline reading from disk and file parsing. Save a few file IOs and allow for more efficient disk reads. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Tue, 05 Apr 2011 21:56:32 -0700] rev 3842
Pipeline reading from disk and file parsing. Save a few file IOs and allow for more efficient disk reads.

13 months agoOne more isOnSnowLeopardOrBetter removal.
Adrian Godoroja <robotive@me.com> [Mon, 04 Apr 2011 00:09:23 +0300] rev 3841
One more isOnSnowLeopardOrBetter removal.

13 months agoFix build.
Robert Vehse [Sun, 03 Apr 2011 13:11:39 +0200] rev 3840
Fix build.

13 months agoRemove some 10.5-compatibility code.
Robert Vehse [Sun, 03 Apr 2011 12:56:17 +0200] rev 3839
Remove some 10.5-compatibility code.

13 months agoSearchKit doesn't let us search while we're flushing the index, so only fiush (in the background) when we close the search window, not immediately after we index. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 02 Apr 2011 16:35:33 -0700] rev 3838
SearchKit doesn't let us search while we're flushing the index, so only fiush (in the background) when we close the search window, not immediately after we index.

There is a potential to appear to hang on quit here (when saving large changes to the searchIndex), so we need to devise some way to message the user this is happening if it's preventing quit.

The typical case is an incremental addition to the existing search index which takes next to no time at all.

13 months agoLog indexing is less painful now, so increase the interval we save the dirty log set to disk from every 500 logs to every 2000 AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 02 Apr 2011 15:58:47 -0700] rev 3837
Log indexing is less painful now, so increase the interval we save the dirty log set to disk from every 500 logs to every 2000

13 months agoFlush the index immediately after creating it - sets up some internal things for SearchKit AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 02 Apr 2011 15:50:07 -0700] rev 3836
Flush the index immediately after creating it - sets up some internal things for SearchKit

13 months agoGuard against a condition where we keep indexing after we've passed the number of possible logs to index. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 02 Apr 2011 15:43:44 -0700] rev 3835
Guard against a condition where we keep indexing after we've passed the number of possible logs to index.

Fix crash from incorrect nil assignment to our logIndex SKIndexRef.

13 months agoRemoved back-compatibility code from AIContactListUserPictureMenuController
Adrian Godoroja <robotive@me.com> [Sat, 02 Apr 2011 23:19:57 +0300] rev 3834
Removed back-compatibility code from AIContactListUserPictureMenuController

13 months agoFix focussing of messages:
Thijs Alkemade <thijsalkemade@gmail.com> [Sat, 02 Apr 2011 12:36:58 +0200] rev 3833
Fix focussing of messages:

* Don't apply regainedFocus in 1to1 chats.
* Unset lastFocus when the focus is removed, not only when a new unfocussed message arrives.

13 months agoNow merge with the latest commit on RemoveRBSplitView. FloatingMessageWindowTextField
Thijs Alkemade <thijsalkemade@gmail.com> [Fri, 01 Apr 2011 22:58:08 +0200] rev 3832
Now merge with the latest commit on RemoveRBSplitView.

13 months agoMerged branches FloatingMessageWindowTextField and RemoveRBSplitView. FloatingMessageWindowTextField
Thijs Alkemade <thijsalkemade@gmail.com> [Fri, 01 Apr 2011 22:53:33 +0200] rev 3831
Merged branches FloatingMessageWindowTextField and RemoveRBSplitView.

Additionally, remove all code in AIMessageViewController that uses splitView_textEntryHorizontal.

13 months agoDon't block when all we want to do is ensure the SKIndexRef doesn't go away AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Fri, 01 Apr 2011 12:24:34 -0700] rev 3830
Don't block when all we want to do is ensure the SKIndexRef doesn't go away

13 months ago"mainDispatchQueue" has nothing to do with the main thread. Let's call it "defaultDispatchQueue" instead. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Fri, 01 Apr 2011 11:43:24 -0700] rev 3829
"mainDispatchQueue" has nothing to do with the main thread. Let's call it "defaultDispatchQueue" instead.

13 months agolet's use this variable. warnings--; AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Fri, 01 Apr 2011 11:40:42 -0700] rev 3828
let's use this variable. warnings--;

13 months agorename searchIndexFlushingQueue to searchIndexQueue for accuracy AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Fri, 01 Apr 2011 11:00:45 -0700] rev 3827
rename searchIndexFlushingQueue to searchIndexQueue for accuracy

13 months agoCorrection: put the main indexing loop on the same queue as index flushing, and put file IO on the ioQueue. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Fri, 01 Apr 2011 10:54:07 -0700] rev 3826
Correction: put the main indexing loop on the same queue as index flushing, and put file IO on the ioQueue.

13 months agoClean up our loop check, and put the main log indexing loop on a serial ioQueu, so we're not attempting to flush the index at the same time we're updating it. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Fri, 01 Apr 2011 10:17:12 -0700] rev 3825
Clean up our loop check, and put the main log indexing loop on a serial ioQueu, so we're not attempting to flush the index at the same time we're updating it.

13 months agoMerged with default FloatingMessageWindowTextField
Thijs Alkemade <thijsalkemade@gmail.com> [Fri, 01 Apr 2011 17:38:23 +0200] rev 3824
Merged with default

14 months agoClean up the border drawing, as all sides have the same color. Also, leave the shadow on the default color (black with 1/3 alpha, instead of light gray, it looks the same). FloatingMessageWindowTextField
Thijs Alkemade <thijsalkemade@gmail.com> [Fri, 01 Apr 2011 15:03:55 +0200] rev 3823
Clean up the border drawing, as all sides have the same color. Also, leave the shadow on the default color (black with 1/3 alpha, instead of light gray, it looks the same).

14 months agoAs requested by mathuaerknedam, also add a regainedFocus CSS class to the first message received after regaining focus.
Thijs Alkemade <thijsalkemade@gmail.com> [Fri, 01 Apr 2011 14:26:19 +0200] rev 3822
As requested by mathuaerknedam, also add a regainedFocus CSS class to the first message received after regaining focus.

14 months agoImprove the drawing of the internal shadow in the text input view. FloatingMessageWindowTextField
Thijs Alkemade <thijsalkemade@gmail.com> [Fri, 01 Apr 2011 13:02:28 +0200] rev 3821
Improve the drawing of the internal shadow in the text input view.

It now uses a NSScrollView subclass to draw the shadow. It's still not perfect (breaks when it actually needs to scroll), but should be a lot more efficient as it doesn't use CoreAnimation.

14 months agoBring the contact list's content rectangle entirely onto the screen fixing a warning.
Frank Dowsett <wixardy@adium.im> [Fri, 01 Apr 2011 03:01:24 -0400] rev 3820
Bring the contact list's content rectangle entirely onto the screen fixing a warning.

14 months agoClang doesn't use these flags.
Frank Dowsett <wixardy@adium.im> [Fri, 01 Apr 2011 02:58:04 -0400] rev 3819
Clang doesn't use these flags.

14 months agoRemove the RBSplitView Framework. RemoveRBSplitView
Frank Dowsett <wixardy@adium.im> [Fri, 01 Apr 2011 02:48:31 -0400] rev 3818
Remove the RBSplitView Framework.

14 months agoReplace RBSplitView with NSSplitViews in MessageView.nib. Hopefully it didn't remove or break any existing functionality. Fixes #15068 RemoveRBSplitView
Frank Dowsett <wixardy@adium.im> [Fri, 01 Apr 2011 02:48:28 -0400] rev 3817
Replace RBSplitView with NSSplitViews in MessageView.nib. Hopefully it didn't remove or break any existing functionality. Fixes #15068

One issue I know of: the user list's width isn't saving entirely correctly.

14 months agokeep defalut tip
Stephen Holt <sholt@adium.im> [Thu, 31 Mar 2011 21:43:28 -0700] rev 3816
keep defalut tip

14 months agoget current indexing status via atomic properties, and set text when we're done and the index is being flushed to disk so the user doesn't see "Indexing 9000000 out of 9000000 logs" for potentially minutes. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Tue, 22 Mar 2011 21:11:57 -0700] rev 3815
get current indexing status via atomic properties, and set text when we're done and the index is being flushed to disk so the user doesn't see "Indexing 9000000 out of 9000000 logs" for potentially minutes.

14 months agoHopefully less overall memory use. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Tue, 22 Mar 2011 00:14:54 -0700] rev 3814
Hopefully less overall memory use.

14 months agoThe less we use XPath, the happier I am. (Seems to be roughly a 10% improvement with no noticebale change in text output) AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Tue, 22 Mar 2011 00:14:29 -0700] rev 3813
The less we use XPath, the happier I am. (Seems to be roughly a 10% improvement with no noticebale change in text output)

14 months agoSync reopening the SKIndex with closing the index. Do this in the case that we get a call to -logContentIndex during -_closeLogIndex. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Mon, 21 Mar 2011 18:46:03 -0700] rev 3812
Sync reopening the SKIndex with closing the index. Do this in the case that we get a call to -logContentIndex during -_closeLogIndex.

14 months agoWait on the logIndexingGroup before adding new dirty chats to the set. Also, make a local copy of the dirty log set when serealizing it, just in case (we're on a background thread anyway, so it shouldn't matter.) AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Mon, 21 Mar 2011 02:11:55 -0700] rev 3811
Wait on the logIndexingGroup before adding new dirty chats to the set. Also, make a local copy of the dirty log set when serealizing it, just in case (we're on a background thread anyway, so it shouldn't matter.)

14 months agoLeaky leaky. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Mon, 21 Mar 2011 00:23:30 -0700] rev 3810
Leaky leaky.

14 months agoTODO? That's DONE! AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sun, 20 Mar 2011 20:52:19 -0700] rev 3809
TODO? That's DONE!

14 months agoWhitespace AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sun, 20 Mar 2011 18:44:56 -0700] rev 3808
Whitespace

14 months agoTwo thigs: AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sun, 20 Mar 2011 18:02:48 -0700] rev 3807
Two thigs:
* Distinguish between a user triggered (complete) reindex and a automatic indexing of new/leftover dirty logs.
* Flush our index only when the log indexing dispatch group has completed all operations.

14 months agoKeep the pipeline full, but don't be spammy with our queue dispatches. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sun, 20 Mar 2011 17:29:08 -0700] rev 3806
Keep the pipeline full, but don't be spammy with our queue dispatches.

14 months agoBlock on closing the search index before writing to it again. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 19 Mar 2011 22:36:49 -0700] rev 3805
Block on closing the search index before writing to it again.

14 months agoDon't block in uninstallPlugin AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 19 Mar 2011 22:01:38 -0700] rev 3804
Don't block in uninstallPlugin

14 months agoBuild warnings--; AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 19 Mar 2011 18:33:38 -0700] rev 3803
Build warnings--;

14 months agoFix whitespace AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 19 Mar 2011 16:55:19 -0700] rev 3802
Fix whitespace

14 months agoFix a crash when canceling a reindexing operation. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 19 Mar 2011 16:51:23 -0700] rev 3801
Fix a crash when canceling a reindexing operation.

14 months agoCleanup... AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 19 Mar 2011 12:41:46 -0700] rev 3800
Cleanup...

14 months agoAppend chat logs in the background... AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 19 Mar 2011 12:38:23 -0700] rev 3799
Append chat logs in the background...

14 months agoUpdated and refactored AILoggerPlugin. Mostly focused on log indexing for now. AILoggerWithBlocks
Stephen Holt <sholt@adium.im> [Sat, 19 Mar 2011 03:39:36 -0700] rev 3798
Updated and refactored AILoggerPlugin. Mostly focused on log indexing for now.

14 months agoMake Stockholm, minimal_mod and Renkoo show the text field nicely aligned, and with the user's icon. FloatingMessageWindowTextField
Thijs Alkemade <thijsalkemade@gmail.com> [Fri, 01 Apr 2011 02:06:46 +0200] rev 3797
Make Stockholm, minimal_mod and Renkoo show the text field nicely aligned, and with the user's icon.

14 months agoForgot to add this file. FloatingMessageWindowTextField
Thijs Alkemade <thijsalkemade@gmail.com> [Fri, 01 Apr 2011 00:11:13 +0200] rev 3796
Forgot to add this file.

14 months agoAnother iteration of the floating input field idea: FloatingMessageWindowTextField
Thijs Alkemade <thijsalkemade@gmail.com> [Fri, 01 Apr 2011 00:07:40 +0200] rev 3795
Another iteration of the floating input field idea:

* Make shadow internal. Remove the fixed border.
* Add an "inputBox" div, whose bounds are used to position the text field (doesn't reposition when it needs to yet, though).
* Make Mockie look nice by placing the image next to the text field. :)

14 months agoUseless commit to force default to branch away from FloatingMessageWindowTextField branch
Stephen Holt <sholt@adium.im> [Thu, 31 Mar 2011 10:19:36 -0700] rev 3794
Useless commit to force default to branch away from FloatingMessageWindowTextField branch

14 months agoFloating text field concept: FloatingMessageWindowTextField
Thijs Alkemade <thijsalkemade@gmail.com> [Thu, 31 Mar 2011 03:20:18 +0200] rev 3793
Floating text field concept:

* Turn off CoreAnimation for the webview. This sucked.
* Adjust width of the box depending on if the webview shows a scrollbar (still needs a -setNeedsDisplay: when needed).
* Activate the message field when the user clicks anywhere in the area.

14 months agoTurned Catfish_Man's screenshots of a floating text field for the message field into "code". FloatingMessageWindowTextField
Thijs Alkemade <thijsalkemade@gmail.com> [Thu, 31 Mar 2011 01:51:26 +0200] rev 3792
Turned Catfish_Man's screenshots of a floating text field for the message field into "code".

Mostly a proof of concept. Has still a number of issues to figure out, including scrollbars, margins and shadows.

14 months agoImage Wells for changing "User Picture" will open Image Picker to edit the image if it's too large or not of square shape (~20% off shape).
Adrian Godoroja <robotive@me.com> [Wed, 30 Mar 2011 01:29:40 +0300] rev 3791
Image Wells for changing "User Picture" will open Image Picker to edit the image if it's too large or not of square shape (~20% off shape).

14 months agoThis branch is merged in, and default is now 10.6+ too. Closing this branch. 10.6+
Thijs Alkemade <thijsalkemade@gmail.com> [Tue, 29 Mar 2011 20:43:16 +0200] rev 3790
This branch is merged in, and default is now 10.6+ too. Closing this branch.

14 months agoFix some alignments issues I introduced in the German localisation with http://hg.adium.im/adium/rev/299b2912c964.
Robert Vehse [Tue, 29 Mar 2011 04:13:18 +0200] rev 3789
Fix some alignments issues I introduced in the German localisation with http://hg.adium.im/adium/rev/299b2912c964.

14 months ago10.6 changes to projects and xcconfigs. Moving to LLVM Clang.
Adrian Godoroja <robotive@me.com> [Tue, 29 Mar 2011 00:27:47 +0300] rev 3788
10.6 changes to projects and xcconfigs. Moving to LLVM Clang.

14 months agoBackout the libjson changes in the previous commit.
Thijs Alkemade <thijsalkemade@gmail.com> [Mon, 28 Mar 2011 23:00:00 +0200] rev 3787
Backout the libjson changes in the previous commit.

I hadn't tested it well enough, the libpurple build still needs them.

14 months agoAlso changed all Dependencies to 10.6+.
Thijs Alkemade <thijsalkemade@gmail.com> [Mon, 28 Mar 2011 22:03:03 +0200] rev 3786
Also changed all Dependencies to 10.6+.

* Changed SDK to 10.6
* Removed XCode 3 compatibility stuff from build.sh
* Removed PPC

Additionally, removed libjson-glib (as it shouldn't be necessary without the Facebook prpl)

14 months agoMerged 10.6+ into default. (Goodbye Leopard, we will miss you ;), will we? :D)
Adrian Godoroja <robotive@me.com> [Mon, 28 Mar 2011 03:28:39 +0300] rev 3785
Merged 10.6+ into default. (Goodbye Leopard, we will miss you ;), will we? :D)
"Innovation distinguishes between a leader and a follower." Steve Jobs

Let's innovate and move forward. Me.

14 months agoRounded user icon in the chat window toolbar. Fixed #3757
Adrian Godoroja <robotive@me.com> [Mon, 28 Mar 2011 02:24:35 +0300] rev 3784
Rounded user icon in the chat window toolbar. Fixed #3757
Minor clean-ups.

14 months agoRemoved a duplicate reference to Sparkle.framework 10.6+
Adrian Godoroja <robotive@me.com> [Sat, 26 Mar 2011 23:23:55 +0200] rev 3783
Removed a duplicate reference to Sparkle.framework
Updated a bunch of adiumx.com URL to adium.im

14 months agoAdded ability to resize animated gifs that are too large. refs #9885 10.6+
Adrian Godoroja <robotive@me.com> [Wed, 23 Mar 2011 21:30:28 +0200] rev 3782
Added ability to resize animated gifs that are too large. refs #9885
Most gif's are still to large after resize, so a still image will be sent to the server.
!Feedback is highly wanted on this feature.
This page: http://adium.im/help/pgs/Accounts-BuddyIcons.html will need an update when 1.5 is out.

14 months agoGroup chat userlists should use the tab version of status icons, not the list version. Fixes #13838.
mathuaerknedam [Fri, 25 Mar 2011 15:53:48 -0500] rev 3781
Group chat userlists should use the tab version of status icons, not the list version. Fixes #13838.

14 months agoThe Status Icons selection menu in the appearances preferences shold use the tab version of the icons, not the list version.
mathuaerknedam [Fri, 25 Mar 2011 15:20:15 -0500] rev 3780
The Status Icons selection menu in the appearances preferences shold use the tab version of the icons, not the list version.

14 months agoContrary to 310da23db99f keys.png is still used for the password prompt. Refs #14610
Frank Dowsett <wixardy@adium.im> [Thu, 24 Mar 2011 01:44:27 -0400] rev 3779
Contrary to 310da23db99f keys.png is still used for the password prompt. Refs #14610

14 months agoBuilt-in methods woo.
Frank Dowsett <wixardy@adium.im> [Thu, 24 Mar 2011 01:44:26 -0400] rev 3778
Built-in methods woo.

14 months agoOops, this method is 10.6 only.
Thijs Alkemade <thijsalkemade@gmail.com> [Thu, 24 Mar 2011 01:14:45 +0100] rev 3777
Oops, this method is 10.6 only.

14 months agoMerged.
Thijs Alkemade <thijsalkemade@gmail.com> [Thu, 24 Mar 2011 00:35:21 +0100] rev 3776
Merged.

14 months agoForgot to actually enable the checkbox again.
Thijs Alkemade <thijsalkemade@gmail.com> [Thu, 24 Mar 2011 00:35:10 +0100] rev 3775
Forgot to actually enable the checkbox again.

14 months agoFix logging in to ICQ accounts by always using clientLogin.
Thijs Alkemade <thijsalkemade@gmail.com> [Thu, 24 Mar 2011 00:34:09 +0100] rev 3774
Fix logging in to ICQ accounts by always using clientLogin.

Also the "Use SSL" option in the ICQ account is enabled again and will turn on opportunistic_encryption in libpurple. This will use SSL on connections where it is possible, but not fail if it can't.

14 months agoEdited some labels in nibs to make life easier for translators.
Robert Vehse [Wed, 23 Mar 2011 14:07:41 +0100] rev 3773
Edited some labels in nibs to make life easier for translators.

14 months agoSome nib updates and a minor correction for the Norwegian (nb) translation. Refs #14951.
Robert Vehse [Wed, 23 Mar 2011 13:38:28 +0100] rev 3772
Some nib updates and a minor correction for the Norwegian (nb) translation. Refs #14951.

Actual translation still needs to be done for 1.4.2, I don't speak the language.

14 months agoMoved mention count stuff out of the scrollbar section.
Robby Weinberg <wildwobby@wildwobby.com> [Tue, 22 Mar 2011 13:02:11 -0500] rev 3771
Moved mention count stuff out of the scrollbar section.

14 months agoAdded lastFocus for the latest message received in a chat without focus, as requested by mathuaerknedam.
Thijs Alkemade <thijsalkemade@gmail.com> [Tue, 22 Mar 2011 18:27:53 +0100] rev 3770
Added lastFocus for the latest message received in a chat without focus, as requested by mathuaerknedam.

14 months agoAdd a dedicated page on group chat mentions following advice from mathuaerknedam. The content is also mostly his. :)
Robert Vehse [Mon, 21 Mar 2011 23:06:09 +0100] rev 3769
Add a dedicated page on group chat mentions following advice from mathuaerknedam. The content is also mostly his. :)