]> git.cworth.org Git - grrobot/log
grrobot
4 years agoUpdate to 2020 main
Keith Packard [Sat, 14 Mar 2020 05:09:46 +0000 (22:09 -0700)]
Update to 2020

Use librsvg instead of libsvg.
Use gdk_cairo_create instead of open-coding context creation.
Switch from CAIRO_FORMAT_ARGB32 to CAIRO_CONTENT_COLOR_ALPHA.

Surprisingly few changes required to bring this code forward seventeen
years...

Signed-off-by: Keith Packard <keithp@keithp.com>
18 years ago * .cvsignore: Ignore some generated files.
Carl Worth [Fri, 17 Jun 2005 16:40:48 +0000 (16:40 +0000)]
    * .cvsignore: Ignore some generated files.

        * src/args.h (ARGS_HOST_DEFAULT): Revert default host to
        rr.nickle.org now that I know that's up and running again.

18 years ago * src/grr_icon.c (grr_icon_predraw): Fix scaling of all icons by
Carl Worth [Thu, 16 Jun 2005 19:04:59 +0000 (19:04 +0000)]
    * src/grr_icon.c (grr_icon_predraw): Fix scaling of all icons by
        copying the matrix from the main cairo_t to the temporary cairo_t.

18 years ago * src/grr_icon.c (grr_icon_draw_predrawn): Fix inactive targets to
Carl Worth [Thu, 16 Jun 2005 18:49:33 +0000 (18:49 +0000)]
    * src/grr_icon.c (grr_icon_draw_predrawn): Fix inactive targets to
        be translucent once again.

18 years ago * README: Update to refer to cairo instead of Xr.
Carl Worth [Thu, 16 Jun 2005 18:44:44 +0000 (18:44 +0000)]
    * README: Update to refer to cairo instead of Xr.

        * src/args.c: (args_help), (args_usage), (args_parse): Fix
        command-line option parsing. Use getopt rather than argp.

18 years ago * README: Update to refer to cairo instead of Xr.
Carl Worth [Thu, 16 Jun 2005 18:42:16 +0000 (18:42 +0000)]
    * README: Update to refer to cairo instead of Xr.

        * src/args.c: (args_help), (args_usage), (args_parse): Fix
        command-line option parsing. Use getopt rather than argp.

18 years agoRemove generated file ltmain.sh
Carl Worth [Thu, 16 Jun 2005 18:11:46 +0000 (18:11 +0000)]
Remove generated file ltmain.sh

20 years ago * Recovered some lost changes due to a bothced cvsup commit, (yes,
Carl Worth [Fri, 9 Jan 2004 18:37:53 +0000 (18:37 +0000)]
    * Recovered some lost changes due to a bothced cvsup commit, (yes,
        this is utter pain).

        * src/svg/wall.svg: Add round caps to walls.

        * src/svg/robot_red.svg:
        * src/svg/robot_blue.svg:
        * src/svg/robot_green.svg:
        * src/svg/robot_green.svg: Made robot colors match new targets.

        * src/svg/wall.svg: Made walls thicker.

20 years ago * src/svg/grr_icon_svg.h:
Keith Packard [Fri, 2 Jan 2004 00:31:11 +0000 (00:31 +0000)]
* src/svg/grr_icon_svg.h:
* src/svg/target_blue_circle.svg:
* src/svg/target_blue_triangle.svg:
* src/svg/target_green_circle.svg:
* src/svg/target_green_triangle.svg:
* src/svg/target_red_circle.svg:
* src/svg/target_red_triangle.svg:
* src/svg/target_whirl.svg:
* src/svg/target_yellow_circle.svg:
* src/svg/target_yellow_triangle.svg:
Import fancy new targets from Richard Worth (our hero)

20 years ago * configure.in:
Keith Packard [Thu, 25 Dec 2003 21:17:29 +0000 (21:17 +0000)]
* configure.in:
* ltmain.sh:
* src/grr_board_view.c:
* src/grr_icon.c: (_grr_icon_init), (grr_icon_draw):
* src/grr_icon.h:
* src/grrobot.c:
Switch from xsvg to svg-cairo

20 years ago * src/grrobot.c (grr_game_read_notices): Exit cleanly: need to
Carl Worth [Tue, 11 Nov 2003 15:51:53 +0000 (15:51 +0000)]
    * src/grrobot.c (grr_game_read_notices): Exit cleanly: need to
        return control to Gtk+ so that gtk_main_quit has a chance to do
        its job.
        (grr_game_read_notices): Track changes in grr_board_view timer
        API.
        (grr_game_key_press_callback): Eliminate bid_entry text box and
        bid button. Instead, a bare number in the message_entry will
        result in a bid.
        (grr_game_key_press_callback): Change several keybindings to
        require a control modifier: C-N=Next turn, C-P=Pass, C-Z=Zap timer
        and C-RGBY for robot selection. Now, no keybindings should
        interfere with simple text messages.
        (grr_game_pass): "Pass" button now issues "abandon" instead of
        "revoke" when not in show mode.
        (grr_game_next): "Next Turn" button now only issues turn never
        "abandon", so there's no longer a problem when two users both hit
        the "Next Turn" button.

        * src/grr_board_view.c (grr_board_view_decrement_timer): Make the
        "Zap timer" feature animate the fast clock rather than just
        snapping.
        (grr_board_view_start_timer):
        (grr_board_view_stop_timer):
        (grr_board_view_set_timer): Cleaner timer API: set, start, and
        stop.

20 years ago * src/grrobot.c (grr_game_read_notices): Call new board_view timer
Carl Worth [Mon, 10 Nov 2003 15:45:45 +0000 (15:45 +0000)]
    * src/grrobot.c (grr_game_read_notices): Call new board_view timer
        functions on the appropriate state transitions.

        * src/grr_board_view.c (grr_board_view_expose): Add code to draw a
        cute alpha-blended timer which shows off the use of cairo_arc.
        (grr_board_view_refresh_timer):
        (grr_board_view_decrement_timer):
        (grr_board_view_start_timer):
        (grr_board_view_stop_timer):
        (grr_board_view_reset_timer): New functions for managing the timer.

20 years agoTrack changes in Cairo 0.1.1
Carl Worth [Thu, 4 Sep 2003 15:17:44 +0000 (15:17 +0000)]
Track changes in Cairo 0.1.1

20 years agoRevert back to pale incactive icons
Carl Worth [Sun, 3 Aug 2003 21:17:04 +0000 (21:17 +0000)]
Revert back to pale incactive icons

20 years agoNew, lovely octagon targets from Richard.
Carl Worth [Fri, 1 Aug 2003 01:46:26 +0000 (01:46 +0000)]
New, lovely octagon targets from Richard.
Made inactive targets a bit darker.

20 years agoAdded cell1.svg/cell2.svg. Got Richard's new planet colors.
Carl Worth [Thu, 31 Jul 2003 00:59:06 +0000 (00:59 +0000)]
Added cell1.svg/cell2.svg. Got Richard's new planet colors.

20 years agoAlternate two different background images. New planets for all squares.
Carl Worth [Sat, 26 Jul 2003 08:37:12 +0000 (08:37 +0000)]
Alternate two different background images. New planets for all squares.

20 years agoFixed select handling. Added two of Richard's fancy logos.
Carl Worth [Wed, 23 Jul 2003 21:34:35 +0000 (21:34 +0000)]
Fixed select handling. Added two of Richard's fancy logos.
Upgraded to do incremental rendering --- much faster now.

20 years agoAdded keybindings/buttons for bid, pass, zap timer (nobid), and next turn
Carl Worth [Sat, 12 Jul 2003 01:53:37 +0000 (01:53 +0000)]
Added keybindings/buttons for bid, pass, zap timer (nobid), and next turn

20 years agoAdded keybindings. Can now play a board from a file without any server.
Carl Worth [Fri, 11 Jul 2003 01:11:42 +0000 (01:11 +0000)]
Added keybindings. Can now play a board from a file without any server.

20 years agoRemoved junk files
Carl Worth [Thu, 10 Jul 2003 14:58:11 +0000 (14:58 +0000)]
Removed junk files

20 years agoAdd --watch option
Keith Packard [Sat, 5 Jul 2003 05:41:10 +0000 (05:41 +0000)]
Add --watch option

20 years agoResized the graphics slightly. The walls are thinner, the padding is smaller, and
Carl Worth [Fri, 27 Jun 2003 03:13:15 +0000 (03:13 +0000)]
Resized the  graphics slightly. The walls are thinner, the padding is smaller, and
the targets and robots are a bit larger. Also, added black trim around all solid-color targets.
Removed "manual" drawing of grid, incorporating it into cell.svg instead.

Better message when the server goes away.

20 years agoPermit rr_client_next_notice to return null notice
Keith Packard [Thu, 26 Jun 2003 11:17:33 +0000 (11:17 +0000)]
Permit rr_client_next_notice to return null notice

20 years agoAdded support for RR_NOTICE_GAMEOVER.
Carl Worth [Thu, 26 Jun 2003 01:19:40 +0000 (01:19 +0000)]
Added support for RR_NOTICE_GAMEOVER.
Tracked some librr changes

20 years agoRemove errant deflate stuff from Makefile
Carl Worth [Thu, 26 Jun 2003 00:57:01 +0000 (00:57 +0000)]
Remove errant deflate stuff from Makefile

20 years agogrrobot will now load SVG icons from /share/grrobot/*.svg
Carl Worth [Wed, 25 Jun 2003 10:52:59 +0000 (10:52 +0000)]
grrobot will now load SVG icons from /share/grrobot/*.svg
A default SVG icon set is now builtin so the grrobot does not rely on external files.
Rendering is a bit faster, (SVG files are only parsed once).

20 years agoAdded TODO
Carl Worth [Fri, 20 Jun 2003 15:47:32 +0000 (15:47 +0000)]
Added TODO

20 years agoAdded pointers to necessary libraries
Carl Worth [Fri, 20 Jun 2003 15:43:31 +0000 (15:43 +0000)]
Added pointers to necessary libraries

20 years agoAdded pointers to necessary libraries
Carl Worth [Fri, 20 Jun 2003 15:42:08 +0000 (15:42 +0000)]
Added pointers to necessary libraries

20 years agoFixed messages and scrolling
Carl Worth [Thu, 19 Jun 2003 11:40:34 +0000 (11:40 +0000)]
Fixed messages and scrolling

20 years agoAdded click-to-move in addition to drag-to-move
Carl Worth [Sun, 15 Jun 2003 07:07:49 +0000 (07:07 +0000)]
Added click-to-move in addition to drag-to-move

20 years agoFixed double-add of vpane
Carl Worth [Sun, 15 Jun 2003 01:48:29 +0000 (01:48 +0000)]
Fixed double-add of vpane

20 years agoFixed layout of text entry widget to fixed height
Carl Worth [Sun, 15 Jun 2003 01:39:15 +0000 (01:39 +0000)]
Fixed layout of text entry widget to fixed height

20 years agoUse raw g_source APIs to track rr connection
Keith Packard [Sat, 14 Jun 2003 09:04:59 +0000 (09:04 +0000)]
Use raw g_source APIs to track rr connection

20 years agoAdded drag-and-drop (works but for handling queued notices).
Carl Worth [Sat, 14 Jun 2003 08:17:41 +0000 (08:17 +0000)]
Added drag-and-drop (works but for handling queued notices).
Fixed to peroperly grok, (and display results of) responses.

20 years agoRipped out leftover code from widget sample code.
Carl Worth [Sat, 14 Jun 2003 01:57:31 +0000 (01:57 +0000)]
Ripped out leftover code from widget sample code.

20 years agoFix message scrolling. Add NOTICE TURN support. Flush notices.
Carl Worth [Sat, 14 Jun 2003 00:37:30 +0000 (00:37 +0000)]
Fix message scrolling. Add NOTICE TURN support. Flush notices.

20 years agoInitial import of grrobot
Carl Worth [Fri, 13 Jun 2003 10:39:03 +0000 (10:39 +0000)]
Initial import of grrobot

20 years agoInitial revision
Carl Worth [Fri, 13 Jun 2003 10:39:03 +0000 (10:39 +0000)]
Initial revision