Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Deprecated: Function create_function() is deprecated in /sites/ on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /sites/ on line 845 Deprecated: Function create_function() is deprecated in /sites/ on line 111 FS#9583 : periodic table



FS#9583 - periodic table

Attached to Project: Rockbox
Opened by Yifu Huang (yhuang) - Thursday, 27 November 2008, 21:52 GMT
Task Type Patches
Category Plugins
Status Unconfirmed
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


I found this app useful in iPodLinux so I decided to port it to Rockbox. Jonathan Bettencourt is the original author.

Works on daily build: 19242 for iPod Video

Smaller screen targets won't be able to see the full table.
This task depends upon

Comment by Yifu Huang (yhuang) - Thursday, 27 November 2008, 23:54 GMT
Removed the ugly boxes..
Comment by Yifu Huang (yhuang) - Friday, 28 November 2008, 00:45 GMT
Removed the ugly boxes..
Comment by Thomas Schott (scotty) - Monday, 01 December 2008, 12:22 GMT
Replaced strlen() calls by rb->strlen() to make it compile for ARM targets.
Fixed 2 warnings ("function declaration isn’t a prototype").
Comment by Antoine Cellerier (dionoea) - Sunday, 07 December 2008, 16:25 GMT
Current policy is to only accept plugins that work on all targets (or on color targets for those that obviously couldn't work on black and white screens). Would it be possible to make the screen scroll so it could work on smaller screens? Thanks.
Comment by lorenzo (ltlollo) - Monday, 19 January 2009, 13:21 GMT
If compiled for Ipod Video, on 3.1 sources, some informations on the table are missing; on uisimulator the infos are present.
Comment by Yoshihisa Uchida (Uchida) - Tuesday, 27 January 2009, 09:22 GMT
In periodic plugin, there is the following problems:
- Build of this plugin fail under the current version Rockbox.
- It does not customize for players other than iPod video.
- The source code doesn't follow the Rockbox coding rule. ("//" comment, using TAB)
- Physical data of elements (mass, dencity, freezing point, and boiling point) is old.
- I do not understand whether it is uncertain data or the value of data is 0 because uncertain data is output by 0.

I corrected the source of this plugin in place of Huang.
The problem of lorenzo is solved by this correction.

- Build of this plugin success under the current version Rockbox.
- Current Rockbox build player ( supports (excepts Archos Player).
(I check actual iPod video. Other players checked by using uisimulator.
- TAB -> 4 spaces, // coments -> /* comments */
- Physical data of elements update.
- Physical data changes float to char *.
- Uncertain data outputs by "-".
- Element has no stable nuclides. The value enclosed in brackets. (except Th, Pa, and U)
- Lantanoids include "La", Actinoids include "Ac" (tables place move)
- The 117th element does not display.
Comment by Rosso Maltese (asettico) - Tuesday, 03 March 2009, 14:59 GMT
Resync (just offset lines)
Comment by Seth (froggyman) - Saturday, 11 April 2009, 00:59 GMT
needs re-syncing, i believe
Comment by Gman (Thecoolgman) - Wednesday, 15 April 2009, 00:51 GMT
Oh yes it dose
Comment by Yoshihisa Uchida (Uchida) - Thursday, 16 April 2009, 13:30 GMT
sync r20712.
Comment by Rosso Maltese (asettico) - Saturday, 17 October 2009, 09:26 GMT
Sync to r23221.
Comment by Johannes Schwarz (Ubuntuxer) - Sunday, 18 October 2009, 10:21 GMT
In my opionion a informative periodic table is very useful, but there is still some work, before it can be committed.

The plugin have to work on stable ports as well as unstable ports, so I add some button macros. Meanwhile the plugin doesn't work on the c200, because of the small display size. I can't figure out, how to solve this.
But also on the e200 the font is almost unreadable. Perhaps it should be turned, because on the fuze it looks pretty good, although just high and width size is swapped.

Besides the application needs an manual.
For what is the button PERIODIC_KEY_SELECT ?

@asettico: Please use the the command "svn diff apps/plugins/ > patch.diff" to create a patch.
Comment by Rosso Maltese (asettico) - Sunday, 18 October 2009, 10:44 GMT
Normally I use the command "svn diff", but in this case I fixed the patch more quickly simply modifying it, so the git format was unchanged. :-)
Comment by Thomas Schott (scotty) - Thursday, 11 November 2010, 00:07 GMT
Sync to r28551.