/[Frey]/trunk/lib/Frey/Introspect.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/Introspect.pm

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 688 - (view) (annotate) - [select for diffs]
Modified Tue Dec 2 19:10:36 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 7312 byte(s)
Diff to previous 662
display only pod for *.pod files

Revision 662 - (view) (annotate) - [select for diffs]
Modified Mon Dec 1 23:28:27 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 7311 byte(s)
Diff to previous 635
hide _as_* and move it to title

Revision 635 - (view) (annotate) - [select for diffs]
Modified Sun Nov 30 14:21:09 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 7222 byte(s)
Diff to previous 631
hide tests placeholder if there are none for class

Revision 631 - (view) (annotate) - [select for diffs]
Modified Sun Nov 30 01:32:30 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 7158 byte(s)
Diff to previous 602
forgot to use Frey::Pod as testing under Mojo reviled

Revision 602 - (view) (annotate) - [select for diffs]
Modified Fri Nov 28 19:19:46 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 7142 byte(s)
Diff to previous 599
serialize introsected data to disk as yaml

Revision 599 - (view) (annotate) - [select for diffs]
Modified Fri Nov 28 18:31:28 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6734 byte(s)
Diff to previous 582
include properties other than documentation

Revision 582 - (view) (annotate) - [select for diffs]
Modified Fri Nov 28 13:18:18 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6714 byte(s)
Diff to previous 543
add initial bits for various _as_ methods (not working right now)

Revision 543 - (view) (annotate) - [select for diffs]
Modified Wed Nov 26 19:43:03 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6646 byte(s)
Diff to previous 534
unify dumping code creating Frey::Web->dropdown and Frey::Web->popup
for easy access

cleanup backtrace and move it into Frey::Web

Revision 534 - (view) (annotate) - [select for diffs]
Modified Wed Nov 26 07:58:40 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6857 byte(s)
Diff to previous 506
open in everything in target named as class

Revision 506 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 22:56:41 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6852 byte(s)
Diff to previous 501
added single test invocation

Revision 501 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 21:36:01 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6843 byte(s)
Diff to previous 496
run each invocable method in it's own target

Revision 496 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 21:16:27 2008 UTC (15 years, 4 months ago) by dpavlin
File length: 6831 byte(s)
Diff to previous 471
show tests available

Revision 471 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 10:55:56 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6592 byte(s)
Diff to previous 458
cleanup

Revision 458 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 17:05:59 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6648 byte(s)
Diff to previous 457
fix syntax, test pass

Revision 457 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 16:53:13 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6649 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, 5 months ago) by dpavlin
File length: 6751 byte(s)
Diff to previous 418
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 418 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 16:54:10 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6807 byte(s)
Diff to previous 416
Add title to Frey::Web and use it

Revision 416 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 14:42:58 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6843 byte(s)
Diff to previous 409
fix roles introspection

Revision 409 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 13:52:26 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6751 byte(s)
Diff to previous 408
class_methods can now return hash for easy check of defined methods

Revision 408 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 12:55:32 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6590 byte(s)
Diff to previous 407
move class_methods into ClassLoader and add indication of
input attributes to ClassBrowser

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

Revision 406 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 11:53:58 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6943 byte(s)
Diff to previous 393
edit any line from source view

Revision 393 - (view) (annotate) - [select for diffs]
Modified Tue Nov 18 00:55:56 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6763 byte(s)
Diff to previous 381
better warn output

Revision 381 - (view) (annotate) - [select for diffs]
Modified Mon Nov 17 19:08:31 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6763 byte(s)
Diff to previous 380
make source code display optional

Revision 380 - (view) (annotate) - [select for diffs]
Modified Mon Nov 17 18:42:51 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6748 byte(s)
Diff to previous 358
view source below pod which looks like my vim configuration

Revision 358 - (view) (annotate) - [select for diffs]
Modified Sun Nov 16 16:36:53 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6147 byte(s)
Diff to previous 331
if markup returns HASH, assume it's arguments for Frey::Web->page

Revision 331 - (view) (annotate) - [select for diffs]
Modified Sat Nov 8 16:12:39 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6158 byte(s)
Diff to previous 314
implement PPI parser to get default attribute_order

Revision 314 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 20:18:33 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6120 byte(s)
Diff to previous 313
rename execute to runnable which makes much more sense

Revision 313 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 20:12:50 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 6113 byte(s)
Diff to previous 312
display source role for attributes also

Revision 312 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 20:05:35 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5808 byte(s)
Diff to previous 310
rename CSS class to correct (which maps to class name)

Revision 310 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 19:57:49 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5816 byte(s)
Diff to previous 308
annotate methods with role from which method came

Revision 308 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 19:13:01 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5432 byte(s)
Diff to previous 292
rename all package references to class as Moose calls them [0.18]

Revision 292 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 08:21:03 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5540 byte(s)
Diff to previous 290
 r3134@llin (orig r258):  dpavlin | 2008-11-04 21:26:59 +0100
 make Frey::Introspect default action if there is no
 method specified in url, resulting in major reduction of
 html everywhere which is nice


Revision 290 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 08:21:01 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5606 byte(s)
Diff to previous 288
 r3132@llin (orig r256):  dpavlin | 2008-11-04 20:38:49 +0100
 added type column, highlight current row on hover for better visual aligment


Revision 288 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 08:20:59 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5491 byte(s)
Diff to previous 278
 r3130@llin (orig r254):  dpavlin | 2008-11-04 20:11:06 +0100
 introspect default values


Revision 278 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 08:20:51 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5385 byte(s)
Diff to previous 277
 r3120@llin (orig r244):  dpavlin | 2008-11-04 17:40:21 +0100
 REST invocation is now /Class-Name/method with new
 params in request.
 
 I would really *love* to have :: instead of -, but Mojo
 doesn't like it so we support it for now


Revision 277 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 08:20:50 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5385 byte(s)
Diff to previous 270
 r3097@llin (orig r243):  dpavlin | 2008-11-02 22:24:04 +0100
 a swipe of refactoring to run under Mojo and Continuity with same REST API
 
 - all objects are now invoked using URL path as object name and param
   (which doesn't work with Mojo as of this commit)
 - Frey::Run is now usable Moose object for both servers
 - move handling of Continuity bits into Frey::Server only


Revision 270 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 08:20:44 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5325 byte(s)
Diff to previous 269
 r3090@llin (orig r236):  dpavlin | 2008-11-01 17:41:45 +0100
 rename package to class to be more consistent with rest of code


Revision 269 - (view) (annotate) - [select for diffs]
Modified Wed Nov 5 08:20:42 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5359 byte(s)
Diff to previous 227
 r3089@llin (orig r235):  dpavlin | 2008-11-01 16:36:33 +0100
 turned to markup


Revision 227 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 01:38:13 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5572 byte(s)
Diff to previous 215
added execute links to introspect page for quick access

Revision 215 - (view) (annotate) - [select for diffs]
Modified Fri Oct 31 19:59:16 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5380 byte(s)
Diff to previous 213
move more makrup to CSS (removed <tt>)

Revision 213 - (view) (annotate) - [select for diffs]
Modified Fri Oct 31 19:51:51 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5397 byte(s)
Diff to previous 212
rest of rename from html -> request

Revision 212 - (view) (annotate) - [select for diffs]
Modified Fri Oct 31 17:58:45 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5388 byte(s)
Diff to previous 211
more tweak to Inspector's look, now it's half-decent :-)

Revision 211 - (view) (annotate) - [select for diffs]
Modified Fri Oct 31 17:27:39 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5418 byte(s)
Diff to previous 210
Changes to make Inspector more useful

- split fray-popup (status bar) and fray-popdown (dumps)
- make status bar transparent and than again solid on hover
- fix pod html by CSS tweak

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

Revision 202 - (view) (annotate) - [select for diffs]
Modified Tue Oct 28 22:33:25 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5524 byte(s)
Diff to previous 199
provide more visual clues which areas are hoverable
(and this produce popup dumps) and fix markup


Revision 199 - (view) (annotate) - [select for diffs]
Modified Tue Oct 28 21:47:18 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5506 byte(s)
Diff to previous 198
dump roles and some attribute design (well, aligment at least...)

Revision 198 - (view) (annotate) - [select for diffs]
Modified Tue Oct 28 21:24:07 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5351 byte(s)
Diff to previous 197
dump two levels of superclass on hover

Revision 197 - (view) (annotate) - [select for diffs]
Modified Tue Oct 28 20:46:35 2008 UTC (15 years, 5 months ago) by dpavlin
File length: 5259 byte(s)
Diff to previous 160
added attribute properties with hoove css popup for dump (no js! :-)

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

Revision 140 - (view) (annotate) - [select for diffs]
Modified Wed Jul 16 00:06:19 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4703 byte(s)
Diff to previous 139
roles can have roles, so we need to handle that

Revision 139 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 23:35:27 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4639 byte(s)
Diff to previous 137
add css just once

Revision 137 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 18:06:27 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4648 byte(s)
Diff to previous 134
fixed role introspection and simplify code [0.12]

Revision 134 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 14:56:28 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4734 byte(s)
Diff to previous 133
 r153@eeepy:  dpavlin | 2008-07-15 16:56:43 +0200
 - don't call is_required on objects which can't do it
 - display package roles also


Revision 133 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 13:58:07 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4452 byte(s)
Diff to previous 128
 r151@eeepy:  dpavlin | 2008-07-15 15:58:25 +0200
 display required attributes as bold with title "required" instead of separate column


Revision 128 - (view) (annotate) - [select for diffs]
Modified Mon Jul 14 23:39:56 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4426 byte(s)
Diff to previous 124
introspection now shows pod documentation (if any)

Revision 124 - (view) (annotate) - [select for diffs]
Modified Mon Jul 14 22:44:12 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4227 byte(s)
Diff to previous 121
added superclasses -- and it magically works all op to Moose:Object :-)

It's turtles all the way down! (err, Moose...)

Revision 121 - (view) (annotate) - [select for diffs]
Modified Mon Jul 14 21:22:43 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3962 byte(s)
Diff to previous 120
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 120 - (view) (annotate) - [select for diffs]
Modified Sun Jul 13 19:46:10 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4276 byte(s)
Diff to previous 116
cleanup introspection interface

Revision 116 - (view) (annotate) - [select for diffs]
Modified Sun Jul 13 18:01:40 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4270 byte(s)
Diff to previous 100
fix generation of methods and attributes html

Revision 100 - (view) (annotate) - [select for diffs]
Modified Fri Jul 11 19:19:42 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4203 byte(s)
Diff to previous 66
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

Revision 66 - (view) (annotate) - [select for diffs]
Modified Wed Jul 9 12:08:07 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 5548 byte(s)
Diff to previous 59
moved error catching into Frey::Server

Revision 59 - (view) (annotate) - [select for diffs]
Modified Tue Jul 8 12:19:04 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 5705 byte(s)
Diff to previous 56
don't hide load_class dies

Revision 56 - (view) (annotate) - [select for diffs]
Modified Sun Jul 6 11:59:58 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 5667 byte(s)
Diff to previous 55
more work on server-size class browser

- correct loading of modules
- display required attributes

Revision 55 - (view) (annotate) - [select for diffs]
Modified Sat Jul 5 19:00:10 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 5637 byte(s)
Diff to previous 54
remove all usage of Template::Declare [0.05]

- die gracefully if class can't be loaded

Revision 54 - (view) (annotate) - [select for diffs]
Modified Sat Jul 5 16:50:17 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 5467 byte(s)
Diff to previous 53
added methods and attributes

Revision 53 - (view) (annotate) - [select for diffs]
Modified Sat Jul 5 15:19:55 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 4745 byte(s)
Diff to previous 51
huge wapping changes all over the place [0.05]

- begin move to Continuity::Widget instread of Template::Declare
- Frey::Introspection can now mock joose object with accessors

Revision 51 - (view) (annotate) - [select for diffs]
Modified Thu Jul 3 19:51:18 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 3345 byte(s)
Diff to previous 50
introspection of Moose object improvements and class ajax callback

Revision 50 - (view) (annotate) - [select for diffs]
Modified Wed Jul 2 22:30:19 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 2828 byte(s)
Diff to previous 49
more introspection, including few dummy types

Revision 49 - (view) (annotate) - [select for diffs]
Added Wed Jul 2 21:10:57 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 2300 byte(s)
first version of introspection tool which dump joose classes with attributes
version bump [0.03]

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