Oren Bar | 4 Jan 23:04 2011
Picon

semantic-analyze-proto-impl-toggle won't find suitable implementation

1. I found this in a c++ project.
looking in semantic-analyze-refs.el in defmethod semantic-analyze-refs-impl:
I think the call to:
(semantic-tag-similar-p tag aT :prototype-flag :parent)
is buggy.

I changed it to:
(semantic-tag-similar-p tag aT :prototype-flag :parent :typemodifiers)

and it works.
I'm not sure that what I did is valid to other programming languages
(i.e. type modifiers are not part of implementation if done outside of class declaration)

2. Is there a function that returns a list of available prototypes/implementations, in a minibuffer or something similar?
   it would be useful for browsing virtual functions.
 
Regards,
Oren

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
cedet-semantic mailing list
cedet-semantic <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-semantic
Daniel Lopez | 5 Jan 01:44 2011

Re: semantic-analyze-proto-impl-toggle won't find suitable implementation

On 04/01/2011 22:04, Oren Bar wrote:
> 2. Is there a function that returns a list of available
> prototypes/implementations, in a minibuffer or something similar?
>     it would be useful for browsing virtual functions.

Sounds like what I was asking for the other day - try M-x semantic-ia-show-variants. (Note this only exists
in the latest CEDET from the BZR repository, and not in the parts that come with Emacs 23.2.)

Daniel

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
Jacob Moen | 9 Jan 21:59 2011
Picon

Semantic idle error on namespaced typedef cc mode

Hi Cedet'ers

I receive the following error:
Idle Service Error semantic-idle-local-symbol-highlight-idle-function:
"#<buffer TutorialApplication.cpp> - Wrong type argument: stringp, nil"

When using the following code:
typedef double Real;
void doSomething(Real param);

The problem is that I need to be able to use Ogre3D (c++ 3D rendering
library) and it uses typedefs.

Is there anything I am missing?
If I don't include Ogre headers, all is fine.
Qt is fine too.

Cheers

Jacob

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
David Engster | 9 Jan 22:42 2011
Picon

Re: Semantic idle error on namespaced typedef cc mode

Jacob Moen writes:
> I receive the following error:
> Idle Service Error semantic-idle-local-symbol-highlight-idle-function:
> "#<buffer TutorialApplication.cpp> - Wrong type argument: stringp, nil"
>
> When using the following code:
> typedef double Real;
> void doSomething(Real param);
>
> The problem is that I need to be able to use Ogre3D (c++ 3D rendering
> library) and it uses typedefs.

Hi Jacob,

currently, I cannot reproduce this problem. I installed Ogre3D
1.7.2. and use the following file:

#include <OGRE/Ogre.h>
typedef double Real;
void doSomething(Real param);
Ogre::Ent // complete here

and I get the following completions:

class Entity {}
struct EntityMaterialLodChangedEvent {}
struct EntityMeshLodChangedEvent {}

Also, I don't get any errors during completion or from the idle
highlight function.

Which version of CEDET are you using? Please try the latest checkout
from the bzr repo, which you can get via

bzr checkout bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk/

If you still get errors with CEDET from bzr, call

M-x semantic-debug-idle-function

to get a backtrace from the idle function, and post it here.

-David

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
s.stepanov | 13 Jan 15:39 2011
Picon

CEDET/semantic and cross-compiler

Hello list,


i would like use the cedet with cross-compiler.

But the semantic-gcc-setup uses only the host gcc to get its environment.

if it is not ok can somebody point me how a cross-compile can be used with cedet?


Regards

Sergej.


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
cedet-semantic mailing list
cedet-semantic <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-semantic
Alex Ott | 13 Jan 15:45 2011
Picon

Re: CEDET/semantic and cross-compiler

I think, that we could extend semantic-gcc-setup to accept optional
parameter, that will allow to specify compiler name

On Thu, Jan 13, 2011 at 3:39 PM,  <s.stepanov <at> online.de> wrote:
>
> Hello list,
>
> i would like use the cedet with cross-compiler.
> But the semantic-gcc-setup uses only the host gcc to get its environment.
> if it is not ok can somebody point me how a cross-compile can be used with cedet?

--

-- 
With best wishes,                    Alex Ott, MBA
http://alexott.net/
Tiwtter: alexott_en (English), alexott (Russian)
Skype: alex.ott

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
S Boucher | 13 Jan 21:18 2011
Picon

Suggestion to make semantic easier to setup

I should preface by saying that the build system in use is too complex to properly mirror into a cedet project
for the benefit of semantic.  This effectively makes it impossible for me to use semantic in a useful way,
which is unfortunate.

However, one way that would be good is if, when parsing a particular .c or .cpp file, semantic took the
necessary information (defines and include dirs) from the compilation command line.

I do something somewhat similiar for flymake.  When I build my workspace, I also generate a .flymake script
for each of my .c or .cpp which contains the compilation command used (slightly hacked to meet the need of
flymake).  Flymake can then use that script for it's work for each file.

It would be nice to be able to take that kind of approach for semantic.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
Mandar Mitra | 18 Jan 07:10 2011
Picon

how to stop parsing of html

Hi,

Semantic appears to want to parse HTML files, and then something 
goes wrong. First, I was getting a "No support found to parse buffer" 
message. Then, based on something I found on the web, I turned on
semantic-idle-scheduler-verbose-flag. Now I keep getting messages
of the form:

IDLE: Core handler...
IDLE: reparse index.html... [2 times]

I did not find anything in my .emacs that links cedet/semantic with html
files, so I don't know how to turn this off. Can someone please help?

Thanks,
Mandar.

(Acc. to cedet-version, I'm using cedet-version 1.0, semantic-2.0.)

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
Anand Dhanakshirur | 21 Jan 05:39 2011
Picon

How to use gtags within emacs(ECB+ CEDET)

HI,
I am using Emacs23.2 with ecb-2.4 and cedet 1.0.

I have installed gnu-gloabal.

The gtags command on my source files produced GTAGS, GRTGAS and GPATH etc files.
I want emacs to use these tag files.
how to do that?
(When i did ESC . on a structure declaration, it prompted me visit TAGS table
Then i loaded GTAGS file.
But emacs is telling that it is not a TAGS file.
How to get around this problem?)

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
Alex Ott | 21 Jan 08:04 2011
Picon

Re: How to use gtags within emacs(ECB+ CEDET)

Hello Anand

You need to put gtags.el, that is going with GNU Global, somewhere in
the load-path and put following command into your .emacs:
(autoload 'gtags-mode "gtags" "" t)

and then enable it in the hook for cc-mode with:
  (gtags-mode 1)

On Fri, Jan 21, 2011 at 5:39 AM, Anand Dhanakshirur
<adhanakshirur <at> yahoo.com> wrote:
> HI,
> I am using Emacs23.2 with ecb-2.4 and cedet 1.0.
>
> I have installed gnu-gloabal.
>
> The gtags command on my source files produced GTAGS, GRTGAS and GPATH etc files.
> I want emacs to use these tag files.
> how to do that?
> (When i did ESC . on a structure declaration, it prompted me visit TAGS table
> Then i loaded GTAGS file.
> But emacs is telling that it is not a TAGS file.
> How to get around this problem?)
>
>
>
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> cedet-semantic mailing list
> cedet-semantic <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cedet-semantic
>

--

-- 
With best wishes,                    Alex Ott, MBA
http://alexott.net/
Tiwtter: alexott_en (English), alexott (Russian)
Skype: alex.ott

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

Gmane