Chris Saunders | 1 Sep 2009 03:41

Can't understand this

I'm resending this question.  I had a reply to this question from Manu and 
have made some changes to the code that should address that reply.  I'm 
going to show what I think is the minimal amount of code that will 
demonstrate the problem.  First class INT_8_REF which has a lot of its code 
removed:

class
 INT_8_REF

inherit
 ALGEBRAIC_NUMBER [INTEGER_8]
  undefine
   is_equal
  redefine
   default_create
  end

 COMPARABLE
  undefine
   copy,
   out
  redefine
   default_create
  end

 INTEGRAL_DOMAIN [INTEGER_8]
  undefine
   copy,
   is_equal,
   out
(Continue reading)

larryliuming | 1 Sep 2009 03:47
Picon
Gravatar

Re: EiffelBuild Questions

Hi, Simon,

To control column width of {EV_TABLE}, maybe you have to do it manually. It means you should change the
minimum width of {EV_TABLE} items to control the column width in {EV_TABLE} resize actions. Maybe there
are better solutions... BTW, I think {EV_GRID} is better than {EV_TABLE} in most cases, maybe you could
try {EV_GRID} which can set column width directly ({EV_GRID_COLUMN}.set_width).

To reorder widgets in a vertical box in EiffelBuild, if you want to move the 3rd widget up to the position of
first widget:

1.Pick and drop 1st widget to the vertical box (now, this widget will be moved from 1st position to 3rd position).

2.Then you pick and drop 1st widget (the 1st widget after you did step 1) to the vertical box again. The widget
will be moved from 1st position to 3rd position.

3.Now the original 3rd widget will be positioned at 1st position

------------------------------------

OWASP Hartford | 1 Sep 2009 03:55

OWASP Hartford: September 2009

> The Open Web Application Security Project (OWASP) is a worldwide free and
> open community focused on improving the security of application software.
> Our mission is to make application security "visible," so that people and
> organizations can make informed decisions about application security
> risks. Everyone is free to participate in OWASP and all of our materials
> are available under a free and open software license. 
> 
> The agenda for this meeting is posted at:
> http://www.owasp.org/index.php/Hartford
> 
> To receive future invites, please subscribe to our mailing list at:
> https://lists.owasp.org/mailman/listinfo/owasp-hartford

[Non-text portions of this message have been removed]

------------------------------------

dciphercomputing | 1 Sep 2009 14:57

Re: EiffelBuild Questions

I will look at the grid layout as it sound more like what I want.  Thanks for the explanation about re-ordering controls.

Simon

--- In eiffel_software@..., "larryliuming"
<larryliuming <at> ...> wrote:
>
> Hi, Simon,
> 
> To control column width of {EV_TABLE}, maybe you have to do it manually. It means you should change the
minimum width of {EV_TABLE} items to control the column width in {EV_TABLE} resize actions. Maybe there
are better solutions... BTW, I think {EV_GRID} is better than {EV_TABLE} in most cases, maybe you could
try {EV_GRID} which can set column width directly ({EV_GRID_COLUMN}.set_width).
> 
> To reorder widgets in a vertical box in EiffelBuild, if you want to move the 3rd widget up to the position of
first widget:
> 
> 1.Pick and drop 1st widget to the vertical box (now, this widget will be moved from 1st position to 3rd position).
> 
> 2.Then you pick and drop 1st widget (the 1st widget after you did step 1) to the vertical box again. The
widget will be moved from 1st position to 3rd position.
> 
> 3.Now the original 3rd widget will be positioned at 1st position
>

------------------------------------

Daniel Furrer | 1 Sep 2009 15:22
Picon

EiffelStudio installation on the Mac

We are having some trouble with creating an EiffelStudio binary package for
our first semester course:

The issue seems to be related to the gtk2 MacPorts installer [1] but then
again it could be a problem with something ES specific as well, so I count
on your insight ;)

Here's what I found out:

   - Installing EiffelStudio from a mpkg file created by MacPorts on a
   freshly installed and updated 10.5.8 works fine, but when trying to start
   EiffelStudio the X server will come up, then the application hangs and
   nothing more happens. (It seems to be stuck in EC_EV_LAUNCHER root's
   creation procedure)

   - Interestingly EiffelStudio will start when the environement variables
   are not defined (the GTK+ window shows up correctly) but is then not able to
   find icons, wizards, etc.

   - Installing MacPorts, building gtk2 and then installing eiffelstudio.pkg
   on that machine seems to fix the problem. There seems to be some problem
   with installing gtk2 with the pkg files.

Best regards,
Daniel Furrer

1: I have asked for help on the MacPorts list as well

[Non-text portions of this message have been removed]

(Continue reading)

Iliyan Gochev | 1 Sep 2009 16:09
Picon

Re: Re: EiffelBuild Questions

About the reorganization of widgets you could grab a widget with right mouse
button click, hold down Shift, and place the widget into its new place.
No need to move all the widgets.

P.S. This is one of the Tip of the Day of EiffelBuild. You can read them
through the Help menu, they aren't too many, but are helpful. :)

Regards,
Iliyan

On Tue, Sep 1, 2009 at 3:57 PM, dciphercomputing <
simonwhite@...> wrote:

>
>
> I will look at the grid layout as it sound more like what I want. Thanks
> for the explanation about re-ordering controls.
>
> Simon
>
>
> --- In eiffel_software@... <eiffel_software%40yahoogroups.com>,
> "larryliuming" <larryliuming <at> ...> wrote:
> >
> > Hi, Simon,
> >
> > To control column width of {EV_TABLE}, maybe you have to do it manually.
> It means you should change the minimum width of {EV_TABLE} items to control
> the column width in {EV_TABLE} resize actions. Maybe there are better
> solutions... BTW, I think {EV_GRID} is better than {EV_TABLE} in most cases,
(Continue reading)

peter7723 | 1 Sep 2009 16:11
Picon
Favicon

Re: EiffelBuild Questions

--- In eiffel_software@..., "dciphercomputing"
<simonwhite <at> ...> wrote:

...

> Secondly is it possible to change the order of controls in a Vertical
> box?  Let's say I added three widgets and realize that the 3rd widget
> should be the first widget how can I move the 3rd width up to the
> position of the first widget?  The only solution I have found is to
> delete the widgets and start again which is a problem.

To position a widget in an unfilled container above/before another widget, hold down shift and then
right-click to drop.

Peter Horan

------------------------------------

boxer41a | 1 Sep 2009 17:49
Picon
Favicon

Re: Lego Mindstorms

Can I resuscitate this project?

I [still] would like to make a library for use with the Lego Mindstorms robot.  My simple-minded approach so
far is to wrap only a few of the features from the Fantom API.  The main feature I want to wrap is the
"send_direct_command" method.  I am thinking if I could get this feature working, I could simply look up
the byte codes in a table and use the feature to send the byte codes of the command to the robot.  But, alas, I
cannot even get the simplest wrapper to work.  Most likely, this is because of my lack of recent experience
with C and C++.  I have read the examples at eiffelroom and the cecil documentation at Eiffel Software and
even looked some class slides from the "touch of class" course, but I am simply pattern matching; I do not
have a good understanding of what is going on.

So…the point(s) is:  
1.  Is there anyone that would like to help with this project?
2.  Is there any "Eiffel wrapping of c/c++ functions" documentation aimed at a newcomer in this area?  (How is
this subject taught to a comp sci 101 student in the "bottom-up" curriculum who has not learned c/c++?)
3.  Is there anyone willing to give me about one hour of OJT using instant messaging or email in regards to
c/c++ wrapping?  I could really use the immediate feedback and I hate to clog this forum up with my baby
questions of which I have many.

Thanks,

Jimmy J. Johnson

------------------------------------

boxer41a | 1 Sep 2009 21:20
Picon
Favicon

Dynamic discovery of structure?

Is there a way to determine *all* the types to which an object conforms?

Or to determine which object types conform to a particular object?

Is there a way to determine an object's *class* hierarchy?

If so, is there a way to determine from which class an object's field originated and from which class the last
redefinition came?

------------------------------------

Colin LeMahieu | 1 Sep 2009 21:25
Picon

Re: Dynamic discovery of structure?

Sounds like you're looking for the Class and Feature tools.  View -> Tools
-> Class, View -> Tools -> Features.  With these you can find derived types,
ancestor types, descendant versions, ancestor versions, calees, callers,
assigners, etc.

On Tue, Sep 1, 2009 at 2:20 PM, boxer41a <boxer41a@...> wrote:

>
>
> Is there a way to determine *all* the types to which an object conforms?
>
> Or to determine which object types conform to a particular object?
>
> Is there a way to determine an object's *class* hierarchy?
>
> If so, is there a way to determine from which class an object's field
> originated and from which class the last redefinition came?
>
>  
>

[Non-text portions of this message have been removed]

------------------------------------


Gmane