Compare commits

..

720 Commits

Author SHA1 Message Date
preed%mozilla.com
7649e8cd42 Point at the actual installation of gcc.
git-svn-id: svn://10.0.0.236/branches/test_mem_newref@236406 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 00:00:07 +00:00
preed%mozilla.com
246bf6b843 Pointing the newref builds at the correct compiler and clobbering.
git-svn-id: svn://10.0.0.236/branches/test_mem_newref@236400 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 22:49:02 +00:00
preed%mozilla.com
0c35b0f70e Bug 396805: Tweak some config variables for the new ref platform, plus update the headers; removal of the default-toolkit was discussed with stuart, since it's the default now anyway.
git-svn-id: svn://10.0.0.236/branches/test_mem_newref@236397 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 22:34:16 +00:00
(no author)
e4f4f2421c This commit was manufactured by cvs2svn to create branch 'test_mem_newref'.
git-svn-id: svn://10.0.0.236/branches/test_mem_newref@231839 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 19:44:43 +00:00
dbaron%dbaron.org
7e9a393a0f Use new stack-and-abort value added in bug 391722 so we get stacks with our fatal assertions.
git-svn-id: svn://10.0.0.236/branches/test_mem@231838 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 19:44:42 +00:00
ccooper%deadsquid.com
cd36de38e6 b=388691
- trigger another clobber


git-svn-id: svn://10.0.0.236/branches/test_mem@230311 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 18:55:53 +00:00
ccooper%deadsquid.com
5107d5b4e4 b=388691
- test clobbering a non-release build


git-svn-id: svn://10.0.0.236/branches/test_mem@230299 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 17:06:35 +00:00
gavin%gavinsharp.com
0378a4d258 Trying to clobber again
git-svn-id: svn://10.0.0.236/branches/test_mem@230245 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 22:02:56 +00:00
gavin%gavinsharp.com
85dbc09d16 Clobber to fix bustage
git-svn-id: svn://10.0.0.236/branches/test_mem@230237 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:40:54 +00:00
ccooper%deadsquid.com
32aaf5af61 b=374823
- move to Firefox tree


git-svn-id: svn://10.0.0.236/branches/test_mem@230204 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 17:49:05 +00:00
ccooper%deadsquid.com
5b94339183 b=374823
- changes for non-universal build
- reuse profile to allow automatic exiting


git-svn-id: svn://10.0.0.236/branches/test_mem@229625 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 19:16:56 +00:00
dbaron%dbaron.org
f9ebfc947f Make assertions fatal. b=374825
git-svn-id: svn://10.0.0.236/branches/test_mem@228781 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 23:50:04 +00:00
dbaron%dbaron.org
b9757831d2 Reverting again, since the tree is now closed.
git-svn-id: svn://10.0.0.236/branches/test_mem@228773 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 18:58:50 +00:00
dbaron%dbaron.org
d6fe465b4f Make assertions fatal. b=374825
git-svn-id: svn://10.0.0.236/branches/test_mem@228769 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 18:45:44 +00:00
dbaron%dbaron.org
41c14f2543 Reverting, since this looks like a bad time.
git-svn-id: svn://10.0.0.236/branches/test_mem@228764 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 17:46:44 +00:00
dbaron%dbaron.org
f87cbd2b10 Make assertions fatal. b=374825
git-svn-id: svn://10.0.0.236/branches/test_mem@228763 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 17:44:54 +00:00
ccooper%deadsquid.com
c23bcb4d45 -enabled libxul
- add descriptive extra name


git-svn-id: svn://10.0.0.236/branches/test_mem@228316 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 14:20:52 +00:00
ccooper%deadsquid.com
cba8a70328 b=374823
- initial check-in of Mac mem test configs


git-svn-id: svn://10.0.0.236/branches/test_mem@228313 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 13:13:35 +00:00
(no author)
cd13b45757 This commit was manufactured by cvs2svn to create branch 'test_mem'.
git-svn-id: svn://10.0.0.236/branches/test_mem@228113 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 09:09:34 +00:00
dbaron%dbaron.org
db74d7e1de Never mind.
git-svn-id: svn://10.0.0.236/branches/test_mem@228017 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 00:09:58 +00:00
dbaron%dbaron.org
6029eedfd7 Temporary debugging of bug 381199.
git-svn-id: svn://10.0.0.236/branches/test_mem@228015 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 00:07:41 +00:00
benjamin%smedbergs.us
cddf2fcc8b Disable libxul on the memory-testing tinderbox because I haven't figured out how trace-malloc+libxul should work
git-svn-id: svn://10.0.0.236/branches/test_mem@227858 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 14:18:35 +00:00
rhelmer%mozilla.com
6c7d3ffe13 bumping timout to 1600s for BloatTest a=mconnor
git-svn-id: svn://10.0.0.236/branches/test_mem@224602 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 01:46:00 +00:00
dbaron%dbaron.org
84776b1ab4 Bump bloat test timeout from 480 to 600.
git-svn-id: svn://10.0.0.236/branches/test_mem@224126 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-04 03:10:41 +00:00
rhelmer%mozilla.com
43c7e06318 try longer timeout for bloat test
git-svn-id: svn://10.0.0.236/branches/test_mem@222569 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-28 23:55:18 +00:00
dbaron%dbaron.org
91738b6681 Turn trace-malloc bloat test back on so we can try to get it working.
git-svn-id: svn://10.0.0.236/branches/test_mem@220105 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-14 05:56:15 +00:00
preed%mozilla.com
5e96d72a2a Since we're not running Tinderbox from within X, pretty sure we need to define a DisplayServer variable.
git-svn-id: svn://10.0.0.236/branches/test_mem@219891 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 10:32:41 +00:00
bzbarsky%mit.edu
d764d9c941 Clobbering because preed says it'll fix the red.
git-svn-id: svn://10.0.0.236/branches/test_mem@219884 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 07:42:55 +00:00
bzbarsky%mit.edu
e64a7bbfb7 Turning Rlk back on
git-svn-id: svn://10.0.0.236/branches/test_mem@219880 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 07:29:51 +00:00
bzbarsky%mit.edu
33aa90b0a3 Disable the bloat tests for a cycle so this box can go green. r=rhelmer
git-svn-id: svn://10.0.0.236/branches/test_mem@219806 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 01:05:33 +00:00
rhelmer%mozilla.com
939cab1675 point to Firefox tree as per bz in irc
git-svn-id: svn://10.0.0.236/branches/test_mem@219694 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 07:14:01 +00:00
rhelmer%mozilla.com
0aa1349243 turn off fatal assertions
git-svn-id: svn://10.0.0.236/branches/test_mem@219693 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 07:00:18 +00:00
rhelmer%mozilla.com
b12f358df2 stay on Firefox tree for now
git-svn-id: svn://10.0.0.236/branches/test_mem@219692 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 06:53:07 +00:00
rhelmer%mozilla.com
f411a2e2c3 point to Firefox tree
git-svn-id: svn://10.0.0.236/branches/test_mem@219691 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 06:47:23 +00:00
rhelmer%mozilla.com
313aa37a03 config for new leak test/debug box, to replace balsa after removal of non-cairo
git-svn-id: svn://10.0.0.236/branches/test_mem@219690 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 06:43:11 +00:00
(no author)
cd3e8cbab4 This commit was manufactured by cvs2svn to create branch 'test_mem'.
git-svn-id: svn://10.0.0.236/branches/test_mem@219643 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 08:42:59 +00:00
dbaron%dbaron.org
1f58a0431b clobber to force new nightlies after landing of bug 177805
git-svn-id: svn://10.0.0.236/trunk@219641 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 08:42:57 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
dbaron%dbaron.org
d70c26f70c Bump trunk version numbers to 1.9a3pre / 3.0a3pre. b=369583 r=preed
git-svn-id: svn://10.0.0.236/trunk@219637 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 06:37:22 +00:00
mattwillis%gmail.com
bf9e38324a bug 369543 - Replaces Australia/Perth's timezone with one that includes DST. r2=dmose
git-svn-id: svn://10.0.0.236/trunk@219634 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 05:02:40 +00:00
preed%mozilla.com
6ac8e57882 Bug 369550: Correct MozBuild::Util::RunShellCommand() assert()ions. Also slipped in changes to the assert()ion comments, to annotate when HashFile() fails. r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@219624 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 01:21:25 +00:00
inonit%inonit.com
8d5e23343d Fix bug 288027 (XMLList not instanceof XML)
git-svn-id: svn://10.0.0.236/trunk@219613 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 23:00:00 +00:00
glen.beasley%sun.com
df21cf05e4 193386 added MAC OS X support for mangle test r=neil, sr=slavo
git-svn-id: svn://10.0.0.236/trunk@219612 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 22:42:36 +00:00
mattwillis%gmail.com
7d48b50f63 bug 369270 - Add check for latest tzid to GetInTimezone. r1=ctalbert, r2=dmose
git-svn-id: svn://10.0.0.236/trunk@219611 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 22:03:59 +00:00
olav%bkor.dhs.org
7fe049197d Bug 366629: Bugmail messed up if adding dependency for resolved bug in new bug
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@219610 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 22:02:21 +00:00
rhelmer%mozilla.com
6a3da1e03d comment out Tag test, not ready yet
git-svn-id: svn://10.0.0.236/trunk@219607 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 21:09:05 +00:00
glen.beasley%sun.com
6cd5a259cb 333636 bind exception in socket tests r=neil
git-svn-id: svn://10.0.0.236/trunk@219603 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 20:50:00 +00:00
rhelmer%mozilla.com
613ddc2fb1 clobber per vlad, dom inspector broken
git-svn-id: svn://10.0.0.236/trunk@219591 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 19:08:57 +00:00
gavin%gavinsharp.com
c1f70a91d4 Fix typo from patch for bug 221934, a=vlad
git-svn-id: svn://10.0.0.236/trunk@219589 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 18:23:49 +00:00
inonit%inonit.com
1b5f5cbe76 Fix license boilerplate on recent commits
git-svn-id: svn://10.0.0.236/trunk@219587 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 17:48:46 +00:00
mattwillis%gmail.com
317507575c Turning off l10n builds now that bug 340845 is getting resolved
git-svn-id: svn://10.0.0.236/trunk@219581 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 15:00:49 +00:00
lpsolit%gmail.com
48f42b9e1e Bug 348282: importxml.pl throws Bugzilla::Bug::ValidateTime warnings if the time value is not defined and param timetrackinggroup defined - Patch by Guzmán Brasó <gbn@hqso.net> r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@219580 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 14:58:42 +00:00
timeless%mozdev.org
dde92de42a Bug 361533 arm port is broken XPTC_PUBLIC_API / XPTC_InvokeByIndex weren't updated for arm
patch by romaxa@gmail.com r=timeless moa=timeless (this is ports only)


git-svn-id: svn://10.0.0.236/trunk@219572 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 08:25:37 +00:00
bzbarsky%mit.edu
7f404ae71e Adding tests for bug 144004.
git-svn-id: svn://10.0.0.236/trunk@219571 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 07:32:09 +00:00
bzbarsky%mit.edu
f6cd049d5f Check lengths. Bug 369413, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@219568 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 06:40:06 +00:00
bzbarsky%mit.edu
9de03e10b2 Remove dead code. Followup for bug 243159, rs=roc
git-svn-id: svn://10.0.0.236/trunk@219567 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 06:23:18 +00:00
cltbld
bb7bff9877 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@219566 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 05:44:33 +00:00
stridey%gmail.com
d1628895fe Bug 282250: Add negotiateauth support for Camino. Patch by Smokey Ardisson <alqahira@ardisson.org> r/sr=mento
git-svn-id: svn://10.0.0.236/trunk@219564 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 05:35:02 +00:00
bzbarsky%mit.edu
9a255541b4 Adding test for bug 361091.
git-svn-id: svn://10.0.0.236/trunk@219563 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 05:14:25 +00:00
scott%scott-macgregor.org
777ad23fc2 remove ^M characters
git-svn-id: svn://10.0.0.236/trunk@219562 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 05:13:09 +00:00
gavin%gavinsharp.com
ebd8283c51 Bug 369427: perform window.open() URL security check before popup blocking, to ensure that we don't notify UI of a blocked popup that would have otherwise failed anyways, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219561 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 05:11:13 +00:00
cls%seawood.org
2ba64f3fbb Bump the number of directories that can be passed to mkdepend via -I to 1024.
Bug #367860 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@219559 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 05:09:08 +00:00
rhelmer%mozilla.com
0296002457 proper log call r=preed
git-svn-id: svn://10.0.0.236/trunk@219558 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 05:08:40 +00:00
rob_strong%exchangecode.com
2fbf8ab052 Bug 369314 – Trunk install takes over as default browser from a release build. Only take over specific protocol keys that firefox.exe is already the default. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@219556 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 05:04:25 +00:00
scott%scott-macgregor.org
c68d0697bd Bug #369109 --> thunderbird release notes url should use the url formatter to get formatted instead of making it a string property. r=axel
git-svn-id: svn://10.0.0.236/trunk@219555 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 05:03:41 +00:00
dbaron%dbaron.org
4e5f01e33a Don't clear scope on Object.prototype. b=368958 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@219553 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 04:48:20 +00:00
glen.beasley%sun.com
b39cfcbb42 367910 pk11mode -verbose mode r=Neil, sr=alexei
git-svn-id: svn://10.0.0.236/trunk@219552 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 04:43:41 +00:00
despotdaemon
2c6b172605 Pseudo-automatic update of changes made by biswatosh.chakraborty@sun.com.
git-svn-id: svn://10.0.0.236/trunk@219550 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 03:38:57 +00:00
mattwillis%gmail.com
1b6ad22958 New Sunbird about graphic with TM
git-svn-id: svn://10.0.0.236/trunk@219548 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 02:48:27 +00:00
dbaron%dbaron.org
78c1bb12a3 Backing out 361299 in an attempt to fix orange on argo-vm on Firefox tinderbox.
git-svn-id: svn://10.0.0.236/trunk@219547 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 01:59:19 +00:00
sayrer%gmail.com
1102f7dc57 Bug 368994. more mochitests in content/. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219541 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 00:20:25 +00:00
bzbarsky%mit.edu
c8d8cb0476 Only do first-line stuff when inserting directly into the block in question.
Bug 367489 followup, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@219540 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 00:18:08 +00:00
asqueella%gmail.com
4ea730a6bc more fixes for bustage from bug 361299
git-svn-id: svn://10.0.0.236/trunk@219539 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 00:09:47 +00:00
ghendricks%novell.com
2c95b178a2 Added access controls to test plans. Users must now either be a member of the Testers group, added to a plan via regular expressions, or added explicitly to modify plans and their objects.
git-svn-id: svn://10.0.0.236/trunk@219538 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 00:02:16 +00:00
inonit%inonit.com
139a1152d9 Fix bug in EXPECT EXIT
Emulate SpiderMonkey exit code for OutOfMemoryError


git-svn-id: svn://10.0.0.236/trunk@219537 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 23:41:15 +00:00
lpsolit%gmail.com
0ef3c298cc Bug 360838: ./runtests.pl 1 fails if Email::Reply is not installed - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@219536 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 23:15:36 +00:00
christophe.ravel.bugs%sun.com
3b324230b3 Set the JSS version to 4.2.5 Beta.
Tag: none.


git-svn-id: svn://10.0.0.236/trunk@219535 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 23:07:31 +00:00
joshmoz%gmail.com
659955bc5b fix bustage from bug 361299
git-svn-id: svn://10.0.0.236/trunk@219533 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 22:58:53 +00:00
asqueella%gmail.com
417111a4c5 Bug 221934 - Display page title in DOM Inspector Window
patch by Michael Gall <michael@wakeless.net>
r=db48x, sr=neil


git-svn-id: svn://10.0.0.236/trunk@219532 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 22:45:57 +00:00
asqueella%gmail.com
077e43ad40 Bug 368263 - remove hack around bug 23485 introduced in bug 249322 for multiline urls
patch by Dão Gottwald <dao@design-noir.de>
r=gavin


git-svn-id: svn://10.0.0.236/trunk@219531 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 22:39:29 +00:00
joshmoz%gmail.com
838d26124c fix icon decoder on mac os x, don't call GetAlphaBytesPerRow and its underlying GetAlphaLineStride which is
plain wrong in Cairo. patch by Alfred Kayser. r=pav sr=tor


git-svn-id: svn://10.0.0.236/trunk@219529 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 22:35:37 +00:00
asqueella%gmail.com
f7f5613b85 Bug 354330 - nsIPref should have @status DEPRECATED
patch by Magnus Melin <mkmelin+mozilla@iki.fi>
r=timeless, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@219528 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 22:34:35 +00:00
asqueella%gmail.com
82cc2200b9 bug 362695 - Change nsIEditor to remove readonly on transactionManager
patch by Alex Vincent <ajvincent@gmail.com>
r=neil, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@219527 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 22:24:12 +00:00
olav%bkor.dhs.org
87717d7ecb Bug 366187: Fix regression; ensure dependent changed bugmail will be sent out
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@219525 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 21:34:20 +00:00
gijskruitbosch%gmail.com
35501d6ce6 Bug 353183 - Plugin management should provide feedback themselves
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@219524 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 21:12:18 +00:00
gijskruitbosch%gmail.com
04dc88412f Bug 367903 - bugzilla url munger shouldn't truncate bug ids of more than 6 digits
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@219523 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 20:42:42 +00:00
mozilla.mano%sent.com
4e4eab18f2 Copy the security checks for history items to placescontroller/utils, r=sspitzer (patch on bug 362292).
git-svn-id: svn://10.0.0.236/trunk@219522 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 20:38:52 +00:00
despotdaemon
11a3e8f918 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@219521 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 20:16:19 +00:00
despotdaemon
011d8a1238 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@219520 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 20:14:46 +00:00
tor%cs.brown.edu
5a65ba5365 Bug 359516 - replace hand-wired observer scheme for filters with
nsIMutationObserver.  r=roc, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@219519 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 20:04:17 +00:00
ghendricks%novell.com
b439fd4ad9 patch by Guzmán Brasó
r=ghendricks, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@219518 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 19:55:45 +00:00
despotdaemon
f34e0c871d Pseudo-automatic update of changes made by LpSolit@gmail.com.
git-svn-id: svn://10.0.0.236/trunk@219516 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 19:40:27 +00:00
uriber%gmail.com
6d976f44e8 Avoid including the offset from a continuation frame to the original frame's parent twice when computing the 'all in flow bounding rect'. bug=368735, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@219515 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 19:32:26 +00:00
inonit%inonit.com
a127c66df6 Don't rely on JAXP for ignoring comments (semantics are slightly different than E4X, or JRE parser has a bug, not sure which)
git-svn-id: svn://10.0.0.236/trunk@219513 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 19:08:07 +00:00
gavin%gavinsharp.com
a5eb6151d9 Bug 369151: Restored blank tabs can't be reopened once they're closed, patch by Simon Bünzli <zeniko@gmail.com>, r=dietrich
git-svn-id: svn://10.0.0.236/trunk@219512 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 19:06:06 +00:00
mconnor%steelgryphon.com
2ddf149ace bug 360493 - add filters to password manager to also match on actionURL, r=mano, sr+a=dveditz
git-svn-id: svn://10.0.0.236/trunk@219510 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 18:44:51 +00:00
mattwillis%gmail.com
9a5977a1e6 backing out bug 355465. >:(
git-svn-id: svn://10.0.0.236/trunk@219509 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 18:36:40 +00:00
mattwillis%gmail.com
a3bdab86e6 backing out bug 355465. >:(
git-svn-id: svn://10.0.0.236/trunk@219508 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 18:20:10 +00:00
mrbkap%gmail.com
d12b7d5e51 Use a more roundabout way to convert variables to strings and call FindProxyForURL. bug 355214, r=crowder/darin sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@219507 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 18:19:48 +00:00
bzbarsky%mit.edu
eb4de59882 Simplify the posted events setup now that they're owned through dispatch by the
target thread. Bug 369247, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@219506 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 18:09:26 +00:00
sspitzer%mozilla.org
1131b041d8 fix for bug #360029: remove places icon from personal toolbar.
patch=dmills

thanks to jminta and philringnalda for the help.

r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@219505 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 17:46:51 +00:00
inonit%inonit.com
797cb974fd Fix infinite-loop condition with >1 generated namespace prefix
git-svn-id: svn://10.0.0.236/trunk@219504 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 17:32:09 +00:00
tor%cs.brown.edu
14d632d01c Bug 367796 - <svg:switch> should be SVGTransformable. r=scootermorris, sr=roc
git-svn-id: svn://10.0.0.236/trunk@219502 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 16:26:23 +00:00
crowder%fiverocks.com
6ec6b0dc77 Bug 366398: Makefile.ref on Darwin builds dynamic library correctly, and a fix for debug builds
git-svn-id: svn://10.0.0.236/trunk@219501 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 16:24:49 +00:00
sspitzer%mozilla.org
e873282d25 fix for bug #368661: on running the installer, remove the updates directory, updates.xml and active-update.xml files. otherwise, we could have a pave over install that then applies a pending update. additonally, after a pave over install the update history needs to be reset.
r=mscott, rstrong


git-svn-id: svn://10.0.0.236/trunk@219499 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 15:52:43 +00:00
inonit%inonit.com
4eb1afc35f Implement E4X without Apache XMLBeans, fix bug #355677
git-svn-id: svn://10.0.0.236/trunk@219498 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 15:24:52 +00:00
inonit%inonit.com
38ad891054 Remove CVS keywords (at least for now) to make merging easier
git-svn-id: svn://10.0.0.236/trunk@219497 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 14:56:40 +00:00
despotdaemon
16fc07e8c6 Pseudo-automatic update of changes made by rcampbell@mozilla.com.
git-svn-id: svn://10.0.0.236/trunk@219496 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 14:50:31 +00:00
Olli.Pettay%helsinki.fi
a9edcad774 Mochitest for Bug 367781, r=peterv
git-svn-id: svn://10.0.0.236/trunk@219492 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 11:29:31 +00:00
Olli.Pettay%helsinki.fi
fe9d7152d0 Mochitest for Bug 367781, r=peterv
git-svn-id: svn://10.0.0.236/trunk@219491 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 11:28:16 +00:00
bclary%bclary.com
9f4d381660 JavaScript Tests - correct bugnumber in tests
git-svn-id: svn://10.0.0.236/trunk@219490 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 11:22:03 +00:00
bclary%bclary.com
bab8f316a9 JavaScript Tests - update test template.js files copyright to 2007, Bug 369347
git-svn-id: svn://10.0.0.236/trunk@219489 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 11:14:08 +00:00
smontagu%smontagu.org
bb62298042 Remove unused method BidiStyleChangeReflow(). Bug 369338, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219488 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 10:48:27 +00:00
scott%scott-macgregor.org
82ef6035b1 Bug #353987 --> missing altenrate link in atom feed causes a js exception. Patch by Tuukka Tolvanen. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@219487 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 06:38:30 +00:00
bzbarsky%mit.edu
ed0e1d8804 Converting some tests to reftest.
git-svn-id: svn://10.0.0.236/trunk@219486 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 05:32:25 +00:00
bzbarsky%mit.edu
d6f518ac33 Pass the right frame to the first-line stuff. Bug 367489, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@219484 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 03:32:25 +00:00
sayrer%gmail.com
5fe975e832 Bug 368994. move more tests. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219483 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 03:19:35 +00:00
masayuki%d-toybox.com
ca70d600a8 Bug 369198 some characters missing at drawing r=roc
git-svn-id: svn://10.0.0.236/trunk@219482 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 03:11:53 +00:00
mozilla.mano%sent.com
e6670fd427 Bug 369311 - Typo in buildSelectionMetadata breaks the places context menu in certain conditions. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@219480 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 00:28:27 +00:00
bzbarsky%mit.edu
4f7460d6df Make sure to process any pending exceptions the security manager has set if
we're not called from JS.  Bug 369157, r+sr=brendan.


git-svn-id: svn://10.0.0.236/trunk@219479 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 22:06:49 +00:00
uriber%gmail.com
406711070e Always initialize numChildren, now that it's always checked. bug=368893 r=nian.liu sr=roc
git-svn-id: svn://10.0.0.236/trunk@219478 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 21:24:49 +00:00
bienvenu%nventure.com
9171835c7c fix one cause of getting hourglass when clicking on an imap folder, sr=mscott, 271108
git-svn-id: svn://10.0.0.236/trunk@219477 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 21:10:11 +00:00
dbaron%dbaron.org
5a1016536d Be more tolerant of varying font metrics so the tests pass on Mac too, and clean up some things from the last round of changes. b=9458,18217
git-svn-id: svn://10.0.0.236/trunk@219476 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 20:52:46 +00:00
mozilla.mano%sent.com
c5fb9743e8 Bug 368876 - Organize Bookmarks menu-item does not work in non-browser windows. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@219475 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 19:31:30 +00:00
mozilla.mano%sent.com
36cdb865b5 Bug 369222 - Javascript error when opening the context menu for the empty area (i.e. root node) in the places toolbar. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@219474 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 19:23:00 +00:00
bzbarsky%mit.edu
1abd4f2810 Let the consumer have a look at the channel we opened if they want (e.g. if
they want its owner).  Bug 369242, r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@219473 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 18:03:13 +00:00
lpsolit%gmail.com
947a2c2019 Bug 369268: Wrong title for the API documentation of Bugzilla::WebService::Product - Patch by Guzmán Brasó <gbn@hqso.net> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@219472 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 17:51:54 +00:00
mkanat%bugzilla.org
9f91edbd32 Bug 364697: dataloss warning from UTF8 conversion is not precise/scary enough
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@219471 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 16:59:30 +00:00
mkanat%bugzilla.org
2e9961db54 Bug 358354: WebService should perform a login in xmlrpc.cgi
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@219470 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 16:23:21 +00:00
olav%bkor.dhs.org
416d75ec83 Bug 365317: Must add 'MIME-Version: 1.0' to avoid charset being possibly ignored
Patch By Olav Vitters <olav@bkor.dhs.org> r=mkanat a=mkanat


git-svn-id: svn://10.0.0.236/trunk@219469 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 15:41:10 +00:00
lpsolit%gmail.com
a2bc326acd Bug 364177: On attachment and bug creation, if *one* requestee cannot see the bug, *all* requests are cancelled - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@219468 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 15:36:47 +00:00
lpsolit%gmail.com
f4a249536d Bug 290288: When editing a bug, include the bug number in the "Bug processed" title - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@219467 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 15:11:41 +00:00
bzbarsky%mit.edu
e00419d442 These aren't actually interface methods. Bug 369167, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219465 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 05:14:23 +00:00
justdave%bugzilla.org
fea1c6467a Bug 367836: Let the shadowdb connection have its own username and password
r=bear


git-svn-id: svn://10.0.0.236/trunk@219464 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 04:09:22 +00:00
sayrer%gmail.com
bcdc7107e6 Bug 368994. move tests for bug 100533. r=bz
git-svn-id: svn://10.0.0.236/trunk@219463 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 00:55:27 +00:00
gijskruitbosch%gmail.com
cb7a140f7e No bug - Sort contributors, add myself.
r=silver@warwickcompsoc.co.uk (James Ross) on IRC
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@219462 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 22:57:21 +00:00
cst%yecc.com
1524f1a475 Bug 369053 className is a property, not an attribute
r=ajschult sr=neil


git-svn-id: svn://10.0.0.236/trunk@219461 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 21:11:41 +00:00
sayrer%gmail.com
ad47eeb06b testing tinderbox messages
git-svn-id: svn://10.0.0.236/trunk@219460 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 19:26:49 +00:00
stridey%gmail.com
4ad75ec183 Camino Only - Bug 362330: Adblocking update. Patch by Smokey Ardisson <alqahira@ardisson.org> r/sr=smfr
git-svn-id: svn://10.0.0.236/trunk@219459 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 19:00:53 +00:00
bienvenu%nventure.com
903538fcfb prevent full download of partial pop3 message from running at same time as get new mail, sr=mscott part of 240049
git-svn-id: svn://10.0.0.236/trunk@219458 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 18:38:48 +00:00
bienvenu%nventure.com
178fb5bc03 fix parsing of boundary header to be case-insensitive, fixes preview text and spotlight file generation, 290057, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@219457 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 18:20:17 +00:00
ajschult%verizon.net
2fc9a0beb8 Bug 368789: use full path to invoke app for bloat tests and stop using page cycler in SeaMonkey. r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@219456 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 17:48:55 +00:00
sayrer%gmail.com
66b2bc60df try experimental TinderboxPrint lines
git-svn-id: svn://10.0.0.236/trunk@219454 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 16:44:46 +00:00
sayrer%gmail.com
48a0b32e96 Bug 369196. change profile setup for mochitest. r=rcampbell
git-svn-id: svn://10.0.0.236/trunk@219453 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 16:43:17 +00:00
masayuki%d-toybox.com
4e1f6fefed Bug 365886 Implement canvas transform() and setTransform(). patch by KUROSAWA, Takeshi (taken) <taken.spc@gmail.com> r=vlad
git-svn-id: svn://10.0.0.236/trunk@219452 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 12:27:49 +00:00
mattwillis%gmail.com
9342dd8b4e debugging mac l10n
git-svn-id: svn://10.0.0.236/trunk@219450 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 07:08:45 +00:00
mattwillis%gmail.com
a89230b6e2 bug 355465 - Make tinderbox more flexible with where it reports l10n packaging status. (Missing piece now included) r=preed
git-svn-id: svn://10.0.0.236/trunk@219449 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 07:04:35 +00:00
jwalden%mit.edu
1c83a04091 Bug 369169 - Turn off server debug output, uncluttering test logs -- if you need to debug the server or want to see where something's going awry, tweak the new DEBUG constant manually. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@219448 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 06:15:26 +00:00
dbaron%dbaron.org
4cdd6631fe Flush layout in subframes before doing a drawWindow. b=369146 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219447 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 03:54:02 +00:00
mattwillis%gmail.com
f9bdf4a612 bug 355465 - Make tinderbox more flexible with where it reports l10n packaging status. r=preed
git-svn-id: svn://10.0.0.236/trunk@219446 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 03:07:58 +00:00
jst%mozilla.org
1e2ff02370 Fix for bug 368945. Prevent creation of safe wrappers for objects that the caller can not access. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@219445 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 03:03:07 +00:00
scott%scott-macgregor.org
c21504f7bc Bug #361702 --> nsIIOService::SetManageOfflineStatus throws a JS error on platforms that don't support nsINetworkLinkService. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219444 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 02:51:10 +00:00
jwalden%mit.edu
6d7428a45a Bug 368942 - Add a do_get_file(path) function to xpcshell-simple, remove do_get_topsrcdir() as unnecessary. Also fix bug 368944 (invalid use of nsILocalFile API in test-harness) at the same time. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@219443 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:46:09 +00:00
bzbarsky%mit.edu
93e3b51055 Add test for bug 355213.
git-svn-id: svn://10.0.0.236/trunk@219442 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:37:48 +00:00
mkanat%bugzilla.org
02de4d6790 Bump version number post-release.
git-svn-id: svn://10.0.0.236/trunk@219441 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:35:17 +00:00
benjamin%smedbergs.us
b41b45239e Bug 78081 - Don't export intermediate libraries; don't need to mention thebes explicitly because it's already EXPORT_LIBRARY. blanket-r=mento
git-svn-id: svn://10.0.0.236/trunk@219439 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:24:35 +00:00
tony%ponderer.org
887c20e021 bug 368761: "Report Web Forgery..." in the Help menu should be smarter
patch: swap help menu item based on context
r=bryner


git-svn-id: svn://10.0.0.236/trunk@219438 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:22:37 +00:00
benjamin%smedbergs.us
3321f9ce34 Bug 78081 - Don't export intermediate libraries, blanket-r=mento
git-svn-id: svn://10.0.0.236/trunk@219437 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:19:04 +00:00
bzbarsky%mit.edu
5d122039d9 Hoist the ref-scrolling stuff up to nsContentSink. Bug 369015, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219436 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 00:48:29 +00:00
graydon%mozilla.com
1bf777ed40 Bug 369134, bandaid for crash during restart under cycle collection.
r=vlad


git-svn-id: svn://10.0.0.236/trunk@219435 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 00:37:44 +00:00
rob_strong%exchangecode.com
7e0c766e77 Bug 369125 – updater.exe doesn't have a good description (updater). r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@219434 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 00:23:50 +00:00
crowder%fiverocks.com
19bb5e772a Bug 355214: backing out mrbkap's patch for more testing
git-svn-id: svn://10.0.0.236/trunk@219433 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 00:15:19 +00:00
bzbarsky%mit.edu
6e5369ff05 Update scrollframes to the new GetCollapsed() API too. Bug 369127, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@219432 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 00:08:19 +00:00
scott%scott-macgregor.org
e874ae7526 Bug #366501 --> Make back and forward history buttons default toolbar items. Remove the stop button from the default set. Do a better job sizing the initial width of the thunderbird window for 1024x768 resolution with the wider toolbar. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219431 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 23:54:17 +00:00
mkanat%bugzilla.org
089437e799 Bump version number pre-release.
git-svn-id: svn://10.0.0.236/trunk@219426 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 23:10:38 +00:00
kaie%kuix.de
8ab4f527d5 Bug 369098, Unable to Import personal certificate
Regression from recent checkin of bug 343612
Backing out obvious duplicate JS line
r=me


git-svn-id: svn://10.0.0.236/trunk@219423 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 22:53:48 +00:00
mrbkap%gmail.com
8aa8e587e4 Use a more roundabout way to convert variables to strings and call FindProxyForURL. bug 355214, r=crowder/darin sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@219422 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 22:40:28 +00:00
justdave%bugzilla.org
1176151d5a [SECURITY] Bug 367071: mod_perl initialization script forgets to allow .htaccess files to prohibit file access.
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@219421 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 22:23:23 +00:00
bclary%bclary.com
3192cef0ee JavaScript Tests - sub status undefined, bug 369131, not part of the build
git-svn-id: svn://10.0.0.236/trunk@219420 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 21:54:13 +00:00
mkanat%bugzilla.org
530aaa8161 Bug 367674: [SECURITY] XSS when reading Atom feeds due to unescaped HTML
Patch By Frédéric Buclin <LpSolit@gmail.com> r=bkor, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@219419 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 21:42:00 +00:00
mattwillis%gmail.com
1f905b8504 debugging mac l10n
git-svn-id: svn://10.0.0.236/trunk@219418 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 21:40:33 +00:00
stridey%gmail.com
d42d841faa Camino only - Bug 364198: Allow the site icon for local files to act as a proxy for the file. r=smorgan sr=pink.
git-svn-id: svn://10.0.0.236/trunk@219416 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 21:24:34 +00:00
mattwillis%gmail.com
fa9dcbd9a4 debugging mac l10n
git-svn-id: svn://10.0.0.236/trunk@219415 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 20:14:01 +00:00
sspitzer%mozilla.org
871aadc0f1 fix for bug #368661: on running the installer, remove the updates directory, updates.xml and active-update.xml files. otherwise, we could have a pave over install that then applies a pending update. additonally, after a pave over install the update history needs to be reset.
r=lilmatt


git-svn-id: svn://10.0.0.236/trunk@219413 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 18:21:39 +00:00
mike.morgan%oregonstate.edu
e357bc7447 s/7/9/
git-svn-id: svn://10.0.0.236/trunk@219411 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 17:55:35 +00:00
mattwillis%gmail.com
d95bc6618b debugging mac l10n
git-svn-id: svn://10.0.0.236/trunk@219410 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 17:53:16 +00:00
daniel.boelzle%sun.com
134080f78c Bug 340949, 368820, 356125: minding signons.rememberSignons, simple caching, using search_calprops, email alarms, misc cleanup
git-svn-id: svn://10.0.0.236/trunk@219409 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 14:42:50 +00:00
bugzilla%standard8.demon.co.uk
b6443fad4b Bug 119948 duplicated LDIF import code. r=bienvenu,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@219408 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 13:51:40 +00:00
mattwillis%gmail.com
1559f28e4b debugging mac l10n
git-svn-id: svn://10.0.0.236/trunk@219406 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 08:27:46 +00:00
rob_strong%exchangecode.com
3b972cd451 Bustage fix - Bug 369048 – The installer should take over system wide defaults on install if the existing system wide default is for a firefox.exe. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@219403 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 07:15:54 +00:00
dbaron%dbaron.org
4db2e911a7 Fix inclusion of extra notation in href.
git-svn-id: svn://10.0.0.236/trunk@219402 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:41:51 +00:00
sspitzer%mozilla.org
5bd54a78a0 fix for bug #368661: on running the installer, remove the updates directory, updates.xml and active-update.xml files. otherwise, we could have a pave over install that then applies a pending update. additonally, after a pave over install the update history needs to be reset.
r=rstrong


git-svn-id: svn://10.0.0.236/trunk@219401 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:37:17 +00:00
rob_strong%exchangecode.com
5471dff1f0 Bug 369048 – The installer should take over system wide defaults on install if the existing system wide default is for a firefox.exe. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@219400 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:35:49 +00:00
dbaron%dbaron.org
8020647767 Tweak inline-block and inline-table z-ordering tests so they work with a broader range of font metrics and line heights.
git-svn-id: svn://10.0.0.236/trunk@219399 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:15:24 +00:00
dbaron%dbaron.org
1e94da33b0 Allow display:inline-block to be used on :before and :after. b=368622 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219398 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:13:37 +00:00
dbaron%dbaron.org
0903c8befe Move gray-ness of table borders to quirks mode and restore our prior standards-mode behavior. b=84307 r=fantasai sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219397 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:11:56 +00:00
preed%mozilla.com
d258d0c6ab Back out mattwillis' fix for bug 355465; perl -c is your friend.
git-svn-id: svn://10.0.0.236/trunk@219396 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:08:36 +00:00
mattwillis%gmail.com
10d188367f Respinning to build l10n
git-svn-id: svn://10.0.0.236/trunk@219395 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 05:35:02 +00:00
dbaron%dbaron.org
d58318944f Comment out a test that fails intermittently.
git-svn-id: svn://10.0.0.236/trunk@219394 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 05:18:25 +00:00
rob_strong%exchangecode.com
eb30bba2d6 Bug 367540 - When launching the app from the installer the app runs with elevated privileges. Also fixes Bug 364483 – Firefox stays elevated after update. patch=Masatoshi Kimura (:emk), r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@219393 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 05:07:37 +00:00
dbaron%dbaron.org
f9799eb9b0 Add simple script to clean up reftest output.
git-svn-id: svn://10.0.0.236/trunk@219392 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 05:00:41 +00:00
dbaron%dbaron.org
87181839d8 Add image that I forgot to add when checking in bug 368020.
git-svn-id: svn://10.0.0.236/trunk@219389 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 04:29:52 +00:00
mattwillis%gmail.com
6f54aa1e25 update tinder-config.pl to bug 355465 format
git-svn-id: svn://10.0.0.236/trunk@219387 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 04:09:04 +00:00
mattwillis%gmail.com
731e802569 bug 355465 - Make tinderbox more flexible with where it reports l10n packaging status. r=preed
git-svn-id: svn://10.0.0.236/trunk@219386 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 04:08:36 +00:00
sspitzer%mozilla.org
56a8e2de50 backing out my fix for bug #368661, it will break software update.
git-svn-id: svn://10.0.0.236/trunk@219385 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 04:05:21 +00:00
jst%mozilla.org
764d4a488b Fixing bug 368945. Add more value checking. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@219380 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 03:35:06 +00:00
alfred.peng%sun.com
656526444e Bug 365339. set cairo endianness macros in a sane way.
r=vladimir.


git-svn-id: svn://10.0.0.236/trunk@219378 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 03:26:39 +00:00
bzbarsky%mit.edu
3c75597311 Add tests for bug 276037.
git-svn-id: svn://10.0.0.236/trunk@219377 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 03:02:47 +00:00
jwalden%mit.edu
f8b731730a Add reftests for most of bug 1156. There's still more to do, but this covers probably 70-80% of it. r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@219374 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 02:42:04 +00:00
tony%ponderer.org
a9d821f39c bug 369012: split client name and version number into separate query params
during phishing requests
patch: split {moz:client} and {moz:version}
r=marria


git-svn-id: svn://10.0.0.236/trunk@219373 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 02:30:31 +00:00
bzbarsky%mit.edu
a4c17fc701 Make sure to initialize all members and that sort of thing. Bug 369011, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219372 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 02:12:48 +00:00
bienvenu%nventure.com
33539cd9a4 fix imap url parsing problem, sr=mscott 369028
git-svn-id: svn://10.0.0.236/trunk@219370 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 01:03:31 +00:00
masayuki%d-toybox.com
24182bf2fb Bug 365236 Implement font-size-adjust on Mac r=vlad
git-svn-id: svn://10.0.0.236/trunk@219369 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 00:46:48 +00:00
scott%scott-macgregor.org
3f1f9c725b Bug #369026 --> start page style rule cleanup including removing the background gradient. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219368 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 00:16:04 +00:00
ghendricks%novell.com
e136b41bd6 fixed error in patch 2.22
git-svn-id: svn://10.0.0.236/trunk@219366 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 23:50:57 +00:00
mattwillis%gmail.com
16d2f57d6b Spinning Sunbird 0.3.1 RC1
git-svn-id: svn://10.0.0.236/trunk@219364 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 23:17:30 +00:00
sayrer%gmail.com
1958dfebca Bug 357450. Unit tests for getElementsByClassName. r=jst, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@219362 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 22:49:09 +00:00
bienvenu%nventure.com
a419f726dc fix 369009 new profile with account(s) setup with MCD still brings up account wizard, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@219359 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 22:34:01 +00:00
mattwillis%gmail.com
fd7db323ec bug 369014 - Fix typo in Argentina/Catamarca. r1/2=dmose
git-svn-id: svn://10.0.0.236/trunk@219357 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 22:30:15 +00:00
ghendricks%novell.com
0cbc1a3cc3 error in the patch
git-svn-id: svn://10.0.0.236/trunk@219356 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 22:17:43 +00:00
sayrer%gmail.com
122c643287 Bug 368994. move more content/ unit tests. r=sicking
git-svn-id: svn://10.0.0.236/trunk@219354 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 21:44:40 +00:00
sspitzer%mozilla.org
235535882e fix for bug #368661: on running the installer, remove the updates directory, updates.xml and active-update.xml files. otherwise, we could have a pave over install that then applies a pending update. additonally, after a pave over install the update history needs to be reset.
r=dveditz,mscott,lilmatt


git-svn-id: svn://10.0.0.236/trunk@219353 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 21:29:21 +00:00
rhelmer%mozilla.com
a7f586ef6c do not override profile dir for firefox b=341852, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@219351 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 21:07:10 +00:00
rhelmer%mozilla.com
2991de3ced pageloader exgtension for firefox, b=367559 r=robcee
git-svn-id: svn://10.0.0.236/trunk@219349 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 20:56:13 +00:00
ghendricks%novell.com
cb5309cce4 assignee is optional.
git-svn-id: svn://10.0.0.236/trunk@219346 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 20:35:06 +00:00
mkanat%bugzilla.org
d8f8242cd3 Bug 361115: Release Notes For Bugzilla 2.22.2
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit


git-svn-id: svn://10.0.0.236/trunk@219343 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 20:17:54 +00:00
benjamin%smedbergs.us
c5eef58af6 Bug 366354 - fix activex control manifest embedding for VC8, patch by mfinkle r=me
git-svn-id: svn://10.0.0.236/trunk@219333 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 18:57:57 +00:00
nelson%bolyard.com
c5bb81d728 Replace <LAYER> tags with <IFRAME>. Results looks right, but variables
from right frame are not succesfully fetched by left frame.  Bug 54685.


git-svn-id: svn://10.0.0.236/trunk@219332 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 18:55:53 +00:00
crowder%fiverocks.com
2831391b63 Bug 366398: Backing this out since it breaks branch debug builds.
Will restore when I have branch approvals


git-svn-id: svn://10.0.0.236/trunk@219331 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 18:40:00 +00:00
sayrer%gmail.com
364b319b0e Bug 368994. moving test cases closer to the code they test. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219330 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 18:24:32 +00:00
sayrer%gmail.com
226d1b3a24 Bug 368994. moving test cases closer to the code they test. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219329 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 18:06:09 +00:00
mnyromyr%tprac.de
f6e0ba5f04 Bug 367998: Tag menu in standalone is not color-coded; rs=neil
git-svn-id: svn://10.0.0.236/trunk@219328 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 17:44:34 +00:00
bienvenu%nventure.com
95aee029db allow custom column handlers to add new row properties, sr=mscott 368748
git-svn-id: svn://10.0.0.236/trunk@219326 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 17:39:48 +00:00
scott%scott-macgregor.org
caedc56842 remove some ctrl-m characters
git-svn-id: svn://10.0.0.236/trunk@219325 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 16:58:30 +00:00
Olli.Pettay%helsinki.fi
008258da9a Bug 344369, redesign label to specify control element directly, p=surkov, r=enndeakin+neil
git-svn-id: svn://10.0.0.236/trunk@219323 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 15:59:54 +00:00
sayrer%gmail.com
4b956025f4 Bug 357450. Implement getElementsByClassName. r=jst, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@219322 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 15:14:00 +00:00
szegedia%freemail.hu
0e5fb5b698 setAttributes must not be prevented by READONLY attribute -- we must be able to programmatically reset it.
git-svn-id: svn://10.0.0.236/trunk@219321 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 15:07:49 +00:00
neil%parkwaycc.co.uk
966dcb5343 Support copying from about:config using the browser's Edit/Copy and the Accel+C shortcut as well as the context menu b=239940 r=mats,mano
git-svn-id: svn://10.0.0.236/trunk@219320 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 13:13:51 +00:00
neil%parkwaycc.co.uk
b0b6bc74a8 Spell check results from previous message aren't cleared b=368867 p=mscott r=me sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219319 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 11:54:46 +00:00
philringnalda%gmail.com
326483cb86 Bug 368902: Unnecessary looping over collapsed children in nsSprocketLayout, patch by Andreas Lange <anlan@lange.cx>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219318 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 07:24:28 +00:00
rhelmer%mozilla.com
3bcab571b2 move to new RunShellCommand, split into substeps, various fixes and features. r=
preed, b=368579


git-svn-id: svn://10.0.0.236/trunk@219317 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 06:37:48 +00:00
philringnalda%gmail.com
da8854e143 Bug 361085: document the -no-remote command-line switch in -help, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@219316 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 06:04:36 +00:00
jwalden%mit.edu
8f31e327b8 Remove debugging output -- bug 351968 is done! (Really.)
git-svn-id: svn://10.0.0.236/trunk@219315 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 05:47:46 +00:00
rhelmer%mozilla.com
b10dcf0c62 move to new RunShellCommand, split into substeps, various fixes and features. r=preed, b=368579
git-svn-id: svn://10.0.0.236/trunk@219314 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 03:50:47 +00:00
ccooper%deadsquid.com
4adb6e6bd8 - adding updated seamonkey trunk configs for linux release build on sea-linux-tbox linux ref VM
git-svn-id: svn://10.0.0.236/trunk@219313 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 03:39:36 +00:00
jwalden%mit.edu
9187d50318 Last bugfixing patch for bug 351968, fixing the yellow on fxexp-win32-tbox. Once I've verified this, there's still some debug code to remove, but that'll be it!
git-svn-id: svn://10.0.0.236/trunk@219312 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 03:34:38 +00:00
scott%scott-macgregor.org
279684ba32 Bug #368867 --> spell check results from previous messages show up in the suggestions list for the inline spell checker when using a cached compose window. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219310 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 03:31:11 +00:00
bienvenu%nventure.com
f844a5080f don't fetch preview text for imap if the pref isn't set, 368822, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@219309 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 03:26:16 +00:00
sspitzer%mozilla.org
43b44f3c79 supplimental fix for bug #354226: while mail and calendar have a helper.exe
(the renamed uninst.exe), those versions of helper.exe do not contain support
for /postupdate, or the command line switch that does the all the registry
work and log copying.  only firefox's helper.exe has support for that.

r=rstrong.


git-svn-id: svn://10.0.0.236/trunk@219308 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 03:22:13 +00:00
dbaron%dbaron.org
cbdde83088 Make default table and hr border colors be gray rather than special values that depend on the background color, and remove the special values that depend on the background. b=84307 Patch by fantasai <fantasai.bugs@inkedblade.net>. r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@219306 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 02:45:55 +00:00
dbaron%dbaron.org
6cef0aeaef Add tests for dynamic resizing of things that depend on width of container. b=163504, 28811
git-svn-id: svn://10.0.0.236/trunk@219305 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 02:14:40 +00:00
dbaron%dbaron.org
c85e259a73 Add tests for support of 'overflow' on inline-block elements. b=367247
git-svn-id: svn://10.0.0.236/trunk@219304 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 02:13:07 +00:00
mattwillis%gmail.com
85fe4d6cd6 bug 368858 - Only open http and https URLs (not javascript: ones) r1=dveditz, r2=dmose
git-svn-id: svn://10.0.0.236/trunk@219303 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 01:55:41 +00:00
mattwillis%gmail.com
441a51bdde bug 368921 - Be sure to convert all timezones. r1/2=dmose
git-svn-id: svn://10.0.0.236/trunk@219300 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 01:39:14 +00:00
Olli.Pettay%helsinki.fi
fbdd881a9d Bug 367781, adoptNode should update mMutationBits of the possible |window| object. r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@219299 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 22:54:24 +00:00
preed%mozilla.com
111110bcf3 Bug 367802: patcher2 needs to use MozBuild::Util. r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@219298 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:59:34 +00:00
asqueella%gmail.com
9b444a60f5 remove the extra asterisk causing a strict warning.
irc-r=mano, no bug.


git-svn-id: svn://10.0.0.236/trunk@219297 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:53:03 +00:00
asqueella%gmail.com
d6008f9c2e Bug 363996 - subject in new mail notification is stripped of Re:
patch by Magnus Melin <mkmelin+mozilla@iki.fi>
r+sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@219296 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:24:59 +00:00
asqueella%gmail.com
961df68b7f Bug 303954 - Incorrect display of non-ASCII characters in template name of "Reply with template" filter
patch by Magnus Melin <mkmelin+mozilla@iki.fi>
r+sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@219295 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:14:17 +00:00
scott%scott-macgregor.org
c7b58b8757 Bug #367998 --> tags toolbar drop down doesn't show colors in the stand alone message window. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219294 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:12:55 +00:00
asqueella%gmail.com
c105bf5f6a Bug 366727 - Standardize Cairo Pixel construction and clean the PNG decoder a little
patch by Alfred Kayser <alfredkayser@nl.ibm.com>
r=stuart, sr=vlad


git-svn-id: svn://10.0.0.236/trunk@219293 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:09:20 +00:00
mozilla.mano%sent.com
6e50136a42 Bug 368874 - places-commands are not functional in the context menu of web panels. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@219292 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:07:00 +00:00
slavomir.katuscak%sun.com
6d3680c1ad Bug 193386: Patch to fips.sh, fixed paths on HP-UX and AIX and added
PASSED/FAILED status reporting. r=nelson


git-svn-id: svn://10.0.0.236/trunk@219291 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:03:56 +00:00
asqueella%gmail.com
d4ac305796 Bug 368310 - Remove the obsolete Windows "A" style API calls in nsWindowsRegKey
patch by Ryan Jones <bugs@ryan-jones.com>
r+sr=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@219290 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:02:48 +00:00
pedemont%us.ibm.com
1cb9ae458b Bug 330256 - Change generated interfaces package name.
git-svn-id: svn://10.0.0.236/trunk@219289 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 20:54:19 +00:00
benjamin%smedbergs.us
7b6469e9ab Fix Tunit with an objdir for real this time, r=coop
git-svn-id: svn://10.0.0.236/trunk@219288 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 20:52:05 +00:00
benjamin%smedbergs.us
07d98cdffe Bustage fix from bug 351949 - link against shell32 for ShellExecute
git-svn-id: svn://10.0.0.236/trunk@219287 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 20:29:11 +00:00
gavin%gavinsharp.com
3d88b98363 Bug 366398: On Darwin, Makefile.ref builds static libjs.so instead of dynamic libjs.dylib, patch by Brian Crowder <crowder@fiverocks.com>, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@219286 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 20:09:41 +00:00
crowder%fiverocks.com
7e15ef5662 Bug 366398: On Darwin, Makefile.ref builds static libjs.so instead of dynamic libjs.dylib, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@219285 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 19:55:41 +00:00
ccooper%deadsquid.com
f68cc4d3e3 - enable unit tests
git-svn-id: svn://10.0.0.236/trunk@219284 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 19:43:05 +00:00
aaronleventhal%moonset.net
bed3b171df Bug 356152. Menu items actions should be called click, not select. Patch by Mike Gao. r=aaronlev
git-svn-id: svn://10.0.0.236/trunk@219283 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 19:43:04 +00:00
bugzilla%standard8.demon.co.uk
8afbb835a5 Bug 335154 Get SeaMonkey's themes registering and switching with Theme Manager (in suiterunner) - no longer need to register default theme via installed-chrome.txt r/sr=Neil
git-svn-id: svn://10.0.0.236/trunk@219279 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 18:56:29 +00:00
vladimir%pobox.com
4ff12c96f9 b=368852, cocoa native theme code needs to flush cairo clip before drawing, r=stuart
git-svn-id: svn://10.0.0.236/trunk@219278 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 18:43:34 +00:00
sayrer%gmail.com
a9fa08bf21 cosmetic changes to test screen
git-svn-id: svn://10.0.0.236/trunk@219277 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 18:25:15 +00:00
jwalden%mit.edu
566f07f0a6 Sigh...still a tinderbox not liking tests -- echoing relevant variables to see their values, still bug 351968
git-svn-id: svn://10.0.0.236/trunk@219276 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 18:16:22 +00:00
ccooper%deadsquid.com
0bdd9e0bf4 - report when TUnit is successful
git-svn-id: svn://10.0.0.236/trunk@219275 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 18:11:11 +00:00
mozilla.mano%sent.com
75e2ea0e29 Bug 361698 - Navigation menuitems don't work in the sidebar's context menu. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@219274 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 18:10:02 +00:00
kaie%kuix.de
c0aad59995 bug 343612, Reset master password confirmation dialog should be opened as a dialog.
patch contributed by Dorian (boissomag@free.fr)
r=kengert


git-svn-id: svn://10.0.0.236/trunk@219273 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 17:57:44 +00:00
mozilla.mano%sent.com
71b8cc9607 Bug 368776 - Feed Preview is broken if Safari is the default reader. r=mento.
git-svn-id: svn://10.0.0.236/trunk@219271 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 17:19:39 +00:00
benjamin%smedbergs.us
34c78edf3f RunUnitTests doesn't work when an objdir is set, r=coop
git-svn-id: svn://10.0.0.236/trunk@219270 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 17:17:32 +00:00
Olli.Pettay%helsinki.fi
1e8d2ecbb1 Bug 368627, Problem with XForms using itemsets across models, r=aaronr+surkov
git-svn-id: svn://10.0.0.236/trunk@219269 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 17:08:30 +00:00
stridey%gmail.com
cc0c55401c Camino only - Bug 360839: Expose preference for saving session state.
git-svn-id: svn://10.0.0.236/trunk@219267 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:43:00 +00:00
tor%cs.brown.edu
a9d030d819 Fix build bustage from bug 367503.
git-svn-id: svn://10.0.0.236/trunk@219265 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:31:20 +00:00
jst%mozilla.org
481c092675 Fixing bug 355766. Provide safe cross-origin access helper object, and make XPCNativeWrapper.wrappedJSObject use it. r=bzbarsky@mit.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@219264 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:25:35 +00:00
cltbld
b99f9a6620 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@219263 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:21:02 +00:00
philringnalda%gmail.com
b53869a21a Bug 352158: Back/Forward buttons appear disabled in Customize Toolbar view, r=gavin
git-svn-id: svn://10.0.0.236/trunk@219262 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:13:13 +00:00
benjamin%smedbergs.us
56576b18a3 No bug: checking to see which tinderboxes don't have python available.
git-svn-id: svn://10.0.0.236/trunk@219261 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:12:09 +00:00
tor%cs.brown.edu
5b1e084875 Bug 367503 - Switch nsSVGPathGeometryFrame to thebes. r=longsonr, sr=roc
git-svn-id: svn://10.0.0.236/trunk@219260 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:05:42 +00:00
Olli.Pettay%helsinki.fi
ba610d02ec Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219259 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:02:42 +00:00
aaronleventhal%moonset.net
8da4e21793 Bug 368598. Collate multiple related caret/selection moves into one, and fire the accessible caret and selection events after focus events. r=ginn.chen
git-svn-id: svn://10.0.0.236/trunk@219257 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 15:42:55 +00:00
bear%code-bear.com
1d5551edc8 During WriteCheckins() the batchid-###.pl file is not generated if the
readonly param is true (Controls if the hooklist is to be updated).
This is causing grief with Tinderbox as it depends on that file to extract
the tree state when creating pages like quickparse.
bug 368792 r=cls


git-svn-id: svn://10.0.0.236/trunk@219256 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 15:36:26 +00:00
aaronleventhal%moonset.net
9f084b2c4f Bug 365690. Don't fire focus events for autocomplete menus while editing a text field (XUL or HTML). r=ginn.chen
git-svn-id: svn://10.0.0.236/trunk@219255 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 15:13:39 +00:00
aaronleventhal%moonset.net
230605e344 Bug 368779. Should fire object:state-changed:busy when loading document start. r=evan.yan
git-svn-id: svn://10.0.0.236/trunk@219254 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 15:07:12 +00:00
asqueella%gmail.com
198acfba39 Bug 210096, part two - remove inIFileSearch interface and its implementation
patch by Shawn Wilsher <comrade693+bmo@gmail.com>
r=db48x, sr=neil


git-svn-id: svn://10.0.0.236/trunk@219253 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 15:04:36 +00:00
aaronleventhal%moonset.net
125efcd806 Bug 367653. STATE_BUSY no longer cleared after document/window loads. r=ginn.chen
git-svn-id: svn://10.0.0.236/trunk@219252 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 14:55:36 +00:00
asqueella%gmail.com
0f0050a0c3 Bug 366214 - more improvements for JPEG in Cairo
patch by Alfred Kayser <alfredkayser@nl.ibm.com>
r=pavlov, sr=tor

Patch description:

1. Use row_stride and bpr only in non-Cairo builds (for the RGBRow buffer)
   (as jpg scanlines are always 3 bytes (in current config anyway)
2. Use 'client_data' to keep the pointer to the decoder instead of the offsetof
hack
3. Call 'img->ImageUpdated' not for every scanline, but for every batch of
scanlines received (just like OnDataAvailable).

Ad 1: Allows for better Cairo and non-Cairo separation
Ad 2: Removes the need for the offsetof hack
Ad 3: Makes image decoding for JPG in Cairo a lot faster (at least it feels
faster)


git-svn-id: svn://10.0.0.236/trunk@219251 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 14:53:21 +00:00
asqueella%gmail.com
20d87af87f fix bug 368145 - Linker warning when linking nsBrowserApp.obj in MSVC by using -libpath for MSVC and -L for everything else
patch by Ryan VanderMeulen <ryanvm@gmail.com>
r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@219250 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 14:38:21 +00:00
asqueella%gmail.com
25454ae60b Bug 367616 - Find again 'eats' some characters in View selection source.
patch by Florian Quèze <f.qu@queze.net>
r=gavin


git-svn-id: svn://10.0.0.236/trunk@219249 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 14:25:32 +00:00
longsonr%gmail.com
2577bfb047 Bug 368703 û Some methods in layout/style could be const r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@219248 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 13:59:26 +00:00
mozilla.mano%sent.com
cb1ab5905d Remove hidden character from the patch for bug 326854, thanks Neil.
git-svn-id: svn://10.0.0.236/trunk@219247 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 11:49:16 +00:00
thomas.benisch%sun.com
d0c340a6ef Bug 368558 add colors to Lightning calendars tab rui=mvl r1=lilmatt r2=mvl
git-svn-id: svn://10.0.0.236/trunk@219246 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 11:42:22 +00:00
mozilla.mano%sent.com
f2a5b6ef77 Bug 368449 - 'Open All in Tabs' menu-item label accidentally reverted. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@219245 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 11:29:05 +00:00
mozilla.mano%sent.com
a5b5cab78b Bug 368456 - 'Close Tab' in the context menu for tabs should not be disabled when only one tab is open. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@219244 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 11:24:16 +00:00
longsonr%gmail.com
bbe6c26223 Bug 368693 - use XMost() and YMost() in nsSVGFilters.cpp r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@219243 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 10:10:56 +00:00
scott%scott-macgregor.org
222540d111 Bug #350052 --> View menu loses focus between Sort by and Threads. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219241 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 08:20:31 +00:00
jwalden%mit.edu
7d3578115c Last commit for bug 351968, I promise!
git-svn-id: svn://10.0.0.236/trunk@219240 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 08:12:24 +00:00
jwalden%mit.edu
a5bbba2cb4 Unbreak test -- the previous commit should work fine. Bug 351968 is completely committed!
git-svn-id: svn://10.0.0.236/trunk@219239 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 07:49:10 +00:00
jwalden%mit.edu
8b7aba480c Final try at bug 351968 -- make relative topsrcdirs work, fixing the last build errors. Because xpcshell tests are fragile, this commit intentionally breaks a test so that I can verify correctness; I'll remove the break when I verify the fix works correctly (via broken test error messages).
git-svn-id: svn://10.0.0.236/trunk@219238 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 07:22:12 +00:00
cls%seawood.org
4399fe9c40 Grab global treedata to get $bonsai_tree for quickparse
Bug #359451


git-svn-id: svn://10.0.0.236/trunk@219237 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 06:35:46 +00:00
cls%seawood.org
b20b291447 Print a warning to the logfiles if batch-#.pl cannot be opened to determine tree state.
Fix the regex that checks for tree state.
Bug #359451


git-svn-id: svn://10.0.0.236/trunk@219236 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 06:17:55 +00:00
jwalden%mit.edu
d02a10351a Fix broken WINNT embedding tests by not building them, as happened before the previous change -- bug 351968 cleanup
git-svn-id: svn://10.0.0.236/trunk@219234 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:52:24 +00:00
dbaron%dbaron.org
56bd7b92c6 Missed null check. b=368740 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219233 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:23:47 +00:00
jwalden%mit.edu
fbfbf6be25 Add a *working* hack to fix much of the MozillaTest bustage, I think -- still bug 351968
git-svn-id: svn://10.0.0.236/trunk@219232 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:23:40 +00:00
dbaron%dbaron.org
f0021aa428 Make things inside foreignObject reflow in response to style changes that cause reflow. b=328829 r=jwatt sr=roc
git-svn-id: svn://10.0.0.236/trunk@219231 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:22:40 +00:00
dbaron%dbaron.org
cebfff8cef Fix handling of background-clip and background-origin to honor GetSkipSides. b=368020 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219230 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:21:05 +00:00
bienvenu%nventure.com
a3d3ff410c fix MCD with better fix for bug 216751, sr=mscott, look at correct pref branch for prefs set in .cfg file
git-svn-id: svn://10.0.0.236/trunk@219229 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:16:56 +00:00
sayrer%gmail.com
a09636f4b4 Bug 368725. is wrong in mochitest runtests.pl. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219228 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:14:23 +00:00
jwalden%mit.edu
a5fda3276c Add a hack to fix much of the MozillaTest bustage, will follow up in bug 351968 and figure out the right way to do this...
git-svn-id: svn://10.0.0.236/trunk@219226 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 04:57:53 +00:00
nelson%bolyard.com
5b3a170bba Bug 366803 - Improve SSL tracing, make it work in browsers, to help with
debugging bug 356470.  r=neil.williams,alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@219222 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 04:20:26 +00:00
jwalden%mit.edu
1d0e6fa95c Testing something to determine the problem that's breaking the MozillaTest tinderboxen running automated tests
git-svn-id: svn://10.0.0.236/trunk@219220 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:58:25 +00:00
jwalden%mit.edu
83d07a5ce5 Bug 351968 - Don't copy xpcshell tests and other data to $(DIST) -- a step toward being able to --enable-tests on Mozilla tinderboxen. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@219219 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:25:46 +00:00
mozilla.mano%sent.com
a2ca505564 Bug 368781 - bookmark-properties window is busted in places-bookmarks builds.
git-svn-id: svn://10.0.0.236/trunk@219218 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:25:03 +00:00
aaronleventhal%moonset.net
ef338173c1 Bug 368729. Use hyphens for property names in ATK property change events. r=parente
git-svn-id: svn://10.0.0.236/trunk@219217 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:22:37 +00:00
mozilla.mano%sent.com
d0051a671f Bug 367035 - No 'Bookmark This Tab' and 'Bookmark All Tabs' menuitms in the tabbar context menu (places-bookmarks builds). r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@219216 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:09:48 +00:00
bzbarsky%mit.edu
a8acdc68b2 Fire the branch callback for the original cx when we're evaluating in a
sandbox.  Bug 368714, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@219215 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:07:24 +00:00
preed%mozilla.com
b314c46e74 Bug 364499: Fix a problem where we conflated path w/ url; r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@219214 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 02:45:56 +00:00
mozilla.mano%sent.com
eb44fa2328 Bug 342381 - Copying a live bookmark should put the feed url on the clipboard. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@219213 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 02:40:18 +00:00
mattwillis%gmail.com
1e558de59a bug 368724 - Minor cleanup to tzid comparisons per mvl. Patch by lilmatt, r1=ctalbert, r2=dmose
git-svn-id: svn://10.0.0.236/trunk@219210 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 00:20:51 +00:00
mats.palmgren%bredband.net
94bd3cef2d Add some protection in nsThebesImage::Draw() against bad calls. b=368427 r+sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@219209 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 22:52:53 +00:00
cls%seawood.org
9e37c8a796 Use local hashes instead of global variables to store tree status data.
Store static tree configuration from treedata.pl into global hash.
Bug #359451 r=bear


git-svn-id: svn://10.0.0.236/trunk@219208 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 22:34:14 +00:00
mats.palmgren%bredband.net
d5c6c5d749 Collapse() might have destroyed 'frame'. b=368697 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219207 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 22:28:06 +00:00
bienvenu%nventure.com
565ae92077 fix new mail alerts for quoted printable messages with soft line breaks, 368550, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@219206 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 22:23:01 +00:00
sayrer%gmail.com
c3796add5f Bug 367608. implement nsIFile::normalize() on OS X. r=mano, sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@219205 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:50:45 +00:00
benjamin%smedbergs.us
dfd4da8a97 Bug 368482 - Alpha Linux updates from xptcall changes, patch by falk@debian.org, r=me
git-svn-id: svn://10.0.0.236/trunk@219204 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:44:30 +00:00
rob_strong%exchangecode.com
7d48806583 Bug 368525 – Update 7zSD.sfx to include 32 bit images. r=lilmatt
git-svn-id: svn://10.0.0.236/trunk@219202 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:39:40 +00:00
jonas%sicking.cc
dc89ea1f2d Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219201 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:21:06 +00:00
mattwillis%gmail.com
1172c6e14c bug 368709 - Adds missing trailing slash to gTzIdPrefix to make comparisons work. r1=ctalbert, r2=mvl
git-svn-id: svn://10.0.0.236/trunk@219200 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:07:34 +00:00
pedemont%us.ibm.com
8b5083bb42 Bug 362530 - Mac XULRunner SDK not copied to FTP server. r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@219199 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:04:36 +00:00
mattwillis%gmail.com
2e458ced37 bug 368121 and bug 321653 - Update included timezones to contain 2007 US Daylight Savings Time changes, and convert events, tasks and preferences to the new tzids. r1=ctalbert, r2=dmose
git-svn-id: svn://10.0.0.236/trunk@219198 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:04:35 +00:00
mattwillis%gmail.com
05e4b0a41c Respin 0.3.1pre builds for testday to pickup fix for bug 368709
git-svn-id: svn://10.0.0.236/trunk@219195 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 20:24:48 +00:00
shaver%mozilla.org
973808718a Initial import of FUEL files for jresig and mfinkle.
git-svn-id: svn://10.0.0.236/trunk@219192 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 19:52:16 +00:00
roc+%cs.cmu.edu
ae03ab41d5 Bug 368468. Make code conform to Thebes style. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@219191 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 19:49:16 +00:00
uriber%gmail.com
7627d11f46 The correct version of the patch for bug 363198, this time.
git-svn-id: svn://10.0.0.236/trunk@219190 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 19:36:55 +00:00
uriber%gmail.com
512057cadc GetFrameForNodeOffset: if aNode has no children and the offset is 0, return the frame corresponding to aNode rather than failing. patch by Nian Liu <nian.liu@sun.com>. bug=363198 r=uriber sr=roc.
git-svn-id: svn://10.0.0.236/trunk@219189 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 19:29:55 +00:00
bugzilla%standard8.demon.co.uk
74cd823725 Bug 363491 Stops xul apps needing to build in xpfe/global. r=benjamin,mscott,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@219188 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 19:16:33 +00:00
bugzilla%standard8.demon.co.uk
e9213ece34 Bug 363491 Stop suiterunner builds needing to build in xpfe/global (define an about:about module for SeaMonkey) r=dveditz,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@219187 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 19:08:36 +00:00
bugzilla%standard8.demon.co.uk
8513583aec Bug 354010 No error dialog when attempting to create multiple lists of the same name in separate address books. r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219186 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 18:55:45 +00:00
edburns%acm.org
345b029cb2 M webclient/build-tests.xml
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java
M webclient/src_moz/CurrentPageImpl.cpp
M webclient/src_moz/Makefile.in

- Remove bookmarks because bookmarks is not in XULRunner

M webclient/test/automated/src/classes/org/mozilla/webclient/CurrentPageTest.java

- Disable testCopyCurrentSelectionToSystemClipboard.  Need to try with
  1.5.0.9.

M webclient/test/automated/src/classes/org/mozilla/webclient/NavigationTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java

- Account for build dir change

M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java

- enable copy button.


git-svn-id: svn://10.0.0.236/trunk@219185 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 18:26:37 +00:00
joshmoz%gmail.com
ca0394d0e2 use close button in dialogs in some cases. b=359192 r=cbarrett sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@219184 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 17:53:48 +00:00
cltbld
c93c38f7b1 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@219183 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 17:11:03 +00:00
benjamin%smedbergs.us
6567bfccef Bug 368316 - Add configure detection for VC9 prerelease (codename "Orcas"), patch by Stefanik Gábor <netrolller.3d@gmail.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@219182 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 17:06:58 +00:00
bzbarsky%mit.edu
787c7021bb Check with CAPS before executing in a sandbox. Bug 368655, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@219180 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 16:38:15 +00:00
stuart.morgan%alumni.case.edu
f30b95cbe7 Camino only - Checking in missed file from bug 358689
git-svn-id: svn://10.0.0.236/trunk@219179 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 16:05:59 +00:00
longsonr%gmail.com
0f7134181a Bug 307708 û filters should operate in linearRGB color space by default r=dbaron,r=tor,sr=roc
git-svn-id: svn://10.0.0.236/trunk@219177 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 13:19:55 +00:00
asqueella%gmail.com
70c0246288 fix bug 363419 - Direct children of <overlay> not created correctly.
Don't create XUL "placeholder" element for them, instead use the same logic as elsewhere, as these nodes can end up in the master document.

r=smaug, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@219176 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 12:49:24 +00:00
neil%parkwaycc.co.uk
214111bf7d Fix one-time install issue caused by profile selection dialog and CAPS conspiring to register chrome when I didn't expect it b=368223 r=trev@gtchat.de sr=jag
git-svn-id: svn://10.0.0.236/trunk@219175 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 10:20:27 +00:00
Olli.Pettay%helsinki.fi
d22a9090d3 Bug 367310, immediately after closing history crash opening unvisited links [@ nsTreeRows::FindByResource], p=enndeakin, r=me, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219174 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 08:52:07 +00:00
masayuki%d-toybox.com
ff3a7c1f05 Bug 366285 Need a common class of the fontconfig management for Linux and BeOS r=vlad
git-svn-id: svn://10.0.0.236/trunk@219172 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 08:20:29 +00:00
bzbarsky%mit.edu
b3876987e5 Fix more bustage. Still bug 300691
git-svn-id: svn://10.0.0.236/trunk@219170 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 06:38:26 +00:00
bzbarsky%mit.edu
4e77b25e66 Fix build bustage. Bug 300691
git-svn-id: svn://10.0.0.236/trunk@219169 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 06:25:07 +00:00
bzbarsky%mit.edu
78ccec5f86 Remove some no longer needed code. Bug 368273, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@219168 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:52:27 +00:00
bzbarsky%mit.edu
e194a83392 Make <style> elements notice text content changes. Bug 367612, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219167 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:50:22 +00:00
bzbarsky%mit.edu
fc8275495f Fix bug 300691. r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219166 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:48:22 +00:00
scott%scott-macgregor.org
3e57d3dbda Bug #343933 --> images aren't getting loaded in the compose window after a save operation happens because nsMsgWindow::SetDOMWindow changes the app type to MAIL. Make callers explicitly set the app type instead of doing it in SetDOMWindow.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@219165 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:45:25 +00:00
sayrer%gmail.com
61de23279a bug 368645. mochitest's runtests.pl dies with 'libmozjs.so: cannot open shared object file: No such file or directory'. r=myk
git-svn-id: svn://10.0.0.236/trunk@219164 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:28:14 +00:00
scott%scott-macgregor.org
6b38093629 Bug #3459 --> inline subject spell checking should honor the global inline spell check settings. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219163 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:28:13 +00:00
scott%scott-macgregor.org
460bd5aebb Bug #368635 --> hide phishing controls for downloading local list of known phishing urls since we don't have a service provider hooked up yet. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219161 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:17:53 +00:00
rob_strong%exchangecode.com
bfca43936b Landing of interdependent bugs for Vista support. Bug 354005 Setting the app as the OS default is broken on Vista. r=sspitzer, r=dougt, sr=bsmedberg. Bug 351949 – Automatic Update is not working for Vista users with limited account privilege and UAC (User Account Control) enabled. r=sspitzer, r=rstrong. Bug 354226 – nsPostUpdateWin.js fails to update registry keys / log files after an update has been applied. r=rstrong.
git-svn-id: svn://10.0.0.236/trunk@219158 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:14:50 +00:00
edburns%acm.org
e72cf3994c M dom/build.xml
M dom/jni/Makefile.in
M dom/jni/javaDOMGlobals.cpp
M dom/src/Makefile.in
M webclient/build-tests.xml
M webclient/build.xml
M webclient/src_ie/Makefile.in
M webclient/src_moz/Makefile.in
M webclient/src_moz/gtk/Makefile.in
M webclient/src_moz/motif/gtkmozilla.h
M webclient/src_share/Makefile.in

- Enable building with an objdir.  Much more civilized.  Thanks very
  much to Bradley Smedberg.


git-svn-id: svn://10.0.0.236/trunk@219157 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 01:51:54 +00:00
despotdaemon
14137191b8 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@219156 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 01:44:07 +00:00
scott%scott-macgregor.org
5014bee07b Bug #346966 --> message headers are spaced too far apart (vertically) when using large fonts. sr=neil
git-svn-id: svn://10.0.0.236/trunk@219155 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 01:20:11 +00:00
roc+%cs.cmu.edu
6d0b53f654 Bug 368153. Allow jar: URLs to return the query part in the document.location.search property. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@219154 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 01:15:02 +00:00
roc+%cs.cmu.edu
c0189af2ee Bug 368182. Add Xft path to gfxPangoTextRun to hopefully improve performance for 8bit text (rendering should be the same as it used to be pre-gfxPangoTextRun). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@219153 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 01:14:19 +00:00
cst%yecc.com
9ecc3d1c52 Bug 368046 zero-height window messes up tab preview
r+sr=neil


git-svn-id: svn://10.0.0.236/trunk@219152 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:13:37 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
asqueella%gmail.com
788939323b Bug 368606 - mochitest runtests.pl should work with any working directory
r=sayrer


git-svn-id: svn://10.0.0.236/trunk@219149 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 22:32:08 +00:00
aaronr%us.ibm.com
7f97d3f2a1 [XForms] range regression, no thumb showing. Bug 366743, p=msterlin, r=surkov+aaronr
git-svn-id: svn://10.0.0.236/trunk@219147 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 21:42:05 +00:00
Olli.Pettay%helsinki.fi
12ad213b62 Bug 367988, View|Headers|All - when set, full headers shown, on next launch, View|Headers|Normal is marked instead, yet full headers are still shown , r=mscott, sr=neil
git-svn-id: svn://10.0.0.236/trunk@219144 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 20:41:26 +00:00
jwalden%mit.edu
46e05ea2a6 Bug 368158 - nsPipe XPCOM attributes are missing initialization checks. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@219143 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 20:08:50 +00:00
jwalden%mit.edu
88c64d8de5 Bug 367827 - Testing for DOM serialization with different output encodings. r=bz
git-svn-id: svn://10.0.0.236/trunk@219142 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 20:05:07 +00:00
mvl%exedo.nl
f2ac7e4691 UI bits for bug 215971. r=lilmatt,jminta
git-svn-id: svn://10.0.0.236/trunk@219141 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 20:00:26 +00:00
jwalden%mit.edu
ce2644d865 Bug 368142 - Tests for correct byte-by-byte encodings of Unicode strings. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@219140 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 20:00:03 +00:00
mattwillis%gmail.com
87d05f4866 bug 368490: Fix indenting level so ics import recognizes exceptions of recurring events. r1=lilmatt, r2=mvl
git-svn-id: svn://10.0.0.236/trunk@219139 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 19:56:14 +00:00
jwatt%jwatt.org
adbce890b6 Fix typo. r=stuart (no bug)
git-svn-id: svn://10.0.0.236/trunk@219138 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 19:49:23 +00:00
despotdaemon
73c554dcd3 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@219137 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 19:48:35 +00:00
mike.morgan%oregonstate.edu
073d828589 Fixed typo in comment.
git-svn-id: svn://10.0.0.236/trunk@219135 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 18:48:32 +00:00
despotdaemon
278386638f Pseudo-automatic update of changes made by morgamic@mozilla.com.
git-svn-id: svn://10.0.0.236/trunk@219134 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 18:48:23 +00:00
stridey%gmail.com
ebcaa7dcf6 Camino only - Bug 368457: about:config is broken. Patch by Smokey Ardisson <alqahira@ardisson.org>. r=me sr=pink
git-svn-id: svn://10.0.0.236/trunk@219132 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 18:07:03 +00:00
stuart.morgan%alumni.case.edu
c59e2d6733 Camino only - Bug 368443: Remove stored session when reseting Camino. r=stridey sr=pink
git-svn-id: svn://10.0.0.236/trunk@219131 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 17:59:57 +00:00
stridey%gmail.com
8b09609146 Camino only - Bug 358689: Offer user the choice to restore window state after a crash. Now with (hopefully) orange-free goodness. Original patch by Sean Murphy <camino@seanmurph.com>, bustage fix by Stuart Morgan <stuart.morgan@alumni.case.edu> sr=pink
git-svn-id: svn://10.0.0.236/trunk@219130 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 17:56:28 +00:00
sayrer%gmail.com
10f7224bb4 Bug 368531. add content/html/document/test to the automatic run. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219129 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 17:56:19 +00:00
enndeakin%sympatico.ca
9c42661cc7 Bug 92174, add date and time picker widgets to toolkit, r=neil,mano
git-svn-id: svn://10.0.0.236/trunk@219127 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 17:36:20 +00:00
stuart.morgan%alumni.case.edu
4a5a019d21 Camino only - Bug 368570: Don't leak keychain items during form fill. sr=pink
git-svn-id: svn://10.0.0.236/trunk@219126 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 17:33:16 +00:00
stridey%gmail.com
64d05b41cd Camino only - Bug 362655: Make 'Keyboard Shortcuts' menu item pointing to online documentation. r=cl sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@219125 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 17:30:17 +00:00
wr%rosenauer.org
f185f48162 Bug 368544 - don't try to send with empty URL, r=luser
git-svn-id: svn://10.0.0.236/trunk@219123 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 16:04:18 +00:00
smontagu%smontagu.org
83e5b28c9f #undef CS and ES to prevent build errors on Solaris 10 x86. Bug 287388, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@219121 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 14:37:04 +00:00
martijn.martijn%gmail.com
a9d520ae67 Bug 336279 – Find misses text in this testcase, r=jst, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@219120 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 13:58:24 +00:00
crowder%fiverocks.com
3ef86c2c5d 253142: another script ordering bug, r=brendan
git-svn-id: svn://10.0.0.236/trunk@219118 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 08:22:31 +00:00
dveditz%cruzio.com
7d2deb3c1b suppress bad cert dialogs during extension update checks (bug 366191). r=rstrong, sr=darin
git-svn-id: svn://10.0.0.236/trunk@219117 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 07:58:01 +00:00
scott%scott-macgregor.org
f5048657ad Bug #3459 --> run the inline spell checker on the subject.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@219116 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 07:41:40 +00:00
scott%scott-macgregor.org
1b86fb7d3f Bug#368532 --> inline table editing controls aren't being displayed because the content policy is blocking resource urls. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219115 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 07:40:22 +00:00
alfred.peng%sun.com
57c72a1a2e Bug 368377. Stop exporting cairo headers from thebes headers.
Fix Solaris compiler bustage.
Patch by Andreas Lange anlan@lange.cx. r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@219114 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 07:25:05 +00:00
rob_strong%exchangecode.com
730a3baf36 Bug 368524 – Update 7zSD.sfx to include 32 bit images. r=mscott
git-svn-id: svn://10.0.0.236/trunk@219111 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 06:55:59 +00:00
sayrer%gmail.com
97a00cd91d trivial formatting changes to the test screen
git-svn-id: svn://10.0.0.236/trunk@219107 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 05:45:52 +00:00
crowder%fiverocks.com
b687460bad 252995: reordering script_toSource and script_toString, r=brendan
git-svn-id: svn://10.0.0.236/trunk@219103 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 04:50:34 +00:00
scott%scott-macgregor.org
6c30e4b368 Bug #346966 --> message headers have too much vertical spacing on windows with large fonts turned on. r=neil
git-svn-id: svn://10.0.0.236/trunk@219102 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 04:48:55 +00:00
crowder%fiverocks.com
3a04ebbbb1 253003: re-ordering script compile, r=brendan
git-svn-id: svn://10.0.0.236/trunk@219101 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 04:40:34 +00:00
crowder%fiverocks.com
cb8f649b8f 253125: script_exec ordering fix, r=brendan
git-svn-id: svn://10.0.0.236/trunk@219100 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 04:18:49 +00:00
rob_strong%exchangecode.com
432143d212 Bug 333491 – FF installer icon looks bad on Windows Vista. ui-r=beltzner
git-svn-id: svn://10.0.0.236/trunk@219099 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 03:30:24 +00:00
bzbarsky%mit.edu
105ac72207 Missed a spot where we should update our cached band rect. Bug 368330, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219098 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 02:16:23 +00:00
cltbld
994d6810d8 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@219086 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 22:21:03 +00:00
mozilla%weilbacher.org
0b13d1e0a5 [OS/2] Bug 333235: Get Thebes to work on OS/2. Required build additions and easy widget changes. r=mkaply
git-svn-id: svn://10.0.0.236/trunk@219085 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 22:20:21 +00:00
lpsolit%gmail.com
7d4c9d3596 Bug 361842: When filing a bug with dependencies, delta_ts is not updated on dependent bugs, preventing correct midair collision detection in these bugs - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@219084 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 21:20:45 +00:00
justdave%bugzilla.org
23e3029157 Bug 367823: prevent addcheckin.pl from *writing* to the shadow database
r=bear


git-svn-id: svn://10.0.0.236/trunk@219083 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 21:19:07 +00:00
jst%mozilla.org
116af3ce87 Fixing bug 366082. Prevent Adobe Acrobat from loading URLs other than http:, https:, or ftp: w/o specifying a target. r+sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@219081 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 19:50:37 +00:00
inonit%inonit.com
ba0fe65e30 Fix spelling errors in code, documentation
git-svn-id: svn://10.0.0.236/trunk@219079 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 19:31:26 +00:00
inonit%inonit.com
372709b910 Better documentation on jsdriver target
git-svn-id: svn://10.0.0.236/trunk@219078 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 19:28:10 +00:00
inonit%inonit.com
b98a2f53cb Fix for bug #321967 ("default xml namespace =" statement decompiles incorrectly)
git-svn-id: svn://10.0.0.236/trunk@219077 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 19:23:51 +00:00
asqueella%gmail.com
9880dcd409 Bug 368229 - pref-smime-advanced.xul is not used
Magnus Melin <mkmelin+mozilla@iki.fi>
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@219075 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 19:18:29 +00:00
crowder%fiverocks.com
99a5d3fbd2 Bug 355820: follow-up to fix eval breakage. patch by crowder@fiverocks.com, r=brendan
git-svn-id: svn://10.0.0.236/trunk@219074 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 19:17:29 +00:00
sayrer%gmail.com
1f60178c95 bug 368494. mochitest harness setup bugs. r=asqueella
git-svn-id: svn://10.0.0.236/trunk@219073 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 19:06:05 +00:00
dbaron%dbaron.org
3af9eecb86 Make non-box frames pay better attention to nsITheme::GetWidgetBorder and GetWidgetPadding. b=366722 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219072 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 17:20:01 +00:00
bzbarsky%mit.edu
a99e9b8f80 Fix crash bug 368166. r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@219071 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 16:49:26 +00:00
Olli.Pettay%helsinki.fi
d30b60507a Bug 321174, move GetElementsForResult and GetElementsForID to an nsCOMArray, r=enndeakin, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219070 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 13:17:27 +00:00
asqueella%gmail.com
da8bed279c fix bug 367356, Error: erel has no properties (XMLPrettyPrint.xml)
patch by Dão Gottwald <dao@design-noir.de>
r=gavin


git-svn-id: svn://10.0.0.236/trunk@219069 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 12:58:19 +00:00
jwalden%mit.edu
e5e23c59f9 Bug 368459 - Test for XML.prototype.normalize() in E4X test suite is wrong; also fix the bug the buggy testcase was hiding. r=brendan
git-svn-id: svn://10.0.0.236/trunk@219067 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 06:27:21 +00:00
ajschult%verizon.net
84a2931a30 Fixing Aaron's bustage from bug 368195
git-svn-id: svn://10.0.0.236/trunk@219066 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 05:11:13 +00:00
aaronleventhal%moonset.net
0eb7d1fddc Bug 368195. Add missing ARIA roles treegroup and status. r=evan.yan
git-svn-id: svn://10.0.0.236/trunk@219064 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 04:03:24 +00:00
aaronleventhal%moonset.net
b85e073170 Bug 367412. Fix Mozilla's usage of states, and refactor. r=ginn.chen, r=surkov, sr=neil
git-svn-id: svn://10.0.0.236/trunk@219063 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 03:58:18 +00:00
mozilla.mano%sent.com
75a1abc5ce Bug 296394 - Firefox should not complain about -console command line argument. patch from Dave Townsend (Mossop) <mossop.bugzilla@blueprintit.co.uk>, r=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@219062 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 00:33:10 +00:00
mats.palmgren%bredband.net
5470e3820a Fix divide by zero crash regression. b=368427 r+sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@219061 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 23:35:07 +00:00
mozilla.mano%sent.com
a48c8f8f29 Bug 368447 - Drag&Drop from the places toolbar is broken. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@219060 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 23:27:50 +00:00
stuart.morgan%alumni.case.edu
6fa8890a65 Bug 368444: Disable Camino's crash-restoration dialog in tinderbox tests. r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@219057 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 23:13:21 +00:00
mats.palmgren%bredband.net
8ae547d9f0 Improve overflow/underflow DOM event handling. b=365477 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219056 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 22:50:18 +00:00
dbaron%dbaron.org
04bb428ada Remove nsTableFrame::GetBorderPadding and related code. b=367458 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@219055 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 22:22:24 +00:00
mats.palmgren%bredband.net
be57223232 Implement "Empty Junk" for the Junk folder context menu. b=189911 r+sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219054 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 21:41:10 +00:00
ajschult%verizon.net
82ed606439 Bug 368401: Installer does not delete myspell directory, r/sr=Neil
git-svn-id: svn://10.0.0.236/trunk@219053 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 20:46:34 +00:00
dbaron%dbaron.org
12c42b4c23 Revert previous change.
git-svn-id: svn://10.0.0.236/trunk@219052 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 19:35:29 +00:00
dbaron%dbaron.org
f641ad27b0 Reorder lines to make comment make a little more sense. b=367247 r=biesi (as was the last patch here, after the fact)
git-svn-id: svn://10.0.0.236/trunk@219051 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 19:03:21 +00:00
dbaron%dbaron.org
692b905d25 Make plugin placeholders inline-block. b=367247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219050 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:46:09 +00:00
dbaron%dbaron.org
c89a4222fe Address review comment on bug 9458 that depends on bug 367247 by making nsFrame::IsContainingBlock not check display type, but making it purely frame-class-based.
git-svn-id: svn://10.0.0.236/trunk@219049 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:45:35 +00:00
dbaron%dbaron.org
5615880f12 Make inline-blocks support 'overflow', and add some useful methods to nsStyleDisplay. b=367247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219048 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:44:24 +00:00
dbaron%dbaron.org
0b4631ed27 Make marquee use inline-block. b=163504 r=martijn sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219047 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:40:57 +00:00
dbaron%dbaron.org
c380d24c54 Combine the code that tests inlines for dependence on the containing block width in order to disable resize reflow optimizations, and add to that code things that shrink wrap (inline-block, inline-table, buttons, fieldsets). Also move the percentage-height tests out, and into InitResizeFlags. b=163504 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219046 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:40:26 +00:00
dbaron%dbaron.org
3052400d5e Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219045 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:36:57 +00:00
bienvenu%nventure.com
39ccca8dbc fix problems parsing quota response, patch by engel@physics.harvard.edu 363666 r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@219043 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 17:15:27 +00:00
mnyromyr%tprac.de
237a464cfd Bug 367672: CSS 2 InfoBackground doesn't work properly; p=<stefanh@bluebottle.com>, r=joshmoz, sr=mikepinkerton
git-svn-id: svn://10.0.0.236/trunk@219041 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 15:23:33 +00:00
anton.bobrov%sun.com
d930f3fb30 Bug 367289: rev 1 of the patch
git-svn-id: svn://10.0.0.236/trunk@219040 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 08:49:53 +00:00
stridey%gmail.com
a72cdf9f21 Camino only - Backing out Bug 358689 until we can work around the orangeness.
git-svn-id: svn://10.0.0.236/trunk@219039 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 06:22:03 +00:00
philringnalda%gmail.com
c9d444a211 Bug 365574: Help's search sidebar close button (even more) broken, r=mano
git-svn-id: svn://10.0.0.236/trunk@219038 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 05:54:34 +00:00
philringnalda%gmail.com
46ff37b8c0 Bug 349526: BeOS crashes at startup due to mState buffer overrun, p=tqh <thesuckiestemail@yahoo.se>, r+sr=vlad
git-svn-id: svn://10.0.0.236/trunk@219037 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 05:11:35 +00:00
crowder%fiverocks.com
17c34831c3 Bug 355820: fixing a flub from first checkin, patch by crowder@fiverocks.com, r=brendan
git-svn-id: svn://10.0.0.236/trunk@219036 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 04:19:23 +00:00
pavlov%pavlov.net
4169248ca1 Changing mac printing to use print manager instead of cups. bug 367433. r=vlad/cbarrett
git-svn-id: svn://10.0.0.236/trunk@219035 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 04:06:59 +00:00
preed%mozilla.com
45a91c751b Bug 364499: allow the ability to create per-AUS channel URLs, to facilitate snippets pointed at different URLs in each channel, if necessary. r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@219034 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 03:34:46 +00:00
pavlov%pavlov.net
145b2ebae6 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@219033 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 02:14:19 +00:00
pavlov%pavlov.net
561ccedc78 stop exporting cairo headers from thebes headers. bug 368377. r=vlad
git-svn-id: svn://10.0.0.236/trunk@219032 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 01:59:57 +00:00
preed%mozilla.com
c2218af39b Bug 366650: Make sure we generate updateType for complete snippets. r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@219031 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 01:59:27 +00:00
pavlov%pavlov.net
d997f80a7a temp bustage fix
git-svn-id: svn://10.0.0.236/trunk@219030 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 01:48:33 +00:00
pavlov%pavlov.net
9ce4212383 adding finish method to gfxASurface
git-svn-id: svn://10.0.0.236/trunk@219029 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 01:46:14 +00:00
pavlov%pavlov.net
36083b0632 stop exporting cairo headers from thebes headers. bug 368377. r=vlad
git-svn-id: svn://10.0.0.236/trunk@219028 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 01:26:49 +00:00
ajschult%verizon.net
e872e32692 Bug 367657: Remove old DOM Inspector shared library when upgrading. Patch by Peter Weilbacher <mozilla@Weilbacher.org>, r=me, sr=Neil.
git-svn-id: svn://10.0.0.236/trunk@219022 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 00:35:19 +00:00
dveditz%cruzio.com
bd28f770ee bug 342314: check-in initial effective-tld file. r=bsmedberg.
Effective TLD file itself thanks to Jo Hermans.


git-svn-id: svn://10.0.0.236/trunk@219021 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 00:12:57 +00:00
bienvenu%nventure.com
34d937ccd3 fix summary tooltip of new messages on saved searches, sr=mscott 367527
git-svn-id: svn://10.0.0.236/trunk@219020 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 23:54:10 +00:00
jwalden%mit.edu
3129d5bf52 Bug 368211 - Pretty generated directory listings for directories not containing index.html in the JS HTTP server. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@219019 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 23:48:34 +00:00
jwatt%jwatt.org
bd7595ddd7 Fixing bug 267664. SVG <a> element hack is painfully broken - implement it properly. r=tor@acm.org, sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@219018 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 23:45:15 +00:00
scott%scott-macgregor.org
934feb1011 Bug #368233 --> The account wizard should support generic attributes from ISP RDF Files. Make copyObjectToInterface fall back to setting properties as generic attributes on the xpconnect object. sr=neil
git-svn-id: svn://10.0.0.236/trunk@219017 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 22:27:40 +00:00
neil%parkwaycc.co.uk
e1b2bee879 Fix stupid typo in bug 333145 that broke the offline checkbox r+sr=jag
git-svn-id: svn://10.0.0.236/trunk@219014 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 22:17:25 +00:00
brendan%mozilla.org
cfaea67163 Do not strip format control characters from source (274152, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@219013 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 22:13:39 +00:00
ghendricks%novell.com
e3455ff777 Forgot to filter the saved search in the footer.
git-svn-id: svn://10.0.0.236/trunk@219012 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 22:10:43 +00:00
scott%scott-macgregor.org
a1a563ce0e Bug #300670 --> improve the wording of the en-us string for sending login information. sr=bienvenu a=mscott
git-svn-id: svn://10.0.0.236/trunk@219011 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 21:41:18 +00:00
stridey%gmail.com
0c410b36ac Camino only - Bug 358689: Offer user the choice to restore window state after a crash. Patch by Sean Murphy <camino@seanmurph.com>. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@219004 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 20:58:27 +00:00
mats.palmgren%bredband.net
ecd4f80e37 Add a "Copy" context menu item that copies pref name and value in about:config list. b=239940 (part 1) r+sr=neil@httl.net
git-svn-id: svn://10.0.0.236/trunk@219003 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 20:51:12 +00:00
scott%scott-macgregor.org
a92c7d003d Bug #355064 --> thunderbird's inline spell checker should use InlineSpellCheckUI instead of the older InlineSpellCheck interface. No one is now using editorInlineSpellCheck.js so remove it from the tree.
sr=neil


git-svn-id: svn://10.0.0.236/trunk@219002 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 20:40:15 +00:00
stridey%gmail.com
c2286eb9a3 Camino only - Bug 344982: Fix and expose 'Enable plug-ins' preference. Patch by Chris Lawson <bugzilla@chrislawson.net> r=kreeger sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@218998 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 20:13:20 +00:00
stridey%gmail.com
f69a558f04 Camino only - Bug 309874: Truncate long titles nicely (middle-truncate, using all of the window's available space). r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@218994 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 19:46:53 +00:00
nelson%bolyard.com
33f725c53c Re-enable mangle test with offset of EOF - 8. Bug 193386.
git-svn-id: svn://10.0.0.236/trunk@218993 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 19:44:35 +00:00
despotdaemon
944e849275 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@218990 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 19:40:32 +00:00
nelson%bolyard.com
a149fb286f Bug 193386. Add ability to seek to negative offset from EOF.
r=slavo.katuscak,glen.beasley


git-svn-id: svn://10.0.0.236/trunk@218989 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 19:38:05 +00:00
despotdaemon
ed8c651127 Pseudo-automatic update of changes made by mark.finkle@gmail.com.
git-svn-id: svn://10.0.0.236/trunk@218988 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 19:24:40 +00:00
despotdaemon
264188f398 Pseudo-automatic update of changes made by jresig@mozilla.com.
git-svn-id: svn://10.0.0.236/trunk@218987 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 19:21:52 +00:00
sayrer%gmail.com
b9189b7da5 Bug 364043. Remove dependency on Python for HTTP server to serve mochitests. Patch by Jeff Walden <jwalden+bmo@mit.edu> and Robert Sayre <sayrer@gmail.com>. r=rcampbell
git-svn-id: svn://10.0.0.236/trunk@218985 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 18:44:58 +00:00
sayrer%gmail.com
6d5c506cc2 Remove the MochiKit tests since they have moved to the new server
git-svn-id: svn://10.0.0.236/trunk@218984 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 18:43:55 +00:00
despotdaemon
86fbab5556 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@218983 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 18:30:25 +00:00
mats.palmgren%bredband.net
03e5d2c51b Reset 'mAltDC' when we finish Print Preview. b=365578 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218982 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 18:26:00 +00:00
mats.palmgren%bredband.net
55f98b4f2e Impose the limits on final image size in two more places. b=367740 r+sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@218981 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 18:12:58 +00:00
mozilla.BenB%bucksch.org
9673718d6d Quota display: Lotus Notes sends quota used = nnn, max = 0 for no quota.
Spec that in IDL, and don't show statudbar quota display.
Bug 368043, r=bienvenu, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@218977 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 17:43:59 +00:00
stridey%gmail.com
0376ff0c73 Camino only - Bug 367206: Remove draggingUpdated implementation from BrowserTabViewItem for performance. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@218974 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 17:22:02 +00:00
nrthomas%gmail.com
4f17107a3a Bug 367161, Thunderbird version on the 1.8 branch is now 2.0pre, r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@218973 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 17:18:30 +00:00
enndeakin%sympatico.ca
7d27445686 Bug 367418, improve page up and page down behaviour in trees, r=neil
git-svn-id: svn://10.0.0.236/trunk@218970 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 16:02:43 +00:00
neil%parkwaycc.co.uk
18f7fcfc58 Trunk greLocal installer mistakenly deletes *chardet.dll b=368264 r=ajschult
git-svn-id: svn://10.0.0.236/trunk@218969 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 13:37:54 +00:00
Olli.Pettay%helsinki.fi
2bbd66ee46 Bug 363516, inline message regression, p=aaronr, r=me+surkov
git-svn-id: svn://10.0.0.236/trunk@218968 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 13:30:55 +00:00
dbaron%dbaron.org
913564a03b Merge 368101 with changes from bug 367442.
git-svn-id: svn://10.0.0.236/trunk@218967 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 07:18:55 +00:00
dbaron%dbaron.org
70e19ffc30 Make SVG foreignObject frames reflow roots, instead of their child, so that marking the child dirty still keeps the change constrained to the foreignObject. b=368101 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218966 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 06:58:31 +00:00
dbaron%dbaron.org
5f472ff247 Fix missed renaming in reftest. b=368158 r=rcampbell
git-svn-id: svn://10.0.0.236/trunk@218965 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 06:56:58 +00:00
cltbld
19bd7612a0 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@218964 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 06:51:03 +00:00
dbaron%dbaron.org
76a45da39f Revert configure check for bug 364049, r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218963 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 06:47:58 +00:00
dbaron%dbaron.org
a2e9f4177e Remove const that doesn't make any sense. b=364049 r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218961 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 06:38:58 +00:00
bzbarsky%mit.edu
d688fc540d Remove assert that happens to not be assertable. Bug 368259, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218959 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 05:02:31 +00:00
bzbarsky%mit.edu
5848c6cf3c Don't crash if AsyncOpen fails and the OnReadyStateChange handler restarts us.
Bug 366467, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@218958 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:48:14 +00:00
bzbarsky%mit.edu
52ceba246f Adding test for bug 172261 and bug 301510
git-svn-id: svn://10.0.0.236/trunk@218957 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:41:46 +00:00
nelson%bolyard.com
39328ee16b Disable mangle test to make Tinderbox go green again. Bug 193386.
git-svn-id: svn://10.0.0.236/trunk@218956 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:39:05 +00:00
bzbarsky%mit.edu
c1c504e712 When going back or forward to wyciwyg pages, make sure to correctly restore
their principal from session history.  Bug 172261 and bug 301510, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@218955 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:37:16 +00:00
bzbarsky%mit.edu
05a7c81642 Get the source scheme from the right URI object. Bug 368160, r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@218954 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:33:02 +00:00
bzbarsky%mit.edu
c8f72fc674 Make JP_FIRST work with JP_RTC_HZ. Bug 367675, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@218953 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:31:57 +00:00
ajschult%verizon.net
91630666b9 Bug 366505: Unable to save a saved search when no there is no folder pane selection, r+sr=mscott
git-svn-id: svn://10.0.0.236/trunk@218951 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:26:21 +00:00
rob_strong%exchangecode.com
0b3784ccb8 Bug 333491 – FF installer icon looks bad on Windows Vista. ui-r=beltzner
git-svn-id: svn://10.0.0.236/trunk@218950 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:08:12 +00:00
dveditz%cruzio.com
32d01db145 coverity-found potential use-after-free in testcases (bug 334541). r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@218949 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 02:50:18 +00:00
dveditz%cruzio.com
34446d6bcc Need to pass 'rv' status out, bug 368123. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218948 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 02:30:23 +00:00
mattwillis%gmail.com
ba0cb37024 bug 364420: Left-align events on month printout. Patch by Martin Schröder <mschroeder@mozilla.x-home.org>, r1=lilmatt, r2=mvl
git-svn-id: svn://10.0.0.236/trunk@218947 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:34:00 +00:00
bienvenu%nventure.com
d0f4dd20b1 add new msg+folder notification service geared more to the needs of desktop search indexers, sr=mscott 290057
git-svn-id: svn://10.0.0.236/trunk@218946 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:33:55 +00:00
dbaron%dbaron.org
f109b36a81 Fix bustage merging 367442 and 366956.
git-svn-id: svn://10.0.0.236/trunk@218945 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:24:56 +00:00
bienvenu%nventure.com
04ededecb0 add new msg+folder notification service geared more to the needs of desktop search indexers, sr=mscott 290057
git-svn-id: svn://10.0.0.236/trunk@218944 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:22:48 +00:00
jst%mozilla.org
bc8b21f33b Attempting to fix crasher bug 367006. Reorder some code to make the GC timer book-keeping reliable. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@218943 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:19:31 +00:00
nelson%bolyard.com
8c79a6af0a Open output file in binary mode for writing binary PKCS7 message.
Bug 301496. Patch by Alexei.Volkov, r=nelson


git-svn-id: svn://10.0.0.236/trunk@218942 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:15:43 +00:00
dbaron%dbaron.org
d17d88f579 Fix bustage merging 367442 and 366956.
git-svn-id: svn://10.0.0.236/trunk@218941 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:10:28 +00:00
bienvenu%nventure.com
f5777ffb11 fix navigation issues from stand-alone message window, sr=mscott 368239
git-svn-id: svn://10.0.0.236/trunk@218939 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:55:20 +00:00
scott%scott-macgregor.org
f980c41e5e Bug #368074 --> make the isp directory enumerator smart enough to enumerate over the isp dir in the application directory and in the locale based sub directory instead of making callers do that themselves. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@218937 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:34:50 +00:00
vladimir%pobox.com
ee7351be9c b=365001 - dotted/dashed border on tall page causes rect leakage, r=stuart
git-svn-id: svn://10.0.0.236/trunk@218935 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:20:57 +00:00
ghendricks%novell.com
220875ac7c Changed the location of the suammary on caseruns so that it was more obvious which row it belongs to.
git-svn-id: svn://10.0.0.236/trunk@218934 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:08:34 +00:00
bzbarsky%mit.edu
343ced44ba Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
glen.beasley%sun.com
0596f16735 367910 add pk11mode to fips.sh r=neil williams
git-svn-id: svn://10.0.0.236/trunk@218931 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 23:24:56 +00:00
dbaron%dbaron.org
7cb106739c Fix valgrind warning about writing uninitialized memory to disk cache by not allocating extra size for disk cache entries and then writing the extra word. b=368119 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@218930 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 23:09:01 +00:00
crowder%fiverocks.com
d939edf204 Bug 355820: Remove non-standard Script object, patch by Brian Crowder crowder@fiverocks.com, r=brendan
git-svn-id: svn://10.0.0.236/trunk@218929 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 23:08:52 +00:00
dbaron%dbaron.org
d9dd451d51 Don't close the same file descriptors twice. b=367817 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@218927 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 23:05:22 +00:00
ghendricks%novell.com
bd7af4817e Trying to speed up exports
git-svn-id: svn://10.0.0.236/trunk@218926 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 23:03:46 +00:00
aaronr%us.ibm.com
afae69f28e [XForms] Controls should not be allowed to bind to complexContent. Bug 356190, patch by msterlin, r=olli+aaronr
git-svn-id: svn://10.0.0.236/trunk@218925 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 21:25:04 +00:00
gijskruitbosch%gmail.com
02e36dba03 Bug 366337 - implement nsIIdleService on Windows (second attempt)
r=emaijala@kolumbus.fi (Ere Maijala)
sr=neil@parkwaycc.co.uk (Neil Rashbrook)


git-svn-id: svn://10.0.0.236/trunk@218924 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 21:13:32 +00:00
cls%seawood.org
ec12d39aa4 Allow builds to be configured for warning scraping via the main admin page.
Bug #367978 r=bear


git-svn-id: svn://10.0.0.236/trunk@218918 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 20:13:09 +00:00
roc+%cs.cmu.edu
84519adb5e Bug 368154. Don't do bidi resolution on strings unless bidi is enabled in the prescontext. r=smontagu,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218917 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 19:54:38 +00:00
joshmoz%gmail.com
afc207fd6f stop referring to gecko as raptor, clean up formatting of key code tables. no bug. r=smorgan
git-svn-id: svn://10.0.0.236/trunk@218916 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 19:48:04 +00:00
bugzilla%standard8.demon.co.uk
63f4ba7c14 Bug 361326 Address book directories obtained through RDF aren't always initialised properly (mdb part) r=iann_bugzilla,sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@218914 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 19:44:34 +00:00
bugzilla%arlen.demon.co.uk
e34185daaf Bug 351913 Printer paper format always set to letter for TB/mailnews - further addressbook patch
p=me r=neil sr=mscott


git-svn-id: svn://10.0.0.236/trunk@218913 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 19:43:13 +00:00
joshmoz%gmail.com
68974fa506 submenus shouldn't go off the screen. b=367260 r=cbarrett sr=pav
git-svn-id: svn://10.0.0.236/trunk@218912 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 19:19:48 +00:00
glen.beasley%sun.com
e5ec8eff0d 367910 pk11mode added to build and fips.sh r=neil
git-svn-id: svn://10.0.0.236/trunk@218911 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 19:04:57 +00:00
mozilla.mano%sent.com
7b84683c19 Bug 367989 - metadata about node annotations is no longer set for uri nodes. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@218910 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 18:52:15 +00:00
ghendricks%novell.com
ba1909d02f Searching for runs by version is broken
git-svn-id: svn://10.0.0.236/trunk@218909 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 18:10:10 +00:00
enndeakin%sympatico.ca
fd6335c608 Bug 326877, close popups when navigating pages, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@218908 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 17:59:20 +00:00
mattwillis%gmail.com
4a6911fcbf bug 177109 - use resolveURI instead of newURI when processing command line args. Patch by Sebastian Schwieger <sebastian.schwieger@googlemail.com>, r1=ctalbert, r2=mvl
git-svn-id: svn://10.0.0.236/trunk@218906 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 17:41:30 +00:00
mrbkap%gmail.com
910e573c7b Use a better replacement character. bug 315473, r=bzbarsky sr=sicking
git-svn-id: svn://10.0.0.236/trunk@218905 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 17:30:13 +00:00
sspitzer%mozilla.org
b9beb7498d missing semi-colon, no reviewer.
git-svn-id: svn://10.0.0.236/trunk@218903 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 17:14:50 +00:00
sspitzer%mozilla.org
7d4ddd71c5 fix for bug #367084: updater can fail to apply updates if files have the
"read only" attribute set.

r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@218902 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 17:14:17 +00:00
daniel.boelzle%sun.com
6ff8931df8 Bug 340949: major rework of the whole wcap provider with async request framework, subscription support
git-svn-id: svn://10.0.0.236/trunk@218901 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 16:02:45 +00:00
mkanat%bugzilla.org
2be916ba20 Bug 368147: Upgrade from 2.16 and earlier does not work with DBD::mysql 4.0
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@218900 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 15:45:38 +00:00
inonit%inonit.com
bb476f7825 Make sure the files in this directory are not accidentally committed to the tree by misbehaving CVS clients (like the one bundled with NetBeans). Even though the parent directory contains a .cvsignore which ignores this directory, the NetBeans default CVS client refuses to ignore them. (A few tests seem to indicate that NetBeans will not ignore files that are new in directories that actually exist in the repository.)
git-svn-id: svn://10.0.0.236/trunk@218899 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 15:27:48 +00:00
asqueella%gmail.com
319a3d83b4 Bug 356578 - rebranding should affect the name of the executable
patch by O. Atsushi <torisugari@gmail.com>
r=mano, bsmedberg


git-svn-id: svn://10.0.0.236/trunk@218895 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 13:43:52 +00:00
daniel.boelzle%sun.com
dee426960d Bug 357397: adopting to revised wcap API
git-svn-id: svn://10.0.0.236/trunk@218894 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 13:30:20 +00:00
asqueella%gmail.com
e642505be3 The patch for 367275 (previous checkin) was by
Alfred Kayser <alfredkayser@nl.ibm.com>


git-svn-id: svn://10.0.0.236/trunk@218893 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 13:14:24 +00:00
daniel.boelzle%sun.com
0be8779842 Bug 340949: major rework of the whole wcap provider with async request framework, subscription support
git-svn-id: svn://10.0.0.236/trunk@218892 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 13:01:56 +00:00
slavomir.katuscak%sun.com
61edd03fe6 Bug 193386: Patch to fips.sh to use temporary library for mangle test. r=alexei, sr=nelson
git-svn-id: svn://10.0.0.236/trunk@218890 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 12:40:33 +00:00
michael.buettner%sun.com
70a7d75964 bug #360111 dying js context
git-svn-id: svn://10.0.0.236/trunk@218889 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 12:35:43 +00:00
asqueella%gmail.com
839e716f61 fix bug 367275 - download manager file folder icon is black
(regression from 360000)

Only do premultiplication when the 32bit ico really has alpha - move
premultiplication to SetImageData from SetPixel and only premultiply
if mHaveAlpha is true.

The 'premultiplication' function has been copied from libpixman.

r=pavlov


git-svn-id: svn://10.0.0.236/trunk@218888 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 11:39:48 +00:00
asqueella%gmail.com
050a755a27 bug 366113 - mozilla-plugin.pc should not depend on mozilla-xpcom.pc
patch by braden@endoframe.com
r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@218887 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 11:38:49 +00:00
dbaron%dbaron.org
8eb2065997 Add testcases for visual part of bug 347912.
git-svn-id: svn://10.0.0.236/trunk@218886 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 03:31:14 +00:00
roc+%cs.cmu.edu
dedd4a8dff Bug 361298. Don't allow overlarge custom cursors. r+sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@218882 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:17:22 +00:00
dbaron%dbaron.org
f910247453 Make computed style output the a part of rgba/hsla colors, and also implement the 'transparent' keyword from css3-color. b=347912 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218881 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:03:02 +00:00
dbaron%dbaron.org
07b53e788d Reflow reflow roots and the child of SVG foreignObject with an unconstrained height to avoid triggering page/column breaking. b=366956 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218880 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:01:07 +00:00
roc+%cs.cmu.edu
eca770f48f Bug 367930. Introduce an nsIRenderingContext::GetHints flag (temporarily) that tells us whether new-text-runs are being used underneath. When new text runs are in use, never reverse text manually, we can be sure that the platform textrun will do it.
git-svn-id: svn://10.0.0.236/trunk@218879 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 01:58:55 +00:00
vladimir%pobox.com
cf04587984 b=367768, update cairo to 1.3.12 snapshot, clobbering tinderbox to see if it's just not picking up the cairo-rename.h change
git-svn-id: svn://10.0.0.236/trunk@218878 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 01:45:57 +00:00
mrbkap%gmail.com
8ac76f7730 Fix the decompiler's JSOP_GETLOCALPROP to not push an index that's not at the end of the sprint stack. bug 366668, r=brendan
git-svn-id: svn://10.0.0.236/trunk@218877 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 01:32:20 +00:00
mrbkap%gmail.com
e474a95f26 Handle NUL characters in HTML input better. bug 315473, r=jst sr=sicking
git-svn-id: svn://10.0.0.236/trunk@218876 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 01:25:41 +00:00
dbaron%dbaron.org
4bd4c4bb03 Basic instructions.
git-svn-id: svn://10.0.0.236/trunk@218875 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 01:17:28 +00:00
alexei.volkov.bugs%sun.com
23216a4680 Bug 301496: NSS_Shutdown failure in p7sign. r=nelson
git-svn-id: svn://10.0.0.236/trunk@218874 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 00:52:26 +00:00
vladimir%pobox.com
703b7e0cbb b=367768, update cairo to 1.3.12 snapshot, clobbering tinderbox to see if it's just not picking up the cairo-rename.h change
git-svn-id: svn://10.0.0.236/trunk@218873 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 00:44:08 +00:00
vladimir%pobox.com
ad640ecf29 b=367768, update cairo to 1.3.12 snapshot, r=stuart
git-svn-id: svn://10.0.0.236/trunk@218871 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 00:27:34 +00:00
jst%mozilla.org
c1a038763c Landing graydon's fix for bug 366578. Make the cycle collector run at shutdown. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@218870 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 00:24:20 +00:00
jst%mozilla.org
493b3c4f17 Landing graydon's fix for bug 366578. Make the cycle collector run at shutdown.
git-svn-id: svn://10.0.0.236/trunk@218869 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 00:24:08 +00:00
vladimir%pobox.com
a564e3522c b=367768, update cairo to 1.3.12 snapshot, r=stuart
git-svn-id: svn://10.0.0.236/trunk@218868 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 00:05:56 +00:00
vladimir%pobox.com
456b16ca0f b=367768, update cairo to 1.3.12 snapshot, r=stuart
git-svn-id: svn://10.0.0.236/trunk@218867 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 23:53:53 +00:00
jst%mozilla.org
39da20afc9 Landing fix for bug 368090. Code cleanup by kevin.heart@gmail.com, r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@218865 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 23:31:12 +00:00
stridey%gmail.com
e12ac41f2b Camino only - Bug 368096: Landing proper m.o URL string with redirect for improved bookmark backup alert
git-svn-id: svn://10.0.0.236/trunk@218863 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 23:30:31 +00:00
cls%seawood.org
984b110589 Escape the argument being passed to a function via eval.
Bug #359451


git-svn-id: svn://10.0.0.236/trunk@218862 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 23:28:28 +00:00
stridey%gmail.com
2f254f3818 Camino only - Bug 367640: Make Privacy prefpane use 1st person in pref names. r/sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@218860 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 23:19:51 +00:00
joshmoz%gmail.com
5989e3693f Cancelling an onkeydown event doesn't cancel keypress with cocoa widgets. b=367528 r=cbarrett sr=pav
git-svn-id: svn://10.0.0.236/trunk@218859 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 22:49:55 +00:00
ghendricks%novell.com
6d17ad13c1 Synching with rev 2546
git-svn-id: svn://10.0.0.236/trunk@218858 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 22:43:24 +00:00
aaronr%us.ibm.com
ca0b240c25 [XForms] xf:input for xul can't be readonly. Bug 367719, patch by surkov, r=olli+aaronr
git-svn-id: svn://10.0.0.236/trunk@218857 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 22:36:26 +00:00
cls%seawood.org
10f5b5621d Validate the |tree| cgi argument and limit new tree creation to (alphanumeric|.|-) .
Bug #367870 r=bear


git-svn-id: svn://10.0.0.236/trunk@218856 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 22:27:55 +00:00
inonit%inonit.com
16764fecec Fix for #353501: Add Java port of jsDriver.pl; catch some additional failure cases in JUnit test driver
git-svn-id: svn://10.0.0.236/trunk@218855 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 22:15:00 +00:00
richm%stanfordalumni.org
338520afad Resolves: bug 228704
Description: Windows: libldap and the LDAP tools should support SASL/Digest
Fix Description: The biggest change was to hack sasl.m4 to make AC_CHECK_LIB work on Windows.  I
had to override LIBS to be able to pass in /link /LIBPATH:c:/path/to/sasl
libsasl.lib, libsasl2.lib, and sasl32.lib.
Another big change was to implement getlogin() on Windows, required by
ldaptool-sasl.c.  The implementation is pretty simple.
There were several places in the Makefiles that assumed Windows meant no
support for SASL, so I just changed them, and added some support for SASL_LIBS
in some places where it was missing.


git-svn-id: svn://10.0.0.236/trunk@218853 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:53:02 +00:00
aaronr%us.ibm.com
9777e3cd46 [XForms] serialization using multipart-post doesn't serialize parts. Bug 353677, patch by msterlin, r=olli+surkov
git-svn-id: svn://10.0.0.236/trunk@218852 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:52:50 +00:00
stridey%gmail.com
a6bb204363 Missed string for Bug 364496.
git-svn-id: svn://10.0.0.236/trunk@218851 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:46:02 +00:00
stridey%gmail.com
8f42f2c9cc Camino only - Bug 367820 : 'Other' should be 'Select' in the choose download location menu. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@218850 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:36:08 +00:00
bzbarsky%mit.edu
3c4a12efcd Address review comment I missed. Bug 367749.
git-svn-id: svn://10.0.0.236/trunk@218849 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:23:08 +00:00
stridey%gmail.com
9e9cc1b9db Camino only - Bug 364496: Display shinier alert when restoring bookmarks from backup. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@218848 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:20:07 +00:00
bzbarsky%mit.edu
0ec062328d Fix various bugs in the column iterator's keeping track of the current row.
Bug 367749, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@218847 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:18:04 +00:00
masayuki%d-toybox.com
ee0b89a844 bug 368081 font-size-adjust broken on windows if the text has non solid color r=pavlov
git-svn-id: svn://10.0.0.236/trunk@218846 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 19:58:47 +00:00
aaronr%us.ibm.com
2ef6350305 [XForms] create spinbutton widget in xforms for use with range controls. Bug 353880, patch by msterlin, r=surkov+aaronr
git-svn-id: svn://10.0.0.236/trunk@218845 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 19:54:42 +00:00
ghendricks%novell.com
86ff891e0d Added printable case view.
git-svn-id: svn://10.0.0.236/trunk@218844 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 19:26:34 +00:00
enndeakin%sympatico.ca
68cf0eb6d5 Bug 367530, textbox.type should just get and set the type attribute, r=neil
git-svn-id: svn://10.0.0.236/trunk@218843 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 18:40:19 +00:00
sayrer%gmail.com
2bb21ff6ea bug 367537. enhancements to httpd.js. add an index handler and respose.write. r=jwalden
git-svn-id: svn://10.0.0.236/trunk@218841 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 16:57:03 +00:00
asqueella%gmail.com
c317a223a6 Bug 367655 - add a null-check of imageRequest.image to fix a regression
patch by Florian Quèze <f.qu@queze.net>
r=mano


git-svn-id: svn://10.0.0.236/trunk@218840 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 16:20:05 +00:00
asqueella%gmail.com
44091f82a4 Bug 361654 - remove unused string configAutoconfigText
patch by Marek A. Stepien <marcoos+bmo@marcoos.org>
r=gavin.sharp, sr=bienvenu, okayed by jminta and mkaply


git-svn-id: svn://10.0.0.236/trunk@218839 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 16:07:30 +00:00
neil%parkwaycc.co.uk
6e84f9369a Reduce mail notification bar's minimum width b=362919 r=IanN (but note that due to bug 367745 the remote image whitelist link underlining doen't currently work)
git-svn-id: svn://10.0.0.236/trunk@218837 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 13:25:30 +00:00
Olli.Pettay%helsinki.fi
6819691424 Adding missing '= 0', Bug 367256, r=neil
git-svn-id: svn://10.0.0.236/trunk@218836 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 11:04:13 +00:00
kieran%eternal.undonet.com
251ade562c Bug 340606 Spell things properly: fix all but file renames.
git-svn-id: svn://10.0.0.236/trunk@218834 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 09:08:35 +00:00
scott%scott-macgregor.org
5faa6f9255 Bug #362919 --> fix wrapping issues with the remote content policy description. Remove unnecessary flex from some of the notification bar elements. sr=neil
git-svn-id: svn://10.0.0.236/trunk@218832 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 02:01:00 +00:00
neil.williams%sun.com
8bd2ddb975 Bug 337519, Certutil/blapitest usage mentions unimplemented curves,r=nelson
git-svn-id: svn://10.0.0.236/trunk@218831 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 01:30:00 +00:00
scott%scott-macgregor.org
5f6909a912 Bug #364123 --> remove references to notifications.js which has gone away.
git-svn-id: svn://10.0.0.236/trunk@218830 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 01:22:04 +00:00
lpsolit%gmail.com
ea660a2700 Bug 363717: Cloning a bug results in HTML-filtered text in initial description (text escaped twice) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=myk a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@218828 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 00:56:31 +00:00
lpsolit%gmail.com
8ff1386a1b Bug 367894: Missing separator after the "Sanity Check" link in the footer when the user has editcomponents privs only - Patch by Frédéric Buclin <LpSolit@gmail.com> r=myk a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@218827 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 00:39:46 +00:00
ghendricks%novell.com
4c2d5adde4 fixed problems in the print report
git-svn-id: svn://10.0.0.236/trunk@218824 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 00:01:45 +00:00
igor.bukanov%gmail.com
67e980c0f4 Bug 367481: Patch from Seno.Aiko@gmail.com to rearrange JSContext to reduce code size. r=myself
git-svn-id: svn://10.0.0.236/trunk@218823 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 23:57:36 +00:00
bzbarsky%mit.edu
644d68a116 Make sure we can rely on mDirty being false when the list is not dirty. Bug
367906 , r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218822 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 23:45:54 +00:00
crowder%fiverocks.com
8127b3f88d Bug 367923: tweak strict warning for variable that redeclares function parameter, patch by Ryan Jones bugs@ryan-jones.com, r=crowder
git-svn-id: svn://10.0.0.236/trunk@218821 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 23:44:39 +00:00
dbaron%dbaron.org
6c36c2815f Remove setTimeout so that we don't call focus on a window that's no longer active once the timeout runs. b=330006 r=gavin
git-svn-id: svn://10.0.0.236/trunk@218820 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 22:56:37 +00:00
dbaron%dbaron.org
5d67fc1ba8 Back out previous fix for bug 330006 due to bug 367927.
git-svn-id: svn://10.0.0.236/trunk@218819 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 22:55:29 +00:00
dbaron%dbaron.org
b0e21aba64 Set time on more events. b=367927 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218818 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 22:51:38 +00:00
dbaron%dbaron.org
73ebb32115 Correct punctuation in CSS error reports. b=315250 r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@218817 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 22:49:49 +00:00
bzbarsky%mit.edu
5791846622 Keep a "last band we touched" cursor so we can avoid seeking through the whole
linked list for multiple appends to the end.  Bug 270392, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@218816 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 21:42:41 +00:00
timeless%mozdev.org
01735de781 Bug 365943 nsIScriptError comment is wrong
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@218815 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 21:18:04 +00:00
bugzilla%arlen.demon.co.uk
074d3a377f Bug 351913 Printer paper format always set to letter on TB/Mailnews
p=me r=neil sr=mscott


git-svn-id: svn://10.0.0.236/trunk@218814 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 19:48:00 +00:00
cls%seawood.org
b2f3f4d7e5 Add option to mail $FailedBuildAdministrator upon initial build failure.
Bug #206665 r=preed


git-svn-id: svn://10.0.0.236/trunk@218813 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 19:38:47 +00:00
reed%reedloden.com
917eb83216 Bug 367679 - "Usability changes to new attachment table" [p=reed r=LpSolit a=LpSolit]
git-svn-id: svn://10.0.0.236/trunk@218812 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 19:04:27 +00:00
ghendricks%novell.com
48cfe8e7e5 fixed a bug where cloning a case copies the components multiple times.
git-svn-id: svn://10.0.0.236/trunk@218811 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 18:55:36 +00:00
cls%seawood.org
cccd4baa03 Add 'use strict;' to expose globals.
Remove uses of global $tree & $form.
Remove tabs from showbuilds.pl
Bug #359451 r=bear


git-svn-id: svn://10.0.0.236/trunk@218810 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 17:49:10 +00:00
ghendricks%novell.com
9846ef3808 Added printable plan report
git-svn-id: svn://10.0.0.236/trunk@218809 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 17:14:44 +00:00
mattwillis%gmail.com
c4f915e4b8 Tinders were building from SUNBIRD_0_3_RELEASE rather than SUNBIRD_0_3_BRANCH
git-svn-id: svn://10.0.0.236/trunk@218808 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 15:15:30 +00:00
mattwillis%gmail.com
de648815d7 Respinning to get useable nightly
git-svn-id: svn://10.0.0.236/trunk@218806 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 14:01:24 +00:00
neil%parkwaycc.co.uk
0bc2022a15 Bug 365362 msgHdrSink's properties is null r=mscott
git-svn-id: svn://10.0.0.236/trunk@218804 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 13:56:00 +00:00
anton.bobrov%sun.com
273855b39c oneliner: use COMPONENT_FTP_SERVER var instead of redundant ftp-rel name.
git-svn-id: svn://10.0.0.236/trunk@218801 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 10:40:07 +00:00
roc+%cs.cmu.edu
ca403c58c1 Bug 333659. (Re)landing gfx changes: new gfxTextRun interfaces, implementation of gfxPangoTextRun, stub implementations for Mac and Windows, nsThebesRenderingContext reimplemented on top of the new interfaces. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@218799 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 08:45:52 +00:00
ginn.chen%sun.com
b3a1d3999c Bug 367434 – Many labels do not have the LABEL_FOR relation set
patch by Evan.Yan at sun.com r=mscott a=mscott


git-svn-id: svn://10.0.0.236/trunk@218798 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 08:31:55 +00:00
ginn.chen%sun.com
afee61e22e Bug 367154 – Thunderbird crashed [@ nsXULTreeAccessibleWrap::GetChildCount] when I mouse clicked on the trash folder in the folders tree table
patch by Evan.Yan at sun.com r=aaronleventhal


git-svn-id: svn://10.0.0.236/trunk@218797 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 08:27:16 +00:00
Olli.Pettay%helsinki.fi
5cf7b7c2d2 Bug 361997, Keyboard navigation problems with date picker, p=surkov, r=aaronr,me
git-svn-id: svn://10.0.0.236/trunk@218796 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 08:27:00 +00:00
Olli.Pettay%helsinki.fi
506d091582 Bug 367256, Expose datatype object attribute, p=surkov, r=aaronr, aaronl, me
git-svn-id: svn://10.0.0.236/trunk@218795 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 07:43:18 +00:00
Olli.Pettay%helsinki.fi
3194bd9145 Bug 329126, Remove nsIEventListenerManager::CreateEvent, r=aaronl, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218794 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 07:32:34 +00:00
stridey%gmail.com
f8a6047041 Camino/SeaMonkey only - Bug 353917: Fix MoCo text in xpfe about:license. Patch by Smokey Ardisson <alqahira@ardisson.org> r=CTho sr=neil a=CTho
git-svn-id: svn://10.0.0.236/trunk@218793 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 07:28:46 +00:00
alfred.peng%sun.com
191e606b96 Bug 261468. SpiderMonkey LiveConnect calls free() instead of JS_smprintf_free(), problem with static linking.
r=brendan,sr=jst.


git-svn-id: svn://10.0.0.236/trunk@218791 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 05:28:31 +00:00
bzbarsky%mit.edu
401c0a4274 Shut down the textrun cache on shutdown. Bug 357779, r=vlad, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218790 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 05:24:21 +00:00
dbaron%dbaron.org
103e95ab15 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
dbaron%dbaron.org
99df522954 Give inline-blocks NS_BLOCK_SPACE_MGR and NS_BLOCK_MARGIN_ROOT. b=367504 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218784 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 03:53:46 +00:00
roc+%cs.cmu.edu
1534bcd542 Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@218782 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 02:58:55 +00:00
szegedia%freemail.hu
ac121313c4 Fix for #367385 and #333168 defineClass's inheritance mapping is broken for abstract class subclasses
git-svn-id: svn://10.0.0.236/trunk@218781 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 02:21:35 +00:00
szegedia%freemail.hu
7582972942 Fix for #366550 Ð increment and decrement operators don't work for global vars with dynamic scopes (patch by Hannes Wallnoefer)
git-svn-id: svn://10.0.0.236/trunk@218780 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 02:14:24 +00:00
szegedia%freemail.hu
dd77731ad6 Fix for #366550 Ð increment and decrement operators don't work for global vars with dynamic scopes
git-svn-id: svn://10.0.0.236/trunk@218779 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 02:10:13 +00:00
despotdaemon
d06f06d64c Pseudo-automatic update of changes made by szegedia@freemail.hu.
git-svn-id: svn://10.0.0.236/trunk@218778 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 01:42:29 +00:00
mattwillis%gmail.com
3bb113dc3a Moving Sunbird trunk tinderboxes to use SUNBIRD_0_3_BRANCH for the upcoming 0.3.1 maintenance release
git-svn-id: svn://10.0.0.236/trunk@218777 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 01:24:09 +00:00
sayrer%gmail.com
c35a6ec1ea Bug 366993. HTML doctype should always be capitalized. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218776 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 01:16:27 +00:00
mattwillis%gmail.com
e96136c5cc Moving Sunbird trunk tinderboxes to use SUNBIRD_0_3_BRANCH for the upcoming 0.3.1 maintenance release
git-svn-id: svn://10.0.0.236/trunk@218775 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 01:12:00 +00:00
sayrer%gmail.com
077ad22815 Bug 367548. Add global convenience methods to check the version of Mac OS X at runtime. Patch by Colin Barrett <cbarrett@mozilla.com>. r=josh, sr=stuart
git-svn-id: svn://10.0.0.236/trunk@218774 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 01:06:42 +00:00
mattwillis%gmail.com
986ddd2b07 Moving Sunbird trunk tinderboxes to use SUNBIRD_0_3_BRANCH for the upcoming 0.3.1 maintenance release
git-svn-id: svn://10.0.0.236/trunk@218773 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 00:58:00 +00:00
jst%mozilla.org
b35900c08f Fixing bug 287112. Make atob() report the right exception on invalid characters in the input. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@218772 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 00:48:02 +00:00
mattwillis%gmail.com
5e6536d39d Moving Sunbird trunk tinderboxes to use SUNBIRD_0_3_BRANCH for the upcoming 0.3.1 maintenance release
git-svn-id: svn://10.0.0.236/trunk@218771 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 00:47:45 +00:00
preed%mozilla.com
cc343ff6be Bug 366650: patcher2 should use license and updateType settings; Fixes errors where you don't have a licenseUrl defined (popped the following assertion: ASSERT: SubstitutePath() called with null path at line 353.); always defines $updateType, even if it's not defined. write_patch_info(), which is the consumer of this data, can handle undef, but the rest of the app has troubles w/ that. r=rhelmer.
git-svn-id: svn://10.0.0.236/trunk@218770 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 00:45:01 +00:00
martijn.martijn%gmail.com
3d266983e1 Bug 366119 – Mingw build error in nsCycleCollector.cpp, r=graydon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@218769 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 00:39:25 +00:00
martijn.martijn%gmail.com
0610c629a5 Bug 363934 – keyboard tab bar navigation broken, r=gavin, sr=neil
git-svn-id: svn://10.0.0.236/trunk@218768 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 00:32:20 +00:00
jwatt%jwatt.org
6234d3bd9c add missing define. r=roc (no bug)
git-svn-id: svn://10.0.0.236/trunk@218767 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 23:51:15 +00:00
rhelmer%mozilla.com
db3417844c fixes for l10n tagging r=preed b=366850
git-svn-id: svn://10.0.0.236/trunk@218765 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 23:39:27 +00:00
jwatt%jwatt.org
30e523b4a4 fix typo. r=stuart (no bug)
git-svn-id: svn://10.0.0.236/trunk@218764 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 23:25:41 +00:00
tor%cs.brown.edu
cdbb86525a Bug 367557 - correct filter/pattern surface refcount. r=vlad, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218763 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 23:19:54 +00:00
pedemont%us.ibm.com
132c088151 Add missing underscore
git-svn-id: svn://10.0.0.236/trunk@218761 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 21:46:02 +00:00
despotdaemon
df4426771a Pseudo-automatic update of changes made by pavlov@pavlov.net.
git-svn-id: svn://10.0.0.236/trunk@218760 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 21:07:19 +00:00
despotdaemon
af086c9aaf Pseudo-automatic update of changes made by pavlov@pavlov.net.
git-svn-id: svn://10.0.0.236/trunk@218759 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 21:06:13 +00:00
despotdaemon
efa8367f82 Pseudo-automatic update of changes made by pavlov@pavlov.net.
git-svn-id: svn://10.0.0.236/trunk@218758 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 20:56:09 +00:00
despotdaemon
8b454448de Pseudo-automatic update of changes made by pavlov@pavlov.net.
git-svn-id: svn://10.0.0.236/trunk@218757 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 20:52:05 +00:00
despotdaemon
89c31e98f4 Pseudo-automatic update of changes made by pavlov@pavlov.net.
git-svn-id: svn://10.0.0.236/trunk@218756 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 20:51:19 +00:00
despotdaemon
94bfb8c5a6 Pseudo-automatic update of changes made by pavlov@pavlov.net.
git-svn-id: svn://10.0.0.236/trunk@218755 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 20:50:23 +00:00
brendan%mozilla.org
7070e73e05 Oops.
git-svn-id: svn://10.0.0.236/trunk@218754 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 20:30:10 +00:00
brendan%mozilla.org
8902da5988 Fix 367589, a=dveditz.
git-svn-id: svn://10.0.0.236/trunk@218753 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 20:30:09 +00:00
enndeakin%sympatico.ca
4c5395310f Bug 364396, native theming for dropmarker in Cocoa, r=josh
git-svn-id: svn://10.0.0.236/trunk@218752 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 19:54:36 +00:00
scott%scott-macgregor.org
d03b9b8745 icon update from arvid. sr=me
git-svn-id: svn://10.0.0.236/trunk@218751 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 19:25:28 +00:00
pedemont%us.ibm.com
3bf5c11d13 Remove duplicate lines
git-svn-id: svn://10.0.0.236/trunk@218750 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 19:23:05 +00:00
tor%cs.brown.edu
afe6ec6f03 Bug 367416 - thebes API additions needed for nsSVGPathGeometryFrame
conversion.  r=vlad


git-svn-id: svn://10.0.0.236/trunk@218749 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 18:14:47 +00:00
crowder%fiverocks.com
537c977aac Bug 367743: memory leak in AddCharsToURI (jsstr.c) - patch by Gavin Reaney gavin@picsel.com, r=crowder
git-svn-id: svn://10.0.0.236/trunk@218748 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 17:13:23 +00:00
ccooper%deadsquid.com
5a5d3289ca - fix faulty timestamp instructions
git-svn-id: svn://10.0.0.236/trunk@218747 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 16:01:10 +00:00
ccooper%deadsquid.com
a07b441cd9 - fix faulty tiemstamp instructions
git-svn-id: svn://10.0.0.236/trunk@218746 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 15:56:28 +00:00
edburns%acm.org
6c952371fa M webclient/build-tests.xml
- re-enable all tests, but CurrentPageTest is currently hanging.

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/EventRegistrationImpl.java

- Use new "runUntilEventOfType" method to prevent deadlock when creating a new 
  window.

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeEventThread.java

- extract doEventLoopOnce() method from run()

- create new method runUntilEventOfType().

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WindowControlImpl.java

- convert anonymous inner class for WCRunnable.nativeRealize into
  non-anonymous inner class of WindowControlImpl

M webclient/test/automated/src/classes/org/mozilla/webclient/WindowCreatorTest.java

- Make sure to realize the new window on the main thread.


git-svn-id: svn://10.0.0.236/trunk@218745 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 12:35:14 +00:00
longsonr%gmail.com
ffd76c83a3 Bug 367209 - getBBox() returns ((0,0), (0,0)) on two point polyline. r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@218744 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 10:04:29 +00:00
bugreport%peshkin.net
aea02f35f8 Bug 366243: Permit boolean searches of creation date and last changed date to use relative dates
Patch by Joel Peshkin <bugreport@peshkin.net>
r,a=justdave


git-svn-id: svn://10.0.0.236/trunk@218743 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:49:35 +00:00
bzbarsky%mit.edu
eb4e268436 Fix build bustage. Bug 367587
git-svn-id: svn://10.0.0.236/trunk@218742 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:41:06 +00:00
bzbarsky%mit.edu
3de9b82869 Make it possible for callers who want to iterate all the row groups and
GetMapFor() for all of them do so in about O(N) time instead of O(N^2) (in
number of row groups).  Bug 366892, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@218741 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:35:25 +00:00
rhelmer%mozilla.com
a8623beaf1 remove undeclared var errors introduced by previous patch
git-svn-id: svn://10.0.0.236/trunk@218740 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:34:43 +00:00
bzbarsky%mit.edu
0b6146e808 Have a faster way of iterating down the columns of a table. Bug 352461,
r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@218739 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:32:33 +00:00
bzbarsky%mit.edu
ba27ed1b22 Remove some redundant (but not quite identical, hence asserting) logic. Bug
367587, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@218738 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:29:35 +00:00
bzbarsky%mit.edu
d9d0d2a935 Don't do XUL collapsing stuff with HTML text inputs or HTML scrollframes. Bug
335628, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@218737 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:27:31 +00:00
bzbarsky%mit.edu
07c77ee36e Filter out entries for files in subdirectories even at the root. Bug 367459,
patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@218736 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 01:47:50 +00:00
timeless%mozdev.org
ceb7f4876c Bug 333172 minVersion should be a fixed number, don't link against layout for DOM Inspector
patch by comrade693+bmo@gmail.com r=jminta, r=neil, r=gavin, sr=neil


git-svn-id: svn://10.0.0.236/trunk@218735 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 01:02:49 +00:00
mozilla.mano%sent.com
ee5665e3e2 Bug 367293 - Change 'Open in Tabs' to 'Open All in Tabs' (places-bookmarks builds). r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@218734 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 00:16:57 +00:00
mozilla.mano%sent.com
243ca798e3 Bug 367025 - 'Bookmark All Tabs' command is always enabled in places-bookmarks builds. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@218733 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 23:31:39 +00:00
mozilla.mano%sent.com
7c0426bca4 Bug 367187 - Places context menu fx2-parity. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@218732 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 23:22:52 +00:00
reed%reedloden.com
16ae70796b Bug 367283 - "weekly query in reporter fails" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@218731 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 23:04:18 +00:00
neil%parkwaycc.co.uk
37730cc871 Bug 366887 Stylesheet switcher should use DOM style set methods r=bz,IanN sr=bz
git-svn-id: svn://10.0.0.236/trunk@218729 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 21:08:33 +00:00
cst%yecc.com
941dbe1f6a Bug 367461 Tab Preview Should Be Disabled for Current Tab
r+sr=neil


git-svn-id: svn://10.0.0.236/trunk@218726 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 20:36:58 +00:00
bzbarsky%mit.edu
79e5cd32d2 Documenting bug.
git-svn-id: svn://10.0.0.236/trunk@218725 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 20:12:28 +00:00
bugzilla%standard8.demon.co.uk
fa386391fe Bug 361326 Address book directories obtained through RDF aren't always initialised properly (ldap part) r=iann_bugzilla,sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@218724 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 18:49:58 +00:00
stuart.morgan%alumni.case.edu
f049d42f80 Camino only - Bug 366996: Select word on right click only when there is no selection. r=murph sr=pink
git-svn-id: svn://10.0.0.236/trunk@218723 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 18:14:21 +00:00
stuart.morgan%alumni.case.edu
4ac415a421 Camino only - Bug 365323: Punycode non-ASCII domains for RSS handoff. r=kreeger sr=pink
git-svn-id: svn://10.0.0.236/trunk@218722 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 18:04:17 +00:00
bmlk%gmx.de
66cba9f983 Stronger band-aid to prevent table splitting inside columns bug 362275 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@218721 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 17:51:33 +00:00
ajschult%verizon.net
1bdee19f15 Bug 367607: URL bar autocomplete stops working sometimes after hovering over a search engine. r+sr=Neil
git-svn-id: svn://10.0.0.236/trunk@218720 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 17:16:13 +00:00
lpsolit%gmail.com
177b105102 Bug 367654: Param('upgrade_notification') eq 'development_snapshot' should catch release candidates too if no development snapshot is available - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@218719 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 16:04:56 +00:00
inonit%inonit.com
4c51191cc4 Partial fix for bug #224334: implements __defineGetter__ and __defineSetter__.
git-svn-id: svn://10.0.0.236/trunk@218718 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 15:28:18 +00:00
olav%bkor.dhs.org
1271606ad2 Bug 367649: Deleting an attachment should set isobsolete to 1
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@218717 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 15:11:52 +00:00
lpsolit%gmail.com
faf77a2be7 Bug 365247: New UI for the attachment table (ported from b.m.o) - Patch by Frédéric Buclin <LpSolit@gmail.com> (UI proposed by Mike Connor <mconnor@mozilla.com>) r=bkor a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@218716 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 14:11:14 +00:00
neil%parkwaycc.co.uk
31658f42c2 Javascript -> JavaScript b=367638 p=sdwilsh r+sr=me
git-svn-id: svn://10.0.0.236/trunk@218715 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 10:58:53 +00:00
mozilla.mano%sent.com
0dbba04852 Bug 367622 - No scrollbar in source selection when the findbar is open. r=gavin
git-svn-id: svn://10.0.0.236/trunk@218714 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 03:34:59 +00:00
brendan%mozilla.org
8ad05a04be Handle slot-and-setter-less read-write nonsense state; compatibility requires it (367589, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@218712 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 22:56:50 +00:00
mnyromyr%tprac.de
262681fa30 Bug 366367: SeaMonkey link on mailnews start page incorrect in suiterunner; p=Bruno 'Aqualon' Escherl <aqualon@aquachan.de>, r=KaiRo, sr=neil
git-svn-id: svn://10.0.0.236/trunk@218711 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 20:45:38 +00:00
wtchang%redhat.com
ed53ac652d Bug 362768: implemented NSPR shared library finalization function for AIX.
r=nelsonb
Modified files: pr/src/Makefile.in ptthread.c


git-svn-id: svn://10.0.0.236/trunk@218709 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 20:27:53 +00:00
sharparrow1%yahoo.com
3c3ce02c7e Bug 325070: Allow accessibility to build without ATL/MFC (i.e. with VC8 Express). r=surkov.alexander, sr=neil
git-svn-id: svn://10.0.0.236/trunk@218707 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 12:43:08 +00:00
gijskruitbosch%gmail.com
96906ed369 Bug 362478 - Thunderbird win32 tinderbox shouldn't build with winver 0x400
r=rhelmer@mozilla.com (Robert Helmer)
sr=mscott@mozilla.com (Scott MacGregor)


git-svn-id: svn://10.0.0.236/trunk@218706 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 12:23:42 +00:00
bugzilla%standard8.demon.co.uk
1890fe141a Bug 363491 Stop suiterunner builds needing to build in xpfe/global (patch v6a - move inclusion of some chrome files from xpfe/global to suite) r=KaiRo,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@218705 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 09:27:45 +00:00
bzbarsky%mit.edu
c7c9ba171d Add utility methods for dispatching key events. Bug 367569, r=sayrer.
git-svn-id: svn://10.0.0.236/trunk@218704 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 05:45:10 +00:00
bzbarsky%mit.edu
a5a1302409 Fix --enable-tests builds -- need to link to zlib. r=vlad
git-svn-id: svn://10.0.0.236/trunk@218703 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 05:37:50 +00:00
ajschult%verizon.net
17c2991305 Bug 234710: Part II: build config change and remove embedding/components/jsconsole entirely. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@218702 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 05:33:09 +00:00
ajschult%verizon.net
7c7a63391c Bug 234710: Part II: build config change and remove embedding/components/jsconsole entirely. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@218701 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 04:59:01 +00:00
ajschult%verizon.net
0757b27304 Bug 234710: Part II: build config change and remove embedding/components/jsconsole entirely. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@218700 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 04:52:14 +00:00
ajschult%verizon.net
f12e30d5b2 Bug 234710: Part II: build config change and remove embedding/components/jsconsole entirely. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@218699 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 04:49:33 +00:00
ajschult%verizon.net
4ca864f47a Bug 243170: Remove javascript: url functionality to open JS(error) console. r=brendan, sr=bzbarsky. r=gavin to drop functionality from firefox and r=neil to drop functionality from seamonkey.
git-svn-id: svn://10.0.0.236/trunk@218698 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 04:42:12 +00:00
bzbarsky%mit.edu
68ac484b75 Adding some more tests.
git-svn-id: svn://10.0.0.236/trunk@218697 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 04:29:02 +00:00
despotdaemon
e902e78ce3 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@218695 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 02:47:07 +00:00
brendan%mozilla.org
4e8eacd57b Remove unused NATIVE_SET.
git-svn-id: svn://10.0.0.236/trunk@218693 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 02:38:10 +00:00
sspitzer%mozilla.org
00ca127988 supplimental fix for bug #364599: some newly created profile files are write protected, for example bookmarks.html
in addtion to fixing the permissions of bookmarks.html, we need to fix the permissions of the bookmark.html.moztmp file, otherwise we'll still fail to modify bookmarks.

r=dveditz


git-svn-id: svn://10.0.0.236/trunk@218692 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 01:28:33 +00:00
bzbarsky%mit.edu
c9bbb1f3ee Don't calculate stuff with dirty lists. Bug 367243, r=mats, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218691 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 01:18:57 +00:00
ghendricks%novell.com
7273b38be1 Fixed some incompatablities with IE and moved some of the search forms around to clean them up.
git-svn-id: svn://10.0.0.236/trunk@218689 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 23:59:09 +00:00
scott%scott-macgregor.org
f6f0951fbd Bug #360814 --> remote content in custom start pages is getting blocked by the content policy manager. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@218688 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 23:32:29 +00:00
vladimir%pobox.com
4867d913ed b=366870 additional build fix for linux/--enable-tests
git-svn-id: svn://10.0.0.236/trunk@218687 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 23:26:19 +00:00
scott%scott-macgregor.org
d83d57d16c Bug 367183 --> preview text contains mail.app message boundary ID because the boundary isn't quoted. Handle unquoted boundaries. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@218686 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 23:25:03 +00:00
aaronr%us.ibm.com
6358cf1f65 [XForms] Some controls should not be allowed to bind to complexContent. Bug 356190, patch by msterlin, r=olli+aaronr
git-svn-id: svn://10.0.0.236/trunk@218683 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 22:22:07 +00:00
despotdaemon
ee6c4eb37a Pseudo-automatic update of changes made by pavlov@pavlov.net.
git-svn-id: svn://10.0.0.236/trunk@218682 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 21:58:32 +00:00
scott%scott-macgregor.org
8af3abf668 Bug #367529 --> unable to load remote images in news, the remote content UI never shows up. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@218681 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 21:46:22 +00:00
inonit%inonit.com
632de6f4e1 Partial fix for bug #224334: implements __defineGetter__ and __defineSetter__.
git-svn-id: svn://10.0.0.236/trunk@218680 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 21:43:49 +00:00
vladimir%pobox.com
35fb7a09e9 b=366870, add font/glyph selection test framework, this time with all the files, r=stuart
git-svn-id: svn://10.0.0.236/trunk@218679 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 21:23:38 +00:00
vladimir%pobox.com
954514305e b=366870, add font/glyph selection test framework, r=stuart
git-svn-id: svn://10.0.0.236/trunk@218678 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 21:15:49 +00:00
joshmoz%gmail.com
ba539dee9a stop apps from hanging for a while on shutdown. allow automated testing tools to work again. b=343033 r=mento
git-svn-id: svn://10.0.0.236/trunk@218677 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 19:21:00 +00:00
igor.bukanov%gmail.com
d88c59522f Bug 367226: JS_THREADED_INTERP can be set through command line. r=brendan
git-svn-id: svn://10.0.0.236/trunk@218676 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 18:33:13 +00:00
despotdaemon
ffcb2213fb Pseudo-automatic update of changes made by pavlov@pavlov.net.
git-svn-id: svn://10.0.0.236/trunk@218675 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 18:19:00 +00:00
despotdaemon
84014d046c Pseudo-automatic update of changes made by pavlov@pavlov.net.
git-svn-id: svn://10.0.0.236/trunk@218674 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 18:18:38 +00:00
bzbarsky%mit.edu
4882ecb439 Make sure to do scrollbar layout if we suppressed it previously, even if we
don't obviously need to do it.  Bug 364762, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@218673 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 18:01:10 +00:00
longsonr%gmail.com
f0f6a5c238 Bug 367102 - put maps in alphabetical order r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@218672 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 15:20:11 +00:00
caillon%redhat.com
aaad529ea4 Bug 367203
Starting with gtk 2.10.7, drags are canceled when the toolkit-private drag
widget is grab-shadowed by another gtk_grab_add call in the application. This is a
necessary fix to avoid "stuck drag" situations when a modal dialog pops up
while a drag is in progress.

Unfortunately, the mozilla dnd implementation does just that - it calls
gtk_grab_add in the nsDragService::GetTargetDragData method. This causes
drags of mesages from the message list to the folder tree in thunderbird
to fail with gtk 2.10.7.

Fortunately, the gtk_grab_add in nsDragService::GetTargetDragData doesn't
seem to have any real purpose - at least the nsDragService code doesn't
make any use of the grabbing, and just removing the grab_add/grab_remove
calls in that function makes dnd work again in thunderbird.

Patch by Matthias Clasen <mclasen@redhat.com>
r=caillon@redhat.com
sr=roc@ocallahan.org


git-svn-id: svn://10.0.0.236/trunk@218671 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 14:59:46 +00:00
longsonr%gmail.com
2b177d0df5 Bug 367103 - speed up feCompositeElement, feComponentTransfer and feTurbulence calculations r=tor,sr=roc
git-svn-id: svn://10.0.0.236/trunk@218670 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-19 10:03:48 +00:00
86 changed files with 208 additions and 4681 deletions

View File

@@ -0,0 +1 @@
Clobbering so we pick up the new compiler; forgot to add that to the mozconfig.

View File

@@ -0,0 +1,22 @@
#
## hostname: fxdbugnref-linux-tbox.build.mozilla.org
## uname: Linux fxdbugnref-linux-tbox.build.mozilla.org 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 athlon i386 GNU/Linux
#
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_CO_MODULE="mozilla/tools/trace-malloc"
ac_add_options --enable-application=browser
ac_add_options --disable-optimize
ac_add_options --enable-debug
ac_add_options --enable-canvas
ac_add_options --enable-svg
ac_add_options --enable-pango
ac_add_options --enable-trace-malloc
ac_add_options --disable-libxul
CC=/tools/gcc-4.1.1/bin/gcc
CXX=/tools/gcc-4.1.1/bin/g++

View File

@@ -0,0 +1,185 @@
#
## hostname: fxdbugnref-linux-tbox.build.mozilla.org
## uname: Linux fxdbugnref-linux-tbox.build.mozilla.org 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 athlon i386 GNU/Linux
#
#- tinder-config.pl - Tinderbox configuration file.
#- Uncomment the variables you need to set.
#- The default values are the same as the commented variables.
#$ENV{PATH} = "/usr/local/binutils-2.13.2.1/bin:/usr/local/gcc-3.4.3/bin:" . $ENV{PATH};
#- PLEASE FILL THIS IN WITH YOUR PROPER EMAIL ADDRESS
#$BuildAdministrator = "$ENV{USER}\@$ENV{HOST}";
#$BuildAdministrator = ($ENV{USER} || "cltbld") . "\@" . ($ENV{HOST} || "dhcp");
$BuildAdministrator = 'build@mozilla.org';
#- You'll need to change these to suit your machine's needs
$DisplayServer = ':0.0';
#- Default values of command-line opts
#-
#$BuildDepend = 1; # Depend or Clobber
#$BuildDebug = 0; # Debug or Opt (Darwin)
#$ReportStatus = 1; # Send results to server, or not
#$ReportFinalStatus = 1; # Finer control over $ReportStatus.
#$UseTimeStamp = 1; # Use the CVS 'pull-by-timestamp' option, or not
#$BuildOnce = 0; # Build once, don't send results to server
#$TestOnly = 0; # Only run tests, don't pull/build
#$BuildEmbed = 0; # After building seamonkey, go build embed app.
#$SkipMozilla = 0; # Use to debug post-mozilla.pl scripts.
# Tests
$CleanProfile = 1;
#$ResetHomeDirForTests = 1;
$ProductName = "Firefox";
$VendorName = "Mozilla";
$ENV{NO_EM_RESTART} = '1';
#$RunMozillaTests = 1; # Allow turning off of all tests if needed.
#$RegxpcomTest = 1;
#$AliveTest = 1;
#$JavaTest = 0;
#$ViewerTest = 0;
$BloatTest = 1; # warren memory bloat test
$BloatTest2 = 1; # dbaron memory bloat test, require tracemalloc
#$DomToTextConversionTest = 0;
#$XpcomGlueTest = 0;
#$CodesizeTest = 0; # Z, require mozilla/tools/codesighs
#$EmbedCodesizeTest = 0; # mZ, require mozilla/tools/codesigns
#$MailBloatTest = 0;
#$EmbedTest = 0; # Assumes you wanted $BuildEmbed=1
#$LayoutPerformanceTest = 0; # Tp
#$QATest = 0;
#$XULWindowOpenTest = 0; # Txul
#$StartupPerformanceTest = 0; # Ts
$TestsPhoneHome = 1; # Should test report back to server?
#$results_server = "axolotl.mozilla.org"; # was tegu
#$pageload_server = "spider"; # localhost
#
# Timeouts, values are in seconds.
#
#$CreateProfileTimeout = 45;
$RegxpcomTestTimeout = 60;
#$AliveTestTimeout = 45;
#$ViewerTestTimeout = 45;
#$EmbedTestTimeout = 45;
$BloatTestTimeout = 1800; # seconds
#$MailBloatTestTimeout = 120; # seconds
#$JavaTestTimeout = 45;
#$DomTestTimeout = 45; # seconds
#$XpcomGlueTestTimeout = 15;
#$CodesizeTestTimeout = 900; # seconds
#$CodesizeTestType = "auto"; # {"auto"|"base"}
#$LayoutPerformanceTestTimeout = 1200; # entire test, seconds
#$QATestTimeout = 1200; # entire test, seconds
#$LayoutPerformanceTestPageTimeout = 30000; # each page, ms
#$StartupPerformanceTestTimeout = 60; # seconds
#$XULWindowOpenTestTimeout = 150; # seconds
#$MozConfigFileName = 'mozconfig';
#$UseMozillaProfile = 1;
#$MozProfileName = 'default';
# This sets the value of the XPCOM_DEBUG_BREAK environment variable. We
# default to 'warn', which suppresses the assertion dialogs on Windows
# and gives platform parity. Use 'abort' for fatal assertions.
$MozAssertBehavior = 'stack-and-abort';
#- Set these to what makes sense for your system
#$Make = 'gmake'; # Must be GNU make
#$MakeOverrides = '';
#$mail = '/bin/mail';
#$CVS = 'cvs -q';
#$CVSCO = 'checkout -P';
# win32 usually doesn't have /bin/mail
#$blat = 'c:/nstools/bin/blat';
#$use_blat = 0;
# Set moz_cvsroot to something like:
# :pserver:$ENV{USER}%netscape.com\@cvs.mozilla.org:/cvsroot
# :pserver:anonymous\@cvs-mirror.mozilla.org:/cvsroot
#
# Note that win32 may not need \@, depends on ' or ".
# :pserver:$ENV{USER}%netscape.com@cvs.mozilla.org:/cvsroot
$moz_cvsroot = ':ext:cltbld@cvs.mozilla.org:/cvsroot';
#$moz_cvsroot = ":pserver:anonymous\@cvs-mirror.mozilla.org:/cvsroot";
#- Set these proper values for your tinderbox server
#$Tinderbox_server = 'tinderbox-daemon@tinderbox.mozilla.org';
# Allow for non-client builds, e.g. camino.
#$moz_client_mk = 'client.mk';
#- Set if you want to build in a separate object tree
$ObjDir = 'obj';
# Extra build name, if needed.
$BuildNameExtra = 'Debug-Newref';
# User comment, eg. ip address for dhcp builds.
# ex: $UserComment = "ip = 208.12.36.108";
#$UserComment = 0;
#-
#- The rest should not need to be changed
#-
#- Minimum wait period from start of build to start of next build in minutes.
#$BuildSleep = 10;
#- Until you get the script working. When it works,
#- change to the tree you're actually building
#$BuildTree = 'MozillaTest';
$BuildTree = 'MozillaExperimental';
#$BuildName = '';
#$BuildTag = '';
#$BuildConfigDir = 'mozilla/config';
#$Topsrcdir = 'mozilla';
$BinaryName = 'firefox-bin';
#
# For embedding app, use:
#$EmbedBinaryName = 'TestGtkEmbed';
#$EmbedDistDir = 'dist/bin'
#$ShellOverride = ''; # Only used if the default shell is too stupid
#$ConfigureArgs = '';
#$ConfigureEnvArgs = '';
#$Compiler = 'gcc';
#$NSPRArgs = '';
#$ShellOverride = '';
# allow override of timezone value (for win32 POSIX::strftime)
#$Timezone = '';
# Reboot the OS at the end of build-and-test cycle. This is primarily
# intended for Win9x, which can't last more than a few cycles before
# locking up (and testing would be suspect even after a couple of cycles).
# Right now, there is only code to force the reboot for Win9x, so even
# setting this to 1, will not have an effect on other platforms. Setting
# up win9x to automatically logon and begin running tinderbox is left
# as an exercise to the reader.
#$RebootSystem = 0;
# LogCompression specifies the type of compression used on the log file.
# Valid options are 'gzip', and 'bzip2'. Please make sure the binaries
# for 'gzip' or 'bzip2' are in the user's path before setting this
# option.
$LogCompression = 'bzip2';
# LogEncoding specifies the encoding format used for the logs. Valid
# options are 'base64', and 'uuencode'. If $LogCompression is set above,
# this needs to be set to 'base64' or 'uuencode' to ensure that the
# binary data is transferred properly.
$LogEncoding = 'uuencode';

View File

@@ -1,5 +0,0 @@
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>

View File

@@ -1,25 +0,0 @@
SERVER REQUIREMENTS
- Apache 1.3 or higher with mod_rewrite enabled
- PHP 4.3.2 or higher
- CakePHP 1.1.7.3363 or higher
- MySQL (preferred) or PostgreSQL
INSTALLATION:
- All files accompanying this README should be placed into the /app directory of
your CakePHP install. Once complete, you should have a directory structure similar
to the following where (/) is the base of your domain:
/
app/
config/
controllers/
models/
webroot/
...
cake/
vendors/
- Import the database schema (/app/config/dist.sql) into your database
- Rename database.dist.php to database.php and edit the file to reflect your
database configuration
- Rename bootstrap.dist.php to bootstrap.php and follow the editing instructions
within. All fields except APP_* and MAX_YEAR are optional.

View File

@@ -1,4 +0,0 @@
<?php
class AppController extends Controller {
}
?>

View File

@@ -1,4 +0,0 @@
<?php
class AppModel extends Model {
}
?>

View File

@@ -1,76 +0,0 @@
;<?php die() ?>
; SVN FILE: $Id: acl.ini.php,v 1.3 2006-10-08 03:39:21 reed%reedloden.com Exp $
;/**
; * Short description for file.
; *
; *
; * PHP versions 4 and 5
; *
; * CakePHP : Rapid Development Framework <http://www.cakephp.org/>
; * Copyright (c) 2006, Cake Software Foundation, Inc.
; * 1785 E. Sahara Avenue, Suite 490-204
; * Las Vegas, Nevada 89104
; *
; * Licensed under The MIT License
; * Redistributions of files must retain the above copyright notice.
; *
; * @filesource
; * @copyright Copyright (c) 2006, Cake Software Foundation, Inc.
; * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
; * @package cake
; * @subpackage cake.app.config
; * @since CakePHP v 0.10.0.1076
; * @version $Revision: 1.3 $
; * @modifiedby $LastChangedBy: phpnut $
; * @lastmodified $Date: 2006-10-08 03:39:21 $
; * @license http://www.opensource.org/licenses/mit-license.php The MIT License
; */
; acl.ini.php - Cake ACL Configuration
; ---------------------------------------------------------------------
; Use this file to specify user permissions.
; aco = access control object (something in your application)
; aro = access request object (something requesting access)
;
; User records are added as follows:
;
; [uid]
; groups = group1, group2, group3
; allow = aco1, aco2, aco3
; deny = aco4, aco5, aco6
;
; Group records are added in a similar manner:
;
; [gid]
; allow = aco1, aco2, aco3
; deny = aco4, aco5, aco6
;
; The allow, deny, and groups sections are all optional.
; NOTE: groups names *cannot* ever be the same as usernames!
;
; ACL permissions are checked in the following order:
; 1. Check for user denies (and DENY if specified)
; 2. Check for user allows (and ALLOW if specified)
; 3. Gather user's groups
; 4. Check group denies (and DENY if specified)
; 5. Check group allows (and ALLOW if specified)
; 6. If no aro, aco, or group information is found, DENY
;
; ---------------------------------------------------------------------
;-------------------------------------
;Users
;-------------------------------------
[username-goes-here]
groups = group1, group2
deny = aco1, aco2
allow = aco3, aco4
;-------------------------------------
;Groups
;-------------------------------------
[groupname-goes-here]
deny = aco5, aco6
allow = aco7, aco8

View File

@@ -1,32 +0,0 @@
<?php
/* REQUIRED - APP_NAME is used on all <title>s and mail names/subjects. APP_BASE
* should be a FQDN with protocol minus the trailing slash e.g. http://example.tld/party
*/
define('APP_NAME', '');
define('APP_EMAIL', '');
define('APP_BASE', '');
/* You should specify a Google Map API key here. Without it, all mapping features
* will be disabled. To obtain a key, visit http://www.google.com/apis/maps/
*/
define('GMAP_API_KEY', '');
/* The search API key is used to generate spelling suggestions for locations not
* not found during a Geocode operation. You may obtain a key here: http://code.google.com/apis/soapsearch/
*/
define('GSEARCH_API_KEY', '');
/* The maximum year shown for party registrations */
define('MAX_YEAR', 2007);
/* The Flickr API is used to show photos of each party on the individual party
* pages and home page. See http://flickr.com/services/api/keys/ to obtain a key
*/
define('FLICKR_API_KEY', '');
/* The tag prefix is used to limit the results returned to a specific party.
* e.g. any photo tagged with FirefoxParty11 will be shown on party 11's page.
* Photos tagged with only the prefix are shown on the front page (so choose wisely! ;) ).
*/
define('FLICKR_TAG_PREFIX', '');
?>

View File

@@ -1,147 +0,0 @@
<?php
/* SVN FILE: $Id: core.php,v 1.4 2006-10-08 03:39:21 reed%reedloden.com Exp $ */
/**
* This is core configuration file.
*
* Use it to configure core behaviour ofCake.
*
* PHP versions 4 and 5
*
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
* Copyright (c) 2006, Cake Software Foundation, Inc.
* 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright (c) 2006, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
* @package cake
* @subpackage cake.app.config
* @since CakePHP v 0.2.9
* @version $Revision: 1.4 $
* @modifiedby $LastChangedBy: phpnut $
* @lastmodified $Date: 2006-10-08 03:39:21 $
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
/**
* If you do not have mod rewrite on your system
* or if you prefer to use CakePHP pretty urls.
* uncomment the line below.
* Note: If you do have mod rewrite but prefer the
* CakePHP pretty urls, you also have to remove the
* .htaccess files
* release/.htaccess
* release/app/.htaccess
* release/app/webroot/.htaccess
*/
// define ('BASE_URL', env('SCRIPT_NAME'));
/**
* Set debug level here:
* - 0: production
* - 1: development
* - 2: full debug with sql
* - 3: full debug with sql and dump of the current object
*
* In production, the "flash messages" redirect after a time interval.
* With the other debug levels you get to click the "flash message" to continue.
*
*/
define('DEBUG', 0);
/**
* Turn of caching checking wide.
* You must still use the controller var cacheAction inside you controller class.
* You can either set it controller wide, or in each controller method.
* use var $cacheAction = true; or in the controller method $this->cacheAction = true;
*/
define('CACHE_CHECK', false);
/**
* Error constant. Used for differentiating error logging and debugging.
* Currently PHP supports LOG_DEBUG
*/
define('LOG_ERROR', 2);
/**
* CakePHP includes 3 types of session saves
* database or file. Set this to your preferred method.
* If you want to use your own save handler place it in
* app/config/name.php DO NOT USE file or database as the name.
* and use just the name portion below.
*
* Setting this to cake will save files to /cakedistro/tmp directory
* Setting it to php will use the php default save path
* Setting it to database will use the database
*
*
*/
define('CAKE_SESSION_SAVE', 'database');
/**
* If using you own table name for storing sessions
* set the table name here.
* DO NOT INCLUDE PREFIX IF YOU HAVE SET ONE IN database.php
*
*/
define('CAKE_SESSION_TABLE', 'sessions');
/**
* Set a random string of used in session.
*
*/
define('CAKE_SESSION_STRING', 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');
/**
* Set the name of session cookie
*
*/
define('CAKE_SESSION_COOKIE', 'sess');
/**
* Set level of Cake security.
*
*/
define('CAKE_SECURITY', 'high');
/**
* Set Cake Session time out.
* If CAKE_SECURITY define is set
* high: multiplied by 10
* medium: is multiplied by 100
* low is: multiplied by 300
*
* Number below is seconds.
*/
define('CAKE_SESSION_TIMEOUT', '120');
/**
* Uncomment the define below to use cake built in admin routes.
* You can set this value to anything you want.
* All methods related to the admin route should be prefixed with the
* name you set CAKE_ADMIN to.
* For example: admin_index, admin_edit
*/
// define('CAKE_ADMIN', 'admin');
/**
* The define below is used to turn cake built webservices
* on or off. Default setting is off.
*/
define('WEBSERVICES', 'off');
/**
* Compress output CSS (removing comments, whitespace, repeating tags etc.)
* This requires a/var/cache directory to be writable by the web server (caching).
* To use, prefix the CSS link URL with '/ccss/' instead of '/css/' or use Controller::cssTag().
*/
define('COMPRESS_CSS', false);
/**
* If set to true, helpers would output data instead of returning it.
*/
define('AUTO_OUTPUT', false);
/**
* If set to false, session would not automatically be started.
*/
define('AUTO_SESSION', true);
/**
* Set the max size of file to use md5() .
*/
define('MAX_MD5SIZE', (5 * 1024) * 1024);
/**
* To use Access Control Lists with Cake...
*/
define('ACL_CLASSNAME', 'DB_ACL');
define('ACL_FILENAME', 'dbacl' . DS . 'db_acl');
?>

View File

@@ -1,11 +0,0 @@
<?php
class DATABASE_CONFIG {
var $default = array('driver' => 'mysql',
'connect' => 'mysql_connect',
'host' => 'localhost',
'login' => '',
'password' => '',
'database' => '');
}
?>

View File

@@ -1,72 +0,0 @@
<?php
/* SVN FILE: $Id: inflections.php,v 1.3 2006-10-08 03:39:21 reed%reedloden.com Exp $ */
/**
* Custom Inflected Words.
*
* This file is used to hold words that are not matched in the normail Inflector::pluralize() and
* Inflector::singularize()
*
* PHP versions 4 and %
*
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
* Copyright (c) 2006, Cake Software Foundation, Inc.
* 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright (c) 2006, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
* @package cake
* @subpackage cake.app.config
* @since CakePHP v 1.0.0.2312
* @version $Revision: 1.3 $
* @modifiedby $LastChangedBy: phpnut $
* @lastmodified $Date: 2006-10-08 03:39:21 $
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
/**
* This is a key => value array of regex used to match words.
* If key matches then the value is returned.
*
* $pluralRules = array('/(s)tatus$/i' => '\1\2tatuses', '/^(ox)$/i' => '\1\2en', '/([m|l])ouse$/i' => '\1ice');
*/
$pluralRules = array();
/**
* This is a key only array of plural words that should not be inflected.
* Notice the last comma
*
* $uninflectedPlural = array('.*[nrlm]ese', '.*deer', '.*fish', '.*measles', '.*ois', '.*pox');
*/
$uninflectedPlural = array();
/**
* This is a key => value array of plural irregular words.
* If key matches then the value is returned.
*
* $irregularPlural = array('atlas' => 'atlases', 'beef' => 'beefs', 'brother' => 'brothers')
*/
$irregularPlural = array();
/**
* This is a key => value array of regex used to match words.
* If key matches then the value is returned.
*
* $singularRules = array('/(s)tatuses$/i' => '\1\2tatus', '/(matr)ices$/i' =>'\1ix','/(vert|ind)ices$/i')
*/
$singularRules = array();
/**
* This is a key only array of singular words that should not be inflected.
* You should not have to change this value below if you do change it use same format
* as the $uninflectedPlural above.
*/
$uninflectedSingular = $uninflectedPlural;
/**
* This is a key => value array of singular irregular words.
* Most of the time this will be a reverse of the above $irregularPlural array
* You should not have to change this value below if you do change it use same format
*
* $irregularSingular = array('atlases' => 'atlas', 'beefs' => 'beef', 'brothers' => 'brother')
*/
$irregularSingular = array_flip($irregularPlural);
?>

View File

@@ -1,43 +0,0 @@
<?php
/* SVN FILE: $Id: routes.php,v 1.5 2006-10-10 20:18:59 reed%reedloden.com Exp $ */
/**
* Short description for file.
*
* In this file, you set up routes to your controllers and their actions.
* Routes are very important mechanism that allows you to freely connect
* different urls to chosen controllers and their actions (functions).
*
* PHP versions 4 and 5
*
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
* Copyright (c) 2006, Cake Software Foundation, Inc.
* 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright (c) 2006, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
* @package cake
* @subpackage cake.app.config
* @since CakePHP v 0.2.9
* @version $Revision: 1.5 $
* @modifiedby $LastChangedBy: phpnut $
* @lastmodified $Date: 2006-10-10 20:18:59 $
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
/**
* Here, we are connecting '/' (base path) to controller called 'Pages',
* its action called 'display', and we pass a param to select the view file
* to use (in this case, /app/views/pages/home.thtml)...
*/
$Route->connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));
/**
* ...and connect the rest of 'Pages' controller's urls.
*/
$Route->connect('/pages/edit', array('controller' => 'pages', 'action' => 'edit'));
$Route->connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
$Route->connect('/privacy-policy', array('controller' => 'pages', 'action' => 'privacy'));
?>

View File

@@ -1,80 +0,0 @@
CREATE TABLE `comments` (
`id` int(10) NOT NULL auto_increment,
`assoc` int(10) NOT NULL default '0',
`owner` int(10) NOT NULL default '0',
`time` int(15) NOT NULL default '0',
`text` text collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE `guests` (
`id` int(10) NOT NULL auto_increment,
`pid` int(10) NOT NULL default '0',
`uid` int(10) NOT NULL default '0',
`invited` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`id`),
KEY `pid` (`pid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE `pages` (
`id` int(10) NOT NULL auto_increment,
`text` text collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `pages` (`id`, `text`) VALUES (1, '&lt;h2&gt;Join the Fun!&lt;/h2&gt;\n&lt;p&gt;All over the world, we&#39;re celebrating the launch of Firefox 2. Join the fun by hosting or attending a party. We&#39;re targeting the weekend of October 27th for the shared celebration, but if you&#39;re hosting, you make the call.&lt;/p&gt;\n\n&lt;p&gt;To join the fun, &lt;a href=&quot;/users/register&quot;&gt;register&lt;/a&gt; for a Firefox Party account, and sign up to host or attend.&lt;/p&gt;\n\n&lt;p style=&quot;border: 1px solid #555; background: #faffd4; padding: 5px; font&#45;weight: bold&quot;&gt;Be one of the first 50 party hosts registered and get three extra launch exclusive t&#45;shirts with your purchase of the &lt;a href=&quot;&quot;&gt;Firefox 2 Party Pack&lt;/a&gt;. We&#39;re selling the party packs and shirts at cost, so it&#39;s a great deal, and for parties with unusually large attendance, we&#39;ll be sending out additional swag for door prizes and other give&#45;aways. Stay tuned for updates!&lt;/p&gt;');
INSERT INTO `pages` (`id`, `text`) VALUES (2, '1162007940');
CREATE TABLE `parties` (
`id` int(10) NOT NULL auto_increment,
`owner` int(10) NOT NULL default '0',
`name` tinytext collate utf8_unicode_ci NOT NULL,
`vname` tinytext collate utf8_unicode_ci NOT NULL,
`address` tinytext collate utf8_unicode_ci NOT NULL,
`tz` int(2) NOT NULL default '0',
`website` text collate utf8_unicode_ci NOT NULL,
`notes` text collate utf8_unicode_ci NOT NULL,
`date` int(10) NOT NULL default '0',
`duration` tinyint(2) NOT NULL default '2',
`confirmed` tinyint(1) NOT NULL default '1',
`canceled` tinyint(1) NOT NULL default '0',
`guestcomments` tinyint(1) NOT NULL default '0',
`inviteonly` tinyint(1) NOT NULL default '0',
`invitecode` tinytext collate utf8_unicode_ci NOT NULL,
`lat` float NOT NULL default '0',
`long` float NOT NULL default '0',
`zoom` tinyint(2) NOT NULL default '1',
`useflickr` tinyint(1) NOT NULL default '0',
`flickrperms` tinyint(1) NOT NULL default '0',
`flickrid` tinytext collate utf8_unicode_ci NOT NULL,
`flickrusr` tinytext collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE `sessions` (
`id` varchar(255) character set latin1 NOT NULL default '',
`data` text character set latin1,
`expires` int(11) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE `users` (
`id` int(10) NOT NULL auto_increment,
`role` tinyint(1) NOT NULL default '0',
`email` varchar(255) collate utf8_unicode_ci NOT NULL,
`active` varchar(10) collate utf8_unicode_ci NOT NULL default '0',
`password` varchar(75) collate utf8_unicode_ci NOT NULL default '',
`salt` varchar(9) collate utf8_unicode_ci NOT NULL default '',
`name` tinytext collate utf8_unicode_ci NOT NULL,
`location` tinytext collate utf8_unicode_ci NOT NULL,
`tz` tinyint(2) NOT NULL default '0',
`website` text collate utf8_unicode_ci NOT NULL,
`lat` float NOT NULL default '0',
`long` float NOT NULL default '0',
`zoom` tinyint(2) NOT NULL default '1',
`showemail` tinyint(1) NOT NULL default '0',
`showloc` tinyint(1) NOT NULL default '1',
`showmap` tinyint(1) NOT NULL default '1',
UNIQUE KEY `email` (`email`),
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

View File

@@ -1,163 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
uses('sanitize');
class AdminController extends AppController {
var $name = 'Admin';
var $uses = array('Party', 'User', 'Comment');
var $components = array('Unicode');
function beforeFilter() {
if (empty($_SESSION['User']) || $_SESSION['User']['role'] != 1) {
$this->redirect('/');
die();
}
}
function index() {
$this->set('parties', $this->Party->findAll(null, null, "id ASC"));
}
function users() {
$this->set('users', $this->User->findAll(null, null, "id ASC"));
}
function comments() {
$this->set('comments', $this->Comment->findAll(null, null, "id ASC"));
}
function edit($type, $id) {
if (empty($this->data)) {
switch($type) {
case 'user':
$this->User->id = $id;
$user = $this->User->read();
$this->set('user', $user);
$this->data = $user;
break;
case 'party':
$this->Party->id = $id;
$party = $this->Party->read();
$this->set('party', $party);
$this->data = $party;
$this->data['Party']['name'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['name']));
$this->data['Party']['vname'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['vname']));
$this->data['Party']['website'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['website']));
$this->data['Party']['address'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['address']));
$this->data['Party']['notes'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['notes']));
$this->data['Party']['flickrusr'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['flickrusr']));
break;
case 'comment':
$this->Comment->id = $id;
$comment = $this->Comment->read();
$this->set('comment', $comment);
$uid = $this->User->findById($comment['Comment']['owner']);
$this->set('owner', $uid['User']['name']);
$this->data = $comment;
break;
}
}
else {
switch($type) {
case 'user':
$this->User->id = $id;
$this->User->save($this->data);
break;
case 'party':
$this->Party->id = $id;
$clean = new Sanitize();
$clean->cleanArray($this->data);
$this->Party->save($this->data);
break;
case 'comment':
$this->Comment->id = $id;
$this->Comment->save($this->data);
break;
}
if ($type != 'party')
$this->redirect('/admin/'.$type.'s');
else
$this->redirect('/admin/');
}
}
function delete($type, $id) {
switch($type) {
case 'user':
$this->User->del($id);
$this->User->query("DELETE FROM guests WHERE uid = $id");
break;
case 'party':
$this->Party->del($id);
$this->Party->query("DELETE FROM guests WHERE pid = $id");
$this->Party->query("DELETE FROM comments WHERE assoc = $id");
break;
case 'comment':
$this->Comment->del($id);
break;
}
if ($type != 'party')
$this->redirect('/admin/'.$type.'s');
else
$this->redirect('/admin/');
}
}
?>

View File

@@ -1,71 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
uses('sanitize');
class CommentsController extends AppController {
var $name = 'Comments';
var $components = array('Security');
function beforeFilter() {
$this->Security->requirePost('add');
}
function add($pid, $uid) {
if (!$this->Session->check('User') || $uid != $_SESSION['User']['id'])
$this->redirect('/');
if (!empty($this->data) && $this->Comment->canComment($pid, $uid)) {
// Explictly destroy the last model to avoid an edit instead of an insert
$this->Comment->create();
$clean = new Sanitize();
$text = $clean->html($this->data['Comment']['text']);
$this->data['Comment']['text'] = nl2br($text);
$this->data['Comment']['owner'] = $uid;
$this->data['Comment']['assoc'] = $pid;
$this->data['Comment']['time'] = mktime();
if ($this->Comment->save($this->data)) {
$this->redirect('/parties/view/'.$pid.'#c'.$this->Comment->getLastInsertID());
}
}
else
$this->redirect('/parties/view/'.$pid);
}
}
?>

View File

@@ -1,54 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
class HashComponent extends Object {
function password($pass, $data) {
$string = $pass.uniqid(rand(), true).$data;
$salt = substr(md5($string), 0, 9);
$p = sha1($pass.$salt);
$rv = array('pass' => $p, 'salt' => $salt);
return $rv;
}
function keygen($chars) {
$key = null;
$pool = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ";
for ($i = 0; $i < $chars; $i++)
$key .= $pool{rand(0,61)};
return $key;
}
}

View File

@@ -1,83 +0,0 @@
<?php
class MailComponent extends Object {
var $from;
var $to;
var $reply;
var $subject;
var $message;
var $envelope;
var $head = "<strong>Firefox Party!</strong><br/>";
var $foot;
function mail($params) {
if (array_key_exists('from', $params))
$this->from = $params['from'];
if (array_key_exists('to', $params))
$this->to = $params['to'];
if (array_key_exists('reply', $params))
$this->reply = $params['reply'];
if (array_key_exists('subject', $params))
$this->subject = $params['subject'];
if (array_key_exists('message', $params))
$this->message = $params['message'];
if (array_key_exists('envelope', $params))
$this->envelope = $params['envelope'];
if (array_key_exists('type', $params)) {
switch($params['type']) {
case 'act':
$this->message = $this->head."<br/>\nThank you for registering! To activate your account, <a href=\"".$params['link']."\">click here</a> or paste the link below into your browser:<br/> ".$params['link'].$this->foot;
break;
case 'prec':
$this->message = $this->head."<br/>\nTo reset your password, <a href=\"".$params['link']."\">click here</a> or paste the link below into your browser:<br/> ".$params['link'].$this->foot;
break;
case 'invite':
$this->message = $this->head."<br/>\nYou've been invited by a friend to join them in celebrating the release of Firefox 2. Simply <a href=\"".$params['link']."\">click here</a> to confirm or cancel this invitation. If you don't already have an account, you'll need to create one.\n
If you're unable to use the link above, simply paste the following URL into your browser: ".$params['link'].$this->foot;
break;
case 'cancel':
$this->message = $this->head."<br/>\nThe party you were attending has been canceled. For more information, please <a href=\"".$params['link']."\">click here</a>, or see the link below.\n ".$params['link'].$this->foot;
break;
}
}
}
function make_headers($type='html') {
$headers = '';
switch($type) {
case 'html':
$headers .= 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
break;
}
if (!empty($this->from)) {
$headers .= "From: {$this->from}\r\n";
if (!empty($this->reply))
$headers .= "Reply-To: {$this->reply}\r\n";
}
return $headers;
}
function make_additional_parameters() {
if (!empty($this->envelope)) {
return '-f'.$this->envelope;
}
}
function send() {
mail($this->to, $this->subject, $this->message, $this->make_headers(), $this->make_additional_parameters());
}
}
?>

View File

@@ -1,75 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
class UnicodeComponent extends Object {
/**
* Unicode utilities. Converts and encodes characters up to 0xFFFF (65535)
*/
function unicode2utf($char) {
if ($char < 128) {
$rv = chr($char);
}
else if ($char < 2048) {
$rv = chr(192 + (($char - ($char % 64)) / 64));
$rv .= chr(128 + ($char % 64));
}
else {
$rv = chr(224 + (($char - ($char % 4096)) / 4096));
$rv .= chr(128 + ((($char % 4096) - ($char % 64)) / 64));
$rv .= chr(128 + ($char % 64));
}
return $rv;
}
function utf2unicode($char) {
if (ord($char{0}) < 128)
$rv = ord($char);
else if (ord($char{0}) < 224)
$rv = ((ord($char{0}) - 192) * 64) + (ord($char{1}) - 128);
else if (ord($char{0}) < 240)
$rv = ((ord($char{0}) - 224) * 4096) + ((ord($char{1}) - 128) * 64 + (ord($char{2}) - 128));
else
$rv = ((ord($char{0}) - 240) * 262144) + ((ord($char{1}) - 128) * 4096) + ((ord($char{2}) - 128) * 64) + (ord($char{3}) - 128);
return $rv;
}
}

View File

@@ -1,143 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
vendor('webServices');
class FeedsController extends AppController {
var $name = 'Feeds';
var $components = array('Unicode');
function index() {
header('Content-type: application/rss+xml');
$this->layout = 'ajax';
$this->set('count', $this->Feed->findCount());
}
function latest() {
header('Content-type: application/rss+xml');
$this->layout = 'ajax';
$this->set('latest', $this->Feed->findAll('', '', 'id DESC', 10, 1));
}
function users() {
header('Content-type: application/rss+xml');
$this->layout = 'ajax';
$this->set('count', $this->Feed->getUserCount());
}
function comments($id = null) {
$this->layout = 'ajax';
header('Content-type: application/rss+xml');
if (!is_numeric($id))
return;
$this->set('comments', $this->Feed->getComments($id));
$this->set('pid', $id);
}
function photos($id = null) {
$this->layout = 'ajax';
header('Content-type: application/atom+xml');
if (!is_numeric($id))
return;
$party = $this->Feed->findById($id);
$this->set('party', $party);
if (FLICKR_API_KEY != null && !$party['Feeds']['canceled']) {
if ($party['Feeds']['useflickr'] == 1) {
$data = array('type' => 'flickr', 'userid' => $party['Feeds']['flickrid'], 'randomize' => false);
$flickr = new webServices($data);
$photoset = $flickr->fetchPhotos(FLICKR_TAG_PREFIX.$id, 30, !$party['Feeds']['flickrperms']);
$this->set('flickr', $photoset);
}
}
}
function upcoming($limit = null) {
$this->layout = 'ajax';
header('Content-type: application/rss+xml');
($limit == null) ? $limit = 25 : $limit = intval($limit);
$this->set('latest', $this->Feed->findAll('WHERE date > '. time(), '', 'date ASC', $limit, 1));
}
function ical() {
$this->layout = 'ajax';
header('Content-type: text/calendar');
header("Content-Disposition: inline; filename=partylist.ics");
$back = time() - 172800;
$events = $this->Feed->findAll('WHERE date > '. $back, '', 'date ASC', null, 1);
$cal = array();
foreach($events as $event) {
$event['Feeds']['name'] =
preg_replace(array("/&#(\d{2,5});/e", "/(\n|\r|\f)/", "/\,/"),
array('$this->Unicode->unicode2utf(${1})', ' ', '\,'),
html_entity_decode($event['Feeds']['name']));
$event['Feeds']['address'] =
preg_replace(array("/&#(\d{2,5});/e", "/(\n|\r|\f)/", "/\,/"),
array('$this->Unicode->unicode2utf(${1})', ' ', '\,'),
html_entity_decode($event['Feeds']['address']));
$event['Feeds']['notes'] =
preg_replace(array("/&#(\d{2,5});/e", "/(\n|\r|\f)/", "/\,/"),
array('$this->Unicode->unicode2utf(${1})', ' ', '\,'),
html_entity_decode($event['Feeds']['notes']));
array_push($cal, $event);
}
$this->set('events', $cal);
}
function topguests($limit = null) {
$this->layout = 'ajax';
header('Content-type: application/rss+xml');
($limit == null) ? $limit = 25 : $limit = intval($limit);
$rv = $this->Feed->query("SELECT parties.name AS name,
guests.pid AS id,
COUNT(guests.pid) AS count
FROM guests
LEFT JOIN parties
ON guests.pid = parties.id
GROUP BY guests.pid
ORDER BY count DESC
LIMIT $limit");
$this->set('items', $rv);
}
}
?>

View File

@@ -1,92 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
uses('sanitize');
class PagesController extends AppController {
var $name = 'Pages';
var $components = array('Unicode');
function display() {
$this->pageTitle = 'Home';
$this->set('current', 'home');
$this->set('pcount', $this->Page->findCount());
$this->set('ucount', $this->Page->getUsers());
$text = $this->Page->query('SELECT text FROM pages WHERE id = 1');
$time = $this->Page->query('SELECT text FROM pages WHERE id = 2');
$this->set('time', $time[0]['pages']['text']);
$this->set('front_text', preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($text[0]['pages']['text'])));
}
function privacy() {
$this->pageTitle = 'Privacy Policy';
}
function edit() {
if (isset($_SESSION['User']['id']) && $_SESSION['User']['role'] == 1) {
if (empty($this->data)) {
$text = $this->Page->query('SELECT text FROM pages WHERE id = 1');
$time = $this->Page->query('SELECT text FROM pages WHERE id = 2');
$this->data['Pages']['text'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($text[0]['pages']['text']));
$this->set('selected', date('Y-m-d H:i:s', $time[0]['pages']['text']));
}
else {
// Paranoid? Nah...
if ($_SESSION['User']['role'] == 1) {
$clean = new Sanitize();
$clean->cleanArray($this->data);
$date = mktime($this->data['Pages']['date_hour'],
$this->data['Pages']['date_min'],
0,
$this->data['Pages']['date_month'],
$this->data['Pages']['date_day'],
$this->data['Pages']['date_year']);
$this->Page->execute('UPDATE pages SET text = "'.$this->data['Pages']['text'].'" WHERE pages.id = 1');
$this->Page->execute('UPDATE pages SET text = "'.$date.'" WHERE pages.id = 2');
$this->redirect('/');
}
}
}
else
die();
}
}
?>

View File

@@ -1,472 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
uses('sanitize');
vendor('webServices');
class PartiesController extends AppController {
var $name = 'Parties';
var $uses = array('Party', 'Comment');
var $helpers = array('Html', 'Form');
var $components = array('Hash', 'Mail', 'Unicode');
function index() {
$this->pageTitle = 'Party Map';
$this->set('current', 'map');
if (!empty($this->data)) {
$gcoder = new webServices(array('type' => 'geocode'));
$loc = $gcoder->geocode($this->data['Party']['mloc']);
if ($loc)
$this->set('map', 'initMashUp('.$loc['lat'].', '.$loc['lng'].');');
else
$this->set('map', 'initMashUp();');
}
else
$this->set('map', 'initMashUp();');
}
function add() {
if (!$this->Session->check('User'))
$this->redirect('/users/login');
$this->pageTitle = 'Create Party';
$this->set('current', 'create');
$this->set('map', 'mapInit()');
if(empty($this->data)) {
$this->set('utz', $_SESSION['User']['tz']);
$this->render();
}
else {
$temp = array('lat' => $this->data['Party']['lat'],
'long' => $this->data['Party']['long'],
'tz' => $this->data['Party']['tz']);
$clean = new Sanitize();
$clean->cleanArray($this->data);
$this->data['Party']['lat'] = floatval($temp['lat']);
$this->data['Party']['long'] = floatval($temp['long']);
$this->data['Party']['tz'] = intval($temp['tz']);
$this->set('utz', $this->data['Party']['tz']);
// Convert the selected time to GMT
$secoffset = ($this->data['Party']['tz'] * 60 * 60);
$offsetdate = gmmktime($this->data['Party']['hour_hour'],
$this->data['Party']['minute_min'],
0,
$this->data['Party']['month_hour'],
$this->data['Party']['day_day'],
$this->data['Party']['year_year']);
$this->data['Party']['date'] = ($offsetdate + $secoffset);
$this->data['Party']['duration'] = intval($this->data['Party']['duration']);
$this->data['Party']['invitecode'] = $this->Hash->keygen(10);
$this->data['Party']['owner'] = $_SESSION['User']['id'];
if (!preg_match("/^(http|https)\:\/\//i", $this->data['Party']['website']) &&
!empty($this->data['Party']['website']))
$this->Party->invalidate('website');
if ($this->Party->validates($this->data)) {
if($this->Party->save($this->data)) {
$this->Session->setFlash('Your party has been created!', 'infoFlash');
$this->redirect('/parties/view/'.$this->Party->getLastInsertId());
}
}
else {
$this->Session->setFlash('Please correct the errors below.', 'errorFlash');
}
}
}
function edit($id) {
$this->Party->id = $id;
$party = $this->Party->read();
$this->set('party', $party);
$this->pageTitle = 'Edit Party';
$this->set('current', 'create');
if (empty($_SESSION['User']['id']))
$this->redirect('/users/login/');
if ($party['Party']['owner'] != $_SESSION['User']['id'])
$this->redirect('/parties/view/'.$id);
else {
if (empty($this->data)) {
$this->data = $party;
$date = array('hour' => intval(date('h', $party['Party']['date'])),
'min' => intval(date('i', $party['Party']['date'])),
'mon' => intval(date('m', $party['Party']['date'])),
'day' => intval(date('d', $party['Party']['date'])),
'year' => intval(date('Y', $party['Party']['date'])),
'tz' => $party['Party']['tz']);
$this->set('date', $date);
$this->data['Party']['name'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['name']));
$this->data['Party']['vname'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['vname']));
$this->data['Party']['website'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['website']));
$this->data['Party']['address'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['address']));
$this->data['Party']['notes'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['notes']));
$this->data['Party']['flickrusr'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['Party']['flickrusr']));
if (GMAP_API_KEY != null) {
if ($this->data['Party']['lat'])
$this->set('map', 'mapInit('.$this->data['Party']['lat'].','.$this->data['Party']['long'].','.$this->data['Party']['zoom'].')');
else
$this->set('map', 'mapInit()');
}
}
else {
$clean = new Sanitize();
$temp = array('lat' => $clean->sql($this->data['Party']['lat']),
'long' => $clean->sql($this->data['Party']['long']),
'tz' => $clean->sql($this->data['Party']['tz']));
$clean->cleanArray($this->data);
$this->data['Party']['lat'] = floatval($temp['lat']);
$this->data['Party']['long'] = floatval($temp['long']);
$this->data['Party']['tz'] = intval($temp['tz']);
$secoffset = ($this->data['Party']['tz'] * 60 * 60);
$offsetdate = gmmktime($this->data['Party']['hour_hour'],
$this->data['Party']['minute_min'],
0,
$this->data['Party']['month_hour'],
$this->data['Party']['day_day'],
$this->data['Party']['year_year']);
$this->data['Party']['date'] = ($offsetdate - $secoffset);
$this->data['Party']['owner'] = $party['Party']['owner'];
$this->data['Party']['duration'] = intval($this->data['Party']['duration']);
$date = array('hour' => intval(date('h', $party['Party']['date'])),
'min' => intval(date('i', $party['Party']['date'])),
'mon' => intval(date('m', $party['Party']['date'])),
'day' => intval(date('d', $party['Party']['date'])),
'year' => intval(date('Y', $party['Party']['date'])),
'tz' => $party['Party']['tz']);
$this->set('date', $date);
if (!preg_match("/^(http|https)\:\/\//i", $this->data['Party']['website']) &&
!empty($this->data['Party']['website']))
$this->Party->invalidate('website');
if ($this->data['Party']['flickrusr'] != $party['Party']['flickrusr']) {
$params = array('type' => 'flickr', 'username' => $this->data['Party']['flickrusr']);
$flick = new webServices($params);
$this->data['Party']['flickrid'] = $flick->getFlickrId();
}
if ($this->Party->validates($this->data)) {
if ($this->Party->save($this->data)) {
$this->Session->setFlash('Party edited successfully.', 'infoFlash');
$this->redirect('parties/view/'.$id);
}
}
}
}
}
function view($id = null, $page = null) {
if ($id == 'all') {
$this->pageTitle = 'All Parties';
$this->set('current', 'parties');
//Paginate!
$count = $this->Party->findCount();
$pages = ceil($count/100);
if ($page == null)
$page = 1;
if ($page > 1)
$this->set('prev', $page - 1);
if ($page < $pages)
$this->set('next', $page + 1);
$deck = $this->Party->findAll(null, null, "id ASC", 100, $page);
shuffle($deck);
$this->set('parties', $deck);
}
else if (is_numeric($id)) {
$party = $this->Party->findById($id);
if (empty($party['Party']['id']))
$this->redirect('/parties/view/all');
$this->set('current', 'parties');
$this->set('host', $this->Party->getHost($party['Party']['owner']));
$this->set('party', $party);
$this->set('isguest', $this->Party->isGuest($id, @$_SESSION['User']['id']));
$this->pageTitle = $party['Party']['name'];
$this->set('map', 'mapInit('.$party['Party']['lat'].','.$party['Party']['long'].
','.$party['Party']['zoom'].',\'stationary\')');
$this->set('guests', $this->Party->getGuests($party['Party']['id']));
$this->set('comments', $this->Party->getComments($id));
if (FLICKR_API_KEY != null) {
if ($party['Party']['useflickr'] == 1) {
$data = array('type' => 'flickr', 'userid' => $party['Party']['flickrid'], 'randomize' => true);
$flickr = new webServices($data);
$photoset = $flickr->fetchPhotos(FLICKR_TAG_PREFIX.$party['Party']['id'], 15, (($party['Party']['flickrperms']) ? false : true));
$this->set('flickr', array_slice($photoset, 0, 9));
}
}
}
else
$this->redirect('/parties/view/all');
}
function invite($id = null) {
$this->pageTitle = "Invite a Guest";
if (is_numeric($id)) {
$party = $this->Party->findById($id);
if (empty($party['Party']['id']) ||
$party['Party']['owner'] != $_SESSION['User']['id'] ||
$party['Party']['canceled'] == 1)
$this->redirect('/parties/view/all');
else {
$this->set('partyid', $party['Party']['id']);
$this->set('inviteurl', APP_BASE.'/parties/invited/'.$party['Party']['invitecode']);
$clean = new Sanitize();
$uid = $clean->sql($_SESSION['User']['id']);
$email = $this->Party->query("SELECT email FROM users WHERE id = ".$uid);
if (!empty($this->data)) {
if ($this->Party->validates($this->data)) {
$message = array('from' => APP_NAME.' <'.APP_EMAIL.'>',
'envelope' => APP_EMAIL,
'to' => $this->data['Party']['einvite'],
'reply' => $email[0]['users']['email'],
'subject' => 'You\'ve been invited to '.APP_NAME.'!',
'link' => APP_BASE.'/parties/invited/'.$party['Party']['invitecode'],
'type' => 'invite');
$this->Mail->mail($message);
$this->Mail->send();
$this->Session->setFlash($this->data['Party']['einvite'].' has been
invited. You can invite another guest below or <a href="'.APP_BASE.'/parties/view/'.$id.'/">click here</a>
to return to your party.', 'infoFlash');
$this->data['Party']['einvite'] = null;
}
else {
$this->validateErrors($this->Party);
$this->render();
}
}
}
}
}
function invited($icode = null, $conf = null) {
$this->pageTitle = "Confirm Invite";
if ($icode == 'cancel') {
$this->Session->delete('invite');
$this->Session->delete('invitestep');
$this->redirect('/');
}
else {
$clean = new Sanitize();
$icode = $clean->sql($icode);
$party = $this->Party->findByInvitecode($icode);
if (empty($party['Party']['id'])) {
$this->Session->setFlash('Could not find a party matching that invite code, please check it and try again.', 'errorFlash');
}
else {
if (!empty($_SESSION['User']['id']) && !empty($_SESSION['invitestep']) && $conf == 'confirm') {
$this->Party->addGuest($_SESSION['User']['id'], $_SESSION['invite']);
$this->Session->setFlash('You have been successfully added to this party.', 'infoFlash');
$this->redirect('/parties/view/'.$party['Party']['id']);
}
else if (!empty($_SESSION['User']['id'])) {
$this->set('confirm_only', true);
$this->set('party', $party);
$this->set('icode', $icode);
$this->Session->write('invitestep', 'true');
$this->Session->write('invite', $icode);
}
else {
$this->Session->write('invite', $icode);
$this->set('party', $party);
$this->set('icode', $icode);
}
}
}
}
function rsvp($pid) {
if (is_numeric($pid) && isset($_SESSION['User']['id'])) {
$party = $this->Party->findById($pid);
if (empty($party['Party']['id'])) {
$this->Session->setFlash('Invalid party id.', 'errorFlash');
$this->redirect('/parties/view/all');
}
else {
if ($party['Party']['inviteonly']) {
$this->Session->setFlash('This party invite only, you\'ll need an
invitation from the host to join in', 'errorFlash');
}
else {
$this->Party->rsvp($pid, $_SESSION['User']['id']);
$this->Session->setFlash('You have been successfully added to this party.', 'infoFlash');
$this->redirect('/parties/view/'.$pid);
}
}
}
else
$this->redirect('/parties/view/all');
}
function unrsvp($pid) {
if (is_numeric($pid) && isset($_SESSION['User']['id'])) {
$party = $this->Party->findById($pid);
if (empty($party['Party']['id'])) {
$this->Session->setFlash('Invalid party id.', 'errorFlash');
$this->redirect('/parties/view/all');
}
else {
$this->Party->unrsvp($pid, $_SESSION['User']['id']);
$this->Session->setFlash('You have been successfully removed from this party.', 'infoFlash');
$this->redirect('/parties/view/'.$pid);
}
}
else
$this->redirect('/parties/view/all');
}
function cancel($pid) {
$this->pageTitle = "Cancel Party";
if (!is_numeric($pid) || !isset($_SESSION['User']['id']))
$this->redirect('/');
else
$this->set('pid', $pid);
$party = $this->Party->findById($pid);
if ($_SESSION['User']['id'] != $party['Party']['owner'])
die();
if (!empty($this->data) && $_SESSION['User']['id'] == $party['Party']['owner']) {
if ($this->data['Party']['confcancel'] == 1) {
$guests = $this->Party->getGuests($pid);
$guest_count = count($guests);
foreach($guests as $guest) {
$message = array('from' => APP_NAME.' <'.APP_EMAIL.'>',
'envelope' => APP_EMAIL,
'to' => $guest['users']['email'],
'reply' => $_SESSION['User']['email'],
'subject' => 'Party Cancellation Notice',
'link' => APP_BASE.'/parties/view/'.$pid,
'type' => 'cancel');
$this->Mail->mail($message);
$this->Mail->send();
}
$this->Party->query("DELETE FROM guests WHERE pid = $pid LIMIT $guest_count");
$this->Party->query("UPDATE parties SET canceled = '1', invitecode = '0' WHERE parties.id = $pid LIMIT 1");
$this->redirect('/parties/view/'.$pid);
}
}
}
function uncancel($pid) {
if (!is_numeric($pid) || !isset($_SESSION['User']['id']))
$this->redirect('/');
$party = $this->Party->findById($pid);
if ($_SESSION['User']['id'] != $party['Party']['owner'])
die();
$key = $this->Hash->keygen(10);
$this->Party->query("UPDATE parties SET canceled = '0', invitecode = '$key' WHERE parties.id = $pid LIMIT 1");
$this->redirect('/parties/view/'.$pid);
}
function js($type = null, $data = null) {
$this->layout = 'ajax';
if ($type == 'html') {
header('Content-type: text/plain');
$party = $this->Party->findById($data);
$this->set('party', $party);
}
else {
header('Content-type: text/javascript');
$parties = $this->Party->findAll();
$this->set('parties', $parties);
}
}
}
?>

View File

@@ -1,437 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
uses('sanitize');
class UsersController extends AppController {
var $name = 'Users';
var $uses = array('User', 'Party');
var $helpers = array('Html', 'Form');
var $components = array('Security', 'Hash', 'Mail');
function index() {
if (!isset($_SESSION['User'])) {
$this->redirect('/users/login');
}
$this->pageTitle = 'My Profile';
$user = $this->Session->read('User');
$this->set('parties', $this->User->memberOf($user['id']));
$this->set('hparties', $this->User->hostOf($user['id']));
$this->set('iparties', $this->User->invitedTo($user['id']));
}
function register() {
$this->pageTitle = 'Register';
$this->set('map', 'mapInit()');
if(empty($this->data)) {
$this->set('utz', '0');
$this->render();
}
else {
if ($this->User->findByEmail($this->data['User']['email']))
$this->User->invalidate('email');
if ($this->data['User']['email'] !== $this->data['User']['confemail'])
$this->User->invalidate('confemail');
if (!preg_match("/^(http|https)\:\/\//i", $this->data['User']['website']) &&
!empty($this->data['User']['website']))
$this->User->invalidate('website');
if ($this->data['User']['password'] !== $this->data['User']['confpass'])
$this->User->invalidate('confpass');
if (empty($this->data['User']['password']) || empty($this->data['User']['confpass']))
$this->User->invalidate('password');
// Repopulate the timezone with right value in case there's a validation error
$this->set('utz', $this->data['User']['tz']);
if ($this->User->validates($this->data)) {
$clean = new Sanitize();
// Generate and set the password, salt and activation key
$pass = $this->Hash->password($this->data['User']['password'],
$this->data['User']['email']);
$this->data['User']['active'] = $this->Hash->keygen(10);
$this->data['User']['password'] = $pass['pass'];
$this->data['User']['salt'] = $pass['salt'];
// Save a few fields from the wrath of cleanArray()
$temp = array('lat' => $this->data['User']['lat'],
'long' => $this->data['User']['long'],
'tz' => $this->data['User']['tz'],
'email' => $this->data['User']['email']);
// Scrub 'a dub
$clean->cleanArray($this->data);
$this->data['User']['email'] = $temp['email'];
$this->data['User']['long'] = floatval($temp['long']);
$this->data['User']['lat'] = floatval($temp['lat']);
$this->data['User']['tz'] = intval($temp['tz']);
$this->data['User']['role'] = 0;
if($this->User->save($this->data)) {
$message = array('from' => APP_NAME.' <'.APP_EMAIL.'>',
'envelope' => APP_EMAIL,
'to' => $this->data['User']['email'],
'subject' => 'Your '.APP_NAME.' Registration',
'link' => APP_BASE.'/users/activate/'.$this->data['User']['active'],
'type' => 'act');
$this->Mail->mail($message);
$this->Mail->send();
if (isset($_SESSION['invite']))
$this->Party->addGuest($this->User->getLastInsertId(), $_SESSION['invite']);
$this->Session->setFlash('Thank you for registering! To login, you\'ll
need to activate your account. Please check
your email for your activation link.', 'infoFlash');
$this->redirect('/users/login');
}
else {
$this->data['User']['password'] = null;
$this->data['User']['confpass'] = null;
$this->render();
}
}
else {
$this->data['User']['password'] = null;
$this->data['User']['confpass'] = null;
$this->Session->setFlash('There was an error in your submission. Please
correct the errors shown below and try again.',
'errorFlash');
$this->render();
}
}
}
function edit() {
if (!isset($_SESSION['User'])) {
$this->redirect('/users/login');
}
$this->set('error', false);
$this->pageTitle = 'Edit My Account';
if (empty($this->data)) {
$this->User->id = $_SESSION['User']['id'];
$this->data = $this->User->read();
$this->data['User']['password'] = "";
$this->set('utz', $this->data['User']['tz']);
$this->data['User']['name'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['User']['name']));
$this->data['User']['website'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['User']['website']));
$this->data['User']['location'] = preg_replace("/&#(\d{2,5});/e",
'$this->Unicode->unicode2utf(${1})',
html_entity_decode($this->data['User']['location']));
if (GMAP_API_KEY != null) {
if ($this->data['User']['lat'])
$this->set('map', 'mapInit('.$this->data['User']['lat'].','.$this->data['User']['long'].','.$this->data['User']['zoom'].')');
else
$this->set('map', 'mapInit()');
}
}
else {
$user = $this->User->findById($_SESSION['User']['id']);
$this->User->id = $user['User']['id'];
$this->set('utz', $user['User']['tz']);
$clean = new Sanitize();
$temp = array('password' => $this->data['User']['password'],
'confpassword' => $this->data['User']['confpassword'],
'lat' => $clean->sql($this->data['User']['lat']),
'long' => $clean->sql($this->data['User']['long']),
'tz' => $clean->sql($this->data['User']['tz']));
//Nuke everything else
$clean->cleanArray($this->data);
$this->data['User']['email'] = $user['User']['email'];
$this->data['User']['password'] = $temp['password'];
$this->data['User']['confpassword'] = $temp['confpassword'];
$this->data['User']['lat'] = floatval($temp['lat']);
$this->data['User']['long'] = floatval($temp['long']);
$this->data['User']['tz'] = intval($temp['tz']);
$this->data['User']['role'] = $user['User']['role'];
if (!preg_match("/^(http|https)\:\/\//i", $this->data['User']['website']) &&
!empty($this->data['User']['website']))
$this->User->invalidate('website');
if ($this->data['User']['password'] === $this->data['User']['confpassword'] &&
!empty($this->data['User']['password'])) {
$pass = $this->Hash->password($this->data['User']['password'], $user['User']['email']);
$this->data['User']['password'] = $pass['pass'];
$this->data['User']['salt'] = $pass['salt'];
}
else if (empty($this->data['User']['password']) && empty($this->data['User']['confpassword'])) {
$this->data['User']['password'] = $user['User']['password'];
$this->data['User']['salt'] = $user['User']['salt'];
}
else {
$this->set('error', true);
$this->User->invalidate('password');
$this->User->invalidate('confpassword');
}
if ($this->User->validates($this->data)) {
if ($this->User->save($this->data)) {
$sess = $this->User->findById($user['User']['id']);
$this->redirect('/users/');
}
}
else {
$this->validateErrors($this->User);
$this->data['User']['password'] = null;
$this->data['User']['confpassword'] = null;
$this->render();
}
}
}
function login() {
if ($this->Session->Check('User'))
$this->redirect('/users');
$this->pageTitle = 'Login';
if (!empty($this->data)) {
if (empty($this->data['User']['email']) || empty($this->data['User']['password']))
$this->render();
$user = $this->User->findByEmail($this->data['User']['email']);
$pass = sha1($this->data['User']['password'].$user['User']['salt']);
if ($user['User']['password'] == $pass) {
if ($user['User']['active'] != 1) {
$this->Session->setFlash('Your account hasn\'t been activated yet. Please
check your email (including junk/spam folders)
for your activation link, or click <a href="'
.APP_BASE.'/users/recover/activate">here</a> to
resend your activation details.', 'infoFlash');
$this->render();
}
else {
if (isset($_SESSION['invite']))
$this->Party->addGuest($user['User']['id'], $_SESSION['invite']);
$this->Session->write('User', $user['User']);
$this->redirect('/users/');
}
}
else {
$this->Session->setFlash('The email address and password you supplied do
not match. Please try again.', 'errorFlash');
}
}
}
function view($id = null) {
if (!is_numeric($id))
$this->redirect('/');
else {
$user = $this->User->findById($id);
$this->pageTitle = $user['User']['name'];
$this->set('user', $user);
if (GMAP_API_KEY != null && !empty($user['User']['lat']))
$this->set('map', 'mapInit('.$user['User']['lat'].','.$user['User']['long'].','.$user['User']['zoom'].',\'stationary\');');
$this->Party->unbindModel(array('hasMany' => array('Comment')));
$this->set('hparties', $this->User->hostOf($id));
$att = $this->User->query('SELECT parties.id, parties.name
FROM parties
LEFT JOIN guests
ON parties.id = guests.pid
WHERE guests.uid = '.$id);
$this->set('parties', $att);
}
}
function logout() {
$this->Session->destroy();
$this->Session->delete('User');
$this->redirect('/');
}
function recover($aType = null, $aCode = null, $aId = null) {
switch ($aType) {
case "password":
$this->pageTitle = "Password Recovery";
$this->set('atitle', 'Password Recovery');
$this->set('hideInput', false);
$this->set('url', 'password');
if (!empty($this->data)) {
$user = $this->User->findByEmail($this->data['User']['email']);
if (!isset($user['User']['email'])) {
$this->Session->setFlash('Could not find a user with that email address. Please check it and try again.', 'errorFlash');
$this->render();
}
else {
$code = md5($user['User']['salt'].$user['User']['email'].$user['User']['password']);
$message = array('from' => APP_NAME.' <'.APP_EMAIL.'>',
'envelope' => APP_EMAIL,
'to' => $user['User']['email'],
'subject' => APP_NAME.' Password Request',
'link' => APP_BASE.'/users/recover/password/'.$code.'/'.$user['User']['id'],
'type' => 'prec');
$this->Mail->mail($message);
$this->Mail->send();
$this->Session->setFlash('An email has been sent to '.$user['User']['email'].' with reset instructions.', 'errorFlash');
$this->redirect('users/login');
}
}
if ($aCode !== null && $aId !== null) {
$this->set('hideInput', true);
$this->set('reset', false);
$user = $this->User->findById($aId);
if (!$user) {
$this->Session->setFlash('Invalid request. Please check the URL and try again.', 'errorFlash');
$this->render();
}
if ($aCode == md5($user['User']['salt'].$user['User']['email'].$user['User']['password'])) {
$this->set('reset', true);
$this->set('code', $aCode."/".$aId);
$this->render();
}
else {
$this->Session->setFlash('Invalid request. Please check the URL and try again.', 'errorFlash');
$this->render();
}
}
break;
case "activate":
$this->pageTitle = 'Resend Activation Code';
$this->set('atitle', 'Resend Activation Code');
$this->set('hideInput', false);
$this->set('url', 'activate');
if (!empty($this->data)) {
$user = $this->User->findByEmail($this->data['User']['email']);
if (!$user) {
$this->Session->setFlash('Could not find a user with that email address. Please check it and try again.', 'errorFlash');
$this->render();
}
if ($user['User']['active'] == 1)
$this->redirect('/users/login');
else {
$message = array('from' => APP_NAME.' <'.APP_EMAIL.'>',
'envelope' => APP_EMAIL,
'to' => $this->data['User']['email'],
'subject' => 'Your '.APP_NAME.' Registration',
'link' => APP_BASE.'/users/activate/'.$user['User']['active'],
'type' => 'act');
$this->Mail->mail($message);
$this->Mail->send();
$this->Session->setFlash('Your activation code has been resent.', 'infoFlash');
$this->redirect('users/login');
}
}
break;
case "reset":
if ($aCode !== null && $aId !== null) {
if (!empty($this->data)) {
$user = $this->User->findById($aId);
if (!$user) {
$this->Session->setFlash('Invalid request. Please check the URL and try again.', 'errorFlash');
$this->render();
}
if ($aCode == md5($user['User']['salt'].$user['User']['email'].$user['User']['password'])) {
$string = $user['User']['email'] . uniqid(rand(), true) . $this->data['User']['password'];
$this->data['User']['salt'] = substr(md5($string), 0, 9);
$this->data['User']['password'] = sha1($this->data['User']['password'] . $this->data['User']['salt']);
$this->data['User']['id'] = $aId;
if ($this->User->save($this->data)) {
$this->Session->setFlash('Your password has been reset.', 'infoFlash');
$this->redirect('/users/login');
}
}
}
}
break;
default:
$this->redirect('/');
break;
}
}
function activate($aKey = null) {
if ($aKey == null)
$this->redirect('/');
else {
$user = $this->User->findByActive($aKey);
if (empty($user['User']['id'])) {
$this->Session->setFlash('Your account could not be activated. Please make
sure the URL entered is correct and try again.', 'errorFlash');
$this->redirect('/users/login');
}
else {
$this->data = $user;
$this->data['User']['active'] = 1;
if ($this->User->save($this->data)) {
$this->Session->setFlash('Your account was successfully activated.', 'infoFlash');
$this->redirect('/users/login');
}
}
}
}
}
?>

View File

@@ -1,26 +0,0 @@
<?php
/* SVN FILE: $Id: index.php,v 1.3 2006-10-08 03:39:21 reed%reedloden.com Exp $ */
/**
* PHP versions 4 and 5
*
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
* Copyright (c) 2006, Cake Software Foundation, Inc.
* 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright (c) 2006, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
* @package cake
* @subpackage cake.app
* @since CakePHP v 0.10.0.1076
* @version $Revision: 1.3 $
* @modifiedby $LastChangedBy: phpnut $
* @lastmodified $Date: 2006-10-08 03:39:21 $
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
require 'webroot' . DIRECTORY_SEPARATOR . 'index.php';
?>

View File

@@ -1,41 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
class Admin extends AppModel {
var $name = 'Admin';
var $useTable = "parties";
}
?>

View File

@@ -1,61 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
class Comment extends AppModel {
var $name = 'Comment';
var $validate = array(
'text' => "/^\S/"
);
function canComment($pid, $uid) {
$status = $this->query('SELECT owner, guestcomments FROM parties WHERE id = '.$pid);
$guest = null;
if ($status[0]['parties']['owner'] != $uid)
$guest = $this->query('SELECT uid FROM guests WHERE pid = '.$pid.' AND uid = '.$uid);
if ($status[0]['parties']['guestcomments'] == 1) {
if (!empty($guest[0]['guests']['uid']) || $uid == $status[0]['parties']['owner'])
return true;
else
return false;
}
else
return true;
}
}
?>

View File

@@ -1,51 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
class Feed extends AppModel {
var $name = 'Feeds';
var $useTable = "parties";
function getComments($aParty) {
$rv = $this->query("SELECT * FROM comments WHERE assoc = ".$aParty." LIMIT 10");
return $rv;
}
function getUserCount() {
$rv = $this->query("SELECT COUNT(*) FROM users");
return $rv[0][0]['COUNT(*)'];
}
}
?>

View File

@@ -1,40 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
class Guest extends AppModel {
var $name = 'Guest';
}
?>

View File

@@ -1,46 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
class Page extends AppModel {
var $name = 'Page';
var $useTable = 'parties';
function getUsers() {
$rv = $this->query("SELECT COUNT(*) FROM users");
return $rv[0][0]["COUNT(*)"];
}
}
?>

View File

@@ -1,110 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
class Party extends AppModel {
var $name = 'Party';
var $validate = array(
'name' => "/^\S/",
'einvite' => VALID_EMAIL,
'duration' => VALID_NUMBER
);
function getComments($pid) {
$rv = $this->query("SELECT users.id AS uid, users.name,
comments.id AS cid, comments.time, comments.text
FROM users, parties, comments
WHERE comments.assoc = ".$pid."
AND users.id = comments.owner
AND parties.id = ".$pid."
ORDER BY cid ASC");
return $rv;
}
function getHost($uid) {
$rv = $this->query("SELECT name FROM users WHERE id = ".$uid);
return @$rv[0]['users']['name'];
}
function isGuest($pid, $uid) {
$rv = $this->query('SELECT id FROM guests WHERE uid = '.$uid.' AND pid = '.$pid);
if (!empty($rv[0]['guests']['id']))
return true;
else
return false;
}
function getGuests($pid) {
$rv = $this->query("SELECT users.id, users.name, users.email, guests.invited
FROM users
LEFT JOIN guests
ON users.id = guests.uid
WHERE guests.pid = ".$pid);
return $rv;
}
function rsvp($pid, $uid) {
$party = $this->findById($pid);
if (!empty($party['Party']['id']) && !$this->isGuest($pid, $uid)) {
$this->query("INSERT INTO guests (id, pid, uid, invited)
VALUES (NULL, ".$party['Party']['id'].", ".$uid.", 0)");
}
}
function unrsvp($pid, $uid) {
$party = $this->findById($pid);
if (!empty($party['Party']['id']) && $this->isGuest($pid, $uid)) {
$this->query('DELETE FROM guests WHERE uid = '.$uid.' AND pid = '.$pid);
}
}
function addGuest($uid, $icode) {
$party = $this->findByInvitecode($icode);
if (!empty($party['Party']['id'])) {
$check = $this->query('SELECT uid FROM guests WHERE uid = '.$uid.'
AND pid = '.$party['Party']['id']);
if (empty($check[0]['guests']['uid']) && $uid != $party['Party']['owner']) {
$this->query("INSERT INTO guests (id, pid, uid, invited)
VALUES (NULL, ".$party['Party']['id'].", ".$uid.", 1)");
}
}
}
function findByInvitecode($icode) {
$rv = $this->query('SELECT * FROM parties AS Party WHERE invitecode = "'.$icode.'" LIMIT 1');
return @$rv[0];
}
}
?>

View File

@@ -1,59 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
class User extends AppModel {
var $name = 'User';
var $validate = array(
'email' => VALID_EMAIL,
'name' => "/^\S/"
);
function memberOf($uid) {
$rv = $this->query('SELECT parties.id, parties.name FROM guests, parties WHERE guests.uid = '.$uid.' AND parties.id = guests.pid');
return $rv;
}
function hostOf($uid) {
$rv = $this->query('SELECT id, name FROM parties WHERE owner = '.$uid);
return $rv;
}
function invitedTo($uid) {
$rv = $this->query('SELECT parties.id, parties.name FROM guests, parties WHERE guests.uid = '.$uid.' AND parties.id = guests.pid AND guests.invited = 1');
return $rv;
}
}
?>

View File

@@ -1,199 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
class webServices {
var $userid;
var $host;
var $randomize;
function webServices($data) {
switch ($data['type']) {
case "flickr":
$this->host = "api.flickr.com";
if (array_key_exists('userid', $data))
$this->userid = $data['userid'];
if (array_key_exists('randomize', $data))
$this->randomize = $data['randomize'];
if (array_key_exists('username', $data)) {
$head = "GET /services/rest/?method=flickr.people.findByUsername&api_key=".FLICKR_API_KEY."&username=".$data['username']." HTTP/1.1\r\n";
$head .= "Host: ".$this->host."\r\n";
$head .= "Connection: Close\r\n\r\n";
if ($results = $this->fetchResults($head)) {
preg_match('/nsid=\"(.*)\"/', $results, $matches);
if ($matches[1]) {
$this->userid = $matches[1];
}
else
return 0;
}
}
break;
case "gsuggest":
$this->host = "api.google.com";
break;
case "geocode":
$this->host = "maps.google.com";
break;
}
}
function getFlickrId() {
return $this->userid;
}
function fetchPhotos($tags, $num_results, $single_user) {
$params = array('api_key' => FLICKR_API_KEY,
'method' => 'flickr.photos.search',
'format' => 'php_serial',
'tags' => $tags,
'per_page' => $num_results);
if ($single_user)
$params['user_id'] = $this->userid;
$encoded_params = array();
foreach ($params as $k => $v)
$encoded_params[] = urlencode($k).'='.urlencode($v);
$head = 'GET /services/rest/?'.implode('&', $encoded_params)." HTTP/1.1 \r\n";
$head .= 'Host: '.$this->host."\r\n";
$head .= "Connection: Close\r\n\r\n";
if ($results = $this->fetchResults($head)) {
$resp = split("\r\n\r\n", $results);
$data = unserialize($resp[1]);
if ($data['stat'] == 'ok') {
$arr = array();
for ($i = 0; $i < count($data['photos']['photo']); $i++) {
$p = $data['photos']['photo'][$i];
$arr[$i] = array('id' => $p['id'],
'owner' => $p['owner'],
'secret' => $p['secret'],
'server' => $p['server'],
'farm' => $p['farm'],
'title' => $p['title']);
}
if ($this->randomize) {
// Randomize the results
shuffle($arr);
}
return $arr;
}
else
return 0;
}
else
return 0;
}
function GSuggest($phrase) {
$soapy = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<doSpellingSuggestion xmlns="urn:GoogleSearch">
<key xsi:type="xsd:string">'.GSEARCH_API_KEY.'</key>
<phrase xsi:type="xsd:string">'.$phrase.'</phrase>
</doSpellingSuggestion>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>';
$head = "POST /search/beta2 HTTP/1.1\r\n";
$head .= "Host: api.google.com\r\n";
$head .= "MessageType: CALL\r\n";
$head .= "Content-type: text/xml\r\n";
$head .= "Content-length: ".strlen($soapy)."\r\n";
$head .= "Connection: Close\r\n\r\n";
$head .= $soapy;
if ($results = $this->fetchResults($head)) {
if (preg_match('/return xsi:type="xsd:string">(.*)</', $results, $matches))
return $matches[1];
else
return 0;
}
return 0;
}
function geocode($query) {
$head = "GET /maps/geo?q=".urlencode($query)."&output=xml&key=".GMAP_API_KEY." HTTP/1.1\r\n";
$head .= "Host: maps.google.com\r\n";
$head .= "Connection: Close\r\n\r\n";
if ($results = $this->fetchResults($head)) {
if (stristr($results, '<code>200</code>')) {
preg_match('/coordinates>(.*)</', $results, $matches);
$ll = explode(',', $matches[1]);
$rv = array('lat' => $ll[1], 'lng' => $ll[0]);
return $rv;
}
}
return 0;
}
function fetchResults($headers) {
$fs = fsockopen($this->host, 80, $errno, $errstr, 30);
if (!$fs)
return 0;
else {
fwrite($fs, $headers);
stream_set_timeout($fs, 2);
$buffer = null;
while (!feof($fs))
$buffer .= fgets($fs, 128);
fclose($fs);
return $buffer;
}
}
}
?>

View File

@@ -1,18 +0,0 @@
<h1>Comments</h1>
<p>Switch view to: <a href="<?php echo $html->url('/admin/'); ?>">Parties&raquo;</a> <a href="<?php echo $html->url('/admin/users'); ?>">Users&raquo;</a></p>
<table>
<tr>
<td>ID</td>
<td>Text</td>
<td></td>
<td></td>
</tr>
<?php foreach($comments as $comment): ?>
<tr>
<td><a href="<?php echo $html->url('/parties/view/'.$comment['Comment']['assoc'].'#c'.$comment['Comment']['id']); ?>"><?php echo $comment['Comment']['id']; ?></a></td>
<td><?php echo $comment['Comment']['text']; ?></td>
<td><a href="<?php echo $html->url('/admin/edit/comment/'.$comment['Comment']['id']); ?>">Edit</a></td>
<td><a href="<?php echo $html->url('/admin/delete/comment/'.$comment['Comment']['id']); ?>" onclick="return confirm('Delete comment <?php echo $comment['Comment']['id']; ?>?')">Delete</a></td>
</tr>
<?php endforeach; ?>
</table>

View File

@@ -1,128 +0,0 @@
<?php if (isset($user)): ?>
<h1><?php echo $user['User']['name'].' (<a href="'.$html->url('/users/view/'.$user['User']['id']).'">'.$user['User']['id']; ?></a>)</h1>
<form class="fxform" action="<?php echo $html->url('/admin/edit/user/'.$user['User']['id']); ?>" method="post">
<div>
<label for="UserName" class="label-large">Name:</label>
<?php echo $html->input('User/name', array('size' => 40)); ?>
</div>
<div>
<label for="UserRole" class="label-large">Admin privileges:</label>
<?php echo $html->checkbox('User/role'); ?>
</div>
<div>
<label for="UserEmail" class="label-large">Email address:</label>
<?php echo $html->input('User/email', array('size' => 40)); ?>
</div>
<div>
<label for="UserWebsite" class="label-large">Website:</label>
<?php echo $html->input('User/website', array('size' => 40)); ?>
</div>
<div>
<label for="UserActive" class="label-large">Activation code:</label>
<?php echo $html->input('User/active', array('size' => 40)); ?>
</div>
<div>
<label for="location" class="label-large">Location:</label>
<?php echo $html->input('User/location', array('size' => 40)); ?>
</div>
<div>
<label for="UserShowemail" class="label-large">Show email:</label>
<?php echo $html->checkbox('User/showemail'); ?><br/>
</div>
<div>
<label for="UserShowloc" class="label-large">Show location:</label>
<?php echo $html->checkbox('User/showloc'); ?><br/>
</div>
<div>
<label for="UserShowmap" class="label-large">Show map:</label>
<?php echo $html->checkbox('User/showmap'); ?><br/>
</div>
<?php echo $html->hidden('User/id', array('value' => $user['User']['id'])).$html->submit('Submit'); ?>
</form>
<?php endif; if (isset($party)): ?>
<h1><?php echo $party['Party']['name'].' (<a href="'.$html->url('/parties/view/'.$party['Party']['id']).'">'.$party['Party']['id']; ?></a>)</h1>
<form class="fxform" action="<?php echo $html->url('/admin/edit/party/'.$party['Party']['id']); ?>" method="post">
<div>
<label for="PartyOwner" class="label-large">Party Owner:</label>
<?php echo $html->input('Party/owner', array('size' => 40)); ?>
</div>
<div>
<label for="PartyName" class="label-large">Party Name:</label>
<?php echo $html->input('Party/name', array('size' => 40)); ?>
</div>
<div>
<label for="PartyVname" class="label-large">Venue Name:</label>
<?php echo $html->input('Party/vname', array('size' => 40)); ?>
</div>
<div>
<label for="PartyWebsite" class="label-large">Web site:</label>
<?php echo $html->input('Party/website', array('size' => 40)); ?>
</div>
<div>
<label for="PartyAddress" class="label-large">Address:</label>
<?php echo $html->input('Party/address', array('size' => 40)); ?>
</div>
<div>
<label for="PartyDate" class="label-large">Date:</label>
<?php echo $html->input('Party/date', array('size' => 40)); ?>
</div>
<div>
<label for="PartyNotes" class="label-large">Additional Notes:</label>
<?php echo $html->textarea('Party/notes', array('rows' => 10, 'cols' => 50)); ?>
</div>
<div>
<label for="PartyConfirmed" class="label-large">Time:</label>
<?php echo $html->radio('Party/confirmed', array(0 => 'Tentative', 1 => 'Confirmed')); ?>
</div>
<div>
<label for="PartyDuration" class="label-large">Duration (in hours):</label>
<?php echo $html->input('Party/duration', array('size' => 5)); ?>
</div>
<div>
<label for="PartyCanceled" class="label-large">Canceled:</label>
<?php echo $html->checkbox('Party/canceled'); ?>
</div>
<div>
<label for="PartyUseflickr" class="label-large">Use Flickr:</label>
<?php echo $html->checkbox('Party/useflickr'); ?>
</div>
<div>
<label for="PartyFlickrperms" class="label-large">Show:</label>
<?php echo $html->radio('Party/flickrperms', array(0 => 'Only my photos', 1 => 'Anyone\'s photos')); ?>
</div>
<div>
<label for="PartyFlickrusr" class="label-large">Flickr username:</label>
<?php echo $html->input('Party/flickrusr', array('size' => 40)); ?>
</div>
<div>
<label for="PartyFlickrusr" class="label-large">Flickr id:</label>
<?php echo $html->input('Party/flickrid', array('size' => 40)); ?>
</div>
<div>
<label for="PartyInviteonly" class="label-large">Invite only:</label>
<?php echo $html->checkbox('Party/inviteonly'); ?>
</div>
<div>
<label for="PartyGuestcomments" class="label-large">Limit comments to party guests only:</label>
<?php echo $html->checkbox('Party/guestcomments'); ?>
</div>
<br/>
<?php echo $html->hidden('Party/id', array('value' => $party['Party']['id'])).$html->submit('Submit'); ?>
</form>
<?php endif; if(isset($comment)): ?>
<h1>Comment <?php echo '<a href="'.$html->url('/parties/view/'.$comment['Comment']['assoc'].'#c'.$comment['Comment']['id']).'">#'.$comment['Comment']['id']; ?></a> by <?php echo '<a href="'.$html->url('/users/view/'.$comment['Comment']['owner']).'">'.$owner; ?></a></h1>
<form class="fxform" action="<?php echo $html->url('/admin/edit/comment/'.$comment['Comment']['id']); ?>" method="post">
<div>
<label for="CommentAssoc" class="label-large">Party:</label>
<?php echo $html->input('Comment/assoc', array('size' => 40)); ?>
</div>
<div>
<label for="CommentText" class="label-large">Text:</label>
<?php echo $html->textarea('Comment/text', array('rows' => 10, 'cols' => 50)); ?>
</div>
<?php echo $html->hidden('Comment/id', array('value' => $comment['Comment']['id'])).$html->submit('Submit'); ?>
</form>
<?php endif; ?>

View File

@@ -1,18 +0,0 @@
<h1>Parties</h1>
<p>Switch view to: <a href="<?php echo $html->url('/admin/users'); ?>">Users&raquo;</a> <a href="<?php echo $html->url('/admin/comments'); ?>">Comments&raquo;</a></p>
<table>
<tr>
<td>ID</td>
<td>Name</td>
<td></td>
<td></td>
</tr>
<?php foreach($parties as $party): ?>
<tr>
<td><a href="<?php echo $html->url('/parties/view/'.$party['Party']['id']); ?>"><?php echo $party['Party']['id']; ?></a></td>
<td><?php echo $party['Party']['name']; ?></td>
<td><a href="<?php echo $html->url('/admin/edit/party/'.$party['Party']['id']); ?>">Edit</a></td>
<td><a href="<?php echo $html->url('/admin/delete/party/'.$party['Party']['id']); ?>" onclick="return confirm('Delete party <?php echo $party['Party']['id']; ?>?')">Delete</a></td>
</tr>
<?php endforeach; ?>
</table>

View File

@@ -1,18 +0,0 @@
<h1>Users</h1>
<p>Switch view to: <a href="<?php echo $html->url('/admin/'); ?>">Parties&raquo;</a> <a href="<?php echo $html->url('/admin/comments'); ?>">Comments&raquo;</a></p>
<table>
<tr>
<td>ID</td>
<td>Name</td>
<td></td>
<td></td>
</tr>
<?php foreach($users as $user): ?>
<tr>
<td><a href="<?php echo $html->url('/users/view/'.$user['User']['id']); ?>"><?php echo $user['User']['id']; ?></a></td>
<td><?php echo $user['User']['name']; ?></td>
<td><a href="<?php echo $html->url('/admin/edit/user/'.$user['User']['id']); ?>">Edit</a></td>
<td><a href="<?php echo $html->url('/admin/delete/user/'.$user['User']['id']); ?>" onclick="return confirm('Delete user <?php echo $user['User']['id']; ?>?')">Delete</a></td>
</tr>
<?php endforeach; ?>
</table>

View File

@@ -1,7 +0,0 @@
<?php if(!isset($_SESSION['User'])): ?>
<strong>Welcome, Guest!</strong>
<a href="<?php echo $html->url('/users/login'); ?>">Login</a> | <a href="<?php echo $html->url('/users/register'); ?>">Register</a>
<?php else: ?>
<strong>Welcome, <?php echo $_SESSION['User']['name']; ?>!</strong>
<a href="<?php echo $html->url('/users'); ?>">My Account</a> | <a href="<?php echo $html->url('/users/logout'); ?>">Logout</a>
<?php endif; ?>

View File

@@ -1,16 +0,0 @@
<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; ?>
<rss version="0.91">
<channel>
<pubDate><?php echo date('r'); ?></pubDate>
<description><?php echo APP_NAME." - Latest Comments"; ?></description>
<link><?php echo APP_BASE.$html->url('/parties/view/'.$pid); ?></link>
<title><?php echo APP_NAME." - Latest Comments"; ?></title>
<?php foreach($comments as $comment): ?>
<item>
<title><![CDATA[<?php echo substr($comment['comments']['text'], 0, 25).'...'; ?>]]></title>
<description><?php echo $comment['comments']['text'] ?></description>
<link><?php echo APP_BASE.$html->url('/parties/view/'.$comment['comments']['assoc'].'#c'.$comment['comments']['id']); ?></link>
</item>
<?php endforeach; ?>
</channel>
</rss>

View File

@@ -1,22 +0,0 @@
BEGIN:VCALENDAR
X-WR-CALNAME:<?php echo APP_NAME."\n"; ?>
X-WR-CALDESC:Upcoming Parties
PRODID:-//MozillaPartyTool//calendar//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
<?php foreach($events as $event):
if ($event['Feeds']['canceled']) continue; ?>
BEGIN:VEVENT
UID:<?php echo APP_BASE.$html->url('/parties/view/'.$event['Feeds']['id'])."\n"; ?>
DTSTAMP:<?php echo gmdate('Ymd\This\Z', $event['Feeds']['date'])."\n"; ?>
LOCATION:<?php echo $event['Feeds']['lat'].'\, '.$event['Feeds']['long'].'('.$event['Feeds']['address'].")\n"; ?>
SUMMARY:<?php echo $event['Feeds']['name']."\n"; ?>
DTSTART:<?php echo gmdate('Ymd\This', $event['Feeds']['date'])."\n"; ?>
DURATION:PT<?php echo $event['Feeds']['duration']; ?>H
URL:<?php echo APP_BASE.$html->url('/parties/view/'.$event['Feeds']['id'])."\n"; ?>
STATUS:<?php echo (($event['Feeds']['confirmed'] == 1) ? "CONFIRMED" : "TENTATIVE")."\n"; ?>
DESCRIPTION: <?php echo $event['Feeds']['name'].'\n '.$event['Feeds']['address'].'\n '.date('h:ia', $event['Feeds']['date']).'\n '.$event['Feeds']['notes'].'\n'."\n"; ?>
END:VEVENT
<?php endforeach; ?>
END:VCALENDAR

View File

@@ -1,14 +0,0 @@
<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; ?>
<rss version="0.91">
<channel>
<pubDate><?php echo date('r'); ?></pubDate>
<description><?php echo APP_NAME." - Party Count"; ?></description>
<link><?php echo APP_BASE.$html->url('/'); ?></link>
<title><?php echo APP_NAME." - Party Count"; ?></title>
<item>
<title><?php echo $count; ?></title>
<description>Total Parties</description>
<link><?php echo APP_BASE.$html->url('/parties/view/all/'); ?></link>
</item>
</channel>
</rss>

View File

@@ -1,17 +0,0 @@
<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; ?>
<rss version="0.91">
<channel>
<pubDate><?php echo date('r'); ?></pubDate>
<description><?php echo APP_NAME." - Latest Parties"; ?></description>
<link><?php echo APP_BASE.$html->url('/'); ?></link>
<title><?php echo APP_NAME." - Latest Parties"; ?></title>
<?php foreach($latest as $party):
if ($party['Feeds']['canceled']) continue; ?>
<item>
<title><?php echo $party['Feeds']['name'] ?></title>
<description><?php echo $party['Feeds']['vname'] ?></description>
<link><?php echo APP_BASE.$html->url('/parties/view/'.$party['Feeds']['id']); ?></link>
</item>
<?php endforeach; ?>
</channel>
</rss>

View File

@@ -1,23 +0,0 @@
<?php echo '<?xml version="1.0" encoding="utf-8"?>'."\n"; ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><?php echo $party['Feeds']['name']; ?></title>
<id>tag:<?php echo APP_BASE; ?>,2006:/parties/view/<?php echo $party['Feeds']['id']; ?></id>
<subtitle><?php echo APP_NAME; ?> Photostream</subtitle>
<updated><?php echo date('Y-m-d\TH:i:s\Z'); ?></updated>
<generator uri="http://www.screwedbydesign.com/software/partytool">Mozilla Party Tool</generator>
<?php foreach ($flickr as $pic): ?>
<entry>
<title><?php echo $pic['title']; ?></title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/<?php echo $pic['owner']."/".$pic['id']."/"; ?>"/>
<id>tag:flickr.com,2005:/photo/<?php echo $pic['id']; ?></id>
<published><?php echo date('Y-m-d\TH:i:s\Z'); ?></published>
<updated><?php echo date('Y-m-d\TH:i:s\Z'); ?></updated>
<content type="html">&lt;a href="http://www.flickr.com/photos/<?php echo $pic['owner']."/".$pic['id']."/" ?>"&gt; &lt;img src="http://static.flickr.com/<?php echo $pic['server']."/".$pic['id']."_".$pic['secret']."_m.jpg" ?>" title="<?php echo $pic['title']; ?>"/&gt;&lt;/a&gt;</content>
<author>
<name><?php echo $pic['owner']; ?></name>
<uri>http://www.flickr.com/people/<?php echo $pic['owner']; ?>/</uri>
</author>
</entry>
<?php endforeach; ?>
</feed>

View File

@@ -1,16 +0,0 @@
<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; ?>
<rss version="0.91">
<channel>
<pubDate><?php echo date('r'); ?></pubDate>
<description><?php echo APP_NAME." - Top Guests"; ?></description>
<link><?php echo APP_BASE.$html->url('/parties/view/all'); ?></link>
<title><?php echo APP_NAME." - Top Guests"; ?></title>
<?php foreach($items as $item):?>
<item>
<title><?php echo $item['parties']['name'].' ('.$item[0]['count'].')'; ?></title>
<description><?php echo $item['parties']['name'].' - '.$item[0]['count'].' guest'.(($item[0]['count'] != 1) ? 's' : ''); ?></description>
<link><?php echo APP_BASE.$html->url('/parties/view/'.$item['guests']['id']); ?></link>
</item>
<?php endforeach; ?>
</channel>
</rss>

View File

@@ -1,17 +0,0 @@
<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; ?>
<rss version="0.91">
<channel>
<pubDate><?php echo date('r'); ?></pubDate>
<description><?php echo APP_NAME." - Upcoming Parties"; ?></description>
<link><?php echo APP_BASE.$html->url('/'); ?></link>
<title><?php echo APP_NAME." - Upcoming Parties"; ?></title>
<?php foreach($latest as $party):
if ($party['Feeds']['canceled']) continue; ?>
<item>
<title><![CDATA[<?php echo $party['Feeds']['name'] ?>]]></title>
<description><?php echo date('Y-m-d H:i', $party['Feeds']['date']); ?></description>
<link><?php echo APP_BASE.$html->url('/parties/view/'.$party['Feeds']['id']); ?></link>
</item>
<?php endforeach; ?>
</channel>
</rss>

View File

@@ -1,14 +0,0 @@
<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; ?>
<rss version="0.91">
<channel>
<pubDate><?php echo date('r'); ?></pubDate>
<description><?php echo APP_NAME." - Total Users"; ?></description>
<link><?php echo APP_BASE.$html->url('/'); ?></link>
<title><?php echo APP_NAME." - Total Users"; ?></title>
<item>
<title><?php echo $count; ?></title>
<description>Total Users</description>
<link><?php echo APP_BASE.$html->url('/'); ?></link>
</item>
</channel>
</rss>

View File

@@ -1,40 +0,0 @@
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo APP_NAME." - ".$title_for_layout?></title>
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $html->url('/favicon.ico'); ?>"/>
<link rel="stylesheet" type="text/css" href="<?php echo $html->url('/css/main.css'); ?>"/>
<link rel="alternate" type="application/rss+xml" href="<?php echo $html->url('/feeds/latest'); ?>"/>
</head>
<body<?php echo (isset($map)) ? ' onload="'.$map.'" onunload="GUnload()"' : '';?>>
<div id="container">
<p class="skipLink"><a href="#content" accesskey="2">Skip to main content</a></p>
<div id="mozilla-com"><a href="http://www.mozilla.com/">Visit Mozilla.com</a></div>
<div id="header">
<div id="key-title">
<h1><a href="<?php echo $html->url('/'); ?>" title="Return to home page" accesskey="1"><img src="<?php echo $html->url('/img/firefox-title.png'); ?>" width="276" height="54" alt="Firefox Party"/></a></h1>
<div id="user"><?php echo $this->renderElement('user_options'); ?></div>
</div>
<div id="key-menu">
<ul id="menu-firefox">
<li<?php echo (@$current == 'home') ? ' class="current"' : ''?>><a href="<?php echo $html->url('/'); ?>">Home</a></li>
<li<?php echo (@$current == 'map') ? ' class="current"' : ''?>><a href="<?php echo $html->url('/parties/'); ?>">View Map</a></li>
<li<?php echo (@$current == 'parties') ? ' class="current"' : ''?>><a href="<?php echo $html->url('/parties/view/all/'); ?>">View Parties</a></li>
<li<?php echo (@$current == 'create') ? ' class="current"' : ''?>><a href="<?php echo $html->url('/parties/add/'); ?>">Create Party</a></li>
</ul>
</div>
</div>
<div id="content">
<?php $this->controller->Session->flash(); ?>
<?php echo $content_for_layout; ?>
</div>
<div id="footer">
Copyright &copy; <?php echo date('Y'); ?> Mozilla<br/>
<a href="<?php echo $html->url('/privacy-policy'); ?>">Privacy Policy</a>
</div>
</div>
</body>
</html>

View File

@@ -1 +0,0 @@
<div id='flash' class='error'><?php echo $content_for_layout ?></div>

View File

@@ -1 +0,0 @@
<div id='flash' class='info'><?php echo $content_for_layout ?></div>

View File

@@ -1,30 +0,0 @@
<?php
$difference = $time - time();
$days_left = floor($difference/60/60/24);
?>
<div id="f-left">
<?php echo $front_text;
if (@$_SESSION['User']['role'] == 1): ?>
<a href="<?php echo $html->url('/pages/edit'); ?>">Edit</a>
<?php endif; ?>
</div>
<div id="f-right">
<div class="cbox">
<span class="ctxt"><?php echo $pcount."</span><br/>".(($pcount == 1) ? ' Party' : ' Parties'); ?>
<div class="ifeed">
<a style="padding-right: 2px;" title="Party Calendar" href="<?php echo $html->url('/feeds/ical'); ?>"><img src="<?php echo $html->url('/img/ical.png'); ?>" alt="iCAL"/></a><a title="Party Count Feed" href="<?php echo $html->url('/feeds/'); ?>"><img src="<?php echo $html->url('/img/feed16.png'); ?>" alt="RSS"/></a>
</div>
</div>
<div class="cbox">
<span class="ctxt"><?php echo $ucount."</span><br/>".(($ucount == 1) ? ' Partygoer' : ' Partygoers'); ?>
<div class="cfeed">
<a title="User Count Feed" href="<?php echo $html->url('/feeds/users/'); ?>"><img src="<?php echo $html->url('/img/feed16.png'); ?>" alt="RSS"/></a>
</div>
</div>
<?php if ($days_left > 0): ?>
<div class="cbox">
<span class="ctxt"><?php echo $days_left."</span><br/>".(($days_left == 1) ? ' Day' : ' Days'); ?> until we party!
</div>
<?php endif; ?>
</div>
<div style="clear: both"></div>

View File

@@ -1,6 +0,0 @@
<form action="<?php echo $html->url('/pages/edit'); ?>" method="post">
<h1>Front Page Text</h1>
<?php echo $html->textarea('Pages/text', array('rows' => 35, 'cols' => 80)); ?>
<h1>Countdown Timer</h1>
<?php echo $html->dateTimeOptionTag('Pages/date', 'YMD', 24, $selected).'<br/><br/>'.$html->submit('Submit'); ?>
</form>

View File

@@ -1,42 +0,0 @@
<h2>Mozilla Privacy Policy</h2>
<h3>Website Visitors</h3>
<p>Except as described below, the Mozilla Foundation and the Mozilla Corporation (collectively "Mozilla") do not collect or require visitors to its Web sites to furnish personally-identifying information such as names, email addresses and phone numbers. Like most Web site operators, Mozilla does collect non-personally-identifying information of the sort that web browsers and servers typically make available, such as the browser type, language preference, referring site, and date and time of each visitor request. Mozilla also collects potentially personally-identifying information like Internet Protocol (IP) addresses, which are non-personally-identifying in and of themselves but could be used in conjunction with other information to personally identify users.</p>
<p>Mozilla's purpose in collecting this information is to better understand how Mozilla's visitors use its Web sites. To that end, Mozilla may share potentially personally-identifying information with its employees, contractors and affiliated organizations. Mozilla may also release non-personally-identifying information about visitors, e.g. by publishing a report on Web site usage trends. Otherwise, Mozilla will not publicly release potentially personally-identifying information except under the same circumstances as Mozilla releases personally-identifying information. Those circumstances are explained in detail below.</p>
<h3>Community Members</h3>
<p>Certain members of the Mozilla community (contributors, customers, etc.) choose to interact with Mozilla in ways that require Mozilla and others to know more about them. The amount and type of information that Mozilla gathers from those members depends on the nature of the interaction. For example, members who wish to post content to certain portions of Mozilla's Web sites are asked to provide usernames that identify that content as having been posted by a particular member. Developers, by comparison, are asked to provide contact information, up to and sometimes including telephone or fax numbers, so that they can be contacted as necessary. Customers of the Mozilla store are asked to provide even more information, including billing and shipping addresses and credit card or similar information. In each case, Mozilla collects personally-identifying information only insofar as is necessary to fulfill the purpose of the community member's interaction with Mozilla.</p>
<p>Mozilla is an open organization that believes in sharing as much information as possible about its products, its operations and its associations. Accordingly, community members should assume - as should most folks who interact with Mozilla - that any personally-identifying information provided to Mozilla will be made available to the public. There are three broad exceptions to that rule:</p>
<ol>
<li>Mozilla does not publicly release information gathered in connection with commercial transactions (i.e., transactions involving money), including transactions conducted through the Mozilla Store.</li>
<li>Mozilla does not make publicly available information that is used to authenticate users the publication of which would compromise the security of Mozilla's Web sites (e.g., passwords).</li>
<li>Mozilla does not make publicly available information that it specifically promises at the time of collection to maintain in confidence.</li>
</ol>
<p>Outside those three contexts, users should assume that personally-identifying information provided through Mozilla's Web sites will be made available to the public.</p>
<h3>Interactive Product Features</h3>
<p>Certain Mozilla products contain features that report, or that permit users to report, the user's usage patterns and problems - whether caused by Mozilla's software, third party software, or third-party Web sites - to Mozilla. The reports generated by these features typically include non-personally-identifying information such as the configuration of the user's computer and the code running at the time the problem occurred. Some of these features give users the option of providing personally-identifying information, though none of these features require it. Some Mozilla software features that do permit users to provide personally-identifying information advise in advance that such information will not be made publicly available. Mozilla analyzes the information provided by these interactive product features to develop a better understanding of how its products are performing and being used. It does not use the information to track the usage of its products by identifiable individuals.</p>
<h3>Cookies</h3>
<p>A cookie is a string of information that a Web site stores on a visitor's computer, and that the visitor's browser provides to the Web site each time the visitor returns. Mozilla's Web sites use cookies to help Mozilla identify and track visitors, their usage of Mozilla Web sites, and their Web site access preferences across multiple requests and visits to Mozilla's Web sites. It is possible to link cookies to personally-identifying information, thereby permitting Web site operators to track the online movements of particular individuals. Mozilla, however, does not do so. Instead, it uses the information provided by cookies to develop a better understanding of how Mozilla's visitors use, and to facilitate those visitors' interactions with, Mozilla's Web sites. Mozilla visitors who do not wish to have cookies placed on their computers by Mozilla or its contractors should set their browsers to refuse cookies before linking to Mozilla's Web sites. Certain features of Mozilla's Web sites may not function properly without the aid of cookies.</p>
<h3>Protection of Certain Personally-Identifying Information</h3>
<p>Where Mozilla has collected personally-identifying information subject to one of the three exceptions described in the Contributors and Customers section, above, it discloses that information only to those of its employees, contractors and affiliated organizations that need to know that information in order to process it on Mozilla's behalf and that have agreed not to disclose it to others. Some of those employees, contractors and affiliated organizations may be located outside of your home country; by using Mozilla's Web sites, you consent to the transfer of your information to them. Mozilla does not rent or sell such information to anyone. Other than to its employees, contractors and affiliated organizations, as described above, Mozilla discloses such information only when required to do so by law, or when Mozilla believes in good faith that disclosure is reasonably necessary to protect the property or rights of Mozilla, members of the Mozilla community, or the public at large. Mozilla takes all measures reasonably necessary to protect against the unauthorized access, use, alteration or destruction of such information</p>
<h3>Updating of Personally-Identifying Information</h3>
<p>Mozilla permits users to freely update and correct their personally-identifying information as maintained by Mozilla. To do so, users need only look for the links and other tools available on Mozilla's Web sites or contact Mozilla by email.</p>
<h3>Privacy Policy Changes</h3>
<p>Although changes are likely to be minor, Mozilla may change its Privacy Policy from time to time. Any and all changes will be reflected on this page. Substantive changes will also be announced through the standard mechanisms through which Mozilla communicates with the Mozilla community, including Mozilla's "mozilla-announce" mailing lists.</p>

View File

@@ -1,109 +0,0 @@
<h1>Create a Party</h1>
<form class="fxform" action="<?php echo $html->url('/parties/add'); ?>" method="post">
<div>
<label for="PartyName" class="label-large">Party Name<span class="required">*</span>:</label>
<?php echo $html->input('Party/name', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('Party/name', 'Please enter a party name.')?>
</div>
<div>
<label for="PartyVname" class="label-large">Venue Name:</label>
<?php echo $html->input('Party/vname', array('size' => 40)); ?>
</div>
<div>
<label for="PartyAddress" class="label-large">Address:</label>
<?php echo $html->input('Party/address', array('size' => 40, 'id' => 'location', 'onkeypress' => 'capture(event)', 'onblur' => 'update()')); ?>
<div id="locerr" class="info" style="display: none">Did you mean: <a id="locerrlink" onclick="geocode_suggest()" href="#"></a>? <a href="#" onclick="shide()"><span style="font-size: x-small">(close)</span></a></div>
</div>
<p>Enter your party's time and date (in your local time) here. If you're not ready to commit to a specific time or date, select the 'Tentative'
radio button. Otherwise select 'Confirmed'.</p>
<div>
<label for="PartyYear" class="label-large">Date:</label>
<?php echo $html->yearOptionTag('Party/year', null, date('Y'), MAX_YEAR, date('Y'), null, null, false); ?>-<?php echo $html->hourOptionTag('Party/month', null, false, date('m')); ?>-<?php echo $html->dayOptionTag('Party/day', null, date('d'), null, false); ?>
</div>
<div>
<label for="PartyHour" class="label-large">Time:</label>
<?php echo $html->hourOptionTag('Party/hour', null, true);?>:<?php echo $html->minuteOptionTag('Party/minute');?>
<?php echo $html->radio('Party/confirmed', array(0 => 'Tentative', 1 => 'Confirmed')); ?><br/>
</div>
<p>The timezone is used to calculate the appropriate GMT time from the local time specified above. This is done to show
the party in the local time of the person viewing it.</p>
<div>
<label for="PartyTz" class="label-large">Timezone<span class="required">*</span>:</label>
<?php
$tzs = array('-12' => 'GMT-12',
'-11' => 'GMT-11',
'-10' => 'GMT-10',
'-9' => 'GMT-9',
'-8' => 'GMT-8',
'-7' => 'GMT-7',
'-6' => 'GMT-6',
'-5' => 'GMT-5',
'-4' => 'GMT-4',
'-3' => 'GMT-3',
'-2' => 'GMT-2',
'-1' => 'GMT-1',
'0' => 'GMT+0',
'1' => 'GMT+1',
'2' => 'GMT+2',
'3' => 'GMT+3',
'4' => 'GMT+4',
'5' => 'GMT+5',
'6' => 'GMT+6',
'7' => 'GMT+7',
'8' => 'GMT+8',
'9' => 'GMT+9',
'10' => 'GMT+10',
'11' => 'GMT+11',
'12' => 'GMT+12',
'13' => 'GMT+13');
echo $html->selectTag('Party/tz', $tzs, $utz, null, null, false);
?>
(this page was loaded at <?php echo gmdate("Y-m-d H:i:s"); ?> GMT)
</div>
<div>
<label for="PartyDuration" class="label-large">Duration (in hours):</label>
<?php echo $html->input('Party/duration', array('size' => 5)); ?>
</div>
<p>Enter a website (complete with http://) that guests can visit to learn more about your party. If you don't have one, simply leave it blank.</p>
<div>
<label for="PartyWebsite" class="label-large">Web site:</label>
<?php echo $html->input('Party/website', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('Party/website', 'Invalid URL.')?>
</div>
<p>If you choose to make your party invite only, you will have to send guests an invite containing a random invite code to allow them to join your party.</p>
<div>
<label for="PartyInviteonly" class="label-large">Invite only</label>
<?php echo $html->checkbox('Party/inviteonly'); ?>
</div>
<?php if(GMAP_API_KEY != null): ?>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<?php echo GMAP_API_KEY; ?>"
type="text/javascript"></script>
<script src="<?php echo $html->url('/js/maps.js'); ?>" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function update() {
var loc = document.getElementById("location").value;
geocode(loc);
}
function capture(event) {
if (event.keyCode == 13) {
event.preventDefault();
update();
}
}
//]]>
</script>
<p>Drag the map or the marker to specify a location. Set the zoom by using the '+' or '-' buttons on the left.</p>
<p id="map" class="med-map-r"></p>
<?php echo $html->hidden('Party/lat', array('id' => 'lat'));
echo $html->hidden('Party/long', array('id' => 'long'));
echo $html->hidden('Party/zoom', array('id' => 'zoom'));
echo $html->hidden('Party/geocoded', array('id' => 'geocoded', 'value' => 0)); ?>
<?php endif; ?>
<div>
<label for="PartyNotes" class="label-large">Additional Notes</label>
<?php echo $html->textarea('Party/notes', array('rows' => 10, 'cols' => 50)); ?>
</div>
<?php echo $html->submit('Create Party'); ?>
</form>

View File

@@ -1,7 +0,0 @@
<h1>Cancel Party</h1>
<div class="error">Warning! Canceling your party will remove all guests and send them a cancellation notice.</div>
<p>If you're sure you want to cancel your party simply hit the button below. Otherwise,
<a href="<?php echo $html->url('/parties/view/'.$pid); ?>">click here</a> to return to your party.</p>
<form action="<?php echo $html->url('/parties/cancel/'.$pid); ?>" method="post">
<?php echo $html->hidden('Party/confcancel', array('value' => 1)).$html->submit('Cancel Party'); ?>
</form>

View File

@@ -1,131 +0,0 @@
<form class="fxform" action="<?php echo $html->url('/parties/edit/'.$party['Party']['id']); ?>" method="post">
<?php echo $html->hidden('Party/id'); ?>
<h1>Details</h1>
<div>
<label for="PartyName" class="label-large">Party Name:</label>
<?php echo $html->input('Party/name', array('size' => 40)); ?>
</div>
<div>
<label for="PartyVname" class="label-large">Venue Name:</label>
<?php echo $html->input('Party/vname', array('size' => 40)); ?>
</div>
<div>
<label for="PartyWebsite" class="label-large">Web site:</label>
<?php echo $html->input('Party/website', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('Party/website', 'Invalid URL.')?>
</div>
<div>
<label for="PartyAddress" class="label-large">Address:</label>
<?php echo $html->input('Party/address', array('size' => 40, 'id' => 'location', 'onkeypress' => 'capture(event)', 'onblur' => 'update()')); ?>
<div id="suggest" style="display: none">Did you mean <span style="font-style: italic"><a id="suggest2" href="#" onclick=""></a></span>?</div>
</div>
<?php if(GMAP_API_KEY != null): ?>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<?php echo GMAP_API_KEY; ?>"
type="text/javascript"></script>
<script src="<?php echo $html->url('/js/maps.js'); ?>" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function update(aSuggest) {
var loc;
if (!aSuggest)
loc = document.getElementById("location").value;
else
loc = aSuggest;
if (loc != "")
geocode(loc);
}
function capture(event) {
if (event.keyCode == 13) {
event.preventDefault();
update();
}
}
//]]>
</script>
<p id="map" class="med-map-r"></p>
<div>
<label for="PartyNotes" class="label-large">Additional Notes:</label>
<?php echo $html->textarea('Party/notes', array('rows' => 10, 'cols' => 50)); ?>
</div>
<h1>Date</h1>
<div>
<label for="PartyYear" class="label-large">Date:</label>
<?php echo $html->yearOptionTag('Party/year', null, date('Y'), MAX_YEAR, $date['year'], null, null, false); ?>-<?php echo $html->hourOptionTag('Party/month', null, false, $date['mon']); ?>-<?php echo $html->dayOptionTag('Party/day', null, $date['day'], null, false); ?>
</div>
<div>
<label for="PartyHour" class="label-large">Time:</label>
<?php echo $html->hourOptionTag('Party/hour', null, true, $date['hour']);?>:<?php echo $html->minuteOptionTag('Party/minute', null, $date['min']);?>
<?php echo $html->radio('Party/confirmed', array(0 => 'Tentative', 1 => 'Confirmed')); ?>
</div>
<div>
<label for="PartyTz" class="label-large">Timezone:</label>
<?php
$tzs = array('-12' => 'GMT-12',
'-11' => 'GMT-11',
'-10' => 'GMT-10',
'-9' => 'GMT-9',
'-8' => 'GMT-8',
'-7' => 'GMT-7',
'-6' => 'GMT-6',
'-5' => 'GMT-5',
'-4' => 'GMT-4',
'-3' => 'GMT-3',
'-2' => 'GMT-2',
'-1' => 'GMT-1',
'0' => 'GMT+0',
'1' => 'GMT+1',
'2' => 'GMT+2',
'3' => 'GMT+3',
'4' => 'GMT+4',
'5' => 'GMT+5',
'6' => 'GMT+6',
'7' => 'GMT+7',
'8' => 'GMT+8',
'9' => 'GMT+9',
'10' => 'GMT+10',
'11' => 'GMT+11',
'12' => 'GMT+12',
'13' => 'GMT+13');
echo $html->selectTag('Party/tz', $tzs, $date['tz'], null, null, false);?>
(current time is <?php echo gmdate("Y-m-d H:i:s"); ?>GMT)
</div>
<div>
<label for="PartyDuration" class="label-large">Duration (in hours):</label>
<?php echo $html->input('Party/duration', array('size' => 5)); ?>
</div>
<h1><span style="color: #0063dc">flick</span><span style="color: #ff0084">r<sup style="font-size: 8px">TM</sup></span> Options</h1>
<p>To show photos of your party, simply tag them with <strong><?php echo FLICKR_TAG_PREFIX.$party['Party']['id'] ?></strong> and fill out the information below.</p>
<div>
<label for="PartyUseflickr" class="label-large">Show photostream:</label>
<?php echo $html->checkbox('Party/useflickr'); ?>
</div>
<p>If you choose to show photos from anyone using your party's tag please note that no photos will show until two or more people are using the tag.</p>
<div>
<label for="PartyFlickrperms" class="label-large">Show:</label>
<?php echo $html->radio('Party/flickrperms', array(0 => 'Only my photos', 1 => 'Anyone\'s photos')); ?>
</div>
<div>
<label for="PartyFlickrusr" class="label-large">Flickr username:</label>
<?php echo $html->input('Party/flickrusr', array('size' => 40)); ?>
</div>
<h1>Privacy</h1>
<div>
<label for="PartyInviteonly" class="label-large">Invite only:</label>
<?php echo $html->checkbox('Party/inviteonly'); ?>
</div>
<div>
<label for="PartyGuestcomments" class="label-large">Limit comments to party guests only:</label>
<?php echo $html->checkbox('Party/guestcomments'); ?>
</div>
<br/>
<?php echo $html->hidden('Party/lat', array('id' => 'lat'));
echo $html->hidden('Party/long', array('id' => 'long'));
echo $html->hidden('Party/zoom', array('id' => 'zoom'));
echo $html->hidden('Party/geocoded', array('id' => 'geocoded', 'value' => 0)); ?>
<?php endif; ?>
<?php echo $html->submit('Update'); ?>
</form>

View File

@@ -1,19 +0,0 @@
<?php if(GMAP_API_KEY != null): ?>
<div style="text-align: center">
<form action="<?php echo $html->url('/parties/'); ?>" class="fxform" onsubmit="search(event)" method="post">
<label for="PartyMloc"><strong>Find a party:</strong></label>
<?php echo $html->input('Party/mloc', array('size' => 60, 'id' => 'location')).' '.$html->submit('Search'); ?>
<div id="locerr" class="info" style="display: none">Did you mean: <a id="locerrlink" onclick="geocode_suggest()" href="#"></a>? <a href="#" onclick="shide()"><span style="font-size: x-small">(close)</span></a></div>
</form>
</div>
<br/>
<script src="http://maps.google.com/maps?file=api&amp;v=2.67&amp;key=<?php echo GMAP_API_KEY; ?>"
type="text/javascript"></script>
<script src="<?php echo $html->url('/js/maps.js'); ?>" type="text/javascript"></script>
<script src="<?php echo $html->url('/parties/js'); ?>" type="text/javascript"></script>
<div id="map" class="large-map"></div>
<div id="map-load" style="visibility: hidden" class="load">
<img src="<?php echo $html->url('/img/throbber.gif'); ?>"/>
Loading...
</div>
<?php endif; ?>

View File

@@ -1,9 +0,0 @@
<h1>Invite a guest</h1>
<p>To invite a guest, simply enter their email address into the field below,
or hand them a link to
<strong><?php echo $inviteurl; ?></strong></p>
<form action="<?php echo $html->url('/parties/invite/'.$partyid) ?>" method="post">
<label for="PartyEinvite">Guest's email address:</label>
<?php echo $html->input('Party/einvite')."\n".$html->submit('Submit')."\n"; ?>
<?php echo $html->tagErrorMsg('Party/einvite', 'Invalid email address')?>
</form>

View File

@@ -1,36 +0,0 @@
<h1>Confirm Invite</h1>
<?php if (isset($party) && !isset($confirm_only)): ?>
<p>You've been invited to attend <a href="<?php echo $html->url('/parties/view/'.$party['Party']['id']); ?>"><?php echo $party['Party']['name']; ?></a>.
To join this party please select one of the options below, or <a href="<?php echo $html->url('/parties/invited/cancel/');?>">click here</a> to cancel this invitation.</p>
<div style="text-align: center">
<div style="width: 50%; float: left;">
<h2>New User</h2>
<p>Simply register for an account, and you'll be added as a guest as soon as you finish.
<a href="<?php echo $html->url('/users/register'); ?>">Create account &raquo;</a></p>
</div>
<div style="width: 50%; float: right">
<h2>Existing User</h2>
<p>Login to add yourself to the guest list.</p>
<form class="fxform" action="<?php echo $html->url('/users/login'); ?>" method="post">
<div>
<label class="label-large" for="UserEmail">Email Address:</label>
<?php echo $html->input('User/email', array('size' => 20)); ?>
</div>
<div>
<label class="label-large" for="UserPassword">Password:</label>
<?php echo $html->password('User/password', array('size' => 20)).
$html->hidden('User/icode', array('value' => $icode));?>
</div>
<div>
<?php echo $html->submit('Login'); ?>
</div>
</form>
</div>
<div style="clear: both;"></div>
</div>
<?php endif;
if (isset($party) && isset($confirm_only)): ?>
<p>You've been invited to attend <a href="<?php echo $html->url('/parties/view/'.$party['Party']['id']); ?>"><?php echo $party['Party']['name']; ?></a>.
To join this party, <a href="<?php echo $html->url('/parties/invited/'.$icode.'/confirm');?>">click here</a>, or cancel this invitation by <a href="<?php echo $html->url('/parties/invited/cancel/');?>">clicking here</a>.</p>
<?php endif; ?>

View File

@@ -1,11 +0,0 @@
<?php if (isset($party)): ?>
<strong><?php echo $party['Party']['name']?></strong><br/><?php echo $party['Party']['vname']; ?><br/><a href="<?php echo $html->url('/parties/view/'.$party['Party']['id'])?>">View Party</a>
<?php else: ?>
function addParties() {
<?php foreach ($parties as $party):
if (!empty($party['Party']['lat']) && !empty($party['Party']['long']) && !$party['Party']['canceled']): ?>
addParty(<?php echo $party['Party']['lat'];?>, <?php echo $party['Party']['long']?>, <?php echo $party['Party']['id']; ?>);
<?php endif; endforeach;?>
}
//
<?php endif; ?>

View File

@@ -1,140 +0,0 @@
<?php
if (isset($party)): ?>
<h1><?php echo $party['Party']['name']; ?></h1>
<br/>
<?php if ($party['Party']['canceled']): ?>
<div class="error">This party has been canceled</div>
<?php endif; ?>
Host: <a href="<?php echo $html->url('/users/view/'.$party['Party']['owner']).'">'.$host; ?></a><br/>
<?php
if (!empty($party['Party']['address']))
echo 'Location: '.$party['Party']['address']."<br/>\n";
if (!empty($party['Party']['vname']))
echo 'Venue: '.$party['Party']['vname']."<br/>\n";
echo 'Date: '.(($party['Party']['confirmed'] == 1) ? gmdate('Y-m-d h:ia', $party['Party']['date'] + (@$_SESSION['User']['tz'] * 60 * 60))." GMT".@$_SESSION['User']['tz'] : "TBA")."<br/>\n";
echo 'Duration: '.$party['Party']['duration'].' hour'.(($party['Party']['duration'] == 1) ? '' : 's')."\n<br/>";
if (!empty($party['Party']['website']) && preg_match("/^(http|https)\:\/\//i", $party['Party']['website']))
echo 'Website: <a href="'.$party['Party']['website'].'" rel="nofollow">'.$party['Party']['website']."</a><br/>\n";
if (!empty($party['Party']['notes']))
echo 'Notes: '.$party['Party']['notes']."<br/>\n";
?>
<br/>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<?php echo GMAP_API_KEY; ?>"
type="text/javascript"></script>
<script src="<?php echo $html->url('/js/maps.js'); ?>" type="text/javascript"></script>
<div id="map" class="small-map"></div>
<h1>Who's coming</h1>
<div>
<?php if (!empty($guests)):
$i = 0;
$c = count($guests) - 1;
foreach ($guests as $guest): ?>
<a href="<?php echo $html->url('/users/view/'.$guest['users']['id']); ?>"><?php echo $guest['users']['name']; ?></a><?php echo ($i < $c) ? ", " : ""; ?>
<?php $i++;
endforeach;
else:
echo "No guests yet, be the first!";
endif;
if (isset($_SESSION['User']['id']) && @$_SESSION['User']['id'] != $party['Party']['owner'] && ($party['Party']['inviteonly'] != 1 || $isguest && !$party['Party']['canceled'])):?>
<br/><br/>
<form action="<?php
echo $html->url('/parties/'.((!$isguest) ? 'rsvp/' : 'unrsvp/').$party['Party']['id']); ?>" method="post">
<?php if(!$isguest): ?>
<button>Count me in!</button>
<?php else: ?>
<button>Remove me</button>
<?php endif; ?>
</form>
<?php endif; ?>
<? if ($party['Party']['inviteonly'] == 1 && (!$isguest && @$_SESSION['User']['id'] != $party['Party']['owner'] && !$party['Party']['canceled'])):?>
<p>This party is invite only. You'll need an invite code from the host to join in.</p>
<?php endif; ?>
</div>
<?php if (@$_SESSION['User']['id'] == $party['Party']['owner']):?>
<h1>Party options</h1>
<a href="<?php echo $html->url('/parties/edit/'.$party['Party']['id']);?>">Edit party</a>
<?php if (!$party['Party']['canceled']): ?>| <a href="<?php echo $html->url('/parties/invite/'.$party['Party']['id']);?>">Invite a guest</a>
<?php endif; echo (($party['Party']['canceled'] == 1) ? ' | <a href="'.$html->url('/parties/uncancel/'.$party['Party']['id']).'">
Reactivate this party</a>' : '| <a href="'.$html->url('/parties/cancel/'.$party['Party']['id']).'" onclick="return confirm(\'Are you sure you want to cancel your party?\')"><span style="color: #bc1313">Cancel this party</span></a>'); ?>
<?php endif; ?>
<?php if (isset($flickr)): ?>
<h1 id="photos">Photos <a title="Photo Feed" href="<?php echo $html->url('/feeds/photos/'.$party['Party']['id']); ?>"><img src="<?php echo $html->url('/img/feed16.png'); ?>" alt="Atom"/></a></h1>
<div style="text-align: center">
<?php if (empty($flickr)): ?>
<p>No photos yet. Tag your flickr pictures with <?php echo FLICKR_TAG_PREFIX.$party['Party']['id']; ?> to display them here.</p>
<?php else:
foreach ($flickr as $pic): ?>
<a href="http://www.flickr.com/photos/<?php echo $pic['owner']."/".$pic['id']."/" ?>"><img src="http://static.flickr.com/<?php echo $pic['server']."/".$pic['id']."_".$pic['secret']."_s.jpg" ?>" title="<?php echo $pic['title']; ?>"/></a>
<?php endforeach;
endif; ?>
<br/>
</div>
<?php endif;
if (!empty($comments)): ?>
<h1 id="comments">Comments <a title="Comment Feed" href="<?php echo $html->url('/feeds/comments/'.$party['Party']['id']); ?>"><img src="<?php echo $html->url('/img/feed16.png'); ?>" alt="RSS"/></a></h1>
<?php $i = 0;
foreach ($comments as $comment):
if ($i % 2 == 0)
$class = "";
else
$class = "comment-mod";
$i++;?>
<div id="c<?php echo $comment['comments']['cid'];?>" class="comment <?php echo $class;?>">
<span class="comment-content"><?php echo $comment['comments']['text']; ?></span>
<span class="comment-tag"><br/><br/>Posted by <a href="<?php echo $html->url('/users/view/'.$comment['users']['uid']); ?>">
<?php echo $comment['users']['name']; ?></a> on <?php echo gmdate('Y-m-d h:ia', $comment['comments']['time'] + (@$_SESSION['User']['tz'] * 60 * 60)); ?></span>
</span>
</div>
<?php endforeach;
endif;
if (isset($_SESSION['User'])):
if (($party['Party']['guestcomments'] && $isguest) || !$party['Party']['guestcomments'] || @$_SESSION['User']['id'] == $party['Party']['owner']): ?>
<h1>Add a comment</h1>
<form action="<?php echo $html->url('/comments/add/'.$party['Party']['id'].'/'.$_SESSION['User']['id']); ?>" method="post">
<div>
<?php echo $html->textarea('Comment/text', array('rows' => 10, 'cols' => 50))."<br/>".$html->submit('Submit'); ?>
</div>
</form>
<?php endif;
endif;
endif; ?>
<?php if (isset($parties)):
if (isset($prev))
echo '<a href="'.$html->url('/parties/view/all/'.$prev).'">&laquo; Previous Page</a> ';
if (isset($prev) && isset($next))
echo ' | ';
if (isset($next))
echo '<a href="'.$html->url('/parties/view/all/'.$next).'">Next Page &raquo;</a>';
$i = 0;
foreach ($parties as $party):
if ($party['Party']['canceled'] != 1): ?>
<div>
<h1><?php echo $party['Party']['name']; ?></h1>
<p>
<?php
if (!empty($party['Party']['address']))
echo 'Location: '.$party['Party']['address']."<br/>\n";
if (!empty($party['Party']['vname']))
echo 'Venue: '.$party['Party']['vname']."<br/>\n";
echo 'Date: '.(($party['Party']['confirmed'] == 1) ? gmdate('Y-m-d h:ia', $party['Party']['date'] + (@$_SESSION['User']['tz'] * 60 * 60))." GMT".@$_SESSION['User']['tz'] : "TBA")."<br/>\n";
echo '<a href="'.$html->url('/parties/view/'.$party['Party']['id']).'">View Party</a>';
?>
</p>
</div>
<?php endif; endforeach;
if (isset($prev))
echo '<a href="'.$html->url('/parties/view/all/'.$prev).'">&laquo; Previous Page</a> ';
if (isset($prev) && isset($next))
echo ' | ';
if (isset($next))
echo '<a href="'.$html->url('/parties/view/all/'.$next).'">Next Page &raquo;</a>';
endif;?>

View File

@@ -1,105 +0,0 @@
<?php if ($error): ?>
<div class="error">
There was an error in your submission, please try again.
</div>
<?php endif; ?>
<form class="fxform" action="<?php echo $html->url('/users/edit'); ?>" method="post">
<?php echo $html->hidden('User/id'); ?>
<h1>Profile</h1>
<div>
<label for="UserName" class="label-large">Name:</label>
<?php echo $html->input('User/name', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('User/name', 'You must enter a name.')?>
</div>
<div>
<label for="UserWebsite" class="label-large">Website:</label>
<?php echo $html->input('User/website', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('User/website', 'Invalid URL.')?>
</div>
<div>
<label for="location" class="label-large">Location:</label>
<?php echo $html->input('User/location', array('id' => 'location', 'size' => 40, 'onkeypress' => 'capture(event)')); ?>
</div>
<div>
<label for="UserTz" class="label-large">Timezone:</label>
<?php
$tzs = array('-12' => 'GMT-12',
'-11' => 'GMT-11',
'-10' => 'GMT-10',
'-9' => 'GMT-9',
'-8' => 'GMT-8',
'-7' => 'GMT-7',
'-6' => 'GMT-6',
'-5' => 'GMT-5',
'-4' => 'GMT-4',
'-3' => 'GMT-3',
'-2' => 'GMT-2',
'-1' => 'GMT-1',
'0' => 'GMT+0',
'1' => 'GMT+1',
'2' => 'GMT+2',
'3' => 'GMT+3',
'4' => 'GMT+4',
'5' => 'GMT+5',
'6' => 'GMT+6',
'7' => 'GMT+7',
'8' => 'GMT+8',
'9' => 'GMT+9',
'10' => 'GMT+10',
'11' => 'GMT+11',
'12' => 'GMT+12',
'13' => 'GMT+13');
echo $html->selectTag('User/tz', $tzs, $utz, null, null, false);
?>
(current time is <?php echo gmdate("Y-m-d H:i:s"); ?> GMT)
</div>
<?php if(GMAP_API_KEY != null): ?>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<?php echo GMAP_API_KEY; ?>"
type="text/javascript"></script>
<script src="<?php echo $html->url('/js/maps.js'); ?>" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function update() {
var loc = document.getElementById("location").value;
geocode(loc);
}
function capture(event) {
if (event.keyCode == 13) {
event.preventDefault();
update();
}
}
//]]>
</script>
<p id="map" class="small-map"></p>
<?php echo $html->hidden('User/lat', array('id' => 'lat'));
echo $html->hidden('User/long', array('id' => 'long'));
echo $html->hidden('User/zoom', array('id' => 'zoom')); ?>
<?php endif; ?>
<h1>Privacy</h1>
<div>
<label for="UserShowemail" class="label-large">Show email:</label>
<?php echo $html->checkbox('User/showemail'); ?><br/>
</div>
<div>
<label for="UserShowloc" class="label-large">Show location:</label>
<?php echo $html->checkbox('User/showloc'); ?><br/>
</div>
<div>
<label for="UserShowmap" class="label-large">Show map:</label>
<?php echo $html->checkbox('User/showmap'); ?><br/>
</div>
<h1>Password</h1>
<div>
<label for="UserPassword" class="label-large">New password:</label>
<?php echo $html->password('User/password', array('size' => 20, 'autocomplete' => 'off')); ?>
</div>
<div>
<label for="UserConfpassword" class="label-large">Confirm new password:</label>
<?php echo $html->password('User/confpassword', array('size' => 20, 'autocomplete' => 'off')); ?>
<?php echo $html->tagErrorMsg('User/confpassword', 'The supplied passwords do not match!')?>
</div>
<?php echo $html->submit('Update'); ?>
</form>

View File

@@ -1,61 +0,0 @@
<h1>My Profile</h1>
<br/>
<h2>Parties I'm attending</h2>
<p>
<?php
$num_parties = count($parties);
if ($num_parties == 0)
echo 'None yet. <a href="'.$html->url('/parties/view/all').'">Find one!</a>';
else {
$c = $num_parties - 1;
$i = 0;
foreach ($parties as $party) {
echo '<a href="'.$html->url('/parties/view/'.$party['parties']['id']).'">'.$party['parties']['name'].'</a>';
echo ($i < $c) ? ', ' : '';
$i++;
}
}
?>
</p>
<h2>Parties I'm hosting</h2>
<p>
<?php
$num_parties = count($hparties);
if (empty($hparties))
echo 'None yet. <a href="'.$html->url('/parties/add').'">Create one!</a>';
else {
$c = $num_parties - 1;
$i = 0;
foreach ($hparties as $party) {
echo '<a href="'.$html->url('/parties/view/'.$party['parties']['id']).'">'.$party['parties']['name'].'</a>';
echo ($i < $c) ? ', ' : '';
$i++;
}
}
?>
<h2>Parties I've been invited to</h2>
<p>
<?php
$num_parties = count($iparties);
if (empty($iparties))
echo 'None yet.';
else {
$c = $num_parties - 1;
$i = 0;
foreach ($iparties as $party) {
echo '<a href="'.$html->url('/parties/view/'.$party['parties']['id']).'">'.$party['parties']['name'].'</a>';
echo ($i < $c) ? ', ' : '';
$i++;
}
}
?>
</p>
<h2>Account Options</h2>
<p>
<a href="<?php echo $html->url('/users/edit'); ?>">Edit my account</a>
<br/>
<a href="<?php echo $html->url('/users/logout'); ?>">Logout</a>
</p>

View File

@@ -1,17 +0,0 @@
<h1>Login</h1>
<form class="fxform" action="<?php echo $html->url('/users/login'); ?>" method="post">
<div>
<label class="label-large" for="UserEmail">Email Address:</label>
<?php echo $html->input('User/email', array('size' => 40)); ?>
</div>
<div>
<label class="label-large" for="UserPassword">Password:</label>
<?php echo $html->password('User/password', array('size' => 40)); ?>
</div>
<div>
<?php echo $html->submit('Login'); ?>
</div>
<p>
<a href="<?php echo $html->url('/users/register'); ?>">Create an account</a> | <a href="<?php echo $html->url('/users/recover/password'); ?>">Forgot your password?</a>
</p>
</form>

View File

@@ -1,26 +0,0 @@
<h1><?php echo $atitle; ?></h1>
<form class="fxform" action="<?php
if (isset($reset))
echo $html->url('/users/recover/reset/'.$code);
else
echo $html->url('/users/recover/'.$url); ?>" method="post">
<?php if (isset($error)): ?>
<div class="error">
<?php echo $error; ?>
</div>
<?php endif; ?>
<div>
<?php if (!$hideInput): ?>
<label class="label-large" for="UserEmail">Email address:</label>
<?php echo $html->input('User/email'); ?>
<?php endif;
if (isset($reset)): ?>
<label class="label-large" for="UserPassword">New password:</label>
<?php echo $html->password('User/password'); ?>
<br/>
<label class="label-large" for="UserConfirm">Confirm password:</label>
<?php echo $html->password('User/confirm'); ?>
<?php endif; ?>
</div>
<?php echo $html->submit('Submit'); ?>
</form>

View File

@@ -1,110 +0,0 @@
<h1>Register</h1>
<form class="fxform" action="<?php echo $html->url('/users/register'); ?>" method="post">
<p>Your e-mail address is used as your username to login. You'll also receive a confirmation e-mail to
this address. In order for your account to be activated successfully, you must specify a valid e-mail address.</p>
<div>
<label class="label-large" for="UserEmail">Email address<span class="required">*</span>:</label>
<?php echo $html->input('User/email', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('User/email', 'The email address you entered is invalid or has already been registered.')?>
</div>
<div>
<label class="label-large" for="UserConfemail">Confirm Email address<span class="required">*</span>:</label>
<?php echo $html->input('User/confemail', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('User/confemail', 'The email addresses you entered do not match.')?>
</div>
<p>How do you want to be known to visitors of <?php echo APP_NAME; ?>?</p>
<div>
<label class="label-large" for="UserName">Name<span class="required">*</span>:</label>
<?php echo $html->input('User/name', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('User/name', 'You must enter a name.')?>
</div>
<p>If you choose to enter it, your location will be shown on your profile. This
field is optional.
<div>
<label class="label-large" for="UserLocation">Location:</label>
<?php echo $html->input('User/location', array('id' => 'location', 'size' => 40, 'onkeypress' => 'capture(event)', 'onblur' => 'update()')); ?>
<div id="locerr" class="info" style="display: none">Did you mean: <a id="locerrlink" onclick="geocode_suggest()" href="#"></a>? <a href="#" onclick="shide()"><span style="font-size: x-small">(close)</span></a></div>
</div>
<p>If you have a website, enter the URL here. (including the http:// ) Your website will be
shown to site visitors on your author profile page. This field is optional; if you don't
have a website or don't want it linked to from <?php echo APP_NAME; ?>, leave this box blank.</p>
<div>
<label class="label-large" for="UserWebsite">Website:</label>
<?php echo $html->input('User/website', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('User/website', 'Invalid URL.')?>
</div>
<div>
<label class="label-large" for="UserTz">Timezone<span class="required">*</span>:</label>
<?php
$tzs = array('-12' => 'GMT-12',
'-11' => 'GMT-11',
'-10' => 'GMT-10',
'-9' => 'GMT-9',
'-8' => 'GMT-8',
'-7' => 'GMT-7',
'-6' => 'GMT-6',
'-5' => 'GMT-5',
'-4' => 'GMT-4',
'-3' => 'GMT-3',
'-2' => 'GMT-2',
'-1' => 'GMT-1',
'0' => 'GMT+0',
'1' => 'GMT+1',
'2' => 'GMT+2',
'3' => 'GMT+3',
'4' => 'GMT+4',
'5' => 'GMT+5',
'6' => 'GMT+6',
'7' => 'GMT+7',
'8' => 'GMT+8',
'9' => 'GMT+9',
'10' => 'GMT+10',
'11' => 'GMT+11',
'12' => 'GMT+12',
'13' => 'GMT+13');
echo $html->selectTag('User/tz', $tzs, $utz, null, null, false);
?>
(this page was loaded at <?php echo gmdate("Y-m-d H:i:s"); ?> GMT)
</div>
<div>
<label class="label-large" for="password">Password<span class="required">*</span>:</label>
<?php echo $html->password('User/password', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('User/password', 'You must enter a password.')?>
</div>
<div>
<label class="label-large" for="confpassword">Confirm password<span class="required">*</span>:</label>
<?php echo $html->password('User/confpass', array('size' => 40)); ?>
<?php echo $html->tagErrorMsg('User/confpass', 'The passwords you supplied do not match.')?>
</div>
<?php if(GMAP_API_KEY != null): ?>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<?php echo GMAP_API_KEY; ?>"
type="text/javascript"></script>
<script src="<?php echo $html->url('/js/maps.js'); ?>" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function update() {
var loc = document.getElementById("location").value;
geocode(loc);
}
function capture(event) {
if (event.keyCode == 13) {
event.preventDefault();
update();
}
}
//]]>
</script>
<p><span class="required">*</span> Required field</p>
<p>Drag the map or the marker to specify your location. Set the zoom by using the '+' or '-' buttons on the left.</p>
<p id="map" class="med-map-r"></p>
<div>
<?php echo $html->hidden('User/lat', array('id' => 'lat'));
echo $html->hidden('User/long', array('id' => 'long'));
echo $html->hidden('User/zoom', array('id' => 'zoom'));
echo $html->hidden('User/geocoded', array('id' => 'geocoded', 'value' => 0));
echo $html->hidden('User/icode', array('value' => @$icode)); ?>
</div>
<?php endif; ?>
<?php echo $html->submit('Register'); ?>
</form>

View File

@@ -1,44 +0,0 @@
<?php
if (!empty($user['User']['name']))
echo "<h1>".$user['User']['name']."</h1><br/>";
if ($user['User']['showemail'] == 1 && @$_SESSION['User'])
echo "Email: ".$user['User']['email']."<br/>";
if ($user['User']['showloc'] == 1 && !empty($user['User']['location']))
echo "Location: ".$user['User']['location']."<br/>";
if (!empty($user['User']['website']) && preg_match("/^(http|https)\:\/\//i", $user['User']['website']))
echo 'Website: <a href="'.$user['User']['website'].'" rel="nofollow">'.$user['User']['website'].'</a><br/>';
if (!empty($parties)) {
echo "Attending: ";
$c = count($parties) - 1;
$i = 0;
foreach ($parties as $party) {
echo '<a href="'.$html->url('/parties/view/'.$party['parties']['id']).'">'.$party['parties']['name'].'</a>';
echo ($i < $c) ? ', ' : '<br/>';
$i++;
}
}
if (!empty($hparties)) {
echo "Hosting: ";
$c = count($hparties) - 1;
$i = 0;
foreach ($hparties as $party) {
echo '<a href="'.$html->url('/parties/view/'.$party['parties']['id']).'">'.$party['parties']['name'].'</a>';
echo ($i < $c) ? ', ' : '<br/>';
$i++;
}
}
?>
<?php if(isset($map) && $user['User']['showmap'] == 1): ?>
<br/>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<?php echo GMAP_API_KEY; ?>" type="text/javascript"></script>
<script src="<?php echo $html->url('/js/maps.js'); ?>" type="text/javascript"></script>
<div id="map" style="height: 200px; width: 350px;"></div>
<?php endif; ?>

View File

@@ -1,6 +0,0 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>

View File

@@ -1,101 +0,0 @@
<?php
/* SVN FILE: $Id: css.php,v 1.4 2006-10-08 03:39:23 reed%reedloden.com Exp $ */
/**
* Short description for file.
*
* Long description for file
*
* PHP versions 4 and 5
*
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
* Copyright (c) 2006, Cake Software Foundation, Inc.
* 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright (c) 2006, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
* @package cake
* @subpackage cake.app.webroot
* @since CakePHP v 0.2.9
* @version $Revision: 1.4 $
* @modifiedby $LastChangedBy: phpnut $
* @lastmodified $Date: 2006-10-08 03:39:23 $
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
header('HTTP/1.1 404 Not Found');
}
/**
* Enter description here...
*/
require(LIBS . 'folder.php');
require(LIBS . 'legacy.php');
/**
* Enter description here...
*
* @param unknown_type $path
* @param unknown_type $name
* @return unknown
*/
function make_clean_css($path, $name) {
require(VENDORS . 'csspp' . DS . 'csspp.php');
$data =file_get_contents($path);
$csspp =new csspp();
$output=$csspp->compress($data);
$ratio =100 - (round(strlen($output) / strlen($data), 3) * 100);
$output=" /* file: $name, ratio: $ratio% */ " . $output;
return $output;
}
/**
* Enter description here...
*
* @param unknown_type $path
* @param unknown_type $content
* @return unknown
*/
function write_css_cache($path, $content) {
if (!is_dir(dirname($path))) {
mkdir(dirname($path));
}
$cache=new File($path);
return $cache->write($content);
}
if (preg_match('|\.\.|', $url) || !preg_match('|^ccss/(.+)$|i', $url, $regs)) {
die('Wrong file name.');
}
$filename = 'css/' . $regs[1];
$filepath = CSS . $regs[1];
$cachepath = CACHE . 'css' . DS . str_replace(array('/','\\'), '-', $regs[1]);
if (!file_exists($filepath)) {
die('Wrong file name.');
}
if (file_exists($cachepath)) {
$templateModified=filemtime($filepath);
$cacheModified =filemtime($cachepath);
if ($templateModified > $cacheModified) {
$output=make_clean_css($filepath, $filename);
write_css_cache($cachepath, $output);
} else {
$output = file_get_contents($cachepath);
}
} else {
$output=make_clean_css($filepath, $filename);
write_css_cache($cachepath, $output);
}
header("Date: " . date("D, j M Y G:i:s ", $templateModified) . 'GMT');
header("Content-Type: text/css");
header("Expires: " . gmdate("D, j M Y H:i:s", time() + DAY) . " GMT");
header("Cache-Control: cache"); // HTTP/1.1
header("Pragma: cache"); // HTTP/1.0
print $output;
?>

View File

@@ -1,230 +0,0 @@
.error, .error_message {
background: #ffa5a5;
border: 1px solid red;
text-align: center;
font-weight: bold;
padding: 5px;
margin: 5px 0 5px 0;
}
.form_error {
background: #ffa5a5;
border: 1px solid red;
}
.info {
background: #fffe94;
border: 1px solid yellow;
text-align: center;
font-weight: bold;
padding: 5px;
margin: 5px 0 5px 0;
}
.att { color: #d4d4d4; }
#f-left {
width: 75%;
float: left;
}
#f-right {
width: 25%;
float: right;
}
.cbox {
text-align: center;
border: 1px solid #808080;
background: #eee;
padding: 5px;
margin: 10px;
}
.cbox a { outline: none; }
.ctxt {
font-size: 200%;
font-weight: bold;
}
.cfeed {
position: relative;
bottom: 15px;
float: right;
height: 16px;
width: 16px;
}
.ifeed {
position: relative;
bottom: 15px;
float: right;
height: 16px;
width: 34px;
}
.required { color: red; font-weight: bold;}
.fxform div { margin: 1em 0; }
.label-large, .label-medium, .label-small {
border-bottom: 1px dashed #eee;
float: left;
font-weight: bold;
}
.label-large { width: 14em; }
.large-map { width: 700px; height: 500px; margin: 0 auto; }
.med-map-r { width: 500px; height: 300px; margin: 0 auto; }
.med-map-r div { margin: 0; }
.small-map { width: 400px; height: 200px;}
.small-map div { margin: 0; }
.load { width: 700px; margin: 0 auto; padding-top: 5px; }
.comment {
border: 1px solid #ccc;
border-top: 0;
padding: 10px 5px 0 5px;
}
.comment-mod { background: #ecedf3; }
.comment-content { font-size: 125%; padding-bottom: 50px; }
.comment-tag { font-size: 75%; }
h1 { border-bottom: 1px solid #ccc;
margin-bottom: 0;}
#footer { padding: 30px 0 20px 0; }
img { border: none }
body {
background: #fff url("../img/body_back.png") top repeat-x;
color: #555;
font-family: arial, sans-serif;
margin: 0 10px;
padding: 0;
font-size: x-small;
voice-family: "\"}\"";
voice-family: inherit;
font-size: small;
}
a { color: #34518c; text-decoration: none; }
a:hover { text-decoration: underline; }
#container {
width: 740px;
margin: 0 auto;
}
#mozilla-com a {
float: right;
display: block;
outline: none;
text-indent: -5000em;
width: 110px;
height: 25px;
text-decoration: none;
background: url("../img/mozilla-org.png") no-repeat;
}
#key-menu {
background: #B2C1C8 url("../img/header-bottom.gif") 0 100% no-repeat;
padding: 0 0 10px 0;
overflow: auto;
margin-bottom: 1em;
}
* html #key-menu {
overflow: visible;
height: 1px;
}
#key-menu ul, #key-menu li {
margin: 0;
padding: 0;
list-style: none;
}
#key-menu ul {
padding: 14px 12px 0 12px;
background: url("../img/header-top.gif") 0 0 no-repeat;
}
#key-menu li {
float: left;
background: url("../img/tabs.gif") 100% -50px;
padding-right: 5px;
margin-right: 2px;
border-bottom: 1px solid #849CA4;
margin-bottom: -10px;
}
#key-menu li a, #key-menu li span {
display: block;
float: left;
padding: 3px 15px 2px 20px;
background: url("../img/tabs.gif") 0 -50px;
color: #5A7CBA;
text-decoration: none;
}
#key-menu li:hover a {
background-position: 0 -100px;
}
#key-menu li:hover {
background-position: 100% -100px;
}
#key-menu li.current {
background: url("../img/tabs.gif") 100% 0;
border-bottom-color: white;
}
#key-menu li.current a, #key-menu li.current span {
background: url("../img/tabs.gif") 0 0;
color: #999;
}
#key-menu a:focus { outline: none; }
#header {
clear: both;
padding-top: 40px;
position: relative;
} * html #header { padding-top: 20px; }
#header h1 {
height: 46px;
margin: 0;
font-size: 2px;
position: absolute;
top: 0;
left: -4px;
border: none;
z-index: 5000;
}
#user {
position: absolute;
right: 0;
top: 9px;
margin-left: 200px;
font-family: tahoma, arial, sans-serif;
font-size: 95%;
}
.skipLink {
position: absolute;
left: -1200px;
width: 990px;
}
#map {
border: 1px solid #555;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

View File

@@ -1,87 +0,0 @@
<?php
/* SVN FILE: $Id: index.php,v 1.4 2006-10-08 03:39:23 reed%reedloden.com Exp $ */
/**
* Short description for file.
*
* Long description for file
*
* PHP versions 4 and 5
*
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
* Copyright (c) 2006, Cake Software Foundation, Inc.
* 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright (c) 2006, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
* @package cake
* @subpackage cake.app.webroot
* @since CakePHP v 0.2.9
* @version $Revision: 1.4 $
* @modifiedby $LastChangedBy: phpnut $
* @lastmodified $Date: 2006-10-08 03:39:23 $
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
/**
* Do not change
*/
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
/**
* These defines should only be edited if you have cake installed in
* a directory layout other than the way it is distributed.
* Each define has a commented line of code that explains what you would change.
*
*/
if (!defined('ROOT')) {
//define('ROOT', 'FULL PATH TO DIRECTORY WHERE APP DIRECTORY IS LOCATED DO NOT ADD A TRAILING DIRECTORY SEPARATOR';
//You should also use the DS define to seperate your directories
define('ROOT', dirname(dirname(dirname(__FILE__))));
}
if (!defined('APP_DIR')) {
//define('APP_DIR', 'DIRECTORY NAME OF APPLICATION';
define('APP_DIR', basename(dirname(dirname(__FILE__))));
}
/**
* This only needs to be changed if the cake installed libs are located
* outside of the distributed directory structure.
*/
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
//define ('CAKE_CORE_INCLUDE_PATH', FULL PATH TO DIRECTORY WHERE CAKE CORE IS INSTALLED DO NOT ADD A TRAILING DIRECTORY SEPARATOR';
//You should also use the DS define to seperate your directories
define('CAKE_CORE_INCLUDE_PATH', ROOT);
}
///////////////////////////////
//DO NOT EDIT BELOW THIS LINE//
///////////////////////////////
if (!defined('WEBROOT_DIR')) {
define('WEBROOT_DIR', basename(dirname(__FILE__)));
}
if (!defined('WWW_ROOT')) {
define('WWW_ROOT', dirname(__FILE__) . DS);
}
if (!defined('CORE_PATH')) {
if (function_exists('ini_set')) {
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR . ROOT . DS . APP_DIR . DS);
define('APP_PATH', null);
define('CORE_PATH', null);
} else {
define('APP_PATH', ROOT . DS . APP_DIR . DS);
define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS);
}
}
require CORE_PATH . 'cake' . DS . 'bootstrap.php';
if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') {
} else {
$Dispatcher=new Dispatcher();
$Dispatcher->dispatch($url);
}
if (DEBUG) {
echo "<!-- " . round(getMicrotime() - $TIME_START, 4) . "s -->";
}
?>

View File

@@ -1,172 +0,0 @@
var map;
var marker;
var mouseloc;
function wheelZoom(event) {
function out() {
map.setCenter(mouseloc);
map.zoomOut();
}
if (event.cancelable) event.preventDefault();
{
(event.detail || -event.wheelDelta) < 0 ? map.zoomIn(mouseloc, true) : out();
}
return false;
}
function mapInit(aLat, aLng, aZoom, aState) {
map = new GMap2(document.getElementById("map"));
map.addControl((aState == "stationary") ? new GSmallZoomControl() : new GSmallMapControl());
if (aLat) {
map.setCenter(new GLatLng(aLat, aLng), aZoom);
if (marker) {
map.removeOverlay(marker);
}
marker = new GMarker(new GLatLng(aLat, aLng), (aState != "stationary") ? {draggable: true} : {draggable: false});
}
else {
map.setCenter(new GLatLng(14.944785, -156.796875), 1);
if (marker) {
map.removeOverlay(marker);
}
marker = new GMarker(new GLatLng(14.944785, -156.796875), (aState != "stationary") ? {draggable: true} : {draggable: false});
}
map.addOverlay(marker);
if (aState != "stationary") {
GEvent.addListener(marker, "dragend", function() { onDragEnd(); });
GEvent.addListener(map, "moveend", function(){ onMoveEnd(); });
}
}
function search(event) {
document.getElementById('map-load').setAttribute('style', '');
if (event.cancelable) event.preventDefault();
{
var q = document.getElementById('location').value;
var gcoder = new GClientGeocoder();
gcoder.getLatLng(q, function (point) {
if (!point) {
suggest(q);
document.getElementById('map-load').setAttribute('style', 'visibility: hidden');
}
else {
map.setZoom(10);
map.panTo(point);
document.getElementById('map-load').setAttribute('style', 'visibility: hidden');
}
});
}
return false;
}
function geocode(aLoc) {
var gcoder = new GClientGeocoder();
gcoder.getLatLng(aLoc, function (point) {
if (!point) {
suggest(aLoc);
}
else {
map.setZoom(10);
map.panTo(point);
map.removeOverlay(marker);
marker = new GMarker(point, {draggable: true});
GEvent.addListener(marker, "dragend", function() { onDragEnd(); });
map.addOverlay(marker);
}
});
}
function suggest(loc) {
GDownloadUrl("/js/suggest.php?s=" + loc, function(data, responseCode) {
if (data != 0) {
document.getElementById('locerrlink').innerHTML = data;
document.getElementById('locerr').setAttribute('style', '');
}
});
}
function geocode_suggest() {
var str = document.getElementById('locerrlink').innerHTML;
document.getElementById('location').value = str;
document.getElementById('locerr').setAttribute('style', 'display: none');
geocode(str);
}
function onMoveEnd() {
var point = map.getCenter();
map.removeOverlay(marker);
marker = new GMarker(point, {draggable: true});
map.addOverlay(marker);
GEvent.addListener(marker, "dragend", function() { onDragEnd(); });
editForm();
}
function onDragEnd() {
var point = marker.getPoint()
map.panTo(point);
}
function initMashUp(lat, lng) {
map = new GMap2(document.getElementById("map"));
map.enableDoubleClickZoom();
map.enableContinuousZoom();
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(0, -5.25), 1);
GEvent.addDomListener(document.getElementById("map"), "DOMMouseScroll", wheelZoom);
GEvent.addDomListener(document.getElementById("map"), "mousewheel", wheelZoom);
GEvent.addListener(map, "mousemove", function(point) { mouseloc = point; });
GEvent.addListener(map, "click", function(overlay, point) {
if (overlay) {
if (overlay.mid) {
downloadMarker(overlay.mid, overlay);
}
}
});
if (lat && lng)
map.setCenter(new GLatLng(lat, lng), 10);
else
map.setCenter(new GLatLng(0, -5.25), 1);
addParties();
}
function editForm() {
var ll = map.getCenter();
document.getElementById('lat').value = ll.lat();
document.getElementById('long').value = ll.lng();
document.getElementById('zoom').value = map.getZoom();
}
function shide() {
document.getElementById('locerr').setAttribute('style', 'display: none');
}
function downloadMarker(mid, overlay) {
document.getElementById('map-load').setAttribute('style', '');
GDownloadUrl("/parties/js/html/" + mid, function(data, responseCode) {
if (data != "" && responseCode == 200) {
document.getElementById('map-load').setAttribute('style', 'visibility: hidden');
overlay.openInfoWindowHtml(data);
}
});
}
function addParty(aLat, aLng, aId) {
var point = new GLatLng(aLat, aLng);
var icon = new GIcon();
icon.image = "/img/marker.png";
icon.iconSize = new GSize(12, 20);
icon.iconAnchor = new GPoint(6, 20);
icon.infoWindowAnchor = new GPoint(5, 1);
var mark = new GMarker(point, icon);
mark.mid = aId;
map.addOverlay(mark);
}

View File

@@ -1,47 +0,0 @@
<?php
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Party Tool
*
* The Initial Developer of the Original Code is
* Ryan Flint <rflint@dslr.net>
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
if (empty($_REQUEST['s']))
die();
include('../../vendors/webServices.php');
include('../../config/bootstrap.php');
$suggest = new webServices(array('type' => 'gsuggest'));
$string = $suggest->GSuggest($_REQUEST['s']);
header('Content-type: text/plain');
echo $string;
?>

View File

@@ -1,43 +0,0 @@
<?php
/* SVN FILE: $Id: vendors.php,v 1.4 2006-10-08 03:39:24 reed%reedloden.com Exp $ */
/**
* Short description for file.
*
* This file includes js vendor-files from /vendor/ directory if they need to
* be accessible to the public.
*
* PHP versions 4 and 5
*
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
* Copyright (c) 2006, Cake Software Foundation, Inc.
* 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright (c) 2006, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
* @package cake
* @subpackage cake.app.webroot.js
* @since CakePHP v 0.2.9
* @version $Revision: 1.4 $
* @modifiedby $LastChangedBy: phpnut $
* @lastmodified $Date: 2006-10-08 03:39:24 $
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
/**
* Enter description here...
*/
$file = $_GET['file'];
$pos = strpos($file, '..');
if ($pos === false) {
if(is_file('../../vendors/javascript/'.$file) && (preg_match('/(\/.+)\\.js/', $file)))
{
readfile('../../vendors/javascript/'.$file);
}
} else {
header('HTTP/1.1 404 Not Found');
}
?>