Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Initial Import into Google

git-svn-id: https://labyrinth.googlecode.com/svn/trunk@2 8f060a39-251c-0410-b1f3-431655927647
  • Loading branch information...
commit d4724b1597bc558acbd2b43a717f4c539b3e3a7f 1 parent f87eab7
DonScorgie authored
3  AUTHORS
... ... @@ -0,0 +1,3 @@
  1 +This version is brought to you by the letter L and the number 24
  2 +It is also brought to you by:
  3 +Don Scorgie <DonScorgie@Blueyonder.co.uk>
340 COPYING
... ... @@ -0,0 +1,340 @@
  1 + GNU GENERAL PUBLIC LICENSE
  2 + Version 2, June 1991
  3 +
  4 + Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  5 + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  6 + Everyone is permitted to copy and distribute verbatim copies
  7 + of this license document, but changing it is not allowed.
  8 +
  9 + Preamble
  10 +
  11 + The licenses for most software are designed to take away your
  12 +freedom to share and change it. By contrast, the GNU General Public
  13 +License is intended to guarantee your freedom to share and change free
  14 +software--to make sure the software is free for all its users. This
  15 +General Public License applies to most of the Free Software
  16 +Foundation's software and to any other program whose authors commit to
  17 +using it. (Some other Free Software Foundation software is covered by
  18 +the GNU Library General Public License instead.) You can apply it to
  19 +your programs, too.
  20 +
  21 + When we speak of free software, we are referring to freedom, not
  22 +price. Our General Public Licenses are designed to make sure that you
  23 +have the freedom to distribute copies of free software (and charge for
  24 +this service if you wish), that you receive source code or can get it
  25 +if you want it, that you can change the software or use pieces of it
  26 +in new free programs; and that you know you can do these things.
  27 +
  28 + To protect your rights, we need to make restrictions that forbid
  29 +anyone to deny you these rights or to ask you to surrender the rights.
  30 +These restrictions translate to certain responsibilities for you if you
  31 +distribute copies of the software, or if you modify it.
  32 +
  33 + For example, if you distribute copies of such a program, whether
  34 +gratis or for a fee, you must give the recipients all the rights that
  35 +you have. You must make sure that they, too, receive or can get the
  36 +source code. And you must show them these terms so they know their
  37 +rights.
  38 +
  39 + We protect your rights with two steps: (1) copyright the software, and
  40 +(2) offer you this license which gives you legal permission to copy,
  41 +distribute and/or modify the software.
  42 +
  43 + Also, for each author's protection and ours, we want to make certain
  44 +that everyone understands that there is no warranty for this free
  45 +software. If the software is modified by someone else and passed on, we
  46 +want its recipients to know that what they have is not the original, so
  47 +that any problems introduced by others will not reflect on the original
  48 +authors' reputations.
  49 +
  50 + Finally, any free program is threatened constantly by software
  51 +patents. We wish to avoid the danger that redistributors of a free
  52 +program will individually obtain patent licenses, in effect making the
  53 +program proprietary. To prevent this, we have made it clear that any
  54 +patent must be licensed for everyone's free use or not licensed at all.
  55 +
  56 + The precise terms and conditions for copying, distribution and
  57 +modification follow.
  58 +
  59 + GNU GENERAL PUBLIC LICENSE
  60 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  61 +
  62 + 0. This License applies to any program or other work which contains
  63 +a notice placed by the copyright holder saying it may be distributed
  64 +under the terms of this General Public License. The "Program", below,
  65 +refers to any such program or work, and a "work based on the Program"
  66 +means either the Program or any derivative work under copyright law:
  67 +that is to say, a work containing the Program or a portion of it,
  68 +either verbatim or with modifications and/or translated into another
  69 +language. (Hereinafter, translation is included without limitation in
  70 +the term "modification".) Each licensee is addressed as "you".
  71 +
  72 +Activities other than copying, distribution and modification are not
  73 +covered by this License; they are outside its scope. The act of
  74 +running the Program is not restricted, and the output from the Program
  75 +is covered only if its contents constitute a work based on the
  76 +Program (independent of having been made by running the Program).
  77 +Whether that is true depends on what the Program does.
  78 +
  79 + 1. You may copy and distribute verbatim copies of the Program's
  80 +source code as you receive it, in any medium, provided that you
  81 +conspicuously and appropriately publish on each copy an appropriate
  82 +copyright notice and disclaimer of warranty; keep intact all the
  83 +notices that refer to this License and to the absence of any warranty;
  84 +and give any other recipients of the Program a copy of this License
  85 +along with the Program.
  86 +
  87 +You may charge a fee for the physical act of transferring a copy, and
  88 +you may at your option offer warranty protection in exchange for a fee.
  89 +
  90 + 2. You may modify your copy or copies of the Program or any portion
  91 +of it, thus forming a work based on the Program, and copy and
  92 +distribute such modifications or work under the terms of Section 1
  93 +above, provided that you also meet all of these conditions:
  94 +
  95 + a) You must cause the modified files to carry prominent notices
  96 + stating that you changed the files and the date of any change.
  97 +
  98 + b) You must cause any work that you distribute or publish, that in
  99 + whole or in part contains or is derived from the Program or any
  100 + part thereof, to be licensed as a whole at no charge to all third
  101 + parties under the terms of this License.
  102 +
  103 + c) If the modified program normally reads commands interactively
  104 + when run, you must cause it, when started running for such
  105 + interactive use in the most ordinary way, to print or display an
  106 + announcement including an appropriate copyright notice and a
  107 + notice that there is no warranty (or else, saying that you provide
  108 + a warranty) and that users may redistribute the program under
  109 + these conditions, and telling the user how to view a copy of this
  110 + License. (Exception: if the Program itself is interactive but
  111 + does not normally print such an announcement, your work based on
  112 + the Program is not required to print an announcement.)
  113 +
  114 +These requirements apply to the modified work as a whole. If
  115 +identifiable sections of that work are not derived from the Program,
  116 +and can be reasonably considered independent and separate works in
  117 +themselves, then this License, and its terms, do not apply to those
  118 +sections when you distribute them as separate works. But when you
  119 +distribute the same sections as part of a whole which is a work based
  120 +on the Program, the distribution of the whole must be on the terms of
  121 +this License, whose permissions for other licensees extend to the
  122 +entire whole, and thus to each and every part regardless of who wrote it.
  123 +
  124 +Thus, it is not the intent of this section to claim rights or contest
  125 +your rights to work written entirely by you; rather, the intent is to
  126 +exercise the right to control the distribution of derivative or
  127 +collective works based on the Program.
  128 +
  129 +In addition, mere aggregation of another work not based on the Program
  130 +with the Program (or with a work based on the Program) on a volume of
  131 +a storage or distribution medium does not bring the other work under
  132 +the scope of this License.
  133 +
  134 + 3. You may copy and distribute the Program (or a work based on it,
  135 +under Section 2) in object code or executable form under the terms of
  136 +Sections 1 and 2 above provided that you also do one of the following:
  137 +
  138 + a) Accompany it with the complete corresponding machine-readable
  139 + source code, which must be distributed under the terms of Sections
  140 + 1 and 2 above on a medium customarily used for software interchange; or,
  141 +
  142 + b) Accompany it with a written offer, valid for at least three
  143 + years, to give any third party, for a charge no more than your
  144 + cost of physically performing source distribution, a complete
  145 + machine-readable copy of the corresponding source code, to be
  146 + distributed under the terms of Sections 1 and 2 above on a medium
  147 + customarily used for software interchange; or,
  148 +
  149 + c) Accompany it with the information you received as to the offer
  150 + to distribute corresponding source code. (This alternative is
  151 + allowed only for noncommercial distribution and only if you
  152 + received the program in object code or executable form with such
  153 + an offer, in accord with Subsection b above.)
  154 +
  155 +The source code for a work means the preferred form of the work for
  156 +making modifications to it. For an executable work, complete source
  157 +code means all the source code for all modules it contains, plus any
  158 +associated interface definition files, plus the scripts used to
  159 +control compilation and installation of the executable. However, as a
  160 +special exception, the source code distributed need not include
  161 +anything that is normally distributed (in either source or binary
  162 +form) with the major components (compiler, kernel, and so on) of the
  163 +operating system on which the executable runs, unless that component
  164 +itself accompanies the executable.
  165 +
  166 +If distribution of executable or object code is made by offering
  167 +access to copy from a designated place, then offering equivalent
  168 +access to copy the source code from the same place counts as
  169 +distribution of the source code, even though third parties are not
  170 +compelled to copy the source along with the object code.
  171 +
  172 + 4. You may not copy, modify, sublicense, or distribute the Program
  173 +except as expressly provided under this License. Any attempt
  174 +otherwise to copy, modify, sublicense or distribute the Program is
  175 +void, and will automatically terminate your rights under this License.
  176 +However, parties who have received copies, or rights, from you under
  177 +this License will not have their licenses terminated so long as such
  178 +parties remain in full compliance.
  179 +
  180 + 5. You are not required to accept this License, since you have not
  181 +signed it. However, nothing else grants you permission to modify or
  182 +distribute the Program or its derivative works. These actions are
  183 +prohibited by law if you do not accept this License. Therefore, by
  184 +modifying or distributing the Program (or any work based on the
  185 +Program), you indicate your acceptance of this License to do so, and
  186 +all its terms and conditions for copying, distributing or modifying
  187 +the Program or works based on it.
  188 +
  189 + 6. Each time you redistribute the Program (or any work based on the
  190 +Program), the recipient automatically receives a license from the
  191 +original licensor to copy, distribute or modify the Program subject to
  192 +these terms and conditions. You may not impose any further
  193 +restrictions on the recipients' exercise of the rights granted herein.
  194 +You are not responsible for enforcing compliance by third parties to
  195 +this License.
  196 +
  197 + 7. If, as a consequence of a court judgment or allegation of patent
  198 +infringement or for any other reason (not limited to patent issues),
  199 +conditions are imposed on you (whether by court order, agreement or
  200 +otherwise) that contradict the conditions of this License, they do not
  201 +excuse you from the conditions of this License. If you cannot
  202 +distribute so as to satisfy simultaneously your obligations under this
  203 +License and any other pertinent obligations, then as a consequence you
  204 +may not distribute the Program at all. For example, if a patent
  205 +license would not permit royalty-free redistribution of the Program by
  206 +all those who receive copies directly or indirectly through you, then
  207 +the only way you could satisfy both it and this License would be to
  208 +refrain entirely from distribution of the Program.
  209 +
  210 +If any portion of this section is held invalid or unenforceable under
  211 +any particular circumstance, the balance of the section is intended to
  212 +apply and the section as a whole is intended to apply in other
  213 +circumstances.
  214 +
  215 +It is not the purpose of this section to induce you to infringe any
  216 +patents or other property right claims or to contest validity of any
  217 +such claims; this section has the sole purpose of protecting the
  218 +integrity of the free software distribution system, which is
  219 +implemented by public license practices. Many people have made
  220 +generous contributions to the wide range of software distributed
  221 +through that system in reliance on consistent application of that
  222 +system; it is up to the author/donor to decide if he or she is willing
  223 +to distribute software through any other system and a licensee cannot
  224 +impose that choice.
  225 +
  226 +This section is intended to make thoroughly clear what is believed to
  227 +be a consequence of the rest of this License.
  228 +
  229 + 8. If the distribution and/or use of the Program is restricted in
  230 +certain countries either by patents or by copyrighted interfaces, the
  231 +original copyright holder who places the Program under this License
  232 +may add an explicit geographical distribution limitation excluding
  233 +those countries, so that distribution is permitted only in or among
  234 +countries not thus excluded. In such case, this License incorporates
  235 +the limitation as if written in the body of this License.
  236 +
  237 + 9. The Free Software Foundation may publish revised and/or new versions
  238 +of the General Public License from time to time. Such new versions will
  239 +be similar in spirit to the present version, but may differ in detail to
  240 +address new problems or concerns.
  241 +
  242 +Each version is given a distinguishing version number. If the Program
  243 +specifies a version number of this License which applies to it and "any
  244 +later version", you have the option of following the terms and conditions
  245 +either of that version or of any later version published by the Free
  246 +Software Foundation. If the Program does not specify a version number of
  247 +this License, you may choose any version ever published by the Free Software
  248 +Foundation.
  249 +
  250 + 10. If you wish to incorporate parts of the Program into other free
  251 +programs whose distribution conditions are different, write to the author
  252 +to ask for permission. For software which is copyrighted by the Free
  253 +Software Foundation, write to the Free Software Foundation; we sometimes
  254 +make exceptions for this. Our decision will be guided by the two goals
  255 +of preserving the free status of all derivatives of our free software and
  256 +of promoting the sharing and reuse of software generally.
  257 +
  258 + NO WARRANTY
  259 +
  260 + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  261 +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  262 +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  263 +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  264 +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  265 +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  266 +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  267 +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  268 +REPAIR OR CORRECTION.
  269 +
  270 + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  271 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  272 +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  273 +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  274 +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  275 +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  276 +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  277 +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  278 +POSSIBILITY OF SUCH DAMAGES.
  279 +
  280 + END OF TERMS AND CONDITIONS
  281 +
  282 + How to Apply These Terms to Your New Programs
  283 +
  284 + If you develop a new program, and you want it to be of the greatest
  285 +possible use to the public, the best way to achieve this is to make it
  286 +free software which everyone can redistribute and change under these terms.
  287 +
  288 + To do so, attach the following notices to the program. It is safest
  289 +to attach them to the start of each source file to most effectively
  290 +convey the exclusion of warranty; and each file should have at least
  291 +the "copyright" line and a pointer to where the full notice is found.
  292 +
  293 + <one line to give the program's name and a brief idea of what it does.>
  294 + Copyright (C) <year> <name of author>
  295 +
  296 + This program is free software; you can redistribute it and/or modify
  297 + it under the terms of the GNU General Public License as published by
  298 + the Free Software Foundation; either version 2 of the License, or
  299 + (at your option) any later version.
  300 +
  301 + This program is distributed in the hope that it will be useful,
  302 + but WITHOUT ANY WARRANTY; without even the implied warranty of
  303 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  304 + GNU General Public License for more details.
  305 +
  306 + You should have received a copy of the GNU General Public License
  307 + along with this program; if not, write to the Free Software
  308 + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  309 +
  310 +
  311 +Also add information on how to contact you by electronic and paper mail.
  312 +
  313 +If the program is interactive, make it output a short notice like this
  314 +when it starts in an interactive mode:
  315 +
  316 + Gnomovision version 69, Copyright (C) year name of author
  317 + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  318 + This is free software, and you are welcome to redistribute it
  319 + under certain conditions; type `show c' for details.
  320 +
  321 +The hypothetical commands `show w' and `show c' should show the appropriate
  322 +parts of the General Public License. Of course, the commands you use may
  323 +be called something other than `show w' and `show c'; they could even be
  324 +mouse-clicks or menu items--whatever suits your program.
  325 +
  326 +You should also get your employer (if you work as a programmer) or your
  327 +school, if any, to sign a "copyright disclaimer" for the program, if
  328 +necessary. Here is a sample; alter the names:
  329 +
  330 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  331 + `Gnomovision' (which makes passes at compilers) written by James Hacker.
  332 +
  333 + <signature of Ty Coon>, 1 April 1989
  334 + Ty Coon, President of Vice
  335 +
  336 +This General Public License does not permit incorporating your program into
  337 +proprietary programs. If your program is a subroutine library, you may
  338 +consider it more useful to permit linking proprietary applications with the
  339 +library. If this is what you want to do, use the GNU Library General
  340 +Public License instead of this License.
512 ChangeLog
... ... @@ -0,0 +1,512 @@
  1 +2006-08-29 Don Scorgie <DonScorgie@Blueyonder.co.uk>
  2 +
  3 + * Initial Import into new home on Google
  4 +
  5 +What follows is the svn log dumped from the repo on my machine. Don't judge it too harshly ;)
  6 +
  7 +------------------------------------------------------------------------
  8 +r85 | don | 2006-08-28 16:16:00 +0100 (Mon, 28 Aug 2006) | 2 lines
  9 +
  10 +Oops forgot to add in md5sums.
  11 +
  12 +------------------------------------------------------------------------
  13 +r84 | don | 2006-08-28 16:01:54 +0100 (Mon, 28 Aug 2006) | 2 lines
  14 +
  15 +Update web page a little. Bump version up to 0.1.
  16 +
  17 +------------------------------------------------------------------------
  18 +r83 | don | 2006-08-28 14:03:40 +0100 (Mon, 28 Aug 2006) | 2 lines
  19 +
  20 +Add 2 new screenshots showing the browser and current map window
  21 +
  22 +------------------------------------------------------------------------
  23 +r82 | don | 2006-08-28 12:47:41 +0100 (Mon, 28 Aug 2006) | 2 lines
  24 +
  25 +Fix spelling mistake
  26 +
  27 +------------------------------------------------------------------------
  28 +r81 | don | 2006-08-28 12:46:40 +0100 (Mon, 28 Aug 2006) | 2 lines
  29 +
  30 +More README update
  31 +
  32 +------------------------------------------------------------------------
  33 +r80 | don | 2006-08-28 12:37:17 +0100 (Mon, 28 Aug 2006) | 2 lines
  34 +
  35 +Make the about dialog go away when requested
  36 +
  37 +------------------------------------------------------------------------
  38 +r79 | don | 2006-08-28 12:31:15 +0100 (Mon, 28 Aug 2006) | 2 lines
  39 +
  40 +Minor addition to configure.ac
  41 +
  42 +------------------------------------------------------------------------
  43 +r78 | don | 2006-08-28 12:29:53 +0100 (Mon, 28 Aug 2006) | 2 lines
  44 +
  45 +Make installation actually work (hopefully)
  46 +
  47 +------------------------------------------------------------------------
  48 +r77 | don | 2006-08-28 12:14:41 +0100 (Mon, 28 Aug 2006) | 3 lines
  49 +
  50 +Remove Quit from menu in map windows
  51 +Try and fix installation again. Fail :(
  52 +
  53 +------------------------------------------------------------------------
  54 +r76 | don | 2006-08-27 20:23:09 +0100 (Sun, 27 Aug 2006) | 2 lines
  55 +
  56 +Update README and TheFuture a little more in light of the new browser
  57 +
  58 +------------------------------------------------------------------------
  59 +r75 | don | 2006-08-27 18:43:15 +0100 (Sun, 27 Aug 2006) | 2 lines
  60 +
  61 +Stupid work-around to make maps save when open and quit is selected
  62 +
  63 +------------------------------------------------------------------------
  64 +r74 | don | 2006-08-27 15:48:36 +0100 (Sun, 27 Aug 2006) | 3 lines
  65 +
  66 +Update glade to make prettier. Slightly.
  67 +Make rows respond to activation
  68 +
  69 +------------------------------------------------------------------------
  70 +r73 | don | 2006-08-26 16:07:15 +0100 (Sat, 26 Aug 2006) | 2 lines
  71 +
  72 +More browser work. Hooked up most of the signals required.
  73 +
  74 +------------------------------------------------------------------------
  75 +r72 | don | 2006-08-26 14:26:58 +0100 (Sat, 26 Aug 2006) | 5 lines
  76 +
  77 +Updated configure, README
  78 +
  79 +First pass at Browser. Not too shabby though. Doesn't work just yet,
  80 +but give it time
  81 +
  82 +------------------------------------------------------------------------
  83 +r71 | don | 2006-08-24 22:03:02 +0100 (Thu, 24 Aug 2006) | 4 lines
  84 +
  85 +Update a couple of comments
  86 +Add new TheFuture entry for current (soon) release
  87 +Update NEWS for new release
  88 +
  89 +------------------------------------------------------------------------
  90 +r70 | don | 2006-08-24 21:36:37 +0100 (Thu, 24 Aug 2006) | 2 lines
  91 +
  92 +Remove old cruft
  93 +
  94 +------------------------------------------------------------------------
  95 +r69 | don | 2006-08-24 21:30:12 +0100 (Thu, 24 Aug 2006) | 3 lines
  96 +
  97 +Move functions.py to utils.py
  98 +Just seems nicer somehow
  99 +
  100 +------------------------------------------------------------------------
  101 +r68 | don | 2006-08-23 22:44:06 +0100 (Wed, 23 Aug 2006) | 16 lines
  102 +
  103 +Many, many updates from the local "rework" branch.
  104 +
  105 +* Add new functions.py to store functions that can be used by anyone
  106 +* Rework Thoughts, links so only MMapArea has a copy of all of them
  107 +* Remove / kill parent child relationship for thoughts
  108 + - These make loading / Saving much easier
  109 + - They make updating links much easier
  110 + - They make considering things much easier
  111 +
  112 +* Save window geometry
  113 +
  114 +All old classes are still there. Much needs cleaned up.
  115 +
  116 +TheFuture needs cleaning properly
  117 +
  118 +
  119 +------------------------------------------------------------------------
  120 +r67 | don | 2006-08-14 18:30:04 +0100 (Mon, 14 Aug 2006) | 5 lines
  121 +
  122 +Update save to use only 2 passes (although, very hackily)
  123 +Make loading actually delete thoughts when requested
  124 +Make save only save when area is closed
  125 +Update TheFuture somewhat (maybe)
  126 +
  127 +------------------------------------------------------------------------
  128 +r66 | don | 2006-08-01 21:34:16 +0100 (Tue, 01 Aug 2006) | 3 lines
  129 +
  130 +More loading work. Seems to be mostly done (first pass). Issue remains
  131 +with saving a doc twice: The text is repeated!The text is repeated!
  132 +
  133 +------------------------------------------------------------------------
  134 +r65 | don | 2006-08-01 20:54:49 +0100 (Tue, 01 Aug 2006) | 3 lines
  135 +
  136 +More loading work. Almost working (badly). Now links are drawn, but it
  137 +doesn't update properly and moving nodes breaks things
  138 +
  139 +------------------------------------------------------------------------
  140 +r64 | don | 2006-08-01 19:58:25 +0100 (Tue, 01 Aug 2006) | 3 lines
  141 +
  142 +More work on loading. Coords are parsed and small squares shown on
  143 +screen
  144 +
  145 +------------------------------------------------------------------------
  146 +r63 | don | 2006-08-01 18:42:07 +0100 (Tue, 01 Aug 2006) | 4 lines
  147 +
  148 +First attempt at a pass at loading of files:
  149 +* Load all files in save directory
  150 +* Only set title of window
  151 +
  152 +------------------------------------------------------------------------
  153 +r62 | don | 2006-07-31 20:44:41 +0100 (Mon, 31 Jul 2006) | 2 lines
  154 +
  155 +Save to a real-life file!
  156 +
  157 +------------------------------------------------------------------------
  158 +r61 | don | 2006-07-31 20:17:55 +0100 (Mon, 31 Jul 2006) | 3 lines
  159 +
  160 +Lots more saving stuff. Prints out the complete (for now) save file in
  161 +a pretty format
  162 +
  163 +------------------------------------------------------------------------
  164 +r60 | don | 2006-07-31 19:36:13 +0100 (Mon, 31 Jul 2006) | 3 lines
  165 +
  166 +First attempt at saving to XML. Dumps the content of each node and the
  167 +cursor position to stdout when double-click happens
  168 +
  169 +------------------------------------------------------------------------
  170 +r59 | don | 2006-07-23 13:31:15 +0100 (Sun, 23 Jul 2006) | 2 lines
  171 +
  172 +Remove note_number since its no longer used
  173 +
  174 +------------------------------------------------------------------------
  175 +r58 | don | 2006-07-16 16:56:42 +0100 (Sun, 16 Jul 2006) | 2 lines
  176 +
  177 +Remove dead python setup files
  178 +
  179 +------------------------------------------------------------------------
  180 +r57 | don | 2006-07-16 16:52:05 +0100 (Sun, 16 Jul 2006) | 2 lines
  181 +
  182 +Remove extra files. Most are auto-generated. src/Labyrinth has moved
  183 +
  184 +------------------------------------------------------------------------
  185 +r56 | don | 2006-07-16 16:47:25 +0100 (Sun, 16 Jul 2006) | 2 lines
  186 +
  187 +... and another forgotten file
  188 +
  189 +------------------------------------------------------------------------
  190 +r55 | don | 2006-07-16 16:46:30 +0100 (Sun, 16 Jul 2006) | 2 lines
  191 +
  192 +Move UI description to lower-case
  193 +
  194 +------------------------------------------------------------------------
  195 +r54 | don | 2006-07-16 16:44:52 +0100 (Sun, 16 Jul 2006) | 2 lines
  196 +
  197 +Sigh. One more file to add
  198 +
  199 +------------------------------------------------------------------------
  200 +r53 | don | 2006-07-16 16:44:10 +0100 (Sun, 16 Jul 2006) | 2 lines
  201 +
  202 +Add m4 subdir, forgotten in last commit
  203 +
  204 +------------------------------------------------------------------------
  205 +r52 | don | 2006-07-16 16:42:32 +0100 (Sun, 16 Jul 2006) | 7 lines
  206 +
  207 +Move to autotools style setup. Allows installing to happen. Takes care
  208 +of removing .py from labyrinth in bindir. Adapt everything to cope.
  209 +Adapt everything to allow to run from either uninstalled or from
  210 +installed instance.
  211 +
  212 +Based on auto* stuff from deskbar-applet. Added (empty) changelogs.
  213 +
  214 +------------------------------------------------------------------------
  215 +r51 | don | 2006-07-15 19:19:11 +0100 (Sat, 15 Jul 2006) | 2 lines
  216 +
  217 +Update md5 sums of packages on web-page
  218 +
  219 +------------------------------------------------------------------------
  220 +r50 | don | 2006-07-15 19:15:01 +0100 (Sat, 15 Jul 2006) | 4 lines
  221 +
  222 +Bump version v0.0.5
  223 +Update README et. al. to reflect changes. Discover install is broken.
  224 +Decided "What the fuck.". Moving to new system (hopefully) soon.
  225 +
  226 +------------------------------------------------------------------------
  227 +r49 | don | 2006-07-15 18:49:51 +0100 (Sat, 15 Jul 2006) | 2 lines
  228 +
  229 +Continued work on index for web-page
  230 +
  231 +------------------------------------------------------------------------
  232 +r48 | don | 2006-07-15 18:41:25 +0100 (Sat, 15 Jul 2006) | 5 lines
  233 +
  234 +Make the primary thought red when not selected (Making it easier, for
  235 +non-colour-blind people, to pick out).
  236 +Move screenshot to -002. Add in -005 screenshot.
  237 +Start updating website
  238 +
  239 +------------------------------------------------------------------------
  240 +r47 | don | 2006-07-15 18:11:50 +0100 (Sat, 15 Jul 2006) | 12 lines
  241 +
  242 +Fix stupid bugs. Find out Python is actually EVIL. When it doesn't
  243 +feel like it, it won't alert you to exceptions, just silently fail.
  244 +
  245 +Anyway: Make deletion of parent nodes work properly.
  246 + Make title change as requested
  247 + Handle deletion of primary node gracefully
  248 + If title text is "", revert to "Unknown Map %d"
  249 + Ensure selection of primary and current root works when
  250 +deleting thoughts
  251 + Probably a load more. True feature parity with before rewrite.
  252 +Woo-hoo
  253 +
  254 +------------------------------------------------------------------------
  255 +r46 | don | 2006-07-14 18:18:31 +0100 (Fri, 14 Jul 2006) | 2 lines
  256 +
  257 +Make window title the primary thought content. If > 27 chars, truncate.
  258 +
  259 +------------------------------------------------------------------------
  260 +r45 | don | 2006-07-13 20:41:55 +0100 (Thu, 13 Jul 2006) | 2 lines
  261 +
  262 +Bring up to feature-parity with before. Delete *Classic versions
  263 +
  264 +------------------------------------------------------------------------
  265 +r44 | don | 2006-07-13 20:19:23 +0100 (Thu, 13 Jul 2006) | 4 lines
  266 +
  267 +Fix a few regressions about editing and selecting different nodes and
  268 +...
  269 +Nothing terribly interesting :(
  270 +
  271 +------------------------------------------------------------------------
  272 +r43 | don | 2006-07-13 19:35:21 +0100 (Thu, 13 Jul 2006) | 3 lines
  273 +
  274 +Rework links. THings are now around the same level as before the
  275 +rewrite, but much clearer in the code :)
  276 +
  277 +------------------------------------------------------------------------
  278 +r42 | don | 2006-07-13 19:15:31 +0100 (Thu, 13 Jul 2006) | 2 lines
  279 +
  280 +Start Link rework. Make Area and Thoughts work together.
  281 +
  282 +------------------------------------------------------------------------
  283 +r41 | don | 2006-07-12 22:57:45 +0100 (Wed, 12 Jul 2006) | 3 lines
  284 +
  285 +Rework of Thoughts. More clean now. Seems to work for the most part.
  286 +No colouring. No links as yet. Not tried things out properly.
  287 +
  288 +------------------------------------------------------------------------
  289 +r40 | don | 2006-07-12 21:49:24 +0100 (Wed, 12 Jul 2006) | 3 lines
  290 +
  291 +Oops. Forgot the delete function. Fixed. Still nothing works though
  292 +;)
  293 +
  294 +------------------------------------------------------------------------
  295 +r39 | don | 2006-07-12 21:01:10 +0100 (Wed, 12 Jul 2006) | 5 lines
  296 +
  297 +Great MMapArea rewrite. Breaks program badly until Links and Thoughts
  298 +are rewritten to support it.
  299 +
  300 +New code is much cleaner and easier to follow though.
  301 +
  302 +------------------------------------------------------------------------
  303 +r38 | don | 2006-07-10 21:20:53 +0100 (Mon, 10 Jul 2006) | 2 lines
  304 +
  305 +Make Node deletion work. (Added a list of children to current thought)
  306 +
  307 +------------------------------------------------------------------------
  308 +r37 | don | 2006-07-10 21:01:15 +0100 (Mon, 10 Jul 2006) | 2 lines
  309 +
  310 +Add list of children. Save drawing links the wrong way around
  311 +
  312 +------------------------------------------------------------------------
  313 +r36 | don | 2006-07-10 20:46:49 +0100 (Mon, 10 Jul 2006) | 3 lines
  314 +
  315 +Make dragging of links work in editing mode. Make links update when
  316 +dragging thoughts around.
  317 +
  318 +------------------------------------------------------------------------
  319 +r35 | don | 2006-07-10 20:16:02 +0100 (Mon, 10 Jul 2006) | 2 lines
  320 +
  321 +Links now work as before
  322 +
  323 +------------------------------------------------------------------------
  324 +r34 | don | 2006-07-10 19:47:59 +0100 (Mon, 10 Jul 2006) | 2 lines
  325 +
  326 +First attempt at adding a link type. Very, very broken for now.
  327 +
  328 +------------------------------------------------------------------------
  329 +r33 | don | 2006-07-10 17:47:44 +0100 (Mon, 10 Jul 2006) | 4 lines
  330 +
  331 +Implement Moving and Editing Modes. Now, to edit a thought, you have to
  332 +be in editing mode (default). To move thoughts around, you must be in
  333 +move mode.
  334 +
  335 +------------------------------------------------------------------------
  336 +r32 | don | 2006-07-10 17:24:51 +0100 (Mon, 10 Jul 2006) | 2 lines
  337 +
  338 +Add a silly "About" dialog
  339 +
  340 +------------------------------------------------------------------------
  341 +r31 | don | 2006-07-10 17:08:43 +0100 (Mon, 10 Jul 2006) | 3 lines
  342 +
  343 +Make NewWindow, CloseWindow and Quit work as expected. Allows > 1
  344 +window at a time to be worked on
  345 +
  346 +------------------------------------------------------------------------
  347 +r30 | don | 2006-07-10 16:46:38 +0100 (Mon, 10 Jul 2006) | 2 lines
  348 +
  349 +Add menubar and titlebar to window. Nothing works yet thought.
  350 +
  351 +------------------------------------------------------------------------
  352 +r29 | don | 2006-07-10 15:59:41 +0100 (Mon, 10 Jul 2006) | 2 lines
  353 +
  354 +Add UI description. Update setup and MANIFEST to ship them
  355 +
  356 +------------------------------------------------------------------------
  357 +r28 | don | 2006-07-10 15:50:30 +0100 (Mon, 10 Jul 2006) | 3 lines
  358 +
  359 +Add new file describing MainWindow
  360 +Update script to use LabyrinthWindow
  361 +
  362 +------------------------------------------------------------------------
  363 +r27 | don | 2006-07-10 14:45:34 +0100 (Mon, 10 Jul 2006) | 3 lines
  364 +
  365 +NEW VERSION
  366 +Bump version number to 0.0.3
  367 +
  368 +------------------------------------------------------------------------
  369 +r26 | don | 2006-07-10 14:45:02 +0100 (Mon, 10 Jul 2006) | 2 lines
  370 +
  371 +Put the correct filenames on the webpage
  372 +
  373 +------------------------------------------------------------------------
  374 +r25 | don | 2006-07-10 14:40:47 +0100 (Mon, 10 Jul 2006) | 2 lines
  375 +
  376 +Add in md5 sums
  377 +
  378 +------------------------------------------------------------------------
  379 +r24 | don | 2006-07-10 14:35:46 +0100 (Mon, 10 Jul 2006) | 2 lines
  380 +
  381 +Remove MANIFEST from repo. It's automatically generated.
  382 +
  383 +------------------------------------------------------------------------
  384 +r23 | don | 2006-07-10 14:35:23 +0100 (Mon, 10 Jul 2006) | 2 lines
  385 +
  386 +Add in webpage to repo. Including screenshot.
  387 +
  388 +------------------------------------------------------------------------
  389 +r22 | don | 2006-07-10 14:31:48 +0100 (Mon, 10 Jul 2006) | 2 lines
  390 +
  391 +Include MANIFEST.in in dist, adding in other various files
  392 +
  393 +------------------------------------------------------------------------
  394 +r21 | don | 2006-07-10 14:27:26 +0100 (Mon, 10 Jul 2006) | 3 lines
  395 +
  396 +Make package installable. Update TheFuture to show some ideas. Add
  397 +NEWS file. Update README to reflect changes
  398 +
  399 +------------------------------------------------------------------------
  400 +r20 | don | 2006-07-10 13:07:07 +0100 (Mon, 10 Jul 2006) | 2 lines
  401 +
  402 +Add a missing *
  403 +
  404 +------------------------------------------------------------------------
  405 +r19 | don | 2006-07-10 06:02:05 +0100 (Mon, 10 Jul 2006) | 2 lines
  406 +
  407 +Add some docstrings. Create README. Update TheFuture
  408 +
  409 +------------------------------------------------------------------------
  410 +r18 | don | 2006-07-10 02:45:16 +0100 (Mon, 10 Jul 2006) | 3 lines
  411 +
  412 +Remove some surplus prints. A selected thought will now become the root
  413 +node. Yay. Means that there can now be multiple root thoughts.
  414 +
  415 +------------------------------------------------------------------------
  416 +r17 | don | 2006-07-10 02:40:46 +0100 (Mon, 10 Jul 2006) | 3 lines
  417 +
  418 +Rework signals. Make single click select node. Make double click edit
  419 +node. Make dragging nodes actually work as expected. I hope.
  420 +
  421 +------------------------------------------------------------------------
  422 +r16 | don | 2006-07-10 01:14:01 +0100 (Mon, 10 Jul 2006) | 2 lines
  423 +
  424 +Make draggin work properly. Pretty cool.
  425 +
  426 +------------------------------------------------------------------------
  427 +r15 | don | 2006-07-10 00:59:07 +0100 (Mon, 10 Jul 2006) | 3 lines
  428 +
  429 +Cleanup some syntax
  430 +First attempt at drag-moving boxes around. Doesn't work. Yet.
  431 +
  432 +------------------------------------------------------------------------
  433 +r14 | don | 2006-07-09 23:54:57 +0100 (Sun, 09 Jul 2006) | 3 lines
  434 +
  435 +Make thoughts selectable. Clicking in them makes them change back to
  436 +"editing" state
  437 +
  438 +------------------------------------------------------------------------
  439 +r13 | don | 2006-07-09 23:44:40 +0100 (Sun, 09 Jul 2006) | 3 lines
  440 +
  441 +... and then I go and spoil it all by doing something stupid like ...
  442 +chaning my mind. Home / End go to start / End of line
  443 +
  444 +------------------------------------------------------------------------
  445 +r12 | don | 2006-07-09 23:40:52 +0100 (Sun, 09 Jul 2006) | 2 lines
  446 +
  447 +Added Home and End buttons to go to start and end of buffer
  448 +
  449 +------------------------------------------------------------------------
  450 +r11 | don | 2006-07-09 23:37:35 +0100 (Sun, 09 Jul 2006) | 2 lines
  451 +
  452 +Add a corner in the top-left of the currently-being-edited note
  453 +
  454 +------------------------------------------------------------------------
  455 +r10 | don | 2006-07-09 23:34:43 +0100 (Sun, 09 Jul 2006) | 2 lines
  456 +
  457 +Shade current root thought a hideous bluey color
  458 +
  459 +------------------------------------------------------------------------
  460 +r9 | don | 2006-07-09 22:38:52 +0100 (Sun, 09 Jul 2006) | 2 lines
  461 +
  462 +Don't fall over when ctrl-C'd to quit. Personal peeve
  463 +
  464 +------------------------------------------------------------------------
  465 +r8 | don | 2006-07-09 22:37:38 +0100 (Sun, 09 Jul 2006) | 3 lines
  466 +
  467 +Option parsing. Only 1 option - -h (for help)
  468 +At least shows something now
  469 +
  470 +------------------------------------------------------------------------
  471 +r7 | don | 2006-07-09 22:09:59 +0100 (Sun, 09 Jul 2006) | 2 lines
  472 +
  473 +Update require to actually check version of Gtk available (maybe)
  474 +
  475 +------------------------------------------------------------------------
  476 +r6 | don | 2006-07-09 22:04:51 +0100 (Sun, 09 Jul 2006) | 4 lines
  477 +
  478 +Make the background white
  479 +If current_thought is empty when finishing editing, don't bother drawing
  480 +it
  481 +
  482 +------------------------------------------------------------------------
  483 +r5 | don | 2006-07-09 21:10:07 +0100 (Sun, 09 Jul 2006) | 5 lines
  484 +
  485 +Added a small overview of where this might be leading in the next
  486 +version
  487 +
  488 +Bump version number
  489 +
  490 +------------------------------------------------------------------------
  491 +r4 | don | 2006-07-09 21:04:16 +0100 (Sun, 09 Jul 2006) | 2 lines
  492 +
  493 +Make MoveUp and MoveDown work as expected
  494 +
  495 +------------------------------------------------------------------------
  496 +r3 | don | 2006-07-09 19:58:18 +0100 (Sun, 09 Jul 2006) | 3 lines
  497 +
  498 +Make text insertion work
  499 +First pass at Up navigation. Very broken
  500 +
  501 +------------------------------------------------------------------------
  502 +r2 | don | 2006-07-09 19:18:25 +0100 (Sun, 09 Jul 2006) | 3 lines
  503 +
  504 +Moving back / forward while editing thought
  505 +Backspace / delete actually work as expected
  506 +
  507 +------------------------------------------------------------------------
  508 +r1 | don | 2006-07-09 18:59:02 +0100 (Sun, 09 Jul 2006) | 2 lines
  509 +
  510 +Initial Import of Labyrinth to new home
  511 +
  512 +------------------------------------------------------------------------
11 Makefile.am
... ... @@ -0,0 +1,11 @@
  1 +SUBDIRS = data doc src po
  2 +
  3 +DISTCLEANFILES = \
  4 + intltool-extract \
  5 + intltool-merge \
  6 + intltool-update
  7 +
  8 +EXTRA_DIST = \
  9 + intltool-update.in \
  10 + intltool-extract.in \
  11 + intltool-merge.in
36 NEWS
... ... @@ -0,0 +1,36 @@
  1 +v0.1
  2 +----
  3 +New features:
  4 + * Tomboy style loading and saving of maps
  5 + * Saves all thoughts and links
  6 + * Saves window title, current mode, geometry and placement of window
  7 + * Link strengthening and weakening
  8 + * Drag a link from a current parent to a current child to strengthen the link by 1
  9 + * Drag from child to parent to weaken the link by 1
  10 + * If strength reaches 0, link is deleted
  11 + * Massive internal rework (Yes, again)
  12 + * No more parent-child relationship in code
  13 + * Makes it much easier to maintain and write save files for
  14 + * Make install work again
  15 +
  16 +
  17 +v0.0.5
  18 +------
  19 +
  20 +New features:
  21 + * Menubar and toolbar added. Beginnings of a user-interface. Yay!
  22 + * Allow multiple Labyrinth windows to open at the same time
  23 + * Added an About dialog
  24 + * Allow windows to be closed (ctrl-W) or quit the app (ctrl-Q). Also from the menu.
  25 + * Different modes:
  26 + * Move Mode allows you to drag thoughts around and delete them with the delete / backspace key.
  27 + * Edit Mode</b> allows you to enter new thoughts, edit old thoughts and link up thoughts.
  28 + * Deletion of nodes. Either through delete / backspace key in Move Mode or by menu item in any mode. Note, when no node is selected, this silently fails. The menu item is always sensitive.
  29 + * Massive code rework. Code is now cleaner than before and easier to work with. (Of course, it will likely be screwed with again before becoming serious)
  30 + * Window title becomes Primary Thought content. If no primary thought, default to "Untitled Map %d"
  31 + * Break Install
  32 +
  33 +
  34 +v0.0.2
  35 +------
  36 +Initial release
81 README
... ... @@ -0,0 +1,81 @@
  1 +Labyrinth
  2 +---------
  3 +
  4 +What is it?
  5 +-----------
  6 +
  7 +Labyrinth is a mind-mapping tool, written in Python using Gtk and Cairo to do the drawing. It was written by me (DonScorgie@Blueyonder.co.uk).
  8 +
  9 +A mind-map is a diagram used to represent words, ideas, tasks or other items linked to and arranged radially around a central key word or idea. It is used to generate, visualise, structure and classify ideas, and as an aid in study, organisation, problem solving, and decision making. (From wikipedia)
  10 +
  11 +Current Release
  12 +---------------
  13 +
  14 +This is v0.1. It is not even pre-alpha yet. It doesn't have much of an interface. It is liable to kill kittens if used. It has been tested by me, and works under my configuration (Ubuntu Dapper and now Ubuntu Edgy). I'm not guaranteeing anything about anyone else's computer or work or anything. You may also notice it's pretty ugly and probably highly inefficient. I'm working on it.
  15 +
  16 +Requirements
  17 +------------
  18 +
  19 +I don't really know what the exact requirements are. In the configure script, the following are checked:
  20 +Python == 2.4
  21 +gtk+ >= 2.8
  22 +pygtk-2.0 >= 2.8
  23 +pygobject-2.0 >= 2.10
  24 +gnome-python-2.0 >= 2.12
  25 +gnome-desktop-2.0 >= 2.14
  26 +pycairo >= 1.0
  27 +
  28 +which probably means (to compile) you need the -dev versions of all these (except Python).
  29 +
  30 +How to use it
  31 +-------------
  32 +
  33 +From the top directory of the package, run the command:
  34 +python src/labyrinth.py
  35 +
  36 +It can also be installed using the ./configure && make dance thus:
  37 +./configure --prefix=<prefix_to_use>
  38 +make
  39 +make install
  40 +
  41 +and run with:
  42 +labyrinth
  43 +
  44 +This will open a browser window, showing you all the maps currently available and allow you to modify / delete them and create new maps. The title is (currently) the primary thought text(truncated to 27 characters long). This is usually the first thought created in a new map.
  45 +
  46 +In a new map, single click somewhere to create a new "thought". This is your root. Add your main thought to this. Click somewhere else will create a new thought, linked to the first. Clicking on the root allows you to drag it around. Double click to edit it. Clicking on another thought will make that the root, with future thoughts linking back to it. Changing to Move mode allows thoughts to be dragged around and delete (with the delete key).
  47 +
  48 +Links between thoughts can be created, strengthened and weakened. To create a new link, in edit mode, click and drag from the "parent" thought to the "child" thought. Doing this with a link already in place will strengthen the link by 1 and dragging from child to parent will weaken the link by 1. If the link goes to 0 strength (it starts at 2), the link is deleted.
  49 +
  50 +That's basically all there is too it. Oh, you can move the (text) cursor around within a thought and thoughts can span > 1 line if you like.
  51 +
  52 +Loading and saving of maps is in the tomboy style - they are automatically saved, you shouldn't have to worry about them. For reference anyway, the maps are saved in ~/.gnome2/labyrinth/<longstring>.map
  53 +
  54 +a11y, themes and i18n
  55 +---------------------
  56 +
  57 +All these are currently missing. The background is always white. The font is always the same. The interface is always in English.
  58 +
  59 +This should change soon, with bits 'n pieces marked for translation and different font sizes allowed. The colours should be changable and (where possible) follow the current theme.
  60 +
  61 +I'm also looking at ways of making Labyrinth accessible. Don't know exactly how to do this yet and my previous attempts at adding simple a11y stuff failed miserably.
  62 +
  63 +
  64 +Future Plans
  65 +------------
  66 +
  67 +Really don't know. Haven't thought about anything more than this stage. I don't even know whats going to be in the next release - it'll be a magical mystery tour.
  68 +
  69 +On the other hand, if you really want to know, check TheFuture in the docs directory.
  70 +
  71 +It is also very possible that future work may break the map format, so be warned that this might happen.
  72 +
  73 +Getting the Latest Development Code
  74 +-----------------------------------
  75 +
  76 +It's sitting in a SVN repo on my computer. email me if you want a copy. Or pester me a little and I might put it in a public place.
  77 +
  78 +Helping Out
  79 +-----------
  80 +
  81 +Please. Email me and let me know what you want to work on. Send patches.
40 acinclude.m4
... ... @@ -0,0 +1,40 @@
  1 +dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR)
  2 +dnl
  3 +dnl example
  4 +dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
  5 +dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local
  6 +
  7 +AC_DEFUN([AS_AC_EXPAND],
  8 +[
  9 + EXP_VAR=[$1]
  10 + FROM_VAR=[$2]
  11 +
  12 + dnl first expand prefix and exec_prefix if necessary
  13 + prefix_save=$prefix
  14 + exec_prefix_save=$exec_prefix
  15 +
  16 + dnl if no prefix given, then use /usr/local, the default prefix
  17 + if test "x$prefix" = "xNONE"; then
  18 + prefix=$ac_default_prefix
  19 + fi
  20 + dnl if no exec_prefix given, then use prefix
  21 + if test "x$exec_prefix" = "xNONE"; then
  22 + exec_prefix=$prefix
  23 + fi
  24 +
  25 + full_var="$FROM_VAR"
  26 + dnl loop until it doesn't change anymore
  27 + while true; do
  28 + new_full_var="`eval echo $full_var`"
  29 + if test "x$new_full_var"="x$full_var"; then break; fi
  30 + full_var=$new_full_var
  31 + done
  32 +
  33 + dnl clean up
  34 + full_var=$new_full_var
  35 + AC_SUBST([$1], "$full_var")
  36 +
  37 + dnl restore prefix and exec_prefix
  38 + prefix=$prefix_save
  39 + exec_prefix=$exec_prefix_save
  40 +])
42 autogen.sh
... ... @@ -0,0 +1,42 @@
  1 +#!/bin/sh
  2 +# Run this to generate all the initial makefiles, etc.
  3 +
  4 +srcdir=`dirname $0`
  5 +test -z "$srcdir" && srcdir=.
  6 +
  7 +PKG_NAME="labyrinth"
  8 +ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
  9 +REQUIRED_AUTOCONF_VERSION=2.59
  10 +REQUIRED_AUTOMAKE_VERSION=1.9.2
  11 +REQUIRED_MACROS="python.m4"
  12 +
  13 +(test -f $srcdir/configure.ac \
  14 + && test -f $srcdir/autogen.sh) || {
  15 + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
  16 + echo " top-level $PKG_NAME directory"
  17 + exit 1
  18 +}
  19 +
  20 +DIE=0
  21 +
  22 +gnome_autogen=
  23 +gnome_datadir=
  24 +
  25 +ifs_save="$IFS"; IFS=":"
  26 +for dir in $PATH ; do
  27 + test -z "$dir" && dir=.
  28 + if test -f $dir/gnome-autogen.sh ; then
  29 + gnome_autogen="$dir/gnome-autogen.sh"
  30 + gnome_datadir=`echo $dir | sed -e 's,/bin$,/share,'`
  31 + break
  32 + fi
  33 +done
  34 +IFS="$ifs_save"
  35 +
  36 +if test -z "$gnome_autogen" ; then
  37 + echo "You need to install the gnome-common module and make"
  38 + echo "sure the gnome-autogen.sh script is in your \$PATH."
  39 + exit 1
  40 +fi
  41 +
  42 +GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 . $gnome_autogen
91 configure.ac
... ... @@ -0,0 +1,91 @@
  1 +dnl configure.ac based on the same from
  2 +dnl the "deskbar-applet" module
  3 +
  4 +AC_INIT(labyrinth, 0.1, DonScorgie@Blueyonder.co.uk)
  5 +AC_CONFIG_SRCDIR(src/__init__.py)
  6 +AC_CONFIG_HEADERS(config.h)
  7 +AC_CONFIG_MACRO_DIR([m4])
  8 +
  9 +AM_INIT_AUTOMAKE
  10 +GNOME_COMMON_INIT
  11 +
  12 +AM_MAINTAINER_MODE
  13 +AM_DISABLE_STATIC
  14 +AM_PROG_LIBTOOL
  15 +AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4")
  16 +AC_PROG_CC
  17 +
  18 +dnl ****************************************************************************
  19 +dnl * Pkg-Config
  20 +dnl ****************************************************************************
  21 +AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
  22 +if test "x$HAVE_PKGCONFIG" = "xno"; then
  23 + AC_MSG_ERROR(you need to have pkgconfig installed !)
  24 +fi
  25 +
  26 +dnl ****************************************************************************
  27 +dnl * Translation & i18n
  28 +dnl ****************************************************************************
  29 +
  30 +GETTEXT_PACKAGE="labyrinth"
  31 +IT_PROG_INTLTOOL([0.35.0])
  32 +AC_SUBST(GETTEXT_PACKAGE)
  33 +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package])
  34 +AM_GLIB_GNU_GETTEXT
  35 +
  36 +dnl ****************************************************************************
  37 +dnl * Python 2.4
  38 +dnl ****************************************************************************
  39 +AM_PATH_PYTHON(2.4)
  40 +
  41 +dnl ****************************************************************************
  42 +dnl * Write the values of various paths in defs.py
  43 +dnl ****************************************************************************
  44 +AC_SUBST(VERSION)
  45 +AC_SUBST(PACKAGE)
  46 +
  47 +AS_AC_EXPAND(DATADIR, $datadir)
  48 +AC_SUBST(DATADIR)
  49 +
  50 +AS_AC_EXPAND(LIBDIR, $libdir)
  51 +AC_SUBST(LIBDIR)
  52 +
  53 +AS_AC_EXPAND(PYTHONDIR, $pythondir)
  54 +AC_SUBST(PYTHONDIR)
  55 +
  56 +dnl ****************************************************************************
  57 +dnl * pkg-config checks for all the goodness
  58 +dnl ****************************************************************************
  59 +PKG_CHECK_MODULES(LABYRINTH,
  60 + gtk+-2.0 >= 2.8
  61 + pygtk-2.0 >= 2.8
  62 + pygobject-2.0 >= 2.10
  63 + gnome-python-2.0 >= 2.12
  64 + gnome-desktop-2.0 >= 2.14
  65 + pycairo >= 1.0
  66 +)
  67 +AC_SUBST(LABYRINTH_CFLAGS)
  68 +AC_SUBST(LABYRINTH_LIBS)
  69 +
  70 +
  71 +AC_MSG_CHECKING(for pygtk defs)
  72 +PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
  73 +AC_SUBST(PYGTK_DEFSDIR)
  74 +AC_MSG_RESULT($PYGTK_DEFSDIR)
  75 +
  76 +AC_OUTPUT([
  77 +Makefile
  78 +src/Makefile
  79 +src/defs.py
  80 +data/Makefile
  81 +doc/Makefile
  82 +po/Makefile.in
  83 +])
  84 +
  85 +echo
  86 +echo $PACKAGE v$VERSION
  87 +echo
  88 +
  89 +echo Prefix............... : $prefix
  90 +echo data_dir............. : $datadir
  91 +
7 data/Makefile.am
... ... @@ -0,0 +1,7 @@
  1 +@INTLTOOL_XML_RULE@
  2 +
  3 +uidir = $(datadir)/labyrinth
  4 +
  5 +ui_DATA = labyrinth-ui.xml labyrinth.glade
  6 +
  7 +EXTRA_DIST = $(ui_DATA)
24 data/labyrinth-ui.xml
... ... @@ -0,0 +1,24 @@
  1 +<ui>
  2 + <menubar name="MenuBar">
  3 + <menu action="FileMenu">
  4 + <menuitem action="New"/>
  5 + <separator/>
  6 + <menuitem action="Close"/>
  7 + </menu>
  8 + <menu action="ModeMenu">
  9 + <menuitem action="Edit"/>
  10 + <menuitem action="Move"/>
  11 + <separator/>
  12 + <menuitem action="DeleteNodes"/>
  13 + </menu>
  14 + <menu action="HelpMenu">
  15 + <menuitem action="About"/>
  16 + </menu>
  17 + </menubar>
  18 + <toolbar name="ToolBar">
  19 + <toolitem action="New"/>
  20 + <separator/>
  21 + <toolitem action="Edit"/>
  22 + <toolitem action="Move"/>
  23 + </toolbar>
  24 +</ui>
390 data/labyrinth.glade
... ... @@ -0,0 +1,390 @@
  1 +<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
  2 +<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
  3 +
  4 +<glade-interface>
  5 +
  6 +<widget class="GtkWindow" id="MapBrowser">
  7 + <property name="visible">True</property>
  8 + <property name="title" translatable="yes">Labyrinth Maps</property>
  9 + <property name="type">GTK_WINDOW_TOPLEVEL</property>
  10 + <property name="window_position">GTK_WIN_POS_NONE</property>
  11 + <property name="modal">False</property>
  12 + <property name="resizable">True</property>
  13 + <property name="destroy_with_parent">False</property>
  14 + <property name="decorated">True</property>
  15 + <property name="skip_taskbar_hint">False</property>
  16 + <property name="skip_pager_hint">False</property>
  17 + <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
  18 + <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
  19 + <property name="focus_on_map">True</property>
  20 + <property name="urgency_hint">False</property>
  21 +
  22 + <child>