Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure classes match their header filename #25821

Merged
merged 5 commits into from
Feb 13, 2019

Commits on Feb 12, 2019

  1. Core: Ensure classes match their header filename

    Also drop some unused files.
    
    Renamed:
    - `core/dvector.h` -> `pool_vector.h`
    - `core/io/resource_import.h` -> `resource_importer.h`
    - `core/sort.h` -> `sort_array.h`
    - `core/string_db.h` -> `string_name.h`
    
    Dropped:
    - `core/allocators.h`
    - `core/os/shell.h`
    - `core/variant_construct_string.cpp`
    akien-mga committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    b7cc2bb View commit details
    Browse the repository at this point in the history
  2. Drivers, main, servers: Ensure classes match their header filename

    Renamed:
    - `drivers/alsamidi/alsa_midi.h` -> `midi_driver_alsamidi.h`
      (same for `coremidi` and `winmidi`)
    - `main/timer_sync.h` -> `main_timer_sync.h`
    - `servers/visual/visual_server_global.h` -> `visual_server_globals.h`
    akien-mga committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    75dae1b View commit details
    Browse the repository at this point in the history
  3. Platform: Ensure classes match their header filename

    Also drop some unused files.
    
    Renamed:
    - `platform/iphone/sem_iphone.h` -> `semaphore_iphone.h`
      (same for `osx`)
    - `platform/uwp/gl_context_egl.h` -> `context_egl_uwp.h`
    - in `platform/windows`: `context_gl_win.h`, `crash_handler_win.h`,
      `godot_win.cpp`, `joypad.h` and `key_mapping_win.h` all renamed to
      use `windows`. Some classes renamed accordingly too.
    - `EditorExportAndroid` and `EditorExportUWP` renamed to
      `EditorExportPlatformAndroid` and `EditorExportPlatformUWP`
    - `power_android` and `power_osx` renamed to `PowerAndroid` and
      `PowerOSX`
    - `OSUWP` renamed to `OS_UWP`
    
    Dropped:
    - `platform/windows/ctxgl_procaddr.h`
    akien-mga committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    bc26d0d View commit details
    Browse the repository at this point in the history
  4. Scene: Ensure classes match their header filename

    Also drop some unused files.
    
    Renamed:
    - `scene/2d/navigation2d.h` -> `navigation_2d.h`
    - `scene/2d/screen_button.h` -> `touch_screen_button.h`
    - `scene/3d/scenario_fx.h` -> `world_environment.h`
    - `scene/audio/audio_player.h` -> `audio_stream_player.h`
    - `scene/resources/bit_mask.h` -> `bit_map.h`
    - `scene/resources/color_ramp.h` -> `gradient.h`
    - `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
    - `scene/resources/scene_format_text.h` -> `resource_format_text.h`
    - `scene/resources/sky_box.h` -> `sky.h`
    
    Dropped:
    - `scene/resources/bounds.h`
    akien-mga committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    c5dcbeb View commit details
    Browse the repository at this point in the history
  5. Modules: Ensure classes match their header filename

    Renamed:
    - `modules/mono/mono_gd/gd_mono_class_member.h` -> `i_mono_class_member.h`
    - `modules/upnp/upnpdevice.h` -> `upnp_device.h`
    - `modules/websocket/websocket_multiplayer.h` -> `websocket_multiplayer_peer.h`
    akien-mga committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    fe7e11e View commit details
    Browse the repository at this point in the history