2007-08-30 14:58:49 +00:00
|
|
|
|
|
|
|
Here are some source code maintenance tasks that need to be done, and maybe some
|
2007-09-01 12:00:30 +00:00
|
|
|
folks will see these items and volunteer to do them.
|
2007-08-30 14:58:49 +00:00
|
|
|
|
2007-09-13 11:55:46 +00:00
|
|
|
|
|
|
|
*** improved xpm handling
|
|
|
|
We should:
|
|
|
|
1) make a library out of ALL the xpm files, and
|
|
|
|
2) develop a simple header file which declares ALL of them using conventional C/C++:
|
|
|
|
extern char * somename2_xpm[];
|
|
|
|
extern char * somename3_xpm[];
|
|
|
|
:
|
|
|
|
:
|
|
|
|
This way the linker can bundle in the xpms that it has seen referenced. I don't
|
|
|
|
think seeing the extern declaration is cause to do this, it must actually be
|
|
|
|
referenced. I think this would be an easier way to manage xpms.
|
|
|
|
|
|
|
|
|
|
|
|
*** @todo: grep for @todo and finish off those tasks, scattered throughout the source.
|
2007-09-12 02:14:07 +00:00
|
|
|
|
2007-09-09 03:25:38 +00:00
|
|
|
|
2007-09-14 18:32:24 +00:00
|
|
|
*** use BOARD_ITEM::MenuIcon() in the onrightclick.cpp
|
2007-09-13 18:39:30 +00:00
|
|
|
|
|
|
|
|
2007-09-09 02:20:49 +00:00
|
|
|
*** make the ADD_MENUITEM macros in include/macros.h be static inline functions instead
|
|
|
|
of macros. e.g. w/o argument types:
|
|
|
|
static inline void ADD_MENUITEM(menu, id, text, icon)
|
|
|
|
{
|
|
|
|
wxMenuItem * l_item;
|
|
|
|
l_item = new wxMenuItem(menu, id, text);
|
|
|
|
l_item->SetBitmap(icon); menu->Append(l_item);
|
|
|
|
}
|
|
|
|
|
2007-09-04 14:28:20 +00:00
|
|
|
|
2007-08-30 14:58:49 +00:00
|
|
|
*** Set up a DOXYGEN environment starting with a configuration file that:
|
|
|
|
- understands the JavaDoc style comments that we have started using
|
|
|
|
- gives preference to comments in header files over *.cpp files
|
|
|
|
- outputs its HTML stuff relative to the base of trunk, say for example trunk/doxygen
|
|
|
|
- is then added to the svn repository (this configuration file only)
|
|
|
|
Then add a shell script and batch file to generate the docs using the config file.
|
|
|
|
Then review the generated docs and start to go through the source and make the
|
|
|
|
generated doxygen docs readable and clear using the JavaDoc style comments,
|
|
|
|
mostly in the header files. The error and warning output of the doxygen
|
|
|
|
compiler can help with this too.
|
|
|
|
|
|
|
|
|
|
|
|
*** Translate comments that are in French to English so there can be a broader
|
|
|
|
understanding by new developers.
|
|
|
|
|
2007-09-13 11:55:46 +00:00
|
|
|
|
2007-09-09 19:11:15 +00:00
|
|
|
*** Implement the graying in/out of "Edit/Undo", "Edit/Redo" menu items,
|
|
|
|
when Undo/Redo stack is empty/filled.
|
2007-09-13 11:55:46 +00:00
|
|
|
|
2007-10-03 19:45:32 +00:00
|
|
|
|
|
|
|
*** Implement action for ID_POPUP_PCB_DELETE_MARKER, since onrightclick.cpp
|
|
|
|
can now identify a marker. To see where the user gets a menu to delete a marker:
|
|
|
|
void WinEDA_PcbFrame::OnRightClick( const wxPoint& aMousePos, wxMenu* aPopMenu )
|
|
|
|
|