lobby-svn Mailing List for Lobby
Brought to you by:
yuranet
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(9) |
Jun
(3) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
|
Feb
(8) |
Mar
(10) |
Apr
(2) |
May
(96) |
Jun
(33) |
Jul
(113) |
Aug
(24) |
Sep
(35) |
Oct
(17) |
Nov
(36) |
Dec
(1) |
| 2008 |
Jan
(10) |
Feb
|
Mar
(35) |
Apr
(14) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(23) |
Sep
(19) |
Oct
(13) |
Nov
(59) |
Dec
(42) |
| 2013 |
Jan
(7) |
Feb
(10) |
Mar
(29) |
Apr
(10) |
May
(28) |
Jun
(3) |
Jul
(7) |
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
(9) |
| 2014 |
Jan
(7) |
Feb
(1) |
Mar
(11) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(3) |
Sep
|
Oct
|
Nov
(1) |
Dec
(3) |
| 2015 |
Jan
(10) |
Feb
|
Mar
(5) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2016 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(3) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(3) |
Sep
(7) |
Oct
(4) |
Nov
|
Dec
(16) |
| 2019 |
Jan
(2) |
Feb
(3) |
Mar
(4) |
Apr
|
May
|
Jun
(2) |
Jul
(2) |
Aug
|
Sep
(3) |
Oct
(8) |
Nov
(3) |
Dec
(6) |
| 2020 |
Jan
|
Feb
|
Mar
(4) |
Apr
(11) |
May
(12) |
Jun
(12) |
Jul
(8) |
Aug
(10) |
Sep
(3) |
Oct
(11) |
Nov
(7) |
Dec
|
| 2021 |
Jan
|
Feb
|
Mar
(5) |
Apr
(7) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(19) |
Dec
(15) |
| 2022 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
|
May
(3) |
Jun
(2) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(3) |
| 2023 |
Jan
(1) |
Feb
|
Mar
|
Apr
(5) |
May
(4) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(3) |
| 2025 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(3) |
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(30) |
Nov
|
Dec
|
|
From: <yu...@us...> - 2025-10-24 10:04:43
|
Revision: 1092
http://sourceforge.net/p/lobby/code/1092
Author: yuranet
Date: 2025-10-24 10:04:40 +0000 (Fri, 24 Oct 2025)
Log Message:
-----------
javadoc update
Modified Paths:
--------------
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java
trunk/src_server/net/yura/lobby/server/GameLobby.java
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-23 12:14:30 UTC (rev 1091)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-24 10:04:40 UTC (rev 1092)
@@ -1,10 +1,8 @@
package net.yura.lobby.mini;
-import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
-import java.io.ObjectInputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
@@ -841,6 +839,18 @@
}
}
+ /**
+ * called ONLY on the creator of the game, and ONLY in the case of
+ * a game that was created from a predefined list of players.
+ *
+ * This was used for games created through google play games
+ *
+ * if we simply want to know that a game we are in has started,
+ * MiniLobbyClient could listen to addOrUpdateGame where a game
+ * changed state from any other state to {@link Game#STATE_CAN_PLAY}
+ *
+ * @deprecated
+ */
public void gameStarted(int id) {
game.gameStarted(id);
}
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java 2025-10-23 12:14:30 UTC (rev 1091)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java 2025-10-24 10:04:40 UTC (rev 1092)
@@ -57,8 +57,18 @@
* button inside lobby was clicked that the user wants to join a private game
*/
void loginGoogle();
+
/**
- * a private game was started on the server
+ * called ONLY on the creator of the game, and ONLY in the case of
+ * a game that was created from a predefined list of players.
+ *
+ * This was used for games created through google play games
+ *
+ * if we simply want to know that a game we are in has started,
+ * MiniLobbyClient could listen to addOrUpdateGame where a game
+ * changed state from any other state to {@link Game#STATE_CAN_PLAY}
+ *
+ * @deprecated
*/
void gameStarted(int id);
Modified: trunk/src_server/net/yura/lobby/server/GameLobby.java
===================================================================
--- trunk/src_server/net/yura/lobby/server/GameLobby.java 2025-10-23 12:14:30 UTC (rev 1091)
+++ trunk/src_server/net/yura/lobby/server/GameLobby.java 2025-10-24 10:04:40 UTC (rev 1092)
@@ -1508,6 +1508,9 @@
}
}
+ /**
+ * @deprecated (was used for GooglePlay private games)
+ */
@Override
public void gameStarted() {
if (creator != null) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-23 12:14:33
|
Revision: 1091
http://sourceforge.net/p/lobby/code/1091
Author: yuranet
Date: 2025-10-23 12:14:30 +0000 (Thu, 23 Oct 2025)
Log Message:
-----------
avoid null pointer
Modified Paths:
--------------
trunk/src_server/net/yura/lobby/server/GameLobby.java
Modified: trunk/src_server/net/yura/lobby/server/GameLobby.java
===================================================================
--- trunk/src_server/net/yura/lobby/server/GameLobby.java 2025-10-23 12:12:16 UTC (rev 1090)
+++ trunk/src_server/net/yura/lobby/server/GameLobby.java 2025-10-23 12:14:30 UTC (rev 1091)
@@ -1524,7 +1524,7 @@
// TODO this start time can also be the time the server started up and loaded the game from the DB
String winner = finalScores.entrySet().stream()
.max(Map.Entry.comparingByValue())
- .get().getKey();
+ .map(Map.Entry::getKey).orElse(null);
ProfileServer.sendGame(theGame, startTime, winner);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-23 12:12:18
|
Revision: 1090
http://sourceforge.net/p/lobby/code/1090
Author: yuranet
Date: 2025-10-23 12:12:16 +0000 (Thu, 23 Oct 2025)
Log Message:
-----------
client logic game, avoid logging unknown winner
Modified Paths:
--------------
trunk/src_server/net/yura/lobby/server/ClientLogicTurnBasedGame.java
Modified: trunk/src_server/net/yura/lobby/server/ClientLogicTurnBasedGame.java
===================================================================
--- trunk/src_server/net/yura/lobby/server/ClientLogicTurnBasedGame.java 2025-10-23 12:08:26 UTC (rev 1089)
+++ trunk/src_server/net/yura/lobby/server/ClientLogicTurnBasedGame.java 2025-10-23 12:12:16 UTC (rev 1090)
@@ -4,6 +4,7 @@
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
+import java.util.Map;
/**
* A very simple turn based game where the entire state of the game is sent as a byte[]
@@ -64,8 +65,8 @@
}
// TurnBasedMultiplayerClient finishMatch
- if ("finishMatch".equals(message)) { // TODO we need to know the winner
- gameFinished("TODO");
+ if ("finishMatch".equals(message)) {
+ gameFinished(Map.of()); // winner/loser unknown as all logic was on client
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-23 12:08:27
|
Revision: 1089
http://sourceforge.net/p/lobby/code/1089
Author: yuranet
Date: 2025-10-23 12:08:26 +0000 (Thu, 23 Oct 2025)
Log Message:
-----------
more flexable way to end game
Modified Paths:
--------------
trunk/src_server/net/yura/lobby/server/AbstractTurnBasedServerGame.java
trunk/src_server/net/yura/lobby/server/GameLobby.java
trunk/src_server/net/yura/lobby/server/ServerGameListener.java
Modified: trunk/src_server/net/yura/lobby/server/AbstractTurnBasedServerGame.java
===================================================================
--- trunk/src_server/net/yura/lobby/server/AbstractTurnBasedServerGame.java 2025-10-23 01:19:16 UTC (rev 1088)
+++ trunk/src_server/net/yura/lobby/server/AbstractTurnBasedServerGame.java 2025-10-23 12:08:26 UTC (rev 1089)
@@ -16,6 +16,7 @@
*/
package net.yura.lobby.server;
+import java.util.Map;
import java.util.Objects;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
@@ -56,14 +57,18 @@
// ################################### methods callable by the game ####################################
+ public final boolean gameFinished(String winner) {
+ listoner.sendChatroomMessage("Game over! " + winner + " has won!");
+ return gameFinished(Map.of(winner, 1));
+ }
+
// called by the game when it comes to an end
// set things up for another game
- public final boolean gameFinished(String winner) {
+ public final boolean gameFinished(Map<String, Integer> finalScores) {
killFuture();
whoiwantinputfrom = null;
finished = true;
- listoner.sendChatroomMessage("Game over! " + winner + " has won!");
- return listoner.gameFinished(winner);
+ return listoner.gameFinished(finalScores);
}
public final void getInputFromClient(String username) {
Modified: trunk/src_server/net/yura/lobby/server/GameLobby.java
===================================================================
--- trunk/src_server/net/yura/lobby/server/GameLobby.java 2025-10-23 01:19:16 UTC (rev 1088)
+++ trunk/src_server/net/yura/lobby/server/GameLobby.java 2025-10-23 12:08:26 UTC (rev 1089)
@@ -1519,9 +1519,12 @@
}
@Override
- public boolean gameFinished(String winner) {
+ public boolean gameFinished(Map<String, Integer> finalScores) {
if (sendGameStatsToProfileServer) {
// TODO this start time can also be the time the server started up and loaded the game from the DB
+ String winner = finalScores.entrySet().stream()
+ .max(Map.Entry.comparingByValue())
+ .get().getKey();
ProfileServer.sendGame(theGame, startTime, winner);
}
Modified: trunk/src_server/net/yura/lobby/server/ServerGameListener.java
===================================================================
--- trunk/src_server/net/yura/lobby/server/ServerGameListener.java 2025-10-23 01:19:16 UTC (rev 1088)
+++ trunk/src_server/net/yura/lobby/server/ServerGameListener.java 2025-10-23 12:08:26 UTC (rev 1089)
@@ -17,6 +17,7 @@
package net.yura.lobby.server;
import java.util.Collection;
+import java.util.Map;
public interface ServerGameListener {
@@ -38,8 +39,13 @@
void gameStarted();
/**
+ * not all games have 1 winner, not all games have winners and loosers
+ * e.g. Risk has 1 winner, ShitHead has 1 loser, Chess can end in a draw,
+ * other games map have teams so 2 winners and 2 losers
+ * in some games being 2nd can mean nothing, but in another game it may be a runner up
+ *
* @return true if this game has been deleted
*/
- boolean gameFinished(String winner);
+ boolean gameFinished(Map<String, Integer> playerToScore);
void logGameMove(String user, String move);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-23 01:19:19
|
Revision: 1088
http://sourceforge.net/p/lobby/code/1088
Author: yuranet
Date: 2025-10-23 01:19:16 +0000 (Thu, 23 Oct 2025)
Log Message:
-----------
new game player events added
Modified Paths:
--------------
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-22 21:45:09 UTC (rev 1087)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-23 01:19:16 UTC (rev 1088)
@@ -8,10 +8,12 @@
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
+import java.util.HashSet;
import java.util.LinkedList;
import java.util.Map;
import java.util.Queue;
import java.util.ResourceBundle;
+import java.util.Set;
import java.util.UUID;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -670,12 +672,19 @@
}
int index = Collections.binarySearch(games, game);
- if (index>=0) {
+ if (index >= 0) {
+ boolean openGame = openGameId == game.getId();
+ Game oldGame = (Game)games.get(index);
+
games.set(index, game);
+
+ if (openGame) {
+ detectPlayerEvents(oldGame, game);
+ }
// if this game is not open and its our turn
if (whoAmI().equals(game.getWhosTurn())) {
- notify(game, openGameId == game.getId());
+ notify(game, openGame);
}
}
else {
@@ -689,6 +698,36 @@
}
}
+ private void detectPlayerEvents(Game oldGame, Game newGame) {
+ if (oldGame.getNumOfPlayers() == newGame.getNumOfPlayers()) {
+ if (!oldGame.getPlayers().equals(newGame.getPlayers())) {
+ Set<Player> oldPlayers = new HashSet(oldGame.getPlayers());
+ Set<Player> newPlayers = new HashSet(newGame.getPlayers());
+ oldPlayers.removeAll(newGame.getPlayers());
+ newPlayers.removeAll(oldGame.getPlayers());
+ if (oldPlayers.size() == 1 && newPlayers.size() == 1) {
+ game.playerRenamed(oldPlayers.iterator().next().getName(), newPlayers.iterator().next().getName());
+ }
+ }
+ }
+ else if ((newGame.getNumOfPlayers()+1) == oldGame.getNumOfPlayers()) {
+ // player removed
+ Set<Player> oldPlayers = new HashSet(oldGame.getPlayers());
+ oldPlayers.removeAll(newGame.getPlayers());
+ if (oldPlayers.size() == 1) {
+ game.playerRemoved(oldPlayers.iterator().next().getName());
+ }
+ }
+ else if ((newGame.getNumOfPlayers()-1) == oldGame.getNumOfPlayers()) {
+ //player added
+ Set<Player> newPlayers = new HashSet(newGame.getPlayers());
+ newPlayers.removeAll(oldGame.getPlayers());
+ if (newPlayers.size() == 1) {
+ game.playerAdded(newPlayers.iterator().next().getName());
+ }
+ }
+ }
+
public Game findGame(int id) {
Game g = new Game();
g.setId(id);
@@ -808,40 +847,25 @@
public void messageForGame(int gameid, Object message) {
if (gameid == openGameId) {
- if (message instanceof String) {
- String string = (String)message;
- if (string.equals("LOBBY_GAMEOVER")) {
- // TODO
- //paused=true;
+ try {
+ if (message instanceof String) {
+ String string = (String)message;
+ game.stringForGame(string);
}
else {
- game.stringForGame(string);
+ game.objectForGame(message);
}
}
- else if (message instanceof byte[]) {
- Object object = null;
- try {
- ByteArrayInputStream in = new ByteArrayInputStream( (byte[])message );
- ObjectInputStream oin = new ObjectInputStream(in);
- object = oin.readObject();
- }
- catch (Exception ex) {
- logger.log(Level.WARNING, "serialization error for game: " + gameid, ex);
- error("unable to open game " + gameid + ": " + ex);
- closeGame();
- }
- catch (StackOverflowError error) {
- // this happens on large maps on android, so far i have not found a way round this
- logger.log(Level.WARNING, "serialization StackOverflowError for game: " + gameid, error);
- error("device unable to open large game " + gameid + ": " + error);
- closeGame();
- }
-
- // we want to ALWAYS call objectForGame, as that closes the loading screen
- game.objectForGame(object);
+ catch (Exception ex) {
+ logger.log(Level.WARNING, "serialization error for game: " + gameid, ex);
+ error("unable to open game " + gameid + ": " + ex);
+ closeGame();
}
- else {
- throw new RuntimeException("unknown object "+message);
+ catch (StackOverflowError error) {
+ // this happens on large maps on android, so far i have not found a way round this
+ logger.log(Level.WARNING, "serialization StackOverflowError for game: " + gameid, error);
+ error("device unable to open large game " + gameid + ": " + error);
+ closeGame();
}
}
else {
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java 2025-10-22 21:45:09 UTC (rev 1087)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java 2025-10-23 01:19:16 UTC (rev 1088)
@@ -1,5 +1,6 @@
package net.yura.lobby.mini;
+import java.io.IOException;
import java.util.Collection;
import net.yura.lobby.model.Game;
import net.yura.lobby.model.GameType;
@@ -13,10 +14,14 @@
*/
public interface MiniLobbyGame {
+ String getAppName();
+ String getAppVersion();
+
void addLobbyGameMoveListener(MiniLobbyClient lgl);
/**
* main screen chat button clicked
+ * @see MiniLobbyClient#getChatButton()
*/
void openChat();
@@ -26,6 +31,7 @@
/**
* callback mlc.createNewGame(Game)
+ * @see MiniLobbyClient#createNewGame(net.yura.lobby.model.Game)
*/
void openGameSetup(GameType gameType);
@@ -37,8 +43,12 @@
/**
* @param object for game, if serialization error then null
*/
- void objectForGame(Object object);
+ void objectForGame(Object object) throws IOException, ClassNotFoundException;
void stringForGame(String message);
+
+ void playerRenamed(String oldName, String newName);
+ void playerAdded(String name);
+ void playerRemoved(String name);
void connected(String username);
void disconnected();
@@ -52,11 +62,16 @@
*/
void gameStarted(int id);
- String getAppName();
- String getAppVersion();
-
+ /**
+ * Cleanup any game resources.
+ * TODO is this really needed?
+ * @see MiniLobbyClient#addCloseListener(net.yura.mobile.gui.ActionListener)
+ */
void lobbyShutdown();
+ /**
+ * @see MiniLobbyClient#toast(java.lang.String)
+ */
void showMessage(String fromwho, String message);
void addSpectator(Player player);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-22 21:45:15
|
Revision: 1087
http://sourceforge.net/p/lobby/code/1087
Author: yuranet
Date: 2025-10-22 21:45:09 +0000 (Wed, 22 Oct 2025)
Log Message:
-----------
fix to not keep old usernames in mem db
Modified Paths:
--------------
trunk/src_server/net/yura/lobby/database/Database.java
trunk/src_server/net/yura/lobby/database/impl/JPADatabase.java
trunk/src_server/net/yura/lobby/database/impl/MemoryDatabase.java
trunk/src_server/net/yura/lobby/server/AbstractTurnBasedServerGame.java
trunk/test/net/yura/lobby/database/impl/DatabaseTest.java
Modified: trunk/src_server/net/yura/lobby/database/Database.java
===================================================================
--- trunk/src_server/net/yura/lobby/database/Database.java 2025-10-22 19:48:17 UTC (rev 1086)
+++ trunk/src_server/net/yura/lobby/database/Database.java 2025-10-22 21:45:09 UTC (rev 1087)
@@ -2,7 +2,7 @@
import java.util.Collection;
-public interface Database {
+public interface Database extends AutoCloseable {
void startTransaction();
/**
@@ -41,4 +41,6 @@
void logGameMove(String gameID, String user, String move);
String getStatus();
+
+ void close();
}
Modified: trunk/src_server/net/yura/lobby/database/impl/JPADatabase.java
===================================================================
--- trunk/src_server/net/yura/lobby/database/impl/JPADatabase.java 2025-10-22 19:48:17 UTC (rev 1086)
+++ trunk/src_server/net/yura/lobby/database/impl/JPADatabase.java 2025-10-22 21:45:09 UTC (rev 1087)
@@ -67,6 +67,18 @@
}
}
+ @Override
+ public void close() {
+ emf.close();
+
+ try {
+ ManagementFactory.getPlatformMBeanServer().unregisterMBean(new ObjectName("net.yura.lobby:type=JPADatabase"));
+ }
+ catch (Exception ex) {
+ throw new IllegalStateException(ex);
+ }
+ }
+
/**
* we can NOT nest transactions, if we wanted to add that functionality we may want to use:
* @see java.sql.Savepoint
Modified: trunk/src_server/net/yura/lobby/database/impl/MemoryDatabase.java
===================================================================
--- trunk/src_server/net/yura/lobby/database/impl/MemoryDatabase.java 2025-10-22 19:48:17 UTC (rev 1086)
+++ trunk/src_server/net/yura/lobby/database/impl/MemoryDatabase.java 2025-10-22 21:45:09 UTC (rev 1087)
@@ -252,18 +252,26 @@
@Override
public void saveUser(User user) {
checkTransaction();
- if (user.getId()==null) {
- user.setId( clientUUIDtoInt.size()+1 );
+ if (user.getId() == null) {
+ user.setId( registeredPeople.size()+1 );
if (registeredPeople.containsKey(user.getName())) {
- throw new IllegalArgumentException("username already taken");
+ throw new IllegalArgumentException("username already taken: " + user.getName());
}
if (clientUUIDtoInt.containsKey(user.getClientUuid())) {
- throw new IllegalArgumentException("uuid already taken");
+ throw new IllegalArgumentException("uuid already taken: " + user.getClientUuid());
}
}
+ else {
+ // uuid or name may have been changed, we need to clear them from the lookup maps
+ registeredPeople.entrySet().removeIf(entry -> entry.getValue().equals(user));
+ clientUUIDtoInt.entrySet().removeIf(entry -> entry.getValue().equals(user));
+ }
+
registeredPeople.put(user.getName(), user);
- clientUUIDtoInt.put(user.getClientUuid(), user);
+ if (user.getClientUuid() != null) {
+ clientUUIDtoInt.put(user.getClientUuid(), user);
+ }
}
@Override
@@ -316,4 +324,8 @@
public String getStatus() {
return "MEM DB";
}
+
+ @Override
+ public void close() {
+ }
}
Modified: trunk/src_server/net/yura/lobby/server/AbstractTurnBasedServerGame.java
===================================================================
--- trunk/src_server/net/yura/lobby/server/AbstractTurnBasedServerGame.java 2025-10-22 19:48:17 UTC (rev 1086)
+++ trunk/src_server/net/yura/lobby/server/AbstractTurnBasedServerGame.java 2025-10-22 21:45:09 UTC (rev 1087)
@@ -46,6 +46,9 @@
public abstract void destroyGame();
public abstract void playerJoins(String username);
+ /**
+ * @return true only if the game has been removed, e.g. the result from calling {@link #gameFinished(java.lang.String)}
+ */
public abstract boolean playerResigns(String username);
public abstract void midgamePlayerLogin(String oldser, String newuser);
public abstract void playerTimedOut(String username);
Modified: trunk/test/net/yura/lobby/database/impl/DatabaseTest.java
===================================================================
--- trunk/test/net/yura/lobby/database/impl/DatabaseTest.java 2025-10-22 19:48:17 UTC (rev 1086)
+++ trunk/test/net/yura/lobby/database/impl/DatabaseTest.java 2025-10-22 21:45:09 UTC (rev 1087)
@@ -1,7 +1,6 @@
package net.yura.lobby.database.impl;
-import java.lang.management.ManagementFactory;
-import javax.management.ObjectName;
+import net.yura.lobby.database.Database;
import net.yura.lobby.database.GameRoom;
import net.yura.lobby.database.GameTypeRoom;
import net.yura.lobby.database.User;
@@ -20,7 +19,7 @@
*/
public class DatabaseTest {
- private JPADatabase database;
+ private Database database;
public DatabaseTest() {
}
@@ -49,16 +48,8 @@
//NucleusContext nucCtx = ((JPAEntityManagerFactory)database.emf).getNucleusContext();
//((SchemaAwareStoreManager)nucCtx.getStoreManager()).deleteSchema(null, null);
- if (database != null) {
- try {
- ManagementFactory.getPlatformMBeanServer().unregisterMBean(new ObjectName("net.yura.lobby:type=JPADatabase"));
- }
- catch (Exception ex) {
- throw new IllegalStateException(ex);
- }
-
- database = null;
- }
+ database.close();
+ database = null;
}
@Test
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-22 19:48:20
|
Revision: 1086
http://sourceforge.net/p/lobby/code/1086
Author: yuranet
Date: 2025-10-22 19:48:17 +0000 (Wed, 22 Oct 2025)
Log Message:
-----------
catch icon failed
Modified Paths:
--------------
trunk/src_client/net/yura/lobby/client/LobbyClientGUI.java
Modified: trunk/src_client/net/yura/lobby/client/LobbyClientGUI.java
===================================================================
--- trunk/src_client/net/yura/lobby/client/LobbyClientGUI.java 2025-10-22 16:34:46 UTC (rev 1085)
+++ trunk/src_client/net/yura/lobby/client/LobbyClientGUI.java 2025-10-22 19:48:17 UTC (rev 1086)
@@ -1519,28 +1519,32 @@
public synchronized void addOrUpdateGame(final Game game) {
- LobbyGame lobbyGame = ((LobbyGame)activegames.get(game.getId()));
- if (lobbyGame!=null) {
- lobbyGame.gameUpdate(game);
- }
- // TODO remove this
- else if ( game.getState(myusername) == Game.STATE_CAN_PLAY) {
+ try {
+ LobbyGame lobbyGame = ((LobbyGame)activegames.get(game.getId()));
+ if (lobbyGame!=null) {
+ lobbyGame.gameUpdate(game);
+ }
+ // TODO remove this
+ else if ( game.getState(myusername) == Game.STATE_CAN_PLAY) {
- Icon icon = getLobbyGame(game.getType(),false).getIcon(game.getOptions(), messages);
+ Icon icon = getLobbyGame(game.getType(),false).getIcon(game.getOptions(), messages);
- addNewMessage( new Message(game.toString(), "New Game Started, click to play", icon) {
- int id = game.getId();
- public void action() {
- loadGame( game );
- }
+ addNewMessage( new Message(game.toString(), "New Game Started, click to play", icon) {
+ int id = game.getId();
+ public void action() {
+ loadGame( game );
+ }
- public boolean equals(Object obj) {
- return getClass().isInstance(obj) && id == getClass().cast(obj).id;
- }
- } );
+ public boolean equals(Object obj) {
+ return getClass().isInstance(obj) && id == getClass().cast(obj).id;
+ }
+ } );
+ }
}
+ catch (Exception ex) {
+ ex.printStackTrace();
+ }
-
if (game.getType().equals( getCurrentGameType() )) {
List gameList = gamesModel.getDataVector();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-22 16:34:49
|
Revision: 1085
http://sourceforge.net/p/lobby/code/1085
Author: yuranet
Date: 2025-10-22 16:34:46 +0000 (Wed, 22 Oct 2025)
Log Message:
-----------
allow null options
Modified Paths:
--------------
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-21 22:55:35 UTC (rev 1084)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-22 16:34:46 UTC (rev 1085)
@@ -927,7 +927,8 @@
"&icon="+Url.encode(icon)+
"&onlyBackground="+onlyBackground+
"&"+Url.encode(PushLobbyClient.GAME_ID)+"="+Url.encode(String.valueOf(gameId))+
- "&"+Url.encode(PushLobbyClient.OPTIONS)+"="+Url.encode(options));
+ (options == null ? "" : "&" + Url.encode(PushLobbyClient.OPTIONS) + "=" + Url.encode(options))
+ );
// not used &num=4
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-21 22:55:37
|
Revision: 1084
http://sourceforge.net/p/lobby/code/1084
Author: yuranet
Date: 2025-10-21 22:55:35 +0000 (Tue, 21 Oct 2025)
Log Message:
-----------
added theme for segmented_control
Added Paths:
-----------
trunk/src_mini_client/segmented_control.xml
trunk/src_mini_client/segmented_control_left.9.png
trunk/src_mini_client/seg...@2x...
trunk/src_mini_client/segmented_control_middle.9.png
trunk/src_mini_client/seg...@2x...
trunk/src_mini_client/segmented_control_right.9.png
trunk/src_mini_client/seg...@2x...
trunk/src_mini_client/segmented_control_selected_left.9.png
trunk/src_mini_client/seg...@2x...
trunk/src_mini_client/segmented_control_selected_middle.9.png
trunk/src_mini_client/seg...@2x...
trunk/src_mini_client/segmented_control_selected_right.9.png
trunk/src_mini_client/seg...@2x...
Added: trunk/src_mini_client/segmented_control.xml
===================================================================
--- trunk/src_mini_client/segmented_control.xml (rev 0)
+++ trunk/src_mini_client/segmented_control.xml 2025-10-21 22:55:35 UTC (rev 1084)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<synth>
+
+ <style id="segmentedControlLeft">
+ <opaque value="false"/>
+ <state>
+ <imagePainter path="/segmented_control_left.9.png"/>
+ <color type="FOREGROUND"/>
+ </state>
+ <state value="SELECTED">
+ <imagePainter path="/segmented_control_selected_left.9.png"/>
+ <color type="FOREGROUND" value="#FFFFFF"/>
+ </state>
+ </style>
+ <bind style="segmentedControlLeft" key="SegmentedControlLeft"/>
+
+ <style id="segmentedControlMiddle">
+ <opaque value="false"/>
+ <state>
+ <imagePainter path="/segmented_control_middle.9.png"/>
+ <color type="FOREGROUND"/>
+ </state>
+ <state value="SELECTED">
+ <imagePainter path="/segmented_control_selected_middle.9.png"/>
+ <color type="FOREGROUND" value="#FFFFFF"/>
+ </state>
+ </style>
+ <bind style="segmentedControlMiddle" key="SegmentedControlMiddle"/>
+
+ <style id="segmentedControlRight">
+ <opaque value="false"/>
+ <state>
+ <imagePainter path="/segmented_control_right.9.png"/>
+ <color type="FOREGROUND"/>
+ </state>
+ <state value="SELECTED">
+ <imagePainter path="/segmented_control_selected_right.9.png"/>
+ <color type="FOREGROUND" value="#FFFFFF"/>
+ </state>
+ </style>
+ <bind style="segmentedControlRight" key="SegmentedControlRight"/>
+
+</synth>
Added: trunk/src_mini_client/segmented_control_left.9.png
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/segmented_control_left.9.png
===================================================================
--- trunk/src_mini_client/segmented_control_left.9.png 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/segmented_control_left.9.png 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/segmented_control_left.9.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/seg...@2x...
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/seg...@2x...
===================================================================
--- trunk/src_mini_client/seg...@2x... 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/seg...@2x... 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/seg...@2x...
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/segmented_control_middle.9.png
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/segmented_control_middle.9.png
===================================================================
--- trunk/src_mini_client/segmented_control_middle.9.png 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/segmented_control_middle.9.png 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/segmented_control_middle.9.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/seg...@2x...
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/seg...@2x...
===================================================================
--- trunk/src_mini_client/seg...@2x... 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/seg...@2x... 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/seg...@2x...
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/segmented_control_right.9.png
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/segmented_control_right.9.png
===================================================================
--- trunk/src_mini_client/segmented_control_right.9.png 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/segmented_control_right.9.png 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/segmented_control_right.9.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/seg...@2x...
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/seg...@2x...
===================================================================
--- trunk/src_mini_client/seg...@2x... 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/seg...@2x... 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/seg...@2x...
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/segmented_control_selected_left.9.png
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/segmented_control_selected_left.9.png
===================================================================
--- trunk/src_mini_client/segmented_control_selected_left.9.png 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/segmented_control_selected_left.9.png 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/segmented_control_selected_left.9.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/seg...@2x...
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/seg...@2x...
===================================================================
--- trunk/src_mini_client/seg...@2x... 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/seg...@2x... 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/seg...@2x...
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/segmented_control_selected_middle.9.png
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/segmented_control_selected_middle.9.png
===================================================================
--- trunk/src_mini_client/segmented_control_selected_middle.9.png 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/segmented_control_selected_middle.9.png 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/segmented_control_selected_middle.9.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/seg...@2x...
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/seg...@2x...
===================================================================
--- trunk/src_mini_client/seg...@2x... 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/seg...@2x... 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/seg...@2x...
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/segmented_control_selected_right.9.png
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/segmented_control_selected_right.9.png
===================================================================
--- trunk/src_mini_client/segmented_control_selected_right.9.png 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/segmented_control_selected_right.9.png 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/segmented_control_selected_right.9.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/seg...@2x...
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/seg...@2x...
===================================================================
--- trunk/src_mini_client/seg...@2x... 2025-10-21 00:53:19 UTC (rev 1083)
+++ trunk/src_mini_client/seg...@2x... 2025-10-21 22:55:35 UTC (rev 1084)
Property changes on: trunk/src_mini_client/seg...@2x...
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-21 00:53:21
|
Revision: 1083
http://sourceforge.net/p/lobby/code/1083
Author: yuranet
Date: 2025-10-21 00:53:19 +0000 (Tue, 21 Oct 2025)
Log Message:
-----------
fix pom not loading in browser
Modified Paths:
--------------
trunk/cardsengine_pom.xml
trunk/lobbyclient_pom.xml
trunk/lobbycore_pom.xml
trunk/lobbyminiclient_pom.xml
trunk/lobbyserver_pom.xml
Modified: trunk/cardsengine_pom.xml
===================================================================
--- trunk/cardsengine_pom.xml 2025-10-20 22:08:47 UTC (rev 1082)
+++ trunk/cardsengine_pom.xml 2025-10-21 00:53:19 UTC (rev 1083)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.yura</groupId>
Modified: trunk/lobbyclient_pom.xml
===================================================================
--- trunk/lobbyclient_pom.xml 2025-10-20 22:08:47 UTC (rev 1082)
+++ trunk/lobbyclient_pom.xml 2025-10-21 00:53:19 UTC (rev 1083)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.yura</groupId>
Modified: trunk/lobbycore_pom.xml
===================================================================
--- trunk/lobbycore_pom.xml 2025-10-20 22:08:47 UTC (rev 1082)
+++ trunk/lobbycore_pom.xml 2025-10-21 00:53:19 UTC (rev 1083)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.yura</groupId>
Modified: trunk/lobbyminiclient_pom.xml
===================================================================
--- trunk/lobbyminiclient_pom.xml 2025-10-20 22:08:47 UTC (rev 1082)
+++ trunk/lobbyminiclient_pom.xml 2025-10-21 00:53:19 UTC (rev 1083)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.yura</groupId>
Modified: trunk/lobbyserver_pom.xml
===================================================================
--- trunk/lobbyserver_pom.xml 2025-10-20 22:08:47 UTC (rev 1082)
+++ trunk/lobbyserver_pom.xml 2025-10-21 00:53:19 UTC (rev 1083)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.yura</groupId>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-20 22:08:49
|
Revision: 1082
http://sourceforge.net/p/lobby/code/1082
Author: yuranet
Date: 2025-10-20 22:08:47 +0000 (Mon, 20 Oct 2025)
Log Message:
-----------
dont crash on no game icon
Modified Paths:
--------------
trunk/src_mini_client/net/yura/lobby/mini/GameRenderer.java
trunk/src_mini_client/net/yura/swingme/core/AnalogClock.java
Modified: trunk/src_mini_client/net/yura/lobby/mini/GameRenderer.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/GameRenderer.java 2025-10-20 17:38:31 UTC (rev 1081)
+++ trunk/src_mini_client/net/yura/lobby/mini/GameRenderer.java 2025-10-20 22:08:47 UTC (rev 1082)
@@ -59,8 +59,9 @@
game = (Game)value;
- sicon.setIcon( lobby.game.getIconForGame(game) );
- setIcon(sicon);
+ Icon gameIcon = lobby.game.getIconForGame(game);
+ sicon.setIcon(gameIcon);
+ setIcon(gameIcon == null ? null : sicon);
long time = game.getTimeout()*1000L;
Calendar _now = Calendar.getInstance();
@@ -119,7 +120,7 @@
// draw icon
super.paintComponent(g);
- int offsetx = padding+getIcon().getIconWidth()+gap;
+ int offsetx = padding + sicon.getIconWidth() + gap;
g.setFont( font );
g.setColor( getForeground() );
@@ -135,7 +136,7 @@
// draw line1
g.drawString(line1, offsetx, padding * 2);
- offsetx = padding+getIcon().getIconWidth()+gap;
+ offsetx = padding + sicon.getIconWidth() + gap;
int state = getCurrentState();
// if NOT focused or selected
Modified: trunk/src_mini_client/net/yura/swingme/core/AnalogClock.java
===================================================================
--- trunk/src_mini_client/net/yura/swingme/core/AnalogClock.java 2025-10-20 17:38:31 UTC (rev 1081)
+++ trunk/src_mini_client/net/yura/swingme/core/AnalogClock.java 2025-10-20 22:08:47 UTC (rev 1082)
@@ -59,24 +59,26 @@
int textH = Font.getHeight();
// draw ticks & digits
- int textW;
- for (int hour = 1; hour <= 12; hour++) {
- double angle = hour * 60.0 / 12.0;
- if (drawTicks) {
- g.drawLine(
- pointX(angle, _raduis * (1 - LineLengthTicks), _circleCenterX),
- pointY(angle, _raduis * (1 - LineLengthTicks), _circleCenterY),
- pointX(angle, _raduis, _circleCenterX),
- pointY(angle, _raduis, _circleCenterY));
+ if (drawTicks || drawNumbers) {
+ int textW;
+ for (int hour = 1; hour <= 12; hour++) {
+ double angle = hour * 60.0 / 12.0;
+ if (drawTicks) {
+ g.drawLine(
+ pointX(angle, _raduis * (1 - LineLengthTicks), _circleCenterX),
+ pointY(angle, _raduis * (1 - LineLengthTicks), _circleCenterY),
+ pointX(angle, _raduis, _circleCenterX),
+ pointY(angle, _raduis, _circleCenterY));
+ }
+ if (drawNumbers) {
+ // texts
+ textW = Font.getWidth("" + hour);
+ g.drawString("" + hour,
+ (int) pointX(angle, _raduis * TextPositionRelativeR, _circleCenterX) - textW / 2,
+ (int) pointY(angle, _raduis * TextPositionRelativeR, _circleCenterY) - textH / 2
+ );
+ }
}
- if (drawNumbers) {
- // texts
- textW = Font.getWidth("" + hour);
- g.drawString("" + hour,
- (int) pointX(angle, _raduis * TextPositionRelativeR, _circleCenterX) - textW / 2,
- (int) pointY(angle, _raduis * TextPositionRelativeR, _circleCenterY) - textH / 2
- );
- }
}
double hour = _now.get(Calendar.HOUR) * 60.0 / 12.0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-20 17:38:32
|
Revision: 1081
http://sourceforge.net/p/lobby/code/1081
Author: yuranet
Date: 2025-10-20 17:38:31 +0000 (Mon, 20 Oct 2025)
Log Message:
-----------
include images
Modified Paths:
--------------
trunk/build.xml
trunk/src_mini_client/mini_lobby.xml
trunk/src_mini_client/net/yura/lobby/mini/GameRenderer.java
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
Added Paths:
-----------
trunk/src_mini_client/lobby_flag.png
trunk/src_mini_client/lob...@2x...
trunk/src_mini_client/lobby_private_game.png
trunk/src_mini_client/lob...@2x...
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2025-10-20 11:40:38 UTC (rev 1080)
+++ trunk/build.xml 2025-10-20 17:38:31 UTC (rev 1081)
@@ -90,7 +90,7 @@
classpath="${dir.build.core.classes}:../SwingME/lib/midletrunner.jar:../SwingME/dist/SwingME.jar" />
<copy todir="${dir.build.mini.classes}">
- <fileset dir="src_mini_client" includes="**/*.xml,**/*.properties"/>
+ <fileset dir="src_mini_client" includes="**/*.xml,**/*.properties,**/*.png"/>
</copy>
<jar destfile="${dist.dir}/MiniLobbyClient.jar"
Added: trunk/src_mini_client/lobby_flag.png
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/lobby_flag.png
===================================================================
--- trunk/src_mini_client/lobby_flag.png 2025-10-20 11:40:38 UTC (rev 1080)
+++ trunk/src_mini_client/lobby_flag.png 2025-10-20 17:38:31 UTC (rev 1081)
Property changes on: trunk/src_mini_client/lobby_flag.png
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/lob...@2x...
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/lob...@2x...
===================================================================
--- trunk/src_mini_client/lob...@2x... 2025-10-20 11:40:38 UTC (rev 1080)
+++ trunk/src_mini_client/lob...@2x... 2025-10-20 17:38:31 UTC (rev 1081)
Property changes on: trunk/src_mini_client/lob...@2x...
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/lobby_private_game.png
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/lobby_private_game.png
===================================================================
--- trunk/src_mini_client/lobby_private_game.png 2025-10-20 11:40:38 UTC (rev 1080)
+++ trunk/src_mini_client/lobby_private_game.png 2025-10-20 17:38:31 UTC (rev 1081)
Property changes on: trunk/src_mini_client/lobby_private_game.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/src_mini_client/lob...@2x...
===================================================================
(Binary files differ)
Index: trunk/src_mini_client/lob...@2x...
===================================================================
--- trunk/src_mini_client/lob...@2x... 2025-10-20 11:40:38 UTC (rev 1080)
+++ trunk/src_mini_client/lob...@2x... 2025-10-20 17:38:31 UTC (rev 1081)
Property changes on: trunk/src_mini_client/lob...@2x...
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/src_mini_client/mini_lobby.xml
===================================================================
--- trunk/src_mini_client/mini_lobby.xml 2025-10-20 11:40:38 UTC (rev 1080)
+++ trunk/src_mini_client/mini_lobby.xml 2025-10-20 17:38:31 UTC (rev 1081)
@@ -13,7 +13,7 @@
<button action="loginGoogle" i18n="true" name="loginGoogle" text="lobby.loginGoogle" visible="false" weightx="1"/>
<list action="listSelect" name="ResultList" visible="false" weightx="1" weighty="1">
<popupmenu>
- <menuitem action="flagGame" i18n="true" icon="/ms_flag.png" text="lobby.flagGame"/>
+ <menuitem action="flagGame" i18n="true" icon="/lobby_flag.png" text="lobby.flagGame"/>
<menuitem action="renameGame" text="Rename Game"/>
<menuitem action="renameGame2" text="Clear Game Name"/>
<menuitem action="delGame" text="Del Game"/>
Modified: trunk/src_mini_client/net/yura/lobby/mini/GameRenderer.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/GameRenderer.java 2025-10-20 11:40:38 UTC (rev 1080)
+++ trunk/src_mini_client/net/yura/lobby/mini/GameRenderer.java 2025-10-20 17:38:31 UTC (rev 1081)
@@ -50,7 +50,7 @@
padding = XULLoader.adjustSizeToDensity(2);
gap = XULLoader.adjustSizeToDensity(2);
- privateGame = new Icon("/ms_private_game.png");
+ privateGame = new Icon("/lobby_private_game.png");
}
public Component getListCellRendererComponent(Component list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-20 11:40:38 UTC (rev 1080)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-20 17:38:31 UTC (rev 1081)
@@ -123,11 +123,11 @@
game.addLobbyGameMoveListener(this);
}
-
+
public Button getChatButton() {
return (Button)loader.find("ChatButton");
}
-
+
public String getLobbyString(String key) {
return resBundle.getProperty(key);
}
@@ -407,7 +407,7 @@
}
}
}, new Object[] {game.getName(), players}, resBundle.getProperty("lobby.flagPlayer"), -1,
- OptionPane.QUESTION_MESSAGE, loader.loadIcon("/ms_flag.png"), new Button[] {flagButton, clearButton, cancel}, null);
+ OptionPane.QUESTION_MESSAGE, loader.loadIcon("/lobby_flag.png"), new Button[] {flagButton, clearButton, cancel}, null);
}
else {
OptionPane.showOptionDialog(new ActionListener() {
@@ -424,7 +424,7 @@
}
}
}, new Object[] {game.getName(), players}, resBundle.getProperty("lobby.flagPlayer"), OptionPane.YES_NO_OPTION,
- OptionPane.QUESTION_MESSAGE, loader.loadIcon("/ms_flag.png"), null, null);
+ OptionPane.QUESTION_MESSAGE, loader.loadIcon("/lobby_flag.png"), null, null);
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-20 11:40:41
|
Revision: 1080
http://sourceforge.net/p/lobby/code/1080
Author: yuranet
Date: 2025-10-20 11:40:38 +0000 (Mon, 20 Oct 2025)
Log Message:
-----------
getLobbyString added
Modified Paths:
--------------
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-19 23:26:46 UTC (rev 1079)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-20 11:40:38 UTC (rev 1080)
@@ -127,6 +127,10 @@
public Button getChatButton() {
return (Button)loader.find("ChatButton");
}
+
+ public String getLobbyString(String key) {
+ return resBundle.getProperty(key);
+ }
public void connect(String server) {
mycom.connect(server, 1964);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-19 23:26:48
|
Revision: 1079
http://sourceforge.net/p/lobby/code/1079
Author: yuranet
Date: 2025-10-19 23:26:46 +0000 (Sun, 19 Oct 2025)
Log Message:
-----------
room chat title fix
Modified Paths:
--------------
trunk/src_mini_client/MiniLobby.properties
trunk/src_mini_client/MiniLobby_fr.properties
trunk/src_mini_client/MiniLobby_it.properties
trunk/src_mini_client/MiniLobby_ru.properties
trunk/src_mini_client/MiniLobby_sv.properties
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
Modified: trunk/src_mini_client/MiniLobby.properties
===================================================================
--- trunk/src_mini_client/MiniLobby.properties 2025-10-19 22:58:07 UTC (rev 1078)
+++ trunk/src_mini_client/MiniLobby.properties 2025-10-19 23:26:46 UTC (rev 1079)
@@ -1,4 +1,4 @@
-#Sun Oct 19 23:57:01 BST 2025
+#Mon Oct 20 00:19:18 BST 2025
#yura.net Translation Tool 2.7
lobby.back=Back
lobby.chat=\uD83D\uDCAC
@@ -25,6 +25,7 @@
lobby.question.game-start=This game will start if you join\!
lobby.question.title=Are you sure?
lobby.resign=Resign
+lobby.room.chat=Chat
lobby.set-nick=Set Nick
lobby.set-nickname=Set Nickname
lobby.windowtitle=Online Lobby
Modified: trunk/src_mini_client/MiniLobby_fr.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_fr.properties 2025-10-19 22:58:07 UTC (rev 1078)
+++ trunk/src_mini_client/MiniLobby_fr.properties 2025-10-19 23:26:46 UTC (rev 1079)
@@ -1,24 +1,26 @@
-
+#Mon Oct 20 00:22:06 BST 2025
+#yura.net Translation Tool 2.7
lobby.back=Retour
-lobby.chat=\ud83d\udcac
-lobby.create-game=Cr\u00e9er
+lobby.chat=\uD83D\uDCAC
+lobby.create-game=Cr\u00E9er
lobby.filter.all=Tous
lobby.filter.my=Mes Jeux
lobby.filter.open=Ouverts
lobby.filter.running=En Cours
-lobby.flagGame=Signaler comme inappropri\u00e9
+lobby.flagGame=Signaler comme inappropri\u00E9
lobby.game-password=Mot de passe du jeu ?
lobby.game.join=Rejoindre
lobby.game.leave=Quitter
lobby.game.play=Jouer
lobby.game.watch=Regarder
-lobby.joinPrivateGame=Rejoindre une Partie Priv\u00e9e
-lobby.logged-in-as=Vous \u00eates connect\u00e9 en tant que \: {0}
+lobby.joinPrivateGame=Rejoindre une Partie Priv\u00E9e
+lobby.logged-in-as=Vous \u00EAtes connect\u00E9 en tant que \: {0}
lobby.password=Mot de passe
lobby.question.game-resign=Voulez-vous vraiment abandonner ?
lobby.question.game-start=Ce jeu commencera si vous le rejoignez \!
-lobby.question.title=\u00cates-vous s\u00fbr ?
+lobby.question.title=\u00CAtes-vous s\u00FBr ?
lobby.resign=Abandonner
+lobby.room.chat=Chat
lobby.set-nick=Nom du joueur
lobby.set-nickname=Nom du Joueur
lobby.windowtitle=Lobby en ligne
Modified: trunk/src_mini_client/MiniLobby_it.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_it.properties 2025-10-19 22:58:07 UTC (rev 1078)
+++ trunk/src_mini_client/MiniLobby_it.properties 2025-10-19 23:26:46 UTC (rev 1079)
@@ -1,6 +1,7 @@
-
+#Mon Oct 20 00:21:08 BST 2025
+#yura.net Translation Tool 2.7
lobby.back=Indietro
-lobby.chat=\ud83d\udcac
+lobby.chat=\uD83D\uDCAC
lobby.create-game=Crea partita
lobby.filter.all=Tutte le partite
lobby.filter.my=Le mie partite
@@ -16,13 +17,14 @@
lobby.joinPrivateGame=Entra nella partita privata
lobby.logged-in-as=Sei loggato come\: {0}
lobby.loginGoogle=Login con Google
-lobby.notification.authorization.request=Consenti al gioco di avvisarti quando \u00e8 il tuo turno.
+lobby.notification.authorization.request=Consenti al gioco di avvisarti quando \u00E8 il tuo turno.
lobby.notification.authorization.title=Permesso
lobby.password=Password
lobby.question.game-resign=Sei sicuro di voler abbandonare la partita?
-lobby.question.game-start=Questa partita inizier\u00e0 se entri\!
+lobby.question.game-start=Questa partita inizier\u00E0 se entri\!
lobby.question.title=Sei sicuro?
lobby.resign=Abbandona
+lobby.room.chat=Chat
lobby.set-nick=Imposta Nick
lobby.set-nickname=Imposta Nickname
lobby.windowtitle=Lobby Online
Modified: trunk/src_mini_client/MiniLobby_ru.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_ru.properties 2025-10-19 22:58:07 UTC (rev 1078)
+++ trunk/src_mini_client/MiniLobby_ru.properties 2025-10-19 23:26:46 UTC (rev 1079)
@@ -1,24 +1,26 @@
-
-lobby.back=\u041d\u0430\u0437\u0430\u0434
-lobby.chat=\ud83d\udcac
-lobby.create-game=\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0438\u0433\u0440\u0443
-lobby.filter.all=\u0412\u0441\u0435 \u0438\u0433\u0440\u044b
-lobby.filter.my=\u041c\u043e\u0438 \u0438\u0433\u0440\u044b
-lobby.filter.open=\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u0438\u0433\u0440\u044b
-lobby.filter.running=\u0422\u0435\u043a\u0443\u0449\u0438\u0435 \u0438\u0433\u0440\u044b
-lobby.flagGame=\u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u043e \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u0438
-lobby.game-password=\u041f\u0430\u0440\u043e\u043b\u044c \u0438\u0433\u0440\u044b?
-lobby.game.join=\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f
-lobby.game.leave=\u0412\u044b\u0439\u0442\u0438
-lobby.game.play=\u0418\u0433\u0440\u0430\u0442\u044c
-lobby.game.watch=\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c
-lobby.joinPrivateGame=\u0412\u043e\u0439\u0442\u0438 \u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u0443\u044e \u0438\u0433\u0440\u0443
-lobby.logged-in-as=\u0412\u044b \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043a\u0430\u043a\: {0}
-lobby.password=\u041f\u0430\u0440\u043e\u043b\u044c
-lobby.question.game-resign=\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u0434\u0430\u0442\u044c\u0441\u044f?
-lobby.question.game-start=\u042d\u0442\u0430 \u0438\u0433\u0440\u0430 \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0412\u044b \u0432\u043e\u0439\u0434\u0435\u0442\u0435.
-lobby.question.title=\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b?
-lobby.resign=\u0421\u0434\u0430\u044e\u0441\u044c
-lobby.set-nick=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0438\u043a
-lobby.set-nickname=\u041f\u0440\u043e\u0437\u0432\u0438\u0449\u0435
-lobby.windowtitle=\u041b\u043e\u0431\u0431\u0438 \u043e\u043d\u043b\u0430\u0439\u043d
+#Mon Oct 20 00:23:00 BST 2025
+#yura.net Translation Tool 2.7
+lobby.back=\u041D\u0430\u0437\u0430\u0434
+lobby.chat=\uD83D\uDCAC
+lobby.create-game=\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0438\u0433\u0440\u0443
+lobby.filter.all=\u0412\u0441\u0435 \u0438\u0433\u0440\u044B
+lobby.filter.my=\u041C\u043E\u0438 \u0438\u0433\u0440\u044B
+lobby.filter.open=\u041E\u0442\u043A\u0440\u044B\u0442\u044B\u0435 \u0438\u0433\u0440\u044B
+lobby.filter.running=\u0422\u0435\u043A\u0443\u0449\u0438\u0435 \u0438\u0433\u0440\u044B
+lobby.flagGame=\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043D\u0430\u0440\u0443\u0448\u0435\u043D\u0438\u0438
+lobby.game-password=\u041F\u0430\u0440\u043E\u043B\u044C \u0438\u0433\u0440\u044B?
+lobby.game.join=\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F
+lobby.game.leave=\u0412\u044B\u0439\u0442\u0438
+lobby.game.play=\u0418\u0433\u0440\u0430\u0442\u044C
+lobby.game.watch=\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C
+lobby.joinPrivateGame=\u0412\u043E\u0439\u0442\u0438 \u0432 \u0437\u0430\u043A\u0440\u044B\u0442\u0443\u044E \u0438\u0433\u0440\u0443
+lobby.logged-in-as=\u0412\u044B \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043B\u0438\u0441\u044C \u043A\u0430\u043A\: {0}
+lobby.password=\u041F\u0430\u0440\u043E\u043B\u044C
+lobby.question.game-resign=\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0412\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u0434\u0430\u0442\u044C\u0441\u044F?
+lobby.question.game-start=\u042D\u0442\u0430 \u0438\u0433\u0440\u0430 \u043D\u0430\u0447\u043D\u0435\u0442\u0441\u044F, \u0435\u0441\u043B\u0438 \u0412\u044B \u0432\u043E\u0439\u0434\u0435\u0442\u0435.
+lobby.question.title=\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?
+lobby.resign=\u0421\u0434\u0430\u044E\u0441\u044C
+lobby.room.chat=\u0427\u0430\u0442
+lobby.set-nick=\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043D\u0438\u043A
+lobby.set-nickname=\u041F\u0440\u043E\u0437\u0432\u0438\u0449\u0435
+lobby.windowtitle=\u041B\u043E\u0431\u0431\u0438 \u043E\u043D\u043B\u0430\u0439\u043D
Modified: trunk/src_mini_client/MiniLobby_sv.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_sv.properties 2025-10-19 22:58:07 UTC (rev 1078)
+++ trunk/src_mini_client/MiniLobby_sv.properties 2025-10-19 23:26:46 UTC (rev 1079)
@@ -1,7 +1,9 @@
-
+#Mon Oct 20 00:20:57 BST 2025
+#yura.net Translation Tool 2.7
lobby.back=Tillbaka
-lobby.chat=\ud83d\udcac
-lobby.joinPrivateGame=G\u00e5 med i privat spel
+lobby.chat=\uD83D\uDCAC
+lobby.joinPrivateGame=G\u00E5 med i privat spel
lobby.resign=Ge upp
+lobby.room.chat=Chat
lobby.set-nick=Ditt smeknamn
lobby.windowtitle=Online rum
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-19 22:58:07 UTC (rev 1078)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-19 23:26:46 UTC (rev 1079)
@@ -491,7 +491,7 @@
sendChatMessage(gameId, message);
}
}
- }, new Object[] {messages.toString(), chatText}, resBundle.getProperty("lobby.chat") , OptionPane.OK_CANCEL_OPTION);
+ }, new Object[] {messages.toString(), chatText}, resBundle.getProperty("lobby.room.chat") , OptionPane.OK_CANCEL_OPTION);
}
public void sendChatMessage(int gameId, String message) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-19 22:58:10
|
Revision: 1078
http://sourceforge.net/p/lobby/code/1078
Author: yuranet
Date: 2025-10-19 22:58:07 +0000 (Sun, 19 Oct 2025)
Log Message:
-----------
remove lobby.run
Modified Paths:
--------------
trunk/src_mini_client/MiniLobby.properties
trunk/src_mini_client/MiniLobby_da.properties
trunk/src_mini_client/MiniLobby_el.properties
trunk/src_mini_client/MiniLobby_fr.properties
trunk/src_mini_client/MiniLobby_it.properties
trunk/src_mini_client/MiniLobby_lv.properties
trunk/src_mini_client/MiniLobby_pt.properties
trunk/src_mini_client/MiniLobby_ru.properties
trunk/src_mini_client/MiniLobby_sv.properties
trunk/src_mini_client/MiniLobby_tr.properties
trunk/src_mini_client/MiniLobby_uk.properties
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java
Modified: trunk/src_mini_client/MiniLobby.properties
===================================================================
--- trunk/src_mini_client/MiniLobby.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -1,4 +1,4 @@
-#Sun Oct 19 22:07:42 BST 2025
+#Sun Oct 19 23:57:01 BST 2025
#yura.net Translation Tool 2.7
lobby.back=Back
lobby.chat=\uD83D\uDCAC
@@ -25,7 +25,6 @@
lobby.question.game-start=This game will start if you join\!
lobby.question.title=Are you sure?
lobby.resign=Resign
-lobby.run=Run the Lobby to play online.
lobby.set-nick=Set Nick
lobby.set-nickname=Set Nickname
lobby.windowtitle=Online Lobby
Modified: trunk/src_mini_client/MiniLobby_da.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_da.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby_da.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -2,6 +2,5 @@
lobby.back=Tilbage
lobby.joinPrivateGame=Tilslut til privat spil
lobby.resign=Opgiv
-lobby.run=Start Lobbyen for at spille online.
lobby.set-nick=Kaldenavn
lobby.windowtitle=Online lobby
Modified: trunk/src_mini_client/MiniLobby_el.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_el.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby_el.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -1,7 +1,8 @@
-
+#Sun Oct 19 23:56:13 BST 2025
+#yura.net Translation Tool 2.7
lobby.back=\u03A0\u03AF\u03C3\u03C9
+lobby.chat=\uD83D\uDCAC
lobby.joinPrivateGame=\u039C\u03C0\u03B5\u03C2 \u03C3\u03B5 \u0399\u03B4\u03B9\u03C9\u03C4\u03B9\u03BA\u03CC \u03A0\u03B1\u03B9\u03C7\u03BD\u03AF\u03B4\u03B9
lobby.resign=\u03A0\u03B1\u03C1\u03B1\u03AF\u03C4\u03B7\u03C3\u03B7
-lobby.run=\u03A4\u03C1\u03AD\u03BE\u03C4\u03B5 \u03C4\u03BF Lobby \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C0\u03B1\u03AF\u03BE\u03B5\u03C4\u03B5 \u03B4\u03B9\u03B1\u03B4\u03B9\u03BA\u03C4\u03C5\u03B1\u03BA\u03AC.
lobby.set-nick=\u038C\u03C1\u03B9\u03C3\u03B5 \u03C8\u03B5\u03C5\u03B4\u03CE\u03BD\u03C5\u03BC\u03BF
lobby.windowtitle=\u0394\u03B9\u03B1\u03B4\u03B9\u03BA\u03C4\u03C5\u03B1\u03BA\u03CC Lobby
Modified: trunk/src_mini_client/MiniLobby_fr.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_fr.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby_fr.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -19,7 +19,6 @@
lobby.question.game-start=Ce jeu commencera si vous le rejoignez \!
lobby.question.title=\u00cates-vous s\u00fbr ?
lobby.resign=Abandonner
-lobby.run=Lancer le Lobby pour jouer en ligne.
lobby.set-nick=Nom du joueur
lobby.set-nickname=Nom du Joueur
lobby.windowtitle=Lobby en ligne
Modified: trunk/src_mini_client/MiniLobby_it.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_it.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby_it.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -23,7 +23,6 @@
lobby.question.game-start=Questa partita inizier\u00e0 se entri\!
lobby.question.title=Sei sicuro?
lobby.resign=Abbandona
-lobby.run=Avvia il lobby per giocare Online.
lobby.set-nick=Imposta Nick
lobby.set-nickname=Imposta Nickname
lobby.windowtitle=Lobby Online
Modified: trunk/src_mini_client/MiniLobby_lv.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_lv.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby_lv.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -1,6 +1,7 @@
-
+#Sun Oct 19 23:55:53 BST 2025
+#yura.net Translation Tool 2.7
lobby.back=Atpaka\u013C
+lobby.chat=\uD83D\uDCAC
lobby.resign=Atk\u0101pties
-lobby.run=Run the Lobby to play online.
lobby.set-nick=Ievadi lietot\u0101jv\u0101rdu
lobby.windowtitle=Online Lobby
Modified: trunk/src_mini_client/MiniLobby_pt.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_pt.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby_pt.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -1,5 +1,4 @@
lobby.back=Voltar
-lobby.run=Rodar o Intermediador para jogar online.
lobby.set-nick=Selecione Apelido
lobby.windowtitle=Intermediador Online
Modified: trunk/src_mini_client/MiniLobby_ru.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_ru.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby_ru.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -19,7 +19,6 @@
lobby.question.game-start=\u042d\u0442\u0430 \u0438\u0433\u0440\u0430 \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0412\u044b \u0432\u043e\u0439\u0434\u0435\u0442\u0435.
lobby.question.title=\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b?
lobby.resign=\u0421\u0434\u0430\u044e\u0441\u044c
-lobby.run=\u0414\u043b\u044f \u0438\u0433\u0440\u044b \u043e\u043d\u043b\u0430\u0439\u043d \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u041b\u043e\u0431\u0431\u0438
lobby.set-nick=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0438\u043a
lobby.set-nickname=\u041f\u0440\u043e\u0437\u0432\u0438\u0449\u0435
lobby.windowtitle=\u041b\u043e\u0431\u0431\u0438 \u043e\u043d\u043b\u0430\u0439\u043d
Modified: trunk/src_mini_client/MiniLobby_sv.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_sv.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby_sv.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -3,6 +3,5 @@
lobby.chat=\ud83d\udcac
lobby.joinPrivateGame=G\u00e5 med i privat spel
lobby.resign=Ge upp
-lobby.run=K\u00f6r lobbyn f\u00f6r att spela online.
lobby.set-nick=Ditt smeknamn
lobby.windowtitle=Online rum
Modified: trunk/src_mini_client/MiniLobby_tr.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_tr.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby_tr.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -1,7 +1,8 @@
-
+#Sun Oct 19 23:55:30 BST 2025
+#yura.net Translation Tool 2.7
lobby.back=Geri
+lobby.chat=\uD83D\uDCAC
lobby.joinPrivateGame=\u00D6zel Oyuna Kat\u0131l
lobby.resign=Ayr\u0131l
-lobby.run=\u00C7evrimi\u00E7i oynamak i\u00E7in Lobi'ye gir.
lobby.set-nick=Oyuncu Ad\u0131 Belirle
lobby.windowtitle=\u00C7evrimi\u00E7i Lobi
Modified: trunk/src_mini_client/MiniLobby_uk.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_uk.properties 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/MiniLobby_uk.properties 2025-10-19 22:58:07 UTC (rev 1078)
@@ -1,5 +1,6 @@
-
+#Sun Oct 19 23:55:05 BST 2025
+#yura.net Translation Tool 2.7
lobby.back=\u041D\u0430\u0437\u0430\u0434
-lobby.run=\u0414\u043B\u044F \u0433\u0440\u0438 \u043E\u043D\u043B\u0430\u0439\u043D \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0438 \u041B\u043E\u0431\u0456
+lobby.chat=\uD83D\uDCAC
lobby.set-nick=\u041E\u0431\u0440\u0430\u0442\u0438 \u043D\u0456\u043A
lobby.windowtitle=\u041B\u043E\u0431\u0456 \u043E\u043D\u043B\u0430\u0439\u043D
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-19 22:58:07 UTC (rev 1078)
@@ -11,6 +11,7 @@
import java.util.LinkedList;
import java.util.Map;
import java.util.Queue;
+import java.util.ResourceBundle;
import java.util.UUID;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -75,8 +76,22 @@
public MiniLobbyClient(MiniLobbyGame lobbyGame) {
game = lobbyGame;
- resBundle = game.getProperties();
+ final ResourceBundle lobbyStrings = ResourceBundle.getBundle("MiniLobby");
+ resBundle = new Properties() {
+ public String getProperty(String key) {
+ try {
+ return lobbyStrings.getString(key);
+ }
+ catch (Exception ex) {
+ // sometimes this method is used by the XULLoader, but sometimes it is used directly
+ // from code, thats why for those cases we should not ever return null, as a string is expected
+ logger.log(Level.WARNING, "Lobby string not found " + key, ex);
+ return "???"+key+"???";
+ }
+ }
+ };
+
try {
loader = XULLoader.load( Application.getResourceAsStream("/mini_lobby.xml") , this, resBundle);
}
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java 2025-10-19 22:07:13 UTC (rev 1077)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyGame.java 2025-10-19 22:58:07 UTC (rev 1078)
@@ -5,7 +5,6 @@
import net.yura.lobby.model.GameType;
import net.yura.lobby.model.Player;
import net.yura.mobile.gui.Icon;
-import net.yura.mobile.util.Properties;
/**
* A simpler interface then LobbyGame that only allows 1 open game at a time.
@@ -16,8 +15,6 @@
void addLobbyGameMoveListener(MiniLobbyClient lgl);
- Properties getProperties();
-
/**
* main screen chat button clicked
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-19 22:07:14
|
Revision: 1077
http://sourceforge.net/p/lobby/code/1077
Author: yuranet
Date: 2025-10-19 22:07:13 +0000 (Sun, 19 Oct 2025)
Log Message:
-----------
only add Listener at end
Modified Paths:
--------------
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-19 21:39:09 UTC (rev 1076)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-19 22:07:13 UTC (rev 1077)
@@ -74,7 +74,6 @@
public MiniLobbyClient(MiniLobbyGame lobbyGame) {
game = lobbyGame;
- game.addLobbyGameMoveListener(this);
resBundle = game.getProperties();
@@ -106,6 +105,8 @@
mycom = new LobbyCom(uuid,lobbyGame.getAppName(),lobbyGame.getAppVersion());
mycom.addEventListener(this);
+
+ game.addLobbyGameMoveListener(this);
}
public Button getChatButton() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-19 21:39:12
|
Revision: 1076
http://sourceforge.net/p/lobby/code/1076
Author: yuranet
Date: 2025-10-19 21:39:09 +0000 (Sun, 19 Oct 2025)
Log Message:
-----------
global chat button
Modified Paths:
--------------
trunk/build.xml
trunk/src_mini_client/mini_lobby.xml
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
Added Paths:
-----------
trunk/src_mini_client/MiniLobby.properties
trunk/src_mini_client/MiniLobby_da.properties
trunk/src_mini_client/MiniLobby_el.properties
trunk/src_mini_client/MiniLobby_fr.properties
trunk/src_mini_client/MiniLobby_it.properties
trunk/src_mini_client/MiniLobby_lv.properties
trunk/src_mini_client/MiniLobby_pt.properties
trunk/src_mini_client/MiniLobby_ru.properties
trunk/src_mini_client/MiniLobby_sv.properties
trunk/src_mini_client/MiniLobby_tr.properties
trunk/src_mini_client/MiniLobby_uk.properties
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2025-10-19 00:37:33 UTC (rev 1075)
+++ trunk/build.xml 2025-10-19 21:39:09 UTC (rev 1076)
@@ -90,7 +90,7 @@
classpath="${dir.build.core.classes}:../SwingME/lib/midletrunner.jar:../SwingME/dist/SwingME.jar" />
<copy todir="${dir.build.mini.classes}">
- <fileset dir="src_mini_client" includes="**/*.xml"/>
+ <fileset dir="src_mini_client" includes="**/*.xml,**/*.properties"/>
</copy>
<jar destfile="${dist.dir}/MiniLobbyClient.jar"
Added: trunk/src_mini_client/MiniLobby.properties
===================================================================
--- trunk/src_mini_client/MiniLobby.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,31 @@
+#Sun Oct 19 22:07:42 BST 2025
+#yura.net Translation Tool 2.7
+lobby.back=Back
+lobby.chat=\uD83D\uDCAC
+lobby.connecting=connecting...
+lobby.create-game=Create Game
+lobby.filter.all=All Games
+lobby.filter.my=My Games
+lobby.filter.open=Open Games
+lobby.filter.running=Running Games
+lobby.flagGame=Report as inappropriate
+lobby.flagPlayer=Report Player
+lobby.game-password=Game Password?
+lobby.game.join=Join
+lobby.game.leave=Leave
+lobby.game.play=Play
+lobby.game.watch=Watch
+lobby.joinPrivateGame=Join Private Game
+lobby.logged-in-as=You are logged in as\: {0}
+lobby.loginGoogle=Login with Google
+lobby.notification.authorization.request=Please allow the game to notify you of your turn.
+lobby.notification.authorization.title=Permission
+lobby.password=Password
+lobby.question.game-resign=Are you sure you want to resign?
+lobby.question.game-start=This game will start if you join\!
+lobby.question.title=Are you sure?
+lobby.resign=Resign
+lobby.run=Run the Lobby to play online.
+lobby.set-nick=Set Nick
+lobby.set-nickname=Set Nickname
+lobby.windowtitle=Online Lobby
Added: trunk/src_mini_client/MiniLobby_da.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_da.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby_da.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,7 @@
+
+lobby.back=Tilbage
+lobby.joinPrivateGame=Tilslut til privat spil
+lobby.resign=Opgiv
+lobby.run=Start Lobbyen for at spille online.
+lobby.set-nick=Kaldenavn
+lobby.windowtitle=Online lobby
Added: trunk/src_mini_client/MiniLobby_el.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_el.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby_el.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,7 @@
+
+lobby.back=\u03A0\u03AF\u03C3\u03C9
+lobby.joinPrivateGame=\u039C\u03C0\u03B5\u03C2 \u03C3\u03B5 \u0399\u03B4\u03B9\u03C9\u03C4\u03B9\u03BA\u03CC \u03A0\u03B1\u03B9\u03C7\u03BD\u03AF\u03B4\u03B9
+lobby.resign=\u03A0\u03B1\u03C1\u03B1\u03AF\u03C4\u03B7\u03C3\u03B7
+lobby.run=\u03A4\u03C1\u03AD\u03BE\u03C4\u03B5 \u03C4\u03BF Lobby \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C0\u03B1\u03AF\u03BE\u03B5\u03C4\u03B5 \u03B4\u03B9\u03B1\u03B4\u03B9\u03BA\u03C4\u03C5\u03B1\u03BA\u03AC.
+lobby.set-nick=\u038C\u03C1\u03B9\u03C3\u03B5 \u03C8\u03B5\u03C5\u03B4\u03CE\u03BD\u03C5\u03BC\u03BF
+lobby.windowtitle=\u0394\u03B9\u03B1\u03B4\u03B9\u03BA\u03C4\u03C5\u03B1\u03BA\u03CC Lobby
Added: trunk/src_mini_client/MiniLobby_fr.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_fr.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby_fr.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,25 @@
+
+lobby.back=Retour
+lobby.chat=\ud83d\udcac
+lobby.create-game=Cr\u00e9er
+lobby.filter.all=Tous
+lobby.filter.my=Mes Jeux
+lobby.filter.open=Ouverts
+lobby.filter.running=En Cours
+lobby.flagGame=Signaler comme inappropri\u00e9
+lobby.game-password=Mot de passe du jeu ?
+lobby.game.join=Rejoindre
+lobby.game.leave=Quitter
+lobby.game.play=Jouer
+lobby.game.watch=Regarder
+lobby.joinPrivateGame=Rejoindre une Partie Priv\u00e9e
+lobby.logged-in-as=Vous \u00eates connect\u00e9 en tant que \: {0}
+lobby.password=Mot de passe
+lobby.question.game-resign=Voulez-vous vraiment abandonner ?
+lobby.question.game-start=Ce jeu commencera si vous le rejoignez \!
+lobby.question.title=\u00cates-vous s\u00fbr ?
+lobby.resign=Abandonner
+lobby.run=Lancer le Lobby pour jouer en ligne.
+lobby.set-nick=Nom du joueur
+lobby.set-nickname=Nom du Joueur
+lobby.windowtitle=Lobby en ligne
Added: trunk/src_mini_client/MiniLobby_it.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_it.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby_it.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,29 @@
+
+lobby.back=Indietro
+lobby.chat=\ud83d\udcac
+lobby.create-game=Crea partita
+lobby.filter.all=Tutte le partite
+lobby.filter.my=Le mie partite
+lobby.filter.open=Partite aperte
+lobby.filter.running=Partite in corso
+lobby.flagGame=Segnala come inappropriato
+lobby.flagPlayer=Segnala giocatore
+lobby.game-password=Password partita?
+lobby.game.join=Entra
+lobby.game.leave=Esci
+lobby.game.play=Gioca
+lobby.game.watch=Guarda
+lobby.joinPrivateGame=Entra nella partita privata
+lobby.logged-in-as=Sei loggato come\: {0}
+lobby.loginGoogle=Login con Google
+lobby.notification.authorization.request=Consenti al gioco di avvisarti quando \u00e8 il tuo turno.
+lobby.notification.authorization.title=Permesso
+lobby.password=Password
+lobby.question.game-resign=Sei sicuro di voler abbandonare la partita?
+lobby.question.game-start=Questa partita inizier\u00e0 se entri\!
+lobby.question.title=Sei sicuro?
+lobby.resign=Abbandona
+lobby.run=Avvia il lobby per giocare Online.
+lobby.set-nick=Imposta Nick
+lobby.set-nickname=Imposta Nickname
+lobby.windowtitle=Lobby Online
Added: trunk/src_mini_client/MiniLobby_lv.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_lv.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby_lv.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,6 @@
+
+lobby.back=Atpaka\u013C
+lobby.resign=Atk\u0101pties
+lobby.run=Run the Lobby to play online.
+lobby.set-nick=Ievadi lietot\u0101jv\u0101rdu
+lobby.windowtitle=Online Lobby
Added: trunk/src_mini_client/MiniLobby_pt.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_pt.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby_pt.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,5 @@
+
+lobby.back=Voltar
+lobby.run=Rodar o Intermediador para jogar online.
+lobby.set-nick=Selecione Apelido
+lobby.windowtitle=Intermediador Online
Added: trunk/src_mini_client/MiniLobby_ru.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_ru.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby_ru.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,25 @@
+
+lobby.back=\u041d\u0430\u0437\u0430\u0434
+lobby.chat=\ud83d\udcac
+lobby.create-game=\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0438\u0433\u0440\u0443
+lobby.filter.all=\u0412\u0441\u0435 \u0438\u0433\u0440\u044b
+lobby.filter.my=\u041c\u043e\u0438 \u0438\u0433\u0440\u044b
+lobby.filter.open=\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u0438\u0433\u0440\u044b
+lobby.filter.running=\u0422\u0435\u043a\u0443\u0449\u0438\u0435 \u0438\u0433\u0440\u044b
+lobby.flagGame=\u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u043e \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u0438
+lobby.game-password=\u041f\u0430\u0440\u043e\u043b\u044c \u0438\u0433\u0440\u044b?
+lobby.game.join=\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f
+lobby.game.leave=\u0412\u044b\u0439\u0442\u0438
+lobby.game.play=\u0418\u0433\u0440\u0430\u0442\u044c
+lobby.game.watch=\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c
+lobby.joinPrivateGame=\u0412\u043e\u0439\u0442\u0438 \u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u0443\u044e \u0438\u0433\u0440\u0443
+lobby.logged-in-as=\u0412\u044b \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043a\u0430\u043a\: {0}
+lobby.password=\u041f\u0430\u0440\u043e\u043b\u044c
+lobby.question.game-resign=\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u0434\u0430\u0442\u044c\u0441\u044f?
+lobby.question.game-start=\u042d\u0442\u0430 \u0438\u0433\u0440\u0430 \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0412\u044b \u0432\u043e\u0439\u0434\u0435\u0442\u0435.
+lobby.question.title=\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b?
+lobby.resign=\u0421\u0434\u0430\u044e\u0441\u044c
+lobby.run=\u0414\u043b\u044f \u0438\u0433\u0440\u044b \u043e\u043d\u043b\u0430\u0439\u043d \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u041b\u043e\u0431\u0431\u0438
+lobby.set-nick=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0438\u043a
+lobby.set-nickname=\u041f\u0440\u043e\u0437\u0432\u0438\u0449\u0435
+lobby.windowtitle=\u041b\u043e\u0431\u0431\u0438 \u043e\u043d\u043b\u0430\u0439\u043d
Added: trunk/src_mini_client/MiniLobby_sv.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_sv.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby_sv.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,8 @@
+
+lobby.back=Tillbaka
+lobby.chat=\ud83d\udcac
+lobby.joinPrivateGame=G\u00e5 med i privat spel
+lobby.resign=Ge upp
+lobby.run=K\u00f6r lobbyn f\u00f6r att spela online.
+lobby.set-nick=Ditt smeknamn
+lobby.windowtitle=Online rum
Added: trunk/src_mini_client/MiniLobby_tr.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_tr.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby_tr.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,7 @@
+
+lobby.back=Geri
+lobby.joinPrivateGame=\u00D6zel Oyuna Kat\u0131l
+lobby.resign=Ayr\u0131l
+lobby.run=\u00C7evrimi\u00E7i oynamak i\u00E7in Lobi'ye gir.
+lobby.set-nick=Oyuncu Ad\u0131 Belirle
+lobby.windowtitle=\u00C7evrimi\u00E7i Lobi
Added: trunk/src_mini_client/MiniLobby_uk.properties
===================================================================
--- trunk/src_mini_client/MiniLobby_uk.properties (rev 0)
+++ trunk/src_mini_client/MiniLobby_uk.properties 2025-10-19 21:39:09 UTC (rev 1076)
@@ -0,0 +1,5 @@
+
+lobby.back=\u041D\u0430\u0437\u0430\u0434
+lobby.run=\u0414\u043B\u044F \u0433\u0440\u0438 \u043E\u043D\u043B\u0430\u0439\u043D \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0438 \u041B\u043E\u0431\u0456
+lobby.set-nick=\u041E\u0431\u0440\u0430\u0442\u0438 \u043D\u0456\u043A
+lobby.windowtitle=\u041B\u043E\u0431\u0456 \u043E\u043D\u043B\u0430\u0439\u043D
Modified: trunk/src_mini_client/mini_lobby.xml
===================================================================
--- trunk/src_mini_client/mini_lobby.xml 2025-10-19 00:37:33 UTC (rev 1075)
+++ trunk/src_mini_client/mini_lobby.xml 2025-10-19 21:39:09 UTC (rev 1076)
@@ -34,6 +34,6 @@
<button action="register" text="Register" visible="false" weightx="1"/>
<button action="setnick" i18n="true" property="plafname=SmallButton" text="lobby.set-nick" weightx="2"/>
<button action="create" i18n="true" property="plafname=SmallButton" text="lobby.create-game" weightx="2"/>
- <button action="chat" icon="/discord.png" property="plafname=SmallButton" weightx="1"/>
+ <button action="chat" i18n="true" name="ChatButton" property="plafname=SmallButton" text="lobby.chat" weightx="1"/>
</panel>
</panel>
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-19 00:37:33 UTC (rev 1075)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-19 21:39:09 UTC (rev 1076)
@@ -107,6 +107,10 @@
mycom = new LobbyCom(uuid,lobbyGame.getAppName(),lobbyGame.getAppVersion());
mycom.addEventListener(this);
}
+
+ public Button getChatButton() {
+ return (Button)loader.find("ChatButton");
+ }
public void connect(String server) {
mycom.connect(server, 1964);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-19 00:37:39
|
Revision: 1075
http://sourceforge.net/p/lobby/code/1075
Author: yuranet
Date: 2025-10-19 00:37:33 +0000 (Sun, 19 Oct 2025)
Log Message:
-----------
remove not used labels from mini lobby xul
Modified Paths:
--------------
trunk/src_mini_client/mini_lobby.xml
Modified: trunk/src_mini_client/mini_lobby.xml
===================================================================
--- trunk/src_mini_client/mini_lobby.xml 2025-10-19 00:27:19 UTC (rev 1074)
+++ trunk/src_mini_client/mini_lobby.xml 2025-10-19 00:37:33 UTC (rev 1075)
@@ -10,8 +10,6 @@
</combobox>
</panel>
<panel columns="1" scrollable="true" weighty="1">
- <label alignment="center" i18n="true" name="Loading" property="valign=center" text="mapchooser.loading" visible="false" weightx="1" weighty="1"/>
- <label alignment="center" i18n="true" name="NoMatches" property="valign=center" text="mapchooser.no-matches" visible="false" weightx="1" weighty="1"/>
<button action="loginGoogle" i18n="true" name="loginGoogle" text="lobby.loginGoogle" visible="false" weightx="1"/>
<list action="listSelect" name="ResultList" visible="false" weightx="1" weighty="1">
<popupmenu>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-19 00:27:27
|
Revision: 1074
http://sourceforge.net/p/lobby/code/1074
Author: yuranet
Date: 2025-10-19 00:27:19 +0000 (Sun, 19 Oct 2025)
Log Message:
-----------
include xul
Modified Paths:
--------------
trunk/build.xml
trunk/lobbyminiclient_pom.xml
trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
Added Paths:
-----------
trunk/src_mini_client/mini_lobby.xml
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2025-10-18 18:13:43 UTC (rev 1073)
+++ trunk/build.xml 2025-10-19 00:27:19 UTC (rev 1074)
@@ -89,6 +89,10 @@
source="1.5" target="1.5"
classpath="${dir.build.core.classes}:../SwingME/lib/midletrunner.jar:../SwingME/dist/SwingME.jar" />
+ <copy todir="${dir.build.mini.classes}">
+ <fileset dir="src_mini_client" includes="**/*.xml"/>
+ </copy>
+
<jar destfile="${dist.dir}/MiniLobbyClient.jar"
basedir="${dir.build.mini.classes}"/>
</target>
Modified: trunk/lobbyminiclient_pom.xml
===================================================================
--- trunk/lobbyminiclient_pom.xml 2025-10-18 18:13:43 UTC (rev 1073)
+++ trunk/lobbyminiclient_pom.xml 2025-10-19 00:27:19 UTC (rev 1074)
@@ -4,7 +4,7 @@
<groupId>net.yura</groupId>
<artifactId>lobby-client-mini-ui</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<packaging>jar</packaging>
<name>yura.net Lobby Mini Client</name>
Added: trunk/src_mini_client/mini_lobby.xml
===================================================================
--- trunk/src_mini_client/mini_lobby.xml (rev 0)
+++ trunk/src_mini_client/mini_lobby.xml 2025-10-19 00:27:19 UTC (rev 1074)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- generated by ThinG, the Thinlet GUI editor -->
+<panel columns="1" weightx="1" weighty="1">
+ <panel bottom="5" gap="5" left="5" name="TabBar" right="5" top="5" weightx="1">
+ <combobox action="filter" i18n="true" name="listView" selected="0" start="9" text="lobby.filter.all" weightx="1">
+ <choice i18n="true" name="all" text="lobby.filter.all"/>
+ <choice i18n="true" name="my" text="lobby.filter.my"/>
+ <choice i18n="true" name="open" text="lobby.filter.open"/>
+ <choice i18n="true" name="running" text="lobby.filter.running"/>
+ </combobox>
+ </panel>
+ <panel columns="1" scrollable="true" weighty="1">
+ <label alignment="center" i18n="true" name="Loading" property="valign=center" text="mapchooser.loading" visible="false" weightx="1" weighty="1"/>
+ <label alignment="center" i18n="true" name="NoMatches" property="valign=center" text="mapchooser.no-matches" visible="false" weightx="1" weighty="1"/>
+ <button action="loginGoogle" i18n="true" name="loginGoogle" text="lobby.loginGoogle" visible="false" weightx="1"/>
+ <list action="listSelect" name="ResultList" visible="false" weightx="1" weighty="1">
+ <popupmenu>
+ <menuitem action="flagGame" i18n="true" icon="/ms_flag.png" text="lobby.flagGame"/>
+ <menuitem action="renameGame" text="Rename Game"/>
+ <menuitem action="renameGame2" text="Clear Game Name"/>
+ <menuitem action="delGame" text="Del Game"/>
+ </popupmenu>
+ </list>
+ <panel columns="2" gap="10" left="10" name="ConnectingPanel" right="10" top="10" weightx="1" weighty="1">
+ <label colspan="2" weighty="1"/>
+ <progressbar halign="right" property="indeterminate=true;plafname=IndeterminateSpinnerSmall" weightx="1"/>
+ <label font="LARGE bold" i18n="true" text="lobby.connecting" weightx="1"/>
+ <label colspan="2" weighty="1"/>
+ <label alignment="center" colspan="2" name="ConnectLog" text=" " weightx="1" width="10"/>
+ <label colspan="2" weighty="1"/>
+ </panel>
+ </panel>
+ <panel bottom="5" gap="5" left="5" right="5" top="5" weightx="1">
+ <button action="close" i18n="true" mnemonic="112" name="BackButton" property="plafname=SmallButton" text="lobby.back" type="cancel" weightx="1"/>
+ <button action="login" text="Login" visible="false" weightx="1"/>
+ <button action="register" text="Register" visible="false" weightx="1"/>
+ <button action="setnick" i18n="true" property="plafname=SmallButton" text="lobby.set-nick" weightx="2"/>
+ <button action="create" i18n="true" property="plafname=SmallButton" text="lobby.create-game" weightx="2"/>
+ <button action="chat" icon="/discord.png" property="plafname=SmallButton" weightx="1"/>
+ </panel>
+</panel>
Modified: trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java
===================================================================
--- trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-18 18:13:43 UTC (rev 1073)
+++ trunk/src_mini_client/net/yura/lobby/mini/MiniLobbyClient.java 2025-10-19 00:27:19 UTC (rev 1074)
@@ -79,7 +79,7 @@
resBundle = game.getProperties();
try {
- loader = XULLoader.load( Application.getResourceAsStream("/ms_lobby.xml") , this, resBundle);
+ loader = XULLoader.load( Application.getResourceAsStream("/mini_lobby.xml") , this, resBundle);
}
catch(Exception ex) {
throw new RuntimeException(ex);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-18 18:13:46
|
Revision: 1073
http://sourceforge.net/p/lobby/code/1073
Author: yuranet
Date: 2025-10-18 18:13:43 +0000 (Sat, 18 Oct 2025)
Log Message:
-----------
javadoc update
Modified Paths:
--------------
trunk/src/net/yura/lobby/client/Connection.java
Modified: trunk/src/net/yura/lobby/client/Connection.java
===================================================================
--- trunk/src/net/yura/lobby/client/Connection.java 2025-10-18 18:07:13 UTC (rev 1072)
+++ trunk/src/net/yura/lobby/client/Connection.java 2025-10-18 18:13:43 UTC (rev 1073)
@@ -43,6 +43,7 @@
void setOAuthToken(String system, String token);
/**
+ * Sends the push token to the server, if successfully registered then {@link PushLobbyClient#registerDone()} will be called
* @param system can be {@link PushLobbyClient#PUSH_SYSTEM_FCM} or {@link PushLobbyClient#PUSH_SYSTEM_APN}
* @param token send null to unregister
*/
@@ -73,7 +74,7 @@
/**
* Subscribe to ALL updates for games of a particular type.
- * all updates will call {@link LobbyClient#addOrUpdateGame(net.yura.lobby.model.Game)}
+ * all updates will call {@link LobbyClient#addOrUpdateGame(net.yura.lobby.model.Game)} or {@link LobbyClient#removeGame(int)}
*/
void getGames(GameType gameType);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-18 18:07:15
|
Revision: 1072
http://sourceforge.net/p/lobby/code/1072
Author: yuranet
Date: 2025-10-18 18:07:13 +0000 (Sat, 18 Oct 2025)
Log Message:
-----------
javadoc update
Modified Paths:
--------------
trunk/src/net/yura/lobby/client/Connection.java
Modified: trunk/src/net/yura/lobby/client/Connection.java
===================================================================
--- trunk/src/net/yura/lobby/client/Connection.java 2025-10-18 14:48:58 UTC (rev 1071)
+++ trunk/src/net/yura/lobby/client/Connection.java 2025-10-18 18:07:13 UTC (rev 1072)
@@ -29,9 +29,14 @@
void connect(String server, int port);
void disconnect();
+ /**
+ * sets the email in the used for OAuth login, this method should be called BEFORE {@link #setOAuthToken(java.lang.String, java.lang.String)}
+ */
void setEmail(String email);
/**
+ * SENDS an OAuth login to the lobby server, if successful then {@link LobbyClient#setUsername(java.lang.String, int)} is called.
+ * ATTENTION!! Prior to calling this method, call {@link #setEmail(java.lang.String)}
* @param system the key to use in the login map, currently only "googleIdToken" supported
* @param token the OAuth token, set to null to log out
*/
@@ -43,27 +48,73 @@
*/
void setPushToken(String system, String token);
+ /**
+ * set player username, will get callback on {@link LobbyClient#setUsername(java.lang.String, int)}
+ */
+ void setNick(String username);
+
+ /**
+ * currently UnsupportedOperationException
+ */
void login(String username,String password);
+ /**
+ * currently UnsupportedOperationException
+ */
void register(String username, String email, String password);
- void setNick(String username);
+ /**
+ * currently UnsupportedOperationException
+ */
void logout();
+ /**
+ * get all game types, this will come back with {@link LobbyClient#addGameType(java.util.List)}
+ */
void getGameTypes();
+ /**
+ * Subscribe to ALL updates for games of a particular type.
+ * all updates will call {@link LobbyClient#addOrUpdateGame(net.yura.lobby.model.Game)}
+ */
void getGames(GameType gameType);
/**
- * This method is also used by the moderator to rename an existing game
+ * create a new game. ({@link Game#getId()} must not be set.
+ * when {@link Game#setId(int)} is set and the user is a moderator, it will update/rename an existing game
*/
void createNewGame(Game game);
+ /**
+ * Join a game where there is an empty slot available: {@link Game#getNumOfPlayers()} is less then {@link Game#getMaxPlayers()}.
+ */
void joinGame(int game_id, String magicWord);
+ /**
+ * if the game has not started, the player will leave and an empty player slot will become available.
+ * if the game has started then this will Resign the player from the game.
+ */
void leaveGame(int game_id);
+ /**
+ * Open the game. this method is for BOTH players and spectators.
+ * subscribe to start receiving game updates using {@link LobbyClient#messageForGame(int, java.lang.Object)}
+ */
void playGame(int gameId);
+ /**
+ * Send an object/command for a specific game.
+ */
void sendGameMessage(int game_id, Object message);
+ /**
+ * Close the game. this does NOT resign you from the game.
+ * Unsubscribe from game updates, you will stop getting {@link LobbyClient#messageForGame(int, java.lang.Object)}
+ */
void closeGame(int game_id);
+ /**
+ * Admin command, this is ONLY available to admins in Lobby
+ */
void delGame(int gameId);
+ /**
+ * Other admin commands.
+ * @param command can be {@link net.yura.lobby.gen.ProtoLobby#REQUEST_RESIGN_FROM_ALL_GAMES}, {@link net.yura.lobby.gen.ProtoLobby#REQUEST_RENAME_USER}, {@link net.yura.lobby.gen.ProtoLobby#REQUEST_FLAG_USER}, {@link net.yura.lobby.gen.ProtoLobby#REQUEST_SET_USER_TYPE}
+ */
void sendAdminCommand(String command, Map params);
/**
@@ -71,11 +122,26 @@
* @param message the text to send
*/
void sendChat(int roomid, String message);
+ /**
+ * message directed at a specific user.
+ */
void sendPrivateChat(String towho, String message);
+ /**
+ * get info about a specific user, get reply with {@link LobbyClient#setUserInfo(java.lang.String, java.util.List)}
+ */
void getPlayerInfo(String name);
//void setPlayerInfo(String name, List info);
+ /**
+ * set the wait {@link net.yura.lobby.model.Message#setWait(java.lang.Integer)}
+ * on ALL messages sent to the server, this will tell the server to wait that amount before replying.
+ * This is useful for simulating how a slow network will perform
+ */
void setWait(int wait);
+ /**
+ * Sends a ping to the server that will respond back with {@link LobbyClient#ping(long)}.
+ * this tells you how long your current server message round trip is
+ */
void ping();
}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-18 14:49:00
|
Revision: 1071
http://sourceforge.net/p/lobby/code/1071
Author: yuranet
Date: 2025-10-18 14:48:58 +0000 (Sat, 18 Oct 2025)
Log Message:
-----------
names update
Modified Paths:
--------------
trunk/cardsengine_pom.xml
trunk/lobbyclient_pom.xml
trunk/lobbyminiclient_pom.xml
Modified: trunk/cardsengine_pom.xml
===================================================================
--- trunk/cardsengine_pom.xml 2025-10-18 13:20:42 UTC (rev 1070)
+++ trunk/cardsengine_pom.xml 2025-10-18 14:48:58 UTC (rev 1071)
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.yura</groupId>
- <artifactId>cards-engine</artifactId>
+ <artifactId>playing-cards</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
Modified: trunk/lobbyclient_pom.xml
===================================================================
--- trunk/lobbyclient_pom.xml 2025-10-18 13:20:42 UTC (rev 1070)
+++ trunk/lobbyclient_pom.xml 2025-10-18 14:48:58 UTC (rev 1071)
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.yura</groupId>
- <artifactId>lobby-client</artifactId>
+ <artifactId>lobby-client-swing-ui</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
Modified: trunk/lobbyminiclient_pom.xml
===================================================================
--- trunk/lobbyminiclient_pom.xml 2025-10-18 13:20:42 UTC (rev 1070)
+++ trunk/lobbyminiclient_pom.xml 2025-10-18 14:48:58 UTC (rev 1071)
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.yura</groupId>
- <artifactId>lobby-mini-client</artifactId>
+ <artifactId>lobby-client-mini-ui</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-18 13:20:43
|
Revision: 1070
http://sourceforge.net/p/lobby/code/1070
Author: yuranet
Date: 2025-10-18 13:20:42 +0000 (Sat, 18 Oct 2025)
Log Message:
-----------
ant depends missing fix
Modified Paths:
--------------
trunk/build.xml
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2025-10-18 13:17:04 UTC (rev 1069)
+++ trunk/build.xml 2025-10-18 13:20:42 UTC (rev 1070)
@@ -390,6 +390,7 @@
</checksum>
<apply executable="gpg" failonerror="true">
+ <arg value="--yes"/><!-- we want to overwrite files -->
<arg value="-ab"/><!-- armor & detach-sign -->
<arg value="--passphrase"/>
<arg value="${maven.sign.password}"/>
@@ -405,7 +406,7 @@
</target>
<!-- Package into zip -->
- <target name="zip-release" depends="init,jar,cardsengine,build-src,javadoc-zip">
+ <target name="zip-release" depends="init,jar,mini.client,cardsengine,build-src,javadoc-zip">
<antcall target="sign-and-checksums">
<param name="staging.dir" value="${build.dir}/staging"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-18 13:17:07
|
Revision: 1069
http://sourceforge.net/p/lobby/code/1069
Author: yuranet
Date: 2025-10-18 13:17:04 +0000 (Sat, 18 Oct 2025)
Log Message:
-----------
add deps
Modified Paths:
--------------
trunk/lobbyclient_pom.xml
trunk/lobbycore_pom.xml
trunk/lobbyminiclient_pom.xml
trunk/lobbyserver_pom.xml
Modified: trunk/lobbyclient_pom.xml
===================================================================
--- trunk/lobbyclient_pom.xml 2025-10-18 11:52:26 UTC (rev 1068)
+++ trunk/lobbyclient_pom.xml 2025-10-18 13:17:04 UTC (rev 1069)
@@ -21,6 +21,15 @@
</license>
</licenses>
+ <dependencies>
+ <dependency>
+ <groupId>net.yura</groupId>
+ <artifactId>lobby-core</artifactId>
+ <version>1.0.0</version>
+ </dependency>
+ <!-- TODO add grasshopper -->
+ </dependencies>
+
<scm>
<connection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_client/</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_client/</developerConnection>
Modified: trunk/lobbycore_pom.xml
===================================================================
--- trunk/lobbycore_pom.xml 2025-10-18 11:52:26 UTC (rev 1068)
+++ trunk/lobbycore_pom.xml 2025-10-18 13:17:04 UTC (rev 1069)
@@ -21,6 +21,14 @@
</license>
</licenses>
+ <dependencies>
+ <dependency>
+ <groupId>net.yura</groupId>
+ <artifactId>io-util</artifactId>
+ <version>1.0</version>
+ </dependency>
+ </dependencies>
+
<scm>
<connection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src/</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src/</developerConnection>
Modified: trunk/lobbyminiclient_pom.xml
===================================================================
--- trunk/lobbyminiclient_pom.xml 2025-10-18 11:52:26 UTC (rev 1068)
+++ trunk/lobbyminiclient_pom.xml 2025-10-18 13:17:04 UTC (rev 1069)
@@ -21,6 +21,19 @@
</license>
</licenses>
+ <dependencies>
+ <dependency>
+ <groupId>net.yura</groupId>
+ <artifactId>lobby-core</artifactId>
+ <version>1.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.swingme</groupId>
+ <artifactId>swingme</artifactId>
+ <version>1.8.0</version>
+ </dependency>
+ </dependencies>
+
<scm>
<connection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_mini_client/</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_mini_client/</developerConnection>
Modified: trunk/lobbyserver_pom.xml
===================================================================
--- trunk/lobbyserver_pom.xml 2025-10-18 11:52:26 UTC (rev 1068)
+++ trunk/lobbyserver_pom.xml 2025-10-18 13:17:04 UTC (rev 1069)
@@ -21,6 +21,72 @@
</license>
</licenses>
+ <dependencies>
+ <dependency>
+ <groupId>net.yura</groupId>
+ <artifactId>lobby-core</artifactId>
+ <version>1.0.0</version>
+ </dependency>
+ <!-- TODO also needs grasshopper -->
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-all</artifactId>
+ <version>4.1.128.Final</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.datanucleus</groupId>
+ <artifactId>javax.persistence</artifactId>
+ <version>2.2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.datanucleus</groupId>
+ <artifactId>datanucleus-core</artifactId>
+ <version>5.0.2</version>
+ <!-- currently we are unable to upgrade to anything newer then DataNucleus 5.0.2
+ as newer version use a new connection pool (DBCP2) and this does not work. -->
+ </dependency>
+ <dependency>
+ <groupId>org.datanucleus</groupId>
+ <artifactId>datanucleus-api-jpa</artifactId>
+ <version>5.0.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.gcm</groupId>
+ <artifactId>gcm-server</artifactId>
+ <version>1.0.0</version>
+ <scope>provided</scope>
+ <!-- TODO deprecated remove -->
+ </dependency>
+ <dependency>
+ <groupId>com.google.api-client</groupId>
+ <artifactId>google-api-client</artifactId>
+ <version>1.24.1</version>
+ <!-- TODO needs update -->
+ </dependency>
+ <dependency>
+ <groupId>com.google.firebase</groupId>
+ <artifactId>firebase-admin</artifactId>
+ <version>6.13.0</version>
+ <!-- TODO needs update -->
+ </dependency>
+ <dependency>
+ <groupId>com.eatthepath</groupId>
+ <artifactId>pushy</artifactId>
+ <version>0.15.0</version>
+ <!-- TODO needs update -->
+ </dependency>
+
+ <dependency>
+ <groupId>org.quickserver</groupId>
+ <artifactId>quickserver</artifactId>
+ <version>1.4.5</version>
+ <scope>provided</scope>
+ <!-- TODO deprecated remove -->
+ </dependency>
+ </dependencies>
+
<scm>
<connection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_server/</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_server/</developerConnection>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yu...@us...> - 2025-10-18 11:52:30
|
Revision: 1068
http://sourceforge.net/p/lobby/code/1068
Author: yuranet
Date: 2025-10-18 11:52:26 +0000 (Sat, 18 Oct 2025)
Log Message:
-----------
basic maven package added
Modified Paths:
--------------
trunk/build.xml
Added Paths:
-----------
trunk/cardsengine_pom.xml
trunk/lobbyclient_pom.xml
trunk/lobbycore_pom.xml
trunk/lobbyminiclient_pom.xml
trunk/lobbyserver_pom.xml
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2025-10-13 21:46:54 UTC (rev 1067)
+++ trunk/build.xml 2025-10-18 11:52:26 UTC (rev 1068)
@@ -11,19 +11,19 @@
</description>
<import file="nbproject/build-impl.xml"/>
- <property name="dir.build" location="build"/>
+ <property name="build.dir" location="build"/>
<property name="dir.source" location="src"/>
<property name="dir.resources" location="resources"/>
- <property name="dir.build.core.classes" location="${dir.build}/core"/>
- <property name="dir.build.client.classes" location="${dir.build}/client"/>
- <property name="dir.build.mini.classes" location="${dir.build}/mini"/>
- <property name="dir.build.server.classes" location="${dir.build}/server"/>
- <property name="dir.build.games.classes" location="${dir.build}/games"/>
+ <property name="dir.build.core.classes" location="${build.dir}/core"/>
+ <property name="dir.build.client.classes" location="${build.dir}/client"/>
+ <property name="dir.build.mini.classes" location="${build.dir}/mini"/>
+ <property name="dir.build.server.classes" location="${build.dir}/server"/>
+ <property name="dir.build.games.classes" location="${build.dir}/games"/>
- <property name="dir.dist" location="dist"/>
- <property name="dir.dist.client" location="${dir.dist}/client"/>
- <property name="dir.dist.server" location="${dir.dist}/server"/>
+ <property name="dist.dir" location="dist"/>
+ <property name="dir.dist.client" location="${dist.dir}/client"/>
+ <property name="dir.dist.server" location="${dist.dir}/server"/>
<target name="jar" depends="client.distribution.jar,server.distribution.jar,showtext">
@@ -34,7 +34,7 @@
</copy>
<copy todir="../Domination/android/libs">
- <fileset dir="${dir.dist}" includes="LobbyCore.jar"/>
+ <fileset dir="${dist.dir}" includes="LobbyCore.jar"/>
</copy>
</target>
@@ -48,12 +48,12 @@
<target name="clean" description="Removes all the generated classes and files" >
- <delete dir="${dir.build}" includeemptydirs="true"/>
+ <delete dir="${build.dir}" includeemptydirs="true"/>
<delete dir="${dir.dist.server}/lib" includeemptydirs="true"/>
</target>
<target name="distclean" description="Removes the distribution directory" >
- <delete dir="${dir.dist}" includeemptydirs="true"/>
+ <delete dir="${dist.dir}" includeemptydirs="true"/>
</target>
<target name="cleanall" description="Cleans all things generated by this build file" depends="clean,distclean" >
@@ -75,7 +75,7 @@
source="1.5" target="1.5"
classpath="${basedir}/lib/UtilME.jar" />
- <jar destfile="${dir.dist}/LobbyCore.jar"
+ <jar destfile="${dist.dir}/LobbyCore.jar"
basedir="${dir.build.core.classes}"
manifest="${basedir}/src/META-INF/MANIFEST.MF"/>
</target>
@@ -89,7 +89,7 @@
source="1.5" target="1.5"
classpath="${dir.build.core.classes}:../SwingME/lib/midletrunner.jar:../SwingME/dist/SwingME.jar" />
- <jar destfile="${dir.dist}/MiniLobbyClient.jar"
+ <jar destfile="${dist.dir}/MiniLobbyClient.jar"
basedir="${dir.build.mini.classes}"/>
</target>
@@ -155,7 +155,7 @@
<target name="cardsengine" description="build the cardsengine jar">
<mkdir dir="${dir.build.games.classes}/cardsengine"/>
<javac debug="on" srcdir="src_blackjack" destdir="${dir.build.games.classes}/cardsengine" includes="net/yura/cardsengine/**" source="1.4" target="1.4"/>
- <jar destfile="${dir.dist}/cardsengine.jar" basedir="${dir.build.games.classes}/cardsengine"/>
+ <jar destfile="${dist.dir}/cardsengine.jar" basedir="${dir.build.games.classes}/cardsengine"/>
</target>
@@ -238,12 +238,12 @@
<javac debug="on" srcdir="${dir.source}"
destdir="${dir.build.games.classes}/${gamename}/client"
includes="${gamepackage}/client/**"
- source="1.4" target="1.4" classpath="${dir.dist}/LobbyClient.jar"/>
+ source="1.4" target="1.4" classpath="${dist.dir}/LobbyClient.jar"/>
<javac debug="on" srcdir="${dir.source}"
destdir="${dir.build.games.classes}/${gamename}/server"
includes="${gamepackage}/server/**"
- source="1.5" target="1.5" classpath="${dir.dist}/LobbyServer.jar"/>
+ source="1.5" target="1.5" classpath="${dist.dir}/LobbyServer.jar"/>
<copy todir="${dir.build.games.classes}/${gamename}/client/${gamepackage}/">
<fileset dir="${dir.source}/${gamepackage}/" includes="**/*.gif,**/*.jpg,**/*.png,**/*.properties"/>
@@ -308,4 +308,143 @@
</target>
+
+
+
+
+
+
+
+
+
+
+ <!-- Generate javadoc jar -->
+ <target name="javadoc-zip">
+ <mkdir dir="${build.dir}/javadoc/lobbycore"/>
+ <javadoc destdir="${build.dir}/javadoc/lobbycore" sourcepath="src" use="yes"/>
+ <zip destfile="${dist.dir}/lobby_core-javadoc.zip" basedir="${build.dir}/javadoc/lobbycore"/>
+
+ <mkdir dir="${build.dir}/javadoc/lobbyserver"/>
+ <javadoc destdir="${build.dir}/javadoc/lobbyserver" sourcepath="src_server" use="yes"/>
+ <zip destfile="${dist.dir}/lobby_server-javadoc.zip" basedir="${build.dir}/javadoc/lobbyserver"/>
+
+ <mkdir dir="${build.dir}/javadoc/lobbyclient"/>
+ <javadoc destdir="${build.dir}/javadoc/lobbyclient" sourcepath="src_client" use="yes"/>
+ <zip destfile="${dist.dir}/lobby_client-javadoc.zip" basedir="${build.dir}/javadoc/lobbyclient"/>
+
+ <mkdir dir="${build.dir}/javadoc/lobbyminiclient"/>
+ <javadoc destdir="${build.dir}/javadoc/lobbyminiclient" sourcepath="src_mini_client" use="yes"/>
+ <zip destfile="${dist.dir}/lobby_miniclient-javadoc.zip" basedir="${build.dir}/javadoc/lobbyminiclient"/>
+
+ <mkdir dir="${build.dir}/javadoc/cardsengine"/>
+ <javadoc destdir="${build.dir}/javadoc/cardsengine" sourcepath="src_blackjack" packagenames="net.yura.cardsengine.*" use="yes"/>
+ <zip destfile="${dist.dir}/cardsengine-javadoc.zip" basedir="${build.dir}/javadoc/cardsengine"/>
+ </target>
+
+ <target name="build-src">
+ <zip zipfile="${dist.dir}/lobby_core-src.zip" basedir="src"/>
+ <zip zipfile="${dist.dir}/lobby_server-src.zip" basedir="src_server"/>
+ <zip zipfile="${dist.dir}/lobby_client-src.zip" basedir="src_client"/>
+ <zip zipfile="${dist.dir}/lobby_miniclient-src.zip" basedir="src_mini_client"/>
+ <zip zipfile="${dist.dir}/cardsengine-src.zip" basedir="src_blackjack" includes="net/yura/cardsengine/**"/>
+ </target>
+
+ <!-- Sign and checksum artifacts -->
+ <target name="sign-and-checksums">
+ <xmlproperty file="${pom.file}" prefix="pom"/>
+
+ <!-- replace . with / in group id -->
+ <loadresource property="groupId.path">
+ <propertyresource name="pom.project.groupId"/>
+ <filterchain>
+ <tokenfilter>
+ <replacestring from="." to="/"/>
+ </tokenfilter>
+ </filterchain>
+ </loadresource>
+
+ <property name="bundle.dir" value="${staging.dir}/${groupId.path}/${pom.project.artifactId}/${pom.project.version}"/>
+
+ <mkdir dir="${bundle.dir}"/>
+
+ <condition property="copy.jars">
+ <or>
+ <isset property="deployment.jar"/>
+ <isset property="sources.zip"/>
+ <isset property="javadoc.zip"/>
+ </or>
+ </condition>
+
+ <copy file="${pom.file}" tofile="${bundle.dir}/${pom.project.artifactId}-${pom.project.version}.pom"/>
+ <copy failonerror="${copy.jars}" file="${deployment.jar}" tofile="${bundle.dir}/${pom.project.artifactId}-${pom.project.version}.jar"/>
+ <copy failonerror="${copy.jars}" file="${sources.zip}" tofile="${bundle.dir}/${pom.project.artifactId}-${pom.project.version}-sources.jar"/>
+ <copy failonerror="${copy.jars}" file="${javadoc.zip}" tofile="${bundle.dir}/${pom.project.artifactId}-${pom.project.version}-javadoc.jar"/>
+
+ <fileset id="artifacts.to.sign" dir="${bundle.dir}" includes="*.jar,*.pom"/>
+
+ <checksum algorithm="md5">
+ <fileset refid="artifacts.to.sign"/>
+ </checksum>
+ <checksum algorithm="sha1">
+ <fileset refid="artifacts.to.sign"/>
+ </checksum>
+
+ <apply executable="gpg" failonerror="true">
+ <arg value="-ab"/><!-- armor & detach-sign -->
+ <arg value="--passphrase"/>
+ <arg value="${maven.sign.password}"/>
+ <arg value="--pinentry-mode"/>
+ <arg value="loopback"/>
+ <srcfile/>
+ <fileset refid="artifacts.to.sign"/>
+ </apply>
+
+ <zip destfile="${dist.dir}/${pom.project.artifactId}-${pom.project.version}-release.zip">
+ <zipfileset dir="${staging.dir}"/>
+ </zip>
+ </target>
+
+ <!-- Package into zip -->
+ <target name="zip-release" depends="init,jar,cardsengine,build-src,javadoc-zip">
+
+ <antcall target="sign-and-checksums">
+ <param name="staging.dir" value="${build.dir}/staging"/>
+ <param name="pom.file" value="lobbycore_pom.xml"/>
+ <param name="deployment.jar" value="${dist.dir}/LobbyCore.jar"/>
+ <param name="sources.zip" value="${dist.dir}/lobby_core-src.zip"/>
+ <param name="javadoc.zip" value="${dist.dir}/lobby_core-javadoc.zip"/>
+ </antcall>
+ <antcall target="sign-and-checksums">
+ <param name="staging.dir" value="${build.dir}/staging"/>
+ <param name="pom.file" value="lobbyserver_pom.xml"/>
+ <param name="deployment.jar" value="${dir.dist.server}/LobbyServer.jar"/>
+ <param name="sources.zip" value="${dist.dir}/lobby_server-src.zip"/>
+ <param name="javadoc.zip" value="${dist.dir}/lobby_server-javadoc.zip"/>
+ </antcall>
+ <antcall target="sign-and-checksums">
+ <param name="staging.dir" value="${build.dir}/staging"/>
+ <param name="pom.file" value="lobbyclient_pom.xml"/>
+ <param name="deployment.jar" value="${dir.dist.client}/LobbyClient.jar"/>
+ <param name="sources.zip" value="${dist.dir}/lobby_client-src.zip"/>
+ <param name="javadoc.zip" value="${dist.dir}/lobby_client-javadoc.zip"/>
+ </antcall>
+ <antcall target="sign-and-checksums">
+ <param name="staging.dir" value="${build.dir}/staging"/>
+ <param name="pom.file" value="lobbyminiclient_pom.xml"/>
+ <param name="deployment.jar" value="${dist.dir}/MiniLobbyClient.jar"/>
+ <param name="sources.zip" value="${dist.dir}/lobby_miniclient-src.zip"/>
+ <param name="javadoc.zip" value="${dist.dir}/lobby_miniclient-javadoc.zip"/>
+ </antcall>
+ <antcall target="sign-and-checksums">
+ <param name="staging.dir" value="${build.dir}/staging"/>
+ <param name="pom.file" value="cardsengine_pom.xml"/>
+ <param name="deployment.jar" value="${dist.dir}/cardsengine.jar"/>
+ <param name="sources.zip" value="${dist.dir}/cardsengine-src.zip"/>
+ <param name="javadoc.zip" value="${dist.dir}/cardsengine-javadoc.zip"/>
+ </antcall>
+
+ <zip destfile="${dist.dir}/lobby-full-1.0.0-release.zip">
+ <zipfileset dir="${build.dir}/staging"/>
+ </zip>
+ </target>
</project>
Added: trunk/cardsengine_pom.xml
===================================================================
--- trunk/cardsengine_pom.xml (rev 0)
+++ trunk/cardsengine_pom.xml 2025-10-18 11:52:26 UTC (rev 1068)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>net.yura</groupId>
+ <artifactId>cards-engine</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <name>yura.net games cards engine</name>
+ <description>
+ Standard playing cards lib for games
+ </description>
+ <url>http://lobby.sf.net/</url>
+
+ <licenses>
+ <license>
+ <name>LGPL 3.0</name>
+ <url>https://www.gnu.org/licenses/lgpl-3.0.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_blackjack/</connection>
+ <developerConnection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_blackjack/</developerConnection>
+ <url>https://sourceforge.net/p/lobby/code/HEAD/tree/trunk/src_blackjack/</url>
+ </scm>
+
+ <developers>
+ <developer>
+ <name>Yura</name>
+ <organization>yura.net</organization>
+ <organizationUrl>http://yura.net/</organizationUrl>
+ </developer>
+ </developers>
+
+</project>
Added: trunk/lobbyclient_pom.xml
===================================================================
--- trunk/lobbyclient_pom.xml (rev 0)
+++ trunk/lobbyclient_pom.xml 2025-10-18 11:52:26 UTC (rev 1068)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>net.yura</groupId>
+ <artifactId>lobby-client</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <name>yura.net Lobby Client</name>
+ <description>
+ Swing Client for yura.net Lobby
+ </description>
+ <url>http://lobby.sf.net/</url>
+
+ <licenses>
+ <license>
+ <name>LGPL 3.0</name>
+ <url>https://www.gnu.org/licenses/lgpl-3.0.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_client/</connection>
+ <developerConnection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_client/</developerConnection>
+ <url>https://sourceforge.net/p/lobby/code/HEAD/tree/trunk/src_client/</url>
+ </scm>
+
+ <developers>
+ <developer>
+ <name>Yura</name>
+ <organization>yura.net</organization>
+ <organizationUrl>http://yura.net/</organizationUrl>
+ </developer>
+ </developers>
+
+</project>
Added: trunk/lobbycore_pom.xml
===================================================================
--- trunk/lobbycore_pom.xml (rev 0)
+++ trunk/lobbycore_pom.xml 2025-10-18 11:52:26 UTC (rev 1068)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>net.yura</groupId>
+ <artifactId>lobby-core</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <name>yura.net Lobby Core</name>
+ <description>
+ Core lib for Lobby
+ </description>
+ <url>http://lobby.sf.net/</url>
+
+ <licenses>
+ <license>
+ <name>LGPL 3.0</name>
+ <url>https://www.gnu.org/licenses/lgpl-3.0.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src/</connection>
+ <developerConnection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src/</developerConnection>
+ <url>https://sourceforge.net/p/lobby/code/HEAD/tree/trunk/src/</url>
+ </scm>
+
+ <developers>
+ <developer>
+ <name>Yura</name>
+ <organization>yura.net</organization>
+ <organizationUrl>http://yura.net/</organizationUrl>
+ </developer>
+ </developers>
+
+</project>
Added: trunk/lobbyminiclient_pom.xml
===================================================================
--- trunk/lobbyminiclient_pom.xml (rev 0)
+++ trunk/lobbyminiclient_pom.xml 2025-10-18 11:52:26 UTC (rev 1068)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>net.yura</groupId>
+ <artifactId>lobby-mini-client</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <name>yura.net Lobby Mini Client</name>
+ <description>
+ SwingME Client for yura.net Lobby, runs on ios, android and desktop.
+ </description>
+ <url>http://lobby.sf.net/</url>
+
+ <licenses>
+ <license>
+ <name>LGPL 3.0</name>
+ <url>https://www.gnu.org/licenses/lgpl-3.0.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_mini_client/</connection>
+ <developerConnection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_mini_client/</developerConnection>
+ <url>https://sourceforge.net/p/lobby/code/HEAD/tree/trunk/src_mini_client/</url>
+ </scm>
+
+ <developers>
+ <developer>
+ <name>Yura</name>
+ <organization>yura.net</organization>
+ <organizationUrl>http://yura.net/</organizationUrl>
+ </developer>
+ </developers>
+
+</project>
Added: trunk/lobbyserver_pom.xml
===================================================================
--- trunk/lobbyserver_pom.xml (rev 0)
+++ trunk/lobbyserver_pom.xml 2025-10-18 11:52:26 UTC (rev 1068)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>net.yura</groupId>
+ <artifactId>lobby-server</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <name>yura.net Lobby Server</name>
+ <description>
+ Server for yura.net Lobby
+ </description>
+ <url>http://lobby.sf.net/</url>
+
+ <licenses>
+ <license>
+ <name>LGPL 3.0</name>
+ <url>https://www.gnu.org/licenses/lgpl-3.0.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_server/</connection>
+ <developerConnection>scm:svn:https://svn.code.sf.net/p/lobby/code/trunk/src_server/</developerConnection>
+ <url>https://sourceforge.net/p/lobby/code/HEAD/tree/trunk/src_server/</url>
+ </scm>
+
+ <developers>
+ <developer>
+ <name>Yura</name>
+ <organization>yura.net</organization>
+ <organizationUrl>http://yura.net/</organizationUrl>
+ </developer>
+ </developers>
+
+</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|