From 9c88d76612ef1370993ed04c7205e75b5b5fcde0 Mon Sep 17 00:00:00 2001 From: Raphael Assenat Date: Sun, 6 Dec 2015 22:12:08 -0500 Subject: [PATCH] Tool copyright update --- tool/delay.c | 16 ++++++++++++++++ tool/gc2n64_adapter.c | 16 ++++++++++++++++ tool/gcn64.c | 35 ++++++++++++++++------------------- tool/gcn64cfg.glade | 2 ++ tool/gcn64ctl_gui.c | 16 ++++++++++++++++ tool/gcn64ctl_gui_mpkedit.c | 23 +++++++++++++++++++++++ tool/gcn64lib.c | 16 ++++++++++++++++ tool/hexdump.c | 16 ++++++++++++++++ tool/ihex.c | 16 ++++++++++++++++ tool/main.c | 35 ++++++++++++++++------------------- tool/memmem.c | 16 ++++++++++++++++ tool/mempak.c | 16 ++++++++++++++++ tool/mempak_convert.c | 16 ++++++++++++++++ tool/mempak_extract_note.c | 16 ++++++++++++++++ tool/mempak_format.c | 16 ++++++++++++++++ tool/mempak_gcn64usb.c | 16 ++++++++++++++++ tool/mempak_insert_note.c | 16 ++++++++++++++++ tool/mempak_ls.c | 16 ++++++++++++++++ tool/mempak_rm.c | 16 ++++++++++++++++ tool/sleep.c | 16 ++++++++++++++++ tool/strcasestr.c | 16 ++++++++++++++++ 21 files changed, 329 insertions(+), 38 deletions(-) diff --git a/tool/delay.c b/tool/delay.c index adadf68..9815a5e 100644 --- a/tool/delay.c +++ b/tool/delay.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #ifdef LIBDRAGON #include diff --git a/tool/gc2n64_adapter.c b/tool/gc2n64_adapter.c index 4775211..631e1ad 100644 --- a/tool/gc2n64_adapter.c +++ b/tool/gc2n64_adapter.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #define _GNU_SOURCE // for memmem #include #include diff --git a/tool/gcn64.c b/tool/gcn64.c index 330415c..fb2a7e0 100644 --- a/tool/gcn64.c +++ b/tool/gcn64.c @@ -1,22 +1,19 @@ -/* wusbmote: Wiimote accessory to USB Adapter - * Copyright (C) 2012-2014 Raphaël Assénat - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * - * The author may be contacted at raph@raphnet.net - */ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include diff --git a/tool/gcn64cfg.glade b/tool/gcn64cfg.glade index 5e94371..07ee752 100644 --- a/tool/gcn64cfg.glade +++ b/tool/gcn64cfg.glade @@ -1029,6 +1029,7 @@ Author: Raphaël Assénat False both True + @@ -1120,6 +1121,7 @@ Author: Raphaël Assénat False True dialog + win_mempak_edit win_mempak_edit diff --git a/tool/gcn64ctl_gui.c b/tool/gcn64ctl_gui.c index 3b03998..1acdf6b 100644 --- a/tool/gcn64ctl_gui.c +++ b/tool/gcn64ctl_gui.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #define _GNU_SOURCE #include #include diff --git a/tool/gcn64ctl_gui_mpkedit.c b/tool/gcn64ctl_gui_mpkedit.c index 9a20d64..11d2084 100644 --- a/tool/gcn64ctl_gui_mpkedit.c +++ b/tool/gcn64ctl_gui_mpkedit.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include @@ -407,6 +423,13 @@ G_MODULE_EXPORT void mpke_delete(GtkWidget *win, gpointer data) } } +G_MODULE_EXPORT void n64_note_activated(GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, gpointer data) +{ + struct application *app = data; + + printf("Yo!\n"); +} + G_MODULE_EXPORT void onMempakWindowShow(GtkWidget *win, gpointer data) { struct application *app = data; diff --git a/tool/gcn64lib.c b/tool/gcn64lib.c index 319c9da..168acf0 100644 --- a/tool/gcn64lib.c +++ b/tool/gcn64lib.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include "gcn64lib.h" diff --git a/tool/hexdump.c b/tool/hexdump.c index 1d1a14d..4027f9a 100644 --- a/tool/hexdump.c +++ b/tool/hexdump.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include void printHexBuf(unsigned char *buf, int n) diff --git a/tool/ihex.c b/tool/ihex.c index fe22323..bec9f5f 100644 --- a/tool/ihex.c +++ b/tool/ihex.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include "hexdump.h" diff --git a/tool/main.c b/tool/main.c index 42590bf..d7efdbf 100644 --- a/tool/main.c +++ b/tool/main.c @@ -1,22 +1,19 @@ -/* wusbmote: Wiimote accessory to USB Adapter - * Copyright (C) 2012-2014 Raphaël Assénat - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * - * The author may be contacted at raph@raphnet.net - */ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include diff --git a/tool/memmem.c b/tool/memmem.c index b7fae87..14775f7 100644 --- a/tool/memmem.c +++ b/tool/memmem.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include void *memmem(const void *haystack, size_t haystack_len, diff --git a/tool/mempak.c b/tool/mempak.c index 74995cb..b604ab9 100644 --- a/tool/mempak.c +++ b/tool/mempak.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #define _GNU_SOURCE // for strcasestr #include #include diff --git a/tool/mempak_convert.c b/tool/mempak_convert.c index bb38560..04e43e1 100644 --- a/tool/mempak_convert.c +++ b/tool/mempak_convert.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include "mempak.h" diff --git a/tool/mempak_extract_note.c b/tool/mempak_extract_note.c index 1cd9fc5..e1135c8 100644 --- a/tool/mempak_extract_note.c +++ b/tool/mempak_extract_note.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include "mempak.h" diff --git a/tool/mempak_format.c b/tool/mempak_format.c index 877ad9c..5e3b1c0 100644 --- a/tool/mempak_format.c +++ b/tool/mempak_format.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include "mempak.h" diff --git a/tool/mempak_gcn64usb.c b/tool/mempak_gcn64usb.c index cb01146..fe07c8b 100644 --- a/tool/mempak_gcn64usb.c +++ b/tool/mempak_gcn64usb.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include diff --git a/tool/mempak_insert_note.c b/tool/mempak_insert_note.c index b0386fd..4ee67f1 100644 --- a/tool/mempak_insert_note.c +++ b/tool/mempak_insert_note.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include diff --git a/tool/mempak_ls.c b/tool/mempak_ls.c index ea01085..4e0254a 100644 --- a/tool/mempak_ls.c +++ b/tool/mempak_ls.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include "mempak.h" diff --git a/tool/mempak_rm.c b/tool/mempak_rm.c index 793a925..2858485 100644 --- a/tool/mempak_rm.c +++ b/tool/mempak_rm.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #include #include diff --git a/tool/sleep.c b/tool/sleep.c index e44e2a1..099835f 100644 --- a/tool/sleep.c +++ b/tool/sleep.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include void sleep(int s) diff --git a/tool/strcasestr.c b/tool/strcasestr.c index 03598e1..8523813 100644 --- a/tool/strcasestr.c +++ b/tool/strcasestr.c @@ -1,3 +1,19 @@ +/* gc_n64_usb : Gamecube or N64 controller to USB adapter firmware + Copyright (C) 2007-2015 Raphael Assenat + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ #include #ifdef TEST_IMPLEMENTATION