/[Frey]/trunk/lib/Frey/Web.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /trunk/lib/Frey/Web.pm

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 519 - (view) (annotate) - [select for diffs]
Modified Tue Nov 25 17:15:18 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6795 byte(s)
Diff to previous 518
refactor status into package global our @status
and reset it manually on beginning of request

try to break out from Frey::Test::Runner recursion and
display tests in title

Revision 518 - (view) (annotate) - [select for diffs]
Modified Tue Nov 25 14:58:59 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6630 byte(s)
Diff to previous 516
insert status debug all over the place, still no clean solution :-\

Revision 516 - (view) (annotate) - [select for diffs]
Modified Tue Nov 25 14:14:21 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6646 byte(s)
Diff to previous 507
show real svn revision as opposed to mirrored copy

Revision 507 - (view) (annotate) - [select for diffs]
Modified Tue Nov 25 00:26:15 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6552 byte(s)
Diff to previous 505
new add_status to add data to status line (not working fully yet)

Revision 505 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 22:21:02 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6410 byte(s)
Diff to previous 482
show svk commit number along with version

Revision 482 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 15:23:13 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6333 byte(s)
Diff to previous 480
color warn output in popup according to number of prefixed hashes (#) 

Revision 480 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 14:39:43 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6030 byte(s)
Diff to previous 477
create editor links

Revision 477 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 13:57:38 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 5555 byte(s)
Diff to previous 476
added real server reload via helper script bin/dev.sh
which is now recomended way to start development enviroment

Revision 476 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 12:56:37 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 5339 byte(s)
Diff to previous 473
added dump_max_bytes

Revision 473 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 11:56:41 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 5132 byte(s)
Diff to previous 468
re-order status line for more logical positions

ClassBrowser is now first because it opens on fixed position from the left,
and this ensures that pop-up from ClassBrowser is wide enough to mouse
over to it...

Move current url to right, last thing in line is warn, and before
that is name of executed Action

Revision 468 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 19:59:52 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 5062 byte(s)
Diff to previous 465
collect warn output by traping $SIG{__WARN__}
and show it in status line with editor_links

Revision 465 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 19:11:52 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4793 byte(s)
Diff to previous 460
split backtrace generation into Frey::Backtrace

Revision 460 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 17:57:48 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 5115 byte(s)
Diff to previous 457
append backtrace to errors if available

Revision 457 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 16:53:13 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4611 byte(s)
Diff to previous 455
added class_runnable, class_inputs and cleanup

Revision 455 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 15:28:23 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4713 byte(s)
Diff to previous 448
rename invocable events with prefix as_ with fallback in Frey::Web

This started with brute-force rename using:

  perl -p -i -n -e 's/sub markup/sub as_markup/'  `grep -lr 'sub markup' lib t`
  perl -p -i -n -e 's/sub data/sub as_data/'      `grep -lr 'sub data' lib t`
  perl -p -i -n -e 's/sub sponge/sub as_sponge/'  `grep -lr 'sub sponge' lib t`

  perl -p -i -n -e 's/->markup/->as_markup/'      `grep -lr -- '->markup' lib t`
  perl -p -i -n -e 's/->data/->as_data/'          `grep -lr -- '->data' lib t`
  perl -p -i -n -e 's/->sponge/->as_sponge/'      `grep -lr -- '->sponge' lib t`

  perl -p -i -n -e 's!/markup!/as_markup!'        `grep -lr -- '/markup' lib t etc`
  perl -p -i -n -e 's!/data!/as_data!'            `grep -lr -- '/data' lib t etc`
  perl -p -i -n -e 's!/sponge!/as_sponge!'        `grep -lr -- '/sponge' lib t etc`


Revision 448 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 03:36:24 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4602 byte(s)
Diff to previous 446
added content_type to enable return of content without markup
added test for Frey::JSON

Revision 446 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 03:11:11 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4451 byte(s)
Diff to previous 445
support newlines in head html content

Revision 445 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 03:00:46 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4449 byte(s)
Diff to previous 444
example for html content in head

Revision 444 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 02:52:42 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4428 byte(s)
Diff to previous 439
add_head now accepts html to add into head

Revision 439 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 01:37:49 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4312 byte(s)
Diff to previous 434
remove ?reload= from url

Revision 434 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 01:21:31 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4276 byte(s)
Diff to previous 422
sort classes in ClassBrowser by usage

Revision 422 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 17:41:41 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4255 byte(s)
Diff to previous 418
better reporting of mungled status parts

Revision 418 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 16:54:10 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4211 byte(s)
Diff to previous 417
Add title to Frey::Web and use it

Revision 417 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 16:39:13 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 4062 byte(s)
Diff to previous 410
link via package messages to editor and enable passing of
class names as arguments

Revision 410 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 13:57:52 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3966 byte(s)
Diff to previous 407
fix usage of Bookmarklet and ClassBrowser for status line
making test pass again

Revision 407 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 12:02:57 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3956 byte(s)
Diff to previous 398
platform-specific editor stuff is not in Frey::Editor

Revision 398 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 02:14:40 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3955 byte(s)
Diff to previous 397
sanity check for status parts, append backtrace only if we don't
allready have it

Revision 397 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 01:45:44 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3864 byte(s)
Diff to previous 392
show dumps < 1k, error can now accept multiple arguments

Revision 392 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 00:55:23 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3737 byte(s)
Diff to previous 389
finish request_url support so it works now

Revision 389 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 00:30:29 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3598 byte(s)
Diff to previous 388
report correct position for Frey::Web->error with edit link

Revision 388 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 00:19:22 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3511 byte(s)
Diff to previous 385
real status line handling, added request_url

Revision 385 - (view) (annotate) - [select for diffs]
Modified Mon Nov 17 20:14:12 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3144 byte(s)
Diff to previous 375
set Content-Type encoding in html

Revision 375 - (view) (annotate) - [select for diffs]
Modified Mon Nov 17 16:59:06 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3071 byte(s)
Diff to previous 350
strict linking to eval errors

Revision 350 - (view) (annotate) - [select for diffs]
Modified Sun Nov 16 00:37:34 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 3069 byte(s)
Diff to previous 316
move error into Frey::Web and use it

Revision 316 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 21:40:02 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 2864 byte(s)
Diff to previous 214
ENV dump and REQUEST_URI instead of word reload, which is guessable from nature of link

Revision 214 - (view) (annotate) - [select for diffs]
Modified Fri Oct 31 19:53:50 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 2734 byte(s)
Diff to previous 210
fix tests

Revision 210 - (view) (annotate) - [select for diffs]
Modified Fri Oct 31 16:28:58 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 2710 byte(s)
Diff to previous 206
link to CPAN documentation with target which contains name of server

Revision 206 - (view) (annotate) - [select for diffs]
Modified Thu Oct 30 22:35:11 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 2598 byte(s)
Diff to previous 183
restructure bookmarklets and put them in status bar with CSS popup

Revision 183 - (view) (annotate) - [select for diffs]
Modified Tue Sep 9 23:14:31 2008 UTC (15 years, 6 months ago) by dpavlin
File length: 2363 byte(s)
Diff to previous 163
added pod for page

Revision 163 - (view) (annotate) - [select for diffs]
Modified Thu Jul 17 22:26:21 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 2223 byte(s)
Diff to previous 161
embed original filename when inlining content

Revision 161 - (view) (annotate) - [select for diffs]
Modified Thu Jul 17 19:33:51 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 2171 byte(s)
Diff to previous 160
inline css and javascript smaller than some size (by default, 10k)

Revision 160 - (view) (annotate) - [select for diffs]
Modified Thu Jul 17 19:11:01 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 1766 byte(s)
Diff to previous 157
call add_head all over the place, and include frey.css

Revision 157 - (view) (annotate) - [select for diffs]
Modified Thu Jul 17 18:00:28 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 1747 byte(s)
Diff to previous 156
restore frey status line

Revision 156 - (view) (annotate) - [select for diffs]
Modified Thu Jul 17 17:55:39 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 1748 byte(s)
Diff to previous 154
- simplify api to add_head
- rename frey css and prefix our classes with frey- to avoid conflicts

Revision 154 - (view) (annotate) - [select for diffs]
Modified Thu Jul 17 17:04:21 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 2090 byte(s)
Diff to previous 142
- rename javascript to shorter js (much nicer in code!)
- add_head now checks if file exists and add it approriately
- more tests

Revision 142 - (view) (annotate) - [select for diffs]
Modified Wed Jul 16 14:14:18 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 1612 byte(s)
Diff to previous 121
skeleton of reload functionality, non-working for now

Revision 121 - (view) (annotate) - [select for diffs]
Modified Mon Jul 14 21:22:43 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 1520 byte(s)
Diff to previous 106
central page creation [0.11]

- make (optional) development feature in Makefile.PL
- split page generation in Frey::Web->page
- cleanup of html generation code all over
- jump to Carp::REPL on errors (nice, but needs to be in browser)

This is a move to more embedded html. While it does seem evil, we are aming
here at lean framework, so readability is prefered...

Revision 106 - (view) (annotate) - [select for diffs]
Modified Sun Jul 13 12:22:14 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 503 byte(s)
Diff to previous 100
added Frey::Collection role to database models

Revision 100 - (view) (annotate) - [select for diffs]
Added Fri Jul 11 19:19:42 2008 UTC (15 years, 8 months ago) by dpavlin
File length: 502 byte(s)
another refactoring

- cleanup cruft code
- create Frey::ClassLoader to deal with package/class stuff
- Frey::Web role with dom2html to based on Continuity::Widget::DomNode

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26