Check-in [97b03316b8]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add more IntelliJ templates; Deprecate SpringPointerArea.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wip-springcoat-bringup
Files: files | file ages | folders
SHA1: 97b03316b8a5b75e4acb1b756f91c419f2520c6f
User & Date: stephanie.gawroriski 2020-03-22 22:15:09
Context
2020-03-22
22:22
Add more IntelliJ templates to match SquirrelJME style. check-in: b6657de0ea user: stephanie.gawroriski tags: wip-springcoat-bringup
22:15
Add more IntelliJ templates; Deprecate SpringPointerArea. check-in: 97b03316b8 user: stephanie.gawroriski tags: wip-springcoat-bringup
21:47
Deprecate transitional object data. check-in: 2ac2df2f0a user: stephanie.gawroriski tags: wip-springcoat-bringup
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added .idea/fileTemplates/C File.c.



>
1
#parse("CPP Header.h")

Added .idea/fileTemplates/CPP File.cpp.



>
1
#parse("CPP Header.h")

Added .idea/fileTemplates/H File.h.



>
1
#parse("CPP Header.h")

Added .idea/fileTemplates/SquirrelJME Test Expectations.in.







>
>
>
1
2
3
result: NoResult
thrown: NoExceptionThrown
secondary-key: string:value

Added .idea/fileTemplates/SquirrelJME TestRunnable.java.

















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#parse("File Header.java")

#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end 

import net.multiphasicapps.tac.TestRunnable;

/**
 * Not Described.
 *
 * @since ${YEAR}/${MONTH}/${DAY}
 */
public class ${NAME}
	extends TestRunnable
{
    /**
     * {@inheritDoc}
     * @since ${YEAR}/${MONTH}/${DAY}
     */
    @Override
    public void test()
    {
        this.secondary("key", "value");
    }
}

Added .idea/fileTemplates/includes/CPP Header.h.















>
>
>
>
>
>
>
1
2
3
4
5
6
7
/* ---------------------------------------------------------------------------
// Multi-Phasic Applications: SquirrelJME
//     Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// --------------------------------------------------------------------------*/

Changes to emulators/springcoat-vm/src/main/java/cc/squirreljme/vm/springcoat/SpringPointerArea.java.

10
11
12
13
14
15
16

17
18
19
20

21
22
23
24

25
26
27

28
29
30
31
32
33
34
35
36
37

38
39
40
41
42
43
44
..
49
50
51
52
53
54
55

56
57
58
59
60
61
62
63
64
65

66
67
68
69
70
71
72
73
74
75

76
77
78
79
80
81
82
83
84
85

86
87
88
89
90
91
92
93
94
95

96
97
98
99
100
101
package cc.squirreljme.vm.springcoat;

/**
 * This represents a new area where pointers can go.
 *
 * @since 2019/12/21
 */

public final class SpringPointerArea
	implements Comparable<SpringPointerArea>
{
	/** Null pointer. */

	public static final SpringPointerArea NULL =
		new SpringPointerArea(0, 0);
	
	/** The base address. */

	public final int base;
	
	/** The length of the area. */

	public final int length;
	
	/**
	 * Initializes the pointer area.
	 *
	 * @param __b The basee.
	 * @param __l The length.
	 * @throws IllegalArgumentException If the length is negative.
	 * @since 2019/12/21
	 */

	public SpringPointerArea(int __b, int __l)
		throws IllegalArgumentException
	{
		// {@squirreljme.error BK3f Cannot have a negative length pointer
		// area.}
		if (__l < 0)
			throw new IllegalArgumentException("BK3f");
................................................................................
	
	/**
	 * Returns the base pointer.
	 *
	 * @return The base pointer.
	 * @since 2020/03/13
	 */

	public final SpringPointer base()
	{
		return new SpringPointer(this.base);
	}
	
	/**
	 * {@inheritDoc}
	 * @since 2019/12/21
	 */
	@Override

	public final int compareTo(SpringPointerArea __o)
	{
		throw new todo.TODO();
	}
	
	/**
	 * {@inheritDoc}
	 * @since 2019/12/21
	 */
	@Override

	public final boolean equals(Object __o)
	{
		throw new todo.TODO();
	}
	
	/**
	 * {@inheritDoc}
	 * @since 2019/12/21
	 */
	@Override

	public final int hashCode()
	{
		throw new todo.TODO();
	}
	
	/**
	 * {@inheritDoc}
	 * @since 2019/12/21
	 */
	@Override

	public final String toString()
	{
		throw new todo.TODO();
	}
}








>




>




>



>










>







 







>










>










>










>










>






10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
..
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
package cc.squirreljme.vm.springcoat;

/**
 * This represents a new area where pointers can go.
 *
 * @since 2019/12/21
 */
@Deprecated
public final class SpringPointerArea
	implements Comparable<SpringPointerArea>
{
	/** Null pointer. */
	@Deprecated
	public static final SpringPointerArea NULL =
		new SpringPointerArea(0, 0);
	
	/** The base address. */
	@Deprecated
	public final int base;
	
	/** The length of the area. */
	@Deprecated
	public final int length;
	
	/**
	 * Initializes the pointer area.
	 *
	 * @param __b The basee.
	 * @param __l The length.
	 * @throws IllegalArgumentException If the length is negative.
	 * @since 2019/12/21
	 */
	@Deprecated
	public SpringPointerArea(int __b, int __l)
		throws IllegalArgumentException
	{
		// {@squirreljme.error BK3f Cannot have a negative length pointer
		// area.}
		if (__l < 0)
			throw new IllegalArgumentException("BK3f");
................................................................................
	
	/**
	 * Returns the base pointer.
	 *
	 * @return The base pointer.
	 * @since 2020/03/13
	 */
	@Deprecated
	public final SpringPointer base()
	{
		return new SpringPointer(this.base);
	}
	
	/**
	 * {@inheritDoc}
	 * @since 2019/12/21
	 */
	@Override
	@Deprecated
	public final int compareTo(SpringPointerArea __o)
	{
		throw new todo.TODO();
	}
	
	/**
	 * {@inheritDoc}
	 * @since 2019/12/21
	 */
	@Override
	@Deprecated
	public final boolean equals(Object __o)
	{
		throw new todo.TODO();
	}
	
	/**
	 * {@inheritDoc}
	 * @since 2019/12/21
	 */
	@Override
	@Deprecated
	public final int hashCode()
	{
		throw new todo.TODO();
	}
	
	/**
	 * {@inheritDoc}
	 * @since 2019/12/21
	 */
	@Override
	@Deprecated
	public final String toString()
	{
		throw new todo.TODO();
	}
}