Re: [systemd-devel] Parent slices and resource control

2020-06-02 Thread Patrick Dimond
On Mon, Jun 01, 2020 at 12:22:03PM +0200, Lennart Poettering wrote:
> Consider this tree:
> 
> -.slice
> `- foo.slice
> |  `- miau.service
> `- bar.slice
> |  `- bar-quux.slice
> |  |  `- daemon.service
> |  |  `- otherdaemon.service
> |  `- bar-uuu.slice
> | ` rumpel.service
> `- zzz.slice
>`- zzz-yyy.slice
>   `- wuff.service
> 
> And now you turn on memory accounting in daemon.service. This would
> then propagate up the three, so you get memory accounting on all its
> parents too: bar-quux.slice, bar.slice and -.slice. And you will get
> it turned on forthe units immediately in throse, i.e. also in
> otherdaemon.service, bar-uuu.slice, foo.slice, zzz.slice. However, it
> will not be turned on in: miau.service, rumpel.service, zzz-yyy.slice
> and wuff.service, since those are neither in the path to the root
> slice nor immediately inside any of those slices.
> 
> Makes sense?
> 
> Lennart
> 
> --
> Lennart Poettering, Berlin

Yes! The diagram really helped. 

I think including a diagram like that would be helpful for others too.
I'm not sure where it should live or what the process is, but I'd be 
happy to put in the work to make that happen.

Thanks,
Pat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] Parent slices and resource control

2020-05-31 Thread Patrick Dimond
Hi,
I was reading the documentation for systemd.resource-control and came
across this sentence under accounting settings.

"Note that turning on memory accounting for one unit will also 
implicitly turn it on for all units contained in the same slice 
and for all its parent slices and the units contained therein."

What exactly is a parent slice? 

>From systemd.slice
"Slices are organized hierarchically in a tree. The name of the slice
encodes the location in the tree. The name consists of a dash-separated
series of names, which describes the path to the slice from the root
slice. The root slice is named -.slice. Example: foo-bar.slice is a
slice that is located within foo.slice, which in turn is located in the
root slice -.slice."

Does turning on accounting in one slice or service end up turning it on
for everything? Does every slice exist under the root slice?

Thanks for helping me improve my understanding,
Pat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[MediaWiki-l] Image description pages not loading

2019-04-02 Thread Adrian Dimond
I recently noticed that the image description page for images on my wiki
are not working most of the time.. sometimes they work for smaller images.
If I already have a direct link to an image I can load the image from the
server.

Anyway turns out there was a ton of extra traffic due to some russian bots
ignoring the robot.txt so I've for the time being shut down all access
except for myself but I'm still having the same problems.

I had previously done some maintenance to reduce the size of the database
but that was a couple of weeks ago and performance improved greatly as a
result until the past couple of days.

Looking at the error logs there seems to be several reoccurring errors.

Premature end of script headers: php71.cgi

Request exceeded the limit of 10 internal redirects due to probable
configuration error. Use 'LimitInternalRecursion' to increase the limit if
necessary. Use 'LogLevel debug' to get a backtrace.

Directory index forbidden by Options directive: ../wiki/images/thumb/1/


Some of these seem to have to do with permissions but permissions seem to
be fine.

Any suggestions?
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[Coworking] Building Community

2017-05-22 Thread Lisa Dimond
Hello!  My name is Lisa Dimond.  My family and I opened ecafe, a coworking 
coffeehouse, in Overland Park, KS, in October 2016.  Here's our website 
(which is a work-in-progress):  www.ecafecoffee.com.  We also have another 
website, www.visitecafe.com, which is in the process of being merged with 
the coffee one.  Originally we thought we needed to be 2 separate entities, 
but we are now presenting as one.

I mainly run the coffee shop portion of our setup, but I am starting to 
take over the coworking space as well.  I am really interested in how to 
build community in our space.  Everything I read talks about building 
community as one of the top priorities in a coworking space.  I just don't 
know where to start.  I need specific examples, please.

Do I hold workshops?  If so, how do I go about finding them?  Do I charge 
for them, or make them free?

I want to hold networking events, but don't know where to start.  I don't 
want them to be stuffy and fake; I want it to feel natural.


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


Re: [Sepsis Groups] Response to Augmentin

2016-06-21 Thread Lanna Dimond
Augmentin and Amoxicillin/clavulante has been removed from the  Antibiotic 
Monotherapy beginning with the

new Appendix C July 2016. Also removed is Gatifloxacin, no longer on the 
market.

Thank You,
Lanna




Lanna Dimond RN
Jordan Valley Medical Center
West Valley Campus
Quality / Core Measure Data Analyst
Office 801.964.3454
Fax 801.964.3545
ldim...@iasishealthcare.com




NOTICE: This email may contain PRIVILEGED and CONFIDENTIAL information and 
is 
intended only for the use of the specific individual(s) to which it is 
addressed. It may contain Protected Health Information that is privileged 
and 
confidential. Protected Health Information may be used or disclosed in 
accordance with law and you may be subject to penalties under law for 
improper 
use or further disclosure of the Protected Health Information in this 
email. If 
you are not an intended recipient of this email, you are hereby notified 
that 
any unauthorized use, dissemination or copying of this email or the 
information 
contained in it or attached to it is strictly prohibited. If you have 
received 
this email in error, please delete it and immediately notify the person 
named 
above by reply email. Thank you.



From:   phoebe atieno <pati...@yahoo.com>
To: "sepsisgroups@lists.sepsisgroups.org" 
<sepsisgroups@lists.sepsisgroups.org>
Date:   06/14/2016 08:51 AM
Subject:Re: [Sepsis Groups] Sepsisgroups Digest, Vol 208, Issue 13
Sent by:"Sepsisgroups" 
<sepsisgroups-boun...@lists.sepsisgroups.org>



If CMS only accepts IV antibiotics, why is Augumentin on the list for 
Monotherapy?

Sent from Yahoo Mail on Android

On Fri, Jun 10, 2016 at 5:39 PM, 
sepsisgroups-requ...@lists.sepsisgroups.org
<sepsisgroups-requ...@lists.sepsisgroups.org> wrote:
Send Sepsisgroups mailing list submissions to
sepsisgroups@lists.sepsisgroups.org

To subscribe or unsubscribe via the World Wide Web, visit

http://lists.sepsisgroups.org/listinfo.cgi/sepsisgroups-sepsisgroups.org

or, via email, send a message with subject or body 'help' to
sepsisgroups-requ...@lists.sepsisgroups.org

You can reach the person managing the list at
sepsisgroups-ow...@lists.sepsisgroups.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Sepsisgroups digest..."


Today's Topics:

  1. qSOFA (Thompson, Tyra)


--

Message: 1
Date: Fri, 10 Jun 2016 17:58:20 +
From: "Thompson, Tyra" <tni...@health-quest.org>
To: "sepsisgroups@lists.sepsisgroups.org"
<sepsisgroups@lists.sepsisgroups.org>
Subject: [Sepsis Groups] qSOFA
Message-ID: <2B4696B884D50A45852EC0101D3C088BDAAA7D3A@hqex2>
Content-Type: text/plain; charset="iso-8859-1"

Greetings,

Have any facilities incorporated the new Sepsis definition and guidelines 
into their practice and would you be willing to share?

What were some of your "first steps" in preparing for your transition?

Tyra Thompson, RN
Quality Management Specialist
Putnam Hospital Center
670 Stoneleigh Avenue l Carmel, NY 10512 l (845)279-5711 Extension 4027
tni...@health-quest.org
[cid:image001.png@01D1C320.24D2A750]



Health Quest has a secure e-mail policy.

To learn more about this policy and how to send and receive  confidential 
and sensitive information, click the link below.

http://userawareness.zixcorp.com/sites/index.php?b=34097e0b8324f132014f612bd48e2492=1=0


If you need assistance, please contact the Help Desk at 
hqithelpd...@health-quest.org or call 845-483-6789.
The information contained in this e-mail is intended for the use of the 
named recipient only. It may contain information that is privileged, 
confidential and exempt from disclosure under applicable law. If the 
reader of this message is not the intended recipient, you are hereby 
notified that any use, dissemination, distribution or copying of this 
communication is strictly prohibited. If you have received this 
communication in error, please notify me immediately by using your reply 
option to advise me of such error. Thank you
-- next part --
An HTML attachment was scrubbed...
URL: <
http://lists.sepsisgroups.org/pipermail/sepsisgroups-sepsisgroups.org/attachments/20160610/302b052e/attachment.htm
>
-- next part --
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 27589 bytes
Desc: image001.png
URL: <
http://lists.sepsisgroups.org/pipermail/sepsisgroups-sepsisgroups.org/attachments/20160610/302b052e/attachment.png
>

--

Subject: Digest Footer

___
Sepsisgroups mailing list
Sepsisgroups@lists.sepsisgroups.org
http://lists.sepsisgroups.org/listinfo.cgi/sepsisgroups-sepsisgroups.org


--

End of Sepsisgroups Digest, Vol 208, Issue

Re: [Sepsis Groups] source of infection

2015-12-29 Thread Lanna Dimond
The guidelines state that documentation needs to be more specific. For 
example, suspect catheter-related infection, possible leukocytosis related 


infection. Inclusion guidelines for abstraction are :Severe Sepsis, R/O 
Severe Sepsis and can also use a Differential diagnosis of Severe Sepsis.

Exclusions Guidelines for abstraction are: Sepsis, Septic, Septicemia, 
Bacteremia and infection. (retrieved from Specification Manuel)

Thank you,
Lanna



Lanna Dimond RN
Jordan Valley Medical Center
West Valley Campus
Quality / Core Measure Data Analyst
Office 801.964.3454
Fax 801.964.3545
ldim...@iasishealthcare.com




NOTICE: This email may contain PRIVILEGED and CONFIDENTIAL information and 
is 
intended only for the use of the specific individual(s) to which it is 
addressed. It may contain Protected Health Information that is privileged 
and 
confidential. Protected Health Information may be used or disclosed in 
accordance with law and you may be subject to penalties under law for 
improper 
use or further disclosure of the Protected Health Information in this 
email. If 
you are not an intended recipient of this email, you are hereby notified 
that 
any unauthorized use, dissemination or copying of this email or the 
information 
contained in it or attached to it is strictly prohibited. If you have 
received 
this email in error, please delete it and immediately notify the person 
named 
above by reply email. Thank you.



From:   "Merwin, Courtney C." <ccmer...@ejgh.org>
To: "sepsisgroups@lists.sepsisgroups.org" 
<sepsisgroups@lists.sepsisgroups.org>
Date:   12/23/2015 01:16 PM
Subject:[Sepsis Groups] source of infection
Sent by:"Sepsisgroups" 
<sepsisgroups-boun...@lists.sepsisgroups.org>



Hello all?
 
Would you consider leukocytosis as acceptable documentation of ?infection 
or source of infection?? 
 
Thanks!
 
Courtney Merwin
Quality Management
East Jefferson General Hospital
4200 Houma Blvd.
Metairie, LA  70006
504-503-5968
ccmer...@ejgh.org
 
IMPORTANT NOTICE: This message and any included attachments are from East 
Jefferson General Hospital or its Affiliates, is for the intended 
addressee(s)only, and may include Protected Health (PHI) or other 
confidential information. If you are the intended recipient, you are 
obligated to maintain it in a secure and confidential manner and 
re-disclosure without additional consent or as permitted by law is 
prohibited. If you are not the intended recipient, use of this information 
is strictly prohibited and may be unlawful. Please promptly reply to the 
sender by email and delete this message from your computer. East Jefferson 
General Hospital greatly appreciates your cooperation.
___
Sepsisgroups mailing list
Sepsisgroups@lists.sepsisgroups.org
http://lists.sepsisgroups.org/listinfo.cgi/sepsisgroups-sepsisgroups.org

___
Sepsisgroups mailing list
Sepsisgroups@lists.sepsisgroups.org
http://lists.sepsisgroups.org/listinfo.cgi/sepsisgroups-sepsisgroups.org


Re: [Sepsis Groups] Septic Shock Present

2015-11-10 Thread Lanna Dimond
You would still answer "yes" due to the criteria met. 

During one of our Webinars, it was  mentioned that no matter what the 
physician documents, if the patient meets criteria we 

continue to abstract  Severe Sepsis and Septic Shock (if criteria met).

Thanks,
Lanna





Lanna Dimond RN
Jordan Valley Medical Center
West Valley Campus
Quality / Core Measure Data Analyst
Office 801.964.3454
Fax 801.964.3545
ldim...@iasishealthcare.com




NOTICE: This email may contain PRIVILEGED and CONFIDENTIAL information and 
is 
intended only for the use of the specific individual(s) to which it is 
addressed. It may contain Protected Health Information that is privileged 
and 
confidential. Protected Health Information may be used or disclosed in 
accordance with law and you may be subject to penalties under law for 
improper 
use or further disclosure of the Protected Health Information in this 
email. If 
you are not an intended recipient of this email, you are hereby notified 
that 
any unauthorized use, dissemination or copying of this email or the 
information 
contained in it or attached to it is strictly prohibited. If you have 
received 
this email in error, please delete it and immediately notify the person 
named 
above by reply email. Thank you.



From:   "Tribuiani, Barbara" <btribui...@mercyhealth.org>
To: "'sepsisgroups@lists.sepsisgroups.org'" 
<sepsisgroups@lists.sepsisgroups.org>
Date:   11/09/2015 11:24 AM
Subject:[Sepsis Groups] Septic Shock Present
Sent by:"Sepsisgroups" 
<sepsisgroups-boun...@lists.sepsisgroups.org>



Hello All-
 
I have a patient who meets criteria for septic shock due to the initial 
lactate of 4.3 however the physicians clearly document that the patient 
has ?severe sepsis without shock? How do I answer the question ?septic 
shock present? in this case??
 
Thank you,
Barb
 
Barbara Tribuiani, RN, BSN
Quality Improvement Department
Phone: 610-237-4208
Fax: 610-237-4264
 
T Together 
E Everyone 
A Achieves
M More
 

Confidentiality Notice:
This e-mail, including any attachments is the property of Trinity Health 
and is intended for the sole use of the intended recipient(s). It may 
contain information that is privileged and confidential.  Any unauthorized 
review, use, disclosure, or distribution is prohibited. If you are not the 
intended recipient, please delete this message, and reply to the sender 
regarding the error in a separate email.
___
Sepsisgroups mailing list
Sepsisgroups@lists.sepsisgroups.org
http://lists.sepsisgroups.org/listinfo.cgi/sepsisgroups-sepsisgroups.org

___
Sepsisgroups mailing list
Sepsisgroups@lists.sepsisgroups.org
http://lists.sepsisgroups.org/listinfo.cgi/sepsisgroups-sepsisgroups.org


TCS5 bookmarks

2014-04-29 Thread Madeleine Dimond
Has anyone seen an issue with making bookmarks going from Frame 11 to 
Acrobat 11? The latest document bookmarked Units 1, 5, 6, 9, 10, 12, 
although the styles are the same in each unit. The only workaround I've 
found is that each time I run a PDF from a book, I have to go to the 
Generate Acrobat Data  Bookmarks window and do something there, even if 
it's only move a style from the Include to the Exclude side (or vice 
versa). I do save the book; so I'd think that my settings would be saved, 
but if I don't perform the ritual, I don't get the bookmarks I want. 

Does anyone have suggestions?


Regards,

Madeleine Dimond
Technical Editor, IBM Software | Cloud  Smarter Infrastructure

Phone: 1-512-680-7116
E-mail: mdim...@us.ibm.com

11301 Burnet Rd
Austin, TX 78758-3404
United States
___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Urgent 02 Bed Required for Sale in Marina Diamond 6, Ready Cash Buyer

2014-02-06 Thread Marina Dimond 6
We have ready Cash Buyer for Diamond 6, In Marina.
* 2 Bed Room Required for Sale
Call us for viewing, Deposit is ready
Call +971 55 1045 207

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


RE: Windows installation method

2013-02-10 Thread Steve Dimond
-Original Message-
From: Vangelis forthnet [mailto:northmed...@the.forthnet.gr] 
Sent: 09 February 2013 23:52
To: get_iplayer@lists.infradead.org
Subject: Re: Windows installation method

On Sat Feb 9 19:07:15 GMT 2013, Steve Dimond wrote:

Hi,

I should like to install get_iplayer on my brand new Windows laptop. 
When I installed get_iplayer before I used a program called something 
like get_iplayer_setup_latest which was linked to from 
http://www.infradead.org/get_iplayer/html/get_iplayer.html.
However, this
website is down now and I don't have the link to the program. Would 
someone please be so kind as to post the link, or if the program is no 
longer available, point me to an alternative installation method for
Windows PCs?

Many thanks,
Steve

On Sat Feb 9 22:23:35 GMT 2013, David Woodhouse wrote:

Sorry, it's another power outage in the data centre  ...
Should be back on Monday.

Hello Steve :-)
 If you're in a hurry, the webarchive has a snapshot of the official site,
dated Mar 11th 2012; this is after the time the windows installer was last
updated, now being at version 4.5 (uploaded on infradead.org on
02-Nov-2011).
Go to this URL:
http://web.archive.org/web/20120311122304/http://www.infradead.org/get_iplay
er_win/

and download get_iplayer_setup_latest.exe , which is the same as
get_iplayer_setup_4.5.exe ; this will get you the installer you're
after...
 However, this installer downloads stuff (the dependencies) from the
internet, and for this it needs the info inside the file
get_iplayer_config_latest.ini .
This is the part I'm not sure of: if that .ini resides inside the installer,
then I presume the downloading should proceed normally - however, if the
installer cheks the contents of the .ini online from infradead.org
(currently down), then no downloading will occur. In that case, you may open
the .ini in your browser from this URL:
http://web.archive.org/web/20120311053336/http://www.infradead.org/get_iplay
er_win/get_iplayer_config_latest.ini
and download the dependencies manually, using the given URLs.
You'll have to manually un-zip/un-7z the packages using 7zip (free).
However, if you are not in a hurry and don't feel particularly adventurous,
you should wait, as advised by David, till the site is properly up...

Regards.
---End Original Message---

Hi,

Thanks for the information and help. I think I'll wait until the website is
back.

Regards,
Steve

 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 7991 (20130210) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Windows installation method

2013-02-09 Thread Steve Dimond
Hi,

I should like to install get_iplayer on my brand new Windows laptop. When I
installed get_iplayer before I used a program called something like
get_iplayer_setup_latest which was linked to from
http://www.infradead.org/get_iplayer/html/get_iplayer.html. However, this
website is down now and I don't have the link to the program. Would someone
please be so kind as to post the link, or if the program is no longer
available, point me to an alternative installation method for Windows PCs?

Many thanks,
Steve

 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 7989 (20130209) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


[Ubuntu-x-swat] [Bug 693417] Re: maverick unknown screen and external monitor not detected

2011-01-12 Thread Ian Dimond
I am seeing the same problem on my Sony Vaio PCG-TR2 laptop with
external VGA monitor. The screen is duplicated at the laptop resolution
(1280 x 768) and so only fills the top part of my external LCD display,
which has a resolution of 1280x1024. Only one monitor, Unknown,
appears in monitor preferences and I can not change the resolution, as
only 1280x768 is available. Hitting detect monitors doesn't help.

The same setup worked fine some time ago when I was running Ubuntu 9.10.
I am now running Ubuntu 10.10

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.
https://bugs.launchpad.net/bugs/693417

Title:
  maverick unknown screen and external monitor not detected

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Bug 693417] Re: maverick unknown screen and external monitor not detected

2011-01-12 Thread Ian Dimond
I am seeing the same problem on my Sony Vaio PCG-TR2 laptop with
external VGA monitor. The screen is duplicated at the laptop resolution
(1280 x 768) and so only fills the top part of my external LCD display,
which has a resolution of 1280x1024. Only one monitor, Unknown,
appears in monitor preferences and I can not change the resolution, as
only 1280x768 is available. Hitting detect monitors doesn't help.

The same setup worked fine some time ago when I was running Ubuntu 9.10.
I am now running Ubuntu 10.10

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/693417

Title:
  maverick unknown screen and external monitor not detected

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 667728] [NEW] package libgdal1-1.6.0 (not installed) failed to install/upgrade: cannot access archive: No such file or directory

2010-10-28 Thread Mark Dimond
Public bug reported:

Happened when auto-updating Ubuntu

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: libgdal1-1.6.0 (not installed)
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Oct 28 12:06:45 2010
ErrorMessage: cannot access archive: No such file or directory
SourcePackage: gdal
Title: package libgdal1-1.6.0 (not installed) failed to install/upgrade: cannot 
access archive: No such file or directory

** Affects: gdal (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package lucid

-- 
package libgdal1-1.6.0 (not installed) failed to install/upgrade: cannot access 
archive: No such file or directory
https://bugs.launchpad.net/bugs/667728
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 667728] Re: package libgdal1-1.6.0 (not installed) failed to install/upgrade: cannot access archive: No such file or directory

2010-10-28 Thread Mark Dimond


-- 
package libgdal1-1.6.0 (not installed) failed to install/upgrade: cannot access 
archive: No such file or directory
https://bugs.launchpad.net/bugs/667728
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 667726] [NEW] package libhdf4-0 not installed failed to install/upgrade: cannot access archive: No such file or directory

2010-10-28 Thread Mark Dimond
Public bug reported:

Happened when auto-updating Ubuntu

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: libhdf4-0 (not installed)
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Oct 28 12:06:19 2010
ErrorMessage: cannot access archive: No such file or directory
SourcePackage: libhdf4
Title: package libhdf4-0 (not installed) failed to install/upgrade: cannot 
access archive: No such file or directory

** Affects: libhdf4 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package lucid

-- 
package libhdf4-0  not installed  failed to install/upgrade: cannot access 
archive: No such file or directory
https://bugs.launchpad.net/bugs/667726
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 667726] Re: package libhdf4-0 not installed failed to install/upgrade: cannot access archive: No such file or directory

2010-10-28 Thread Mark Dimond


-- 
package libhdf4-0  not installed  failed to install/upgrade: cannot access 
archive: No such file or directory
https://bugs.launchpad.net/bugs/667726
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 667729] [NEW] package libhdf4-0-alt not installed failed to install/upgrade: cannot access archive: No such file or directory

2010-10-28 Thread Mark Dimond
Public bug reported:

Happened when auto-updating Ubuntu

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: libhdf4-0-alt (not installed)
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Oct 28 12:06:45 2010
ErrorMessage: cannot access archive: No such file or directory
SourcePackage: libhdf4
Title: package libhdf4-0-alt (not installed) failed to install/upgrade: cannot 
access archive: No such file or directory

** Affects: libhdf4 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package lucid

-- 
package libhdf4-0-alt  not installed  failed to install/upgrade: cannot access 
archive: No such file or directory
https://bugs.launchpad.net/bugs/667729
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 667729] Re: package libhdf4-0-alt not installed failed to install/upgrade: cannot access archive: No such file or directory

2010-10-28 Thread Mark Dimond


-- 
package libhdf4-0-alt  not installed  failed to install/upgrade: cannot access 
archive: No such file or directory
https://bugs.launchpad.net/bugs/667729
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 550764] Re: [Lucid]Brother CUPS wrapper fails to change LPR driver settings

2010-10-27 Thread Ian Dimond
I have exactly the same problem in Ubuntu 10.10 with a Brother DCP-560CN
printer. Also, sudo brprintconf_dcp560cn -pt A4  works for me (thanks
Andreas).

-- 
[Lucid]Brother CUPS wrapper fails to change LPR driver settings
https://bugs.launchpad.net/bugs/550764
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


SVN certificate doesn't match

2010-09-06 Thread Al Dimond
According to this page:

http://code.google.com/p/support/wiki/SubversionFAQ#What_does_%22use_the_fingerprint_to_validate_the_certificate

The SSL certificate for SVN checkouts should be:

4B:3A:10:4F:B1:C4:2C:24:B8:F3:AB:80:15:87:D7:E7:9F:DB:48:48

I get this instead:

85:78:89:4d:68:6b:75:33:f9:21:fb:b6:de:7d:e6:0e:70:1f:98:04

Does the page need to be updated, or am I getting MITM'd? It looks
like there have been some postings to this group before, and chatter
on several projects' mailings lists about it, but no official reply.
I
let the checkout proceed but I'm not going to build or run it until I
have some idea what's going on. I guess that's bad if SVN or Windows
has a vulnerability that can be exploited by a checkout. Oh well.

 - Al Dimond

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



Madeleine R Dimond is taking part in the IBM day at the food bank.

2010-06-10 Thread Madeleine r Dimond

I will be out of the office starting  06/10/2010 and will not return until
06/11/2010.

Please contact Edu_CD_Editors or my manager, Shannon Jones, with questions.
(And be sure to donate to the food bank when you can!)

___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to fram...@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Madeleine R Dimond is taking part in the IBM day at the food bank.

2010-06-10 Thread Madeleine r Dimond

I will be out of the office starting  06/10/2010 and will not return until
06/11/2010.

Please contact Edu_CD_Editors or my manager, Shannon Jones, with questions.
(And be sure to donate to the food bank when you can!)



[Bug 513273] Re: kvm with -vga std is broken since karmic

2010-04-15 Thread Al Dimond
I care about this bug and I can test against bochs within 24 hours. I
should be using vgabios 0.6b and whatever bochs is current in Ubuntu,
right?

-- 
kvm with -vga std is broken since karmic
https://bugs.launchpad.net/bugs/513273
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 513273] Re: kvm with -vga std is broken since karmic

2010-04-15 Thread Al Dimond
Using the vgabios from Dustin's PPA, bochs from Ubuntu (I'm running a
10.4 beta, so that's 2.4.2-1ubuntu1), and the guest OS is a Debian 3.0
image from Bochs' Sourceforge page. I can run X11 at 1024x768, 24-bit
color. Can't get any higher, but that's as likely a guest-OS limitation
as anything (anyone trying to run GUI systems in Bochs is a severe
masochist). Mode switching, grayscale modes, text-graphics mode all
worked smoothly.

Also, kvm-qemu (from the command-line) is back to working (guest OS here
is Win7). I can get up to 1600x1200 there, switched between all modes
from 800x600 to 1600x1200 with no problems.

If there are any specific tests that need to be run I'd be glad to give
'em a whack.

-- 
kvm with -vga std is broken since karmic
https://bugs.launchpad.net/bugs/513273
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 513273] Re: kvm with -vga std is broken since karmic

2010-04-15 Thread Al Dimond
I care about this bug and I can test against bochs within 24 hours. I
should be using vgabios 0.6b and whatever bochs is current in Ubuntu,
right?

-- 
kvm with -vga std is broken since karmic
https://bugs.launchpad.net/bugs/513273
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 513273] Re: kvm with -vga std is broken since karmic

2010-04-15 Thread Al Dimond
Using the vgabios from Dustin's PPA, bochs from Ubuntu (I'm running a
10.4 beta, so that's 2.4.2-1ubuntu1), and the guest OS is a Debian 3.0
image from Bochs' Sourceforge page. I can run X11 at 1024x768, 24-bit
color. Can't get any higher, but that's as likely a guest-OS limitation
as anything (anyone trying to run GUI systems in Bochs is a severe
masochist). Mode switching, grayscale modes, text-graphics mode all
worked smoothly.

Also, kvm-qemu (from the command-line) is back to working (guest OS here
is Win7). I can get up to 1600x1200 there, switched between all modes
from 800x600 to 1600x1200 with no problems.

If there are any specific tests that need to be run I'd be glad to give
'em a whack.

-- 
kvm with -vga std is broken since karmic
https://bugs.launchpad.net/bugs/513273
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Audacity-cvs] audacity-src/src/toolbars SelectionBar.h, 1.10, 1.11 SelectionBar.cpp, 1.31, 1.32

2010-01-20 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23961/src/toolbars

Modified Files:
SelectionBar.h SelectionBar.cpp 
Log Message:
Fix some odd snap-to-grid behavior when selection bar is showing length.


Index: SelectionBar.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/SelectionBar.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- SelectionBar.cpp4 Jan 2010 21:51:01 -   1.31
+++ SelectionBar.cpp21 Jan 2010 02:25:05 -  1.32
@@ -85,7 +85,7 @@
 SelectionBar::SelectionBar()
 : ToolBar(SelectionBarID, _(Selection), wxT(Selection)),
   mListener(NULL), mRate(0.0), mStart(0.0), mEnd(0.0), mAudio(0.0),
-  mLeftTime(NULL), mRightTime(NULL), mAudioTime(NULL)
+  mLeftTime(NULL), mRightTime(NULL), mDummyRight(NULL), mAudioTime(NULL)
 {
 }
 
@@ -265,6 +265,10 @@
mRightTime-EnableMenu();
mainSizer-Add(mRightTime, 0, wxALIGN_CENTER_VERTICAL | wxRIGHT, 5);
 
+   // Dummy control is constructed but shown off screen
+   mDummyRight = new TimeTextCtrl(this, -1, format, 0.0, mRate,
+  wxPoint(-32000,-32000));
+
mainSizer-Add(new wxStaticLine(this, -1, wxDefaultPosition,
wxSize(1, toolbarSingle),
wxLI_VERTICAL),
@@ -374,6 +378,7 @@
// so reset pointers first.
mLeftTime =
mRightTime =
+   mDummyRight =
mAudioTime = NULL;
 
mRightEndButton =
@@ -389,6 +394,7 @@
wxString formatString = mLeftTime-GetBuiltinFormat(index);
mLeftTime-SetFormatString(formatString);
mRightTime-SetFormatString(formatString);
+   mDummyRight-SetFormatString(formatString);
mAudioTime-SetFormatString(formatString);
 
if (leftFocus) {
@@ -408,10 +414,14 @@
 {
mLeftTime-SetTimeValue(mStart);
 
-   if (mRightEndButton-GetValue())
+   if (mRightEndButton-GetValue()) {
   mRightTime-SetTimeValue(mEnd);
-   else
+  mDummyRight-SetTimeValue(mEnd - mStart);
+   }
+   else {
   mRightTime-SetTimeValue(mEnd - mStart);
+  mDummyRight-SetTimeValue(mEnd);
+   }
 
mAudioTime-SetTimeValue(mAudio);
 }
@@ -435,7 +445,7 @@
if (mRightEndButton-GetValue())
   return mRightTime-GetTimeValue();
else
-  return mRightTime-GetTimeValue() + mLeftTime-GetTimeValue();
+  return mDummyRight-GetTimeValue();
 }
 
 void SelectionBar::SetField(const wxChar *msg, int fieldNum)
@@ -463,6 +473,7 @@
   // update the TimeTextCtrls if they exist
   if (mLeftTime) mLeftTime-SetSampleRate(rate);
   if (mRightTime) mRightTime-SetSampleRate(rate);
+  if (mDummyRight) mDummyRight-SetSampleRate(rate);
   if (mAudioTime) mAudioTime-SetSampleRate(rate);
}
 }
@@ -474,6 +485,7 @@
{
   if (mLeftTime) mLeftTime-SetSampleRate(mRate);
   if (mRightTime) mRightTime-SetSampleRate(mRate);
+  if (mDummyRight) mDummyRight-SetSampleRate(mRate);
   if (mAudioTime) mAudioTime-SetSampleRate(mRate);
   if (mListener) mListener-AS_SetRate(mRate);
}

Index: SelectionBar.h
===
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/SelectionBar.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- SelectionBar.h  12 Sep 2009 06:05:41 -  1.10
+++ SelectionBar.h  21 Jan 2010 02:25:05 -  1.11
@@ -90,6 +90,8 @@
 
TimeTextCtrl   *mLeftTime;
TimeTextCtrl   *mRightTime;
+   // An un-shown control; holds whichever of end/length is not displayed
+   TimeTextCtrl   *mDummyRight;
wxRadioButton  *mRightEndButton;
wxRadioButton  *mRightLengthButton;
TimeTextCtrl   *mAudioTime;


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src TrackPanel.cpp,1.483,1.484

2010-01-20 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv29736/src

Modified Files:
TrackPanel.cpp 
Log Message:
Snap-to-time fixes, take 2. Gets rid of troublesome dummy control, doesn't
use snap manager when snapping to time.


Index: TrackPanel.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/TrackPanel.cpp,v
retrieving revision 1.483
retrieving revision 1.484
diff -u -d -r1.483 -r1.484
--- TrackPanel.cpp  31 Dec 2009 02:16:59 -  1.483
+++ TrackPanel.cpp  21 Jan 2010 06:09:34 -  1.484
@@ -1789,9 +1789,14 @@
 
if (mSnapManager)
   delete mSnapManager;
-   mSnapManager = new SnapManager(mTracks, NULL,
-  mViewInfo-zoom,
-  4); // pixel tolerance
+
+   // /SnapTo pref refers to snapping to time. Don't use the snap manager in
+   // this case
+   if (gPrefs-Read(wxT(/SnapTo), 0L) == 0) {
+  mSnapManager = new SnapManager(mTracks, NULL,
+ mViewInfo-zoom,
+ 4); // pixel tolerance
+   }
mSnapLeft = -1;
mSnapRight = -1;
 


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/toolbars SelectionBar.cpp, 1.32, 1.33 SelectionBar.h, 1.11, 1.12

2010-01-20 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv29736/src/toolbars

Modified Files:
SelectionBar.cpp SelectionBar.h 
Log Message:
Snap-to-time fixes, take 2. Gets rid of troublesome dummy control, doesn't
use snap manager when snapping to time.


Index: SelectionBar.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/SelectionBar.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- SelectionBar.cpp21 Jan 2010 02:25:05 -  1.32
+++ SelectionBar.cpp21 Jan 2010 06:09:34 -  1.33
@@ -85,7 +85,7 @@
 SelectionBar::SelectionBar()
 : ToolBar(SelectionBarID, _(Selection), wxT(Selection)),
   mListener(NULL), mRate(0.0), mStart(0.0), mEnd(0.0), mAudio(0.0),
-  mLeftTime(NULL), mRightTime(NULL), mDummyRight(NULL), mAudioTime(NULL)
+  mLeftTime(NULL), mRightTime(NULL), mAudioTime(NULL)
 {
 }
 
@@ -265,10 +265,6 @@
mRightTime-EnableMenu();
mainSizer-Add(mRightTime, 0, wxALIGN_CENTER_VERTICAL | wxRIGHT, 5);
 
-   // Dummy control is constructed but shown off screen
-   mDummyRight = new TimeTextCtrl(this, -1, format, 0.0, mRate,
-  wxPoint(-32000,-32000));
-
mainSizer-Add(new wxStaticLine(this, -1, wxDefaultPosition,
wxSize(1, toolbarSingle),
wxLI_VERTICAL),
@@ -378,7 +374,6 @@
// so reset pointers first.
mLeftTime =
mRightTime =
-   mDummyRight =
mAudioTime = NULL;
 
mRightEndButton =
@@ -394,7 +389,6 @@
wxString formatString = mLeftTime-GetBuiltinFormat(index);
mLeftTime-SetFormatString(formatString);
mRightTime-SetFormatString(formatString);
-   mDummyRight-SetFormatString(formatString);
mAudioTime-SetFormatString(formatString);
 
if (leftFocus) {
@@ -414,14 +408,10 @@
 {
mLeftTime-SetTimeValue(mStart);
 
-   if (mRightEndButton-GetValue()) {
+   if (mRightEndButton-GetValue())
   mRightTime-SetTimeValue(mEnd);
-  mDummyRight-SetTimeValue(mEnd - mStart);
-   }
-   else {
+   else
   mRightTime-SetTimeValue(mEnd - mStart);
-  mDummyRight-SetTimeValue(mEnd);
-   }
 
mAudioTime-SetTimeValue(mAudio);
 }
@@ -444,8 +434,14 @@
 {
if (mRightEndButton-GetValue())
   return mRightTime-GetTimeValue();
-   else
-  return mDummyRight-GetTimeValue();
+   else {
+  // What would be shown if we were showing the end time
+  TimeTextCtrl ttc(this, wxID_ANY, wxT(), 0.0, mRate);
+  ttc.SetFormatString(mRightTime-GetFormatString());
+  ttc.SetSampleRate(mRate);
+  ttc.SetTimeValue(mEnd);
+  return ttc.GetTimeValue();
+   }
 }
 
 void SelectionBar::SetField(const wxChar *msg, int fieldNum)
@@ -473,7 +469,6 @@
   // update the TimeTextCtrls if they exist
   if (mLeftTime) mLeftTime-SetSampleRate(rate);
   if (mRightTime) mRightTime-SetSampleRate(rate);
-  if (mDummyRight) mDummyRight-SetSampleRate(rate);
   if (mAudioTime) mAudioTime-SetSampleRate(rate);
}
 }
@@ -485,7 +480,6 @@
{
   if (mLeftTime) mLeftTime-SetSampleRate(mRate);
   if (mRightTime) mRightTime-SetSampleRate(mRate);
-  if (mDummyRight) mDummyRight-SetSampleRate(mRate);
   if (mAudioTime) mAudioTime-SetSampleRate(mRate);
   if (mListener) mListener-AS_SetRate(mRate);
}

Index: SelectionBar.h
===
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/SelectionBar.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- SelectionBar.h  21 Jan 2010 02:25:05 -  1.11
+++ SelectionBar.h  21 Jan 2010 06:09:34 -  1.12
@@ -90,8 +90,6 @@
 
TimeTextCtrl   *mLeftTime;
TimeTextCtrl   *mRightTime;
-   // An un-shown control; holds whichever of end/length is not displayed
-   TimeTextCtrl   *mDummyRight;
wxRadioButton  *mRightEndButton;
wxRadioButton  *mRightLengthButton;
TimeTextCtrl   *mAudioTime;


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/prefs DevicePrefs.cpp,1.11,1.12

2010-01-19 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/prefs
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5283/src/prefs

Modified Files:
DevicePrefs.cpp 
Log Message:


Index: DevicePrefs.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/prefs/DevicePrefs.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- DevicePrefs.cpp 7 Jan 2010 00:43:45 -   1.11
+++ DevicePrefs.cpp 20 Jan 2010 01:43:04 -  1.12
@@ -334,6 +334,10 @@
wxLogDebug(wxT(GetDefaultPlayDevice(): HostAPI index %d, name %s), index, 
wxString(apiinfo-name, wxConvLocal).c_str());
wxLogDebug(wxT(GetDefaultPlayDevice() default output %d), 
apiinfo-defaultOutputDevice);
const PaDeviceInfo* devinfo = 
Pa_GetDeviceInfo(apiinfo-defaultOutputDevice);
+   if (devinfo == NULL) {
+ wxLogDebug(wxT(GetDefaultPlayDevice() no default output device));
+ return wxString(, wxConvLocal);
+   }
wxString name(devinfo-name, wxConvLocal);
wxLogDebug(wxT(GetDefaultPlayDevice() default output device name %s), 
name.c_str());
return name;
@@ -349,6 +353,10 @@
wxLogDebug(wxT(GetDefaultRecordDevice(): HostAPI index %d, name %s), 
index, wxString(apiinfo-name, wxConvLocal).c_str());
wxLogDebug(wxT(GetDefaultRecordDevice() default input %d), 
apiinfo-defaultInputDevice);
const PaDeviceInfo* devinfo = Pa_GetDeviceInfo(apiinfo-defaultInputDevice);
+   if (devinfo == NULL) {
+ wxLogDebug(wxT(GetDefaultRecordDevice() no default input device));
+ return wxString(, wxConvLocal);
+   }
wxString name(devinfo-name, wxConvLocal);
wxLogDebug(wxT(GetDefaultRecordDevice() default input device name %s), 
name.c_str());
return name;


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src AudacityApp.cpp, 1.254, 1.255 Languages.cpp, 1.37, 1.38

2010-01-19 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7008/src

Modified Files:
AudacityApp.cpp Languages.cpp 
Log Message:
Patch from Debian/Ubuntu: honor system language, don't prompt on first run.


Index: Languages.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/Languages.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- Languages.cpp   20 Oct 2009 23:08:26 -  1.37
+++ Languages.cpp   20 Jan 2010 01:58:32 -  1.38
@@ -223,6 +223,10 @@
 
tempNames.Sort();
 
+   // Add system language
+   langNames.Add(wxT(System));
+   langCodes.Add(wxT());
+
for(j=0; jtempNames.GetCount(); j++) {
   langNames.Add(tempNames[j]);
   langCodes.Add(reverseHash[tempNames[j]]);

Index: AudacityApp.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/AudacityApp.cpp,v
retrieving revision 1.254
retrieving revision 1.255
diff -u -d -r1.254 -r1.255
--- AudacityApp.cpp 11 Nov 2009 08:40:55 -  1.254
+++ AudacityApp.cpp 20 Jan 2010 01:58:32 -  1.255
@@ -70,6 +70,7 @@
 #include GStreamerLoader.h
 #include Internat.h
 #include LangChoice.h
+#include Languages.h
 #include Prefs.h
 #include Project.h
 #include Screenshot.h
@@ -1024,9 +1025,8 @@
 
wxString lang = gPrefs-Read(wxT(/Locale/Language), wxT());
 
-   // Pop up a dialog the first time the program is run
if (lang == wxT())
-  lang = ChooseLanguage(NULL);
+  lang = GetSystemLanguageCode();
 
 #ifdef NOT_RQD
 //TIDY-ME: (CleanSpeech) Language prompt??
@@ -1038,7 +1038,6 @@
 //lda   if (lang == )
 //lda  lang = ChooseLanguage(NULL);
 #endif
-   gPrefs-Write(wxT(/Locale/Language), lang);
 
mLocale = NULL;
InitLang( lang );


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/prefs EffectsPrefs.cpp, 1.4, 1.5 GUIPrefs.cpp, 1.84, 1.85

2010-01-19 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/prefs
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7008/src/prefs

Modified Files:
EffectsPrefs.cpp GUIPrefs.cpp 
Log Message:
Patch from Debian/Ubuntu: honor system language, don't prompt on first run.


Index: EffectsPrefs.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/prefs/EffectsPrefs.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- EffectsPrefs.cpp18 Oct 2009 08:07:20 -  1.4
+++ EffectsPrefs.cpp20 Jan 2010 01:58:32 -  1.5
@@ -126,6 +126,8 @@
 
// If language has changed, we want to change it now, not on the next 
reboot.
wxString lang = gPrefs-Read(wxT(/Locale/Language), wxT());
+   if (lang == wxT())
+  lang = GetSystemLanguageCode();
wxGetApp().InitLang(lang);
 
return true;

Index: GUIPrefs.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/prefs/GUIPrefs.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- GUIPrefs.cpp18 Oct 2009 08:02:15 -  1.84
+++ GUIPrefs.cpp20 Jan 2010 01:58:33 -  1.85
@@ -113,7 +113,7 @@
 
  S.TieChoice(_(Language:),
  wxT(/Locale/Language),
- wxT(en),
+ wxT(),
  mLangNames,
  mLangCodes);
  S.SetSizeHints(mLangNames);
@@ -161,6 +161,8 @@
 
// If language has changed, we want to change it now, not on the next 
reboot.
wxString lang = gPrefs-Read(wxT(/Locale/Language), wxT());
+   if (lang == wxT())
+  lang = GetSystemLanguageCode();
wxGetApp().InitLang(lang);
 
return true;


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/prefs DevicePrefs.cpp,1.10,1.11

2010-01-06 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/prefs
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv13387/src/prefs

Modified Files:
DevicePrefs.cpp 
Log Message:
Fix more device prefs problems when there are no hosts.


Index: DevicePrefs.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/prefs/DevicePrefs.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- DevicePrefs.cpp 7 Jan 2010 00:19:30 -   1.10
+++ DevicePrefs.cpp 7 Jan 2010 00:43:45 -   1.11
@@ -359,15 +359,21 @@
ShuttleGui S(this, eIsSavingToPrefs);
PopulateOrExchange(S);
 
-   const PaDeviceInfo *info;
+   const PaDeviceInfo *info = NULL;
 
-   info = (const PaDeviceInfo *) mPlay-GetClientData(mPlay-GetSelection());
+   if (mPlay-GetCount()  0) {
+  info = (const PaDeviceInfo *) mPlay-GetClientData(
+mPlay-GetSelection());
+   }
if (info) {
   gPrefs-Write(wxT(/AudioIO/PlaybackDevice),
 DeviceName(info));
}
 
-   info = (const PaDeviceInfo *) 
mRecord-GetClientData(mRecord-GetSelection());
+   info = NULL;
+   if (mRecord-GetCount()  0) {
+  info = (const PaDeviceInfo *) 
mRecord-GetClientData(mRecord-GetSelection());
+   }
if (info) {
   gPrefs-Write(wxT(/AudioIO/RecordingDevice),
 DeviceName(info));


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/prefs DevicePrefs.cpp,1.9,1.10

2010-01-06 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/prefs
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8841/src/prefs

Modified Files:
DevicePrefs.cpp 
Log Message:
Fix a crash when we have no hosts (reported on mailing list by David Bailes)


Index: DevicePrefs.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/prefs/DevicePrefs.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- DevicePrefs.cpp 16 Nov 2009 17:51:53 -  1.9
+++ DevicePrefs.cpp 7 Jan 2010 00:19:30 -   1.10
@@ -158,6 +158,10 @@
 
 void DevicePrefs::OnHost(wxCommandEvent  e)
 {
+   // Bail if we have no hosts
+   if (mHostNames.size()  1)
+  return;
+
// Find the index for the host API selected
int index = -1;
wxString apiName = mHostNames[mHost-GetCurrentSelection()];


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src configure.in, 1.151, 1.152 configure, 1.182, 1.183

2009-12-12 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17402

Modified Files:
configure.in configure 
Log Message:
Add LIBS to fix linking with new gold linker


Index: configure
===
RCS file: /cvsroot/audacity/audacity-src/configure,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -d -r1.182 -r1.183
--- configure   7 Nov 2009 12:26:54 -   1.182
+++ configure   12 Dec 2009 18:43:59 -  1.183
@@ -1,18 +1,20 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63.
+# Generated by GNU Autoconf 2.64.
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
+# Foundation, Inc.
+#
 # This configure script is free software; the Free Software Foundation
[...9763 lines suppressed...]
+  { $as_echo $as_me:${as_lineno-$LINENO}: running $SHELL 
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file 
--srcdir=$ac_srcdir 5
 $as_echo $as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args 
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir 6;}
   # The eval makes quoting arguments work.
   eval \$SHELL \\$ac_sub_configure\ $ac_sub_configure_args \
   --cache-file=\\$ac_sub_cache_file\ --srcdir=\\$ac_srcdir\ ||
-   { { $as_echo $as_me:$LINENO: error: $ac_sub_configure failed for 
$ac_dir 5
-$as_echo $as_me: error: $ac_sub_configure failed for $ac_dir 2;}
-   { (exit 1); exit 1; }; }
+   as_fn_error $ac_sub_configure failed for $ac_dir $LINENO 5
 fi
 
 cd $ac_popdir
   done
 fi
 if test -n $ac_unrecognized_opts  test $enable_option_checking != no; 
then
-  { $as_echo $as_me:$LINENO: WARNING: unrecognized options: 
$ac_unrecognized_opts 5
+  { $as_echo $as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: 
$ac_unrecognized_opts 5
 $as_echo $as_me: WARNING: unrecognized options: $ac_unrecognized_opts 2;}
 fi
 

Index: configure.in
===
RCS file: /cvsroot/audacity/audacity-src/configure.in,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- configure.in13 Jul 2009 19:40:11 -  1.151
+++ configure.in12 Dec 2009 18:43:59 -  1.152
@@ -528,24 +528,32 @@
   CONFIGHEADER=configwin.h
 
   AC_DEFINE(__CYGWIN__,1,[We're using cygwin])
+  dnl ' (end endless string in vim)
   AC_DEFINE(_FILE_OFFSET_BITS,32,[Placeholder for large file support])
 
   AFTERBUILD=
   ;;
 
*)
-  dnl Unix OSS configuration
+  dnl Unix configuration
   CONFIGHEADER=configunix.h
   AFTERBUILD=
   EXTRAINSTALLTARGETS=$EXTRAINSTALLTARGETS install-extra-data
   EXTRAUNINSTALLTARGETS=$EXTRAUNINSTALLTARGETS uninstall-extra-data
 
+  dnl On Unix we always use dlopen
+  AC_SEARCH_LIBS([dlopen], [dl])
+  if [[ $ac_cv_search_dlopen = no ]]; then
+ AC_MSG_ERROR(dlopen not found, required by Audacity)
+  fi
+
   AC_SUBST(HAVE_GTK)
   PKG_CHECK_MODULES(GTK, gtk+-2.0, have_gtk=yes, have_gtk=no)
   if [[ $have_gtk = yes ]]
   then
  AC_DEFINE(HAVE_GTK, 1, [Define if GTK is available])
  CPPFLAGS=$CPPFLAGS $GTK_CFLAGS
+ LIBS=$LIBS $GTK_LIBS
   fi
;;
 esac


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/effects Effect.cpp, 1.85, 1.86 Effect.h, 1.52, 1.53

2009-12-12 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/effects
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6459/src/effects

Modified Files:
Effect.cpp Effect.h 
Log Message:
Fix problem with adding labels to existing label tracks from Nyquist
(http://n2.nabble.com/bug-writing-labels-from-Nyquist-td4077216.html#a4080809).


Index: Effect.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/effects/Effect.cpp,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- Effect.cpp  16 Aug 2009 14:44:20 -  1.85
+++ Effect.cpp  12 Dec 2009 23:47:37 -  1.86
@@ -280,6 +280,13 @@
}
 }
 
+void Effect::AddToOutputTracks(Track *t)
+{
+   mOutputTracks-Add(t);
+   mIMap.Add(NULL);
+   mOMap.Add(t);
+}
+
 // If bGoodResult, replace mTracks tracks with successfully processed 
mOutputTracks copies.
 // Else clear and delete mOutputTracks copies.
 void Effect::ReplaceProcessedTracks(const bool bGoodResult)
@@ -308,7 +315,10 @@
   // If tracks were removed from mOutputTracks, then there will be
   // tracks in the map that must be removed from mTracks.
   while (i  cnt  mOMap[i] != o) {
- mTracks-Remove((Track *)mIMap[i], true);
+ Track *t = (Track *) mIMap[i];
+ if (t) {
+mTracks-Remove(t, true);
+ }
  i++;
   }
 
@@ -318,24 +328,36 @@
   // Remove the track from the output list...don't delete it
   x = iterOut.RemoveCurrent(false);
 
-  // Replace mTracks entry with the new track...don't delete original track
   Track *t = (Track *) mIMap[i];
-  mTracks-Replace(t, o, false);
-
-  // Swap the wavecache track the ondemand task uses, since now the new
-  // one will be kept in the project
-  if (ODManager::IsInstanceCreated()) {
- ODManager::Instance()-ReplaceWaveTrack((WaveTrack *)t, (WaveTrack 
*)o);
+  if (t == NULL)
+  {
+ // This track is a new addition to output tracks; add it to mTracks
+ mTracks-Add(o);
   }
+  else
+  {
+ // Replace mTracks entry with the new track
+ mTracks-Replace(t, o, false);
 
-  // No longer need the original track
-  delete t;
+ // Swap the wavecache track the ondemand task uses, since now the new
+ // one will be kept in the project
+ if (ODManager::IsInstanceCreated()) {
+ODManager::Instance()-ReplaceWaveTrack((WaveTrack *)t,
+(WaveTrack *)o);
+ }
+
+ // No longer need the original track
+ delete t;
+  }
}
 
// If tracks were removed from mOutputTracks, then there may be tracks
// left at the end of the map that must be removed from mTracks.
while (i  cnt) {
-  mTracks-Remove((Track *)mIMap[i], true);
+  Track *t = (Track *) mIMap[i];
+  if (t) {
+ mTracks-Remove((Track *)mIMap[i], true);
+  }
   i++;
}
 

Index: Effect.h
===
RCS file: /cvsroot/audacity/audacity-src/src/effects/Effect.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- Effect.h16 Aug 2009 14:44:20 -  1.52
+++ Effect.h12 Dec 2009 23:47:37 -  1.53
@@ -252,12 +252,15 @@
// Use these two methods to copy the input tracks to mOutputTracks, if 
// doing the processing on them, and replacing the originals only on 
success (and not cancel).
void CopyInputTracks(int trackType = Track::Wave);
-   
+
// If bGoodResult, replace mWaveTracks tracks in mTracks with successfully 
processed 
// mOutputTracks copies, get rid of old mWaveTracks, and set mWaveTracks to 
mOutputTracks. 
// Else clear and delete mOutputTracks copies.
void ReplaceProcessedTracks(const bool bGoodResult);
 
+   // Use this to append a new output track.
+   void AddToOutputTracks(Track *t);
+
  // Used only by the base Effect class
  //
  private:


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/effects/nyquist Nyquist.cpp, 1.86, 1.87

2009-12-12 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/effects/nyquist
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6459/src/effects/nyquist

Modified Files:
Nyquist.cpp 
Log Message:
Fix problem with adding labels to existing label tracks from Nyquist
(http://n2.nabble.com/bug-writing-labels-from-Nyquist-td4077216.html#a4080809).


Index: Nyquist.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/effects/nyquist/Nyquist.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- Nyquist.cpp 4 Nov 2009 02:04:46 -   1.86
+++ Nyquist.cpp 12 Dec 2009 23:47:38 -  1.87
@@ -695,7 +695,7 @@
   unsigned int l;
   LabelTrack *ltrack = NULL;
 
-  TrackListIterator iter(mTracks);
+  TrackListIterator iter(mOutputTracks);
   for (Track *t = iter.First(); t; t = iter.Next()) {
  if (t-GetKind() == Track::Label) {
 ltrack = (LabelTrack *)t;
@@ -705,7 +705,7 @@
   
   if (!ltrack) {
  ltrack = mFactory-NewLabelTrack();
- mTracks-Add((Track *)ltrack);
+ this-AddToOutputTracks((Track *)ltrack);
   }
 
   for (l = 0; l  numLabels; l++) {


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src Makefile.in,1.169,1.170

2009-12-11 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25907/src

Modified Files:
Makefile.in 
Log Message:
Fix additional Linux errors and Makefile.in.


Index: Makefile.in
===
RCS file: /cvsroot/audacity/audacity-src/src/Makefile.in,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -d -r1.169 -r1.170
--- Makefile.in 31 Oct 2009 15:24:21 -  1.169
+++ Makefile.in 11 Dec 2009 21:53:30 -  1.170
@@ -125,6 +125,7 @@
commands/CommandType.o \
commands/ExecMenuCommand.o \
commands/GetAllMenuCommands.o \
+   commands/GetProjectInfoCommand.o \
commands/GetTrackInfoCommand.o \
commands/HelpCommand.o \
commands/ImportExportCommands.o \
@@ -135,6 +136,7 @@
commands/ScreenshotCommand.o \
commands/ScriptCommandRelay.o \
commands/SelectCommand.o \
+   commands/SetProjectInfoCommand.o \
commands/SetTrackInfoCommand.o \
effects/Effect.o \
effects/Generator.o \


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/commands GetProjectInfoCommand.cpp, 1.2, 1.3 GetProjectInfoCommand.h, 1.1, 1.2 GetTrackInfoCommand.cpp, 1.3, 1.4 SetProjectInfoCommand.h, 1.1, 1.2 Validators.h, 1.3, 1.

2009-12-11 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/commands
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25907/src/commands

Modified Files:
GetProjectInfoCommand.cpp GetProjectInfoCommand.h 
GetTrackInfoCommand.cpp SetProjectInfoCommand.h Validators.h 
Log Message:
Fix additional Linux errors and Makefile.in.


Index: GetProjectInfoCommand.h
===
RCS file: /cvsroot/audacity/audacity-src/src/commands/GetProjectInfoCommand.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- GetProjectInfoCommand.h 11 Dec 2009 19:09:34 -  1.1
+++ GetProjectInfoCommand.h 11 Dec 2009 21:53:30 -  1.2
@@ -18,7 +18,7 @@
 
 #include Command.h
 #include CommandType.h
-
+#include ../Track.h
 
 class GetProjectInfoCommandType : public CommandType
 {

Index: GetTrackInfoCommand.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/commands/GetTrackInfoCommand.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- GetTrackInfoCommand.cpp 11 Dec 2009 21:15:59 -  1.3
+++ GetTrackInfoCommand.cpp 11 Dec 2009 21:53:31 -  1.4
@@ -57,9 +57,9 @@
 void GetTrackInfoCommand::SendBooleanStatus(bool boolValue)
 {
if(boolValue)
-  Status(_(1));  // in C# we can say boolValue.ToString();
+  Status(wxT(1));
else
-  Status(_(0));
+  Status(wxT(0));
 }
 
 

Index: SetProjectInfoCommand.h
===
RCS file: /cvsroot/audacity/audacity-src/src/commands/SetProjectInfoCommand.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- SetProjectInfoCommand.h 11 Dec 2009 19:09:35 -  1.1
+++ SetProjectInfoCommand.h 11 Dec 2009 21:53:31 -  1.2
@@ -19,6 +19,9 @@
 #include Command.h
 #include CommandType.h
 
+// Forward decls
+class Track;
+class TrackList;
 
 class SetProjectInfoCommandType : public CommandType
 {

Index: GetProjectInfoCommand.cpp
===
RCS file: 
/cvsroot/audacity/audacity-src/src/commands/GetProjectInfoCommand.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- GetProjectInfoCommand.cpp   11 Dec 2009 21:15:59 -  1.2
+++ GetProjectInfoCommand.cpp   11 Dec 2009 21:53:30 -  1.3
@@ -141,9 +141,9 @@
while (trk)
{
   if( (this-*functPtrToGetter)(trk))// Function Pointer to the 
desired parameter to Test
- boolValueStr.Append(_(1),1);
+ boolValueStr.Append(wxT(1),1);
   else
- boolValueStr.Append(_(0),1);
+ boolValueStr.Append(wxT(0),1);
   trk = iter.Next();
}
Status(boolValueStr);

Index: Validators.h
===
RCS file: /cvsroot/audacity/audacity-src/src/commands/Validators.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Validators.h11 Dec 2009 18:58:05 -  1.3
+++ Validators.h11 Dec 2009 21:53:31 -  1.4
@@ -149,7 +149,7 @@
   if (!v.Convert(val)) 
  return false;
   SetConverted(val);   
-  for(int i=0; i != val.Len(); i++)
+  for(unsigned int i=0; i != val.Len(); i++)
  if( val[i] != '0'  val[i] != '1'  val[i] != 'x'  val[i] != 'X')
 return false;
   return true;


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src AudioIO.cpp,1.240,1.241

2009-12-09 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31919/src

Modified Files:
AudioIO.cpp 
Log Message:
Fix for race condition affecting sound-activated recording


Index: AudioIO.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.240
retrieving revision 1.241
diff -u -d -r1.240 -r1.241
--- AudioIO.cpp 4 Dec 2009 03:24:59 -   1.240
+++ AudioIO.cpp 10 Dec 2009 02:26:44 -  1.241
@@ -3003,7 +3003,7 @@
}  // end recording VU meter update
 
// Stop recording if 'silence' is detected
-   if(gAudioIO-mPauseRec  inputBuffer) {
+   if(gAudioIO-mPauseRec  inputBuffer  gAudioIO-mInputMeter) {
   if(gAudioIO-mInputMeter-GetMaxPeak()  gAudioIO-mSilenceLevel ) {
  if(!gAudioIO-IsPaused()) {
 AudacityProject *p = GetActiveProject();


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] lib-src/libnyquist/nyquist/cmt midifns.c, 1.2, 1.3 userio.c, 1.2, 1.3

2009-12-07 Thread Al Dimond
Update of /cvsroot/audacity/lib-src/libnyquist/nyquist/cmt
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31891/lib-src/libnyquist/nyquist/cmt

Modified Files:
midifns.c userio.c 
Log Message:
sys/resource.h should only be included on unix


Index: midifns.c
===
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyquist/cmt/midifns.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- midifns.c   6 Dec 2009 01:57:25 -   1.2
+++ midifns.c   8 Dec 2009 01:21:19 -   1.3
@@ -22,9 +22,9 @@
 */
 
 #include switches.h
-#include sys/resource.h
 
 #ifdef UNIX
+#include sys/resource.h
 #include sys/param.h
 #ifndef OPEN_MAX
 /* this is here for compiling the UNIX version under AIX. This is a BSDism */

Index: userio.c
===
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyquist/cmt/userio.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- userio.c6 Dec 2009 01:57:25 -   1.2
+++ userio.c8 Dec 2009 01:21:19 -   1.3
@@ -70,7 +70,6 @@
 */
 
 #include switches.h
-#include sys/resource.h
 
 #include stdio.h
 #include string.h
@@ -134,6 +133,7 @@
 
 #ifdef UNIX
 #include sys/param.h
+#include sys/resource.h
 #include cmtio.h
 #ifdef _IBMR2
 #define NBBY 8


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] lib-src/libnyquist hurd-nyquist.patch,1.1,1.2

2009-12-07 Thread Al Dimond
Update of /cvsroot/audacity/lib-src/libnyquist
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31891/lib-src/libnyquist

Modified Files:
hurd-nyquist.patch 
Log Message:
sys/resource.h should only be included on unix


Index: hurd-nyquist.patch
===
RCS file: /cvsroot/audacity/lib-src/libnyquist/hurd-nyquist.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- hurd-nyquist.patch  6 Dec 2009 01:57:25 -   1.1
+++ hurd-nyquist.patch  8 Dec 2009 01:21:18 -   1.2
@@ -1,23 +1,18 @@
-? .deps
-? Makefile
-? config.log
-? config.status
-? hurd.patch
 Index: nyquist/cmt/midifns.c
 ===
 RCS file: /cvsroot/audacity/lib-src/libnyquist/nyquist/cmt/midifns.c,v
 retrieving revision 1.1
 diff -u -r1.1 midifns.c
 --- nyquist/cmt/midifns.c  29 Jan 2009 18:04:20 -  1.1
-+++ nyquist/cmt/midifns.c  6 Dec 2009 01:48:20 -
-@@ -22,6 +22,7 @@
- */
- 
 nyquist/cmt/midifns.c  8 Dec 2009 01:19:17 -
+@@ -24,6 +24,7 @@
  #include switches.h
-+#include sys/resource.h
  
  #ifdef UNIX
++#include sys/resource.h
  #include sys/param.h
+ #ifndef OPEN_MAX
+ /* this is here for compiling the UNIX version under AIX. This is a BSDism */
 @@ -376,6 +377,7 @@
  struct timeval unix_timeout;
  struct timeval *waitspec = NULL;
@@ -78,15 +73,15 @@
 retrieving revision 1.1
 diff -u -r1.1 userio.c
 --- nyquist/cmt/userio.c   29 Jan 2009 18:04:21 -  1.1
-+++ nyquist/cmt/userio.c   6 Dec 2009 01:48:20 -
-@@ -70,6 +70,7 @@
- */
 nyquist/cmt/userio.c   8 Dec 2009 01:19:17 -
+@@ -133,6 +133,7 @@
  
- #include switches.h
+ #ifdef UNIX
+ #include sys/param.h
 +#include sys/resource.h
- 
- #include stdio.h
- #include string.h
+ #include cmtio.h
+ #ifdef _IBMR2
+ #define NBBY 8
 @@ -1205,6 +1206,7 @@
  #endif /* !UNIX_MACH */
  #endif


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] lib-src/libnyquist hurd-nyquist.patch,NONE,1.1

2009-12-05 Thread Al Dimond
Update of /cvsroot/audacity/lib-src/libnyquist
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26616/libnyquist

Added Files:
hurd-nyquist.patch 
Log Message:
Benjamin Drung's patch allowing libnyquist to build on HURD.


--- NEW FILE: hurd-nyquist.patch ---
? .deps
? Makefile
? config.log
? config.status
? hurd.patch
Index: nyquist/cmt/midifns.c
===
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyquist/cmt/midifns.c,v
retrieving revision 1.1
diff -u -r1.1 midifns.c
--- nyquist/cmt/midifns.c   29 Jan 2009 18:04:20 -  1.1
+++ nyquist/cmt/midifns.c   6 Dec 2009 01:48:20 -
@@ -22,6 +22,7 @@
 */
 
 #include switches.h
+#include sys/resource.h
 
 #ifdef UNIX
 #include sys/param.h
@@ -376,6 +377,7 @@
 struct timeval unix_timeout;
 struct timeval *waitspec = NULL;
 fd_set readfds;
+struct rlimit file_limit;
 
 FD_ZERO(readfds);
 FD_SET(MI_CONNECTION(midiconn), readfds);
@@ -387,7 +389,8 @@
 unix_timeout.tv_usec = (timeout - (unix_timeout.tv_sec * 1000)) * 1000;
 waitspec = unix_timeout;
 }
-select(NOFILE+1, readfds, 0, 0, waitspec);
+getrlimit(RLIMIT_NOFILE, file_limit);
+select(file_limit.rlim_max+1, readfds, 0, 0, waitspec);
 return;
 }
 #else /* !UNIX_ITC */
@@ -424,6 +427,7 @@
 {
 struct timeval unix_timeout;
 struct timeval *waitspec = NULL;
+struct rlimit file_limit;
 
 if (timeout = 0) {
 timeout -= gettime();   /* convert to millisecond delay */
@@ -431,7 +435,8 @@
 /* remainder become microsecs: */
 unix_timeout.tv_usec = (timeout - (unix_timeout.tv_sec * 1000)) * 1000;
 waitspec = unix_timeout;
-select(NOFILE+1, 0, 0, 0, waitspec);
+getrlimit(RLIMIT_NOFILE, file_limit);
+select(file_limit.rlim_max+1, 0, 0, 0, waitspec);
 } else {
 int c = getc(stdin);
 ungetc(c, stdin);
@@ -445,6 +450,7 @@
 struct timeval unix_timeout;
 struct timeval *waitspec = NULL;
 int readfds = 1  IOinputfd;
+struct rlimit file_limit;
 
 if (timeout = 0) {
 timeout -= gettime();   /* convert to millisecond delay */
@@ -453,7 +459,8 @@
 unix_timeout.tv_usec = (timeout - (unix_timeout.tv_sec * 1000)) * 1000;
 waitspec = unix_timeout;
 }
-select(NOFILE+1, readfds, 0, 0, waitspec);
+getrlimit(RLIMIT_NOFILE, file_limit);
+select(file_limit.rlim_max+1, readfds, 0, 0, waitspec);
 return;
 }
 #endif /* BUFFERED_SYNCHRONOUS_INPUT */
Index: nyquist/cmt/userio.c
===
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyquist/cmt/userio.c,v
retrieving revision 1.1
diff -u -r1.1 userio.c
--- nyquist/cmt/userio.c29 Jan 2009 18:04:21 -  1.1
+++ nyquist/cmt/userio.c6 Dec 2009 01:48:20 -
@@ -70,6 +70,7 @@
 */
 
 #include switches.h
+#include sys/resource.h
 
 #include stdio.h
 #include string.h
@@ -1205,6 +1206,7 @@
 #endif /* !UNIX_MACH */
 #endif
 char c;
+struct rlimit file_limit;
 
 if (abort_flag == ABORT_LEVEL) return ABORT_CHAR;
 if (abort_flag == BREAK_LEVEL) return BREAK_CHAR;
@@ -1233,7 +1235,8 @@
 FD_ZERO(readfds);
 FD_SET(IOinputfd, readfds);
 gflush();
-select(NOFILE+1, readfds, 0, 0, NULL);
+getrlimit(RLIMIT_NOFILE, file_limit);
+select(file_limit.rlim_max+1, readfds, 0, 0, NULL);
 #endif /* !UNIX_MACH */
 #endif /* ifdef UNIX */
 }


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] lib-src/libnyquist/nyquist/cmt midifns.c, 1.1, 1.2 userio.c, 1.1, 1.2

2009-12-05 Thread Al Dimond
Update of /cvsroot/audacity/lib-src/libnyquist/nyquist/cmt
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26616/libnyquist/nyquist/cmt

Modified Files:
midifns.c userio.c 
Log Message:
Benjamin Drung's patch allowing libnyquist to build on HURD.


Index: midifns.c
===
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyquist/cmt/midifns.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- midifns.c   29 Jan 2009 18:04:20 -  1.1
+++ midifns.c   6 Dec 2009 01:57:25 -   1.2
@@ -22,6 +22,7 @@
 */
 
 #include switches.h
+#include sys/resource.h
 
 #ifdef UNIX
 #include sys/param.h
@@ -376,6 +377,7 @@
 struct timeval unix_timeout;
 struct timeval *waitspec = NULL;
 fd_set readfds;
+struct rlimit file_limit;
 
 FD_ZERO(readfds);
 FD_SET(MI_CONNECTION(midiconn), readfds);
@@ -387,7 +389,8 @@
 unix_timeout.tv_usec = (timeout - (unix_timeout.tv_sec * 1000)) * 1000;
 waitspec = unix_timeout;
 }
-select(NOFILE+1, readfds, 0, 0, waitspec);
+getrlimit(RLIMIT_NOFILE, file_limit);
+select(file_limit.rlim_max+1, readfds, 0, 0, waitspec);
 return;
 }
 #else /* !UNIX_ITC */
@@ -424,6 +427,7 @@
 {
 struct timeval unix_timeout;
 struct timeval *waitspec = NULL;
+struct rlimit file_limit;
 
 if (timeout = 0) {
 timeout -= gettime();   /* convert to millisecond delay */
@@ -431,7 +435,8 @@
 /* remainder become microsecs: */
 unix_timeout.tv_usec = (timeout - (unix_timeout.tv_sec * 1000)) * 1000;
 waitspec = unix_timeout;
-select(NOFILE+1, 0, 0, 0, waitspec);
+getrlimit(RLIMIT_NOFILE, file_limit);
+select(file_limit.rlim_max+1, 0, 0, 0, waitspec);
 } else {
 int c = getc(stdin);
 ungetc(c, stdin);
@@ -445,6 +450,7 @@
 struct timeval unix_timeout;
 struct timeval *waitspec = NULL;
 int readfds = 1  IOinputfd;
+struct rlimit file_limit;
 
 if (timeout = 0) {
 timeout -= gettime();   /* convert to millisecond delay */
@@ -453,7 +459,8 @@
 unix_timeout.tv_usec = (timeout - (unix_timeout.tv_sec * 1000)) * 1000;
 waitspec = unix_timeout;
 }
-select(NOFILE+1, readfds, 0, 0, waitspec);
+getrlimit(RLIMIT_NOFILE, file_limit);
+select(file_limit.rlim_max+1, readfds, 0, 0, waitspec);
 return;
 }
 #endif /* BUFFERED_SYNCHRONOUS_INPUT */

Index: userio.c
===
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyquist/cmt/userio.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- userio.c29 Jan 2009 18:04:21 -  1.1
+++ userio.c6 Dec 2009 01:57:25 -   1.2
@@ -70,6 +70,7 @@
 */
 
 #include switches.h
+#include sys/resource.h
 
 #include stdio.h
 #include string.h
@@ -1205,6 +1206,7 @@
 #endif /* !UNIX_MACH */
 #endif
 char c;
+struct rlimit file_limit;
 
 if (abort_flag == ABORT_LEVEL) return ABORT_CHAR;
 if (abort_flag == BREAK_LEVEL) return BREAK_CHAR;
@@ -1233,7 +1235,8 @@
 FD_ZERO(readfds);
 FD_SET(IOinputfd, readfds);
 gflush();
-select(NOFILE+1, readfds, 0, 0, NULL);
+getrlimit(RLIMIT_NOFILE, file_limit);
+select(file_limit.rlim_max+1, readfds, 0, 0, NULL);
 #endif /* !UNIX_MACH */
 #endif /* ifdef UNIX */
 }


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] lib-src audacity-patches.txt,1.46,1.47

2009-12-05 Thread Al Dimond
Update of /cvsroot/audacity/lib-src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26616

Modified Files:
audacity-patches.txt 
Log Message:
Benjamin Drung's patch allowing libnyquist to build on HURD.


Index: audacity-patches.txt
===
RCS file: /cvsroot/audacity/lib-src/audacity-patches.txt,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- audacity-patches.txt22 Aug 2009 20:16:37 -  1.46
+++ audacity-patches.txt6 Dec 2009 01:57:25 -   1.47
@@ -74,6 +74,8 @@
 Digital Audio scripting language, with our own library interface added to it
 kFreeBSD-nyquist.patch Patch from Benjamin Drung to build nyquist on
kFreeBSD. Asked him to send it 
upstream 2009/08/22
+hurd-nyquist.patch  Patch from Benjamin Drung to build nyquist on HURD.
+Asked him to send it upstream 2009/12/05.
 
 libogg
 --


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src Audacity.h,1.73,1.74

2009-12-04 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15923/src

Modified Files:
Audacity.h 
Log Message:
Eliminate insane number of compile warnings.


Index: Audacity.h
===
RCS file: /cvsroot/audacity/audacity-src/src/Audacity.h,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- Audacity.h  3 Dec 2009 08:15:05 -   1.73
+++ Audacity.h  5 Dec 2009 06:40:41 -   1.74
@@ -20,24 +20,27 @@
 // Set to 0 for a release version and 1 for a beta version
 #define IS_BETA 1
 
+// As of November 2009, we can have alphas of a beta release or 
+// alphas of a stable release, typically the nightly builds. 
+// Most of the time we're in development IS_ALPHA should be defined
+// to 1.
+#define IS_ALPHA 1
+
 // Increment as appropriate every time you release a new version
 #define AUDACITY_VERSION   1
 #define AUDACITY_RELEASE   3
 #define AUDACITY_REVISION  11
 #define AUDACITY_MODLEVEL  0
 
-#if (IS_BETA)
-   #define AUDACITY_SUFFIXwxT(-beta) 
+#if IS_ALPHA
+   #define AUDACITY_SUFFIX wxT(-alpha-) __TDATE__ 
 #else
-   #define AUDACITY_SUFFIXwxT() // for a stable release
+   #if (IS_BETA)
+  #define AUDACITY_SUFFIXwxT(-beta) 
+   #else
+  #define AUDACITY_SUFFIXwxT() // for a stable release
+   #endif
 #endif
-// As of November 2009, we can have alphas of a beta release or 
-// alphas of a stable release, typically the nightly builds. 
-// Most of the time we're in development, the following #define 
-// should be uncommented, to override the above.
-// It should be commented out only when we're building a 
-// beta or stable release.
-#define AUDACITY_SUFFIX wxT(-alpha-) __TDATE__ 
 
 #define AUDACITY_MAKESTR( x ) #x
 #define AUDACITY_QUOTE( x ) AUDACITY_MAKESTR( x )


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/toolbars MixerToolBar.cpp, 1.16, 1.17 MixerToolBar.h, 1.4, 1.5

2009-11-24 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15328/src/toolbars

Modified Files:
MixerToolBar.cpp MixerToolBar.h 
Log Message:
Grey-out input volume slider instead of hiding it.
The new graphics are not very pretty, and perhaps someone that's good at
drawing icons should change them.


Index: MixerToolBar.h
===
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/MixerToolBar.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- MixerToolBar.h  24 Nov 2009 03:03:25 -  1.4
+++ MixerToolBar.h  24 Nov 2009 20:08:21 -  1.5
@@ -57,7 +57,6 @@
 
wxBitmap *mPlayBitmap;
wxBitmap *mRecordBitmap;
-   wxStaticBitmap *mRecordSB;
 
ASlider *mInputSlider;
ASlider *mOutputSlider;

Index: MixerToolBar.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/MixerToolBar.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- MixerToolBar.cpp24 Nov 2009 03:03:25 -  1.16
+++ MixerToolBar.cpp24 Nov 2009 20:08:21 -  1.17
@@ -94,10 +94,9 @@
 
mRecordBitmap = new wxBitmap(theTheme.Bitmap(bmpMic));
 
-   mRecordSB = new wxStaticBitmap(this,
+   Add(new wxStaticBitmap(this,
   wxID_ANY, 
-  *mRecordBitmap);
-   Add(mRecordSB, 0, wxALIGN_CENTER);
+  *mRecordBitmap), 0, wxALIGN_CENTER);
 
mInputSlider = new ASlider(this, wxID_ANY, _(Input Volume),
   wxDefaultPosition, wxSize(130, 25));
@@ -150,8 +149,7 @@
mInputSourceChoice-Show( inputSources.GetCount() != 0 );
 
// Show or hide the input slider based on whether it works
-   mInputSlider-Show(gAudioIO-InputMixerWorks());
-   mRecordSB-Show(gAudioIO-InputMixerWorks());
+   mInputSlider-Enable(gAudioIO-InputMixerWorks());
 
UpdateControls();
 
@@ -228,8 +226,7 @@
mInputSourceChoice-Show( inputSources.GetCount() != 0 );

// Show or hide the input slider based on whether it works
-   mInputSlider-Show(gAudioIO-InputMixerWorks());
-   mRecordSB-Show(gAudioIO-InputMixerWorks());
+   mInputSlider-Enable(gAudioIO-InputMixerWorks());
 
// Layout the toolbar
Layout();


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/images SliderThumbDisabled.xpm, NONE, 1.1 SliderThumb_VerticalAlpha.xpm, NONE, 1.1 SliderThumb_VerticalDisabled.xpm, NONE, 1.1

2009-11-24 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/images
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15328/images

Added Files:
SliderThumbDisabled.xpm SliderThumb_VerticalAlpha.xpm 
SliderThumb_VerticalDisabled.xpm 
Log Message:
Grey-out input volume slider instead of hiding it.
The new graphics are not very pretty, and perhaps someone that's good at
drawing icons should change them.


--- NEW FILE: SliderThumb_VerticalAlpha.xpm ---
/* XPM */
static const char * SliderThumb_VerticalAlpha[] = {
14 11 3 1,
   c None,
.  c #00,
+  c #FF,
..+++.,
.+,
+++...,
..,
+.,
++,
+.,
..,
+++...,
.+,
..+++.};

--- NEW FILE: SliderThumb_VerticalDisabled.xpm ---
/* XPM */
static const char * SliderThumb_VerticalDisabled[] = {
14 11 7 1,
   c None,
.  c #DEDEDE,
+  c #88,
@  c #EE,
#  c #C8C8C8,
$  c #F2F2F2,
%  c #99,
..+++.,
.+@@@+,
+@@#...@#@#@@+...,
+...@#@#...@#@#...@$+..,
+@@#...@#@#...@#@$+.,
+...@#@#...@#@#...@#@$+,
+@@#...@#@#...@#@%+.,
+...@#@#...@#@#...@%+..,
+@@#...@#@#...@%+...,
.+%#%#%#%+,
..+++.};

--- NEW FILE: SliderThumbDisabled.xpm ---
/* XPM */
static const char * SliderThumbDisabled[] = {
11 14 7 1,
   c None,
.  c #DEDEDE,
+  c #88,
@  c #EE,
#  c #C8C8C8,
$  c #99,
%  c #F2F2F2,
..+++..,
.+@@@+.,
+@@#...@#@#...@$+,
+...@#@#...@#@##+,
+@@#...@#@#...@$+,
+...@#@#...@#@##+,
+@@#...@#@#...@$+,
+...@#@#...@#@##+,
+@@#...@#@#...@$+,
.+@@#...@#@$+.,
@#@$+..,
.@$+...,
+%+,
.+.};


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src AudioIO.cpp, 1.238, 1.239 AudioIO.h, 1.82, 1.83 Project.cpp, 1.474, 1.475

2009-11-24 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26614/src

Modified Files:
AudioIO.cpp AudioIO.h Project.cpp 
Log Message:
David Henningsson's patch to prevent crashes when closing the project that is
the AudioIO listener; also prevent newly-opened projects from stealing listener
status from recording ones.


Index: Project.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/Project.cpp,v
retrieving revision 1.474
retrieving revision 1.475
diff -u -d -r1.474 -r1.475
--- Project.cpp 21 Nov 2009 21:21:22 -  1.474
+++ Project.cpp 24 Nov 2009 21:56:34 -  1.475
@@ -1987,6 +1987,12 @@
  gActiveProject = NULL;
   }
}
+
+   // Since we're going to be destroyed, make sure we're not to 
+   // receive audio notifications anymore.
+   if (gAudioIO-GetListener() == this) {
+  gAudioIO-SetListener(gActiveProject);
+   }

if (gAudacityProjects.IsEmpty()  !gIsQuitting) {
 

Index: AudioIO.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -d -r1.238 -r1.239
--- AudioIO.cpp 24 Nov 2009 03:16:37 -  1.238
+++ AudioIO.cpp 24 Nov 2009 21:56:34 -  1.239
@@ -2283,6 +2283,9 @@
 
 void AudioIO::SetListener(AudioIOListener* listener)
 {
+   if (IsBusy())
+  return;
+
mListener = listener;
 }
 

Index: AudioIO.h
===
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.h,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- AudioIO.h   21 Nov 2009 22:16:36 -  1.82
+++ AudioIO.h   24 Nov 2009 21:56:34 -  1.83
@@ -80,6 +80,7 @@
AudioIO();
~AudioIO();
 
+   AudioIOListener* GetListener() { return mListener; }
void SetListener(AudioIOListener* listener);

/** \brief Start up Portaudio for capture and recording as needed for


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src AudioIO.cpp,1.236,1.237

2009-11-23 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17352/src

Modified Files:
AudioIO.cpp 
Log Message:
Fix for P3: Audacity output slider may affect playback meters


Index: AudioIO.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -d -r1.236 -r1.237
--- AudioIO.cpp 22 Nov 2009 12:46:11 -  1.236
+++ AudioIO.cpp 23 Nov 2009 19:51:56 -  1.237
@@ -2903,6 +2903,14 @@
  MAX(numCaptureChannels,numPlaybackChannels));
float *tempFloats = (float*)tempBuffer;
 
+   // output meter may need samples untouched by volume emulation
+   float *outputMeterFloats;
+   outputMeterFloats =
+  (outputBuffer  gAudioIO-mEmulateMixerOutputVol 
+   gAudioIO-mMixerOutputVol != 1.0) ?
+ (float *)alloca(framesPerBuffer*numPlaybackChannels * sizeof(float)) :
+ (float *)outputBuffer;
+
 #ifdef EXPERIMENTAL_MIDI_OUT
/* GSW: Save timeInfo in case MidiPlayback needs it */
gAudioIO-mAudioCallbackOutputTime = timeInfo-outputBufferDacTime;
@@ -3002,6 +3010,13 @@
   (float *)outputBuffer, (int)framesPerBuffer, 
1.0f);
  }
 
+ // Copy the results to outputMeterFloats if necessary
+ if (outputMeterFloats != outputFloats) {
+for (i = 0; i  framesPerBuffer*numPlaybackChannels; ++i) {
+   outputMeterFloats[i] = outputFloats[i];
+}
+ }
+
  if (gAudioIO-mSeek)
  {
 // Pause audio thread and wait for it to finish
@@ -3090,6 +3105,13 @@
 vt-GetChannel() == Track::MonoChannel)
 {
float gain = vt-GetChannelGain(0);
+
+   // Output volume emulation: possibly copy meter samples, then
+   // apply volume, then copy to the output buffer
+   if (outputMeterFloats != outputFloats)
+  for (i = 0; i  len; ++i)
+ outputMeterFloats[numPlaybackChannels*i] +=
+gain*tempFloats[i];

if (gAudioIO-mEmulateMixerOutputVol)
   gain *= gAudioIO-mMixerOutputVol;
@@ -3103,6 +3125,12 @@
 {
float gain = vt-GetChannelGain(1);

+   // Output volume emulation (as above)
+   if (outputMeterFloats != outputFloats)
+  for (i = 0; i  len; ++i)
+ outputMeterFloats[numPlaybackChannels*i+1] +=
+gain*tempFloats[i];
+
if (gAudioIO-mEmulateMixerOutputVol)
   gain *= gAudioIO-mMixerOutputVol;

@@ -3122,6 +3150,19 @@
 else if (f  -1.0)
outputFloats[i] = -1.0;
  }
+
+ // Same for meter output
+ if (outputMeterFloats != outputFloats)
+ {
+for (i = 0; i  framesPerBuffer*numPlaybackChannels; ++i)
+{
+   float f = outputMeterFloats[i];
+   if (f  1.0)
+  outputMeterFloats[i] = 1.0;
+   else if (f  -1.0)
+  outputMeterFloats[i] = -1.0;
+}
+ }
   }
 
   //
@@ -3252,12 +3293,20 @@
   numCaptureChannels,
   (float *)outputBuffer, (int)framesPerBuffer, 
1.0f);
  }
+
+ // Copy the results to outputMeterFloats if necessary
+ if (outputMeterFloats != outputFloats) {
+for (i = 0; i  framesPerBuffer*numPlaybackChannels; ++i) {
+   outputMeterFloats[i] = outputFloats[i];
+}
+ }
   }
+
}
/* Send data to playback VU meter if applicable */
if (gAudioIO-mOutputMeter  
   !gAudioIO-mOutputMeter-IsMeterDisabled() 
-  outputBuffer) {
+  outputMeterFloats) {
   // Get here if playback meter is live 
   /* It's critical that we don't update the meters while StopStream is
* trying to stop PortAudio, otherwise it can lead to a freeze.  We use
@@ -3272,7 +3321,7 @@
   if (gAudioIO-mUpdateMeters) {
  gAudioIO-mOutputMeter-UpdateDisplay(numPlaybackChannels,
framesPerBuffer,
-   (float *)outputBuffer);
+   outputMeterFloats);
   }
   gAudioIO-mUpdatingMeters = false;
}  // end playback VU meter update


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  

[Audacity-cvs] audacity-src/src AudioIO.cpp,1.237,1.238

2009-11-23 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4904/src

Modified Files:
AudioIO.cpp 
Log Message:
Allow Mixer Toolbar to control playback when capture is unavailable
(includes some PortMixer fixes for Linux and Mac; Windows apparently 
worked fine already)


Index: AudioIO.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.237
retrieving revision 1.238
diff -u -d -r1.237 -r1.238
--- AudioIO.cpp 23 Nov 2009 19:51:56 -  1.237
+++ AudioIO.cpp 24 Nov 2009 03:16:37 -  1.238
@@ -215,6 +215,27 @@
 {
gAudioIO = new AudioIO();
gAudioIO-mThread-Run();
+
+   // Make sure device prefs are initialized
+   if (gPrefs-Read(wxT(AudioIO/RecordingDevice), wxT()) == wxT()) {
+  int i = AudioIO::getRecordDevIndex();
+  const PaDeviceInfo *info = Pa_GetDeviceInfo(i);
+  if (info) {
+ gPrefs-Write(wxT(/AudioIO/RecordingDevice), DeviceName(info));
+ gPrefs-Write(wxT(/AudioIO/Host),
+   wxString(Pa_GetHostApiInfo(info-hostApi)-name, wxConvLocal));
+  }
+   }
+
+   if (gPrefs-Read(wxT(AudioIO/PlaybackDevice), wxT()) == wxT()) {
+  int i = AudioIO::getPlayDevIndex();
+  const PaDeviceInfo *info = Pa_GetDeviceInfo(i);
+  if (info) {
+ gPrefs-Write(wxT(/AudioIO/PlaybackDevice), DeviceName(info));
+ gPrefs-Write(wxT(/AudioIO/Host),
+   wxString(Pa_GetHostApiInfo(info-hostApi)-name, wxConvLocal));
+  }
+   }
 }
 
 void DeinitAudioIO()
@@ -573,6 +594,23 @@
   }
}
 
+   // finally, try just for playback
+   if ( error ) {
+  error = Pa_OpenStream(stream,
+NULL, playbackParameters,
+highestSampleRate, paFramesPerBufferUnspecified,
+paClipOff | paDitherOff,
+audacityAudioCallback, NULL);
+  
+  if (!error) {
+ mPortMixer = Px_OpenMixer(stream, 0);
+ if (!mPortMixer) {
+Pa_CloseStream(stream);
+error = true;
+ }
+  }
+   }
+
// if it's still not working, give up
if( error )
   return;


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] lib-src/portmixer/src px_linux_alsa.c, 1.7, 1.8 px_mac_coreaudio.c, 1.1, 1.2

2009-11-23 Thread Al Dimond
Update of /cvsroot/audacity/lib-src/portmixer/src
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4904/lib-src/portmixer/src

Modified Files:
px_linux_alsa.c px_mac_coreaudio.c 
Log Message:
Allow Mixer Toolbar to control playback when capture is unavailable
(includes some PortMixer fixes for Linux and Mac; Windows apparently 
worked fine already)


Index: px_mac_coreaudio.c
===
RCS file: /cvsroot/audacity/lib-src/portmixer/src/px_mac_coreaudio.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- px_mac_coreaudio.c  2 Oct 2006 00:27:52 -   1.1
+++ px_mac_coreaudio.c  24 Nov 2009 03:16:37 -  1.2
@@ -81,13 +81,9 @@
info-output = PaMacCore_GetStreamOutputDevice(Px-pa_stream);
 
if (info-input == kAudioDeviceUnknown) {
-  outSize = sizeof(AudioDeviceID);
-  err = AudioHardwareGetProperty(kAudioHardwarePropertyDefaultInputDevice,
- outSize,
- info-input);
-  if (err) {
- return cleanup(Px);
-  }
+  /* This probably means it was an output-only stream;
+   * the rest of this fn needs a good input device */
+  return TRUE;
}
 
outSize = sizeof(UInt32);

Index: px_linux_alsa.c
===
RCS file: /cvsroot/audacity/lib-src/portmixer/src/px_linux_alsa.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- px_linux_alsa.c 14 Jul 2009 04:06:11 -  1.7
+++ px_linux_alsa.c 24 Nov 2009 03:16:37 -  1.8
@@ -546,7 +546,8 @@
set_volume_indexed(dev, generic_lookup(dev, Master), volume);
 
/* Ensure pending events are handled...otherwise, they build up */
-   snd_mixer_handle_events(info-capture.handle);
+   if (dev-handle)
+  snd_mixer_handle_events(dev-handle);
 
return;
 }
@@ -579,7 +580,8 @@
set_volume_indexed(dev, generic_lookup(dev, PCM), volume);
 
/* Ensure pending events are handled...otherwise, they build up */
-   snd_mixer_handle_events(info-capture.handle);
+   if (dev-handle)
+  snd_mixer_handle_events(dev-handle);
 
return;
 }
@@ -716,7 +718,7 @@
long vol;
PxVolume volume = 0.0;
 
-   if (info-capture.source  0) {
+   if (info-capture.source  0 || info-capture.numselems  1) {
   return volume;
}
 
@@ -742,7 +744,7 @@
long max;
long vol;
 
-   if (info-capture.source  0) {
+   if (info-capture.source  0 || info-capture.numselems  1) {
   return;
}
 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/effects NoiseRemoval.cpp, 1.63, 1.64

2009-11-22 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/effects
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17420/src/effects

Modified Files:
NoiseRemoval.cpp 
Log Message:
Fix noise removal alignment problems when selection is longer than track
length.


Index: NoiseRemoval.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/effects/NoiseRemoval.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- NoiseRemoval.cpp16 Aug 2009 14:44:20 -  1.63
+++ NoiseRemoval.cpp22 Nov 2009 22:52:15 -  1.64
@@ -677,11 +677,13 @@
   mOutputTrack-Flush();
 
   // Take the output track and insert it in place of the original
-  // sample data
+  // sample data (as operated on -- this may not match mT0/mT1)
   if (bLoopSuccess) {
+ double t0 = mOutputTrack-LongSamplesToTime(start);
+ double tLen = mOutputTrack-LongSamplesToTime(len);
  // Filtering effects always end up with more data than they started 
with.  Delete this 'tail'.
- mOutputTrack-HandleClear(mT1 - mT0, mOutputTrack-GetEndTime(), 
false, false);
- track-ClearAndPaste(mT0, mT1, mOutputTrack, true, false);
+ mOutputTrack-HandleClear(tLen, mOutputTrack-GetEndTime(), false, 
false);
+ track-ClearAndPaste(t0, t0 + tLen, mOutputTrack, true, false);
   }
 
   // Delete the outputTrack now that its data is inserted in place


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src Sequence.cpp, 1.62, 1.63 TrackArtist.cpp, 1.153, 1.154

2009-11-21 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26900/src

Modified Files:
Sequence.cpp TrackArtist.cpp 
Log Message:
Fix a couple things in clip-drawing routines that were causing envelope
assertions (and possibly a long hang or crash)


Index: Sequence.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/Sequence.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- Sequence.cpp8 Nov 2009 17:09:21 -   1.62
+++ Sequence.cpp21 Nov 2009 17:15:04 -  1.63
@@ -1075,6 +1075,10 @@
sampleCount s0 = where[0];
sampleCount s1 = where[len];
 
+   // None of the samples asked for are in range. Abandon.
+   if (s0 = mNumSamples)
+  return false;
+
int divisor;
if (samplesPerPixel = 65536)
   divisor = 65536;

Index: TrackArtist.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/TrackArtist.cpp,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -d -r1.153 -r1.154
--- TrackArtist.cpp 17 Sep 2009 16:56:19 -  1.153
+++ TrackArtist.cpp 21 Nov 2009 17:15:14 -  1.154
@@ -950,7 +950,8 @@
   
   xpos[s] = xx;
 
-  tt = buffer[s] * clip-GetEnvelope()-GetValueAtX(xx + r.x, r, h, pps);
+  // t0 + clip-GetOffset() is 'h' (the absolute time of the left edge) 
for 'r'.
+  tt = buffer[s] * clip-GetEnvelope()-GetValueAtX(xx + r.x, r, t0 + 
clip-GetOffset(), pps);
   if (mShowClipping  (tt = -MAX_AUDIO || tt = MAX_AUDIO)) {
  clipped[clipcnt++] = xx;
   }


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/effects Equalization.cpp, 1.107, 1.108

2009-11-20 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/effects
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28468/src/effects

Modified Files:
Equalization.cpp 
Log Message:
Avoid some envelope assertions in the equalization panel


Index: Equalization.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/effects/Equalization.cpp,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- Equalization.cpp13 Nov 2009 03:17:36 -  1.107
+++ Equalization.cpp20 Nov 2009 21:18:00 -  1.108
@@ -939,12 +939,14 @@
   CaptureMouse();
}
 
-   if (mEnvelope-MouseEvent(event, mEnvRect, 0.0, mEnvRect.width, false,
- dBMin, dBMax, dBMin, dBMax))
-   {
-  mParent-EnvelopeUpdated();
-  RecalcRequired = true;
-  Refresh(false);
+   if (mEnvRect.Contains(event.GetPosition())) {
+  if (mEnvelope-MouseEvent(event, mEnvRect, 0.0, mEnvRect.width, false,
+   dBMin, dBMax, dBMin, dBMax))
+  {
+ mParent-EnvelopeUpdated();
+ RecalcRequired = true;
+ Refresh(false);
+  }
}
 
if (event.ButtonUp()  HasCapture())


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src Envelope.cpp,1.69,1.70

2009-11-20 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28468/src

Modified Files:
Envelope.cpp 
Log Message:
Avoid some envelope assertions in the equalization panel


Index: Envelope.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/Envelope.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- Envelope.cpp17 Sep 2009 18:32:18 -  1.69
+++ Envelope.cpp20 Nov 2009 21:18:00 -  1.70
@@ -364,7 +364,7 @@
 
int clip_y = event.m_y - r.y;
if(clip_y  0) clip_y = 0; //keeps point in rect r, even if mouse isn't
-   if(clip_y  r.height) clip_y = r.height;
+   if(clip_y  r.GetBottom()) clip_y = r.GetBottom();
 
double tleft = h - mOffset;
double tright = tleft + (r.width / pps);


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src AudioIO.cpp,1.233,1.234

2009-11-19 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv18298/src

Modified Files:
AudioIO.cpp 
Log Message:
Allow PortMixer to control capture device even if it's not controlling
playback.


Index: AudioIO.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.233
retrieving revision 1.234
diff -u -d -r1.233 -r1.234
--- AudioIO.cpp 10 Nov 2009 19:59:50 -  1.233
+++ AudioIO.cpp 20 Nov 2009 01:54:47 -  1.234
@@ -544,6 +544,16 @@
  highestSampleRate, paFramesPerBufferUnspecified,
  paClipOff | paDitherOff,
  audacityAudioCallback, NULL);
+   
+   if (!error) {
+  // Try portmixer for this stream
+  mPortMixer = Px_OpenMixer(stream, 0);
+  if (!mPortMixer) {
+ Pa_CloseStream(stream);
+ error = true;
+  }
+   }
+
// if that failed, try just for record
if( error ) {
   error = Pa_OpenStream(stream,
@@ -551,18 +561,19 @@
 highestSampleRate, paFramesPerBufferUnspecified,
 paClipOff | paDitherOff,
 audacityAudioCallback, NULL);
+
+  if (!error) {
+ mPortMixer = Px_OpenMixer(stream, 0);
+ if (!mPortMixer) {
+Pa_CloseStream(stream);
+error = true;
+ }
+  }
}
 
// if it's still not working, give up
if( error )
   return;
-   // set up portmixer on the open portaudio stream
-   mPortMixer = Px_OpenMixer(stream, 0);
-
-   if (!mPortMixer) {
-  Pa_CloseStream(stream);
-  return;
-   }
 
// Determine mixer capabilities - if it doesn't support either
// input or output, we emulate them (by multiplying this value


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/toolbars DeviceToolBar.cpp, 1.7, 1.8

2009-11-19 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv22697/src/toolbars

Modified Files:
DeviceToolBar.cpp 
Log Message:
When changing hosts in Device toolbar, try to select a matching device before
going with the system default


Index: DeviceToolBar.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/DeviceToolBar.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- DeviceToolBar.cpp   16 Nov 2009 17:51:53 -  1.7
+++ DeviceToolBar.cpp   20 Nov 2009 06:29:50 -  1.8
@@ -241,20 +241,28 @@
{
   // We changed input; be sure the output device has the same API
   if (inInfo-hostApi != outInfo-hostApi) {
- // Set output device to default for the API
- const PaHostApiInfo *apiInfo = Pa_GetHostApiInfo(inInfo-hostApi);
- outInfo = Pa_GetDeviceInfo(apiInfo-defaultOutputDevice);
- mOutput-SetStringSelection(DeviceName(outInfo));
+ // First try setting the same device as the input
+ if (!mOutput-SetStringSelection(DeviceName(inInfo)))
+ {
+// Not found; set output device to default for the API
+const PaHostApiInfo *apiInfo = Pa_GetHostApiInfo(inInfo-hostApi);
+outInfo = Pa_GetDeviceInfo(apiInfo-defaultOutputDevice);
+mOutput-SetStringSelection(DeviceName(outInfo));
+ }
   }
}
else if (oldOutIndex != newOutIndex)
{
   // We changed output; be sure the input device has the same API
   if (outInfo-hostApi != inInfo-hostApi) {
- // Set input device to default for the API
- const PaHostApiInfo *apiInfo = Pa_GetHostApiInfo(outInfo-hostApi);
- inInfo = Pa_GetDeviceInfo(apiInfo-defaultInputDevice);
- mInput-SetStringSelection(DeviceName(inInfo));
+ // First try setting the same device as the output
+ if (!mInput-SetStringSelection(DeviceName(outInfo)))
+ {
+// Not found; set input device to default for the API
+const PaHostApiInfo *apiInfo = Pa_GetHostApiInfo(outInfo-hostApi);
+inInfo = Pa_GetDeviceInfo(apiInfo-defaultInputDevice);
+mInput-SetStringSelection(DeviceName(inInfo));
+ }
   }
}
 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/effects ChangeSpeed.cpp,1.65,1.66

2009-11-18 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/effects
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26260/src/effects

Modified Files:
ChangeSpeed.cpp 
Log Message:
Add more consistent time range comparisons to WaveClip class, and a couple
changes to WaveTrack::ClearAndPaste() to help eliminate zero-length clip
creation in Change Speed and similar effects (much inspired by Vidyashankar's
notes on zero-length clips).

Changes in ChangeSpeed.cpp are mostly just replacing tabs with spaces, but also
fix a recently-introduced bug in parameters to TimeWarper.


Index: ChangeSpeed.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/effects/ChangeSpeed.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- ChangeSpeed.cpp 4 Nov 2009 23:16:45 -   1.65
+++ ChangeSpeed.cpp 19 Nov 2009 05:02:26 -  1.66
@@ -44,17 +44,17 @@
 
 EffectChangeSpeed::EffectChangeSpeed()
 {
-   // control values
-   m_PercentChange = 0.0;
-   m_FromVinyl = 0; 
-   m_ToVinyl = 0; 
+   // control values
+   m_PercentChange = 0.0;
+   m_FromVinyl = 0; 
+   m_ToVinyl = 0; 
 }
 
 wxString EffectChangeSpeed::GetEffectDescription() { 
// Note: This is useful only after change amount has been set. 
return wxString::Format(_(Applied effect: %s %.1f%%), 
this-GetEffectName().c_str(), 
-   
m_PercentChange); 
+   m_PercentChange); 
 } 
 
 bool EffectChangeSpeed::PromptUser()
@@ -63,10 +63,10 @@
dlog.m_PercentChange = m_PercentChange;
dlog.m_FromVinyl = m_FromVinyl;
dlog.m_ToVinyl = m_ToVinyl;
-   // Don't need to call TransferDataToWindow, although other 
-   //  Audacity dialogs (from which I derived this one) do it, because 
-   //  ShowModal calls stuff that eventually calls 
wxWindowBase::OnInitDialog, 
-   //  which calls dlog.TransferDataToWindow();
+   // Don't need to call TransferDataToWindow, although other 
+   // Audacity dialogs (from which I derived this one) do it, because 
+   // ShowModal calls stuff that eventually calls wxWindowBase::OnInitDialog, 
+   // which calls dlog.TransferDataToWindow();
dlog.CentreOnParent();
dlog.ShowModal();
 
@@ -87,7 +87,7 @@
 
 bool EffectChangeSpeed::Process()
 {
-   // Similar to EffectSoundTouch::Process()
+   // Similar to EffectSoundTouch::Process()
 
//Iterate over each track
//Track::All is needed because this effect needs to introduce silence in 
the group tracks to keep sync
@@ -102,8 +102,8 @@
   return false;
WaveTrack* pOutWaveTrack = (WaveTrack*)t;
mCurTrackNum = 0;
-   m_maxNewLength = 0.0;
-   
+   m_maxNewLength = 0.0;
+
//Get start and end times from track
mCurT0 = pOutWaveTrack-GetStartTime();
mCurT1 = pOutWaveTrack-GetEndTime();
@@ -166,12 +166,12 @@
 // ProcessOne() takes a track, transforms it to bunch of buffer-blocks,
 // and calls libsamplerate code on these blocks.
 bool EffectChangeSpeed::ProcessOne(WaveTrack * track,
-   
sampleCount start, sampleCount end, bool first)
+   sampleCount start, sampleCount end, bool first)
 {
-   if (track == NULL)
-   return false;
+   if (track == NULL)
+  return false;
 
-   // initialization, per examples of Mixer::Mixer and
+   // initialization, per examples of Mixer::Mixer and
// EffectSoundTouch::ProcessOne
 
WaveTrack * outputTrack = mFactory-NewWaveTrack(track-GetSampleFormat(),
@@ -183,24 +183,24 @@
double len = (double)(end - start);
 
// Initiate processing buffers, most likely shorter than 
-   //  the length of the selection being processed.
-   sampleCount inBufferSize = track-GetMaxBlockSize();
+   // the length of the selection being processed.
+   sampleCount inBufferSize = track-GetMaxBlockSize();
 
float * inBuffer = new float[inBufferSize];
 
double factor = 100.0 / (100.0 + m_PercentChange);
-   sampleCount outBufferSize = 
+   sampleCount outBufferSize = 
   (sampleCount)((factor * inBufferSize) + 10);
float * outBuffer = new float[outBufferSize]; 
 
-   // Set up the resampling stuff for this track.
+   // Set up the resampling stuff for this track.
Resample resample(true, factor, factor);
 
//Go through the track one buffer at a time. samplePos counts which
//sample the current buffer starts at.
-   bool bLoopSuccess = true;
+   bool bLoopSuccess = true;
sampleCount blockSize;
-   sampleCount samplePos = start;
+   sampleCount samplePos = start;
while (samplePos  end) {
   //Get a blockSize of samples (smaller than the size of the buffer)
   blockSize = track-GetBestBlockSize(samplePos);
@@ -221,9 +221,9 @@
 outBuffer,

[Audacity-cvs] audacity-src/src WaveClip.cpp, 1.58, 1.59 WaveClip.h, 1.41, 1.42 WaveTrack.cpp, 1.171, 1.172

2009-11-18 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26260/src

Modified Files:
WaveClip.cpp WaveClip.h WaveTrack.cpp 
Log Message:
Add more consistent time range comparisons to WaveClip class, and a couple
changes to WaveTrack::ClearAndPaste() to help eliminate zero-length clip
creation in Change Speed and similar effects (much inspired by Vidyashankar's
notes on zero-length clips).

Changes in ChangeSpeed.cpp are mostly just replacing tabs with spaces, but also
fix a recently-introduced bug in parameters to TimeWarper.


Index: WaveClip.h
===
RCS file: /cvsroot/audacity/audacity-src/src/WaveClip.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- WaveClip.h  18 Oct 2009 19:58:17 -  1.41
+++ WaveClip.h  19 Nov 2009 05:02:26 -  1.42
@@ -97,6 +97,13 @@
sampleCount GetEndSample() const;
sampleCount GetNumSamples() const { return mSequence-GetNumSamples(); }
 
+   // One and only one of the following is true for a given t (unless the clip
+   // has zero length -- then BeforeClip() and AfterClip() can both be true).
+   // Within() is true if the time is substantially within the clip
+   bool WithinClip(double t) const;
+   bool BeforeClip(double t) const;
+   bool AfterClip(double t) const;
+
bool GetSamples(samplePtr buffer, sampleFormat format,
sampleCount start, sampleCount len) const;
bool SetSamples(samplePtr buffer, sampleFormat format,

Index: WaveTrack.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/WaveTrack.cpp,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -d -r1.171 -r1.172
--- WaveTrack.cpp   20 Oct 2009 23:29:17 -  1.171
+++ WaveTrack.cpp   19 Nov 2009 05:02:26 -  1.172
@@ -562,16 +562,15 @@
   double st;
 
   clip = ic-GetData();
-  st = LongSamplesToTime(TimeToLongSamples(clip-GetStartTime()));
 
-  // Remember split line
-  if (st = t0  st = t1) {
+  // Remember clip boundaries as locations to split
+  st = LongSamplesToTime(TimeToLongSamples(clip-GetStartTime()));
+  if (st = t0  st = t1  splits.Index(st) == wxNOT_FOUND) {
  splits.Add(st);
   }
 
-  // Also remember the end of the clip
   st = LongSamplesToTime(TimeToLongSamples(clip-GetEndTime()));
-  if (st = t0  st = t1) {
+  if (st = t0  st = t1  splits.Index(st) == wxNOT_FOUND) {
  splits.Add(st);
   }
 
@@ -774,9 +773,8 @@
   {
  WaveClip *clip = it-GetData();
  
- if (t1  clip-GetStartTime()  t0  clip-GetEndTime() 
- (t0 + 1.0/mRate  clip-GetStartTime() ||
-  t1 - 1.0/mRate  clip-GetEndTime()))
+ if (!clip-BeforeClip(t1)  !clip-AfterClip(t0) 
+   (clip-BeforeClip(t0) || clip-AfterClip(t1)))
  {
 addCutLines = false;
 break;
@@ -788,12 +786,12 @@
{
   WaveClip *clip = it-GetData();
 
-  if (t0 = clip-GetStartTime()  t1 = clip-GetEndTime())
+  if (clip-BeforeClip(t0)  clip-AfterClip(t1))
   {
  // Whole clip must be deleted - remember this
  clipsToDelete.Append(clip);
   } else
-  if (t1  clip-GetStartTime()  t0  clip-GetEndTime())
+  if (!clip-BeforeClip(t1)  !clip-AfterClip(t0))
   {
  // Clip data is affected by command
  if (addCutLines)
@@ -805,12 +803,12 @@
 if (split) {
// Three cases:
 
-   if (t0 = clip-GetStartTime()) {
+   if (clip-BeforeClip(t0)) {
   // Delete from the left edge
   clip-Clear(clip-GetStartTime(), t1);
   clip-Offset(t1-clip-GetStartTime());
} else
-   if (t1 = clip-GetEndTime()) {
+   if (clip-AfterClip(t1)) {
   // Delete to right edge
   clip-Clear(t0, clip-GetEndTime());
} else
@@ -830,7 +828,7 @@
   clipsToDelete.Append(clip);
}
 }
-else {
+else { // (We are not doing a split cut)
/* We are going to delete part of the clip here. The clip may
 * have envelope points, and we need to ensure that the envelope
 * outside of the cleared region is not affected. This means
@@ -840,13 +838,13 @@
// clip-Clear keeps points  t0 and = t1 via 
Envelope::CollapseRegion
if (clip-GetEnvelope()-GetNumberOfPoints()  0) {   // don't 
insert env pts if none exist
   double val;
-  if (t0  clip-GetStartTime())
- {  // start of clip is before start of region to clear
+  if (clip-WithinClip(t0))
+ {  // start of region within clip
  val = 

[Audacity-cvs] audacity-src/src/prefs DevicePrefs.cpp,1.8,1.9

2009-11-16 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/prefs
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10184/src/prefs

Modified Files:
DevicePrefs.cpp 
Log Message:
Don't allow devices from different Host APIs in device toolbar; a possible fix 
for some JACK problems.


Index: DevicePrefs.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/prefs/DevicePrefs.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- DevicePrefs.cpp 18 Oct 2009 08:02:15 -  1.8
+++ DevicePrefs.cpp 16 Nov 2009 17:51:53 -  1.9
@@ -158,7 +158,23 @@
 
 void DevicePrefs::OnHost(wxCommandEvent  e)
 {
-   int index = mHost-GetCurrentSelection(); /* the hostAPI index the user has 
selected */
+   // Find the index for the host API selected
+   int index = -1;
+   wxString apiName = mHostNames[mHost-GetCurrentSelection()];
+   int nHosts = Pa_GetHostApiCount();
+   for (int i = 0; i  nHosts; ++i) {
+  wxString name(Pa_GetHostApiInfo(i)-name, wxConvLocal);
+  if (name == apiName) {
+ index = i;
+ break;
+  }
+   }
+   // We should always find the host!
+   if (index  0) {
+  wxLogDebug(wxT(DevicePrefs::OnHost(): API index not found));
+  return;
+   }
+
int nDevices = Pa_GetDeviceCount();
 
if (nDevices == 0) {
@@ -218,11 +234,19 @@
if (mPlay-GetCount()  mPlay-GetSelection() == wxNOT_FOUND) {
   wxLogDebug(wxT(DevicePrefs::OnHost(): no play device selected));
   mPlay-SetStringSelection(GetDefaultPlayDevice(index));
+
+  if (mPlay-GetSelection() == wxNOT_FOUND) {
+ mPlay-SetSelection(0);
+  }
}
 
if (mRecord-GetCount()  mRecord-GetSelection() == wxNOT_FOUND) {
   wxLogDebug(wxT(DevicePrefs::OnHost(): no record device selected));
   mRecord-SetStringSelection(GetDefaultRecordDevice(index));
+
+  if (mPlay-GetSelection() == wxNOT_FOUND) {
+ mPlay-SetSelection(0);
+  }
}
 
ShuttleGui S(this, eIsCreating);


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/toolbars DeviceToolBar.cpp, 1.6, 1.7

2009-11-16 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10184/src/toolbars

Modified Files:
DeviceToolBar.cpp 
Log Message:
Don't allow devices from different Host APIs in device toolbar; a possible fix 
for some JACK problems.


Index: DeviceToolBar.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/DeviceToolBar.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- DeviceToolBar.cpp   29 May 2009 17:07:39 -  1.6
+++ DeviceToolBar.cpp   16 Nov 2009 17:51:53 -  1.7
@@ -209,6 +209,58 @@
 
 void DeviceToolBar::OnChoice(wxCommandEvent event)
 {
+   wxString oldInput = gPrefs-Read(wxT(/AudioIO/RecordingDevice), wxT());
+   wxString newInput = mInput-GetString(mInput-GetSelection());
+   wxString oldOutput = gPrefs-Read(wxT(/AudioIO/PlaybackDevice), wxT());
+   wxString newOutput = mOutput-GetString(mOutput-GetSelection());
+   int oldInIndex = -1, newInIndex = -1, oldOutIndex = -1, newOutIndex = -1;
+   int nDevices = Pa_GetDeviceCount();
+
+   // Find device indices for input and output
+   for (int i = 0; i  nDevices; ++i)
+   {
+  const PaDeviceInfo *info = Pa_GetDeviceInfo(i);
+  wxString name = DeviceName(info);
+
+  if (name == oldInput) oldInIndex = i;
+  if (name == newInput) newInIndex = i;
+  if (name == oldOutput) oldOutIndex = i;
+  if (name == newOutput) newOutIndex = i;
+   }
+
+   // This shouldn't happen for new choices (it's OK for old ones)
+   if (newInIndex  0 || newOutIndex  0)
+   {
+  wxLogDebug(wxT(DeviceToolBar::OnChoice(): couldn't find device 
indices));
+  return;
+   }
+
+   const PaDeviceInfo *inInfo = Pa_GetDeviceInfo(newInIndex);
+   const PaDeviceInfo *outInfo = Pa_GetDeviceInfo(newOutIndex);
+   if (oldInIndex != newInIndex)
+   {
+  // We changed input; be sure the output device has the same API
+  if (inInfo-hostApi != outInfo-hostApi) {
+ // Set output device to default for the API
+ const PaHostApiInfo *apiInfo = Pa_GetHostApiInfo(inInfo-hostApi);
+ outInfo = Pa_GetDeviceInfo(apiInfo-defaultOutputDevice);
+ mOutput-SetStringSelection(DeviceName(outInfo));
+  }
+   }
+   else if (oldOutIndex != newOutIndex)
+   {
+  // We changed output; be sure the input device has the same API
+  if (outInfo-hostApi != inInfo-hostApi) {
+ // Set input device to default for the API
+ const PaHostApiInfo *apiInfo = Pa_GetHostApiInfo(outInfo-hostApi);
+ inInfo = Pa_GetDeviceInfo(apiInfo-defaultInputDevice);
+ mInput-SetStringSelection(DeviceName(inInfo));
+  }
+   }
+
+   gPrefs-Write(wxT(/AudioIO/Host),
+ wxString(Pa_GetHostApiInfo(inInfo-hostApi)-name, wxConvLocal));
+
gPrefs-Write(wxT(/AudioIO/RecordingDevice),
  mInput-GetString(mInput-GetSelection()));
 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src AudioIO.cpp,1.232,1.233

2009-11-10 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv7661/src

Modified Files:
AudioIO.cpp 
Log Message:
Fix incorrect parameter in AudioIO::GetBestRate()


Index: AudioIO.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -d -r1.232 -r1.233
--- AudioIO.cpp 8 Nov 2009 05:18:41 -   1.232
+++ AudioIO.cpp 10 Nov 2009 19:59:50 -  1.233
@@ -1645,12 +1645,12 @@
if (capturing  !playing) {
   rates = GetSupportedCaptureRates(-1, sampleRate);
}
-   if (playing  !capturing) {
+   else if (playing  !capturing) {
   rates = GetSupportedPlaybackRates(-1, sampleRate);
}
else {   // we assume capturing and playing - the alternative would be a 
 // bit odd
-  rates = GetSupportedSampleRates(-1, sampleRate);
+  rates = GetSupportedSampleRates(-1, -1, sampleRate);
}
/* rem rates is the array of hardware-supported sample rates (in the current
 * configuration), sampleRate is the Project Rate (desired sample rate) */


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src AudioIO.cpp, 1.230, 1.231 AudioIO.h, 1.79, 1.80

2009-11-07 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32012/src

Modified Files:
AudioIO.cpp AudioIO.h 
Log Message:
Cache results of GetSupported*Rates() and GetBestRate() in AudioIO.


Index: AudioIO.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -d -r1.230 -r1.231
--- AudioIO.cpp 19 Oct 2009 18:18:16 -  1.230
+++ AudioIO.cpp 8 Nov 2009 02:30:45 -   1.231
@@ -277,6 +277,10 @@
mUpdateMeters = false;
mUpdatingMeters = false;
 
+   mCachedPlaybackIndex = -1;
+   mCachedCaptureIndex = -1;
+   mCachedBestRateIn = 0.0;
+
PaError err = Pa_Initialize();
 
if (err != paNoError) {
@@ -451,7 +455,19 @@
// This should not happen, but it would screw things up if it did.
if (IsStreamActive())
   return;
-   // this function only does something (at the moment) for portmixer.
+
+   // get the selected record and playback devices
+   int playDeviceNum = getPlayDevIndex();
+   int recDeviceNum = getRecordDevIndex();
+
+   // cache playback/capture rates
+   mCachedPlaybackRates = GetSupportedPlaybackRates(playDeviceNum);
+   mCachedCaptureRates = GetSupportedCaptureRates(recDeviceNum);
+   mCachedSampleRates = GetSupportedSampleRates(playDeviceNum, recDeviceNum);
+   mCachedPlaybackIndex = playDeviceNum;
+   mCachedCaptureIndex = recDeviceNum;
+   mCachedBestRateIn = 0.0;
+
 #if defined(USE_PORTMIXER)
 
// if we have a PortMixer object, close it down
@@ -468,24 +484,19 @@
   mPortMixer = NULL;
}
 
-   // get the selected record and playback devices
-   int playDeviceNum = getPlayDevIndex();
-   int recDeviceNum = getRecordDevIndex();
-
-   wxArrayLong supportedSampleRates = GetSupportedSampleRates(playDeviceNum, 
recDeviceNum);
// that might have given us no rates whatsoever, so we have to guess an
// answer to do the next bit
-   int numrates = supportedSampleRates.GetCount();
+   int numrates = mCachedSampleRates.GetCount();
int highestSampleRate;
if (numrates  0)
{
-  highestSampleRate = supportedSampleRates[numrates - 1];
+  highestSampleRate = mCachedSampleRates[numrates - 1];
}
else
{  // we don't actually have any rates that work for Rec and Play. Guess one
   // to use for messing with the mixer, which doesn't actually do either
   highestSampleRate = 44100;
-  // supportedSampleRates is still empty, but it's not used again, so
+  // mCachedSampleRates is still empty, but it's not used again, so
   // can ignore
}
mEmulateMixerInputVol = true;
@@ -1431,15 +1442,23 @@
 
 wxArrayLong AudioIO::GetSupportedPlaybackRates(int devIndex, double rate)
 {
+   if (devIndex == -1)
+   {  // weren't given a device index, get the prefs / default one
+  devIndex = getPlayDevIndex();
+   }
+
+   // Check if we can use the cached rates
+   if (mCachedPlaybackIndex != -1  devIndex == mCachedPlaybackIndex
+  rate == 0.0)
+   {
+  return mCachedPlaybackRates;
+   }
+
wxArrayLong supported;
int irate = (int)rate;
const PaDeviceInfo* devInfo = NULL;
int i;
 
-   if (devIndex == -1)
-   {  // weren't given a device index, get the prefs / default one
-  devIndex = getPlayDevIndex();
-   }
wxLogDebug(wxT(Getting supported playback rates for device %d), devIndex);
devInfo = Pa_GetDeviceInfo(devIndex);

@@ -1480,15 +1499,23 @@
 
 wxArrayLong AudioIO::GetSupportedCaptureRates(int devIndex, double rate)
 {
+   if (devIndex == -1)
+   {  // not given a device, look up in prefs / default
+  devIndex = getRecordDevIndex();
+   }
+
+   // Check if we can use the cached rates
+   if (mCachedCaptureIndex != -1  devIndex == mCachedCaptureIndex
+  rate == 0.0)
+   {
+  return mCachedCaptureRates;
+   }
+
wxArrayLong supported;
int irate = (int)rate;
const PaDeviceInfo* devInfo = NULL;
int i;
 
-   if (devIndex == -1)
-   {  // not given a device, look up in prefs / default
-  devIndex = getRecordDevIndex();
-   }
wxLogDebug(wxT(Getting supported capture rates for device %d), devIndex);
devInfo = Pa_GetDeviceInfo(devIndex);
 
@@ -1534,6 +1561,23 @@
 
 wxArrayLong AudioIO::GetSupportedSampleRates(int playDevice, int recDevice, 
double rate)
 {
+   // Not given device indices, look up prefs
+   if (playDevice == -1) {
+  playDevice = getPlayDevIndex();
+   }
+   if (recDevice == -1) {
+  recDevice = getRecordDevIndex();
+   }
+
+   // Check if we can use the cached rates
+   if (mCachedPlaybackIndex != -1  mCachedCaptureIndex != -1  
+ playDevice == mCachedPlaybackIndex 
+ recDevice == mCachedCaptureIndex 
+ rate == 0.0)
+   {
+  return mCachedSampleRates;
+   }
+
wxArrayLong playback = GetSupportedPlaybackRates(playDevice, rate);
wxArrayLong capture = GetSupportedCaptureRates(recDevice, rate);
int 

[Audacity-cvs] audacity-src/src/toolbars TranscriptionToolBar.cpp, 1.16, 1.17

2009-11-07 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32035/src/toolbars

Modified Files:
TranscriptionToolBar.cpp 
Log Message:
Work around the speed slider hang (affecting Linux w/Pulse) by not 
auto-starting audio when dragging the slider


Index: TranscriptionToolBar.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/TranscriptionToolBar.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- TranscriptionToolBar.cpp18 Jun 2009 00:40:06 -  1.16
+++ TranscriptionToolBar.cpp8 Nov 2009 02:32:04 -   1.17
@@ -429,9 +429,11 @@
mPlaySpeed = (mPlaySpeedSlider-Get()) * 100;
 
// If IO is busy, abort immediately
-   if (gAudioIO-IsBusy()) {
-  OnPlaySpeed(event);
-   }
+   // AWD: This is disabled to work around a hang on Linux when PulseAudio is
+   // used.  If we figure that one out we can re-enable this code.
+   //if (gAudioIO-IsBusy()) {
+   //   OnPlaySpeed(event);
+   //}
 }
 
 void TranscriptionToolBar::OnStartOn(wxCommandEvent event)


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src AudioIO.cpp, 1.231, 1.232 AudioIO.h, 1.80, 1.81

2009-11-07 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30460/src

Modified Files:
AudioIO.cpp AudioIO.h 
Log Message:
Make the functions in AudioIO that were static (before I messed them up) static 
again


Index: AudioIO.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -d -r1.231 -r1.232
--- AudioIO.cpp 8 Nov 2009 02:30:45 -   1.231
+++ AudioIO.cpp 8 Nov 2009 05:18:41 -   1.232
@@ -101,6 +101,13 @@
 
 // static
 int AudioIO::mNextStreamToken = 0;
+int AudioIO::mCachedPlaybackIndex = -1;
+wxArrayLong AudioIO::mCachedPlaybackRates;
+int AudioIO::mCachedCaptureIndex = -1;
+wxArrayLong AudioIO::mCachedCaptureRates;
+wxArrayLong AudioIO::mCachedSampleRates;
+double AudioIO::mCachedBestRateIn = 0.0;
+double AudioIO::mCachedBestRateOut;
 
 const int AudioIO::StandardRates[] = {
8000,
@@ -277,10 +284,6 @@
mUpdateMeters = false;
mUpdatingMeters = false;
 
-   mCachedPlaybackIndex = -1;
-   mCachedCaptureIndex = -1;
-   mCachedBestRateIn = 0.0;
-
PaError err = Pa_Initialize();
 
if (err != paNoError) {

Index: AudioIO.h
===
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.h,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- AudioIO.h   8 Nov 2009 02:30:45 -   1.80
+++ AudioIO.h   8 Nov 2009 05:18:41 -   1.81
@@ -198,8 +198,8 @@
 * You may also specify a rate for which to check in addition to the
 * standard rates.
 */
-   wxArrayLong GetSupportedPlaybackRates(int DevIndex = -1,
- double rate = 0.0);
+   static wxArrayLong GetSupportedPlaybackRates(int DevIndex = -1,
+double rate = 0.0);
 
/** \brief Get a list of sample rates the input (recording) device
 * supports.
@@ -213,8 +213,8 @@
 * You may also specify a rate for which to check in addition to the
 * standard rates.
 */
-   wxArrayLong GetSupportedCaptureRates(int devIndex = -1,
-double rate = 0.0);
+   static wxArrayLong GetSupportedCaptureRates(int devIndex = -1,
+   double rate = 0.0);
 
/** \brief Get a list of sample rates the current input/output device
 * combination supports.
@@ -230,8 +230,8 @@
 * You may also specify a rate for which to check in addition to the
 * standard rates.
 */
-   wxArrayLong GetSupportedSampleRates(int playDevice = -1,
-   int recDevice = -1,
+   static wxArrayLong GetSupportedSampleRates(int playDevice = -1,
+  int recDevice = -1,
double rate = 0.0);
 
/** \brief Get a supported sample rate which can be used a an optimal
@@ -242,7 +242,7 @@
 * for project rates if one cannot be retrieved from the preferences.
 * So all in all not that useful or important really
 */
-   int GetOptimalSupportedSampleRate();
+   static int GetOptimalSupportedSampleRate();
 
/** \brief The time the stream has been playing for
 *
@@ -502,13 +502,13 @@
TimeTrack *mTimeTrack;
 
// For cacheing supported sample rates
-   int mCachedPlaybackIndex;
-   wxArrayLong mCachedPlaybackRates;
-   int mCachedCaptureIndex;
-   wxArrayLong mCachedCaptureRates;
-   wxArrayLong mCachedSampleRates;
-   double mCachedBestRateIn;
-   double mCachedBestRateOut;
+   static int mCachedPlaybackIndex;
+   static wxArrayLong mCachedPlaybackRates;
+   static int mCachedCaptureIndex;
+   static wxArrayLong mCachedCaptureRates;
+   static wxArrayLong mCachedSampleRates;
+   static double mCachedBestRateIn;
+   static double mCachedBestRateOut;
 
/** brief The function which is called from PortAudio's callback thread
 * context to collect and deliver audio for / from the sound device.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/effects Generator.cpp,1.12,1.13

2009-11-03 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/effects
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30043/src/effects

Modified Files:
Generator.cpp 
Log Message:
In Generator::Process(), useHandlePaste argument to WaveTrack::ClearAndPaste() 
was backwards


Index: Generator.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/effects/Generator.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Generator.cpp   16 Aug 2009 14:44:20 -  1.12
+++ Generator.cpp   4 Nov 2009 00:19:35 -   1.13
@@ -77,7 +77,7 @@
SetTimeWarper(new StepTimeWarper(mT1, mDuration-mT1));
bGoodResult = track-ClearAndPaste(mT0, mT1, tmp, true,
  false, mOutputTracks,
- false, first, GetTimeWarper());
+ false, !first, GetTimeWarper());
if (first) {
   first = false;
}


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/effects/nyquist Nyquist.cpp, 1.85, 1.86 Nyquist.h, 1.17, 1.18

2009-11-03 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/effects/nyquist
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5149/src/effects/nyquist

Modified Files:
Nyquist.cpp Nyquist.h 
Log Message:
Correct group behavior for Nyquist effects.


Index: Nyquist.h
===
RCS file: /cvsroot/audacity/audacity-src/src/effects/nyquist/Nyquist.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- Nyquist.h   7 Mar 2009 21:26:42 -   1.17
+++ Nyquist.h   4 Nov 2009 02:04:46 -   1.18
@@ -163,6 +163,7 @@
WaveTrack *mCurTrack[2];
sampleCount   mCurStart[2];
sampleCount   mCurLen;
+   bool  mFirstInGroup;
doublemOutputTime;
int   mCount;
doublemProgressIn;

Index: Nyquist.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/effects/nyquist/Nyquist.cpp,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- Nyquist.cpp 28 Oct 2009 23:27:20 -  1.85
+++ Nyquist.cpp 4 Nov 2009 02:04:46 -   1.86
@@ -488,8 +488,11 @@
   mProgress-Hide();
}
 
-   this-CopyInputTracks(); // Set up mOutputTracks.
-   TrackListIterator iter(mOutputTracks);
+   // We must copy all the tracks, because Paste needs label tracks to ensure
+   // correct group behavior when the timeline is affected; then we just want
+   // to operate on the selected wave tracks
+   this-CopyInputTracks(Track::All);
+   SelectedTrackListOfKindIterator iter(Track::Wave, mOutputTracks);
mCurTrack[0] = (WaveTrack *) iter.First();
mOutputTime = mT1 - mT0;
mCount = 0;
@@ -504,6 +507,10 @@
 
mDebugOutput = ;
 
+   // Keep track of whether the current track is first selected in its group
+   mFirstInGroup = true;
+   Track *gtLast = NULL;
+
while (mCurTrack[0]) {
   mCurNumChannels = 1;
   if (mT1 = mT0) {
@@ -521,6 +528,12 @@
 mCurStart[1] = mCurTrack[1]-TimeToLongSamples(mT0);
  }
 
+ // Check whether we're in the same group as the last selected track
+ TrackGroupIterator gIter(mOutputTracks);
+ Track *gt = gIter.First(mCurTrack[0]);
+ mFirstInGroup = !gtLast || (gtLast != gt);
+ gtLast = gt;
+
  mCurStart[0] = mCurTrack[0]-TimeToLongSamples(mT0);
  sampleCount end = mCurTrack[0]-TimeToLongSamples(mT1);
  mCurLen = (sampleCount)(end - mCurStart[0]);
@@ -762,7 +775,11 @@
  out = mOutputTrack[0];
   }
 
-  mCurTrack[i]-ClearAndPaste(mT0, mT1, out, false, false);
+  // If this track is not first in its group we set useHandlePaste
+  mCurTrack[i]-ClearAndPaste(mT0, mT1, out, false, false,
+  NULL, false, !mFirstInGroup);
+  // Only the first channel can be first in its group
+  mFirstInGroup = false;
}
 
for (i = 0; i  outChannels; i++) {


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src LabelTrack.cpp, 1.120, 1.121 Menus.cpp, 1.533, 1.534 Track.cpp, 1.71, 1.72 Track.h, 1.63, 1.64

2009-11-03 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30364/src

Modified Files:
LabelTrack.cpp Menus.cpp Track.cpp Track.h 
Log Message:
Fix a hang in OnPaste() and clean up LabelTrack::Clear() to use iterators
to handle its group behavior; in the process refactor the iterators a bit
in order to add and correct functionality.


Index: LabelTrack.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/LabelTrack.cpp,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- LabelTrack.cpp  31 Oct 2009 15:24:21 -  1.120
+++ LabelTrack.cpp  3 Nov 2009 18:56:24 -   1.121
@@ -2139,17 +2139,19 @@
 {
AudacityProject *p = GetActiveProject();   
if (p  p-IsSticky()){
-  Track* t = NULL;
-  if (mNode) {
- TrackListNode* n = mNode-prev;
- if (n)
-t = n-t;
+  TrackGroupIterator grpIter(p-GetTracks());
+  Track *t = grpIter.First(this);
+  // If this track is part of a group, find a Wave track in the group and 
do
+  // the clear from there to ensure proper group behavior
+  while (t) {
+ if (t-GetKind() == Track::Wave) {
+return t-Clear(t0, t1);
+ }
+ t = grpIter.Next();
   }
-  // if it is part of a group
-  if (t  t-GetKind() != Track::Time  t-GetKind() != Track::Label)
- t-Clear(t0, t1);
-  else
- ShiftLabelsOnClear(t0, t1);
+
+  // Fallback: shift labels in this track
+  ShiftLabelsOnClear(t0, t1);
}
else
   ChangeLabelsOnClear(t0, t1);

Index: Track.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/Track.cpp,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- Track.cpp   12 Sep 2009 06:05:41 -  1.71
+++ Track.cpp   3 Nov 2009 18:56:24 -   1.72
@@ -250,7 +250,7 @@
return NULL;
 }
 
-Track *TrackListIterator::Last()
+Track *TrackListIterator::Last(bool skiplinked)
 {
if (l == NULL) {
   return NULL;
@@ -258,6 +258,12 @@
 
cur = l-tail;
 
+   // With skiplinked set, we won't return the second channel of a linked pair
+   if (skiplinked  cur  cur-t  cur-t-GetLink()  
!cur-t-GetLinked())
+   {
+  cur = cur-prev;
+   }
+   
if (cur) {
   return cur-t;
}
@@ -294,6 +300,17 @@
return NULL;
 }
 
+Track *TrackListIterator::Prev(bool skiplinked)
+{
+   if (cur)
+  cur = cur-prev;
+
+   if (skiplinked  cur  cur-prev  cur-prev-t-GetLinked())
+  cur = cur-prev;
+
+   return cur ? cur-t : NULL;
+}
+
 Track *TrackListIterator::RemoveCurrent(bool deletetrack)
 {
TrackListNode *next = cur-next;
@@ -331,28 +348,36 @@
return p;
 }
 
-// TrackListOfKindIterator
-TrackListOfKindIterator::TrackListOfKindIterator(int kind, TrackList * val)
-:  TrackListIterator(val)
+//
+// TrackListCondIterator (base class for iterators that iterate over all tracks
+// that meet a condition)
+//
+
+Track *TrackListCondIterator::StartWith(Track *val)
 {
-   this-kind = kind;
+   Track *t = TrackListIterator::StartWith(val);
+
+   if (t  !this-Condition(t))
+  return NULL;
+
+   return t;
 }
 
-Track *TrackListOfKindIterator::First(TrackList * val)
+Track *TrackListCondIterator::First(TrackList *val)
 {
Track *t = TrackListIterator::First(val);
 
-   while (t  (kind != Track::All  t-GetKind() != kind)) {
+   while (t  !this-Condition(t)) {
   t = TrackListIterator::Next();
}
 
return t;
 }
 
-Track *TrackListOfKindIterator::Next(bool skiplinked)
+Track *TrackListCondIterator::Next(bool skiplinked)
 {
while (Track *t = TrackListIterator::Next(skiplinked)) {
-  if (t-GetKind() == kind || kind == Track::All) {
+  if (this-Condition(t)) {
  return t;
   }
}
@@ -360,27 +385,45 @@
return NULL;
 }
 
-//SelectedTrackListOfKindIterator
-Track *SelectedTrackListOfKindIterator::First(TrackList * val)
+Track *TrackListCondIterator::Prev(bool skiplinked)
 {
-   Track *t = TrackListOfKindIterator::First(val);
+   while (Track *t = TrackListIterator::Prev(skiplinked))
+   {
+  if (this-Condition(t)) {
+ return t;
+  }
+   }
 
-   while (t  !t-GetSelected()) {
-  t = TrackListOfKindIterator::Next();
+   return NULL;
+}
+
+Track *TrackListCondIterator::Last(bool skiplinked)
+{
+   Track *t = TrackListIterator::Last(skiplinked);
+
+   while (t  !this-Condition(t)) {
+  t = TrackListIterator::Prev(skiplinked);
}
 
return t;
 }
 
-Track *SelectedTrackListOfKindIterator::Next(bool skiplinked)
+// TrackListOfKindIterator
+TrackListOfKindIterator::TrackListOfKindIterator(int kind, TrackList * val)
+:  TrackListCondIterator(val)
 {
-   while (Track *t = TrackListOfKindIterator::Next(skiplinked)) {
-  if (t-GetSelected()) {
- return t;
-  }
-   }
+   this-kind = kind;
+}
 
-   return NULL;
+bool 

[Audacity-cvs] audacity-src/src CaptureEvents.cpp, NONE, 1.1 CaptureEvents.h, NONE, 1.1 AudacityApp.h, 1.59, 1.60 LabelTrack.cpp, 1.119, 1.120 LabelTrack.h, 1.52, 1.53 Makefile.in, 1.168, 1.169 Menus.

2009-10-31 Thread Al Dimond
 LabelStruct();
+ l-t = t1;
+ l-t1 = mLabels[i]-t1;
+ l-title = mLabels[i]-title;
+
+ mLabels[i]-t1 = t0;
+
+ // This might not be the right place to insert, but we sort at the end
+ ++i;
+ mLabels.Insert(l, i);
+  }
+
+  // If label begins in the selection, move the beginning to selection end
+  if (t0 = mLabels[i]-t  mLabels[i]-t = t1)
+  {
+ mLabels[i]-t = t1;
+  }
+  // If label ends in the selection, move the end to selection beginning
+  if (t0 = mLabels[i]-t1  mLabels[i]-t1 = t1)
+  {
+ mLabels[i]-t1 = t0;
+  }
+
+  // Delete labels that were totally selected
+  if (mLabels[i]-t1  mLabels[i]-t)
+  {
  DeleteLabel( i );
  len--;
  i--;
   }
}
 
+   SortLabels();
+
return true;
 }
 
@@ -2539,6 +2480,25 @@
}
 }
 
+wxString LabelTrack::GetTextOfLabels(double t0, double t1)
+{
+   bool firstLabel = true;
+   wxString retVal;
+
+   for (unsigned int i=0; i  mLabels.GetCount(); ++i)
+   {
+  if (mLabels[i]-t = t0  mLabels[i]-t1 = t1)
+  {
+ if (!firstLabel)
+retVal += '\t';
+ firstLabel = false;
+ retVal += mLabels[i]-title;
+  }
+   }
+
+   return retVal;
+}
+
 // Indentation settings for Vim and Emacs and unique identifier for Arch, a
 // version control system. Please do not modify past this point.
 //

Index: TrackPanel.h
===
RCS file: /cvsroot/audacity/audacity-src/src/TrackPanel.h,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- TrackPanel.h10 Sep 2009 06:28:25 -  1.140
+++ TrackPanel.h31 Oct 2009 15:24:23 -  1.141
@@ -252,6 +252,7 @@
void ExtendSelection(int mouseXCoordinate, int trackLeftEdge,
 Track *pTrack);
void SelectTracksByLabel( LabelTrack *t );
+   void SelectTrackLength(Track *t);
 
 
// AS: Cursor handling

Index: Makefile.in
===
RCS file: /cvsroot/audacity/audacity-src/src/Makefile.in,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- Makefile.in 16 Sep 2009 20:17:18 -  1.168
+++ Makefile.in 31 Oct 2009 15:24:21 -  1.169
@@ -57,6 +57,7 @@
BatchCommands.o \
BatchProcessDialog.o \
Benchmark.o \
+   CaptureEvents.o \
Dependencies.o \
Envelope.o \
FFmpeg.o \

Index: AudacityApp.h
===
RCS file: /cvsroot/audacity/audacity-src/src/AudacityApp.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- AudacityApp.h   15 Oct 2009 19:56:50 -  1.59
+++ AudacityApp.h   31 Oct 2009 15:24:21 -  1.60
@@ -81,6 +81,7 @@
NoteTracksExistFlag= 0x0080,  //gsw
NoteTracksSelectedFlag = 0x0100,  //gsw
HaveRecentFiles= 0x0200,
+   LinkingDisabledFlag= 0x0400,  //awd
 
NoFlagsSpecifed= 0x
 };

--- NEW FILE: CaptureEvents.h ---
/**

   Audacity: A Digital Audio Editor
   Audacity(R) is copyright (c) 1999-2008 Audacity Team.
   License: GPL v2.  See License.txt.

   CaptureEvents.h
   Created by Al Dimond, Oct. 2009 (from code by someone else)

**//**

\class CaptureEvents
\brief RAII-style class to work around a bug in wxGTK 2.8.9-?

*//***/

#ifndef _AUDACITY_CAPTURE_EVENTS_
#define _AUDACITY_CAPTURE_EVENTS_

#if defined(__WXGTK__)  defined(HAVE_GTK)
// As of wxGTK 2.8.9, there is a problem in the wxClipboard class that
// allows recursive event processing.  This problem has been corrected
// by wxWidgets 2.9+.  However, this han't made it into a release yet,
// so we have to work around it.
//
// This is done by pulling/merging in some code from wx29 and creating
// the following class to capture events while accessing the clipboard
// to prevent the asynchronous clipboard access from causing recursive
// event processing.

#include wx/dynarray.h

class CaptureEvents
{
 public:
   CaptureEvents();

   virtual ~CaptureEvents();

 private:
   wxArrayPtrVoid queue;
};
#endif

#endif

Index: LabelTrack.h
===
RCS file: /cvsroot/audacity/audacity-src/src/LabelTrack.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- LabelTrack.h18 Oct 2009 19:58:17 -  1.52
+++ LabelTrack.h31 Oct 2009 15:24:21 -  1.53
@@ -75,11 +75,11 @@
friend class LabelStruct;
 
  public:
-   bool IsGoodLabelCharacter(int keyCode, wxChar charCode);
-   bool IsGoodLabelFirstCharacter(int keyCode, wxChar charCode);
+   bool

[Audacity-cvs] audacity-src/mac/Audacity.xcodeproj project.pbxproj, 1.126, 1.127

2009-10-31 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/mac/Audacity.xcodeproj
In directory 
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv20171/mac/Audacity.xcodeproj

Modified Files:
project.pbxproj 
Log Message:
Fix bugs in Edit-Labeled Regions commands; changes for copy-paste of labels; a 
few linking considerations.


Index: project.pbxproj
===
RCS file: 
/cvsroot/audacity/audacity-src/mac/Audacity.xcodeproj/project.pbxproj,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- project.pbxproj 29 Aug 2009 00:53:18 -  1.126
+++ project.pbxproj 31 Oct 2009 15:24:23 -  1.127
@@ -1503,6 +1503,7 @@
ED3D7FF00DF73889000F43E3 /* EffectCategory.cpp in Sources */ = 
{isa = PBXBuildFile; fileRef = ED3D7FEC0DF73889000F43E3 /* EffectCategory.cpp 
*/; };
ED3D7FF10DF73889000F43E3 /* EffectManager.cpp in Sources */ = 
{isa = PBXBuildFile; fileRef = ED3D7FEE0DF73889000F43E3 /* EffectManager.cpp 
*/; };
EDD94EDB103CB52873F1 /* ImportExportCommands.cpp in Sources 
*/ = {isa = PBXBuildFile; fileRef = EDD94ED9103CB52873F1 /* 
ImportExportCommands.cpp */; };
+   EEFF576E109AB4E20032EDFE /* CaptureEvents.cpp in Sources */ = 
{isa = PBXBuildFile; fileRef = EEFF576C109AB4E10032EDFE /* CaptureEvents.cpp 
*/; };
 /* End PBXBuildFile section */
 
 /* Begin PBXBuildRule section */
@@ -3490,6 +3491,8 @@
ED3D7FEF0DF73889000F43E3 /* EffectManager.h */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = 
EffectManager.h; sourceTree = group; };
EDD94ED9103CB52873F1 /* ImportExportCommands.cpp */ = {isa 
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; 
path = ImportExportCommands.cpp; sourceTree = group; };
EDD94EDA103CB52873F1 /* ImportExportCommands.h */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = 
ImportExportCommands.h; sourceTree = group; };
+   EEFF576C109AB4E10032EDFE /* CaptureEvents.cpp */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; 
name = CaptureEvents.cpp; path = ../src/CaptureEvents.cpp; sourceTree = 
SOURCE_ROOT; };
+   EEFF576D109AB4E20032EDFE /* CaptureEvents.h */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = 
CaptureEvents.h; path = ../src/CaptureEvents.h; sourceTree = SOURCE_ROOT; };
 /* End PBXFileReference section */
 
 /* Begin PBXFrameworksBuildPhase section */
@@ -4667,6 +4670,8 @@
284B27900FC66863005EAC96 /* 
ImportExportPrefs.cpp */,
284B27910FC66863005EAC96 /* ImportExportPrefs.h 
*/,
1790B0C109883BFD008A330A /* KeyConfigPrefs.cpp 
*/,
+   EEFF576C109AB4E10032EDFE /* CaptureEvents.cpp 
*/,
+   EEFF576D109AB4E20032EDFE /* CaptureEvents.h */,
1790B0C209883BFD008A330A /* KeyConfigPrefs.h */,
284B27920FC66863005EAC96 /* LibraryPrefs.cpp */,
284B27930FC66863005EAC96 /* LibraryPrefs.h */,
@@ -8474,6 +8479,7 @@
28DE72AF10388583007E18EC /* 
SetTrackInfoCommand.cpp in Sources */,
28DE72B2103885AA007E18EC /* TimeWarper.cpp in 
Sources */,
EDD94EDB103CB52873F1 /* 
ImportExportCommands.cpp in Sources */,
+   EEFF576E109AB4E20032EDFE /* CaptureEvents.cpp 
in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/effects/nyquist Nyquist.cpp, 1.84, 1.85

2009-10-28 Thread Al Dimond
Update of /cvsroot/audacity/audacity-src/src/effects/nyquist
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10447/src/effects/nyquist

Modified Files:
Nyquist.cpp 
Log Message:
Improve Nyquist effect input dialog to allow easier entry of exact numbers


Index: Nyquist.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/effects/nyquist/Nyquist.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- Nyquist.cpp 18 Sep 2009 08:18:49 -  1.84
+++ Nyquist.cpp 28 Oct 2009 23:27:20 -  1.85
@@ -1049,22 +1049,48 @@
   wxASSERT(slider  text);
   
   int val = slider-GetValue();
-  ctrl-val = (val / (double)ctrl-ticks)*
+
+  double newVal = (val / (double)ctrl-ticks)*
  (ctrl-high - ctrl-low) + ctrl-low;
-  
+
+  // Determine precision for displayed number
+  int precision = ctrl-high - ctrl-low  1 ? 3 :
+  ctrl-high - ctrl-low  10 ? 2 :
+  ctrl-high - ctrl-low  100 ? 1 :
+  0;
+
+  // If the value is at least one tick different from the current value
+  // change it (this prevents changes from manually entered values unless
+  // the slider actually moved)
+  if (fabs(newVal - ctrl-val) = (1 / (double)ctrl-ticks) *
+  (ctrl-high - ctrl-low)  
+  fabs(newVal - ctrl-val) = pow(0.1, precision) / 2 )
+  {
+ // First round to the appropriate precision
+ newVal *= pow(10.0, precision);
+ newVal = floor(newVal + 0.5);
+ newVal /= pow(10.0, precision);
+
+ ctrl-val = newVal;
+  }
+
   wxString valStr;
   if (ctrl-type == NYQ_CTRL_REAL) {
- if (ctrl-high - ctrl-low  1) {
-valStr = Internat::ToDisplayString(ctrl-val, 3);
- }
- else if (ctrl-high - ctrl-low  10) {
-valStr = Internat::ToDisplayString(ctrl-val, 2);
- }
- else if (ctrl-high - ctrl-low  100) {
-valStr = Internat::ToDisplayString(ctrl-val, 1);
+ // If this is a user-typed value, allow unlimited precision
+ if (ctrl-val != newVal)
+ {
+valStr = Internat::ToDisplayString(ctrl-val);
  }
- else {
-valStr.Printf(wxT(%d), (int)floor(ctrl-val + 0.5));
+ else
+ {
+if (precision == 0)
+{
+   valStr.Printf(wxT(%d), (int)floor(ctrl-val + 0.5));
+}
+else
+{
+   valStr = Internat::ToDisplayString(ctrl-val, precision);
+}
  }
   }
   else if (ctrl-type == NYQ_CTRL_INT) {


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Bug 448782] [NEW] Incorrect getopts line in shell script

2009-10-11 Thread Al Dimond
Public bug reported:

Binary package hint: qprof

I'm using qprof-0.5.2-5ubuntu1

On line 22 of /usr/bin/qprof I had:

while getopts rvi:b:g:a:w:c:e:o:sqh

As the -q flag takes an parameter, there should be a colon after the q.
It looks like this script was written by someone either at Debian or
Ubuntu, so there's probably no upstream to notify.

** Affects: qprof (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Incorrect getopts line in shell script
https://bugs.launchpad.net/bugs/448782
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 179335] Re: opreport doesn't run: should link libbfd statically

2009-10-11 Thread Al Dimond
I'm seeing it on karmic also.  As far as I can tell opreport should
definitely be linked with this library statically.  This mailing list
conversation (http://www.mail-archive.com/debian-bugs-
d...@lists.debian.org/msg631508.html) makes it sound like it's very easy
to accidentally build a version that links dynamically.

-- 
opreport doesn't run: should link libbfd statically
https://bugs.launchpad.net/bugs/179335
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 426614] Re: oprofile is linked against non-shipping version of libbfd

2009-10-11 Thread Al Dimond
I don't know a lot about this, but everything I've read in the last 15
minutes suggests that nothing should be linked dynamically toe libbfd
(it's stated in the package info for binutils-dev, for example), but
that it's rather easy to wind up with this on accident: http://www.mail-
archive.com/debian-bugs-d...@lists.debian.org/msg631508.html .  So, I
guess... make sure the build procedures are in order.

-- 
oprofile is linked against non-shipping version of libbfd
https://bugs.launchpad.net/bugs/426614
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 448782] [NEW] Incorrect getopts line in shell script

2009-10-11 Thread Al Dimond
Public bug reported:

Binary package hint: qprof

I'm using qprof-0.5.2-5ubuntu1

On line 22 of /usr/bin/qprof I had:

while getopts rvi:b:g:a:w:c:e:o:sqh

As the -q flag takes an parameter, there should be a colon after the q.
It looks like this script was written by someone either at Debian or
Ubuntu, so there's probably no upstream to notify.

** Affects: qprof (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Incorrect getopts line in shell script
https://bugs.launchpad.net/bugs/448782
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 179335] Re: opreport doesn't run: should link libbfd statically

2009-10-11 Thread Al Dimond
I'm seeing it on karmic also.  As far as I can tell opreport should
definitely be linked with this library statically.  This mailing list
conversation (http://www.mail-archive.com/debian-bugs-
d...@lists.debian.org/msg631508.html) makes it sound like it's very easy
to accidentally build a version that links dynamically.

-- 
opreport doesn't run: should link libbfd statically
https://bugs.launchpad.net/bugs/179335
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 426614] Re: oprofile is linked against non-shipping version of libbfd

2009-10-11 Thread Al Dimond
I don't know a lot about this, but everything I've read in the last 15
minutes suggests that nothing should be linked dynamically toe libbfd
(it's stated in the package info for binutils-dev, for example), but
that it's rather easy to wind up with this on accident: http://www.mail-
archive.com/debian-bugs-d...@lists.debian.org/msg631508.html .  So, I
guess... make sure the build procedures are in order.

-- 
oprofile is linked against non-shipping version of libbfd
https://bugs.launchpad.net/bugs/426614
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Canadian author dishes the scoop on poqop

2009-05-30 Thread Dimond


comparatist.rtf
Description: Binary data
___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Re: Can no longer make a pdf of a large book

2009-05-19 Thread Madeleine r Dimond
  On Mon, May 18, 2009 at 7:24 PM, Combs, Richard
 richard.co...@polycom.com wrote:
 
  Processing power? Not likely (I'm tempted to say nonsense). How 
was
  she creating the PDF? When and how did it fail?
 
  The log file for the job (which should be in the directory in which 
the
  PDF was being created) shows which pages were successfully processed,
  when the process failed, and what error occurred. That information is
  necessary for the list to provide any meaningful suggestions.

Thank you, Richard and others.

I was quoting the writer. Her words were exactly as much as I knew at the 
time. I'll be seeing the file today and will go through all the usual 
processes. 

Best,
Madeleine
___


You are currently subscribed to Framers as arch...@mail-archive.com.

Send list messages to fram...@lists.frameusers.com.

To unsubscribe send a blank email to 
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Can no longer make a pdf of a large book

2009-05-19 Thread Madeleine r Dimond
 > On Mon, May 18, 2009 at 7:24 PM, Combs, Richard
>  wrote:
> >
> > "Processing power"? Not likely (I'm tempted to say "nonsense"). How 
was
> > she creating the PDF? When and how did it fail?
> >
> > The log file for the job (which should be in the directory in which 
the
> > PDF was being created) shows which pages were successfully processed,
> > when the process failed, and what error occurred. That information is
> > necessary for the list to provide any meaningful suggestions.

Thank you, Richard and others.

I was quoting the writer. Her words were exactly as much as I knew at the 
time. I'll be seeing the file today and will go through all the usual 
processes. 

Best,
Madeleine


Can no longer make a pdf of a large book

2009-05-18 Thread Madeleine r Dimond
I received a complaint from a writer who said that FrameMaker 9 took up so 
much processing power that she could not make a pdf of her 700-page book, 
even though she could do so in FrameMaker 8. We're using Windows XP SP2, 
and she has 3.25 GB of RAM.

Has anyone experienced anything similar?

Best,


Madeleine




















Re:Paragraph Designer Sticks in FM9

2009-05-07 Thread Madeleine r Dimond
I've noticed that the Paragraph Designer does stick, though where I've 
noticed it is when I try to call the Commands list. I click, and nothing 
happens. At some point the keyboard shortcuts quit working too, and 
eventually I shut down and restart, unless it crashes first.

I'm running stand-alone FM 9 with the first patch on Windows XP SP2.

Best,
 
 
Madeleine
 
 

 
 














Susan Corcoran wrote on 05/07/2009 02:00:01 AM:

 --
 Hello fellow Framers,
 
 I've upgraded to FM9 recently and I've found an odd quirk.  I wonder if
 anyone else has seen the paragraph designer get stuck on a single panel?
 I can be working along just fine, and suddenly the paragraph designer
 refuses to switch views between Basic, Default Font, Pagination, etc.  I
 can get the dropdown list of tags, but cannot change the tag name.  I
 can get rid of the panel or pod, but each time I bring up paragraph
 designer, it's still stuck.  Occasionally I can fix this by closing and
 reopening the doc, but more often I have to restart FrameMaker.  I work
 with it in both structured and unstructured and it has happened with
 both.
 
 Has anyone else seen this or know what could cause it?
 I'm running FM9 through Tech Comm Suite on Windows XP.

___


You are currently subscribed to Framers as arch...@mail-archive.com.

Send list messages to fram...@lists.frameusers.com.

To unsubscribe send a blank email to 
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Paragraph Designer Sticks in FM9

2009-05-07 Thread Madeleine r Dimond
I've noticed that the Paragraph Designer does stick, though where I've 
noticed it is when I try to call the Commands list. I click, and nothing 
happens. At some point the keyboard shortcuts quit working too, and 
eventually I shut down and restart, unless it crashes first.

I'm running stand-alone FM 9 with the first patch on Windows XP SP2.

Best,


Madeleine



















Susan Corcoran wrote on 05/07/2009 02:00:01 AM:

> --
> Hello fellow Framers,
> 
> I've upgraded to FM9 recently and I've found an odd quirk.  I wonder if
> anyone else has seen the paragraph designer get stuck on a single panel?
> I can be working along just fine, and suddenly the paragraph designer
> refuses to switch views between Basic, Default Font, Pagination, etc.  I
> can get the dropdown list of tags, but cannot change the tag name.  I
> can get rid of the panel or pod, but each time I bring up paragraph
> designer, it's still stuck.  Occasionally I can fix this by closing and
> reopening the doc, but more often I have to restart FrameMaker.  I work
> with it in both structured and unstructured and it has happened with
> both.
> 
> Has anyone else seen this or know what could cause it?
> I'm running FM9 through Tech Comm Suite on Windows XP.



FrameMaker and Accessibility

2009-03-16 Thread Madeleine r Dimond
We're beginning to make our documents accessible, and we'd like to work in 
FrameMaker as much as possible, rather than retouch them in Acrobat. 

We have some icons that we use before notes, tips, and other asides. I'd 
prefer that the reader skip the graphic because the word Note is part of 
the text. However, in Acrobat the Reading Order tool shows the graphic as 
No alternative text exists, and the person checking the document says 
that's not acceptable, even though it doesn't cause a reading problem.

So is there any way to set the anchored frame properties for the graphic 
so that Acrobat will recognize it as background text and its Reading Order 
tool will ignore it?

Is there any Accessibility group associated with FrameMaker?

Best,
 
 
Madeleine
 
 
 
 
 









 



___


You are currently subscribed to Framers as arch...@mail-archive.com.

Send list messages to fram...@lists.frameusers.com.

To unsubscribe send a blank email to 
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


FrameMaker and Accessibility

2009-03-16 Thread Madeleine r Dimond
We're beginning to make our documents accessible, and we'd like to work in 
FrameMaker as much as possible, rather than retouch them in Acrobat. 

We have some icons that we use before notes, tips, and other asides. I'd 
prefer that the reader skip the graphic because the word "Note" is part of 
the text. However, in Acrobat the Reading Order tool shows the graphic as 
"No alternative text exists," and the person checking the document says 
that's not acceptable, even though it doesn't cause a reading problem.

So is there any way to set the anchored frame properties for the graphic 
so that Acrobat will recognize it as background text and its Reading Order 
tool will ignore it?

Is there any Accessibility group associated with FrameMaker?

Best,


Madeleine




















Trial version of FrameMaker 9

2009-03-11 Thread Madeleine r Dimond
Hello,
I have been assigned the task of evaluating FrameMaker 9. Before I install 
the trial version, I wanted to ask whether it will interfere with my 
FrameMaker 8 installation; I'd hate for the trial version to uninstall the 
previous version.  I'm on Windows XP SP2 with FrameMaker 8.0p277.

Best,
 
 
Madeleine
 
 
 
 
 









 



___


You are currently subscribed to Framers as arch...@mail-archive.com.

Send list messages to fram...@lists.frameusers.com.

To unsubscribe send a blank email to 
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Trial version of FrameMaker 9

2009-03-11 Thread Madeleine r Dimond
Hello,
I have been assigned the task of evaluating FrameMaker 9. Before I install 
the trial version, I wanted to ask whether it will interfere with my 
FrameMaker 8 installation; I'd hate for the trial version to uninstall the 
previous version.  I'm on Windows XP SP2 with FrameMaker 8.0p277.

Best,


Madeleine




















Madeleine R Dimond is working on a deadline.

2009-02-02 Thread Madeleine r Dimond

I will be out of the office starting  02/02/2009 and will not return until
02/03/2009.

I am in the office, but I am working on a tight deadline. I will respond to
your message when I complete my current course. Feel free to call me at
512.507.7021 for an emergency.
___


You are currently subscribed to Framers as arch...@mail-archive.com.

Send list messages to fram...@lists.frameusers.com.

To unsubscribe send a blank email to 
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Madeleine R Dimond is working on a deadline.

2009-02-02 Thread Madeleine r Dimond

I will be out of the office starting  02/02/2009 and will not return until
02/03/2009.

I am in the office, but I am working on a tight deadline. I will respond to
your message when I complete my current course. Feel free to call me at
512.507.7021 for an emergency.


Re: Accessibility

2008-12-16 Thread Madeleine r Dimond
As long as we're talking about accessibility, I'd like to throw a few more 
questions in:
When you use the Alternative text box of Object Attributes to enter your 
graphic descriptions, is there any way to collect all of these 
descriptions for review? I didn't see anything in List of References that 
looked likely. I want to collect them so that the editors don't have to 
click each anchored frame to edit them, and so that the entries can be 
spell checked.

I'd also like to know if there's any way to set the language in FrameMaker 
that Acrobat will understand. I want the PDF Document Properties  
Advanced  Reading Options to show English as the language.

If anyone has any other recommendations for using FrameMaker to create 
accessible documents, I'd appreciate hearing about it. Google showed me 
some rather old articles.


Best,
 
 
Madeleine
 
 
 
 
 
Madeleine Reardon Dimond


Technical Editor, Tivoli ISST Enablement Development





 



___


You are currently subscribed to Framers as arch...@mail-archive.com.

Send list messages to fram...@lists.frameusers.com.

To unsubscribe send a blank email to 
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Accessibility

2008-12-16 Thread Madeleine r Dimond
As long as we're talking about accessibility, I'd like to throw a few more 
questions in:
When you use the Alternative text box of Object Attributes to enter your 
graphic descriptions, is there any way to collect all of these 
descriptions for review? I didn't see anything in List of References that 
looked likely. I want to collect them so that the editors don't have to 
click each anchored frame to edit them, and so that the entries can be 
spell checked.

I'd also like to know if there's any way to set the language in FrameMaker 
that Acrobat will understand. I want the PDF Document Properties > 
Advanced > Reading Options to show English as the language.

If anyone has any other recommendations for using FrameMaker to create 
accessible documents, I'd appreciate hearing about it. Google showed me 
some rather old articles.


Best,


Madeleine





Madeleine Reardon Dimond


Technical Editor, Tivoli ISST Enablement Development











Re: FM 7.2 File Compare Headaches

2008-11-25 Thread Madeleine r Dimond
Art wrote on 11/25/2008 02:00:01 AM:
 
 If you do a quick search of this site, or the Adobe FM user forum,
 you'll see a number of messages related to the failed to... problem,
 which surfaced when XP SP3 shipped.  You're probably going to have to
 fix this before going much further...
 The problem is (probably) that you have OLE objects in your Frame
 document AND have installed XP SP3, which contains a Microsoft OLE
 security fix that seems to break things.
 
 *  The work-arounds available seem to be: converting the OLE objects
 to referenced graphic files
 *  Backing out of SP3
 
 A couple people have reported that when the files crash, temporary
 Frame files, usually with random number extensions, are left behind.
 The report is that if you open one of these in Frame and SaveAs, that
 everything is either recovered or now works. I don't have any personal
 experience with that solution...

I've never been able to get those temporary files open. Does anyone have 
any advice?

Also, does anyone have any experience with SP3 and Frame 8?

Users at my site are reporting that Frame 8 crashes more than ever, even 
the people with SP2. I'm still sifting through the reports.

Best,
 
 

 
 
 
 
 
Madeleine Reardon Dimond












___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


FM 7.2 File Compare Headaches

2008-11-25 Thread Madeleine r Dimond
Art wrote on 11/25/2008 02:00:01 AM:
> 
> If you do a quick search of this site, or the Adobe FM user forum,
> you'll see a number of messages related to the "failed to..." problem,
> which surfaced when XP SP3 shipped.  You're probably going to have to
> fix this before going much further...
> The problem is (probably) that you have OLE objects in your Frame
> document AND have installed XP SP3, which contains a Microsoft OLE
> security fix that seems to break things.
> 
> *  The work-arounds available seem to be: converting the OLE objects
> to referenced graphic files
> *  Backing out of SP3
> 
> A couple people have reported that when the files crash, temporary
> Frame files, usually with random number extensions, are left behind.
> The report is that if you open one of these in Frame and SaveAs, that
> everything is either recovered or now works. I don't have any personal
> experience with that solution...

I've never been able to get those temporary files open. Does anyone have 
any advice?

Also, does anyone have any experience with SP3 and Frame 8?

Users at my site are reporting that Frame 8 crashes more than ever, even 
the people with SP2. I'm still sifting through the reports.

Best,








Madeleine Reardon Dimond














[nlug] Re: Suggestions for site manager (i.e. drupal or some such)

2008-10-21 Thread Jeff Dimond
I like WordPress and NucleusCMS. If your host has Fantastico you could more
than likely install either of them with a few clicks of the mouse.

-Jeff

On Tue, Oct 21, 2008 at 1:52 PM, Chris McQuistion
[EMAIL PROTECTED]wrote:

 I've heard good things about WordPress and I've heard it is VERY SIMPLE to
 install.

 Chris



 Douglass Clem wrote:

 Yet the holy wars begin!

 Anyways, I prefer WordPress. It is easy to install, easy to use, and there
 are tones of really good themes/plugins for it. And given the fact that it
 is one of (if not the most) most used CMSs on the web, there is a great
 developer/user community backing it. The upcoming 2.7 release looks quite
 nice too.

 Douglass Clem
 crashsystems.net
 Public Key: http://crashsystems.net/pubkey.asc



 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en
-~--~~~~--~~--~--~---



[nlug] Re: Suggestions for site manager (i.e. drupal or some such)

2008-10-21 Thread Jeff Dimond
All of them are fairly simple to install manually. I have moved drupal
installations done with fantastico without problem. If your using cpanel/WHM
this is really easy to do.

-Jeff

On Tue, Oct 21, 2008 at 2:00 PM, Mark J Bailey [EMAIL PROTECTED] wrote:


 my cousin setup a Drupal install with his provider that supported
 Fantistico, and, indeed it was quick to get going, and, for the most part,
 functional to his needs.  what became problematic for him was when he tried
 to move his site setup outside of the norm (the Drupal site install
 template) that Fantastico generated.  in the end, he decided to do the
 Drupal install and setup himself (as it itself is quite straight forward
 once you understand a few basics about how Drupal works).

 --On Tuesday, October 21, 2008 1:54 PM -0500 Jeff Dimond [EMAIL PROTECTED]
 
 wrote:

 
  I like WordPress and NucleusCMS. If your host has Fantastico you could
  more than likely install either of them with a few clicks of the mouse.
 
  -Jeff
 
 
  On Tue, Oct 21, 2008 at 1:52 PM, Chris McQuistion
  [EMAIL PROTECTED] wrote:
 
 
  I've heard good things about WordPress and I've heard it is VERY SIMPLE
  to install.
 
  Chris
 
 
 
 
 
  Douglass Clem wrote:
 
  Yet the holy wars begin!
 
  Anyways, I prefer WordPress. It is easy to install, easy to use, and
  there are tones of really good themes/plugins for it. And given the fact
  that it is one of (if not the most) most used CMSs on the web, there is a
  great developer/user community backing it. The upcoming 2.7 release looks
  quite nice too.
 
  Douglass Clem
  crashsystems.net
  Public Key: http://crashsystems.net/pubkey.asc
 
 
 
  



 
 Mark J. BaileyJobsoft Design  Development, Inc.
 104 Arlington Place, Suite 100Franklin, TN 37064
 EMAIL: [EMAIL PROTECTED]  WEB: http://www.jobsoft.com/
 VOICE:(615)904-9559 FAX:(615)904-9576 CELL:(615)308-9099


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en
-~--~~~~--~~--~--~---



Relative Paths for OLE Links?

2008-10-15 Thread Madeleine r Dimond
I'm stuck with using OLE links for the time being. Can anyone confirm that 
FrameMaker supports relative paths with OLE, as it does with its Import by 
Reference feature? I know the Microsoft products insist on an absolute 
path.

Does anyone know of a resource for OLE and Frame, or even just OLE? It 
wouldn't be the Frame manual.

Thanks,
 
 
Madeleine
 
 
 
 
 









 



___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


Relative Paths for OLE Links?

2008-10-15 Thread Madeleine r Dimond
I'm stuck with using OLE links for the time being. Can anyone confirm that 
FrameMaker supports relative paths with OLE, as it does with its Import by 
Reference feature? I know the Microsoft products insist on an absolute 
path.

Does anyone know of a resource for OLE and Frame, or even just OLE? It 
wouldn't be the Frame manual.

Thanks,


Madeleine




















Re: Importing PPT slideshows

2007-09-10 Thread Madeleine Reardon Dimond
The best option seems to be to make a pdf from
PowerPoint and import by reference. (Because I haven't
had any trouble making landscape pdfs, I don't expect
to have to crop.)

If things change, I'll make a new pdf, which I assume
will update automatically. So it's not as easy as I'd
like, but what are you going to do with Microsoft?

My experience with converting Word docs is the
graphics (if they come in) come in as embedded, not by
reference. 

Madeleine
--- Linda wrote:

 I'm wondering if anyone offered any options offlist.
 I'm talking to a
 prospect about converting some Word docs that have
 lots of PPT slides
 embedded in them to Frame. There are multiple books,
 totaling to over 1400
 pages, with I don't even know how many slides in
 each doc, but there are
 lots.
 
 They are also constantly updating the content in
 both the slides and the
 books that I'd convert, so I'm also wondering about
 a good way to do this.
 Creating the PDFs and cropping them each time
 there's an update seems a bit
 onerous.
 
 I've also done some OLE with PPT and Frame, but it
 made the file load very
 slowly and it was difficult to work in. 
 
 
 ~
 Linda G. Gallagher
 TechCom Plus, LLC
 lindag at techcomplus dot com
 www.techcomplus.com
 303-450-9076 or 800-500-3144
 User guides, online help, FrameMaker and
 WebWorks ePublisher templates
 
 
 
 
 -Original Message-
 From:

[EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]
 On
 Behalf Of Steve Cavanaugh
 Sent: Thursday, September 06, 2007 10:38 AM
 To: Bodvar Bjorgvinsson; Madeleine Reardon Dimond
 Cc: framers@lists.frameusers.com
 Subject: RE: Importing PPT slideshows
 
 Unless the PP slides contain active elements, I
 would think printing the
 PP slides to PDF and importing those by reference
 would be considerably
 better.  Perhaps there is a reason not to do this,
 but it sure works
 great here.
 
 
 Steve Cavanaugh
 
 -Original Message-
 From:

[EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]
 On Behalf Of Bodvar Bjorgvinsson
 Sent: Thursday, September 06, 2007 9:33 AM
 To: Madeleine Reardon Dimond
 Cc: framers@lists.frameusers.com
 Subject: Re: Importing PPT slideshows
 
 PP does not seem to behave well when it comes to
 printing. My solution
 would be to print to file full width (Letter/A4 -
 sadly printing will
 not (Office 2003) print landscape) and then crop top
 and bottom all
 pages. After that FM should be able to import by
 ref.
 
 Any other ideas would be interesting to hear.
 
 Bodvar
 
 On 9/4/07, Madeleine Reardon Dimond
 [EMAIL PROTECTED] wrote:
  I work for a courseware department that makes
 PowerPoint slideshows 
  and then imports the slides to Framemaker as OLE
 links to make their 
  printed books.
  This process makes huge, unstable files that take
 forever to update.
 
  When I asked why they didn't use Frame's Import by
 Reference feature, 
  I was told that FrameMaker will import only the
 first slide of a show.
 
  So although the Chapter 3 PowerPoint slideshow may
 have 20 slides, 
  only Slide 1 will import by reference.
 
  Being used to importing pdfs one page at a time, I
 can't help thinking
 
  there must be a way to do the same thing with
 PowerPoint shows. Does 
  anybody know what it might be?
 
  Thanks,
  Madeleine Reardon Dimond



  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


  1   2   >