This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /trunk/lib/Frey/Web.pm
Parent Directory
| Revision Log
Revision
986 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 10 18:53:15 2009 UTC
(15 years, 5 months ago)
by
dpavlin
File length: 17852 byte(s)
Diff to
previous 968
add body padding so status line doesn't overlap page content
Revision
968 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 9 14:52:58 2009 UTC
(15 years, 5 months ago)
by
dpavlin
File length: 17757 byte(s)
Diff to
previous 965
remove defunct Continuity and HTTP::Engine server [0.26]
Revision
961 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 7 19:41:48 2009 UTC
(15 years, 5 months ago)
by
dpavlin
File length: 17758 byte(s)
Diff to
previous 957
rename Frey::Web->page into Frey::Web->html_page to preserve page
for later use
Revision
957 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 7 17:50:03 2009 UTC
(15 years, 5 months ago)
by
dpavlin
File length: 17743 byte(s)
Diff to
previous 949
port a bit more of no-pager (next page still doesn't work)
Revision
922 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 5 20:31:14 2009 UTC
(15 years, 5 months ago)
by
dpavlin
File length: 17286 byte(s)
Diff to
previous 908
filenames really don't have newlines, warning is correct :-)
Revision
908 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 2 13:22:13 2009 UTC
(15 years, 5 months ago)
by
dpavlin
File length: 17261 byte(s)
Diff to
previous 892
r1003@eeepy: dpavlin | 2009-01-01 19:04:54 +0100
use jquery from google ajax api hosting if not available locally
Revision
859 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 16 14:26:23 2008 UTC
(15 years, 5 months ago)
by
dpavlin
File length: 17218 byte(s)
Diff to
previous 857
relax html regex (again!), include content if it's html-like
Revision
839 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 14 22:47:48 2008 UTC
(15 years, 5 months ago)
by
dpavlin
File length: 17051 byte(s)
Diff to
previous 838
refactor add_js and add_css to both accept path or content with _add_something
Revision
838 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 14 22:15:51 2008 UTC
(15 years, 5 months ago)
by
dpavlin
File length: 16902 byte(s)
Diff to
previous 837
refactor add_js and add_css to both accept path or content with _add_something
Revision
816 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 11 21:36:04 2008 UTC
(15 years, 5 months ago)
by
dpavlin
File length: 16397 byte(s)
Diff to
previous 813
check icons all the way down the class path up to Frey (no default)
Revision
796 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 10 18:47:14 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 15930 byte(s)
Diff to
previous 793
use usage sort in status, to reduce mouse movement
Revision
793 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 10 17:51:29 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 15913 byte(s)
Diff to
previous 791
Frey::Class::Refactor::Modify Frey::ClassBrowser -> Frey::Class::Browser
Revision
725 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 5 17:33:00 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 15487 byte(s)
Diff to
previous 720
fix warnings and take title for icon if it's not specified
Revision
720 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 4 20:20:45 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 15357 byte(s)
Diff to
previous 685
move checkbox to Frey::Web, fix multiple file commit
Revision
685 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 2 18:29:01 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 14819 byte(s)
Diff to
previous 682
use frey-fatal class to surround content with red-white line
(used in errors with backtrace)
Revision
682 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 2 17:36:51 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 14822 byte(s)
Diff to
previous 678
move path_size to Frey::Path, rename editor_links to html_links, better links to paths all over
Revision
677 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 2 02:01:23 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 14459 byte(s)
Diff to
previous 674
fix conversion to html to aviod double linking class names
Revision
671 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 2 01:31:32 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 14413 byte(s)
Diff to
previous 653
support two new types of errors, just like warn does
Revision
648 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 30 19:21:52 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 13678 byte(s)
Diff to
previous 644
implement seek to end of last logged part and fix warnings_html
Revision
644 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 30 16:21:07 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 13505 byte(s)
Diff to
previous 634
open exit in new target so we can restart Mojo server and just close tab.
Then, we have additional step of reloading the page, but that will be fixed
when we have ability to send stuff directly to browser socket before exit
Revision
634 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 30 14:02:35 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 13491 byte(s)
Diff to
previous 629
enlarge snippet to 250 chars since our popup will wrap text
correctly and hide stuff from Mojo, Class::MOP and Moose
from output
Revision
627 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 29 22:02:08 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 13447 byte(s)
Diff to
previous 625
split out Continuity based bits to Frey::Server::Continuity
and work a bit on Frey::Mojo
Revision
625 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 29 17:48:54 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 13403 byte(s)
Diff to
previous 613
first refactor to support request_url correctly (needs more work)
Revision
611 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 28 23:34:26 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 13131 byte(s)
Diff to
previous 600
use Text::Tabs to correctly chop warn output in popup,
re-implement warning colors using classes
and cleaner code (allthough diff doesn't look like that :-)
Revision
600 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 28 19:19:03 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 12684 byte(s)
Diff to
previous 596
report inline path inside script or style tag as comment, so we see it in firebug
Revision
577 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 28 00:30:03 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 11639 byte(s)
Diff to
previous 568
first try at refactoring
- remove some of Moose sugar and turn to our which is less code for head
- add_css for easy add of css snippets (tracked with source)
- add_status can now append
- clean_status cleans head
- added some pod
- cleanup backtrace which goes to log
Revision
564 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 27 21:31:02 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 11100 byte(s)
Diff to
previous 546
add TODO, cleanup dependency on Continuity::Widget::DomNode
Revision
546 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 26 20:48:07 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 11186 byte(s)
Diff to
previous 543
better html detection, cleanup code and move around in class
Revision
543 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 26 19:43:03 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 11185 byte(s)
Diff to
previous 540
unify dumping code creating Frey::Web->dropdown and Frey::Web->popup
for easy access
cleanup backtrace and move it into Frey::Web
Revision
538 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 26 17:36:02 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 10427 byte(s)
Diff to
previous 537
dump perl's %INC to get all module loaded in image
Revision
535 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 26 16:17:17 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 9882 byte(s)
Diff to
previous 532
move Frey::Escape funcionality into Frey::Web and chop long warn lines
Revision
532 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 26 07:57:12 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 9152 byte(s)
Diff to
previous 529
refactor Frey::Boostrap from Frey::Server to have correct warn handling
- we now use File::Tee to capture STDERR to file and display that
(with filtering) for display
- added FREY_NO_LOG enviroment variable to disable logging (for perl -c)
- move all warnings handling into Frey::Web->warnings_html
- make Frey->debug Int (this touched a bunch of tests)
Revision
527 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 26 02:35:59 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 7854 byte(s)
Diff to
previous 524
classes can now call add_icon to add custom icon variants
based on generated content or default icons will be assigned
Revision
524 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 26 00:45:52 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 7562 byte(s)
Diff to
previous 519
first icon implementation with automatic converter which depends on ImageMagick's convert
Revision
519 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 25 17:15:18 2008 UTC
(15 years, 6 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, 6 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, 6 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, 6 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
482 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 20 15:23:13 2008 UTC
(15 years, 6 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
477 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 20 13:57:38 2008 UTC
(15 years, 6 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
473 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 20 11:56:41 2008 UTC
(15 years, 6 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, 6 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
455 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 19 15:28:23 2008 UTC
(15 years, 6 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, 6 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
417 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 18 16:39:13 2008 UTC
(15 years, 6 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, 6 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, 6 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, 6 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, 6 months ago)
by
dpavlin
File length: 3864 byte(s)
Diff to
previous 392
show dumps < 1k, error can now accept multiple arguments
Revision
389 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 18 00:30:29 2008 UTC
(15 years, 6 months ago)
by
dpavlin
File length: 3598 byte(s)
Diff to
previous 388
report correct position for Frey::Web->error with edit link
Revision
316 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 5 21:40:02 2008 UTC
(15 years, 7 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
210 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 31 16:28:58 2008 UTC
(15 years, 7 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, 7 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
161 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 17 19:33:51 2008 UTC
(15 years, 10 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, 10 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
156 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 17 17:55:39 2008 UTC
(15 years, 10 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, 10 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, 10 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, 10 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
100 -
(
view)
(
annotate)
-
[select for diffs]
Added
Fri Jul 11 19:19:42 2008 UTC
(15 years, 11 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.