hi :)
is it possible to skip binary files with "Find in Project"? as we have
many big files like videos and images in our projects this not only
eats up a great amount of memory but is also slow. it also doesn't
make any sense to us since we want to search within the sourcecode and
not some videos or images :). excluding those folders was a solution
for some projects but we can't do it for all of them.
regards,
oktay.
Hello,
It seems that TM is leaking memory in Find in Project (probably in
OakDocument), it is NOT visible when working with small projects, but
with bigger it grows RSIZE memory infinitely.
Steps to reproduce:
$ mate /Developer/Documentation
... then Find in Project for "test".
In Performance Monitor watch as RSIZE grows above 1GB after about one
minute.
My Mac is MacBook Pro 2.2Ghz 2GB RAM, 10.5.2.
I think it has something to do with OakDocument that is created for
all searched files in the list, also for some non-text files.
I just spotted that TM is not freeing RSIZE (nor VM) after closing
some huge binary files like .pch (VC binary) or so. (Libraries). It
may have something to do with that.
It may have something to do with my former mail about big files with
single line inside.
Currently I work with some huge C/C++ projects, and lately searching
for any file ends up with TM eating all my memory.
BTW. Can't Find in Project work in separate thread?
Like: when pressing [Find] in the Find in Project, [Find] button is
made inactive, below appears spinning wheel icon "Working...", and
below we may have [Stop] button that appears only when thread is active.
I often use this, but it hangs TM for a while, moreover it is not
possible to interrupt it.
Best regards,
--
Adam Strzelecki |: nanoant.com :|
hi,
Although I'm in no way related to the project, I'd like to inform that
the MissingDrawer plugin has been updated.
The changes are not yet significant, but the best is that the
development of that oh-so-good plugin starts again, and we can so
expect many new features coming to us!
Maybe my dreams of a 'Expand/Collapse all' option will soon come true...
URL: http://jannisleidel.com/2008/02/missingdrawer/
Regards,
XC
Hi
rather than piggybacking on my other thread, I wanted to ask another
question, namely which version control system to take for collaborative
writing projects. I am basically starting afresh, so there is no code-base
already in a certain repository format to be taken into account, and I am
planning to use it for (collaborative) writing of text, mostly MultiMarkdown
and maybe Latex if I get the hang of it.
Most people advocating Subversion emphasize that it is widely used and
rather easy to learn. As I am not planning to maintain source code in it
anyway, these points may not be very important.
It seems to me, the alternatives (Bazaar, Git, Mercurial to name a few I
have read about) have matured quite a bit and I would not want to learn a
specific system only to find out that previous users are migrating away from
it for good reasons (that I may not see right now).
So: if the requirements were:
1) up-to-date versioning
2) easy install
3) idiot friendly
4) collaboration friendly (merging of textfiles having been altered by
several authors independently should be doable; see point 3 above)
5) offline work happens (branching and merging)
6) perhaps OS-independent (in case I can convince those other co-authors)
7) existence of a bundle providing integration into Textmate would be a huge
plus (but consider that I may be satisfied with a very limited subset of
what every versioning system offers already)
8) not sure if applicable: if a visualization tool such as Changes.app for
diffing said textfiles be callable to compare versions that would be great,
too. My experience with Filemerge et al, is limited because it does not seem
to like UTF-8 very much (which I require).
what would you choose?
Thanks
Christoph
Hello all,
perhaps this is a bit off-topic so please bear with me. Some regulars on
this forum were instrumental in developing these thougths though which is
what encouraed me to post here.
I am a researcher doing some of my writing in Multimarkdown text files and
put my work on a portable harddrive which I carry home after work,
synchronize to my home computer and carry on working there. Ditto for the
reverse.
After reading a series of inspiring articles about how to use subversion
repositories for academic writers over on Practex journal I am beginning to
think that I could make better use of my resources. Here is what I plan to
do:
Go to work, read, write, take notes etc. Some of this takes place in
textfiles, some will reside XML files (Tinderbox), and some also in binary
files at the end of the day. I have access to a server that I would like to
push all my changes and new data to and then go home. From home, I would
like to pull all changes to my home computer and carry on.
1) Will the version control systems compare whole lines or do some kind of
document comparison trying to find identical blocks regardless of (soft)
line breaks?
2) what I don't know is how well this system will work for binary files,
e.g. Aperture libraries, Word files from colleagues etc. Ideally, I'd like
to just send the changed bits of files, not all files that have changed to
save bandwith and time. If something went wrong I would want to go back in
time.
I am working on a localized system (meaning non-US) in case that is
presenting a problem.
I am not afraid of the command line but I have no experience with version
control whatsoever because I was left with the impression that it was of
little use outside source code development. Although I do some reading about
subversion, git, mercurial, bazaar etc I need some guidance if I am barking
up the right tree in the first place.
I would greatly appreaciate your thoughts
Prion
Hello all,
As a long-time TextMate user I'm well aware of the issues working with
projects on remote filesystems -- I have been doing it day in and day
out for just over three years now, using different combinations of
tools. Like many of you, I've used Transmit for quick single-file
edits and MacFusion/sshfs for heavier remote work for the past year or
more, and they work well enough to be productive, but with well-known
frustrations (latency, connection resilience).
Lately I'm using ExpanDrive (http://www.magnetk.com/expandrive), which
just launched officially. Same transport (SSH/SFTP), but with very
aggressive caching and intelligent connection management under the
hood. Together, they make it *way* snappier than sshfs on even
high-latency links, and allow your mounts to stay live on finicky or
intermittent connections, even as you sleep your laptop one place and
wake it hours later on an entirely different network.
It's a from-scratch new filesystem, not just a GUI for sshfs (though
it does use the MacFUSE core), so its performance and stability are
quite unlike what you may be used to. Of particular note (and this was
a goal in development), the caching works well enough to largely
eliminate the TextMate project focus lag problems we're all so
familiar with by now, even over long-distance connections.
(Full disclosure: I am tangentially connected with this project.)
I think some of you will quite like it.
-jrk
Does anyone else experience problems when searching the java api?
Here is an example of what happens:
1. Press Control-H to open API
2. Apple-F to open find window
3. Type "String"
4. Goes to "AttributedString" in the side panel
5. Pressing the next button or Apple-G does nothing.
I have tried the Regular Expressions option, Ignore Case, and Wrap
Around. None of them seem to work.
Very frustrating to need to continuously scroll down.
Anyone have a solution, or experience the same thing?
Hello,
I've sent a mail to Allan regarding the problem, but I want to share
also this problem with all of you subscribed to the TM list. Maybe you
have also encountered this?
I'm working with few auto-generated FO (XML) files that have no line-
breaks.
You can reproduce such dummy file with:
$ cd /tmp
$ perl -e '{print "<html></html>" x 20000}' > test.html
$ mate test.html
As you see TM gonna take 100% CPU for a really long-long while until
you get syntax highlight.
Also any modification (line-break) causes TM to take again 100% CPU
for a while.
I'm aware it is rare case to work with such files, but is there any
remedy for this problem?
I have soft-wrap turned on, also using System Monitor I can see that
it is tokenizer thread that is taking the whole CPU.
Regards,
--
Adam Strzelecki |: nanoant.com :|
... am I missing something? Can't seem to find a bundle for handling
XSLT tags. Is there one?
Thought I'd ask before I started to knock one up.
R
Richard Dyce MA (Cantab.) MBCS MIET | Director
Richard Dyce Consultants Ltd.
Business Consultancy | Training | Systems | Bespoke Applications
Programming
MySQL, PHP, JavaScript, FileMaker, AppleScript Studio
Contact: Add me to your address book
Web: http://dyce.com
Bio: http://www.linkedin.com/in/rjdyce
Registered Number: 4890568
VAT Number: 825 3090 44
Registered Office
9 Friary Gardens Winchester SO23 9AF
Incorporated in England and Wales.
Confidentiality Notice
The contents of this e-mail and any attachments are intended for the
named addressee only and may be confidential. Unless you are the named
addressee or authorised to receive the e-mail of the named addressee
you may not disclose, use or copy the contents of the e-mail. If you
received the e-mail in error, please contact the sender immediately
and then delete the e-mail. Richard Dyce Consultants Ltd. does not
accept responsibility for this message and any views or opinions
contained in this e-mail are solely those of the author unless
expressly stated otherwise.
While switching from the terminal version of Mercurial to the
Mercurial bundle, I have found out that it doesn't seem to support
user authentication. While many repos do not use authentication, the
one I am working on uses authentication when pushing to the central
repo.
Am I missing something, or is it simply something that isn't supported?
Your very best,
Sangwhan