Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320139 - [CA] no CA for some standard functions like checkdnsrr(), dns_get_record() , getmxrr()...
Summary: [CA] no CA for some standard functions like checkdnsrr(), dns_get_record() , ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Q.S. Wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 15:14 EDT by Silver Zachara CLA
Modified: 2020-05-14 11:08 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silver Zachara CLA 2010-07-16 15:14:16 EDT
Hi,

this was posted to PDT's newsgroup:
After submitting a bug related to Ubuntu 10.04 and Eclipse colors (tooltips are invisibile because black on black with the default ubuntu theme)
they asked me to see if 2.2 solve the problem.

Really it solve 1/2 problem, but with the 2.2 all-in-one I lose some functions in code completion., e.g. checkdnsrr(), dns_get_record() , getmxrr()...

So, I go back on 2.1 (I only renamed the dir) and following the declaration (CTRL+click on checkdnsrr) I see where it is defined:

/opt/eclipse/plugins/org.eclipse.php.core_2.1.1.v20090921-11 00/Resources/language/php5/standard.php
the same file where you can find sleep(), bin2hex(), strtoupper(), strpos() and many other common functions.

With the 2.2, the same file is inside org.eclipse.php.core_2.2.0.v20100616-1900.jar
and I suppose PDT don't enter the jar archive.
But why strtolowe(), sleep(), etc., have code completion while checkdnsrr() and others, haven't?

So I follow definition with 2.2 with CTRL+click on strtolower() and it goes on completely other path:
workspace/.metadata/.plugins/org.eclipse.php.core/__language __/1b4486b - standard.php

So finally I discovered that changing project PHP version from "5.1/5/2" to 5.3, make CA able to find checkdnsrr()
But checkdnsrr() is also present on PHP4
http://de.php.net/manual/en/function.checkdnsrr.php

so it must be a bug, isn't it?
Comment 1 Roy Ganor CLA 2010-07-17 09:26:36 EDT
It's probably due to the fact that the generation of the standard.php functions was invokked from within Windows.

According to http://php.net/manual/en/function.dns-get-record.php this function was added to windows only in 5.3.

Should we invoke the function generation in linux?
Comment 2 Q.S. Wang CLA 2010-08-09 21:46:43 EDT
Fixed.
Comment 3 Gadi Goldbarg CLA 2010-08-23 07:35:11 EDT
Verified fixed.
Kalin Yanev
kalin.a@zend.com